update libraries & correction oruga (frontend) - #1815

This commit is contained in:
Laurent GAY
2025-11-05 12:26:08 +01:00
committed by setop
parent 37a2e55191
commit 4198795e9a
3 changed files with 142 additions and 141 deletions

242
package-lock.json generated
View File

@@ -4142,48 +4142,48 @@
} }
}, },
"node_modules/@tiptap/core": { "node_modules/@tiptap/core": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/core/-/core-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-3.10.2.tgz",
"integrity": "sha512-YY/u+RsjLVhcUaIn+wv6vjMx8kldO7SzFFnRu0iuC+QW57VrlqUzqz5PR6CenphwJHuqGM5b3SCr4K2ZPjN8jQ==", "integrity": "sha512-rWgo/9g5lSWT3/00wPvG+3EEuPqDxegYMp0v7YkSuURi43Btf+SG4yGtQ5Si9ICF0NJjeZoHLusrjeVltcrsSw==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/pm": "^3.10.1" "@tiptap/pm": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-blockquote": { "node_modules/@tiptap/extension-blockquote": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-3.10.2.tgz",
"integrity": "sha512-swBtOW1g6LMwA1LTZN2GBpdgwOD6pL/SX1GrfZJ46uQF8uBuErsUc+Iop7SX3pVPGLmQg40k0qW5k9QjEC8dGw==", "integrity": "sha512-hmGnb5SYTXOeeP4+ZriOELewTMEITW6Xj2KJ8UpvCfSlOU33/SGeIlBsGvXsN3M4CU66HrK6K1LQVM8LiyEITA==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-bold": { "node_modules/@tiptap/extension-bold": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-3.10.2.tgz",
"integrity": "sha512-8TE9oFEonoAs0k3Vd1RGW1FiDBayJiBWyd+1eoH6EEmk1DD7quHcP1mBNZwPpjhONMITaSmizs2FjweWYibFwA==", "integrity": "sha512-lgUpWuBhlZwf+/pVKfqVUpHfA5PDECDyobcXmMrRSpreM+58psZtWDZMZ21K94SmJukRidW7vdNWoTSRSEiY4Q==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-bubble-menu": { "node_modules/@tiptap/extension-bubble-menu": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-3.10.2.tgz",
"integrity": "sha512-oNRXAupEeDCeI4nkIhCYSUuT9eZeHDWXcC5fQeWDzCPv3hOcm7W4jqUGJhWWD6qhcbmUSKmsGDTLkBfNk4NT4Q==", "integrity": "sha512-gT4PMDXWdUAdijPH35LDUsPv+YIIhEHUuvqPFBGRudrycQ2TlWMmRZ2jYNg1PGBh+/UHVR2l8TNuZ5QSr88ISQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@floating-ui/dom": "^1.0.0" "@floating-ui/dom": "^1.0.0"
@@ -4193,53 +4193,53 @@
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1", "@tiptap/core": "^3.10.2",
"@tiptap/pm": "^3.10.1" "@tiptap/pm": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-bullet-list": { "node_modules/@tiptap/extension-bullet-list": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-3.10.2.tgz",
"integrity": "sha512-SzE8u9QrpzculNmtxKJZAvNG2hGLwishk4oUocK8aAYGUhesKd4pLHE1emA54TgWP0t1aXstg49QIhmHcUND0A==", "integrity": "sha512-WVUklxiqWHpJnkGGNL3mygDKRDUuhh5HhmKUrBrNlvb+yQgglau+S94F4bobvtiwYBSHWS4HdGTXTQhdX9QfwQ==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/extension-list": "^3.10.1" "@tiptap/extension-list": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-document": { "node_modules/@tiptap/extension-document": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-3.10.2.tgz",
"integrity": "sha512-HM9lmPGKX1s9NJYQh1BD6oLqwh0gWylNmgkT6hEI7lm7DANxaYyMZue9anCDae+K6tln22BauXGAfbRb6Bs0Lw==", "integrity": "sha512-+H+H/8OMgTK59QSQeWRqiBB2nufh4rglVCP/RW+iZ8GTH5P5w3dObXVp2OBLdtUG2BRKIVmGcuCxLBI2jer+Tg==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-dropcursor": { "node_modules/@tiptap/extension-dropcursor": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-3.10.2.tgz",
"integrity": "sha512-fF3h2Oac8vr21uJh+tiUEz/XUoEzXqx5JpoyWj6BmrTulaMY5uw+SUbh1MxN2EeZ+dUvoc8wPATvn0TTq/3GpA==", "integrity": "sha512-fwb4beHPRdUhnLjdwNfcLa90NAYMzWfE4zwR6hdCHWbamAuAgb0g2O1bU89PcCVeYcFeKPC+TquOG8q8cxeE7A==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/extensions": "^3.10.1" "@tiptap/extensions": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-floating-menu": { "node_modules/@tiptap/extension-floating-menu": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-3.10.2.tgz",
"integrity": "sha512-D5ociNnOI3OP4NxS8eKiiqjUdO7geOguK4ZhJo1CFiIXXoLyV20wqqu4fe8Hq9+4gbEyyJ55Tz/AzLiaXw/GPQ==", "integrity": "sha512-B14/MFffhyowF4/OIive8Z/pL0LWxZxehVBMm4eGG09O01s9/oTc2pDkhMUxbR/1ip81Se1/i+KlTbxogcuduA==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"funding": { "funding": {
@@ -4248,79 +4248,79 @@
}, },
"peerDependencies": { "peerDependencies": {
"@floating-ui/dom": "^1.0.0", "@floating-ui/dom": "^1.0.0",
"@tiptap/core": "^3.10.1", "@tiptap/core": "^3.10.2",
"@tiptap/pm": "^3.10.1" "@tiptap/pm": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-gapcursor": { "node_modules/@tiptap/extension-gapcursor": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-3.10.2.tgz",
"integrity": "sha512-Tg43PHL21ZgVXiQZrXmMWCx8jZGEfxB7xxamEkl0CdRFGkcXRmARXuNKT72NtCI3t7/QSlKbpyD/2/9RFGvyeA==", "integrity": "sha512-sBCu8enXm3W3BjnvvGBrzAiSuQSVZyhbQAgaFKjHJKBQRbek55EEbRA0ETUmHcSQbYf0D8hmDt2++HAyEASEsQ==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/extensions": "^3.10.1" "@tiptap/extensions": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-heading": { "node_modules/@tiptap/extension-heading": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-3.10.2.tgz",
"integrity": "sha512-udG4cG1pmumECEb6WDW/qYtuHcHscTMPCR6mG8hz0WpYk1S+LQWGPaQPdvHK6qYrMo/3YwQcYZv5vuQiB3dpjg==", "integrity": "sha512-f4NaJHYejn88IN8Q7yeGT2sdS+jb5fLUhj5zKiqC4fWqVeXa4Sh4TpA8Be13Un8KBRY4KSrVLBjcuF121hEYCw==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-history": { "node_modules/@tiptap/extension-history": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-3.10.2.tgz",
"integrity": "sha512-X6GjCrRYfyjC5+ZsBwrKz9GM/iGzkLvbDM1tiCgse79AzIB5M4dF15OZ6bjFx1DgrVBXMwyjFNkvgER0KBGgCQ==", "integrity": "sha512-1u65sQt0vAyXDOyA2YRgyMcPv6pEt60JEU3IOlt1flVYbIcTFy9X8FILmXlq5MC+bRyJXWn7SfjnJWhWbVv7zA==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/extensions": "^3.10.1" "@tiptap/extensions": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-image": { "node_modules/@tiptap/extension-image": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-3.10.2.tgz",
"integrity": "sha512-89NU8LAcSW49mwKDW86I6jf4M9vWbHKMAo6Pj4cees5FPjCk/6XAImjlC3WPr+CfjmM1Lmy7+BnOrVayyUHyVg==", "integrity": "sha512-+EeEOwUCQ4K7wFw0xkVPCwrzRMj5lEW7VdtRj+0zVtAMI+HxO4B6/+ZXyuDybBjtGBgZKdg5DP3pOz0XUCA+vw==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-italic": { "node_modules/@tiptap/extension-italic": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-3.10.2.tgz",
"integrity": "sha512-/VbABhC20z/KWhKjcFUk7jJuOgD8Hp2V5lr6fOLFJaRpptoJhmbCRrPJzEZhs/Z55nv6aF7ZxVxtjzO0FpKneQ==", "integrity": "sha512-MnRbTSNtjLE56E7k0CFprIIfr2yaT0Yd0dwYH7pvWePmSYeVFQDwu9CcVOzF58iv5BasyXc3sO2yhWlXRTY7Ig==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-link": { "node_modules/@tiptap/extension-link": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-3.10.2.tgz",
"integrity": "sha512-87OBwlU/ylPCDNhNyKPQaM0KiT0FscyAqh8/oErmI7gKVdrUNfO4zcqIOKHql32lEu9KsmpSum/jSeeUJMR4pA==", "integrity": "sha512-c7ZvinwECBEn3IVI9XpUJKEwvrLtZDiEaYNAjBQgShF1EUCf7JVcNK9wcrFm/oDw9es1cq0yrKqsbBh/bvGO2Q==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"linkifyjs": "^4.3.2" "linkifyjs": "^4.3.2"
@@ -4330,14 +4330,14 @@
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1", "@tiptap/core": "^3.10.2",
"@tiptap/pm": "^3.10.1" "@tiptap/pm": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-list": { "node_modules/@tiptap/extension-list": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-list/-/extension-list-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-list/-/extension-list-3.10.2.tgz",
"integrity": "sha512-v1TqDqNq3RXwKXyCoObv+42qrxAEtpac3BRZKWwwUcxM55oP5HxeaiEo2usheLs3+fEFkKtWKof2I9gUW0HLvA==", "integrity": "sha512-4IGOQRcy/REuaskha5z29Vb5Hn3l5jTgfT7+aUO5cwAGZFOlEzSgOGBCq2sH4gVSfBqzdG5mGSH4+LEdwfpW8g==",
"license": "MIT", "license": "MIT",
"peer": true, "peer": true,
"funding": { "funding": {
@@ -4345,120 +4345,120 @@
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1", "@tiptap/core": "^3.10.2",
"@tiptap/pm": "^3.10.1" "@tiptap/pm": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-list-item": { "node_modules/@tiptap/extension-list-item": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-3.10.2.tgz",
"integrity": "sha512-YCK2N2RJGnvMTolwMD3kutnN4x1duBhUH14SdigJuPQLhDi02ck6jjTCNTjQRgDfpL9qfSLpPdn0ou7+NbFu3g==", "integrity": "sha512-lG3qyk49BEYWiwoqc/7Cy0A+T13rgld3e//X3YYb7AFygn9oDKK13QlzoGdurgk7JGF0e5bYUHwh/D7eK9xg3g==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/extension-list": "^3.10.1" "@tiptap/extension-list": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-mention": { "node_modules/@tiptap/extension-mention": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-mention/-/extension-mention-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-mention/-/extension-mention-3.10.2.tgz",
"integrity": "sha512-s7zC3gBQQL99vH37/WdagfLFIDmSJz1uV6fsouckIag0nHBxKTPsZy4LR8CRZZ6RECIyj2WGm71GoVqKUUSEBw==", "integrity": "sha512-/gyUIMNKBoXOIy0SvjNYJ7G/yiYsnwwbnBo2hQgDza4p53KgnpTzg623/6GHDZSk7zy2S3O+5yWlzEmtrUva3A==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1", "@tiptap/core": "^3.10.2",
"@tiptap/pm": "^3.10.1", "@tiptap/pm": "^3.10.2",
"@tiptap/suggestion": "^3.10.1" "@tiptap/suggestion": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-ordered-list": { "node_modules/@tiptap/extension-ordered-list": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-3.10.2.tgz",
"integrity": "sha512-dpKNFFF8QqfwSuXYoTktb3Woeqqjc3pZ4Vx4F4JSyzIlgBPLim0Wkn18ClJFIC2But/FcLm6NQrlpnimExfFlQ==", "integrity": "sha512-zs8wK1GNVedGENZPJOYUMtiLLPPASvJtabS2HTLPQGnpVeXfF0toftdVYDhGRGoQBBDLDjNyyW5ARzJwwXbTzQ==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/extension-list": "^3.10.1" "@tiptap/extension-list": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-paragraph": { "node_modules/@tiptap/extension-paragraph": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-3.10.2.tgz",
"integrity": "sha512-ocxyg947q5yOSyripEingN7SnsJ/4cYuxOg8BdNlSao8HzUTw5298/81Almf2pT0FNAJHMp8R4Xsii2oMlJ/yQ==", "integrity": "sha512-k84BMUxpeFTEIoUil4tnXF5viY4oUHXq4wz4JkO/LMEW6lAkO/PhJnJMMrcEJu0sox4aoNppcnS236RNXCiPpg==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-placeholder": { "node_modules/@tiptap/extension-placeholder": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-3.10.2.tgz",
"integrity": "sha512-7R31ytEtyYKNrj3g610sHiUvseRnNyzxMlYtwXEQIZ8w3St5QduwJm+AMOygS4Nmdg88C1zsu1VIiRZCKFutbw==", "integrity": "sha512-pBbxFs4GvrjlcJduRXLvt/DH7oniHaY+0pFwrfLIGIEGfIO2hqkApy36q41xl12v/ud2xKfUSoNRm1Uw1/s9/w==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/extensions": "^3.10.1" "@tiptap/extensions": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-strike": { "node_modules/@tiptap/extension-strike": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-3.10.2.tgz",
"integrity": "sha512-NYnQOQM/HRvOcCRdetZthMMOZFpxpJ2PBuYg6u6ysotFJPWVVaegtNfZ4se0UdxDNPYInTW3gAgF05Tq/XszRQ==", "integrity": "sha512-e6+WaEhWlsbV3mw8kSMwgq7Tty8BWoRGFGQj5B6Tg7bZUg3qgdE0Kp2s6MGNNikpuDchOebbIZxOk/qfVqgUbw==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-text": { "node_modules/@tiptap/extension-text": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-3.10.2.tgz",
"integrity": "sha512-Af0WBQJvjiTnEArutOZENCVNGuK7Ln3BwUH3jXsk4OUHxOyt5JK9qsDePsO46Dj9OlXHbnBi5hAnhJGI8zGLzw==", "integrity": "sha512-5gHtEh7eIjFYtwIYvjJp1Sg7qlS1ObOLIkYGOm763t0JJbePXnkA5EnyfxAq3g+wfPajK7qgs3uqArCjlHA33w==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extension-underline": { "node_modules/@tiptap/extension-underline": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extension-underline/-/extension-underline-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extension-underline/-/extension-underline-3.10.2.tgz",
"integrity": "sha512-U56hHqCSjwP8wAq28n6A+l+aNW/DxJXiaNwXs7YlC4IjRDkbsl5q53UcOlRCoVnYVY2mxj1L6Zmu2u6dhjeuSQ==", "integrity": "sha512-/n/+YXYYGmOOQl8zPZiyZFRtOmsnTe1TfEjNcsJcIUGW4X5teddp4lVTcvGO3aaufH48FcYnSVJya7A9dw3ABg==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1" "@tiptap/core": "^3.10.2"
} }
}, },
"node_modules/@tiptap/extensions": { "node_modules/@tiptap/extensions": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/extensions/-/extensions-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/extensions/-/extensions-3.10.2.tgz",
"integrity": "sha512-tZZ1IGIcch4ezuoid3iPSirh0s2GQuSKY6ceWRJCVeZ2gT2LsN3i10tqfidcYrsmyQRMuM7QUfRmH5HOKJZ73Q==", "integrity": "sha512-XyvMn6B6PCPsgV6VMLiS1QXI1OKarBAYwXmqsE+gCzzYyXxYX4sLUlQ8JKysREyIGMHxSg5vgOajsgXgFMrvyA==",
"license": "MIT", "license": "MIT",
"peer": true, "peer": true,
"funding": { "funding": {
@@ -4466,14 +4466,14 @@
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1", "@tiptap/core": "^3.10.2",
"@tiptap/pm": "^3.10.1" "@tiptap/pm": "^3.10.2"
} }
}, },
"node_modules/@tiptap/pm": { "node_modules/@tiptap/pm": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-3.10.2.tgz",
"integrity": "sha512-LhTRI+bECLFqitWN821A7faVFVw5OitFGWn45LIIRc/1Jg3lkqsaqx3LcLN1sjXd+f/vfoeXLKSD6VJvv/B/nQ==", "integrity": "sha512-qXsp7guPLoir49Fh6IOzg6IAJA3tYYy/1316vv7DhJwmdF9GebkwgFcei2XGk6vKlwv18jWV+BlqDv9iwQ5Alg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"prosemirror-changeset": "^2.3.0", "prosemirror-changeset": "^2.3.0",
@@ -4501,36 +4501,36 @@
} }
}, },
"node_modules/@tiptap/suggestion": { "node_modules/@tiptap/suggestion": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/suggestion/-/suggestion-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/suggestion/-/suggestion-3.10.2.tgz",
"integrity": "sha512-QpSMsMtpsBSapCDytjdKXLcuPunnd00fGSrYp23C4BDI2Ph7JOYHsgv/wIKgpAYg2fpbJT6DIIbpSHhWluEFyw==", "integrity": "sha512-mgai1SV7a95UudYmKNovgr5blL2Nw876hQ96S2x2uRbWnSo4gE3rTwWk1PIMWn8ov7ULsA36WAyhnK2kXxAWKA==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^3.10.1", "@tiptap/core": "^3.10.2",
"@tiptap/pm": "^3.10.1" "@tiptap/pm": "^3.10.2"
} }
}, },
"node_modules/@tiptap/vue-3": { "node_modules/@tiptap/vue-3": {
"version": "3.10.1", "version": "3.10.2",
"resolved": "https://registry.npmjs.org/@tiptap/vue-3/-/vue-3-3.10.1.tgz", "resolved": "https://registry.npmjs.org/@tiptap/vue-3/-/vue-3-3.10.2.tgz",
"integrity": "sha512-FbJL8JsqR4V9/LnXL1PHmhmzb5476C3Hn3nFYjX+ozPNvurPz/X4qj4YM56V3p7DcOLdEyfh7usg6FwYKyuAAA==", "integrity": "sha512-eFBGF9NbC65qcudkYKm+A7x2RZFGAqaLk/xXeDMV3IZTstgBqywUPxCvNV+H7D+gdYf37HX2gNmByYojZ1PfdA==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/ueberdosis" "url": "https://github.com/sponsors/ueberdosis"
}, },
"optionalDependencies": { "optionalDependencies": {
"@tiptap/extension-bubble-menu": "^3.10.1", "@tiptap/extension-bubble-menu": "^3.10.2",
"@tiptap/extension-floating-menu": "^3.10.1" "@tiptap/extension-floating-menu": "^3.10.2"
}, },
"peerDependencies": { "peerDependencies": {
"@floating-ui/dom": "^1.0.0", "@floating-ui/dom": "^1.0.0",
"@tiptap/core": "^3.10.1", "@tiptap/core": "^3.10.2",
"@tiptap/pm": "^3.10.1", "@tiptap/pm": "^3.10.2",
"vue": "^3.0.0" "vue": "^3.0.0"
} }
}, },
@@ -13794,9 +13794,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/vite": { "node_modules/vite": {
"version": "7.1.12", "version": "7.2.0",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.1.12.tgz", "resolved": "https://registry.npmjs.org/vite/-/vite-7.2.0.tgz",
"integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==", "integrity": "sha512-C/Naxf8H0pBx1PA4BdpT+c/5wdqI9ILMdwjSMILw7tVIh3JsxzZqdeTLmmdaoh5MYUEOyBnM9K3o0DzoZ/fe+w==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@@ -20,6 +20,7 @@
:title="t('Use my location')" :title="t('Use my location')"
/> />
<o-autocomplete <o-autocomplete
:key="keyaddress"
v-model="queryTextWithDefault" v-model="queryTextWithDefault"
:options="addressData" :options="addressData"
:placeholder="placeholderWithDefault" :placeholder="placeholderWithDefault"
@@ -28,17 +29,17 @@
expanded expanded
:id="id" :id="id"
:disabled="disabled" :disabled="disabled"
@input="asyncData" @update:input="asyncData"
@select="setSelected" @select="setSelected"
class="FullAddressAutoComplete-o-autocomplete !mt-0 !h-full" class="FullAddressAutoComplete-o-autocomplete !mt-0 !h-full"
> >
<template #default="{ option }"> <template #default="{ option }">
<p class="flex gap-1"> <p class="flex gap-1">
<o-icon :icon="addressToPoiInfos(option).poiIcon.icon" /> <o-icon :icon="addressToPoiInfos(option.value).poiIcon.icon" />
<b>{{ addressToPoiInfos(option).name }}</b> <b>{{ addressToPoiInfos(option.value).name }}</b>
</p> </p>
<p class="text-small"> <p class="text-small">
{{ addressToPoiInfos(option).alternativeName }} {{ addressToPoiInfos(option.value).alternativeName }}
</p> </p>
</template> </template>
<template #empty> <template #empty>
@@ -233,6 +234,7 @@ const props = withDefaults(
); );
const componentId = ref(0); const componentId = ref(0);
const keyaddress = ref(0);
const emit = defineEmits(["update:modelValue"]); const emit = defineEmits(["update:modelValue"]);
@@ -327,7 +329,7 @@ const { load: searchAddressLoad, refetch: searchAddressRefetch } =
searchAddress: IAddress[]; searchAddress: IAddress[];
}>(ADDRESS); }>(ADDRESS);
function convert_to_complete(addesses: IAddress[]) { function convert_to_complete(addesses: IAddress[]): OptionsProp {
return addesses.map((elem: IAddress) => { return addesses.map((elem: IAddress) => {
return { return {
label: elem.description, // addressFullName(elem), label: elem.description, // addressFullName(elem),
@@ -366,7 +368,6 @@ const asyncData = async (query: string): Promise<void> => {
isFetching.value = false; isFetching.value = false;
return; return;
} }
console.debug("onAddressSearchResult", result.searchAddress);
addressData.value = convert_to_complete(result.searchAddress); addressData.value = convert_to_complete(result.searchAddress);
isFetching.value = false; isFetching.value = false;
} catch (e) { } catch (e) {
@@ -385,7 +386,7 @@ const queryText = ref();
const queryTextWithDefault = computed({ const queryTextWithDefault = computed({
get() { get() {
return ( return (
selectedAddressText.value ?? queryText.value ?? props.defaultText ?? "" queryText.value ?? selectedAddressText.value ?? props.defaultText ?? ""
); );
}, },
set(newValue: string) { set(newValue: string) {
@@ -398,6 +399,8 @@ const resetAddress = (): void => {
emit("update:modelValue", null); emit("update:modelValue", null);
resetAddressAction(selected); resetAddressAction(selected);
queryTextWithDefault.value = ""; queryTextWithDefault.value = "";
addressData.value = [];
keyaddress.value = keyaddress.value + 1;
}; };
const locateMe = async (): Promise<void> => { const locateMe = async (): Promise<void> => {
@@ -439,16 +442,14 @@ const reverseGeoCode = async (e: LatLng, zoom: number) => {
locale: locale.value as unknown as string, locale: locale.value as unknown as string,
}); });
if (!result) return; if (!result) return;
addressData.value = []; addressData.value = convert_to_complete(result.reverseGeocode);
if (result.reverseGeocode.length > 0) { if (result.reverseGeocode.length > 0) {
const foundAddress = result.reverseGeocode[0]; const foundAddress = result.reverseGeocode[0];
Object.assign(selected, foundAddress); Object.assign(selected, foundAddress);
queryText.value = addressFullName(foundAddress);
addressData.value = [
{ label: queryTextWithDefault.value, value: foundAddress },
];
console.debug("reverse geocode succeded, setting new address"); console.debug("reverse geocode succeded, setting new address");
queryText.value = foundAddress;
keyaddress.value = keyaddress.value + 1;
emit("update:modelValue", selected); emit("update:modelValue", selected);
} }
} catch (err) { } catch (err) {

View File

@@ -32,7 +32,13 @@
:placeholder="t('e.g. Nantes, Berlin, Cork, …')" :placeholder="t('e.g. Nantes, Berlin, Cork, …')"
v-on:update:modelValue="modelValueUpdate" v-on:update:modelValue="modelValueUpdate"
> >
<o-dropdown v-model="distance" position="bottom-right" v-if="distance"> <o-dropdown
v-model="distance"
:options="distanceList"
selectable
position="bottom-right"
v-if="distance"
>
<template #trigger="{ active }"> <template #trigger="{ active }">
<o-button <o-button
class="!h-full" class="!h-full"
@@ -42,12 +48,6 @@
{{ distanceText }} {{ distanceText }}
</o-button> </o-button>
</template> </template>
<o-dropdown-item
v-for="distance_item in distanceList"
:value="distance_item.distance"
:label="distance_item.label"
:key="distance_item.distance"
/>
</o-dropdown> </o-dropdown>
</full-address-auto-complete> </full-address-auto-complete>
</div> </div>
@@ -172,7 +172,7 @@ const distanceList = computed(() => {
const distances = []; const distances = [];
[5, 10, 25, 50, 100, 150].forEach((value) => { [5, 10, 25, 50, 100, 150].forEach((value) => {
distances.push({ distances.push({
distance: value, value: value,
label: t( label: t(
"{number} kilometers", "{number} kilometers",
{ {