@xwiki/cristal-authentication-nextcloud-ui 0.21.0 → 0.22.0
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/CHANGELOG.md +14 -0
- package/api-extractor.json +4 -0
- package/dist/NextcloudLoginMenu-KxFlJo82.js +121 -0
- package/dist/NextcloudLoginMenu-KxFlJo82.js.map +1 -0
- package/dist/NextcloudLoginMenuUIExtension.d.ts +1 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +23 -197
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -34
- package/dist/index.umd.js.map +1 -1
- package/etc/cristal-authentication-nextcloud-ui.api.md +16 -0
- package/langs/translation-fr.json +8 -8
- package/package.json +17 -15
- package/src/NextcloudLoginMenuUIExtension.ts +1 -0
- package/src/index.ts +3 -0
- package/src/vue/NextcloudLoginMenu.vue +1 -1
- package/vitest.config.ts +1 -1
- package/dist/NextcloudLoginMenu-BFwopT8H.js +0 -1939
- package/dist/NextcloudLoginMenu-BFwopT8H.js.map +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
## API Report File for "@xwiki/cristal-authentication-nextcloud-ui"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { Container } from 'inversify';
|
|
8
|
+
|
|
9
|
+
// @beta (undocumented)
|
|
10
|
+
export class ComponentInit {
|
|
11
|
+
constructor(container: Container);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// (No @packageDocumentation comment for this package)
|
|
15
|
+
|
|
16
|
+
```
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
"authentication.nextcloud.modal.title": "Connexion à Nextcloud",
|
|
3
|
+
"authentication.nextcloud.modal.username.label": "Nom d'utilisateur",
|
|
4
|
+
"authentication.nextcloud.modal.username.help": "Saisissez votre nom d'utilisateur.",
|
|
5
|
+
"authentication.nextcloud.modal.password.label": "Mot de passe",
|
|
6
|
+
"authentication.nextcloud.modal.password.help": "Il n'est pas recommandé de saisir votre mot de passe personnel, vous devriez saisir un mot de passe d'application à la place.",
|
|
7
|
+
"authentication.nextcloud.modal.submit.label": "Se connecter",
|
|
8
|
+
"authentication.nextcloud.modal.error.invalid": "Nom d'utilisateur ou mot de passe non valide.",
|
|
9
|
+
"authentication.nextcloud.modal.error.generic": "Échec d’authentification. Statut de la réponse : {status}."
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xwiki/cristal-authentication-nextcloud-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"license": "LGPL 2.1",
|
|
5
5
|
"author": "XWiki Org Community <contact@xwiki.org>",
|
|
6
6
|
"homepage": "https://cristal.xwiki.org/",
|
|
@@ -26,12 +26,13 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"main": "./dist/index.es.js",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"vue-i18n": "11.1.11",
|
|
31
|
-
"@xwiki/cristal-api": "0.
|
|
32
|
-
"@xwiki/cristal-uiextension-api": "0.
|
|
33
|
-
"@xwiki/cristal-authentication-
|
|
34
|
-
"@xwiki/cristal-authentication-
|
|
32
|
+
"@xwiki/cristal-api": "0.22.0",
|
|
33
|
+
"@xwiki/cristal-uiextension-api": "0.22.0",
|
|
34
|
+
"@xwiki/cristal-authentication-nextcloud-state": "0.22.0",
|
|
35
|
+
"@xwiki/cristal-authentication-api": "0.22.0"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
38
|
"inversify": "7.x",
|
|
@@ -40,22 +41,23 @@
|
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@vue/test-utils": "2.4.6",
|
|
43
|
-
"inversify": "7.
|
|
44
|
+
"inversify": "7.9.0",
|
|
44
45
|
"reflect-metadata": "0.2.2",
|
|
45
46
|
"typescript": "5.9.2",
|
|
46
|
-
"vite": "7.
|
|
47
|
+
"vite": "7.1.5",
|
|
47
48
|
"vitest": "3.2.4",
|
|
48
|
-
"vue": "3.5.
|
|
49
|
+
"vue": "3.5.20",
|
|
49
50
|
"vue-tsc": "2.2.12",
|
|
50
|
-
"@xwiki/cristal-dev-
|
|
51
|
-
"@xwiki/cristal-dev-
|
|
52
|
-
"@xwiki/cristal-dsapi": "0.
|
|
51
|
+
"@xwiki/cristal-dev-config": "0.22.0",
|
|
52
|
+
"@xwiki/cristal-dev-test-utils": "0.22.0",
|
|
53
|
+
"@xwiki/cristal-dsapi": "0.22.0"
|
|
53
54
|
},
|
|
54
55
|
"scripts": {
|
|
55
|
-
"
|
|
56
|
+
"api-extractor:local": "api-extractor run --local",
|
|
57
|
+
"build": "vite build",
|
|
56
58
|
"clean": "rimraf dist",
|
|
57
59
|
"lint": "eslint \"./src/**/*.{ts,tsx,vue}\" --max-warnings=0",
|
|
58
|
-
"test": "vitest --run"
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
"test": "vitest --run",
|
|
61
|
+
"typecheck": "vue-tsc"
|
|
62
|
+
}
|
|
61
63
|
}
|
package/src/index.ts
CHANGED
|
@@ -22,6 +22,9 @@ import { NextcloudLoginMenuUIExtension } from "./NextcloudLoginMenuUIExtension";
|
|
|
22
22
|
import { Container } from "inversify";
|
|
23
23
|
import type { UIExtension } from "@xwiki/cristal-uiextension-api";
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* @beta
|
|
27
|
+
*/
|
|
25
28
|
export class ComponentInit {
|
|
26
29
|
constructor(container: Container) {
|
|
27
30
|
container
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
<script lang="ts" setup>
|
|
22
22
|
import messages from "../translations";
|
|
23
|
-
import { CristalApp } from "@xwiki/cristal-api";
|
|
24
23
|
import { NextcloudAuthenticationState } from "@xwiki/cristal-authentication-nextcloud-state";
|
|
25
24
|
import { inject, ref, watch } from "vue";
|
|
26
25
|
import { useI18n } from "vue-i18n";
|
|
26
|
+
import type { CristalApp } from "@xwiki/cristal-api";
|
|
27
27
|
import type { Ref } from "vue";
|
|
28
28
|
|
|
29
29
|
const { t } = useI18n({
|
package/vitest.config.ts
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
import localConfig from "./vite.config";
|
|
22
|
+
import { vitestVue as defaultConfig } from "@xwiki/cristal-dev-config";
|
|
22
23
|
import { mergeConfig } from "vitest/config";
|
|
23
|
-
import defaultConfig from "@xwiki/cristal-dev-config/vitest-vue.config";
|
|
24
24
|
|
|
25
25
|
export default mergeConfig(defaultConfig, localConfig);
|