@operato/scene-i18n 9.0.0-beta.1 → 9.0.0-beta.13

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.
@@ -1,4 +1,4 @@
1
- import './property-editor-i18n';
1
+ import './property-editor-i18n.js';
2
2
  declare const _default: {
3
3
  type: string;
4
4
  element: string;
@@ -1,4 +1,4 @@
1
- import './property-editor-i18n';
1
+ import './property-editor-i18n.js';
2
2
  export default [
3
3
  {
4
4
  type: 'i18n',
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/editors/index.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAE/B,eAAe;IACb;QACE,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,sBAAsB;KAChC;CACF,CAAA","sourcesContent":["import './property-editor-i18n'\n\nexport default [\n {\n type: 'i18n',\n element: 'property-editor-i18n'\n }\n]\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/editors/index.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAA;AAElC,eAAe;IACb;QACE,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,sBAAsB;KAChC;CACF,CAAA","sourcesContent":["import './property-editor-i18n.js'\n\nexport default [\n {\n type: 'i18n',\n element: 'property-editor-i18n'\n }\n]\n"]}
@@ -1,4 +1,4 @@
1
- import './ox-editor-i18n';
1
+ import './ox-editor-i18n.js';
2
2
  import { OxPropertyEditor, PropertySpec } from '@operato/property-editor';
3
3
  export declare class PropertyEditorLegendStatus extends OxPropertyEditor {
4
4
  editorTemplate(value: any, spec: PropertySpec): import("lit-html").TemplateResult<1>;
@@ -1,5 +1,5 @@
1
1
  import { __decorate } from "tslib";
2
- import './ox-editor-i18n';
2
+ import './ox-editor-i18n.js';
3
3
  import { html } from 'lit';
4
4
  import { customElement } from 'lit/decorators.js';
5
5
  import { OxPropertyEditor } from '@operato/property-editor';
@@ -1 +1 @@
1
- {"version":3,"file":"property-editor-i18n.js","sourceRoot":"","sources":["../../src/editors/property-editor-i18n.ts"],"names":[],"mappings":";AAAA,OAAO,kBAAkB,CAAA;AAEzB,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAgB,MAAM,0BAA0B,CAAA;AAGlE,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,gBAAgB;IAC9D,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,OAAO,IAAI,CAAA,2BAA2B,KAAK,+BAA+B,CAAA;IAC5E,CAAC;CACF,CAAA;AAJY,0BAA0B;IADtC,aAAa,CAAC,sBAAsB,CAAC;GACzB,0BAA0B,CAItC","sourcesContent":["import './ox-editor-i18n'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor, PropertySpec } from '@operato/property-editor'\n\n@customElement('property-editor-i18n')\nexport class PropertyEditorLegendStatus extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec) {\n return html` <ox-editor-i18n .value=${value} fullwidth></ox-editor-i18n> `\n }\n}\n"]}
1
+ {"version":3,"file":"property-editor-i18n.js","sourceRoot":"","sources":["../../src/editors/property-editor-i18n.ts"],"names":[],"mappings":";AAAA,OAAO,qBAAqB,CAAA;AAE5B,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAgB,MAAM,0BAA0B,CAAA;AAGlE,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,gBAAgB;IAC9D,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,OAAO,IAAI,CAAA,2BAA2B,KAAK,+BAA+B,CAAA;IAC5E,CAAC;CACF,CAAA;AAJY,0BAA0B;IADtC,aAAa,CAAC,sBAAsB,CAAC;GACzB,0BAA0B,CAItC","sourcesContent":["import './ox-editor-i18n.js'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor, PropertySpec } from '@operato/property-editor'\n\n@customElement('property-editor-i18n')\nexport class PropertyEditorLegendStatus extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec) {\n return html` <ox-editor-i18n .value=${value} fullwidth></ox-editor-i18n> `\n }\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { default as Label } from './label';
1
+ export { default as Label } from './label.js';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { default as Label } from './label';
1
+ export { default as Label } from './label.js';
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA","sourcesContent":["export { default as Label } from './label'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,YAAY,CAAA","sourcesContent":["export { default as Label } from './label.js'\n"]}
@@ -1,3 +1,3 @@
1
- import label from './label';
1
+ import label from './label.js';
2
2
  export default [label];
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;AAE3B,eAAe,CAAC,KAAK,CAAC,CAAA","sourcesContent":["import label from './label'\n\nexport default [label]\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,YAAY,CAAA;AAE9B,eAAe,CAAC,KAAK,CAAC,CAAA","sourcesContent":["import label from './label.js'\n\nexport default [label]\n"]}
package/package.json CHANGED
@@ -2,7 +2,8 @@
2
2
  "name": "@operato/scene-i18n",
3
3
  "description": "i18n component for things-scene",
4
4
  "author": "heartyoh",
5
- "version": "9.0.0-beta.1",
5
+ "version": "9.0.0-beta.13",
6
+ "type": "module",
6
7
  "main": "dist/index.js",
7
8
  "module": "dist/index.js",
8
9
  "license": "MIT",
@@ -29,7 +30,7 @@
29
30
  "dependencies": {
30
31
  "@hatiolab/things-scene": "^9.0.0-beta",
31
32
  "@operato/property-editor": "^9.0.0-beta",
32
- "i18next": "^21.5.4",
33
+ "i18next": "^24.2.1",
33
34
  "lit": "^3.1.2"
34
35
  },
35
36
  "devDependencies": {
@@ -40,8 +41,8 @@
40
41
  "@typescript-eslint/parser": "^4.33.0",
41
42
  "@web/dev-server": "^0.1.28",
42
43
  "concurrently": "^8.0.1",
43
- "eslint": "^8.39.0",
44
- "eslint-config-prettier": "^8.3.0",
44
+ "eslint": "^9.18.0",
45
+ "eslint-config-prettier": "^10.0.1",
45
46
  "husky": "^8.0.3",
46
47
  "lint-staged": "^13.2.2",
47
48
  "prettier": "^2.4.1",
@@ -60,5 +61,5 @@
60
61
  "prettier --write"
61
62
  ]
62
63
  },
63
- "gitHead": "6c745ed97d64cb720df566cba0f809f2041b09e8"
64
+ "gitHead": "c81a392e266c452b10739c20cf7584a92c98443b"
64
65
  }
@@ -1,5 +1,5 @@
1
- import editors from './dist/editors'
2
- import templates from './dist/templates'
1
+ import editors from './dist/editors/index.js'
2
+ import templates from './dist/templates/index.js'
3
3
 
4
4
  export default {
5
5
  templates,