@xwiki/cristal-xwiki-remoteinlineeditor 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @xwiki/cristal-xwiki-remoteinlineeditor
2
2
 
3
+ ## 0.22.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Cristal 0.22 Release
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @xwiki/cristal-api@0.22.0
13
+ - @xwiki/cristal-skin@0.22.0
14
+
3
15
  ## 0.21.0
4
16
 
5
17
  ### Minor Changes
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "../../api-extractor.json"
4
+ }
@@ -1,4 +1,7 @@
1
1
  import { Container } from 'inversify';
2
+ /**
3
+ * @beta
4
+ */
2
5
  export default class ComponentInit {
3
6
  constructor(container: Container);
4
7
  }
@@ -1,5 +1,5 @@
1
- import { CristalApp } from '@xwiki/cristal-api';
2
1
  import { DefaultVueTemplateProvider } from '@xwiki/cristal-skin';
2
+ import { CristalApp } from '@xwiki/cristal-api';
3
3
  import { Component } from 'vue';
4
4
  export declare class UIXRemoteXWikiEditorProvider extends DefaultVueTemplateProvider {
5
5
  static cname: string;
package/dist/index.es.js CHANGED
@@ -1,9 +1,10 @@
1
- class t {
1
+ import "inversify";
2
+ class r {
2
3
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3
- constructor(o) {
4
+ constructor(t) {
4
5
  }
5
6
  }
6
7
  export {
7
- t as ComponentInit
8
+ r as ComponentInit
8
9
  };
9
10
  //# sourceMappingURL=index.es.js.map
@@ -1 +1 @@
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;"}
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\n/**\n * @beta\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":";AAyBA,MAAqBA,EAAc;AAAA;AAAA,EAEjC,YAAYC,GAAsB;AAAA,EAElC;AACF;"}
package/dist/index.umd.js CHANGED
@@ -1,2 +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";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,require("inversify")):typeof define=="function"&&define.amd?define(["exports","inversify"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.cristal_remoteinlineeditor={}))})(this,(function(e){"use strict";class n{constructor(t){}}e.ComponentInit=n,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
2
2
  //# sourceMappingURL=index.umd.js.map
@@ -1 +1 @@
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"}
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\n/**\n * @beta\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":"oRAyBA,MAAqBA,CAAc,CAEjC,YAAYC,EAAsB,CAElC,CACF"}
@@ -0,0 +1,16 @@
1
+ ## API Report File for "@xwiki/cristal-xwiki-remoteinlineeditor"
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
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwiki/cristal-xwiki-remoteinlineeditor",
3
- "version": "0.21.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/",
@@ -28,8 +28,8 @@
28
28
  "main": "./dist/index.es.js",
29
29
  "types": "./dist/index.d.ts",
30
30
  "dependencies": {
31
- "@xwiki/cristal-skin": "0.21.0",
32
- "@xwiki/cristal-api": "0.21.0"
31
+ "@xwiki/cristal-api": "0.22.0",
32
+ "@xwiki/cristal-skin": "0.22.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "inversify": "7.x",
@@ -37,19 +37,20 @@
37
37
  "vue": "3.x"
38
38
  },
39
39
  "devDependencies": {
40
- "inversify": "7.7.0",
40
+ "inversify": "7.9.0",
41
41
  "reflect-metadata": "0.2.2",
42
42
  "typescript": "5.9.2",
43
- "vite": "7.0.6",
44
- "vue": "3.5.18",
43
+ "vite": "7.1.5",
44
+ "vue": "3.5.20",
45
45
  "vue-tsc": "2.2.12",
46
- "@xwiki/cristal-dev-config": "0.21.0"
46
+ "@xwiki/cristal-dev-config": "0.22.0"
47
47
  },
48
48
  "scripts": {
49
- "build": "pnpm compile",
49
+ "api-extractor:local": "api-extractor run --local",
50
+ "build": "vite build",
50
51
  "clean": "rimraf dist",
51
- "compile": "vue-tsc --project tsconfig.json && vite build",
52
52
  "lint": "eslint \"./src/**/*.{ts,tsx,vue}\" --max-warnings=0",
53
- "test": "vitest --run"
53
+ "test": "vitest --run",
54
+ "typecheck": "vue-tsc"
54
55
  }
55
56
  }
@@ -20,6 +20,9 @@
20
20
 
21
21
  import { Container } from "inversify";
22
22
 
23
+ /**
24
+ * @beta
25
+ */
23
26
  export default class ComponentInit {
24
27
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
25
28
  constructor(container: Container) {
@@ -19,9 +19,9 @@
19
19
  */
20
20
 
21
21
  import TextEditor from "../vue/c-edit-xwikiremote.vue";
22
- import { CristalApp } from "@xwiki/cristal-api";
23
22
  import { DefaultVueTemplateProvider } from "@xwiki/cristal-skin";
24
23
  import { injectable } from "inversify";
24
+ import type { CristalApp } from "@xwiki/cristal-api";
25
25
  import type { Component } from "vue";
26
26
 
27
27
  @injectable()
@@ -26,9 +26,9 @@
26
26
  </template>
27
27
  </template>
28
28
  <script lang="ts">
29
- import { CristalApp, Logger } from "@xwiki/cristal-api";
30
29
  import { CTemplate } from "@xwiki/cristal-skin";
31
30
  import { inject, ref } from "vue";
31
+ import type { CristalApp, Logger } from "@xwiki/cristal-api";
32
32
 
33
33
  const pageStatus = ref({
34
34
  currentContent: "Initial content",
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);