Compare commits

..

18 Commits

Author SHA1 Message Date
Renovate Bot 40bb97e194 chore(deps): update dependency eslint to v9.39.4 2026-06-01 08:02:45 +00:00
Simon Vieille ce01983f1c Merge pull request 'fix: #489: allow PHP 8.5 compatibility' (#490) from feature/php85 into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/490
2026-04-05 09:23:27 +02:00
Simon Vieille 6ee79a3110 chore: app version 2026-04-05 09:23:09 +02:00
Simon Vieille a32bf417a7 fix: #489: allow PHP 8.5 compatibility 2026-04-05 09:12:58 +02:00
Simon Vieille 337e1a07e3 doc: update changelog 2026-03-08 19:10:29 +01:00
gallegonovato fccfe1341a Translated using Weblate (Spanish)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/es/
2026-03-08 19:09:32 +01:00
Outbreak2096 242569316f Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/zh_Hans/
2026-03-08 19:09:31 +01:00
gallegonovato 78888460fc Translated using Weblate (Spanish)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/es/
2026-03-08 19:09:31 +01:00
Simon Vieille f49b30b20e Merge pull request 'bugfix/intl-segmenter-polyfill' (#479) from bugfix/intl-segmenter-polyfill into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/479
2026-03-08 19:06:18 +01:00
Simon Vieille 0067b4e1c8 doc: update changelog 2026-03-08 19:05:56 +01:00
Simon Vieille 77cf610c8b Merge branch 'develop' into bugfix/intl-segmenter-polyfill 2026-03-08 19:05:14 +01:00
Simon Vieille 5cd106640c Merge pull request 'bugfix/issue475-orm' (#476) from bugfix/issue475-orm into develop
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/476
2026-03-01 13:18:24 +01:00
Simon Vieille d057cd7665 doc: update changelog 2026-03-01 13:11:26 +01:00
Simon Vieille 520225603b fix(admin/*SaveButton): cast settings to string 2026-03-01 13:09:02 +01:00
Simon Vieille c2ecc5bf98 fix(LangRepository): check orm capabilities to query entities 2026-03-01 13:08:26 +01:00
Simon Vieille 8cca320a43 chore: set side_menu as package name 2026-03-01 13:07:07 +01:00
Simon Vieille 7d26be253a doc: update changelog 2026-01-10 15:51:26 +01:00
Simon Vieille 0437019bb0 fix #464: add Intl.Segmenter polyfill 2026-01-10 15:49:16 +01:00
12 changed files with 308 additions and 222 deletions
+132 -115
View File
@@ -1,5 +1,22 @@
## [Unreleased] ## [Unreleased]
## 5.3.0
### Added
* fix #489: allow PHP 8.5 compatibility
## 5.2.2
### Fixed
* fix #464: add Intl.Segmenter polyfill
### Added
* add new translations
## 5.2.1
### Added
* chore: set side_menu as package name
### Fixed
* fix(LangRepository): check orm capabilities to query entities
* fix(admin/\*SaveButton): cast settings to string
## 5.2.0 ## 5.2.0
### Added ### Added
* add compatibility with NC33 * add compatibility with NC33
@@ -8,7 +25,7 @@
## 5.1.3 ## 5.1.3
### Fixed ### Fixed
- fix #445: fix build by adding package-lock.json * fix #445: fix build by adding package-lock.json
## 5.1.2 ## 5.1.2
### Added ### Added
@@ -342,323 +359,323 @@
## 2.3.2 ## 2.3.2
### Fixed ### Fixed
- fix hidden menu * fix hidden menu
## 2.3.1 ## 2.3.1
### Fixed ### Fixed
- fix #88: does not work with default menu * fix #88: does not work with default menu
## 2.3.0 ## 2.3.0
### Added ### Added
- fix #82: add an option to keep visible an app in both menus * fix #82: add an option to keep visible an app in both menus
- fix #83: add custom categories * fix #83: add custom categories
- add auto-reload when settings are saved * add auto-reload when settings are saved
## 2.2.0 ## 2.2.0
### Added ### Added
- fix #84: update icons * fix #84: update icons
- fix #85: use Nextcloud colors by default * fix #85: use Nextcloud colors by default
### Fixed ### Fixed
- fix categories order in large menu * fix categories order in large menu
## 2.1.0 ## 2.1.0
### Added ### Added
- add compatibility with Nextcloud 23 * add compatibility with Nextcloud 23
## 2.0.1 ## 2.0.1
### Fixed ### Fixed
- fix #78: Top menu is broken - invisible apps are shown * fix #78: Top menu is broken - invisible apps are shown
- fix #77: Update personal settings - HTTP error 412 (Precondition Failed) * fix #77: Update personal settings - HTTP error 412 (Precondition Failed)
- fix js error on the personal settings page (undefined sortable) * fix js error on the personal settings page (undefined sortable)
## 2.0.0 ## 2.0.0
### Fixed ### Fixed
- fix #66: removing usage of setInterval * fix #66: removing usage of setInterval
- fix #73: icon background * fix #73: icon background
### Changed ### Changed
- fix #67: replace jQuery with Vanilla JS * fix #67: replace jQuery with Vanilla JS
### Removed ### Removed
- Nextcloud 18 is not supported anymore * Nextcloud 18 is not supported anymore
## 1.28.0 ## 1.28.0
### Added ### Added
- fix #63: add a new side menu with categories * fix #63: add a new side menu with categories
## 1.27.2 ## 1.27.2
### Fixed ### Fixed
- fix #62: hide app notification icon * fix #62: hide app notification icon
## 1.27.1 ## 1.27.1
### Fixed ### Fixed
- fix German translation render * fix German translation render
## 1.27.0 ## 1.27.0
### Added ### Added
- hide personal settings access when settings are forced by the administrator * hide personal settings access when settings are forced by the administrator
### Fixed ### Fixed
- improve German translations * improve German translations
## 1.26.0 ## 1.26.0
### Added ### Added
- add Czech translation * add Czech translation
## 1.25.2 ## 1.25.2
### Fixed ### Fixed
- fix CHANGELOG * fix CHANGELOG
## 1.25.1 ## 1.25.1
### Added ### Added
- add PHP version as dependency * add PHP version as dependency
- add chinese translation * add chinese translation
### Fixed ### Fixed
- fix CHANGELOG * fix CHANGELOG
## 1.25.0 ## 1.25.0
### Added ### Added
- add compatibility with Nextcloud 22 * add compatibility with Nextcloud 22
- add CHANGELOG.md (fix #59) * add CHANGELOG.md (fix #59)
- update app icon * update app icon
## 1.24.0 ## 1.24.0
### Added ### Added
- add option to define the background opacity (fix #53) * add option to define the background opacity (fix #53)
- add missing translations * add missing translations
## 1.23.1 ## 1.23.1
### Fixed ### Fixed
- fix but wih dark mode opener option * fix but wih dark mode opener option
## 1.23.0 ## 1.23.0
### Added ### Added
- add support of dark Theme and Breeze Dark * add support of dark Theme and Breeze Dark
- add support of Nextcloud 21 * add support of Nextcloud 21
## 1.22.2 ## 1.22.2
### Fixed ### Fixed
- fix regression: apps does not open in new tab (fix #55) * fix regression: apps does not open in new tab (fix #55)
## 1.22.1 ## 1.22.1
### Fixed ### Fixed
- fix regression: apps does not open in new tab * fix regression: apps does not open in new tab
## 1.22.0 ## 1.22.0
### Added ### Added
- Add option to sort categories (fix #53) * Add option to sort categories (fix #53)
- Update admin UI * Update admin UI
## 1.21.0 ## 1.21.0
### Added ### Added
- [FEATURE] Logo in the menu links to main page of installation (#51) * [FEATURE] Logo in the menu links to main page of installation (#51)
## 1.20.1 ## 1.20.1
### Fixed ### Fixed
- Fix translations * Fix translations
## 1.20.0 ## 1.20.0
### Added ### Added
- [FEATURE] Ability to remove apps from the Big Menu (#49) * [FEATURE] Ability to remove apps from the Big Menu (#49)
## 1.19.1 ## 1.19.1
### Fixed ### Fixed
- fix #47: setting for list/grid view in files app flashes and dissapears * fix #47: setting for list/grid view in files app flashes and dissapears
## 1.19.0 ## 1.19.0
### Added ### Added
- add option: the menu is enabled by default for users (fix #46) * add option: the menu is enabled by default for users (fix #46)
## 1.18.0 ## 1.18.0
### Added ### Added
- add option to show link to settings (fix #44) * add option to show link to settings (fix #44)
- refactor menus using several components * refactor menus using several components
## 1.17.0 ## 1.17.0
### Added ### Added
- compliance with the app checker * compliance with the app checker
- add an action to export the configuration * add an action to export the configuration
- add an action to purge the cache * add an action to purge the cache
## 1.16.3 ## 1.16.3
### Fixed ### Fixed
- fix links that must be opened in new window (https://help.nextcloud.com/t/external-petit-probleme-concernant-lapplication-external-sites-ou-sites-externes/94884/11) * fix links that must be opened in new window (https://help.nextcloud.com/t/external-petit-probleme-concernant-lapplication-external-sites-ou-sites-externes/94884/11)
## 1.16.2 ## 1.16.2
### Fixed ### Fixed
- fix issue with personal settings when global settings are forced * fix issue with personal settings when global settings are forced
## 1.16.1 ## 1.16.1
### Fixed ### Fixed
- fix #42: add cache to manage failures to access apps.nextcloud.com * fix #42: add cache to manage failures to access apps.nextcloud.com
- fix #41: side menu was hover apps list * fix #41: side menu was hover apps list
## 1.16.0 ## 1.16.0
### Added ### Added
- add an option to force settings to users (fix #38) * add an option to force settings to users (fix #38)
## 1.15.0 ## 1.15.0
### Changed ### Changed
- New name * New name
### Fixed ### Fixed
- Fix #36: always displayed is not expanding * Fix #36: always displayed is not expanding
## 1.14.0 ## 1.14.0
### Added ### Added
- add an api accessed by components * add an api accessed by components
- add a config proxy in controllers * add a config proxy in controllers
### Fixed ### Fixed
- fix translations * fix translations
## 1.13.0 ## 1.13.0
### Added ### Added
- add an option to display the avatar instead of the logo (fix #34) * add an option to display the avatar instead of the logo (fix #34)
## 1.12.3 ## 1.12.3
### Added ### Added
- add a delay before moving elements (fix #33) * add a delay before moving elements (fix #33)
## 1.12.2 ## 1.12.2
### Fixed ### Fixed
- fix #30: `Always displayed` menu can not be close using touchscreens * fix #30: `Always displayed` menu can not be close using touchscreens
## 1.12.1 ## 1.12.1
### Fixed ### Fixed
- fix typo * fix typo
- fix translations * fix translations
## 1.12.0 ## 1.12.0
### Fixed ### Fixed
- fix #30: administrators and users can select what apps must be opened in new tab * fix #30: administrators and users can select what apps must be opened in new tab
- fix typo * fix typo
## 1.11.0 ## 1.11.0
### Added ### Added
- add the option for opening apps in new tab (fix #29) * add the option for opening apps in new tab (fix #29)
### Fixed ### Fixed
- fix issue with the header of the always displayed menu * fix issue with the header of the always displayed menu
## 1.10.0 ## 1.10.0
### Added ### Added
- add images to select the display of the menu * add images to select the display of the menu
- add live preview * add live preview
- update translations * update translations
- update app info * update app info
## 1.9.3 ## 1.9.3
### Fixed ### Fixed
- fix regression with logo display * fix regression with logo display
## 1.9.2 ## 1.9.2
### Added ### Added
- add the option “always displayed” which fixes the position of the menu to the left and always displays the application icons (fix #21, fix #2) * add the option “always displayed” which fixes the position of the menu to the left and always displays the application icons (fix #21, fix #2)
## 1.8.6 ## 1.8.6
### Added ### Added
- add translations: `fr` and `de` * add translations: `fr` and `de`
- improve and publish the `Makefile` * improve and publish the `Makefile`
- update documentation * update documentation
## 1.8.5 ## 1.8.5
### Fixed ### Fixed
- fix #28: menu items invisible after 1.8.4 * fix #28: menu items invisible after 1.8.4
## 1.8.4 ## 1.8.4
### Fixed ### Fixed
- fix #27: disable side menu on public pages - broken in 1.8.3 * fix #27: disable side menu on public pages - broken in 1.8.3
## 1.8.3 ## 1.8.3
### Fixed ### Fixed
- fix alphabetic order of apps (#26) * fix alphabetic order of apps (#26)
## 1.8.2 ## 1.8.2
### Added ### Added
- add icon for closing the big menu (fix #25) * add icon for closing the big menu (fix #25)
### Fixed ### Fixed
- fix hidden icons in the top menu (fix #23) * fix hidden icons in the top menu (fix #23)
- fix missing apps (fix #24) * fix missing apps (fix #24)
## 1.8.1 ## 1.8.1
### Fixed ### Fixed
- fix issue with links * fix issue with links
- fix missing l10n files * fix missing l10n files
## 1.8.0 ## 1.8.0
### Added ### Added
- add a `big menu` display (fix #22) * add a `big menu` display (fix #22)
- add the possibility to choose what apps are displayed in the top menu (fix #22) * add the possibility to choose what apps are displayed in the top menu (fix #22)
- add icon color filter * add icon color filter
- add icon opacity filter * add icon opacity filter
## 1.8.0-rc2 ## 1.8.0-rc2
## 1.7.0 ## 1.7.0
### Added ### Added
- add a loader when the page is unloading * add a loader when the page is unloading
- add compatibility with Nextcloud 19 * add compatibility with Nextcloud 19
## 1.6.3 ## 1.6.3
### Fixed ### Fixed
- fix #20: add a shortcut to open and to hide the menu * fix #20: add a shortcut to open and to hide the menu
## 1.6.2 ## 1.6.2
### Fixed ### Fixed
- fix #19: add a cache to limit flashes * fix #19: add a cache to limit flashes
## 1.6.1 ## 1.6.1
### Fixed ### Fixed
- fix #19: add a hack to show external sites in the top menu with navigation * fix #19: add a hack to show external sites in the top menu with navigation
## 1.6.0 ## 1.6.0
### Added ### Added
- Add a page of personal settings * Add a page of personal settings
- Add an option to disable the side menu as user * Add an option to disable the side menu as user
- Refactoring of javascripts * Refactoring of javascripts
## 1.5.0 ## 1.5.0
### Added ### Added
- add option to force light icons instead of dark icons * add option to force light icons instead of dark icons
### Fixed ### Fixed
- fix #19: add option to keep external sites in the top menu * fix #19: add option to keep external sites in the top menu
- fix #16 #17: add dark icons and handle the svg filters * fix #16 #17: add dark icons and handle the svg filters
## 1.4.1 ## 1.4.1
### Added ### Added
- Rendering harmonization with browsers * Rendering harmonization with browsers
### Fixed ### Fixed
- FIX #15: make menu start after icon * FIX #15: make menu start after icon
## 1.4.0 ## 1.4.0
### Fixed ### Fixed
- Fix #12: add an option to hide the opener and the panel when there is no application * Fix #12: add an option to hide the opener and the panel when there is no application
## 1.3.4 ## 1.3.4
### Fixed ### Fixed
- FIX #14: add option to show only the opener * FIX #14: add option to show only the opener
- FIX #13: add alternate hamburger icon * FIX #13: add alternate hamburger icon
- FIX #11: remove error in the console * FIX #11: remove error in the console
## 1.3.3 ## 1.3.3
### Added ### Added
- Add a second background color to create a background gradiant * Add a second background color to create a background gradiant
- Update documentation * Update documentation
### Fixed ### Fixed
- FIX #10: add options to select the size of the icons and the text, or hide them * FIX #10: add options to select the size of the icons and the text, or hide them
## 1.3.2 ## 1.3.2
### Fixed ### Fixed
- FIX #9: opener icon not visible with multiple apps_paths * FIX #9: opener icon not visible with multiple apps_paths
## 1.3.1 ## 1.3.1
### Fixed ### Fixed
- FIX #3: Add an opition the choose the position of the opener (after or before the logo) * FIX #3: Add an opition the choose the position of the opener (after or before the logo)
- FIX #8: Remove extension of dynamic asset's routes (js, css) * FIX #8: Remove extension of dynamic asset's routes (js, css)
## 1.3.0 ## 1.3.0
### Added ### Added
- `main.js` is replaced by a controller and a template * `main.js` is replaced by a controller and a template
### Fixed ### Fixed
- FIX #2: add option to open the menu by hovering over opener * FIX #2: add option to open the menu by hovering over opener
## 1.2.4 ## 1.2.4
### Fixed ### Fixed
- FIX #7: Opener icon not visible in Safari * FIX #7: Opener icon not visible in Safari
+2 -2
View File
@@ -30,7 +30,7 @@ Notice
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**. Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/). In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
]]></description> ]]></description>
<version>5.2.0</version> <version>5.3.0</version>
<licence>agpl</licence> <licence>agpl</licence>
<author mail="contact@deblan.fr" homepage="https://www.deblan.fr/">Simon Vieille</author> <author mail="contact@deblan.fr" homepage="https://www.deblan.fr/">Simon Vieille</author>
<namespace>SideMenu</namespace> <namespace>SideMenu</namespace>
@@ -52,7 +52,7 @@ In case of downtime, you can download **Custom Menu** from [here](https://kim.de
<screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png]]></screenshot> <screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png]]></screenshot>
<screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png]]></screenshot> <screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png]]></screenshot>
<dependencies> <dependencies>
<php min-version="8.1" max-version="8.4" /> <php min-version="8.1" max-version="8.5" />
<nextcloud min-version="31" max-version="33"/> <nextcloud min-version="31" max-version="33"/>
</dependencies> </dependencies>
<settings> <settings>
+6 -1
View File
@@ -30,7 +30,12 @@ class LangRepository
->from('preferences') ->from('preferences')
; ;
$stmt = $qb->execute(); // Nextcloud >=33+
if (method_exists($qb, 'executeQuery')) {
$stmt = $qb->executeQuery();
} else {
$stmt = $qb->execute();
}
$langs = ['en']; $langs = ['en'];
+143 -86
View File
@@ -1,5 +1,5 @@
{ {
"name": "src", "name": "side_menu",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
@@ -7,6 +7,7 @@
"license": "agpl", "license": "agpl",
"dependencies": { "dependencies": {
"@babel/core": ">=7.12.0 <8.0.0", "@babel/core": ">=7.12.0 <8.0.0",
"@formatjs/intl-segmenter": "^12.0.8",
"@nextcloud/router": "^3.0.1", "@nextcloud/router": "^3.0.1",
"@nextcloud/vue": "^9.0.0-alpha.8", "@nextcloud/vue": "^9.0.0-alpha.8",
"node-polyfill-webpack-plugin": "^4.1.0", "node-polyfill-webpack-plugin": "^4.1.0",
@@ -344,9 +345,9 @@
} }
}, },
"node_modules/@eslint-community/eslint-utils": { "node_modules/@eslint-community/eslint-utils": {
"version": "4.6.1", "version": "4.9.1",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.6.1.tgz", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
"integrity": "sha512-KTsJMmobmbrFLe3LDh0PC2FXpcSYJt/MLjlkh/9LEnmKYLSYmT/0EW9JWANjeoemiuZrmogti0tW5Ch+qNUYDw==", "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -386,34 +387,37 @@
} }
}, },
"node_modules/@eslint/config-array": { "node_modules/@eslint/config-array": {
"version": "0.20.0", "version": "0.21.2",
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.20.0.tgz", "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",
"integrity": "sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==", "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@eslint/object-schema": "^2.1.6", "@eslint/object-schema": "^2.1.7",
"debug": "^4.3.1", "debug": "^4.3.1",
"minimatch": "^3.1.2" "minimatch": "^3.1.5"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
} }
}, },
"node_modules/@eslint/config-helpers": { "node_modules/@eslint/config-helpers": {
"version": "0.2.1", "version": "0.4.2",
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.1.tgz", "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz",
"integrity": "sha512-RI17tsD2frtDu/3dmI7QRrD4bedNKPM08ziRYaC5AhkGrzIAJelm9kJU1TznK+apx6V+cqRz8tfpEeG3oIyjxw==", "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": {
"@eslint/core": "^0.17.0"
},
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
} }
}, },
"node_modules/@eslint/core": { "node_modules/@eslint/core": {
"version": "0.12.0", "version": "0.17.0",
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.12.0.tgz", "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz",
"integrity": "sha512-cmrR6pytBuSMTaBweKoGMwu3EiHiEC+DoyupPmlZ0HxBJBtIxwe+j/E4XPIKNx+Q74c8lXKPwYawBf5glsTkHg==", "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@@ -424,20 +428,20 @@
} }
}, },
"node_modules/@eslint/eslintrc": { "node_modules/@eslint/eslintrc": {
"version": "3.3.1", "version": "3.3.5",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",
"integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==", "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"ajv": "^6.12.4", "ajv": "^6.14.0",
"debug": "^4.3.2", "debug": "^4.3.2",
"espree": "^10.0.1", "espree": "^10.0.1",
"globals": "^14.0.0", "globals": "^14.0.0",
"ignore": "^5.2.0", "ignore": "^5.2.0",
"import-fresh": "^3.2.1", "import-fresh": "^3.2.1",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.1",
"minimatch": "^3.1.2", "minimatch": "^3.1.5",
"strip-json-comments": "^3.1.1" "strip-json-comments": "^3.1.1"
}, },
"engines": { "engines": {
@@ -461,19 +465,22 @@
} }
}, },
"node_modules/@eslint/js": { "node_modules/@eslint/js": {
"version": "9.24.0", "version": "9.39.4",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.24.0.tgz", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",
"integrity": "sha512-uIY/y3z0uvOGX8cp1C2fiC4+ZmBhp6yZWkojtHL1YEMnRt1Y63HB9TM17proGEmeG7HeUY+UP36F0aknKYTpYA==", "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"url": "https://eslint.org/donate"
} }
}, },
"node_modules/@eslint/object-schema": { "node_modules/@eslint/object-schema": {
"version": "2.1.6", "version": "2.1.7",
"resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz", "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz",
"integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==", "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"engines": { "engines": {
@@ -481,32 +488,19 @@
} }
}, },
"node_modules/@eslint/plugin-kit": { "node_modules/@eslint/plugin-kit": {
"version": "0.2.8", "version": "0.4.1",
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.8.tgz", "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz",
"integrity": "sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==", "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@eslint/core": "^0.13.0", "@eslint/core": "^0.17.0",
"levn": "^0.4.1" "levn": "^0.4.1"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
} }
}, },
"node_modules/@eslint/plugin-kit/node_modules/@eslint/core": {
"version": "0.13.0",
"resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.13.0.tgz",
"integrity": "sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"@types/json-schema": "^7.0.15"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
"node_modules/@floating-ui/core": { "node_modules/@floating-ui/core": {
"version": "1.6.9", "version": "1.6.9",
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz", "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz",
@@ -532,6 +526,48 @@
"integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==", "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/@formatjs/ecma402-abstract": {
"version": "3.0.8",
"resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-3.0.8.tgz",
"integrity": "sha512-NRiqvxAvhbARZRFSRFPjN0y8txxmVutv2vMYvW2HSdCVf58w9l4osLj6Ujif643vImwZBcbKqhiKE0IOhY+DvA==",
"license": "MIT",
"dependencies": {
"@formatjs/fast-memoize": "3.0.3",
"@formatjs/intl-localematcher": "0.7.5",
"decimal.js": "^10.4.3",
"tslib": "^2.8.0"
}
},
"node_modules/@formatjs/fast-memoize": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-3.0.3.tgz",
"integrity": "sha512-CArYtQKGLAOruCMeq5/RxCg6vUXFx3OuKBdTm30Wn/+gCefehmZ8Y2xSMxMrO2iel7hRyE3HKfV56t3vAU6D4Q==",
"license": "MIT",
"dependencies": {
"tslib": "^2.8.0"
}
},
"node_modules/@formatjs/intl-localematcher": {
"version": "0.7.5",
"resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.7.5.tgz",
"integrity": "sha512-7/nd90cn5CT7SVF71/ybUKAcnvBlr9nZlJJp8O8xIZHXFgYOC4SXExZlSdgHv2l6utjw1byidL06QzChvQMHwA==",
"license": "MIT",
"dependencies": {
"@formatjs/fast-memoize": "3.0.3",
"tslib": "^2.8.0"
}
},
"node_modules/@formatjs/intl-segmenter": {
"version": "12.0.8",
"resolved": "https://registry.npmjs.org/@formatjs/intl-segmenter/-/intl-segmenter-12.0.8.tgz",
"integrity": "sha512-seByJgn5tx34X25O8mu63wYJ5JVQcUM4fkscobkA+wBhmyI1rJSgNCf6p8XZ28nCm514Cb2N0f3sAmpEyLPJ6g==",
"license": "MIT",
"dependencies": {
"@formatjs/ecma402-abstract": "3.0.8",
"@formatjs/intl-localematcher": "0.7.5",
"tslib": "^2.8.0"
}
},
"node_modules/@humanfs/core": { "node_modules/@humanfs/core": {
"version": "0.19.1", "version": "0.19.1",
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
@@ -1756,9 +1792,9 @@
"license": "Apache-2.0" "license": "Apache-2.0"
}, },
"node_modules/acorn": { "node_modules/acorn": {
"version": "8.14.1", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
"integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
"license": "MIT", "license": "MIT",
"bin": { "bin": {
"acorn": "bin/acorn" "acorn": "bin/acorn"
@@ -1778,9 +1814,9 @@
} }
}, },
"node_modules/ajv": { "node_modules/ajv": {
"version": "6.12.6", "version": "6.15.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -2034,9 +2070,9 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/brace-expansion": { "node_modules/brace-expansion": {
"version": "1.1.11", "version": "1.1.15",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -2812,6 +2848,12 @@
} }
} }
}, },
"node_modules/decimal.js": {
"version": "10.6.0",
"resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz",
"integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==",
"license": "MIT"
},
"node_modules/decode-named-character-reference": { "node_modules/decode-named-character-reference": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.1.0.tgz", "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.1.0.tgz",
@@ -3161,33 +3203,32 @@
} }
}, },
"node_modules/eslint": { "node_modules/eslint": {
"version": "9.24.0", "version": "9.39.4",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.24.0.tgz", "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz",
"integrity": "sha512-eh/jxIEJyZrvbWRe4XuVclLPDYSYYYgLy5zXGGxD6j8zjSAxFEzI2fL/8xNq6O2yKqVt+eF2YhV+hxjV6UKXwQ==", "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.1", "@eslint-community/regexpp": "^4.12.1",
"@eslint/config-array": "^0.20.0", "@eslint/config-array": "^0.21.2",
"@eslint/config-helpers": "^0.2.0", "@eslint/config-helpers": "^0.4.2",
"@eslint/core": "^0.12.0", "@eslint/core": "^0.17.0",
"@eslint/eslintrc": "^3.3.1", "@eslint/eslintrc": "^3.3.5",
"@eslint/js": "9.24.0", "@eslint/js": "9.39.4",
"@eslint/plugin-kit": "^0.2.7", "@eslint/plugin-kit": "^0.4.1",
"@humanfs/node": "^0.16.6", "@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/module-importer": "^1.0.1",
"@humanwhocodes/retry": "^0.4.2", "@humanwhocodes/retry": "^0.4.2",
"@types/estree": "^1.0.6", "@types/estree": "^1.0.6",
"@types/json-schema": "^7.0.15", "ajv": "^6.14.0",
"ajv": "^6.12.4",
"chalk": "^4.0.0", "chalk": "^4.0.0",
"cross-spawn": "^7.0.6", "cross-spawn": "^7.0.6",
"debug": "^4.3.2", "debug": "^4.3.2",
"escape-string-regexp": "^4.0.0", "escape-string-regexp": "^4.0.0",
"eslint-scope": "^8.3.0", "eslint-scope": "^8.4.0",
"eslint-visitor-keys": "^4.2.0", "eslint-visitor-keys": "^4.2.1",
"espree": "^10.3.0", "espree": "^10.4.0",
"esquery": "^1.5.0", "esquery": "^1.5.0",
"esutils": "^2.0.2", "esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3", "fast-deep-equal": "^3.1.3",
@@ -3199,7 +3240,7 @@
"is-glob": "^4.0.0", "is-glob": "^4.0.0",
"json-stable-stringify-without-jsonify": "^1.0.1", "json-stable-stringify-without-jsonify": "^1.0.1",
"lodash.merge": "^4.6.2", "lodash.merge": "^4.6.2",
"minimatch": "^3.1.2", "minimatch": "^3.1.5",
"natural-compare": "^1.4.0", "natural-compare": "^1.4.0",
"optionator": "^0.9.3" "optionator": "^0.9.3"
}, },
@@ -3300,9 +3341,9 @@
} }
}, },
"node_modules/eslint-scope": { "node_modules/eslint-scope": {
"version": "8.3.0", "version": "8.4.0",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.3.0.tgz", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
"integrity": "sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==", "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
"dev": true, "dev": true,
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"dependencies": { "dependencies": {
@@ -3317,9 +3358,9 @@
} }
}, },
"node_modules/eslint-visitor-keys": { "node_modules/eslint-visitor-keys": {
"version": "4.2.0", "version": "4.2.1",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
"integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"engines": { "engines": {
@@ -3330,15 +3371,15 @@
} }
}, },
"node_modules/espree": { "node_modules/espree": {
"version": "10.3.0", "version": "10.4.0",
"resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
"integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
"dev": true, "dev": true,
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"dependencies": { "dependencies": {
"acorn": "^8.14.0", "acorn": "^8.15.0",
"acorn-jsx": "^5.3.2", "acorn-jsx": "^5.3.2",
"eslint-visitor-keys": "^4.2.0" "eslint-visitor-keys": "^4.2.1"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -4559,10 +4600,20 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/js-yaml": { "node_modules/js-yaml": {
"version": "4.1.0", "version": "4.2.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==",
"dev": true, "dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/puzrin"
},
{
"type": "github",
"url": "https://github.com/sponsors/nodeca"
}
],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"argparse": "^2.0.1" "argparse": "^2.0.1"
@@ -5523,9 +5574,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/minimatch": { "node_modules/minimatch": {
"version": "3.1.2", "version": "3.1.5",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
"dev": true, "dev": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
@@ -7367,6 +7418,12 @@
"url": "https://github.com/sponsors/wooorm" "url": "https://github.com/sponsors/wooorm"
} }
}, },
"node_modules/tslib": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"license": "0BSD"
},
"node_modules/tty-browserify": { "node_modules/tty-browserify": {
"version": "0.0.1", "version": "0.0.1",
"resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz",
+1
View File
@@ -11,6 +11,7 @@
}, },
"dependencies": { "dependencies": {
"@babel/core": ">=7.12.0 <8.0.0", "@babel/core": ">=7.12.0 <8.0.0",
"@formatjs/intl-segmenter": "^12.0.8",
"@nextcloud/router": "^3.0.1", "@nextcloud/router": "^3.0.1",
"@nextcloud/vue": "^9.0.0-alpha.8", "@nextcloud/vue": "^9.0.0-alpha.8",
"node-polyfill-webpack-plugin": "^4.1.0", "node-polyfill-webpack-plugin": "^4.1.0",
+2
View File
@@ -17,6 +17,8 @@
import './scss/admin.scss' import './scss/admin.scss'
import '@formatjs/intl-segmenter/polyfill.js'
import { createApp } from 'vue' import { createApp } from 'vue'
import { createPinia } from 'pinia' import { createPinia } from 'pinia'
import { waitContainer } from './lib/dom.js' import { waitContainer } from './lib/dom.js'
+2 -2
View File
@@ -73,10 +73,10 @@ const save = async () => {
if (Array.isArray(value) || typeof value === 'object') { if (Array.isArray(value) || typeof value === 'object') {
value = JSON.stringify(value) value = JSON.stringify(value)
} else if (typeof value === 'boolean') { } else if (typeof value === 'boolean') {
value = value ? 1 : 0 value = value ? '1' : '0'
} }
OCP.AppConfig.setValue('side_menu', key, value, { OCP.AppConfig.setValue('side_menu', key, value.toString(), {
success() { success() {
update() update()
}, },
+2 -2
View File
@@ -69,11 +69,11 @@ const save = async () => {
if (Array.isArray(value) || typeof value === 'object') { if (Array.isArray(value) || typeof value === 'object') {
value = JSON.stringify(value) value = JSON.stringify(value)
} else if (typeof value === 'boolean') { } else if (typeof value === 'boolean') {
value = value ? 1 : 0 value = value ? '1' : '0'
} }
formData.push('name=' + encodeURIComponent(key)) formData.push('name=' + encodeURIComponent(key))
formData.push('value=' + encodeURIComponent(value)) formData.push('value=' + encodeURIComponent(value.toString()))
fetch(url, { fetch(url, {
method: 'POST', method: 'POST',
+13 -13
View File
@@ -94,18 +94,18 @@
'Search': 'Buscar' 'Search': 'Buscar'
'Toggle the menu': 'Alternar el menú' 'Toggle the menu': 'Alternar el menú'
'Open the documentation': 'Open the documentation' 'Open the documentation': 'Open the documentation'
'Ask the developer': 'Ask the developer' 'Ask the developer': 'Pregúntale al desarrollador'
'New request': 'New request' 'New request': 'Nueva solicitud'
'Report a bug': 'Report a bug' 'Report a bug': 'Informar de un fallo'
'Show the configuration': 'Show the configuration' 'Show the configuration': 'Mostrar los ajustes'
'Configuration:': 'Configuration:' 'Configuration:': 'Configuration:'
'Done!': 'Done!' 'Done!': '¡Realizado!'
'Copy': 'Copy' 'Copy': 'Copiar'
'Need help': 'Need help' 'Need help': 'Ayudame'
'I would like a new feature': 'I would like a new feature' 'I would like a new feature': 'Me gustaría una nueva función'
'Something went wrong': 'Something went wrong' 'Something went wrong': 'Algo salió mal'
'Select apps': 'Select apps' 'Select apps': 'Selecciona las aplicaciones'
'Sort': 'Sort' 'Sort': 'Ordenar'
'Customize': 'Customize' 'Customize': 'Personalizar'
'Custom': 'Custom' 'Custom': 'Custom'
'Close': 'Close' 'Close': 'Cerrar'
+1 -1
View File
@@ -38,7 +38,7 @@
'Show only the opener (hidden logo)': '仅显示触发器(隐藏徽标)' 'Show only the opener (hidden logo)': '仅显示触发器(隐藏徽标)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': '如果没有应用程序(例如:公共页面),则不要显示侧边栏菜单和触发器。' 'Do not display the side menu and the opener if there is no application (eg: public pages).': '如果没有应用程序(例如:公共页面),则不要显示侧边栏菜单和触发器。'
'Panel': '面板' 'Panel': '面板'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '‌当鼠标悬停在触发器上时打开菜单(在触摸屏上自动禁用)' 'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '当鼠标悬停在触发器上时打开菜单(在触摸屏上自动禁用)'
'Display the big menu': '显示大型菜单' 'Display the big menu': '显示大型菜单'
'Display the logo': '显示徽标' 'Display the logo': '显示徽标'
'Icons and texts': '图标和文本' 'Icons and texts': '图标和文本'
+2
View File
@@ -17,6 +17,8 @@
import './scss/menu.scss' import './scss/menu.scss'
import '@formatjs/intl-segmenter/polyfill.js'
import { createApp } from 'vue' import { createApp } from 'vue'
import { createPinia } from 'pinia' import { createPinia } from 'pinia'
import { createElement, waitContainer } from './lib/dom.js' import { createElement, waitContainer } from './lib/dom.js'
+2
View File
@@ -17,6 +17,8 @@
import './scss/admin.scss' import './scss/admin.scss'
import '@formatjs/intl-segmenter/polyfill.js'
import { createApp } from 'vue' import { createApp } from 'vue'
import { createPinia } from 'pinia' import { createPinia } from 'pinia'
import { waitContainer } from './lib/dom.js' import { waitContainer } from './lib/dom.js'