@xwiki/cristal-xwiki-remoteinlineeditor 0.8.0 → 0.10.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 +24 -0
- package/dist/index.es.js +0 -24
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -24
- package/dist/index.umd.js.map +1 -1
- package/package.json +7 -9
- package/src/components/componentsInit.ts +4 -9
- package/src/components/uixRemoteXWikiEditorProvider.ts +11 -16
- package/src/index.ts +4 -9
- package/src/vue/c-edit-xwikiremote.vue +17 -22
- package/src/vue.d.ts +4 -9
- package/tsconfig.json +1 -0
- package/vite.config.ts +4 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @xwiki/cristal-xwiki-remoteinlineeditor
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- fa7fe9f: Cristal 0.10 Release
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [fa7fe9f]
|
|
12
|
+
- @xwiki/cristal-api@0.10.0
|
|
13
|
+
- @xwiki/cristal-skin@0.10.0
|
|
14
|
+
|
|
15
|
+
## 0.9.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- efbd020: Cristal 0.9 Release
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [efbd020]
|
|
24
|
+
- @xwiki/cristal-api@0.9.0
|
|
25
|
+
- @xwiki/cristal-skin@0.9.0
|
|
26
|
+
|
|
3
27
|
## 0.8.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
package/dist/index.es.js
CHANGED
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* See the LICENSE file distributed with this work for additional
|
|
3
|
-
* information regarding copyright ownership.
|
|
4
|
-
*
|
|
5
|
-
* This is free software; you can redistribute it and/or modify it
|
|
6
|
-
* under the terms of the GNU Affero General Public License as
|
|
7
|
-
* published by the Free Software Foundation; either version 2.1 of
|
|
8
|
-
* the License, or (at your option) any later version.
|
|
9
|
-
*
|
|
10
|
-
* This software is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
|
-
* Lesser General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public
|
|
16
|
-
* License along with this software; if not, write to the Free
|
|
17
|
-
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
|
-
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
19
|
-
*
|
|
20
|
-
* This file is part of the Cristal Wiki software prototype
|
|
21
|
-
* @copyright Copyright (c) 2023 XWiki SAS
|
|
22
|
-
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
|
|
23
|
-
*
|
|
24
|
-
**/
|
|
25
1
|
class t {
|
|
26
2
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
27
3
|
constructor(o) {
|
package/dist/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../src/components/componentsInit.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../src/components/componentsInit.ts"],"sourcesContent":["/*\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { Container } from \"inversify\";\n\nexport default class ComponentInit {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n constructor(container: Container) {\n // container.bind<Interface>(\"Interface\").to(DefaultClass);\n }\n}\n"],"names":["ComponentInit","container"],"mappings":"AAsBA,MAAqBA,EAAc;AAAA;AAAA,EAEjC,YAAYC,GAAsB;AAAA,EAElC;AACF;"}
|
package/dist/index.umd.js
CHANGED
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
(function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.cristal_remoteinlineeditor={}))})(this,function(e){"use strict"
|
|
2
|
-
* See the LICENSE file distributed with this work for additional
|
|
3
|
-
* information regarding copyright ownership.
|
|
4
|
-
*
|
|
5
|
-
* This is free software; you can redistribute it and/or modify it
|
|
6
|
-
* under the terms of the GNU Affero General Public License as
|
|
7
|
-
* published by the Free Software Foundation; either version 2.1 of
|
|
8
|
-
* the License, or (at your option) any later version.
|
|
9
|
-
*
|
|
10
|
-
* This software is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
|
-
* Lesser General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public
|
|
16
|
-
* License along with this software; if not, write to the Free
|
|
17
|
-
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
|
-
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
19
|
-
*
|
|
20
|
-
* This file is part of the Cristal Wiki software prototype
|
|
21
|
-
* @copyright Copyright (c) 2023 XWiki SAS
|
|
22
|
-
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
|
|
23
|
-
*
|
|
24
|
-
**/class n{constructor(o){}}e.ComponentInit=n,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.cristal_remoteinlineeditor={}))})(this,function(e){"use strict";class n{constructor(o){}}e.ComponentInit=n,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|
|
25
2
|
//# sourceMappingURL=index.umd.js.map
|
package/dist/index.umd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../src/components/componentsInit.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/components/componentsInit.ts"],"sourcesContent":["/*\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { Container } from \"inversify\";\n\nexport default class ComponentInit {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n constructor(container: Container) {\n // container.bind<Interface>(\"Interface\").to(DefaultClass);\n }\n}\n"],"names":["ComponentInit","container"],"mappings":"kPAsBA,MAAqBA,CAAc,CAEjC,YAAYC,EAAsB,CAElC,CACF"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xwiki/cristal-xwiki-remoteinlineeditor",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"license": "
|
|
3
|
+
"version": "0.10.0",
|
|
4
|
+
"license": "LGPL 2.1",
|
|
5
5
|
"author": "XWiki Org Community <contact@xwiki.org>",
|
|
6
6
|
"homepage": "https://cristal.xwiki.org/",
|
|
7
7
|
"repository": {
|
|
@@ -24,19 +24,17 @@
|
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"inversify": "6.0.2",
|
|
27
|
-
"vue": "3.4.
|
|
28
|
-
"
|
|
29
|
-
"@xwiki/cristal-
|
|
30
|
-
"@xwiki/cristal-skin": "0.8.0"
|
|
27
|
+
"vue": "3.4.31",
|
|
28
|
+
"@xwiki/cristal-api": "0.10.0",
|
|
29
|
+
"@xwiki/cristal-skin": "0.10.0"
|
|
31
30
|
},
|
|
32
31
|
"devDependencies": {
|
|
33
|
-
"
|
|
34
|
-
"vue-tsc": "2.0.19"
|
|
32
|
+
"vue-tsc": "2.0.22"
|
|
35
33
|
},
|
|
36
34
|
"scripts": {
|
|
37
35
|
"build": "pnpm compile",
|
|
38
36
|
"clean": "rimraf dist",
|
|
39
|
-
"compile": "vue-tsc --project tsconfig.json
|
|
37
|
+
"compile": "vue-tsc --project tsconfig.json && vite build",
|
|
40
38
|
"lint": "eslint \"./src/**/*.{ts,tsx,vue}\" --max-warnings=0",
|
|
41
39
|
"test": "echo 'no test'"
|
|
42
40
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
2
|
* See the LICENSE file distributed with this work for additional
|
|
3
3
|
* information regarding copyright ownership.
|
|
4
4
|
*
|
|
5
5
|
* This is free software; you can redistribute it and/or modify it
|
|
6
|
-
* under the terms of the GNU
|
|
6
|
+
* under the terms of the GNU Lesser General Public License as
|
|
7
7
|
* published by the Free Software Foundation; either version 2.1 of
|
|
8
8
|
* the License, or (at your option) any later version.
|
|
9
9
|
*
|
|
@@ -12,16 +12,11 @@
|
|
|
12
12
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
13
|
* Lesser General Public License for more details.
|
|
14
14
|
*
|
|
15
|
-
* You should have received a copy of the GNU
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
16
16
|
* License along with this software; if not, write to the Free
|
|
17
17
|
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
18
|
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
19
|
-
|
|
20
|
-
* This file is part of the Cristal Wiki software prototype
|
|
21
|
-
* @copyright Copyright (c) 2023 XWiki SAS
|
|
22
|
-
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
|
|
23
|
-
*
|
|
24
|
-
**/
|
|
19
|
+
*/
|
|
25
20
|
|
|
26
21
|
import { Container } from "inversify";
|
|
27
22
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
2
|
* See the LICENSE file distributed with this work for additional
|
|
3
3
|
* information regarding copyright ownership.
|
|
4
4
|
*
|
|
5
5
|
* This is free software; you can redistribute it and/or modify it
|
|
6
|
-
* under the terms of the GNU
|
|
6
|
+
* under the terms of the GNU Lesser General Public License as
|
|
7
7
|
* published by the Free Software Foundation; either version 2.1 of
|
|
8
8
|
* the License, or (at your option) any later version.
|
|
9
9
|
*
|
|
@@ -12,16 +12,11 @@
|
|
|
12
12
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
13
|
* Lesser General Public License for more details.
|
|
14
14
|
*
|
|
15
|
-
* You should have received a copy of the GNU
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
16
16
|
* License along with this software; if not, write to the Free
|
|
17
17
|
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
18
|
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
19
|
-
|
|
20
|
-
* This file is part of the Cristal Wiki software prototype
|
|
21
|
-
* @copyright Copyright (c) 2023 XWiki SAS
|
|
22
|
-
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
|
|
23
|
-
*
|
|
24
|
-
**/
|
|
19
|
+
*/
|
|
25
20
|
|
|
26
21
|
import { DefaultVueTemplateProvider } from "@xwiki/cristal-skin";
|
|
27
22
|
import { type Component } from "vue";
|
|
@@ -31,21 +26,21 @@ import { CristalApp } from "@xwiki/cristal-api";
|
|
|
31
26
|
|
|
32
27
|
@injectable()
|
|
33
28
|
export class UIXRemoteXWikiEditorProvider extends DefaultVueTemplateProvider {
|
|
34
|
-
public static cname = "cristal.editor.remotexwiki";
|
|
35
|
-
public static hint = "";
|
|
36
|
-
public static priority = 1000;
|
|
37
|
-
public static singleton = true;
|
|
29
|
+
public static override cname = "cristal.editor.remotexwiki";
|
|
30
|
+
public static override hint = "";
|
|
31
|
+
public static override priority = 1000;
|
|
32
|
+
public static override singleton = true;
|
|
38
33
|
public static extensionPoint = "editor";
|
|
39
34
|
|
|
40
35
|
registered = false;
|
|
41
36
|
|
|
42
|
-
getVueComponent(): Component {
|
|
37
|
+
override getVueComponent(): Component {
|
|
43
38
|
return TextEditor;
|
|
44
39
|
}
|
|
45
|
-
getVueName(): string {
|
|
40
|
+
override getVueName(): string {
|
|
46
41
|
return "c-edit-xwikiremote";
|
|
47
42
|
}
|
|
48
|
-
isGlobal(): boolean {
|
|
43
|
+
override isGlobal(): boolean {
|
|
49
44
|
return false;
|
|
50
45
|
}
|
|
51
46
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
package/src/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
2
|
* See the LICENSE file distributed with this work for additional
|
|
3
3
|
* information regarding copyright ownership.
|
|
4
4
|
*
|
|
5
5
|
* This is free software; you can redistribute it and/or modify it
|
|
6
|
-
* under the terms of the GNU
|
|
6
|
+
* under the terms of the GNU Lesser General Public License as
|
|
7
7
|
* published by the Free Software Foundation; either version 2.1 of
|
|
8
8
|
* the License, or (at your option) any later version.
|
|
9
9
|
*
|
|
@@ -12,16 +12,11 @@
|
|
|
12
12
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
13
|
* Lesser General Public License for more details.
|
|
14
14
|
*
|
|
15
|
-
* You should have received a copy of the GNU
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
16
16
|
* License along with this software; if not, write to the Free
|
|
17
17
|
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
18
|
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
19
|
-
|
|
20
|
-
* This file is part of the Cristal Wiki software prototype
|
|
21
|
-
* @copyright Copyright (c) 2023 XWiki SAS
|
|
22
|
-
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
|
|
23
|
-
*
|
|
24
|
-
**/
|
|
19
|
+
*/
|
|
25
20
|
|
|
26
21
|
import ComponentInit from "./components/componentsInit";
|
|
27
22
|
|
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*
|
|
20
|
-
* This file is part of the Cristal Wiki software prototype
|
|
21
|
-
* @copyright Copyright (c) 2023 XWiki SAS
|
|
22
|
-
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
|
|
23
|
-
*
|
|
2
|
+
See the LICENSE file distributed with this work for additional
|
|
3
|
+
information regarding copyright ownership.
|
|
4
|
+
|
|
5
|
+
This is free software; you can redistribute it and/or modify it
|
|
6
|
+
under the terms of the GNU Lesser General Public License as
|
|
7
|
+
published by the Free Software Foundation; either version 2.1 of
|
|
8
|
+
the License, or (at your option) any later version.
|
|
9
|
+
|
|
10
|
+
This software is distributed in the hope that it will be useful,
|
|
11
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
|
+
Lesser General Public License for more details.
|
|
14
|
+
|
|
15
|
+
You should have received a copy of the GNU Lesser General Public
|
|
16
|
+
License along with this software; if not, write to the Free
|
|
17
|
+
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
|
+
02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
24
19
|
-->
|
|
25
20
|
<template>
|
|
26
21
|
<template v-if="pageStatus.withSheet">
|
package/src/vue.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
2
|
* See the LICENSE file distributed with this work for additional
|
|
3
3
|
* information regarding copyright ownership.
|
|
4
4
|
*
|
|
5
5
|
* This is free software; you can redistribute it and/or modify it
|
|
6
|
-
* under the terms of the GNU
|
|
6
|
+
* under the terms of the GNU Lesser General Public License as
|
|
7
7
|
* published by the Free Software Foundation; either version 2.1 of
|
|
8
8
|
* the License, or (at your option) any later version.
|
|
9
9
|
*
|
|
@@ -12,16 +12,11 @@
|
|
|
12
12
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
13
|
* Lesser General Public License for more details.
|
|
14
14
|
*
|
|
15
|
-
* You should have received a copy of the GNU
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
16
16
|
* License along with this software; if not, write to the Free
|
|
17
17
|
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
18
|
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
19
|
-
|
|
20
|
-
* This file is part of the Cristal Wiki software prototype
|
|
21
|
-
* @copyright Copyright (c) 2023 XWiki SAS
|
|
22
|
-
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
|
|
23
|
-
*
|
|
24
|
-
**/
|
|
19
|
+
*/
|
|
25
20
|
|
|
26
21
|
// vue.d.ts
|
|
27
22
|
declare module "*.vue" {
|
package/tsconfig.json
CHANGED
package/vite.config.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/*
|
|
2
2
|
* See the LICENSE file distributed with this work for additional
|
|
3
3
|
* information regarding copyright ownership.
|
|
4
4
|
*
|
|
5
5
|
* This is free software; you can redistribute it and/or modify it
|
|
6
|
-
* under the terms of the GNU
|
|
6
|
+
* under the terms of the GNU Lesser General Public License as
|
|
7
7
|
* published by the Free Software Foundation; either version 2.1 of
|
|
8
8
|
* the License, or (at your option) any later version.
|
|
9
9
|
*
|
|
@@ -12,16 +12,11 @@
|
|
|
12
12
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
13
13
|
* Lesser General Public License for more details.
|
|
14
14
|
*
|
|
15
|
-
* You should have received a copy of the GNU
|
|
15
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
16
16
|
* License along with this software; if not, write to the Free
|
|
17
17
|
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
18
18
|
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
|
19
|
-
|
|
20
|
-
* This file is part of the Cristal Wiki software prototype
|
|
21
|
-
* @copyright Copyright (c) 2023 XWiki SAS
|
|
22
|
-
* @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
|
|
23
|
-
*
|
|
24
|
-
**/
|
|
19
|
+
*/
|
|
25
20
|
|
|
26
21
|
import { generateConfigVue } from "../../vite.config";
|
|
27
22
|
|