@galadrim/galadmin 0.1.86 → 0.1.88
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.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/front/build/asset-manifest.json +3 -3
- package/src/front/build/index.html +1 -1
- package/src/front/build/static/js/{main.7a761305.js → main.181122a6.js} +3 -3
- package/src/front/build/static/js/{main.7a761305.js.map → main.181122a6.js.map} +1 -1
- package/src/front/node_modules/.cache/.eslintcache +1 -1
- package/src/front/node_modules/.cache/babel-loader/7225144d65e67af1fd23b55c7204e89eee50ff90ebf44e712ecf491117fd29a0.json +1 -0
- package/src/front/node_modules/.cache/babel-loader/c1367cd2e909c66ae9dc54900b2bb34011458d60b4476beed4fc4a8d7ffcd254.json +1 -0
- package/src/front/src/App.js +6 -1
- package/src/front/src/components/Sidebar.js +10 -1
- package/src/index.ts +16 -0
- /package/src/front/build/static/js/{main.7a761305.js.LICENSE.txt → main.181122a6.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"/home/runner/work/galadmin/galadmin/src/front/src/index.js":"1","/home/runner/work/galadmin/galadmin/src/front/src/App.js":"2","/home/runner/work/galadmin/galadmin/src/front/src/components/Sidebar.js":"3","/home/runner/work/galadmin/galadmin/src/front/src/components/RedirectToFirstView.js":"4","/home/runner/work/galadmin/galadmin/src/front/src/pages/CreateRecord.js":"5","/home/runner/work/galadmin/galadmin/src/front/src/pages/EditRecord.js":"6","/home/runner/work/galadmin/galadmin/src/front/src/pages/Records.js":"7","/home/runner/work/galadmin/galadmin/src/front/src/pages/Record.js":"8","/home/runner/work/galadmin/galadmin/src/front/src/pages/Login.js":"9","/home/runner/work/galadmin/galadmin/src/front/src/pages/Iframe.js":"10","/home/runner/work/galadmin/galadmin/src/front/src/pages/CustomView.js":"11","/home/runner/work/galadmin/galadmin/src/front/src/contexts/ConfigContext.js":"12","/home/runner/work/galadmin/galadmin/src/front/src/components/Input.js":"13","/home/runner/work/galadmin/galadmin/src/front/src/components/LabelTooltip.js":"14","/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadButton.js":"15","/home/runner/work/galadmin/galadmin/src/front/src/components/UploadButton.js":"16","/home/runner/work/galadmin/galadmin/src/front/src/components/AddFilterButton.js":"17","/home/runner/work/galadmin/galadmin/src/front/src/components/BulkActionsButton.js":"18","/home/runner/work/galadmin/galadmin/src/front/src/components/ActionsButton.js":"19","/home/runner/work/galadmin/galadmin/src/front/src/components/BackButton.js":"20","/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadTablePanelButton.js":"21","/home/runner/work/galadmin/galadmin/src/front/src/utils/checkRequiredColumns.js":"22","/home/runner/work/galadmin/galadmin/src/front/src/utils/getFormattedValue.js":"23","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/TablePanel.js":"24","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/GalleryPanel.js":"25","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/MapPanel.js":"26","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/ChatPanel.js":"27","/home/runner/work/galadmin/galadmin/src/front/src/components/CustomComponent.js":"28","/home/runner/work/galadmin/galadmin/src/front/src/components/OutsideClickHandler.js":"29","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ColorInput.js":"30","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/RichTextInput.js":"31","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/BetterRichTextInput.js":"32","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/DatetimeInput.js":"33","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/AddressInput.js":"34","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/FileInput.js":"35","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignSelectInput.js":"36","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignDatalistInput.js":"37","/home/runner/work/galadmin/galadmin/src/front/src/utils/evalExpression.js":"38"},{"size":219,"mtime":1707841353763,"results":"39","hashOfConfig":"40"},{"size":2340,"mtime":1707841353759,"results":"41","hashOfConfig":"40"},{"size":4725,"mtime":1707841353759,"results":"42","hashOfConfig":"40"},{"size":524,"mtime":1707841353759,"results":"43","hashOfConfig":"40"},{"size":4371,"mtime":1707841353763,"results":"44","hashOfConfig":"40"},{"size":3733,"mtime":1707841353763,"results":"45","hashOfConfig":"40"},{"size":10604,"mtime":1707841353763,"results":"46","hashOfConfig":"40"},{"size":4420,"mtime":1707841353763,"results":"47","hashOfConfig":"40"},{"size":1135,"mtime":1707841353763,"results":"48","hashOfConfig":"40"},{"size":404,"mtime":1707841353763,"results":"49","hashOfConfig":"40"},{"size":454,"mtime":1707841353763,"results":"50","hashOfConfig":"40"},{"size":1022,"mtime":1707841353759,"results":"51","hashOfConfig":"40"},{"size":5021,"mtime":1707841353759,"results":"52","hashOfConfig":"40"},{"size":522,"mtime":1707841353759,"results":"53","hashOfConfig":"40"},{"size":895,"mtime":1707841353759,"results":"54","hashOfConfig":"40"},{"size":1474,"mtime":1707841353759,"results":"55","hashOfConfig":"40"},{"size":10302,"mtime":1707841353759,"results":"56","hashOfConfig":"40"},{"size":2656,"mtime":1707841353759,"results":"57","hashOfConfig":"40"},{"size":3169,"mtime":1707841353759,"results":"58","hashOfConfig":"40"},{"size":217,"mtime":1707841353759,"results":"59","hashOfConfig":"40"},{"size":1128,"mtime":1707841353759,"results":"60","hashOfConfig":"40"},{"size":778,"mtime":1707841353763,"results":"61","hashOfConfig":"40"},{"size":2698,"mtime":1707841353763,"results":"62","hashOfConfig":"40"},{"size":4606,"mtime":1707841353759,"results":"63","hashOfConfig":"40"},{"size":2656,"mtime":1707841353759,"results":"64","hashOfConfig":"40"},{"size":1192,"mtime":1707841353759,"results":"65","hashOfConfig":"40"},{"size":1867,"mtime":1707841353759,"results":"66","hashOfConfig":"40"},{"size":1662,"mtime":1707841353759,"results":"67","hashOfConfig":"40"},{"size":826,"mtime":1707841353759,"results":"68","hashOfConfig":"40"},{"size":894,"mtime":1707841353759,"results":"69","hashOfConfig":"40"},{"size":2091,"mtime":1707841353759,"results":"70","hashOfConfig":"40"},{"size":1458,"mtime":1707841353759,"results":"71","hashOfConfig":"40"},{"size":886,"mtime":1707841353759,"results":"72","hashOfConfig":"40"},{"size":3092,"mtime":1707841353759,"results":"73","hashOfConfig":"40"},{"size":3297,"mtime":1707841353759,"results":"74","hashOfConfig":"40"},{"size":1461,"mtime":1707841353759,"results":"75","hashOfConfig":"40"},{"size":2088,"mtime":1707841353759,"results":"76","hashOfConfig":"40"},{"size":530,"mtime":1707841353763,"results":"77","hashOfConfig":"40"},{"filePath":"78","messages":"79","suppressedMessages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"jwkg5q",{"filePath":"81","messages":"82","suppressedMessages":"83","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","suppressedMessages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"87","messages":"88","suppressedMessages":"89","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"90","messages":"91","suppressedMessages":"92","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"93","messages":"94","suppressedMessages":"95","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"96","messages":"97","suppressedMessages":"98","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"99","messages":"100","suppressedMessages":"101","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"102","messages":"103","suppressedMessages":"104","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"105","messages":"106","suppressedMessages":"107","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"108","messages":"109","suppressedMessages":"110","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"111","messages":"112","suppressedMessages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"114","messages":"115","suppressedMessages":"116","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"117","messages":"118","suppressedMessages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"120","messages":"121","suppressedMessages":"122","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"123","messages":"124","suppressedMessages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"126","messages":"127","suppressedMessages":"128","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"129","messages":"130","suppressedMessages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"132","messages":"133","suppressedMessages":"134","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"135","messages":"136","suppressedMessages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"138","messages":"139","suppressedMessages":"140","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"141","messages":"142","suppressedMessages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"144","messages":"145","suppressedMessages":"146","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"147","messages":"148","suppressedMessages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"150","messages":"151","suppressedMessages":"152","errorCount":0,"fatalErrorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"153","messages":"154","suppressedMessages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"156","messages":"157","suppressedMessages":"158","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"159","messages":"160","suppressedMessages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"162","messages":"163","suppressedMessages":"164","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"165","messages":"166","suppressedMessages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"168","messages":"169","suppressedMessages":"170","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"171","messages":"172","suppressedMessages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"174","messages":"175","suppressedMessages":"176","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"177","messages":"178","suppressedMessages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"180","messages":"181","suppressedMessages":"182","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"183","messages":"184","suppressedMessages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"186","messages":"187","suppressedMessages":"188","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"189","messages":"190","suppressedMessages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/home/runner/work/galadmin/galadmin/src/front/src/index.js",[],[],"/home/runner/work/galadmin/galadmin/src/front/src/App.js",[],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/Sidebar.js",["192","193","194","195"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/RedirectToFirstView.js",["196"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/CreateRecord.js",["197"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/EditRecord.js",["198"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Records.js",["199","200","201","202"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Record.js",["203","204"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Login.js",["205","206"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Iframe.js",["207","208"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/CustomView.js",["209"],[],"/home/runner/work/galadmin/galadmin/src/front/src/contexts/ConfigContext.js",["210"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/Input.js",["211"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/LabelTooltip.js",["212"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadButton.js",["213"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/UploadButton.js",["214"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/AddFilterButton.js",["215","216"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/BulkActionsButton.js",["217"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/ActionsButton.js",["218"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/BackButton.js",["219"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadTablePanelButton.js",["220"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/checkRequiredColumns.js",["221","222"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/getFormattedValue.js",["223","224","225","226"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/TablePanel.js",["227","228"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/GalleryPanel.js",["229","230","231","232","233"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/MapPanel.js",["234","235"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/ChatPanel.js",["236","237","238"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/CustomComponent.js",["239","240"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/OutsideClickHandler.js",["241"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ColorInput.js",["242","243","244"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/RichTextInput.js",["245","246"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/BetterRichTextInput.js",["247"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/DatetimeInput.js",["248","249"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/AddressInput.js",["250","251","252","253"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/FileInput.js",["254"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignSelectInput.js",["255","256","257"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignDatalistInput.js",["258","259","260","261"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/evalExpression.js",["262","263"],[],{"ruleId":"264","severity":1,"message":"265","line":19,"column":1,"nodeType":"266","endLine":104,"endColumn":2},{"ruleId":"267","severity":1,"message":"268","line":26,"column":28,"nodeType":"269","endLine":26,"endColumn":66},{"ruleId":"270","severity":1,"message":"271","line":29,"column":70,"nodeType":"272","messageId":"273","endLine":29,"endColumn":72},{"ruleId":"274","severity":1,"message":"275","line":79,"column":80,"nodeType":"276","messageId":"277","endLine":79,"endColumn":82},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":24,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":12,"column":1,"nodeType":"266","endLine":104,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":12,"column":1,"nodeType":"266","endLine":97,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":22,"column":1,"nodeType":"266","endLine":228,"endColumn":2},{"ruleId":"278","severity":1,"message":"279","line":51,"column":8,"nodeType":"280","endLine":51,"endColumn":19,"suggestions":"281"},{"ruleId":"278","severity":1,"message":"282","line":62,"column":8,"nodeType":"280","endLine":62,"endColumn":79,"suggestions":"283"},{"ruleId":"274","severity":1,"message":"275","line":189,"column":66,"nodeType":"276","messageId":"277","endLine":189,"endColumn":68},{"ruleId":"264","severity":1,"message":"265","line":17,"column":1,"nodeType":"266","endLine":91,"endColumn":2},{"ruleId":"278","severity":1,"message":"282","line":27,"column":8,"nodeType":"280","endLine":27,"endColumn":29,"suggestions":"284"},{"ruleId":"264","severity":1,"message":"265","line":5,"column":1,"nodeType":"266","endLine":33,"endColumn":2},{"ruleId":"267","severity":1,"message":"268","line":23,"column":21,"nodeType":"269","endLine":23,"endColumn":57},{"ruleId":"264","severity":1,"message":"265","line":9,"column":1,"nodeType":"266","endLine":19,"endColumn":2},{"ruleId":"285","severity":1,"message":"286","line":16,"column":13,"nodeType":"269","endLine":16,"endColumn":36},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":15,"endColumn":2},{"ruleId":"287","severity":1,"message":"288","line":11,"column":29,"nodeType":"289","messageId":"277","endLine":11,"endColumn":33},{"ruleId":"264","severity":1,"message":"265","line":10,"column":1,"nodeType":"266","endLine":149,"endColumn":3},{"ruleId":"264","severity":1,"message":"265","line":3,"column":1,"nodeType":"266","endLine":17,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":5,"column":1,"nodeType":"266","endLine":30,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":5,"column":1,"nodeType":"266","endLine":55,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":206,"endColumn":2},{"ruleId":"278","severity":1,"message":"290","line":20,"column":8,"nodeType":"280","endLine":20,"endColumn":15,"suggestions":"291"},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":68,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":10,"column":1,"nodeType":"266","endLine":85,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":12,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":4,"column":1,"nodeType":"266","endLine":28,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":5,"column":1,"nodeType":"266","endLine":22,"endColumn":2},{"ruleId":"274","severity":1,"message":"275","line":9,"column":44,"nodeType":"276","messageId":"277","endLine":9,"endColumn":46},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":51,"endColumn":2},{"ruleId":"292","severity":1,"message":"293","line":19,"column":13,"nodeType":"269","messageId":"294","endLine":19,"endColumn":48,"fix":"295"},{"ruleId":"267","severity":1,"message":"268","line":20,"column":17,"nodeType":"269","endLine":20,"endColumn":127},{"ruleId":"274","severity":1,"message":"275","line":46,"column":93,"nodeType":"276","messageId":"277","endLine":46,"endColumn":95},{"ruleId":"264","severity":1,"message":"265","line":10,"column":1,"nodeType":"266","endLine":112,"endColumn":2},{"ruleId":"278","severity":1,"message":"282","line":18,"column":8,"nodeType":"280","endLine":18,"endColumn":16,"suggestions":"296"},{"ruleId":"264","severity":1,"message":"265","line":8,"column":1,"nodeType":"266","endLine":76,"endColumn":2},{"ruleId":"297","severity":1,"message":"298","line":10,"column":11,"nodeType":"299","messageId":"300","endLine":10,"endColumn":18},{"ruleId":"278","severity":1,"message":"282","line":15,"column":8,"nodeType":"280","endLine":15,"endColumn":29,"suggestions":"301"},{"ruleId":"292","severity":1,"message":"293","line":61,"column":29,"nodeType":"269","messageId":"294","endLine":61,"endColumn":89,"fix":"302"},{"ruleId":"267","severity":1,"message":"268","line":62,"column":33,"nodeType":"269","endLine":66,"endColumn":35},{"ruleId":"264","severity":1,"message":"265","line":4,"column":1,"nodeType":"266","endLine":42,"endColumn":2},{"ruleId":"278","severity":1,"message":"303","line":23,"column":8,"nodeType":"280","endLine":23,"endColumn":31,"suggestions":"304"},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":73,"endColumn":2},{"ruleId":"278","severity":1,"message":"282","line":14,"column":8,"nodeType":"280","endLine":14,"endColumn":16,"suggestions":"305"},{"ruleId":"278","severity":1,"message":"306","line":26,"column":5,"nodeType":"280","endLine":26,"endColumn":14,"suggestions":"307"},{"ruleId":"308","severity":1,"message":"309","line":17,"column":27,"nodeType":"289","messageId":"310","endLine":17,"endColumn":69},{"ruleId":"311","severity":1,"message":"312","line":20,"column":13,"nodeType":"313","messageId":"314","endLine":20,"endColumn":47},{"ruleId":"278","severity":1,"message":"315","line":19,"column":8,"nodeType":"280","endLine":19,"endColumn":13,"suggestions":"316"},{"ruleId":"264","severity":1,"message":"265","line":3,"column":1,"nodeType":"266","endLine":29,"endColumn":2},{"ruleId":"278","severity":1,"message":"317","line":19,"column":43,"nodeType":"299","endLine":19,"endColumn":50},{"ruleId":"278","severity":1,"message":"318","line":20,"column":8,"nodeType":"280","endLine":20,"endColumn":29,"suggestions":"319"},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":58,"endColumn":3},{"ruleId":"278","severity":1,"message":"320","line":51,"column":8,"nodeType":"280","endLine":51,"endColumn":32,"suggestions":"321"},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":41,"endColumn":3},{"ruleId":"264","severity":1,"message":"265","line":3,"column":1,"nodeType":"266","endLine":26,"endColumn":2},{"ruleId":"278","severity":1,"message":"322","line":19,"column":8,"nodeType":"280","endLine":19,"endColumn":28,"suggestions":"323"},{"ruleId":"264","severity":1,"message":"265","line":3,"column":1,"nodeType":"266","endLine":67,"endColumn":2},{"ruleId":"278","severity":1,"message":"324","line":45,"column":8,"nodeType":"280","endLine":45,"endColumn":33,"suggestions":"325"},{"ruleId":"278","severity":1,"message":"326","line":54,"column":39,"nodeType":"299","endLine":54,"endColumn":46},{"ruleId":"278","severity":1,"message":"327","line":55,"column":8,"nodeType":"280","endLine":55,"endColumn":33,"suggestions":"328"},{"ruleId":"264","severity":1,"message":"265","line":8,"column":1,"nodeType":"266","endLine":85,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":46,"endColumn":2},{"ruleId":"278","severity":1,"message":"329","line":23,"column":8,"nodeType":"280","endLine":23,"endColumn":10,"suggestions":"330"},{"ruleId":"274","severity":1,"message":"275","line":32,"column":50,"nodeType":"276","messageId":"277","endLine":32,"endColumn":52},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":64,"endColumn":2},{"ruleId":"278","severity":1,"message":"331","line":22,"column":8,"nodeType":"280","endLine":22,"endColumn":15,"suggestions":"332"},{"ruleId":"278","severity":1,"message":"333","line":31,"column":29,"nodeType":"299","endLine":31,"endColumn":36},{"ruleId":"278","severity":1,"message":"334","line":32,"column":8,"nodeType":"280","endLine":32,"endColumn":23,"suggestions":"335"},{"ruleId":"264","severity":1,"message":"265","line":2,"column":1,"nodeType":"266","endLine":14,"endColumn":2},{"ruleId":"287","severity":1,"message":"288","line":8,"column":16,"nodeType":"289","messageId":"277","endLine":8,"endColumn":20},"import/no-anonymous-default-export","Assign arrow function to a variable before exporting as module default","ExportDefaultDeclaration","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","array-callback-return","Array.prototype.map() expects a value to be returned at the end of arrow function.","ArrowFunctionExpression","expectedAtEnd","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'currentFilters.length' and 'selectedRecordIds.length'. Either include them or remove the dependency array.","ArrayExpression",["336"],"React Hook useEffect has a missing dependency: 'refreshData'. Either include it or remove the dependency array.",["337"],["338"],"jsx-a11y/iframe-has-title","<iframe> elements must have a unique title property.","no-eval","eval can be harmful.","CallExpression","React Hook useEffect has missing dependencies: 'column?.dataType', 'column.optional', and 'column.options'. Either include them or remove the dependency array.",["339"],"react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" (which implies rel=\"noopener\") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations","noTargetBlankWithoutNoreferrer",{"range":"340","text":"341"},["342"],"no-unused-vars","'history' is assigned a value but never used.","Identifier","unusedVar",["343"],{"range":"344","text":"341"},"React Hook useEffect has missing dependencies: 'panel.latitudeField', 'panel.longitudeField', 'panel.query', 'panel.zoom', and 'view.primaryId'. Either include them or remove the dependency array. Outer scope values like 'window.google' aren't valid dependencies because mutating them doesn't re-render the component.",["345"],["346"],"React Hook useEffect has a missing dependency: 'sendMessage'. Either include it or remove the dependency array.",["347"],"no-new-func","The Function constructor is eval.","noFunctionConstructor","no-throw-literal","Expected an error object to be thrown.","ThrowStatement","object","React Hook useEffect has a missing dependency: 'handler'. Either include it or remove the dependency array. If 'handler' changes too often, find the parent component that defines it and wrap that definition in useCallback.",["348"],"The ref value 'colorPicker.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'colorPicker.current' to a variable inside the effect, and use that variable in the cleanup function.","React Hook useEffect has missing dependencies: 'column.name', 'initialData', and 'onChange'. Either include them or remove the dependency array. Mutable values like 'colorPicker.current' aren't valid dependencies because mutating them doesn't re-render the component.",["349"],"React Hook useEffect has missing dependencies: 'column.contentField', 'column.htmlField', 'initialData', and 'onChange'. Either include them or remove the dependency array. Mutable values like 'quillContainer.current' aren't valid dependencies because mutating them doesn't re-render the component.",["350"],"React Hook useEffect has missing dependencies: 'column.name', 'initialData', 'onChange', and 'withTime'. Either include them or remove the dependency array. Mutable values like 'datepicker.current' aren't valid dependencies because mutating them doesn't re-render the component.",["351"],"React Hook useEffect has missing dependencies: 'column' and 'onChange'. Either include them or remove the dependency array. Mutable values like 'googleMapsInput.current' aren't valid dependencies because mutating them doesn't re-render the component.",["352"],"The ref value 'googleMapsInput.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'googleMapsInput.current' to a variable inside the effect, and use that variable in the cleanup function.","React Hook useEffect has an unnecessary dependency: 'googleMapsInput.current'. Either exclude it or remove the dependency array. Mutable values like 'googleMapsInput.current' aren't valid dependencies because mutating them doesn't re-render the component.",["353"],"React Hook useEffect has missing dependencies: 'column.__id__', 'column.name', 'column.optional', 'initialData', 'onChange', and 'viewIndex'. Either include them or remove the dependency array. If 'onChange' changes too often, find the parent component that defines it and wrap that definition in useCallback.",["354"],"React Hook useEffect has missing dependencies: 'column.__id__' and 'viewIndex'. Either include them or remove the dependency array.",["355"],"The ref value 'input.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'input.current' to a variable inside the effect, and use that variable in the cleanup function.","React Hook useEffect has an unnecessary dependency: 'input.current'. Either exclude it or remove the dependency array. Mutable values like 'input.current' aren't valid dependencies because mutating them doesn't re-render the component.",["356"],{"desc":"357","fix":"358"},{"desc":"359","fix":"360"},{"desc":"361","fix":"362"},{"desc":"363","fix":"364"},[1055,1055]," rel=\"noreferrer\"",{"desc":"365","fix":"366"},{"desc":"367","fix":"368"},[2020,2020],{"desc":"369","fix":"370"},{"desc":"365","fix":"371"},{"desc":"372","fix":"373"},{"desc":"374","fix":"375"},{"desc":"376","fix":"377"},{"desc":"378","fix":"379"},{"desc":"380","fix":"381"},{"desc":"382","fix":"383"},{"desc":"384","fix":"385"},{"desc":"386","fix":"387"},{"desc":"388","fix":"389"},{"desc":"384","fix":"390"},"Update the dependencies array to be: [currentFilters.length, selectedRecordIds.length, viewIndex]",{"range":"391","text":"392"},"Update the dependencies array to be: [viewIndex, subviewIndex, page, query, currentFilters, orderBy, isDesc, refreshData]",{"range":"393","text":"394"},"Update the dependencies array to be: [viewIndex, recordId, refreshData]",{"range":"395","text":"396"},"Update the dependencies array to be: [column?.dataType, column.optional, column.options, field]",{"range":"397","text":"398"},"Update the dependencies array to be: [record, refreshData]",{"range":"399","text":"400"},"Update the dependencies array to be: [panel.query, record, refreshData]",{"range":"401","text":"402"},"Update the dependencies array to be: [panel.latitudeField, panel.longitudeField, panel.query, panel.zoom, record, view.primaryId]",{"range":"403","text":"404"},{"range":"405","text":"400"},"Update the dependencies array to be: [message, sendMessage]",{"range":"406","text":"407"},"Update the dependencies array to be: [handler, ref]",{"range":"408","text":"409"},"Update the dependencies array to be: [column.name, initialData, onChange]",{"range":"410","text":"411"},"Update the dependencies array to be: [column.contentField, column.htmlField, initialData, onChange]",{"range":"412","text":"413"},"Update the dependencies array to be: [column.name, initialData, onChange, withTime]",{"range":"414","text":"415"},"Update the dependencies array to be: [column, onChange]",{"range":"416","text":"417"},"Update the dependencies array to be: []",{"range":"418","text":"419"},"Update the dependencies array to be: [column.__id__, column.name, column.optional, initialData, onChange, viewIndex]",{"range":"420","text":"421"},"Update the dependencies array to be: [column.__id__, query, viewIndex]",{"range":"422","text":"423"},{"range":"424","text":"419"},[1710,1721],"[currentFilters.length, selectedRecordIds.length, viewIndex]",[1950,2021],"[viewIndex, subviewIndex, page, query, currentFilters, orderBy, isDesc, refreshData]",[997,1018],"[viewIndex, recordId, refreshData]",[835,842],"[column?.dataType, column.optional, column.options, field]",[542,550],"[record, refreshData]",[359,380],"[panel.query, record, refreshData]",[776,799],"[panel.latitudeField, panel.longitudeField, panel.query, panel.zoom, record, view.primaryId]",[363,371],[608,617],"[message, sendMessage]",[604,609],"[handler, ref]",[695,716],"[column.name, initialData, onChange]",[1877,1901],"[column.contentField, column.htmlField, initialData, onChange]",[717,737],"[column.name, initialData, onChange, withTime]",[2440,2465],"[column, onChange]",[2826,2851],"[]",[724,726],"[column.__id__, column.name, column.optional, initialData, onChange, viewIndex]",[620,627],"[column.__id__, query, viewIndex]",[972,987]]
|
|
1
|
+
[{"/home/runner/work/galadmin/galadmin/src/front/src/index.js":"1","/home/runner/work/galadmin/galadmin/src/front/src/App.js":"2","/home/runner/work/galadmin/galadmin/src/front/src/components/Sidebar.js":"3","/home/runner/work/galadmin/galadmin/src/front/src/components/RedirectToFirstView.js":"4","/home/runner/work/galadmin/galadmin/src/front/src/pages/CreateRecord.js":"5","/home/runner/work/galadmin/galadmin/src/front/src/pages/EditRecord.js":"6","/home/runner/work/galadmin/galadmin/src/front/src/pages/Records.js":"7","/home/runner/work/galadmin/galadmin/src/front/src/pages/Record.js":"8","/home/runner/work/galadmin/galadmin/src/front/src/pages/Login.js":"9","/home/runner/work/galadmin/galadmin/src/front/src/pages/Iframe.js":"10","/home/runner/work/galadmin/galadmin/src/front/src/pages/CustomView.js":"11","/home/runner/work/galadmin/galadmin/src/front/src/contexts/ConfigContext.js":"12","/home/runner/work/galadmin/galadmin/src/front/src/components/Input.js":"13","/home/runner/work/galadmin/galadmin/src/front/src/components/LabelTooltip.js":"14","/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadButton.js":"15","/home/runner/work/galadmin/galadmin/src/front/src/components/UploadButton.js":"16","/home/runner/work/galadmin/galadmin/src/front/src/components/AddFilterButton.js":"17","/home/runner/work/galadmin/galadmin/src/front/src/components/BulkActionsButton.js":"18","/home/runner/work/galadmin/galadmin/src/front/src/components/ActionsButton.js":"19","/home/runner/work/galadmin/galadmin/src/front/src/components/BackButton.js":"20","/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadTablePanelButton.js":"21","/home/runner/work/galadmin/galadmin/src/front/src/utils/checkRequiredColumns.js":"22","/home/runner/work/galadmin/galadmin/src/front/src/utils/getFormattedValue.js":"23","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/TablePanel.js":"24","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/GalleryPanel.js":"25","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/MapPanel.js":"26","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/ChatPanel.js":"27","/home/runner/work/galadmin/galadmin/src/front/src/components/CustomComponent.js":"28","/home/runner/work/galadmin/galadmin/src/front/src/components/OutsideClickHandler.js":"29","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ColorInput.js":"30","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/RichTextInput.js":"31","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/BetterRichTextInput.js":"32","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/DatetimeInput.js":"33","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/AddressInput.js":"34","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/FileInput.js":"35","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignSelectInput.js":"36","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignDatalistInput.js":"37","/home/runner/work/galadmin/galadmin/src/front/src/utils/evalExpression.js":"38"},{"size":219,"mtime":1708105990226,"results":"39","hashOfConfig":"40"},{"size":2443,"mtime":1708105990222,"results":"41","hashOfConfig":"40"},{"size":5074,"mtime":1708105990222,"results":"42","hashOfConfig":"40"},{"size":524,"mtime":1708105990222,"results":"43","hashOfConfig":"40"},{"size":4371,"mtime":1708105990226,"results":"44","hashOfConfig":"40"},{"size":3733,"mtime":1708105990226,"results":"45","hashOfConfig":"40"},{"size":10604,"mtime":1708105990226,"results":"46","hashOfConfig":"40"},{"size":4420,"mtime":1708105990226,"results":"47","hashOfConfig":"40"},{"size":1135,"mtime":1708105990226,"results":"48","hashOfConfig":"40"},{"size":404,"mtime":1708105990226,"results":"49","hashOfConfig":"40"},{"size":454,"mtime":1708105990226,"results":"50","hashOfConfig":"40"},{"size":1022,"mtime":1708105990226,"results":"51","hashOfConfig":"40"},{"size":5021,"mtime":1708105990222,"results":"52","hashOfConfig":"40"},{"size":522,"mtime":1708105990222,"results":"53","hashOfConfig":"40"},{"size":895,"mtime":1708105990222,"results":"54","hashOfConfig":"40"},{"size":1474,"mtime":1708105990222,"results":"55","hashOfConfig":"40"},{"size":10302,"mtime":1708105990222,"results":"56","hashOfConfig":"40"},{"size":2656,"mtime":1708105990222,"results":"57","hashOfConfig":"40"},{"size":3169,"mtime":1708105990222,"results":"58","hashOfConfig":"40"},{"size":217,"mtime":1708105990222,"results":"59","hashOfConfig":"40"},{"size":1128,"mtime":1708105990222,"results":"60","hashOfConfig":"40"},{"size":778,"mtime":1708105990226,"results":"61","hashOfConfig":"40"},{"size":2698,"mtime":1708105990226,"results":"62","hashOfConfig":"40"},{"size":4606,"mtime":1708105990226,"results":"63","hashOfConfig":"40"},{"size":2656,"mtime":1708105990226,"results":"64","hashOfConfig":"40"},{"size":1192,"mtime":1708105990226,"results":"65","hashOfConfig":"40"},{"size":1867,"mtime":1708105990226,"results":"66","hashOfConfig":"40"},{"size":1662,"mtime":1708105990222,"results":"67","hashOfConfig":"40"},{"size":826,"mtime":1708105990222,"results":"68","hashOfConfig":"40"},{"size":894,"mtime":1708105990226,"results":"69","hashOfConfig":"40"},{"size":2091,"mtime":1708105990226,"results":"70","hashOfConfig":"40"},{"size":1458,"mtime":1708105990226,"results":"71","hashOfConfig":"40"},{"size":886,"mtime":1708105990226,"results":"72","hashOfConfig":"40"},{"size":3092,"mtime":1708105990222,"results":"73","hashOfConfig":"40"},{"size":3297,"mtime":1708105990226,"results":"74","hashOfConfig":"40"},{"size":1461,"mtime":1708105990226,"results":"75","hashOfConfig":"40"},{"size":2088,"mtime":1708105990226,"results":"76","hashOfConfig":"40"},{"size":530,"mtime":1708105990226,"results":"77","hashOfConfig":"40"},{"filePath":"78","messages":"79","suppressedMessages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"jwkg5q",{"filePath":"81","messages":"82","suppressedMessages":"83","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","suppressedMessages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"87","messages":"88","suppressedMessages":"89","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"90","messages":"91","suppressedMessages":"92","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"93","messages":"94","suppressedMessages":"95","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"96","messages":"97","suppressedMessages":"98","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"99","messages":"100","suppressedMessages":"101","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"102","messages":"103","suppressedMessages":"104","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"105","messages":"106","suppressedMessages":"107","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"108","messages":"109","suppressedMessages":"110","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"111","messages":"112","suppressedMessages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"114","messages":"115","suppressedMessages":"116","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"117","messages":"118","suppressedMessages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"120","messages":"121","suppressedMessages":"122","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"123","messages":"124","suppressedMessages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"126","messages":"127","suppressedMessages":"128","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"129","messages":"130","suppressedMessages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"132","messages":"133","suppressedMessages":"134","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"135","messages":"136","suppressedMessages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"138","messages":"139","suppressedMessages":"140","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"141","messages":"142","suppressedMessages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"144","messages":"145","suppressedMessages":"146","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"147","messages":"148","suppressedMessages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"150","messages":"151","suppressedMessages":"152","errorCount":0,"fatalErrorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"153","messages":"154","suppressedMessages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"156","messages":"157","suppressedMessages":"158","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"159","messages":"160","suppressedMessages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"162","messages":"163","suppressedMessages":"164","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"165","messages":"166","suppressedMessages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"168","messages":"169","suppressedMessages":"170","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"171","messages":"172","suppressedMessages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"174","messages":"175","suppressedMessages":"176","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"177","messages":"178","suppressedMessages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"180","messages":"181","suppressedMessages":"182","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"183","messages":"184","suppressedMessages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"186","messages":"187","suppressedMessages":"188","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"189","messages":"190","suppressedMessages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/home/runner/work/galadmin/galadmin/src/front/src/index.js",[],[],"/home/runner/work/galadmin/galadmin/src/front/src/App.js",[],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/Sidebar.js",["192","193","194","195"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/RedirectToFirstView.js",["196"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/CreateRecord.js",["197"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/EditRecord.js",["198"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Records.js",["199","200","201","202"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Record.js",["203","204"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Login.js",["205","206"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Iframe.js",["207","208"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/CustomView.js",["209"],[],"/home/runner/work/galadmin/galadmin/src/front/src/contexts/ConfigContext.js",["210"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/Input.js",["211"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/LabelTooltip.js",["212"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadButton.js",["213"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/UploadButton.js",["214"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/AddFilterButton.js",["215","216"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/BulkActionsButton.js",["217"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/ActionsButton.js",["218"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/BackButton.js",["219"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadTablePanelButton.js",["220"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/checkRequiredColumns.js",["221","222"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/getFormattedValue.js",["223","224","225","226"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/TablePanel.js",["227","228"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/GalleryPanel.js",["229","230","231","232","233"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/MapPanel.js",["234","235"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/ChatPanel.js",["236","237","238"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/CustomComponent.js",["239","240"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/OutsideClickHandler.js",["241"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ColorInput.js",["242","243","244"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/RichTextInput.js",["245","246"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/BetterRichTextInput.js",["247"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/DatetimeInput.js",["248","249"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/AddressInput.js",["250","251","252","253"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/FileInput.js",["254"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignSelectInput.js",["255","256","257"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignDatalistInput.js",["258","259","260","261"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/evalExpression.js",["262","263"],[],{"ruleId":"264","severity":1,"message":"265","line":19,"column":1,"nodeType":"266","endLine":113,"endColumn":2},{"ruleId":"267","severity":1,"message":"268","line":27,"column":28,"nodeType":"269","endLine":27,"endColumn":66},{"ruleId":"270","severity":1,"message":"271","line":30,"column":70,"nodeType":"272","messageId":"273","endLine":30,"endColumn":72},{"ruleId":"274","severity":1,"message":"275","line":80,"column":80,"nodeType":"276","messageId":"277","endLine":80,"endColumn":82},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":24,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":12,"column":1,"nodeType":"266","endLine":104,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":12,"column":1,"nodeType":"266","endLine":97,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":22,"column":1,"nodeType":"266","endLine":228,"endColumn":2},{"ruleId":"278","severity":1,"message":"279","line":51,"column":8,"nodeType":"280","endLine":51,"endColumn":19,"suggestions":"281"},{"ruleId":"278","severity":1,"message":"282","line":62,"column":8,"nodeType":"280","endLine":62,"endColumn":79,"suggestions":"283"},{"ruleId":"274","severity":1,"message":"275","line":189,"column":66,"nodeType":"276","messageId":"277","endLine":189,"endColumn":68},{"ruleId":"264","severity":1,"message":"265","line":17,"column":1,"nodeType":"266","endLine":91,"endColumn":2},{"ruleId":"278","severity":1,"message":"282","line":27,"column":8,"nodeType":"280","endLine":27,"endColumn":29,"suggestions":"284"},{"ruleId":"264","severity":1,"message":"265","line":5,"column":1,"nodeType":"266","endLine":33,"endColumn":2},{"ruleId":"267","severity":1,"message":"268","line":23,"column":21,"nodeType":"269","endLine":23,"endColumn":57},{"ruleId":"264","severity":1,"message":"265","line":9,"column":1,"nodeType":"266","endLine":19,"endColumn":2},{"ruleId":"285","severity":1,"message":"286","line":16,"column":13,"nodeType":"269","endLine":16,"endColumn":36},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":15,"endColumn":2},{"ruleId":"287","severity":1,"message":"288","line":11,"column":29,"nodeType":"289","messageId":"277","endLine":11,"endColumn":33},{"ruleId":"264","severity":1,"message":"265","line":10,"column":1,"nodeType":"266","endLine":149,"endColumn":3},{"ruleId":"264","severity":1,"message":"265","line":3,"column":1,"nodeType":"266","endLine":17,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":5,"column":1,"nodeType":"266","endLine":30,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":5,"column":1,"nodeType":"266","endLine":55,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":206,"endColumn":2},{"ruleId":"278","severity":1,"message":"290","line":20,"column":8,"nodeType":"280","endLine":20,"endColumn":15,"suggestions":"291"},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":68,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":10,"column":1,"nodeType":"266","endLine":85,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":12,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":4,"column":1,"nodeType":"266","endLine":28,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":5,"column":1,"nodeType":"266","endLine":22,"endColumn":2},{"ruleId":"274","severity":1,"message":"275","line":9,"column":44,"nodeType":"276","messageId":"277","endLine":9,"endColumn":46},{"ruleId":"264","severity":1,"message":"265","line":6,"column":1,"nodeType":"266","endLine":51,"endColumn":2},{"ruleId":"292","severity":1,"message":"293","line":19,"column":13,"nodeType":"269","messageId":"294","endLine":19,"endColumn":48,"fix":"295"},{"ruleId":"267","severity":1,"message":"268","line":20,"column":17,"nodeType":"269","endLine":20,"endColumn":127},{"ruleId":"274","severity":1,"message":"275","line":46,"column":93,"nodeType":"276","messageId":"277","endLine":46,"endColumn":95},{"ruleId":"264","severity":1,"message":"265","line":10,"column":1,"nodeType":"266","endLine":112,"endColumn":2},{"ruleId":"278","severity":1,"message":"282","line":18,"column":8,"nodeType":"280","endLine":18,"endColumn":16,"suggestions":"296"},{"ruleId":"264","severity":1,"message":"265","line":8,"column":1,"nodeType":"266","endLine":76,"endColumn":2},{"ruleId":"297","severity":1,"message":"298","line":10,"column":11,"nodeType":"299","messageId":"300","endLine":10,"endColumn":18},{"ruleId":"278","severity":1,"message":"282","line":15,"column":8,"nodeType":"280","endLine":15,"endColumn":29,"suggestions":"301"},{"ruleId":"292","severity":1,"message":"293","line":61,"column":29,"nodeType":"269","messageId":"294","endLine":61,"endColumn":89,"fix":"302"},{"ruleId":"267","severity":1,"message":"268","line":62,"column":33,"nodeType":"269","endLine":66,"endColumn":35},{"ruleId":"264","severity":1,"message":"265","line":4,"column":1,"nodeType":"266","endLine":42,"endColumn":2},{"ruleId":"278","severity":1,"message":"303","line":23,"column":8,"nodeType":"280","endLine":23,"endColumn":31,"suggestions":"304"},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":73,"endColumn":2},{"ruleId":"278","severity":1,"message":"282","line":14,"column":8,"nodeType":"280","endLine":14,"endColumn":16,"suggestions":"305"},{"ruleId":"278","severity":1,"message":"306","line":26,"column":5,"nodeType":"280","endLine":26,"endColumn":14,"suggestions":"307"},{"ruleId":"308","severity":1,"message":"309","line":17,"column":27,"nodeType":"289","messageId":"310","endLine":17,"endColumn":69},{"ruleId":"311","severity":1,"message":"312","line":20,"column":13,"nodeType":"313","messageId":"314","endLine":20,"endColumn":47},{"ruleId":"278","severity":1,"message":"315","line":19,"column":8,"nodeType":"280","endLine":19,"endColumn":13,"suggestions":"316"},{"ruleId":"264","severity":1,"message":"265","line":3,"column":1,"nodeType":"266","endLine":29,"endColumn":2},{"ruleId":"278","severity":1,"message":"317","line":19,"column":43,"nodeType":"299","endLine":19,"endColumn":50},{"ruleId":"278","severity":1,"message":"318","line":20,"column":8,"nodeType":"280","endLine":20,"endColumn":29,"suggestions":"319"},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":58,"endColumn":3},{"ruleId":"278","severity":1,"message":"320","line":51,"column":8,"nodeType":"280","endLine":51,"endColumn":32,"suggestions":"321"},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":41,"endColumn":3},{"ruleId":"264","severity":1,"message":"265","line":3,"column":1,"nodeType":"266","endLine":26,"endColumn":2},{"ruleId":"278","severity":1,"message":"322","line":19,"column":8,"nodeType":"280","endLine":19,"endColumn":28,"suggestions":"323"},{"ruleId":"264","severity":1,"message":"265","line":3,"column":1,"nodeType":"266","endLine":67,"endColumn":2},{"ruleId":"278","severity":1,"message":"324","line":45,"column":8,"nodeType":"280","endLine":45,"endColumn":33,"suggestions":"325"},{"ruleId":"278","severity":1,"message":"326","line":54,"column":39,"nodeType":"299","endLine":54,"endColumn":46},{"ruleId":"278","severity":1,"message":"327","line":55,"column":8,"nodeType":"280","endLine":55,"endColumn":33,"suggestions":"328"},{"ruleId":"264","severity":1,"message":"265","line":8,"column":1,"nodeType":"266","endLine":85,"endColumn":2},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":46,"endColumn":2},{"ruleId":"278","severity":1,"message":"329","line":23,"column":8,"nodeType":"280","endLine":23,"endColumn":10,"suggestions":"330"},{"ruleId":"274","severity":1,"message":"275","line":32,"column":50,"nodeType":"276","messageId":"277","endLine":32,"endColumn":52},{"ruleId":"264","severity":1,"message":"265","line":7,"column":1,"nodeType":"266","endLine":64,"endColumn":2},{"ruleId":"278","severity":1,"message":"331","line":22,"column":8,"nodeType":"280","endLine":22,"endColumn":15,"suggestions":"332"},{"ruleId":"278","severity":1,"message":"333","line":31,"column":29,"nodeType":"299","endLine":31,"endColumn":36},{"ruleId":"278","severity":1,"message":"334","line":32,"column":8,"nodeType":"280","endLine":32,"endColumn":23,"suggestions":"335"},{"ruleId":"264","severity":1,"message":"265","line":2,"column":1,"nodeType":"266","endLine":14,"endColumn":2},{"ruleId":"287","severity":1,"message":"288","line":8,"column":16,"nodeType":"289","messageId":"277","endLine":8,"endColumn":20},"import/no-anonymous-default-export","Assign arrow function to a variable before exporting as module default","ExportDefaultDeclaration","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement","array-callback-return","Array.prototype.map() expects a value to be returned at the end of arrow function.","ArrowFunctionExpression","expectedAtEnd","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'currentFilters.length' and 'selectedRecordIds.length'. Either include them or remove the dependency array.","ArrayExpression",["336"],"React Hook useEffect has a missing dependency: 'refreshData'. Either include it or remove the dependency array.",["337"],["338"],"jsx-a11y/iframe-has-title","<iframe> elements must have a unique title property.","no-eval","eval can be harmful.","CallExpression","React Hook useEffect has missing dependencies: 'column?.dataType', 'column.optional', and 'column.options'. Either include them or remove the dependency array.",["339"],"react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" (which implies rel=\"noopener\") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations","noTargetBlankWithoutNoreferrer",{"range":"340","text":"341"},["342"],"no-unused-vars","'history' is assigned a value but never used.","Identifier","unusedVar",["343"],{"range":"344","text":"341"},"React Hook useEffect has missing dependencies: 'panel.latitudeField', 'panel.longitudeField', 'panel.query', 'panel.zoom', and 'view.primaryId'. Either include them or remove the dependency array. Outer scope values like 'window.google' aren't valid dependencies because mutating them doesn't re-render the component.",["345"],["346"],"React Hook useEffect has a missing dependency: 'sendMessage'. Either include it or remove the dependency array.",["347"],"no-new-func","The Function constructor is eval.","noFunctionConstructor","no-throw-literal","Expected an error object to be thrown.","ThrowStatement","object","React Hook useEffect has a missing dependency: 'handler'. Either include it or remove the dependency array. If 'handler' changes too often, find the parent component that defines it and wrap that definition in useCallback.",["348"],"The ref value 'colorPicker.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'colorPicker.current' to a variable inside the effect, and use that variable in the cleanup function.","React Hook useEffect has missing dependencies: 'column.name', 'initialData', and 'onChange'. Either include them or remove the dependency array. Mutable values like 'colorPicker.current' aren't valid dependencies because mutating them doesn't re-render the component.",["349"],"React Hook useEffect has missing dependencies: 'column.contentField', 'column.htmlField', 'initialData', and 'onChange'. Either include them or remove the dependency array. Mutable values like 'quillContainer.current' aren't valid dependencies because mutating them doesn't re-render the component.",["350"],"React Hook useEffect has missing dependencies: 'column.name', 'initialData', 'onChange', and 'withTime'. Either include them or remove the dependency array. Mutable values like 'datepicker.current' aren't valid dependencies because mutating them doesn't re-render the component.",["351"],"React Hook useEffect has missing dependencies: 'column' and 'onChange'. Either include them or remove the dependency array. Mutable values like 'googleMapsInput.current' aren't valid dependencies because mutating them doesn't re-render the component.",["352"],"The ref value 'googleMapsInput.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'googleMapsInput.current' to a variable inside the effect, and use that variable in the cleanup function.","React Hook useEffect has an unnecessary dependency: 'googleMapsInput.current'. Either exclude it or remove the dependency array. Mutable values like 'googleMapsInput.current' aren't valid dependencies because mutating them doesn't re-render the component.",["353"],"React Hook useEffect has missing dependencies: 'column.__id__', 'column.name', 'column.optional', 'initialData', 'onChange', and 'viewIndex'. Either include them or remove the dependency array. If 'onChange' changes too often, find the parent component that defines it and wrap that definition in useCallback.",["354"],"React Hook useEffect has missing dependencies: 'column.__id__' and 'viewIndex'. Either include them or remove the dependency array.",["355"],"The ref value 'input.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'input.current' to a variable inside the effect, and use that variable in the cleanup function.","React Hook useEffect has an unnecessary dependency: 'input.current'. Either exclude it or remove the dependency array. Mutable values like 'input.current' aren't valid dependencies because mutating them doesn't re-render the component.",["356"],{"desc":"357","fix":"358"},{"desc":"359","fix":"360"},{"desc":"361","fix":"362"},{"desc":"363","fix":"364"},[1055,1055]," rel=\"noreferrer\"",{"desc":"365","fix":"366"},{"desc":"367","fix":"368"},[2020,2020],{"desc":"369","fix":"370"},{"desc":"365","fix":"371"},{"desc":"372","fix":"373"},{"desc":"374","fix":"375"},{"desc":"376","fix":"377"},{"desc":"378","fix":"379"},{"desc":"380","fix":"381"},{"desc":"382","fix":"383"},{"desc":"384","fix":"385"},{"desc":"386","fix":"387"},{"desc":"388","fix":"389"},{"desc":"384","fix":"390"},"Update the dependencies array to be: [currentFilters.length, selectedRecordIds.length, viewIndex]",{"range":"391","text":"392"},"Update the dependencies array to be: [viewIndex, subviewIndex, page, query, currentFilters, orderBy, isDesc, refreshData]",{"range":"393","text":"394"},"Update the dependencies array to be: [viewIndex, recordId, refreshData]",{"range":"395","text":"396"},"Update the dependencies array to be: [column?.dataType, column.optional, column.options, field]",{"range":"397","text":"398"},"Update the dependencies array to be: [record, refreshData]",{"range":"399","text":"400"},"Update the dependencies array to be: [panel.query, record, refreshData]",{"range":"401","text":"402"},"Update the dependencies array to be: [panel.latitudeField, panel.longitudeField, panel.query, panel.zoom, record, view.primaryId]",{"range":"403","text":"404"},{"range":"405","text":"400"},"Update the dependencies array to be: [message, sendMessage]",{"range":"406","text":"407"},"Update the dependencies array to be: [handler, ref]",{"range":"408","text":"409"},"Update the dependencies array to be: [column.name, initialData, onChange]",{"range":"410","text":"411"},"Update the dependencies array to be: [column.contentField, column.htmlField, initialData, onChange]",{"range":"412","text":"413"},"Update the dependencies array to be: [column.name, initialData, onChange, withTime]",{"range":"414","text":"415"},"Update the dependencies array to be: [column, onChange]",{"range":"416","text":"417"},"Update the dependencies array to be: []",{"range":"418","text":"419"},"Update the dependencies array to be: [column.__id__, column.name, column.optional, initialData, onChange, viewIndex]",{"range":"420","text":"421"},"Update the dependencies array to be: [column.__id__, query, viewIndex]",{"range":"422","text":"423"},{"range":"424","text":"419"},[1710,1721],"[currentFilters.length, selectedRecordIds.length, viewIndex]",[1950,2021],"[viewIndex, subviewIndex, page, query, currentFilters, orderBy, isDesc, refreshData]",[997,1018],"[viewIndex, recordId, refreshData]",[835,842],"[column?.dataType, column.optional, column.options, field]",[542,550],"[record, refreshData]",[359,380],"[panel.query, record, refreshData]",[776,799],"[panel.latitudeField, panel.longitudeField, panel.query, panel.zoom, record, view.primaryId]",[363,371],[608,617],"[message, sendMessage]",[604,609],"[handler, ref]",[695,716],"[column.name, initialData, onChange]",[1877,1901],"[column.contentField, column.htmlField, initialData, onChange]",[717,737],"[column.name, initialData, onChange, withTime]",[2440,2465],"[column, onChange]",[2826,2851],"[]",[724,726],"[column.__id__, column.name, column.optional, initialData, onChange, viewIndex]",[620,627],"[column.__id__, query, viewIndex]",[972,987]]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _slicedToArray from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";import{BrowserRouter as Router,Switch,Route}from\"react-router-dom\";import{useEffect,useState}from\"react\";import'./App.css';import Sidebar from'./components/Sidebar';import RedirectToFirstView from'./components/RedirectToFirstView';import CreateRecord from'./pages/CreateRecord';import EditRecord from'./pages/EditRecord';import Records from'./pages/Records';import Record from'./pages/Record';import Login from'./pages/Login';import Iframe from'./pages/Iframe';import CustomView from'./pages/CustomView';import{ConfigProvider}from'./contexts/ConfigContext';import axios from\"axios\";import{jsx as _jsx}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";axios.defaults.withCredentials=true;axios.defaults.baseURL=process.env.NODE_ENV===\"development\"?'http://localhost/admin/api':'/_HOMEPAGE_/api';function App(){var _useState=useState(null),_useState2=_slicedToArray(_useState,2),isAuthenticated=_useState2[0],setIsAuthenticated=_useState2[1];useEffect(function(){axios.get(\"/isAuthenticated\").then(function(response){setIsAuthenticated(response.data.isAuthenticated);});},[]);var logout=function logout(){setIsAuthenticated(false);axios.get(\"/logout\");};return/*#__PURE__*/_jsx(\"div\",{id:\"body\",children:isAuthenticated===true?/*#__PURE__*/_jsx(ConfigProvider,{children:/*#__PURE__*/_jsxs(Router,{basename:process.env.NODE_ENV===\"development\"?'/admin':\"/_HOMEPAGE_\",children:[/*#__PURE__*/_jsx(Sidebar,{logout:logout}),/*#__PURE__*/_jsxs(Switch,{children:[/*#__PURE__*/_jsx(Route,{path:\"/records/:viewIndex/:subviewIndex?\",children:/*#__PURE__*/_jsx(Records,{})}),/*#__PURE__*/_jsx(Route,{path:\"/record/:viewIndex/:recordId\",children:/*#__PURE__*/_jsx(Record,{})}),/*#__PURE__*/_jsx(Route,{path:\"/editRecord/:viewIndex/:recordId\",children:/*#__PURE__*/_jsx(EditRecord,{})}),/*#__PURE__*/_jsx(Route,{path:\"/createRecord/:viewIndex/:panelIndex?/:recordId?\",children:/*#__PURE__*/_jsx(CreateRecord,{})}),/*#__PURE__*/_jsx(Route,{path:\"/iframe/:viewIndex\",children:/*#__PURE__*/_jsx(Iframe,{})}),/*#__PURE__*/_jsx(Route,{path:\"/customView/:viewIndex\",children:/*#__PURE__*/_jsx(CustomView,{})}),/*#__PURE__*/_jsx(Route,{path:\"/\",children:/*#__PURE__*/_jsx(RedirectToFirstView,{})})]})]})}):isAuthenticated===false?/*#__PURE__*/_jsx(Login,{setIsAuthenticated:setIsAuthenticated}):/*#__PURE__*/_jsx(\"div\",{class:\"appLoading\",children:/*#__PURE__*/_jsx(\"i\",{class:\"fa fa-circle-notch fa-spin\"})})});}export default App;","map":{"version":3,"names":["BrowserRouter","Router","Switch","Route","useEffect","useState","Sidebar","RedirectToFirstView","CreateRecord","EditRecord","Records","Record","Login","Iframe","CustomView","ConfigProvider","axios","jsx","_jsx","jsxs","_jsxs","defaults","withCredentials","baseURL","process","env","NODE_ENV","App","_useState","_useState2","_slicedToArray","isAuthenticated","setIsAuthenticated","get","then","response","data","logout","id","children","basename","path","class"],"sources":["/home/runner/work/galadmin/galadmin/src/front/src/App.js"],"sourcesContent":["import {\n BrowserRouter as Router,\n Switch,\n Route\n} from \"react-router-dom\";\nimport { useEffect, useState } from \"react\";\nimport './App.css';\nimport Sidebar from './components/Sidebar'\nimport RedirectToFirstView from './components/RedirectToFirstView'\nimport CreateRecord from './pages/CreateRecord'\nimport EditRecord from './pages/EditRecord'\nimport Records from './pages/Records'\nimport Record from './pages/Record'\nimport Login from './pages/Login'\nimport Iframe from './pages/Iframe'\nimport CustomView from './pages/CustomView'\nimport { ConfigProvider } from './contexts/ConfigContext'\nimport axios from \"axios\";\n\naxios.defaults.withCredentials = true;\naxios.defaults.baseURL = process.env.NODE_ENV === \"development\" ? 'http://localhost/admin/api' : '/_HOMEPAGE_/api';\n\nfunction App() {\n const [isAuthenticated, setIsAuthenticated] = useState(null);\n\n useEffect(() => {\n axios.get(\"/isAuthenticated\").then((response) => {\n setIsAuthenticated(response.data.isAuthenticated)\n })\n }, []);\n \n const logout = () => {\n setIsAuthenticated(false)\n axios.get(\"/logout\")\n }\n\n return (\n <div id=\"body\">\n {isAuthenticated === true ? (\n <ConfigProvider>\n <Router basename={process.env.NODE_ENV === \"development\" ? '/admin' : \"/_HOMEPAGE_\"}>\n <Sidebar logout={logout} />\n <Switch>\n <Route path=\"/records/:viewIndex/:subviewIndex?\">\n <Records />\n </Route>\n <Route path=\"/record/:viewIndex/:recordId\">\n <Record />\n </Route>\n <Route path=\"/editRecord/:viewIndex/:recordId\">\n <EditRecord />\n </Route>\n <Route path=\"/createRecord/:viewIndex/:panelIndex?/:recordId?\">\n <CreateRecord />\n </Route>\n <Route path=\"/iframe/:viewIndex\">\n <Iframe />\n </Route>\n <Route path=\"/customView/:viewIndex\">\n <CustomView />\n </Route>\n <Route path=\"/\">\n <RedirectToFirstView />\n </Route>\n </Switch>\n </Router>\n </ConfigProvider>\n ) : isAuthenticated === false ? (\n <Login setIsAuthenticated={setIsAuthenticated} />\n ) : (\n <div class=\"appLoading\">\n <i class='fa fa-circle-notch fa-spin'></i>\n </div>\n )}\n </div>\n );\n}\n\nexport default App;\n"],"mappings":"mIAAA,OACEA,aAAa,GAAI,CAAAC,MAAM,CACvBC,MAAM,CACNC,KAAK,KACA,kBAAkB,CACzB,OAASC,SAAS,CAAEC,QAAQ,KAAQ,OAAO,CAC3C,MAAO,WAAW,CAClB,MAAO,CAAAC,OAAO,KAAM,sBAAsB,CAC1C,MAAO,CAAAC,mBAAmB,KAAM,kCAAkC,CAClE,MAAO,CAAAC,YAAY,KAAM,sBAAsB,CAC/C,MAAO,CAAAC,UAAU,KAAM,oBAAoB,CAC3C,MAAO,CAAAC,OAAO,KAAM,iBAAiB,CACrC,MAA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AAAf,GAAG"},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import{useContext}from\"react\";import{Link,useHistory,useLocation}from\"react-router-dom\";import{ConfigContext}from'../contexts/ConfigContext';import{jsx as _jsx}from\"react/jsx-runtime\";import{Fragment as _Fragment}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";var SidebarItemIconAndLabel=function SidebarItemIconAndLabel(_ref){var view=_ref.view;return/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{class:\"sidebarIcon\",children:/*#__PURE__*/_jsx(\"i\",{class:\"fas fa-\".concat(view.icon||\"square\")})}),/*#__PURE__*/_jsx(\"div\",{class:\"sidebarLabel\",children:view.label})]});};export default(function(_ref2){var logout=_ref2.logout;var location=useLocation();var config=useContext(ConfigContext);var history=useHistory();return/*#__PURE__*/_jsxs(\"div\",{class:\"sidebar\",children:[config.logo?/*#__PURE__*/_jsx(\"img\",{src:config.logo,class:\"logo\"}):null,/*#__PURE__*/_jsx(\"div\",{class:\"sidebarTitle\",children:config.name}),/*#__PURE__*/_jsx(\"div\",{class:\"sidebarSubtitle\",children:\"Back-office\"}),config.views.filter(function(view){return!view.hidden;}).map(function(view,i){if(view.type===\"link\"){return/*#__PURE__*/_jsx(\"a\",{href:view.src,children:/*#__PURE__*/_jsx(\"div\",{class:\"sidebarItem\",children:/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(SidebarItemIconAndLabel,{view:view})})})},i);}else if(view.type===\"iframe\"){var isActive=location.pathname===\"/iframe/\".concat(i);return/*#__PURE__*/_jsx(Link,{to:\"/iframe/\".concat(i),children:/*#__PURE__*/_jsx(\"div\",{class:\"sidebarItem \".concat(isActive?\"active\":\"\"),children:/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(SidebarItemIconAndLabel,{view:view})})})},i);}else if(view.type===\"custom\"){var _isActive=location.pathname===\"/customView/\".concat(i);return/*#__PURE__*/_jsx(Link,{to:\"/customView/\".concat(i),children:/*#__PURE__*/_jsx(\"div\",{class:\"sidebarItem \".concat(_isActive?\"active\":\"\"),children:/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(SidebarItemIconAndLabel,{view:view})})})},i);}else if(view.type===\"table\"){var _isActive2=location.pathname===\"/records/\".concat(i)||location.pathname===\"/createRecord/\".concat(i)||location.pathname.startsWith(\"/record/\".concat(i,\"/\"))||location.pathname.startsWith(\"/editRecord/\".concat(i,\"/\"));return/*#__PURE__*/_jsx(\"div\",{onClick:function onClick(){return history.push(\"/records/\".concat(i));},children:/*#__PURE__*/_jsxs(\"div\",{class:\"sidebarItem \".concat(_isActive2?\"active\":\"\"),children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{class:\"notificationWrapper\"}),/*#__PURE__*/_jsx(SidebarItemIconAndLabel,{view:view})]}),view.subviews?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{class:\"subviewsSeparator\"}),view.subviews.map(function(subview,j){var isActive=location.pathname==\"/records/\".concat(i,\"/\").concat(j);return/*#__PURE__*/_jsx(\"div\",{onClick:function onClick(e){history.push(\"/records/\".concat(i,\"/\").concat(j));e.stopPropagation();},children:/*#__PURE__*/_jsxs(\"div\",{\"data-subview-index\":j,class:isActive?\"active\":\"\",children:[/*#__PURE__*/_jsx(\"div\",{class:\"notificationWrapperForSubview\"}),subview.label]})});})]}):null]})},i);}}),!config.hideBranding?/*#__PURE__*/_jsxs(\"div\",{class:\"sidebarBranding\",children:[\"Made with \",/*#__PURE__*/_jsx(\"i\",{class:\"fas fa-heart\"}),\" by Galadrim\"]}):null]});});","map":{"version":3,"names":["useContext","Link","useHistory","useLocation","ConfigContext","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","SidebarItemIconAndLabel","_ref","view","children","class","concat","icon","label","_ref2","logout","location","config","history","logo","src","name","views","filter","hidden","map","i","type","href","isActive","pathname","to","startsWith","onClick","push","subviews","subview","j","e","stopPropagation","hideBranding"],"sources":["/home/runner/work/galadmin/galadmin/src/front/src/components/Sidebar.js"],"sourcesContent":["\nimport { useContext } from \"react\";\nimport {\n Link,\n useHistory,\n useLocation\n} from \"react-router-dom\";\nimport { ConfigContext } from '../contexts/ConfigContext'\n\nconst SidebarItemIconAndLabel = ({ view }) => (\n <>\n <div class=\"sidebarIcon\">\n <i class={`fas fa-${view.icon || \"square\"}`}></i>\n </div>\n <div class=\"sidebarLabel\">{view.label}</div>\n </>\n)\n\nexport default ({ logout }) => {\n const location = useLocation();\n const config = useContext(ConfigContext)\n const history = useHistory();\n\n return (\n <div class=\"sidebar\">\n \n {config.logo ? <img src={config.logo} class=\"logo\" /> : null}\n <div class=\"sidebarTitle\">{config.name}</div>\n <div class=\"sidebarSubtitle\">Back-office</div>\n {config.views.filter(view => !view.hidden).map((view, i) => {\n if (view.type === \"link\") {\n return (\n <a href={view.src} key={i}>\n <div class=\"sidebarItem\">\n <div>\n <SidebarItemIconAndLabel view={view} />\n </div>\n </div>\n </a>\n )\n } else if (view.type === \"iframe\") {\n const isActive = location.pathname === `/iframe/${i}`\n return (\n <Link to={`/iframe/${i}`} key={i}>\n <div class={`sidebarItem ${isActive ? \"active\" : \"\"}`}>\n <div>\n <SidebarItemIconAndLabel view={view} />\n </div>\n </div>\n </Link>\n )\n } else if (view.type === \"custom\") {\n const isActive = location.pathname === `/customView/${i}`\n return (\n <Link to={`/customView/${i}`} key={i}>\n <div class={`sidebarItem ${isActive ? \"active\" : \"\"}`}>\n <div>\n <SidebarItemIconAndLabel view={view} />\n </div>\n </div>\n </Link>\n )\n } else if (view.type === \"table\") {\n const isActive =\n location.pathname === `/records/${i}` ||\n location.pathname === `/createRecord/${i}` ||\n location.pathname.startsWith(`/record/${i}/`) ||\n location.pathname.startsWith(`/editRecord/${i}/`)\n return (\n <div onClick={() => history.push(`/records/${i}`)} key={i}>\n <div class={`sidebarItem ${isActive ? \"active\" : \"\"}`}>\n <div>\n <div class=\"notificationWrapper\"></div>\n <SidebarItemIconAndLabel view={view} />\n </div>\n {view.subviews ? (\n <>\n <div class=\"subviewsSeparator\"></div>\n {view.subviews.map((subview, j) => {\n const isActive = location.pathname == `/records/${i}/${j}`\n return (\n <div onClick={(e) => {\n history.push(`/records/${i}/${j}`);\n e.stopPropagation();\n }}>\n <div data-subview-index={j} class={isActive ? \"active\" : \"\"}>\n <div class=\"notificationWrapperForSubview\"></div>\n {subview.label}\n </div>\n </div>\n )\n })}\n </>\n ) : null}\n </div>\n </div>\n )\n }\n })}\n {!config.hideBranding ? (\n <div class=\"sidebarBranding\">Made with <i class=\"fas fa-heart\"></i> by Galadrim</div>\n ) : null}\n {/*<div onClick={logout}>\n <div class=\"sidebarItem\">\n <div class=\"sidebarIcon\">\n <i class=\"fas fa-sign-out-alt\"></i>\n </div>\n <div class=\"sidebarLabel\">Se déconnecter</div>\n </div>\n </div>*/}\n </div>\n )\n}"],"mappings":"AACA,OAASA,UAAU,KAAQ,OAAO,CAClC,OACIC,IAAI,CACJC,UAAU,CACVC,WAAW,KACR,kBAAkB,CACzB,OAASC,aAAa,KAAQ,2BAA2B,QAAAC,GAAA,IAAAC,IAAA,gCAAAC,QAAA,IAAAC,SAAA,gCAAAC,IAAA,IAAAC,KAAA,yBAEzD,GAAM,CAAAC,uBAAuB,CAAG,QAA1B,CAAAA,uBAAuBA,CAAAC,IAAA,KAAM,CAAAC,IAAI,CAAAD,IAAA,CAAJC,IAAI,oBACnCH,KAAA,CAAAF,SAAA,EAAAM,QAAA,eACIR,IAAA,QAAKS,KAAK,CAAC,aAAa,CAAAD,QAAA,cACpBR,IAAA,MAAGS,KAAK,WAAAC,MAAA,CAAYH,IAAI,CAACI,IAAI,EAAI,QAAQ,CAAG,CAAI,CAAC,CAChD,CAAC,cACNX,IAAA,QAAKS,KAAK,CAAC,cAAc,CAAAD,QAAA,CAAED,IAAI,CAACK,KAAK,CA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,CACD,CAACT,MAAM,CAACuB,YAAY,cACjBnC,KAAA,QAAKK,KAAK,CAAC,iBAAiB,CAAAD,QAAA,EAAC,YAAU,cAAAR,IAAA,MAAGS,KAAK,CAAC,cAAc,CAAI,CAAC,eAAY,EAAK,CAAC,CACrF,IAAI,EASP,CAAC,CAEd,CAAC"},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
package/src/front/src/App.js
CHANGED
|
@@ -28,13 +28,18 @@ function App() {
|
|
|
28
28
|
setIsAuthenticated(response.data.isAuthenticated)
|
|
29
29
|
})
|
|
30
30
|
}, []);
|
|
31
|
+
|
|
32
|
+
const logout = () => {
|
|
33
|
+
setIsAuthenticated(false)
|
|
34
|
+
axios.get("/logout")
|
|
35
|
+
}
|
|
31
36
|
|
|
32
37
|
return (
|
|
33
38
|
<div id="body">
|
|
34
39
|
{isAuthenticated === true ? (
|
|
35
40
|
<ConfigProvider>
|
|
36
41
|
<Router basename={process.env.NODE_ENV === "development" ? '/admin' : "/_HOMEPAGE_"}>
|
|
37
|
-
<Sidebar />
|
|
42
|
+
<Sidebar logout={logout} />
|
|
38
43
|
<Switch>
|
|
39
44
|
<Route path="/records/:viewIndex/:subviewIndex?">
|
|
40
45
|
<Records />
|
|
@@ -16,13 +16,14 @@ const SidebarItemIconAndLabel = ({ view }) => (
|
|
|
16
16
|
</>
|
|
17
17
|
)
|
|
18
18
|
|
|
19
|
-
export default () => {
|
|
19
|
+
export default ({ logout }) => {
|
|
20
20
|
const location = useLocation();
|
|
21
21
|
const config = useContext(ConfigContext)
|
|
22
22
|
const history = useHistory();
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
25
|
<div class="sidebar">
|
|
26
|
+
|
|
26
27
|
{config.logo ? <img src={config.logo} class="logo" /> : null}
|
|
27
28
|
<div class="sidebarTitle">{config.name}</div>
|
|
28
29
|
<div class="sidebarSubtitle">Back-office</div>
|
|
@@ -99,6 +100,14 @@ export default () => {
|
|
|
99
100
|
{!config.hideBranding ? (
|
|
100
101
|
<div class="sidebarBranding">Made with <i class="fas fa-heart"></i> by Galadrim</div>
|
|
101
102
|
) : null}
|
|
103
|
+
{/*<div onClick={logout}>
|
|
104
|
+
<div class="sidebarItem">
|
|
105
|
+
<div class="sidebarIcon">
|
|
106
|
+
<i class="fas fa-sign-out-alt"></i>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="sidebarLabel">Se déconnecter</div>
|
|
109
|
+
</div>
|
|
110
|
+
</div>*/}
|
|
102
111
|
</div>
|
|
103
112
|
)
|
|
104
113
|
}
|
package/src/index.ts
CHANGED
|
@@ -67,6 +67,12 @@ export default (config: Config): any => {
|
|
|
67
67
|
}));
|
|
68
68
|
|
|
69
69
|
app.post('/api/login', async (req, res) => {
|
|
70
|
+
//@ts-ignore
|
|
71
|
+
if (!res._implicitHeader) {
|
|
72
|
+
// Hack required until `express-<plugin>` get support for http2 (express-session)
|
|
73
|
+
//@ts-ignore
|
|
74
|
+
res._implicitHeader = function () { return; };
|
|
75
|
+
}
|
|
70
76
|
if (req.body.username === config.auth.username && req.body.password === config.auth.password) {
|
|
71
77
|
req.session.user = { role: "root" }
|
|
72
78
|
res.send({ success: true })
|
|
@@ -97,6 +103,16 @@ export default (config: Config): any => {
|
|
|
97
103
|
})
|
|
98
104
|
})
|
|
99
105
|
|
|
106
|
+
|
|
107
|
+
app.get('/api/logout', (req, res) => {
|
|
108
|
+
req.session.destroy((err) => {
|
|
109
|
+
if (err) {
|
|
110
|
+
console.error(err)
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
res.sendStatus(200)
|
|
114
|
+
})
|
|
115
|
+
|
|
100
116
|
app.use("/api", async (req, res, next) => {
|
|
101
117
|
if (req.method === "OPTIONS" || req.session.user) {
|
|
102
118
|
if (req.session?.user?.userId) {
|
/package/src/front/build/static/js/{main.7a761305.js.LICENSE.txt → main.181122a6.js.LICENSE.txt}
RENAMED
|
File without changes
|