@galadrim/galadmin 0.1.122 → 0.1.124
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/README.md +98 -66
- package/dist/api.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/api.ts +2 -2
- package/src/front/ckeditor5-build/node_modules/semver/bin/semver.js +0 -0
- package/src/front/node_modules/.cache/.eslintcache +1 -1
- package/src/front/ckeditor5-build/node_modules/.bin/semver +0 -12
- package/src/front/ckeditor5-build/node_modules/.bin/semver.cmd +0 -17
- package/src/front/ckeditor5-build/node_modules/.bin/semver.ps1 +0 -28
- package/src/front/node_modules/.cache/babel-loader/02b7fe943dc75565e03526b83b520ecbd57198be62b5d2cae86e96b27a203380.json +0 -1
- package/src/front/node_modules/.cache/babel-loader/1186506617786e458e6510b54bee969b5eaec76126d17968106d22628055c890.json +0 -1
- package/src/front/node_modules/.cache/babel-loader/4ddd228e52e76205bc0431b199807e875066e0c19bda2c5b40e78587dca66ad5.json +0 -1
- package/src/front/node_modules/.cache/babel-loader/591f203be44bf03cc118b57f1000134541adccbf41131ed0a1b9be97d66df8c7.json +0 -1
- package/src/front/node_modules/.cache/babel-loader/5dac42db47953d787356ffd59c148c1a6bbfc7b1a397cfc1ce2b5308e1362ad2.json +0 -1
- package/src/front/node_modules/.cache/babel-loader/787bbdf4ae11ba9cad0edb6f858c602a154e963f051b33cce5f9653119dc3897.json +0 -1
- package/src/front/node_modules/.cache/babel-loader/a045dd76231fd6dbed4288223144984bb1c72767e62580236e82b39ce7a51886.json +0 -1
- package/src/front/node_modules/.cache/babel-loader/abe7b74c039f3f697b0f6e275683fed58dde158a5d91b4c294f12b3cd9fd8e8c.json +0 -1
- package/src/front/node_modules/.cache/babel-loader/e78f27001990ee97ec0be1f2d149399baa05affd457a9a407a3a4635f370df0e.json +0 -1
- package/src/front/node_modules/.cache/babel-loader/e878e020c856c207d3b0fc01fad85a426f24b6113f08a0df413667a0102a2cf6.json +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galadrim/galadmin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.124",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"aws-sdk": "^2.958.0",
|
|
20
20
|
"axios": "^0.21.1",
|
|
21
21
|
"bcryptjs": "^2.4.3",
|
|
22
|
-
"connect-pg-simple": "^9.0.
|
|
22
|
+
"connect-pg-simple": "^9.0.1",
|
|
23
23
|
"express": "^4.17.1",
|
|
24
24
|
"express-mysql-session": "^2.1.6",
|
|
25
25
|
"express-session": "^1.17.2",
|
package/src/api.ts
CHANGED
|
@@ -238,7 +238,7 @@ export default (db, config, user) => {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
const { err, rows: counts } = await db.query("SELECT COUNT(*) AS
|
|
241
|
+
const { err, rows: counts } = await db.query("SELECT COUNT(*) AS count FROM (SELECT 1 FROM ?? " + (view.join || "") + queryString + " " + (view.groupBy ? "GROUP BY " + view.groupBy : "") + ") s", [view.tableName])
|
|
242
242
|
if (err) {
|
|
243
243
|
res.send({
|
|
244
244
|
records,
|
|
@@ -250,7 +250,7 @@ export default (db, config, user) => {
|
|
|
250
250
|
res.send({
|
|
251
251
|
records,
|
|
252
252
|
input,
|
|
253
|
-
count: counts[0].
|
|
253
|
+
count: counts[0].count
|
|
254
254
|
})
|
|
255
255
|
}
|
|
256
256
|
})
|
|
File without changes
|
|
@@ -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","/home/runner/work/galadmin/galadmin/src/front/src/components/UploadTablePanelButton.js":"39"},{"size":219,"mtime":1711718149709,"results":"40","hashOfConfig":"41"},{"size":2443,"mtime":1711718149709,"results":"42","hashOfConfig":"41"},{"size":5703,"mtime":1711718149709,"results":"43","hashOfConfig":"41"},{"size":524,"mtime":1711718149709,"results":"44","hashOfConfig":"41"},{"size":4617,"mtime":1711718149709,"results":"45","hashOfConfig":"41"},{"size":4080,"mtime":1711718149709,"results":"46","hashOfConfig":"41"},{"size":10604,"mtime":1711718149709,"results":"47","hashOfConfig":"41"},{"size":5056,"mtime":1711718149709,"results":"48","hashOfConfig":"41"},{"size":1135,"mtime":1711718149709,"results":"49","hashOfConfig":"41"},{"size":404,"mtime":1711718149709,"results":"50","hashOfConfig":"41"},{"size":552,"mtime":1711718149709,"results":"51","hashOfConfig":"41"},{"size":1022,"mtime":1711718149709,"results":"52","hashOfConfig":"41"},{"size":5057,"mtime":1711718149709,"results":"53","hashOfConfig":"41"},{"size":522,"mtime":1711718149709,"results":"54","hashOfConfig":"41"},{"size":895,"mtime":1711718149709,"results":"55","hashOfConfig":"41"},{"size":1474,"mtime":1711718149709,"results":"56","hashOfConfig":"41"},{"size":10302,"mtime":1711718149709,"results":"57","hashOfConfig":"41"},{"size":2656,"mtime":1711718149709,"results":"58","hashOfConfig":"41"},{"size":3169,"mtime":1711718149709,"results":"59","hashOfConfig":"41"},{"size":217,"mtime":1711718149709,"results":"60","hashOfConfig":"41"},{"size":1142,"mtime":1711718149709,"results":"61","hashOfConfig":"41"},{"size":778,"mtime":1711718149709,"results":"62","hashOfConfig":"41"},{"size":2698,"mtime":1711718149709,"results":"63","hashOfConfig":"41"},{"size":4606,"mtime":1711718149709,"results":"64","hashOfConfig":"41"},{"size":2656,"mtime":1711718149709,"results":"65","hashOfConfig":"41"},{"size":1192,"mtime":1711718149709,"results":"66","hashOfConfig":"41"},{"size":1736,"mtime":1711718149709,"results":"67","hashOfConfig":"41"},{"size":1745,"mtime":1711718149709,"results":"68","hashOfConfig":"41"},{"size":826,"mtime":1711718149709,"results":"69","hashOfConfig":"41"},{"size":894,"mtime":1711718149709,"results":"70","hashOfConfig":"41"},{"size":2091,"mtime":1711718149709,"results":"71","hashOfConfig":"41"},{"size":1458,"mtime":1711718149709,"results":"72","hashOfConfig":"41"},{"size":886,"mtime":1711718149709,"results":"73","hashOfConfig":"41"},{"size":3092,"mtime":1711718149709,"results":"74","hashOfConfig":"41"},{"size":3297,"mtime":1711718149709,"results":"75","hashOfConfig":"41"},{"size":1461,"mtime":1711718149709,"results":"76","hashOfConfig":"41"},{"size":2088,"mtime":1711718149709,"results":"77","hashOfConfig":"41"},{"size":530,"mtime":1711718149709,"results":"78","hashOfConfig":"41"},{"size":1854,"mtime":1711718149709,"results":"79","hashOfConfig":"41"},{"filePath":"80","messages":"81","suppressedMessages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"fnapjk",{"filePath":"83","messages":"84","suppressedMessages":"85","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","suppressedMessages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"89","messages":"90","suppressedMessages":"91","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"92","messages":"93","suppressedMessages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"95","messages":"96","suppressedMessages":"97","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"104","messages":"105","suppressedMessages":"106","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"107","messages":"108","suppressedMessages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"110","messages":"111","suppressedMessages":"112","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"113","messages":"114","suppressedMessages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"116","messages":"117","suppressedMessages":"118","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"119","messages":"120","suppressedMessages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"122","messages":"123","suppressedMessages":"124","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"125","messages":"126","suppressedMessages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"128","messages":"129","suppressedMessages":"130","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"131","messages":"132","suppressedMessages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"137","messages":"138","suppressedMessages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"140","messages":"141","suppressedMessages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"143","messages":"144","suppressedMessages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"146","messages":"147","suppressedMessages":"148","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"149","messages":"150","suppressedMessages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"152","messages":"153","suppressedMessages":"154","errorCount":0,"fatalErrorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"155","messages":"156","suppressedMessages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"158","messages":"159","suppressedMessages":"160","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"161","messages":"162","suppressedMessages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"164","messages":"165","suppressedMessages":"166","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"167","messages":"168","suppressedMessages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"170","messages":"171","suppressedMessages":"172","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"173","messages":"174","suppressedMessages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"176","messages":"177","suppressedMessages":"178","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"179","messages":"180","suppressedMessages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"182","messages":"183","suppressedMessages":"184","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"185","messages":"186","suppressedMessages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"188","messages":"189","suppressedMessages":"190","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"191","messages":"192","suppressedMessages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"194","messages":"195","suppressedMessages":"196","errorCount":0,"fatalErrorCount":0,"warningCount":1,"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",["197","198","199","200"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/RedirectToFirstView.js",["201"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/CreateRecord.js",["202"],["203"],"/home/runner/work/galadmin/galadmin/src/front/src/pages/EditRecord.js",["204","205"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Records.js",["206","207","208","209"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Record.js",["210","211"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Login.js",["212","213"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Iframe.js",["214","215"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/CustomView.js",["216"],[],"/home/runner/work/galadmin/galadmin/src/front/src/contexts/ConfigContext.js",["217"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/Input.js",["218"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/LabelTooltip.js",["219"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadButton.js",["220"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/UploadButton.js",["221"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/AddFilterButton.js",["222","223"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/BulkActionsButton.js",["224"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/ActionsButton.js",["225"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/BackButton.js",["226"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadTablePanelButton.js",["227"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/checkRequiredColumns.js",["228","229"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/getFormattedValue.js",["230","231","232","233"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/TablePanel.js",["234","235"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/GalleryPanel.js",["236","237","238","239","240"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/MapPanel.js",["241","242"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/ChatPanel.js",["243","244"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/CustomComponent.js",["245","246"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/OutsideClickHandler.js",["247"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ColorInput.js",["248","249","250"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/RichTextInput.js",["251","252"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/BetterRichTextInput.js",["253"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/DatetimeInput.js",["254","255"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/AddressInput.js",["256","257","258","259"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/FileInput.js",["260"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignSelectInput.js",["261","262","263"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignDatalistInput.js",["264","265","266","267"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/evalExpression.js",["268","269"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/UploadTablePanelButton.js",["270"],[],{"ruleId":"271","severity":1,"message":"272","line":18,"column":1,"nodeType":"273","endLine":129,"endColumn":2},{"ruleId":"274","severity":1,"message":"275","line":39,"column":28,"nodeType":"276","endLine":39,"endColumn":66},{"ruleId":"277","severity":1,"message":"278","line":42,"column":70,"nodeType":"279","messageId":"280","endLine":42,"endColumn":72},{"ruleId":"281","severity":1,"message":"282","line":92,"column":80,"nodeType":"283","messageId":"284","endLine":92,"endColumn":82},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":24,"endColumn":2},{"ruleId":"285","severity":1,"message":"286","line":2,"column":22,"nodeType":"287","messageId":"288","endLine":2,"endColumn":28},{"ruleId":"271","severity":1,"message":"272","line":13,"column":1,"nodeType":"273","endLine":110,"endColumn":2,"suppressions":"289"},{"ruleId":"285","severity":1,"message":"286","line":1,"column":22,"nodeType":"287","messageId":"288","endLine":1,"endColumn":28},{"ruleId":"271","severity":1,"message":"272","line":12,"column":1,"nodeType":"273","endLine":104,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":22,"column":1,"nodeType":"273","endLine":228,"endColumn":2},{"ruleId":"290","severity":1,"message":"291","line":51,"column":8,"nodeType":"292","endLine":51,"endColumn":19,"suggestions":"293"},{"ruleId":"290","severity":1,"message":"294","line":62,"column":8,"nodeType":"292","endLine":62,"endColumn":79,"suggestions":"295"},{"ruleId":"281","severity":1,"message":"282","line":189,"column":66,"nodeType":"283","messageId":"284","endLine":189,"endColumn":68},{"ruleId":"271","severity":1,"message":"272","line":18,"column":1,"nodeType":"273","endLine":99,"endColumn":2},{"ruleId":"290","severity":1,"message":"294","line":31,"column":8,"nodeType":"292","endLine":31,"endColumn":29,"suggestions":"296"},{"ruleId":"271","severity":1,"message":"272","line":5,"column":1,"nodeType":"273","endLine":33,"endColumn":2},{"ruleId":"274","severity":1,"message":"275","line":23,"column":21,"nodeType":"276","endLine":23,"endColumn":57},{"ruleId":"271","severity":1,"message":"272","line":9,"column":1,"nodeType":"273","endLine":19,"endColumn":2},{"ruleId":"297","severity":1,"message":"298","line":16,"column":13,"nodeType":"276","endLine":16,"endColumn":36},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":16,"endColumn":2},{"ruleId":"299","severity":1,"message":"300","line":11,"column":29,"nodeType":"301","messageId":"284","endLine":11,"endColumn":33},{"ruleId":"271","severity":1,"message":"272","line":10,"column":1,"nodeType":"273","endLine":149,"endColumn":3},{"ruleId":"271","severity":1,"message":"272","line":3,"column":1,"nodeType":"273","endLine":17,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":5,"column":1,"nodeType":"273","endLine":30,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":5,"column":1,"nodeType":"273","endLine":55,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":206,"endColumn":2},{"ruleId":"290","severity":1,"message":"302","line":20,"column":8,"nodeType":"292","endLine":20,"endColumn":15,"suggestions":"303"},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":68,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":10,"column":1,"nodeType":"273","endLine":85,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":12,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":4,"column":1,"nodeType":"273","endLine":28,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":5,"column":1,"nodeType":"273","endLine":22,"endColumn":2},{"ruleId":"281","severity":1,"message":"282","line":9,"column":44,"nodeType":"283","messageId":"284","endLine":9,"endColumn":46},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":51,"endColumn":2},{"ruleId":"304","severity":1,"message":"305","line":19,"column":13,"nodeType":"276","messageId":"306","endLine":19,"endColumn":48,"fix":"307"},{"ruleId":"274","severity":1,"message":"275","line":20,"column":17,"nodeType":"276","endLine":20,"endColumn":127},{"ruleId":"281","severity":1,"message":"282","line":46,"column":93,"nodeType":"283","messageId":"284","endLine":46,"endColumn":95},{"ruleId":"271","severity":1,"message":"272","line":10,"column":1,"nodeType":"273","endLine":112,"endColumn":2},{"ruleId":"290","severity":1,"message":"294","line":18,"column":8,"nodeType":"292","endLine":18,"endColumn":16,"suggestions":"308"},{"ruleId":"271","severity":1,"message":"272","line":8,"column":1,"nodeType":"273","endLine":76,"endColumn":2},{"ruleId":"285","severity":1,"message":"309","line":10,"column":11,"nodeType":"287","messageId":"288","endLine":10,"endColumn":18},{"ruleId":"290","severity":1,"message":"294","line":15,"column":8,"nodeType":"292","endLine":15,"endColumn":29,"suggestions":"310"},{"ruleId":"304","severity":1,"message":"305","line":61,"column":29,"nodeType":"276","messageId":"306","endLine":61,"endColumn":89,"fix":"311"},{"ruleId":"274","severity":1,"message":"275","line":62,"column":33,"nodeType":"276","endLine":66,"endColumn":35},{"ruleId":"271","severity":1,"message":"272","line":4,"column":1,"nodeType":"273","endLine":42,"endColumn":2},{"ruleId":"290","severity":1,"message":"312","line":23,"column":8,"nodeType":"292","endLine":23,"endColumn":31,"suggestions":"313"},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":62,"endColumn":2},{"ruleId":"290","severity":1,"message":"294","line":14,"column":8,"nodeType":"292","endLine":14,"endColumn":16,"suggestions":"314"},{"ruleId":"315","severity":1,"message":"316","line":17,"column":27,"nodeType":"301","messageId":"317","endLine":17,"endColumn":69},{"ruleId":"318","severity":1,"message":"319","line":20,"column":13,"nodeType":"320","messageId":"321","endLine":20,"endColumn":47},{"ruleId":"290","severity":1,"message":"322","line":19,"column":8,"nodeType":"292","endLine":19,"endColumn":13,"suggestions":"323"},{"ruleId":"271","severity":1,"message":"272","line":3,"column":1,"nodeType":"273","endLine":29,"endColumn":2},{"ruleId":"290","severity":1,"message":"324","line":19,"column":43,"nodeType":"287","endLine":19,"endColumn":50},{"ruleId":"290","severity":1,"message":"325","line":20,"column":8,"nodeType":"292","endLine":20,"endColumn":29,"suggestions":"326"},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":58,"endColumn":3},{"ruleId":"290","severity":1,"message":"327","line":51,"column":8,"nodeType":"292","endLine":51,"endColumn":32,"suggestions":"328"},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":41,"endColumn":3},{"ruleId":"271","severity":1,"message":"272","line":3,"column":1,"nodeType":"273","endLine":26,"endColumn":2},{"ruleId":"290","severity":1,"message":"329","line":19,"column":8,"nodeType":"292","endLine":19,"endColumn":28,"suggestions":"330"},{"ruleId":"271","severity":1,"message":"272","line":3,"column":1,"nodeType":"273","endLine":67,"endColumn":2},{"ruleId":"290","severity":1,"message":"331","line":45,"column":8,"nodeType":"292","endLine":45,"endColumn":33,"suggestions":"332"},{"ruleId":"290","severity":1,"message":"333","line":54,"column":39,"nodeType":"287","endLine":54,"endColumn":46},{"ruleId":"290","severity":1,"message":"334","line":55,"column":8,"nodeType":"292","endLine":55,"endColumn":33,"suggestions":"335"},{"ruleId":"271","severity":1,"message":"272","line":8,"column":1,"nodeType":"273","endLine":85,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":46,"endColumn":2},{"ruleId":"290","severity":1,"message":"336","line":23,"column":8,"nodeType":"292","endLine":23,"endColumn":10,"suggestions":"337"},{"ruleId":"281","severity":1,"message":"282","line":32,"column":50,"nodeType":"283","messageId":"284","endLine":32,"endColumn":52},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":64,"endColumn":2},{"ruleId":"290","severity":1,"message":"338","line":22,"column":8,"nodeType":"292","endLine":22,"endColumn":15,"suggestions":"339"},{"ruleId":"290","severity":1,"message":"340","line":31,"column":29,"nodeType":"287","endLine":31,"endColumn":36},{"ruleId":"290","severity":1,"message":"341","line":32,"column":8,"nodeType":"292","endLine":32,"endColumn":23,"suggestions":"342"},{"ruleId":"271","severity":1,"message":"272","line":2,"column":1,"nodeType":"273","endLine":14,"endColumn":2},{"ruleId":"299","severity":1,"message":"300","line":8,"column":16,"nodeType":"301","messageId":"284","endLine":8,"endColumn":20},{"ruleId":"271","severity":1,"message":"272","line":4,"column":1,"nodeType":"273","endLine":56,"endColumn":2},"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","no-unused-vars","'useRef' is defined but never used.","Identifier","unusedVar",["343"],"react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'currentFilters.length' and 'selectedRecordIds.length'. Either include them or remove the dependency array.","ArrayExpression",["344"],"React Hook useEffect has a missing dependency: 'refreshData'. Either include it or remove the dependency array.",["345"],["346"],"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.",["347"],"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":"348","text":"349"},["350"],"'history' is assigned a value but never used.",["351"],{"range":"352","text":"349"},"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.",["353"],["354"],"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.",["355"],"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.",["356"],"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.",["357"],"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.",["358"],"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.",["359"],"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.",["360"],"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.",["361"],"React Hook useEffect has missing dependencies: 'column.__id__' and 'viewIndex'. Either include them or remove the dependency array.",["362"],"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.",["363"],{"kind":"364","justification":"365"},{"desc":"366","fix":"367"},{"desc":"368","fix":"369"},{"desc":"370","fix":"371"},{"desc":"372","fix":"373"},[1055,1055]," rel=\"noreferrer\"",{"desc":"374","fix":"375"},{"desc":"376","fix":"377"},[2020,2020],{"desc":"378","fix":"379"},{"desc":"374","fix":"380"},{"desc":"381","fix":"382"},{"desc":"383","fix":"384"},{"desc":"385","fix":"386"},{"desc":"387","fix":"388"},{"desc":"389","fix":"390"},{"desc":"391","fix":"392"},{"desc":"393","fix":"394"},{"desc":"395","fix":"396"},{"desc":"391","fix":"397"},"directive","","Update the dependencies array to be: [currentFilters.length, selectedRecordIds.length, viewIndex]",{"range":"398","text":"399"},"Update the dependencies array to be: [viewIndex, subviewIndex, page, query, currentFilters, orderBy, isDesc, refreshData]",{"range":"400","text":"401"},"Update the dependencies array to be: [viewIndex, recordId, refreshData]",{"range":"402","text":"403"},"Update the dependencies array to be: [column?.dataType, column.optional, column.options, field]",{"range":"404","text":"405"},"Update the dependencies array to be: [record, refreshData]",{"range":"406","text":"407"},"Update the dependencies array to be: [panel.query, record, refreshData]",{"range":"408","text":"409"},"Update the dependencies array to be: [panel.latitudeField, panel.longitudeField, panel.query, panel.zoom, record, view.primaryId]",{"range":"410","text":"411"},{"range":"412","text":"407"},"Update the dependencies array to be: [handler, ref]",{"range":"413","text":"414"},"Update the dependencies array to be: [column.name, initialData, onChange]",{"range":"415","text":"416"},"Update the dependencies array to be: [column.contentField, column.htmlField, initialData, onChange]",{"range":"417","text":"418"},"Update the dependencies array to be: [column.name, initialData, onChange, withTime]",{"range":"419","text":"420"},"Update the dependencies array to be: [column, onChange]",{"range":"421","text":"422"},"Update the dependencies array to be: []",{"range":"423","text":"424"},"Update the dependencies array to be: [column.__id__, column.name, column.optional, initialData, onChange, viewIndex]",{"range":"425","text":"426"},"Update the dependencies array to be: [column.__id__, query, viewIndex]",{"range":"427","text":"428"},{"range":"429","text":"424"},[1710,1721],"[currentFilters.length, selectedRecordIds.length, viewIndex]",[1950,2021],"[viewIndex, subviewIndex, page, query, currentFilters, orderBy, isDesc, refreshData]",[1158,1179],"[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],[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/RedirectToFirstView.js":"3","/home/runner/work/galadmin/galadmin/src/front/src/components/Sidebar.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/LabelTooltip.js":"13","/home/runner/work/galadmin/galadmin/src/front/src/components/Input.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/BackButton.js":"19","/home/runner/work/galadmin/galadmin/src/front/src/components/ActionsButton.js":"20","/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadTablePanelButton.js":"21","/home/runner/work/galadmin/galadmin/src/front/src/components/UploadTablePanelButton.js":"22","/home/runner/work/galadmin/galadmin/src/front/src/utils/checkRequiredColumns.js":"23","/home/runner/work/galadmin/galadmin/src/front/src/utils/getFormattedValue.js":"24","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/TablePanel.js":"25","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/GalleryPanel.js":"26","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/MapPanel.js":"27","/home/runner/work/galadmin/galadmin/src/front/src/components/panels/ChatPanel.js":"28","/home/runner/work/galadmin/galadmin/src/front/src/components/CustomComponent.js":"29","/home/runner/work/galadmin/galadmin/src/front/src/components/OutsideClickHandler.js":"30","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ColorInput.js":"31","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/RichTextInput.js":"32","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/BetterRichTextInput.js":"33","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/DatetimeInput.js":"34","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/AddressInput.js":"35","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/FileInput.js":"36","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignSelectInput.js":"37","/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignDatalistInput.js":"38","/home/runner/work/galadmin/galadmin/src/front/src/utils/evalExpression.js":"39"},{"size":219,"mtime":1713259170036,"results":"40","hashOfConfig":"41"},{"size":2443,"mtime":1713259170032,"results":"42","hashOfConfig":"41"},{"size":524,"mtime":1713259170036,"results":"43","hashOfConfig":"41"},{"size":5703,"mtime":1713259170036,"results":"44","hashOfConfig":"41"},{"size":4617,"mtime":1713259170036,"results":"45","hashOfConfig":"41"},{"size":4080,"mtime":1713259170036,"results":"46","hashOfConfig":"41"},{"size":10604,"mtime":1713259170036,"results":"47","hashOfConfig":"41"},{"size":5056,"mtime":1713259170036,"results":"48","hashOfConfig":"41"},{"size":1135,"mtime":1713259170036,"results":"49","hashOfConfig":"41"},{"size":404,"mtime":1713259170036,"results":"50","hashOfConfig":"41"},{"size":552,"mtime":1713259170036,"results":"51","hashOfConfig":"41"},{"size":1022,"mtime":1713259170036,"results":"52","hashOfConfig":"41"},{"size":522,"mtime":1713259170036,"results":"53","hashOfConfig":"41"},{"size":5057,"mtime":1713259170036,"results":"54","hashOfConfig":"41"},{"size":895,"mtime":1713259170032,"results":"55","hashOfConfig":"41"},{"size":1474,"mtime":1713259170036,"results":"56","hashOfConfig":"41"},{"size":10302,"mtime":1713259170032,"results":"57","hashOfConfig":"41"},{"size":2656,"mtime":1713259170032,"results":"58","hashOfConfig":"41"},{"size":217,"mtime":1713259170032,"results":"59","hashOfConfig":"41"},{"size":3169,"mtime":1713259170032,"results":"60","hashOfConfig":"41"},{"size":1142,"mtime":1713259170032,"results":"61","hashOfConfig":"41"},{"size":1854,"mtime":1713259170036,"results":"62","hashOfConfig":"41"},{"size":778,"mtime":1713259170036,"results":"63","hashOfConfig":"41"},{"size":2698,"mtime":1713259170036,"results":"64","hashOfConfig":"41"},{"size":4606,"mtime":1713259170036,"results":"65","hashOfConfig":"41"},{"size":2656,"mtime":1713259170036,"results":"66","hashOfConfig":"41"},{"size":1192,"mtime":1713259170036,"results":"67","hashOfConfig":"41"},{"size":1736,"mtime":1713259170036,"results":"68","hashOfConfig":"41"},{"size":1745,"mtime":1713259170032,"results":"69","hashOfConfig":"41"},{"size":826,"mtime":1713259170036,"results":"70","hashOfConfig":"41"},{"size":894,"mtime":1713259170036,"results":"71","hashOfConfig":"41"},{"size":2091,"mtime":1713259170036,"results":"72","hashOfConfig":"41"},{"size":1458,"mtime":1713259170036,"results":"73","hashOfConfig":"41"},{"size":886,"mtime":1713259170036,"results":"74","hashOfConfig":"41"},{"size":3092,"mtime":1713259170036,"results":"75","hashOfConfig":"41"},{"size":3297,"mtime":1713259170036,"results":"76","hashOfConfig":"41"},{"size":1461,"mtime":1713259170036,"results":"77","hashOfConfig":"41"},{"size":2088,"mtime":1713259170036,"results":"78","hashOfConfig":"41"},{"size":530,"mtime":1713259170036,"results":"79","hashOfConfig":"41"},{"filePath":"80","messages":"81","suppressedMessages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"buz052",{"filePath":"83","messages":"84","suppressedMessages":"85","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","suppressedMessages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"89","messages":"90","suppressedMessages":"91","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"92","messages":"93","suppressedMessages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"95","messages":"96","suppressedMessages":"97","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"104","messages":"105","suppressedMessages":"106","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"107","messages":"108","suppressedMessages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"110","messages":"111","suppressedMessages":"112","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"113","messages":"114","suppressedMessages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"116","messages":"117","suppressedMessages":"118","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"119","messages":"120","suppressedMessages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"122","messages":"123","suppressedMessages":"124","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"125","messages":"126","suppressedMessages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"128","messages":"129","suppressedMessages":"130","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"131","messages":"132","suppressedMessages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"137","messages":"138","suppressedMessages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"140","messages":"141","suppressedMessages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"143","messages":"144","suppressedMessages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"146","messages":"147","suppressedMessages":"148","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"149","messages":"150","suppressedMessages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"152","messages":"153","suppressedMessages":"154","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"155","messages":"156","suppressedMessages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":1,"source":null},{"filePath":"158","messages":"159","suppressedMessages":"160","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"161","messages":"162","suppressedMessages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"164","messages":"165","suppressedMessages":"166","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"167","messages":"168","suppressedMessages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"170","messages":"171","suppressedMessages":"172","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"173","messages":"174","suppressedMessages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"176","messages":"177","suppressedMessages":"178","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"179","messages":"180","suppressedMessages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"182","messages":"183","suppressedMessages":"184","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"185","messages":"186","suppressedMessages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"188","messages":"189","suppressedMessages":"190","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"191","messages":"192","suppressedMessages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"194","messages":"195","suppressedMessages":"196","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/RedirectToFirstView.js",["197"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/Sidebar.js",["198","199","200","201"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/CreateRecord.js",["202"],["203"],"/home/runner/work/galadmin/galadmin/src/front/src/pages/EditRecord.js",["204","205"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Records.js",["206","207","208","209"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Record.js",["210","211"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Login.js",["212","213"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/Iframe.js",["214","215"],[],"/home/runner/work/galadmin/galadmin/src/front/src/pages/CustomView.js",["216"],[],"/home/runner/work/galadmin/galadmin/src/front/src/contexts/ConfigContext.js",["217"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/LabelTooltip.js",["218"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/Input.js",["219"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadButton.js",["220"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/UploadButton.js",["221"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/AddFilterButton.js",["222","223"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/BulkActionsButton.js",["224"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/BackButton.js",["225"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/ActionsButton.js",["226"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadTablePanelButton.js",["227"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/UploadTablePanelButton.js",["228"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/checkRequiredColumns.js",["229","230"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/getFormattedValue.js",["231","232","233","234"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/TablePanel.js",["235","236"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/GalleryPanel.js",["237","238","239","240","241"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/MapPanel.js",["242","243"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/panels/ChatPanel.js",["244","245"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/CustomComponent.js",["246","247"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/OutsideClickHandler.js",["248"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ColorInput.js",["249","250","251"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/RichTextInput.js",["252","253"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/BetterRichTextInput.js",["254"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/DatetimeInput.js",["255","256"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/AddressInput.js",["257","258","259","260"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/FileInput.js",["261"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignSelectInput.js",["262","263","264"],[],"/home/runner/work/galadmin/galadmin/src/front/src/components/inputs/ForeignDatalistInput.js",["265","266","267","268"],[],"/home/runner/work/galadmin/galadmin/src/front/src/utils/evalExpression.js",["269","270"],[],{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":24,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":18,"column":1,"nodeType":"273","endLine":129,"endColumn":2},{"ruleId":"274","severity":1,"message":"275","line":39,"column":28,"nodeType":"276","endLine":39,"endColumn":66},{"ruleId":"277","severity":1,"message":"278","line":42,"column":70,"nodeType":"279","messageId":"280","endLine":42,"endColumn":72},{"ruleId":"281","severity":1,"message":"282","line":92,"column":80,"nodeType":"283","messageId":"284","endLine":92,"endColumn":82},{"ruleId":"285","severity":1,"message":"286","line":2,"column":22,"nodeType":"287","messageId":"288","endLine":2,"endColumn":28},{"ruleId":"271","severity":1,"message":"272","line":13,"column":1,"nodeType":"273","endLine":110,"endColumn":2,"suppressions":"289"},{"ruleId":"285","severity":1,"message":"286","line":1,"column":22,"nodeType":"287","messageId":"288","endLine":1,"endColumn":28},{"ruleId":"271","severity":1,"message":"272","line":12,"column":1,"nodeType":"273","endLine":104,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":22,"column":1,"nodeType":"273","endLine":228,"endColumn":2},{"ruleId":"290","severity":1,"message":"291","line":51,"column":8,"nodeType":"292","endLine":51,"endColumn":19,"suggestions":"293"},{"ruleId":"290","severity":1,"message":"294","line":62,"column":8,"nodeType":"292","endLine":62,"endColumn":79,"suggestions":"295"},{"ruleId":"281","severity":1,"message":"282","line":189,"column":66,"nodeType":"283","messageId":"284","endLine":189,"endColumn":68},{"ruleId":"271","severity":1,"message":"272","line":18,"column":1,"nodeType":"273","endLine":99,"endColumn":2},{"ruleId":"290","severity":1,"message":"294","line":31,"column":8,"nodeType":"292","endLine":31,"endColumn":29,"suggestions":"296"},{"ruleId":"271","severity":1,"message":"272","line":5,"column":1,"nodeType":"273","endLine":33,"endColumn":2},{"ruleId":"274","severity":1,"message":"275","line":23,"column":21,"nodeType":"276","endLine":23,"endColumn":57},{"ruleId":"271","severity":1,"message":"272","line":9,"column":1,"nodeType":"273","endLine":19,"endColumn":2},{"ruleId":"297","severity":1,"message":"298","line":16,"column":13,"nodeType":"276","endLine":16,"endColumn":36},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":16,"endColumn":2},{"ruleId":"299","severity":1,"message":"300","line":11,"column":29,"nodeType":"301","messageId":"284","endLine":11,"endColumn":33},{"ruleId":"271","severity":1,"message":"272","line":3,"column":1,"nodeType":"273","endLine":17,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":10,"column":1,"nodeType":"273","endLine":149,"endColumn":3},{"ruleId":"271","severity":1,"message":"272","line":5,"column":1,"nodeType":"273","endLine":30,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":5,"column":1,"nodeType":"273","endLine":55,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":206,"endColumn":2},{"ruleId":"290","severity":1,"message":"302","line":20,"column":8,"nodeType":"292","endLine":20,"endColumn":15,"suggestions":"303"},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":68,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":12,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":10,"column":1,"nodeType":"273","endLine":85,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":4,"column":1,"nodeType":"273","endLine":28,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":4,"column":1,"nodeType":"273","endLine":56,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":5,"column":1,"nodeType":"273","endLine":22,"endColumn":2},{"ruleId":"281","severity":1,"message":"282","line":9,"column":44,"nodeType":"283","messageId":"284","endLine":9,"endColumn":46},{"ruleId":"271","severity":1,"message":"272","line":6,"column":1,"nodeType":"273","endLine":51,"endColumn":2},{"ruleId":"304","severity":1,"message":"305","line":19,"column":13,"nodeType":"276","messageId":"306","endLine":19,"endColumn":48,"fix":"307"},{"ruleId":"274","severity":1,"message":"275","line":20,"column":17,"nodeType":"276","endLine":20,"endColumn":127},{"ruleId":"281","severity":1,"message":"282","line":46,"column":93,"nodeType":"283","messageId":"284","endLine":46,"endColumn":95},{"ruleId":"271","severity":1,"message":"272","line":10,"column":1,"nodeType":"273","endLine":112,"endColumn":2},{"ruleId":"290","severity":1,"message":"294","line":18,"column":8,"nodeType":"292","endLine":18,"endColumn":16,"suggestions":"308"},{"ruleId":"271","severity":1,"message":"272","line":8,"column":1,"nodeType":"273","endLine":76,"endColumn":2},{"ruleId":"285","severity":1,"message":"309","line":10,"column":11,"nodeType":"287","messageId":"288","endLine":10,"endColumn":18},{"ruleId":"290","severity":1,"message":"294","line":15,"column":8,"nodeType":"292","endLine":15,"endColumn":29,"suggestions":"310"},{"ruleId":"304","severity":1,"message":"305","line":61,"column":29,"nodeType":"276","messageId":"306","endLine":61,"endColumn":89,"fix":"311"},{"ruleId":"274","severity":1,"message":"275","line":62,"column":33,"nodeType":"276","endLine":66,"endColumn":35},{"ruleId":"271","severity":1,"message":"272","line":4,"column":1,"nodeType":"273","endLine":42,"endColumn":2},{"ruleId":"290","severity":1,"message":"312","line":23,"column":8,"nodeType":"292","endLine":23,"endColumn":31,"suggestions":"313"},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":62,"endColumn":2},{"ruleId":"290","severity":1,"message":"294","line":14,"column":8,"nodeType":"292","endLine":14,"endColumn":16,"suggestions":"314"},{"ruleId":"315","severity":1,"message":"316","line":17,"column":27,"nodeType":"301","messageId":"317","endLine":17,"endColumn":69},{"ruleId":"318","severity":1,"message":"319","line":20,"column":13,"nodeType":"320","messageId":"321","endLine":20,"endColumn":47},{"ruleId":"290","severity":1,"message":"322","line":19,"column":8,"nodeType":"292","endLine":19,"endColumn":13,"suggestions":"323"},{"ruleId":"271","severity":1,"message":"272","line":3,"column":1,"nodeType":"273","endLine":29,"endColumn":2},{"ruleId":"290","severity":1,"message":"324","line":19,"column":43,"nodeType":"287","endLine":19,"endColumn":50},{"ruleId":"290","severity":1,"message":"325","line":20,"column":8,"nodeType":"292","endLine":20,"endColumn":29,"suggestions":"326"},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":58,"endColumn":3},{"ruleId":"290","severity":1,"message":"327","line":51,"column":8,"nodeType":"292","endLine":51,"endColumn":32,"suggestions":"328"},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":41,"endColumn":3},{"ruleId":"271","severity":1,"message":"272","line":3,"column":1,"nodeType":"273","endLine":26,"endColumn":2},{"ruleId":"290","severity":1,"message":"329","line":19,"column":8,"nodeType":"292","endLine":19,"endColumn":28,"suggestions":"330"},{"ruleId":"271","severity":1,"message":"272","line":3,"column":1,"nodeType":"273","endLine":67,"endColumn":2},{"ruleId":"290","severity":1,"message":"331","line":45,"column":8,"nodeType":"292","endLine":45,"endColumn":33,"suggestions":"332"},{"ruleId":"290","severity":1,"message":"333","line":54,"column":39,"nodeType":"287","endLine":54,"endColumn":46},{"ruleId":"290","severity":1,"message":"334","line":55,"column":8,"nodeType":"292","endLine":55,"endColumn":33,"suggestions":"335"},{"ruleId":"271","severity":1,"message":"272","line":8,"column":1,"nodeType":"273","endLine":85,"endColumn":2},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":46,"endColumn":2},{"ruleId":"290","severity":1,"message":"336","line":23,"column":8,"nodeType":"292","endLine":23,"endColumn":10,"suggestions":"337"},{"ruleId":"281","severity":1,"message":"282","line":32,"column":50,"nodeType":"283","messageId":"284","endLine":32,"endColumn":52},{"ruleId":"271","severity":1,"message":"272","line":7,"column":1,"nodeType":"273","endLine":64,"endColumn":2},{"ruleId":"290","severity":1,"message":"338","line":22,"column":8,"nodeType":"292","endLine":22,"endColumn":15,"suggestions":"339"},{"ruleId":"290","severity":1,"message":"340","line":31,"column":29,"nodeType":"287","endLine":31,"endColumn":36},{"ruleId":"290","severity":1,"message":"341","line":32,"column":8,"nodeType":"292","endLine":32,"endColumn":23,"suggestions":"342"},{"ruleId":"271","severity":1,"message":"272","line":2,"column":1,"nodeType":"273","endLine":14,"endColumn":2},{"ruleId":"299","severity":1,"message":"300","line":8,"column":16,"nodeType":"301","messageId":"284","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","no-unused-vars","'useRef' is defined but never used.","Identifier","unusedVar",["343"],"react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'currentFilters.length' and 'selectedRecordIds.length'. Either include them or remove the dependency array.","ArrayExpression",["344"],"React Hook useEffect has a missing dependency: 'refreshData'. Either include it or remove the dependency array.",["345"],["346"],"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.",["347"],"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":"348","text":"349"},["350"],"'history' is assigned a value but never used.",["351"],{"range":"352","text":"349"},"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.",["353"],["354"],"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.",["355"],"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.",["356"],"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.",["357"],"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.",["358"],"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.",["359"],"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.",["360"],"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.",["361"],"React Hook useEffect has missing dependencies: 'column.__id__' and 'viewIndex'. Either include them or remove the dependency array.",["362"],"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.",["363"],{"kind":"364","justification":"365"},{"desc":"366","fix":"367"},{"desc":"368","fix":"369"},{"desc":"370","fix":"371"},{"desc":"372","fix":"373"},[1055,1055]," rel=\"noreferrer\"",{"desc":"374","fix":"375"},{"desc":"376","fix":"377"},[2020,2020],{"desc":"378","fix":"379"},{"desc":"374","fix":"380"},{"desc":"381","fix":"382"},{"desc":"383","fix":"384"},{"desc":"385","fix":"386"},{"desc":"387","fix":"388"},{"desc":"389","fix":"390"},{"desc":"391","fix":"392"},{"desc":"393","fix":"394"},{"desc":"395","fix":"396"},{"desc":"391","fix":"397"},"directive","","Update the dependencies array to be: [currentFilters.length, selectedRecordIds.length, viewIndex]",{"range":"398","text":"399"},"Update the dependencies array to be: [viewIndex, subviewIndex, page, query, currentFilters, orderBy, isDesc, refreshData]",{"range":"400","text":"401"},"Update the dependencies array to be: [viewIndex, recordId, refreshData]",{"range":"402","text":"403"},"Update the dependencies array to be: [column?.dataType, column.optional, column.options, field]",{"range":"404","text":"405"},"Update the dependencies array to be: [record, refreshData]",{"range":"406","text":"407"},"Update the dependencies array to be: [panel.query, record, refreshData]",{"range":"408","text":"409"},"Update the dependencies array to be: [panel.latitudeField, panel.longitudeField, panel.query, panel.zoom, record, view.primaryId]",{"range":"410","text":"411"},{"range":"412","text":"407"},"Update the dependencies array to be: [handler, ref]",{"range":"413","text":"414"},"Update the dependencies array to be: [column.name, initialData, onChange]",{"range":"415","text":"416"},"Update the dependencies array to be: [column.contentField, column.htmlField, initialData, onChange]",{"range":"417","text":"418"},"Update the dependencies array to be: [column.name, initialData, onChange, withTime]",{"range":"419","text":"420"},"Update the dependencies array to be: [column, onChange]",{"range":"421","text":"422"},"Update the dependencies array to be: []",{"range":"423","text":"424"},"Update the dependencies array to be: [column.__id__, column.name, column.optional, initialData, onChange, viewIndex]",{"range":"425","text":"426"},"Update the dependencies array to be: [column.__id__, query, viewIndex]",{"range":"427","text":"428"},{"range":"429","text":"424"},[1710,1721],"[currentFilters.length, selectedRecordIds.length, viewIndex]",[1950,2021],"[viewIndex, subviewIndex, page, query, currentFilters, orderBy, isDesc, refreshData]",[1158,1179],"[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],[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,12 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
-
esac
|
|
7
|
-
|
|
8
|
-
if [ -x "$basedir/node" ]; then
|
|
9
|
-
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
|
|
10
|
-
else
|
|
11
|
-
exec node "$basedir/../semver/bin/semver.js" "$@"
|
|
12
|
-
fi
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@ECHO off
|
|
2
|
-
GOTO start
|
|
3
|
-
:find_dp0
|
|
4
|
-
SET dp0=%~dp0
|
|
5
|
-
EXIT /b
|
|
6
|
-
:start
|
|
7
|
-
SETLOCAL
|
|
8
|
-
CALL :find_dp0
|
|
9
|
-
|
|
10
|
-
IF EXIST "%dp0%\node.exe" (
|
|
11
|
-
SET "_prog=%dp0%\node.exe"
|
|
12
|
-
) ELSE (
|
|
13
|
-
SET "_prog=node"
|
|
14
|
-
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env pwsh
|
|
2
|
-
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
-
|
|
4
|
-
$exe=""
|
|
5
|
-
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
6
|
-
# Fix case when both the Windows and Linux builds of Node
|
|
7
|
-
# are installed in the same directory
|
|
8
|
-
$exe=".exe"
|
|
9
|
-
}
|
|
10
|
-
$ret=0
|
|
11
|
-
if (Test-Path "$basedir/node$exe") {
|
|
12
|
-
# Support pipeline input
|
|
13
|
-
if ($MyInvocation.ExpectingInput) {
|
|
14
|
-
$input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
15
|
-
} else {
|
|
16
|
-
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
17
|
-
}
|
|
18
|
-
$ret=$LASTEXITCODE
|
|
19
|
-
} else {
|
|
20
|
-
# Support pipeline input
|
|
21
|
-
if ($MyInvocation.ExpectingInput) {
|
|
22
|
-
$input | & "node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
23
|
-
} else {
|
|
24
|
-
& "node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
25
|
-
}
|
|
26
|
-
$ret=$LASTEXITCODE
|
|
27
|
-
}
|
|
28
|
-
exit $ret
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import _defineProperty from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";import ColorInput from\"./inputs/ColorInput\";import RichTextInput from\"./inputs/RichTextInput\";import BetterRichTextInput from\"./inputs/BetterRichTextInput\";import DatetimeInput from\"./inputs/DatetimeInput\";import AddressInput from\"./inputs/AddressInput\";import FileInput from\"./inputs/FileInput\";import ForeignSelectInput from\"./inputs/ForeignSelectInput\";import ForeignDatalistInput from\"./inputs/ForeignDatalistInput\";import{jsx as _jsx}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";export default(function(_ref){var column=_ref.column,_onChange2=_ref.onChange,initialData=_ref.initialData;var dataType=column.dataType;if([\"int\",\"double\",\"float\",\"decimal\"].includes(dataType)){return/*#__PURE__*/_jsx(\"input\",{type:\"number\",onChange:function onChange(e){return _onChange2(_defineProperty({},column.name,e.target.value));},defaultValue:initialData===null||initialData===void 0?void 0:initialData[column.name],onWheel:function onWheel(e){e.target.blur();setTimeout(function(){e.target.focus();},0);}});}else if(dataType===\"tinyint\"){var _initialData$column$n;return/*#__PURE__*/_jsxs(\"select\",{onChange:function onChange(e){return _onChange2(_defineProperty({},column.name,e.target.value));},defaultValue:(_initialData$column$n=initialData===null||initialData===void 0?void 0:initialData[column.name])!==null&&_initialData$column$n!==void 0?_initialData$column$n:column.defaultOption,children:[column.optional?/*#__PURE__*/_jsx(\"option\",{value:\"NULL\",children:\"-\"}):null,/*#__PURE__*/_jsx(\"option\",{value:\"0\",children:\"Non\"}),/*#__PURE__*/_jsx(\"option\",{value:\"1\",children:\"Oui\"})]});}else if(dataType===\"select\"&&Array.isArray(column.options)){var _initialData$column$n2;return/*#__PURE__*/_jsxs(\"select\",{onChange:function onChange(e){return _onChange2(_defineProperty({},column.name,e.target.value));},defaultValue:(_initialData$column$n2=initialData===null||initialData===void 0?void 0:initialData[column.name])!==null&&_initialData$column$n2!==void 0?_initialData$column$n2:column.defaultOption,children:[column.optional?/*#__PURE__*/_jsx(\"option\",{value:\"NULL\",children:\"-\"}):null,column.options.map(function(option){return/*#__PURE__*/_jsx(\"option\",{value:option,children:option},option);})]});}else if(dataType===\"select\"){var _initialData$column$n3;return/*#__PURE__*/_jsxs(\"select\",{onChange:function onChange(e){return _onChange2(_defineProperty({},column.name,e.target.value));},defaultValue:(_initialData$column$n3=initialData===null||initialData===void 0?void 0:initialData[column.name])!==null&&_initialData$column$n3!==void 0?_initialData$column$n3:column.defaultOption,children:[column.optional?/*#__PURE__*/_jsx(\"option\",{value:\"NULL\",children:\"-\"}):null,Object.keys(column.options).map(function(key){return/*#__PURE__*/_jsx(\"option\",{value:key,children:column.options[key]},key);})]});}else if(dataType===\"datalist\"){return/*#__PURE__*/_jsx(ForeignDatalistInput,{column:column,onChange:_onChange2,initialData:initialData});}else if(dataType===\"foreign\"){return/*#__PURE__*/_jsx(ForeignSelectInput,{column:column,onChange:_onChange2,initialData:initialData});}else if(dataType===\"address\"){return/*#__PURE__*/_jsx(AddressInput,{column:column,onChange:_onChange2,initialData:initialData});}else if(dataType===\"color\"){return/*#__PURE__*/_jsx(ColorInput,{column:column,onChange:_onChange2,initialData:initialData});}else if(dataType===\"file\"){return/*#__PURE__*/_jsx(FileInput,{column:column,onChange:_onChange2,initialData:initialData});}else if(dataType===\"datetime\"){return/*#__PURE__*/_jsx(DatetimeInput,{column:column,onChange:_onChange2,initialData:initialData,withTime:true});}else if(dataType===\"date\"){return/*#__PURE__*/_jsx(DatetimeInput,{column:column,onChange:_onChange2,initialData:initialData,withTime:false});}else if(dataType===\"textarea\"){return/*#__PURE__*/_jsx(\"textarea\",{onChange:function onChange(e){return _onChange2(_defineProperty({},column.name,e.target.value));},defaultValue:initialData===null||initialData===void 0?void 0:initialData[column.name]});}else if(dataType===\"richText\"){return/*#__PURE__*/_jsx(RichTextInput,{column:column,onChange:_onChange2,initialData:initialData});}else if(dataType===\"betterRichText\"){return/*#__PURE__*/_jsx(BetterRichTextInput,{column:column,onChange:_onChange2,initialData:initialData});}else{return/*#__PURE__*/_jsx(\"input\",{type:\"text\",onChange:function onChange(e){return _onChange2(_defineProperty({},column.name,e.target.value));},defaultValue:initialData===null||initialData===void 0?void 0:initialData[column.name]});}});","map":{"version":3,"names":["ColorInput","RichTextInput","BetterRichTextInput","DatetimeInput","AddressInput","FileInput","ForeignSelectInput","ForeignDatalistInput","jsx","_jsx","jsxs","_jsxs","_ref","column","onChange","initialData","dataType","includes","type","e","_defineProperty","name","target","value","defaultValue","onWheel","blur","setTimeout","focus","_initialData$column$n","defaultOption","children","optional","Array","isArray","options","_initialData$column$n2","map","option","_initialData$column$n3","Object","keys","key","withTime"],"sources":["/home/runner/work/galadmin/galadmin/src/front/src/components/Input.js"],"sourcesContent":["import ColorInput from \"./inputs/ColorInput\"\nimport RichTextInput from \"./inputs/RichTextInput\";\nimport BetterRichTextInput from \"./inputs/BetterRichTextInput\";\nimport DatetimeInput from \"./inputs/DatetimeInput\";\nimport AddressInput from \"./inputs/AddressInput\";\nimport FileInput from \"./inputs/FileInput\";\nimport ForeignSelectInput from \"./inputs/ForeignSelectInput\";\nimport ForeignDatalistInput from \"./inputs/ForeignDatalistInput\";\n\nexport default ({ column, onChange, initialData }) => {\n const { dataType } = column;\n\n if ([\"int\", \"double\", \"float\", \"decimal\"].includes(dataType)) {\n return (\n <input\n type='number'\n onChange={(e) => onChange({ [column.name]: e.target.value })}\n defaultValue={initialData?.[column.name]}\n onWheel={(e) => {\n e.target.blur()\n setTimeout(() => {\n e.target.focus()\n }, 0)\n }}\n />\n );\n } else if (dataType === \"tinyint\") {\n return (\n <select\n onChange={(e) => onChange({ [column.name]: e.target.value })}\n defaultValue={initialData?.[column.name] ?? column.defaultOption}\n >\n {column.optional ? <option value='NULL'>-</option> : null}\n <option value='0'>Non</option>\n <option value='1'>Oui</option>\n </select>\n );\n } else if (dataType === \"select\" && Array.isArray(column.options)) {\n return (\n <select\n onChange={(e) => onChange({ [column.name]: e.target.value })}\n defaultValue={initialData?.[column.name] ?? column.defaultOption}\n >\n {column.optional ? <option value='NULL'>-</option> : null}\n {column.options.map(option => <option value={option} key={option}>{option}</option>)}\n </select>\n );\n } else if (dataType === \"select\") {\n return (\n <select\n onChange={(e) => onChange({ [column.name]: e.target.value })}\n defaultValue={initialData?.[column.name] ?? column.defaultOption}\n >\n {column.optional ? <option value='NULL'>-</option> : null}\n {Object.keys(column.options).map(key => <option value={key} key={key}>{column.options[key]}</option>)}\n </select>\n );\n } else if (dataType === \"datalist\") {\n return (\n <ForeignDatalistInput\n column={column}\n onChange={onChange}\n initialData={initialData}\n />\n );\n } else if (dataType === \"foreign\") {\n return (\n <ForeignSelectInput\n column={column}\n onChange={onChange}\n initialData={initialData}\n />\n );\n } else if (dataType === \"address\") {\n return (\n <AddressInput\n column={column}\n onChange={onChange}\n initialData={initialData}\n />\n )\n } else if (dataType === \"color\") {\n return (\n <ColorInput\n column={column}\n onChange={onChange}\n initialData={initialData}\n />\n );\n } else if (dataType === \"file\") {\n return (\n <FileInput\n column={column}\n onChange={onChange}\n initialData={initialData}\n />\n );\n } else if (dataType === \"datetime\") {\n return (\n <DatetimeInput\n column={column}\n onChange={onChange}\n initialData={initialData}\n withTime={true}\n />\n );\n } else if (dataType === \"date\") {\n return (\n <DatetimeInput\n column={column}\n onChange={onChange}\n initialData={initialData}\n withTime={false}\n />\n );\n } else if (dataType === \"textarea\") {\n return (\n <textarea\n onChange={(e) => onChange({ [column.name]: e.target.value })}\n defaultValue={initialData?.[column.name]}\n >\n </textarea>\n );\n } else if (dataType === \"richText\") {\n return (\n <RichTextInput\n column={column}\n onChange={onChange}\n initialData={initialData}\n />\n );\n } else if (dataType === \"betterRichText\") {\n return (\n <BetterRichTextInput\n column={column}\n onChange={onChange}\n initialData={initialData}\n />\n );\n } else {\n return (\n <input\n type='text'\n onChange={(e) => onChange({ [column.name]: e.target.value })}\n defaultValue={initialData?.[column.name]}\n />\n );\n }\n};"],"mappings":"qIAAA,MAAO,CAAAA,UAAU,KAAM,qBAAqB,CAC5C,MAAO,CAAAC,aAAa,KAAM,wBAAwB,CAClD,MAAO,CAAAC,mBAAmB,KAAM,8BAA8B,CAC9D,MAAO,CAAAC,aAAa,KAAM,wBAAwB,CAClD,MAAO,CAAAC,YAAY,KAAM,uBAAuB,CAChD,MAAO,CAAAC,SAAS,KAAM,oBAAoB,CAC1C,MAAO,CAAAC,kBAAkB,KAAM,6BAA6B,CAC5D,MAAO,CAAAC,oBAAoB,KAAM,+BAA+B,CAAC,OAAAC,GAAA,IAAAC,IAAA,gCAAAC,IAAA,IAAAC,KAAA,yBAEjE,eAAe,SAAAC,IAAA,CAAuC,IAApC,CAAAC,MAAM,CAAAD,IAAA,CAANC,MAAM,CAAEC,UAAQ,CAAAF,IAAA,CAARE,QAAQ,CAAEC,WAAW,CAAAH,IAAA,CAAXG,WAAW,CAC3C,GAAQ,CAAAC,QAAQ,CAAKH,MAAM,CAAnBG,QAAQ,CAEhB,GAAI,CAAC,KAAK,CAAE,QAAQ,CAAE,OAAO,CAAE,SAAS,CAAC,CAACC,QAAQ,CAACD,QAAQ,CAAC,CAAE,CAC1D,mBACIP,IAAA,UACIS,IAAI,CAAC,QAAQ,CACbJ,QAAQ,CAAE,SAAAA,SAACK,CAAC,QAAK,CAAAL,UAAQ,CAAAM,eAAA,IAAIP,MAAM,CAACQ,IAAI,CAAGF,CAAC,CAACG,MAAM,CAACC,KAAK,CAAE,CA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":"import _createForOfIteratorHelper from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js\";import axios from\"axios\";import evalExpression from\"../utils/evalExpression\";import{jsx as _jsx}from\"react/jsx-runtime\";export default(function(_ref){var record=_ref.record,panel=_ref.panel;var downloadTable=function downloadTable(){axios.get(\"/customQuery\",{params:{query:panel.query||evalExpression(panel.formattedQuery,record),primaryValue:2630}}).then(function(response){var results=response.data;var lines=[];lines.push(Object.keys(results[0]).filter(function(key){return key!==panel.primaryId;}).join(\",\"));var _iterator=_createForOfIteratorHelper(results),_step;try{var _loop=function _loop(){var result=_step.value;lines.push(Object.keys(result).filter(function(key){return key!==panel.primaryId;}).map(function(key){return panel.formattedValues&&key in panel.formattedValues?evalExpression(panel.formattedValues[key],result):result[key];}).join(\",\"));};for(_iterator.s();!(_step=_iterator.n()).done;){_loop();}}catch(err){_iterator.e(err);}finally{_iterator.f();}window.download(lines.join(\"\\r\\n\"),panel.label+\".csv\");});};return/*#__PURE__*/_jsx(\"div\",{class:\"downloadPanelButton\",onClick:downloadTable,children:/*#__PURE__*/_jsx(\"i\",{class:\"fa fa-cloud-download\"})});});","map":{"version":3,"names":["axios","evalExpression","jsx","_jsx","_ref","record","panel","downloadTable","get","params","query","formattedQuery","primaryValue","then","response","results","data","lines","push","Object","keys","filter","key","primaryId","join","_iterator","_createForOfIteratorHelper","_step","_loop","result","value","map","formattedValues","s","n","done","err","e","f","window","download","label","class","onClick","children"],"sources":["/home/runner/work/galadmin/galadmin/src/front/src/components/DownloadTablePanelButton.js"],"sourcesContent":["import axios from \"axios\";\nimport evalExpression from \"../utils/evalExpression\";\n\nexport default ({ record, panel }) => {\n const downloadTable = () => {\n axios.get(\"/customQuery\", {\n params: {\n query: panel.query || evalExpression(panel.formattedQuery, record),\n primaryValue: 2630\n }\n }).then((response) => {\n const results = response.data;\n const lines = [];\n lines.push(Object.keys(results[0]).filter(key => key !== panel.primaryId).join(\",\"))\n for (let result of results) {\n lines.push(\n Object.keys(result).filter(key => key !== panel.primaryId).map((key) =>\n (panel.formattedValues && (key in panel.formattedValues)) ? evalExpression(panel.formattedValues[key], result) : result[key]\n ).join(\",\")\n )\n }\n\n window.download(lines.join(\"\\r\\n\"), panel.label + \".csv\");\n })\n }\n\n return (<div class='downloadPanelButton' onClick={downloadTable}><i class='fa fa-cloud-download'></i></div>)\n}"],"mappings":"2JAAA,MAAO,CAAAA,KAAK,KAAM,OAAO,CACzB,MAAO,CAAAC,cAAc,KAAM,yBAAyB,CAAC,OAAAC,GAAA,IAAAC,IAAA,yBAErD,eAAe,SAAAC,IAAA,CAAuB,IAApB,CAAAC,MAAM,CAAAD,IAAA,CAANC,MAAM,CAAEC,KAAK,CAAAF,IAAA,CAALE,KAAK,CAC3B,GAAM,CAAAC,aAAa,CAAG,QAAhB,CAAAA,aAAaA,CAAA,CAAS,CACxBP,KAAK,CAACQ,GAAG,CAAC,cAAc,CAAE,CACtBC,MAAM,CAAE,CACJC,KAAK,CAAEJ,KAAK,CAACI,KAAK,EAAIT,cAAc,CAACK,KAAK,CAACK,cAAc,CAAEN,MAAM,CAAC,CAClEO,YAAY,CAAE,IAClB,CACJ,CAAC,CAAC,CAACC,IAAI,CAAC,SAACC,QAAQ,CAAK,CAClB,GAAM,CAAAC,OAAO,CAAGD,QAAQ,CAACE,IAAI,CAC7B,GAAM,CAAAC,KAAK,CAAG,EAAE,CAChBA,KAAK,CAACC,IAAI,CAACC,MAAM,CAACC,IAAI,CAACL,OAAO,CAAC,CAAC,CAAC,CAAC,CAACM,MAAM,CAAC,SAAAC,GAAG,QAAI,CAAAA,GAAG,GAAKhB,KAAK,CAACiB,SAAS,GAAC,CAACC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAAC,SAAA,CAAAC,0BAAA,CACjEX,OAAO,EAAAY,KAAA,SAAAC,KAAA,UAAAA,MAAA,CAAE,IAAnB,CAAAC,MAAM,CAAAF,KAAA,CAAAG,KAAA,CACXb,KAAK,CAACC,IAAI,CACNC,MAAM,CAACC,IAAI,CAACS,MAAM,CAAC,CAACR,MAAM,CAAC,SAAAC,GAAG,QAAI,CAAAA,GAAG,GAAKhB,KAAK,CAACiB,SAAS,GAAC,CAACQ,GAAG,CAAC,SAACT,GAAG,QAC9D,CAAAhB,KAAK,CAAC0B,eAAe,EAAKV,GAAG,GAAI,CAAAhB,KAAK,CAAC0B,eAAgB,CAAI/B,cAAc,CAACK,KAAK,CAAC0B,eAAe,CAACV,GAAG,CAAC,CAAEO,MAAM,CAAC,CAAGA,MAAM,CAACP,GAAG,CAAC,EAChI,CAAC,CAACE,IAAI,CAAC,GAAG,CACd,CAAC,CACL,CAAC,CAND,IAAAC,SAAA,CAAAQ,CAAA,KAAAN,KAAA,CAAAF,SAAA,CAAAS,CAAA,IAAAC,IAAA,GAAAP,KAAA,IAMC,OAAAQ,GAAA,EAAAX,SAAA,CAAAY,CAAA,CAAAD,GAAA,WAAAX,SAAA,CAAAa,CAAA,IAEDC,MAAM,CAACC,QAAQ,CAACvB,KAAK,CAACO,IAAI,CAAC,MAAM,CAAC,CAAElB,KAAK,CAACmC,KAAK,CAAG,MAAM,CAAC,CAC7D,CAAC,CAAC,CACN,CAAC,CAED,mBAAQtC,IAAA,QAAKuC,KAAK,CAAC,qBAAqB,CAACC,OAAO,CAAEpC,aAAc,CAAAqC,QAAA,cAACzC,IAAA,MAAGuC,KAAK,CAAC,sBAAsB,CAAI,CAAC,CAAK,CAAC,CAC/G,CAAC"},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import{useContext}from\"react\";import{useParams}from\"react-router-dom\";import CustomComponent from\"../components/CustomComponent\";import{ConfigContext}from\"../contexts/ConfigContext\";import{jsx as _jsx}from\"react/jsx-runtime\";export default(function(){var config=useContext(ConfigContext);var _useParams=useParams(),viewIndex=_useParams.viewIndex;var componentPath=config.views[viewIndex].componentPath;return/*#__PURE__*/_jsx(CustomComponent,{componentPath:componentPath});});","map":{"version":3,"names":["useContext","useParams","CustomComponent","ConfigContext","jsx","_jsx","config","_useParams","viewIndex","componentPath","views"],"sources":["/home/runner/work/galadmin/galadmin/src/front/src/pages/CustomView.js"],"sourcesContent":["import { useContext } from \"react\";\nimport { useParams } from \"react-router-dom\";\nimport CustomComponent from \"../components/CustomComponent\";\nimport { ConfigContext } from \"../contexts/ConfigContext\";\n\nexport default () => {\n const config = useContext(ConfigContext)\n const { viewIndex } = useParams();\n\n const componentPath = config.views[viewIndex].componentPath\n\n return (\n <CustomComponent componentPath={componentPath} />\n )\n}"],"mappings":"AAAA,OAASA,UAAU,KAAQ,OAAO,CAClC,OAASC,SAAS,KAAQ,kBAAkB,CAC5C,MAAO,CAAAC,eAAe,KAAM,+BAA+B,CAC3D,OAASC,aAAa,KAAQ,2BAA2B,CAAC,OAAAC,GAAA,IAAAC,IAAA,yBAE1D,eAAe,UAAM,CACjB,GAAM,CAAAC,MAAM,CAAGN,UAAU,CAACG,aAAa,CAAC,CACxC,IAAAI,UAAA,CAAsBN,SAAS,CAAC,CAAC,CAAzBO,SAAS,CAAAD,UAAA,CAATC,SAAS,CAEjB,GAAM,CAAAC,aAAa,CAAGH,MAAM,CAACI,KAAK,CAACF,SAAS,CAAC,CAACC,aAAa,CAE3D,mBACIJ,IAAA,CAACH,eAAe,EAACO,aAAa,CAAEA,aAAc,CAAE,CAAC,CAEzD,CAAC"},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import _slicedToArray from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";import{useState,useEffect,useContext}from\"react\";import axios from\"axios\";import{useParams,Link}from\"react-router-dom\";import getFormattedValue from\"../utils/getFormattedValue\";import ActionsButton from\"../components/ActionsButton\";import BackButton from\"../components/BackButton\";import DownloadTablePanelButton from\"../components/DownloadTablePanelButton\";import TablePanel from\"../components/panels/TablePanel\";import GalleryPanel from\"../components/panels/GalleryPanel\";import MapPanel from\"../components/panels/MapPanel\";import{ConfigContext}from'../contexts/ConfigContext';import ChatPanel from\"../components/panels/ChatPanel\";import{jsx as _jsx}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";export default(function(){var _view$columns;var config=useContext(ConfigContext);var _useParams=useParams(),viewIndex=_useParams.viewIndex,recordId=_useParams.recordId;var _useState=useState(null),_useState2=_slicedToArray(_useState,2),record=_useState2[0],setRecord=_useState2[1];var view=config.views[viewIndex];var filteredColumns=(_view$columns=view.columns)===null||_view$columns===void 0?void 0:_view$columns.filter(function(x){return!x.hidden;});useEffect(function(){refreshData();},[viewIndex,recordId]);var refreshData=function refreshData(){axios.get(\"/record\",{params:{viewIndex:viewIndex,recordId:recordId}}).then(function(response){setRecord(response.data);});};return/*#__PURE__*/_jsxs(\"div\",{class:\"view backgroundBlue\",children:[/*#__PURE__*/_jsxs(\"div\",{class:\"viewHeader\",children:[/*#__PURE__*/_jsx(\"div\",{class:\"viewTitle\",children:view.label}),/*#__PURE__*/_jsxs(\"div\",{class:\"viewHeaderActions\",children:[/*#__PURE__*/_jsx(BackButton,{}),/*#__PURE__*/_jsx(ActionsButton,{viewIndex:viewIndex,record:record,refreshData:refreshData}),view.canEdit!==false?/*#__PURE__*/_jsx(Link,{to:\"/editRecord/\".concat(viewIndex,\"/\").concat(recordId),children:/*#__PURE__*/_jsx(\"div\",{class:\"button greenButton recordAction\",children:\"Modifier\"})}):null]})]}),/*#__PURE__*/_jsx(\"div\",{class:\"paddedView\",children:/*#__PURE__*/_jsxs(\"div\",{class:\"showContainer\",children:[/*#__PURE__*/_jsxs(\"div\",{class:\"panel detailsPanel\",children:[/*#__PURE__*/_jsx(\"div\",{class:\"panelTitle\",children:\"D\\xE9tails\"}),record?filteredColumns.map(function(column,index){return/*#__PURE__*/_jsxs(\"div\",{class:\"showRecordField\",children:[/*#__PURE__*/_jsx(\"div\",{class:\"formLabel\",children:column.label}),/*#__PURE__*/_jsx(\"div\",{class:\"formValue\",children:getFormattedValue(column,record,config,false)||\"-\"})]},index);}):null]}),view.recordViewPanels&&record?/*#__PURE__*/_jsx(\"div\",{class:\"recordViewPanels\",children:view.recordViewPanels.map(function(panel,index){return/*#__PURE__*/_jsxs(\"div\",{class:\"panel\",children:[/*#__PURE__*/_jsxs(\"div\",{class:\"panelHeader\",children:[/*#__PURE__*/_jsx(\"div\",{class:\"viewTitle\",children:panel.label}),/*#__PURE__*/_jsxs(\"div\",{class:\"viewHeaderActions\",children:[panel.folded?/*#__PURE__*/_jsx(\"div\",{class:\"button smallButton unfoldPanel\",children:\"Afficher\"}):null,panel.canCreate?/*#__PURE__*/_jsx(Link,{to:\"/createRecord/\".concat(viewIndex,\"/\").concat(index,\"/\").concat(recordId),children:/*#__PURE__*/_jsx(\"div\",{class:\"plusButton\",children:/*#__PURE__*/_jsx(\"i\",{class:\"fa fa-plus\"})})}):null,panel.canDownload&&panel.type===\"table\"?/*#__PURE__*/_jsx(DownloadTablePanelButton,{record:record,panel:panel}):null]})]}),panel.type===\"table\"?/*#__PURE__*/_jsx(TablePanel,{record:record,panel:panel,view:view,index:index}):null,panel.type===\"gallery\"?/*#__PURE__*/_jsx(GalleryPanel,{record:record,panel:panel,view:view,index:index}):null,panel.type===\"map\"?/*#__PURE__*/_jsx(MapPanel,{record:record,panel:panel,view:view,index:index}):null,panel.type===\"chat\"?/*#__PURE__*/_jsx(ChatPanel,{record:record,panel:panel,view:view,index:index}):null]},index);})}):null]})})]});});","map":{"version":3,"names":["useState","useEffect","useContext","axios","useParams","Link","getFormattedValue","ActionsButton","BackButton","DownloadTablePanelButton","TablePanel","GalleryPanel","MapPanel","ConfigContext","ChatPanel","jsx","_jsx","jsxs","_jsxs","_view$columns","config","_useParams","viewIndex","recordId","_useState","_useState2","_slicedToArray","record","setRecord","view","views","filteredColumns","columns","filter","x","hidden","refreshData","get","params","then","response","data","class","children","label","canEdit","to","concat","map","column","index","recordViewPanels","panel","folded","canCreate","canDownload","type"],"sources":["/home/runner/work/galadmin/galadmin/src/front/src/pages/Record.js"],"sourcesContent":["import { useState, useEffect, useContext } from \"react\"\nimport axios from \"axios\";\nimport {\n useParams,\n Link,\n} from \"react-router-dom\";\nimport getFormattedValue from \"../utils/getFormattedValue\"\nimport ActionsButton from \"../components/ActionsButton\"\nimport BackButton from \"../components/BackButton\"\nimport DownloadTablePanelButton from \"../components/DownloadTablePanelButton\"\nimport TablePanel from \"../components/panels/TablePanel\"\nimport GalleryPanel from \"../components/panels/GalleryPanel\"\nimport MapPanel from \"../components/panels/MapPanel\"\nimport { ConfigContext } from '../contexts/ConfigContext'\nimport ChatPanel from \"../components/panels/ChatPanel\";\n\nexport default () => {\n const config = useContext(ConfigContext)\n const { viewIndex, recordId } = useParams();\n const [record, setRecord] = useState(null);\n\n const view = config.views[viewIndex]\n const filteredColumns = view.columns?.filter(x => !x.hidden)\n\n useEffect(() => {\n refreshData()\n }, [viewIndex, recordId]);\n\n const refreshData = () => {\n axios.get(\"/record\", {\n params: {\n viewIndex,\n recordId\n }\n }).then((response) => {\n setRecord(response.data);\n });\n }\n\n return (\n <div class=\"view backgroundBlue\">\n <div class=\"viewHeader\">\n <div class=\"viewTitle\">{view.label}</div>\n <div class=\"viewHeaderActions\">\n <BackButton />\n <ActionsButton viewIndex={viewIndex} record={record} refreshData={refreshData} />\n {view.canEdit !== false ? (\n <Link to={`/editRecord/${viewIndex}/${recordId}`}>\n <div class=\"button greenButton recordAction\">Modifier</div>\n </Link>\n ) : null}\n </div>\n </div>\n <div class=\"paddedView\">\n <div class=\"showContainer\">\n <div class='panel detailsPanel'>\n <div class='panelTitle'>Détails</div>\n {record ?\n filteredColumns.map((column, index) => (\n <div class='showRecordField' key={index}>\n <div class='formLabel'>{column.label}</div>\n <div class='formValue'>{getFormattedValue(column, record, config, false) || \"-\"}</div>\n </div>\n ))\n : null}\n </div>\n {view.recordViewPanels && record ? (\n <div class='recordViewPanels'>\n {view.recordViewPanels.map((panel, index) => (\n <div class='panel' key={index}>\n <div class='panelHeader'>\n <div class='viewTitle'>{panel.label}</div>\n <div class='viewHeaderActions'>\n {panel.folded ? <div class='button smallButton unfoldPanel'>Afficher</div> : null}\n {panel.canCreate ? <Link to={`/createRecord/${viewIndex}/${index}/${recordId}`}><div class='plusButton'><i class='fa fa-plus'></i></div></Link> : null}\n {panel.canDownload && panel.type === \"table\" ? <DownloadTablePanelButton record={record} panel={panel} /> : null}\n </div>\n </div>\n {panel.type === \"table\" ? <TablePanel record={record} panel={panel} view={view} index={index} /> : null}\n {panel.type === \"gallery\" ? <GalleryPanel record={record} panel={panel} view={view} index={index} /> : null}\n {panel.type === \"map\" ? <MapPanel record={record} panel={panel} view={view} index={index} /> : null}\n {panel.type === \"chat\" ? <ChatPanel record={record} panel={panel} view={view} index={index} /> : null}\n </div>\n ))}\n </div>\n ) : null}\n </div>\n </div>\n </div>\n )\n}\n"],"mappings":"mIAAA,OAASA,QAAQ,CAAEC,SAAS,CAAEC,UAAU,KAAQ,OAAO,CACvD,MAAO,CAAAC,KAAK,KAAM,OAAO,CACzB,OACIC,SAAS,CACTC,IAAI,KACD,kBAAkB,CACzB,MAAO,CAAAC,iBAAiB,KAAM,4BAA4B,CAC1D,MAAO,CAAAC,aAAa,KAAM,6BAA6B,CACvD,MAAO,CAAAC,UAAU,KAAM,0BAA0B,CACjD,MAAO,CAAAC,wBAAwB,KAAM,wCAAwC,CAC7E,MAAO,CAAAC,UAAU,KAAM,iCAAiC,CACxD,MAAO,CAAAC,YAAY,KAAM,mCAAmC,CAC5D,MAAO,CAAAC,QAAQ,KAAM,+BAA+B,CACpD,OAASC,aAAa,KAAQ,2BAA2B,CACzD,MAAO,CAAAC,SAAS,KAAM,gCAAgC,CAAC,OAAAC,GAAA,IAAAC,IAAA,gCAAAC,IAAA,IAAAC,KAAA,yBAEvD,eAAe,UAAM,KAAAC,aAAA,CACjB,GAAM,CAAAC,MAAM,CAAGlB,UAAU,CAACW,aAAa,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EA,IAAK,CAACqB,KAAK,CAAEA,KAAM,CAAE,CAAC,CAAG,IAAI,CAC1GE,KAAK,CAACI,IAAI,GAAK,KAAK,cAAGxC,IAAA,CAACJ,QAAQ,EAACe,MAAM,CAAEA,MAAO,CAACyB,KAAK,CAAEA,KAAM,CAACvB,IAAI,CAAEA,IAAK,CAACqB,KAAK,CAAEA,KAAM,CAAE,CAAC,CAAG,IAAI,CAClGE,KAAK,CAACI,IAAI,GAAK,MAAM,cAAGxC,IAAA,CAACF,SAAS,EAACa,MAAM,CAAEA,MAAO,CAACyB,KAAK,CAAEA,KAAM,CAACvB,IAAI,CAAEA,IAAK,CAACqB,KAAK,CAAEA,KAAM,CAAE,CAAC,CAAG,IAAI,GAZjFA,KAanB,CAAC,EACT,CAAC,CACD,CAAC,CACN,IAAI,EACP,CAAC,CACL,CAAC,EACL,CAAC,CAEd,CAAC"},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import _slicedToArray from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";import{useState,useEffect}from\"react\";import axios from\"axios\";import{useParams}from\"react-router-dom\";import{jsx as _jsx}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";export default(function(_ref){var panel=_ref.panel,record=_ref.record,view=_ref.view,index=_ref.index;var _useState=useState(null),_useState2=_slicedToArray(_useState,2),messages=_useState2[0],setMessages=_useState2[1];var _useState3=useState(\"\"),_useState4=_slicedToArray(_useState3,2),message=_useState4[0],setMessage=_useState4[1];var _useParams=useParams(),viewIndex=_useParams.viewIndex;useEffect(function(){refreshData();},[record]);useEffect(function(){var handler=function handler(event){if(event.key===\"Enter\"){sendMessage();}};document.addEventListener(\"keydown\",handler);return function(){document.removeEventListener(\"keydown\",handler);};},[message]);var refreshData=function refreshData(){axios.get(\"/customQuery\",{params:{viewIndex:viewIndex,panelIndex:index,query:panel.getMessagesQuery,primaryValue:record[view.primaryId]}}).then(function(response){setMessages(response.data);});};var sendMessage=function sendMessage(){axios.post(panel.postMessageUrl,{form:{message:message,recipientId:record[view.primaryId],secretKey:panel.secretKey}});};return/*#__PURE__*/_jsxs(\"div\",{children:[(messages===null||messages===void 0?void 0:messages.length)>0?/*#__PURE__*/_jsx(\"div\",{class:\"messagesContainer\",children:messages.map(function(message,index){return/*#__PURE__*/_jsx(\"div\",{class:\"message \".concat(message[panel.isAdminField]?'adminMessage':'userMessage'),children:message[panel.messageField]},index);})}):/*#__PURE__*/_jsx(\"div\",{class:\"noData panelTable\",children:\"Aucun message\"}),/*#__PURE__*/_jsxs(\"div\",{class:\"sendMessageContainer\",children:[/*#__PURE__*/_jsx(\"input\",{class:\"sendMessageInput\",type:\"text\",onChange:function onChange(event){return setMessage(event.target.value);}}),/*#__PURE__*/_jsx(\"div\",{class:\"sendButton\",onClick:sendMessage,children:/*#__PURE__*/_jsx(\"i\",{class:\"fa fa-send\"})})]})]});});","map":{"version":3,"names":["useState","useEffect","axios","useParams","jsx","_jsx","jsxs","_jsxs","_ref","panel","record","view","index","_useState","_useState2","_slicedToArray","messages","setMessages","_useState3","_useState4","message","setMessage","_useParams","viewIndex","refreshData","handler","event","key","sendMessage","document","addEventListener","removeEventListener","get","params","panelIndex","query","getMessagesQuery","primaryValue","primaryId","then","response","data","post","postMessageUrl","form","recipientId","secretKey","children","length","class","map","concat","isAdminField","messageField","type","onChange","target","value","onClick"],"sources":["/home/runner/work/galadmin/galadmin/src/front/src/components/panels/ChatPanel.js"],"sourcesContent":["import { useState, useEffect } from \"react\"\nimport axios from \"axios\";\nimport {\n useParams\n} from \"react-router-dom\";\n\nexport default ({ panel, record, view, index }) => {\n const [messages, setMessages] = useState(null);\n\tconst [message, setMessage] = useState(\"\");\n const { viewIndex } = useParams();\n\n useEffect(() => {\n refreshData()\n }, [record])\n\n\tuseEffect(() => {\n\t\tconst handler = (event) => {\n\t\t\tif (event.key === \"Enter\") {\n\t\t\t\tsendMessage()\n\t\t\t}\n\t\t}\n\t\tdocument.addEventListener(\"keydown\", handler)\n\t\treturn () => {\n\t\t\tdocument.removeEventListener(\"keydown\", handler)\n\t\t}\n\t}, [message])\n\n const refreshData = () => {\n axios.get(\"/customQuery\", {\n params: {\n viewIndex,\n panelIndex: index,\n query: panel.getMessagesQuery,\n primaryValue: record[view.primaryId]\n }\n }).then((response) => {\n setMessages(response.data)\n })\n }\n\n\tconst sendMessage = () => {\n\t\taxios.post(panel.postMessageUrl, {\n\t\t\tform: {\n\t\t\t\tmessage,\n\t\t\t\trecipientId: record[view.primaryId],\n\t\t\t\tsecretKey: panel.secretKey\n\t\t\t}\n\t\t})\n\t}\n\n return (\n <div>\n\t\t\t{messages?.length > 0 ? (\n\t\t\t\t<div class=\"messagesContainer\">\n\t\t\t\t\t{messages.map((message, index) => (\n\t\t\t\t\t\t<div key={index} class={`message ${message[panel.isAdminField] ? 'adminMessage' : 'userMessage'}`}>\n\t\t\t\t\t\t\t{message[panel.messageField]}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t) : (\n\t\t\t\t<div class={`noData panelTable`}>Aucun message</div>\n\t\t\t)}\n\t\t\t<div class=\"sendMessageContainer\">\n\t\t\t\t<input class=\"sendMessageInput\" type=\"text\" onChange={(event) => setMessage(event.target.value)} />\n\t\t\t\t<div class=\"sendButton\" onClick={sendMessage}><i class=\"fa fa-send\"></i></div>\n\t\t\t</div>\n </div>\n )\n}\n"],"mappings":"mIAAA,OAASA,QAAQ,CAAEC,SAAS,KAAQ,OAAO,CAC3C,MAAO,CAAAC,KAAK,KAAM,OAAO,CACzB,OACIC,SAAS,KACN,kBAAkB,CAAC,OAAAC,GAAA,IAAAC,IAAA,gCAAAC,IAAA,IAAAC,KAAA,yBAE1B,eAAe,SAAAC,IAAA,CAAoC,IAAjC,CAAAC,KAAK,CAAAD,IAAA,CAALC,KAAK,CAAEC,MAAM,CAAAF,IAAA,CAANE,M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,CAAC,YAAY,CAACS,OAAO,CAAE9B,WAAY,CAAAmB,QAAA,cAAC1C,IAAA,MAAG4C,KAAK,CAAC,YAAY,CAAI,CAAC,CAAK,CAAC,EAC1E,CAAC,EACI,CAAC,CAEd,CAAC"},"metadata":{},"sourceType":"module","externalDependencies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import _objectSpread from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";import _regeneratorRuntime from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js\";import _objectWithoutProperties from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";import _asyncToGenerator from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";var _excluded=[\"componentPath\",\"children\"];import React,{useMemo,Suspense}from'react';import _axios from\"axios\";import styled from'styled-components';import{jsx as _jsx}from\"react/jsx-runtime\";var packages={\"react\":function react(){return{exports:React};},\"axios\":function axios(){return{exports:_axios};},\"styled-components\":function styledComponents(){return{exports:styled};}};function getParsedModule(code,moduleName,packages){var _this=Object.create(packages);function require(name){if(!(name in _this)&&moduleName===name){var module={exports:{}};_this[name]=function(){return module;};var wrapper=Function(\"require, exports, module\",code);wrapper(require,module.exports,module);}else if(!(name in _this)){throw\"Module '\".concat(name,\"' not found\");}return _this[name]().exports;}return require(moduleName);}function fetchComponent(_x){return _fetchComponent.apply(this,arguments);}function _fetchComponent(){_fetchComponent=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(componentPath){var response,text;return _regeneratorRuntime().wrap(function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.prev=0;_context2.next=3;return _axios.get(\"/customComponent\",{params:{componentPath:componentPath}});case 3:response=_context2.sent;text=response.data;return _context2.abrupt(\"return\",{default:getParsedModule(text,\"__moduleName__\",packages)});case 8:_context2.prev=8;_context2.t0=_context2[\"catch\"](0);console.error(_context2.t0);return _context2.abrupt(\"return\",{default:function _default(){return/*#__PURE__*/_jsx(\"div\",{children:\"Erreur de rendu\"});}});case 12:case\"end\":return _context2.stop();}},_callee2,null,[[0,8]]);}));return _fetchComponent.apply(this,arguments);}var CustomComponent=function CustomComponent(_ref){var componentPath=_ref.componentPath,children=_ref.children,props=_objectWithoutProperties(_ref,_excluded);var Component=useMemo(function(){return/*#__PURE__*/React.lazy(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:return _context.abrupt(\"return\",fetchComponent(componentPath));case 1:case\"end\":return _context.stop();}},_callee);})));},[componentPath]);return/*#__PURE__*/_jsx(Suspense,{fallback:null,children:/*#__PURE__*/_jsx(Component,_objectSpread(_objectSpread({},props),{},{children:children}))});};export default/*#__PURE__*/React.memo(CustomComponent);","map":{"version":3,"names":["React","useMemo","Suspense","axios","styled","jsx","_jsx","packages","react","exports","styledComponents","getParsedModule","code","moduleName","_this","Object","create","require","name","module","wrapper","Function","concat","fetchComponent","_x","_fetchComponent","apply","arguments","_asyncToGenerator","_regeneratorRuntime","mark","_callee2","componentPath","response","text","wrap","_callee2$","_context2","prev","next","get","params","sent","data","abrupt","default","t0","console","error","_default","children","stop","CustomComponent","_ref","props","_objectWithoutProperties","_excluded","Component","lazy","_callee","_callee$","_context","fallback","_objectSpread","memo"],"sources":["/home/runner/work/galadmin/galadmin/src/front/src/components/CustomComponent.js"],"sourcesContent":["import React, { useMemo, Suspense } from 'react';\nimport axios from \"axios\";\nimport styled from 'styled-components'\n\nconst packages = {\n \"react\": () => ({ exports: React }),\n \"axios\": () => ({ exports: axios }),\n \"styled-components\": () => ({ exports: styled }),\n}\n\nfunction getParsedModule(code, moduleName, packages) {\n const _this = Object.create(packages);\n function require(name) {\n if (!(name in _this) && moduleName === name) {\n let module = { exports: {} };\n _this[name] = () => module;\n let wrapper = Function(\"require, exports, module\", code);\n wrapper(require, module.exports, module);\n } else if (!(name in _this)) {\n throw `Module '${name}' not found`\n }\n return (_this[name]()).exports;\n }\n\n return require(moduleName);\n}\n\n\nasync function fetchComponent(componentPath) {\n try {\n const response = await axios.get(`/customComponent`, {\n params: {\n componentPath\n }\n })\n const text = response.data\n return { default: getParsedModule(text, \"__moduleName__\", packages) };\n } catch (error) {\n console.error(error)\n return { default() { return <div>Erreur de rendu</div> } }\n }\n\n}\n\nconst CustomComponent = ({ componentPath, children, ...props }) => {\n const Component = useMemo(() => {\n return React.lazy(async () => fetchComponent(componentPath))\n }, [componentPath]);\n\n return (\n <Suspense fallback={null}>\n <Component {...props}>{children}</Component>\n </Suspense>\n )\n};\n\nexport default React.memo(CustomComponent);\n"],"mappings":"0lBAAA,MAAO,CAAAA,KAAK,EAAIC,OAAO,CAAEC,QAAQ,KAAQ,OAAO,CAChD,MAAO,CAAAC,MAAK,KAAM,OAAO,CACzB,MAAO,CAAAC,MAAM,KAAM,mBAAmB,QAAAC,GAAA,IAAAC,IAAA,yBAEtC,GAAM,CAAAC,QAAQ,CAAG,CACb,OAAO,CAAE,SAAAC,MAAA,QAAO,CAAEC,OAAO,CAAET,KAAM,CAAC,EAAC,CACnC,OAAO,CAAE,SAAAG,MAAA,QAAO,CAAEM,OAAO,CAAEN,MAAM,CAAC,EAAC,CACnC,mBAAmB,CAAE,SAAAO,iBAAA,QAAO,CAAED,OAAO,CAAEL,MAAO,CAAC,EACnD,CAAC,CAED,QAAS,CAAAO,eAAeA,CAACC,IAAI,CAAEC,UAAU,CAAEN,QAAQ,CAAE,CACjD,GAAM,CAAAO,KAAK,CAAGC,MAAM,CAACC,MAAM,CAACT,QAAQ,CAAC,CACrC,QAAS,CAAAU,OAAOA,CAACC,IAAI,CAAE,CACnB,GAAI,EAAEA,IAAI,GAAI,CAAAJ,KAAK,CAAC,EAAID,UAAU,GAAKK,IA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encies":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"ast":null,"code":"import _objectSpread from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";import _regeneratorRuntime from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js\";import _asyncToGenerator from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";import _slicedToArray from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";import _createForOfIteratorHelper from\"/home/runner/work/galadmin/galadmin/src/front/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js\";import{useContext,useRef,useState}from\"react\";import{useParams,useHistory}from\"react-router-dom\";import axios from\"axios\";import Input from\"../components/Input\";import LabelTooltip from\"../components/LabelTooltip\";import{ConfigContext}from'../contexts/ConfigContext';import checkRequiredColumns from\"../utils/checkRequiredColumns\";import{jsx as _jsx}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";export default(function(){var config=useContext(ConfigContext);var _useParams=useParams(),viewIndex=_useParams.viewIndex,panelIndex=_useParams.panelIndex,recordId=_useParams.recordId;var history=useHistory();var view=config.views[viewIndex];var panel=panelIndex?view.recordViewPanels[panelIndex]:null;var filteredColumns=panel?panel.createConfig.columns:view.columns.filter(function(column){return column.dataType&&(column.canEditOnCreation===true||column.canEdit!==false)&&!column.hidden;});var initialData={};var _iterator=_createForOfIteratorHelper(filteredColumns),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var column=_step.value;if(column.defaultOption){initialData[column.name]=column.defaultOption;}else if(column.dataType===\"tinyint\"){initialData[column.name]=column.optional?\"NULL\":\"0\";}else if(column.dataType===\"select\"&&column.optional){initialData[column.name]=\"NULL\";}else if(column.dataType===\"select\"&&Array.isArray(column.options)){initialData[column.name]=column.options[0];}else if(column.dataType===\"select\"){initialData[column.name]=Object.keys(column.options)[0];}if(column.defaultValue){initialData[column.name]=column.defaultValue;}}}catch(err){_iterator.e(err);}finally{_iterator.f();}var data=useRef(initialData);var _useState=useState(false),_useState2=_slicedToArray(_useState,2),isCreating=_useState2[0],setIsCreating=_useState2[1];var createRecord=/*#__PURE__*/function(){var _ref=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(){var key,_view$createConfig,response;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:if(checkRequiredColumns(filteredColumns,data.current)){_context.next=2;break;}return _context.abrupt(\"return\");case 2:for(key in view.createFilters){data.current[key]=view.createFilters[key];}setIsCreating(true);_context.prev=4;_context.next=7;return axios.post(\"/createRecord\",{viewIndex:viewIndex,panelIndex:panelIndex,recordId:recordId,data:data.current});case 7:response=_context.sent;setIsCreating(false);if(recordId){// Create from panel view\nhistory.push(\"/record/\".concat(viewIndex,\"/\").concat(recordId));}else if(view!==null&&view!==void 0&&(_view$createConfig=view.createConfig)!==null&&_view$createConfig!==void 0&&_view$createConfig.redirectToCreatedItems){history.push(\"/record/\".concat(viewIndex,\"/\").concat(response.data.id));}else{history.push(\"/records/\".concat(viewIndex));}_context.next=16;break;case 12:_context.prev=12;_context.t0=_context[\"catch\"](4);window.swal({title:\"Erreur\",text:axios.isAxiosError(_context.t0)?_context.t0.response.data.message:\"Une erreur est survenue\",dangerMode:true});setIsCreating(false);case 16:case\"end\":return _context.stop();}},_callee,null,[[4,12]]);}));return function createRecord(){return _ref.apply(this,arguments);};}();return/*#__PURE__*/_jsxs(\"div\",{class:\"view\",children:[/*#__PURE__*/_jsx(\"div\",{class:\"viewHeader\",children:/*#__PURE__*/_jsx(\"div\",{class:\"viewTitle\",children:panel?panel.createConfig.label:\"Cr\\xE9er \".concat(view.aNewSingular)})}),/*#__PURE__*/_jsxs(\"div\",{class:\"paddedView\",children:[/*#__PURE__*/_jsx(\"div\",{class:\"form\",children:filteredColumns.map(function(column,index){return/*#__PURE__*/_jsxs(\"div\",{class:\"formElement\",children:[/*#__PURE__*/_jsxs(\"div\",{class:\"formLabel\",children:[column.label,\" \",column.required?\"*\":\"\",column.labelTooltip?/*#__PURE__*/_jsx(LabelTooltip,{text:column.labelTooltip}):null]}),/*#__PURE__*/_jsx(\"div\",{class:\"formInput\",children:/*#__PURE__*/_jsx(Input,{column:column,onChange:function onChange(newValues){data.current=_objectSpread(_objectSpread({},data.current),newValues);}})})]},index);})}),/*#__PURE__*/_jsx(\"div\",{class:\"button greenButton \".concat(isCreating?\"loading\":\"\"),onClick:createRecord,children:isCreating?\"Sauvegarde en cours...\":\"Créer\"}),/*#__PURE__*/_jsx(\"div\",{class:\"button\",onClick:function onClick(){return history.goBack();},children:\"Annuler\"})]})]});});","map":{"version":3,"names":["useContext","useRef","useState","useParams","useHistory","axios","Input","LabelTooltip","ConfigContext","checkRequiredColumns","jsx","_jsx","jsxs","_jsxs","config","_useParams","viewIndex","panelIndex","recordId","history","view","views","panel","recordViewPanels","filteredColumns","createConfig","columns","filter","column","dataType","canEditOnCreation","canEdit","hidden","initialData","_iterator","_createForOfIteratorHelper","_step","s","n","done","value","defaultOption","name","optional","Array","isArray","options","Object","keys","defaultValue","err","e","f","data","_useState","_useState2","_slicedToArray","isCreating","setIsCreating","createRecord","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","key","_view$createConfig","response","wrap","_callee$","_context","prev","next","current","abrupt","createFilters","post","sent","push","concat","redirectToCreatedItems","id","t0","window","swal","title","text","isAxiosError","message","dangerMode","stop","apply","arguments","class","children","label","aNewSingular","map","index","required","labelTooltip","onChange","newValues","_objectSpread","onClick","goBack"],"sources":["/home/runner/work/galadmin/galadmin/src/front/src/pages/CreateRecord.js"],"sourcesContent":["import { useContext, useRef, useState } from \"react\";\nimport {\n useParams,\n useHistory\n} from \"react-router-dom\";\nimport axios from \"axios\";\nimport Input from \"../components/Input\"\nimport LabelTooltip from \"../components/LabelTooltip\"\nimport { ConfigContext } from '../contexts/ConfigContext'\nimport checkRequiredColumns from \"../utils/checkRequiredColumns\";\n\nexport default () => {\n const config = useContext(ConfigContext)\n const { viewIndex, panelIndex, recordId } = useParams();\n const history = useHistory();\n const view = config.views[viewIndex];\n const panel = panelIndex ? view.recordViewPanels[panelIndex] : null;\n const filteredColumns = panel ? panel.createConfig.columns : view.columns.filter(\n column => column.dataType &&\n (column.canEditOnCreation === true || column.canEdit !== false)\n && !column.hidden\n )\n\n const initialData = {}\n for (const column of filteredColumns) {\n if (column.defaultOption) {\n initialData[column.name] = column.defaultOption\n } else if (column.dataType === \"tinyint\") {\n initialData[column.name] = column.optional ? \"NULL\" : \"0\"\n } else if (column.dataType === \"select\" && column.optional) {\n initialData[column.name] = \"NULL\"\n } else if (column.dataType === \"select\" && Array.isArray(column.options)) {\n initialData[column.name] = column.options[0]\n } else if (column.dataType === \"select\") {\n initialData[column.name] = Object.keys(column.options)[0]\n }\n if (column.defaultValue) {\n initialData[column.name] = column.defaultValue\n }\n }\n const data = useRef(initialData)\n const [isCreating, setIsCreating] = useState(false)\n\n const createRecord = async () => {\n if (!checkRequiredColumns(filteredColumns, data.current)) return;\n for (const key in view.createFilters) {\n data.current[key] = view.createFilters[key]\n }\n setIsCreating(true)\n try {\n const response = await axios.post(\"/createRecord\", {\n viewIndex,\n panelIndex,\n recordId,\n data: data.current\n })\n setIsCreating(false)\n if (recordId) { // Create from panel view\n history.push(`/record/${viewIndex}/${recordId}`)\n } else if (view?.createConfig?.redirectToCreatedItems) {\n history.push(`/record/${viewIndex}/${response.data.id}`)\n } else {\n history.push(`/records/${viewIndex}`)\n }\n } catch (error) {\n window.swal({\n title: \"Erreur\",\n text: axios.isAxiosError(error) ? error.response.data.message : \"Une erreur est survenue\",\n dangerMode: true\n })\n setIsCreating(false)\n }\n }\n\n return (\n <div class=\"view\">\n <div class=\"viewHeader\">\n <div class=\"viewTitle\">{panel ? panel.createConfig.label : `Créer ${view.aNewSingular}`}</div>\n </div>\n <div class=\"paddedView\">\n <div class=\"form\">\n {filteredColumns.map((column, index) => {\n return (\n <div class='formElement' key={index}>\n <div class='formLabel'>\n {column.label} {column.required ? \"*\" : \"\"}\n {column.labelTooltip ? <LabelTooltip text={column.labelTooltip} /> : null}\n </div>\n <div class='formInput'>\n <Input\n column={column}\n onChange={(newValues) => { data.current = { ...data.current, ...newValues } }}\n />\n </div>\n </div>\n )\n })}\n </div>\n <div class={`button greenButton ${isCreating ? \"loading\" : \"\"}`} onClick={createRecord}>{isCreating ? \"Sauvegarde en cours...\" : \"Créer\"}</div>\n <div class=\"button\" onClick={() => history.goBack()}>Annuler</div>\n </div>\n </div>\n )\n}"],"mappings":"srBAAA,OAASA,UAAU,CAAEC,MAAM,CAAEC,QAAQ,KAAQ,OAAO,CACpD,OACIC,SAAS,CACTC,UAAU,KACP,kBAAkB,CACzB,MAAO,CAAAC,KAAK,KAAM,OAAO,CACzB,MAAO,CAAAC,KAAK,KAAM,qBAAqB,CACvC,MAAO,CAAAC,YAAY,KAAM,4BAA4B,CACrD,OAASC,aAAa,KAAQ,2BAA2B,CACzD,MAAO,CAAAC,oBAAoB,KAAM,+BAA+B,CAAC,OAAAC,GAAA,IAAAC,IAAA,gCAAAC,IAAA,IAAAC,KAAA,yBAEjE,eAAe,UAAM,CACjB,GAAM,CAAAC,MAAM,CAAGd,UAAU,CAACQ,aAAa,CAAC,CACxC,IAAAO,UAAA,CAA4CZ,SAAS,CAAC,CAAC,CAA/Ca,SAAS,CAAAD,UAAA,CAATC,SAAS,CAAEC,UAAU,CAAAF,UAAA,CAAVE,UAAU,CAAEC,QAAQ,CAAAH,UAAA,CAARG,QAAQ,CACvC,GAAM,CAAAC,OAAO,CAAGf,UAAU,CAAC,CAAC,CAC5B,GAAM,CAAAgB,IAAI,CAAGN,MAAM,CAACO,KAAK,CAACL,SAAS,CAAC,CACpC,GAAM,CAAAM,KAAK,CAAGL,UAAU,CAAGG,IAAI,CAACG,gBAAgB,CAACN,UAAU,CAAC,CAAG,IAAI,CACnE,GAAM,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