@open-pioneer/integration 4.1.0-dev.20250707115222 → 4.1.0-dev.20250818125237

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,14 +1,15 @@
1
1
  # @open-pioneer/integration
2
2
 
3
- ## 4.1.0-dev.20250707115222
3
+ ## 4.1.0-dev.20250818125237
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - b7a854d: Update dependencies
8
8
  - adf277b: Update dependencies
9
9
  - Updated dependencies [b7a854d]
10
+ - Updated dependencies [3881d08]
10
11
  - Updated dependencies [adf277b]
11
- - @open-pioneer/runtime@4.1.0-dev.20250707115222
12
+ - @open-pioneer/runtime@4.1.0-dev.20250818125237
12
13
 
13
14
  ## 4.0.0
14
15
 
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalEventServiceImpl.js","sources":["ExternalEventServiceImpl.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { ApplicationContext, Service, ServiceOptions } from \"@open-pioneer/runtime\";\nimport { ExternalEventService } from \"./api\";\n\ninterface References {\n ctx: ApplicationContext;\n}\n\nexport class ExternalEventServiceImpl implements Service<ExternalEventService> {\n #ctx: ApplicationContext;\n\n constructor({ references }: ServiceOptions<References>) {\n this.#ctx = references.ctx;\n }\n\n emitEvent(name: string, detail?: unknown): void;\n emitEvent(event: Event): void;\n emitEvent(nameOrEvent: string | Event, detail: unknown = null) {\n if (nameOrEvent == null) {\n return;\n }\n\n if (nameOrEvent instanceof Event) {\n this.#dispatch(nameOrEvent);\n return;\n }\n\n const event = new CustomEvent(nameOrEvent, {\n bubbles: false,\n cancelable: false,\n detail\n });\n this.#dispatch(event);\n }\n\n #dispatch(event: Event) {\n this.#ctx.getHostElement().dispatchEvent(event);\n }\n}\n"],"names":[],"mappings":"AASO,MAAM,wBAAkE,CAAA;AAAA,EAC3E,IAAA;AAAA,EAEA,WAAA,CAAY,EAAE,UAAA,EAA0C,EAAA;AACpD,IAAA,IAAA,CAAK,OAAO,UAAW,CAAA,GAAA;AAAA;AAC3B,EAIA,SAAA,CAAU,WAA6B,EAAA,MAAA,GAAkB,IAAM,EAAA;AAC3D,IAAA,IAAI,eAAe,IAAM,EAAA;AACrB,MAAA;AAAA;AAGJ,IAAA,IAAI,uBAAuB,KAAO,EAAA;AAC9B,MAAA,IAAA,CAAK,UAAU,WAAW,CAAA;AAC1B,MAAA;AAAA;AAGJ,IAAM,MAAA,KAAA,GAAQ,IAAI,WAAA,CAAY,WAAa,EAAA;AAAA,MACvC,OAAS,EAAA,KAAA;AAAA,MACT,UAAY,EAAA,KAAA;AAAA,MACZ;AAAA,KACH,CAAA;AACD,IAAA,IAAA,CAAK,UAAU,KAAK,CAAA;AAAA;AACxB,EAEA,UAAU,KAAc,EAAA;AACpB,IAAA,IAAA,CAAK,IAAK,CAAA,cAAA,EAAiB,CAAA,aAAA,CAAc,KAAK,CAAA;AAAA;AAEtD;;;;"}
1
+ {"version":3,"file":"ExternalEventServiceImpl.js","sources":["ExternalEventServiceImpl.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { ApplicationContext, Service, ServiceOptions } from \"@open-pioneer/runtime\";\nimport { ExternalEventService } from \"./api\";\n\ninterface References {\n ctx: ApplicationContext;\n}\n\nexport class ExternalEventServiceImpl implements Service<ExternalEventService> {\n #ctx: ApplicationContext;\n\n constructor({ references }: ServiceOptions<References>) {\n this.#ctx = references.ctx;\n }\n\n emitEvent(name: string, detail?: unknown): void;\n emitEvent(event: Event): void;\n emitEvent(nameOrEvent: string | Event, detail: unknown = null) {\n if (nameOrEvent == null) {\n return;\n }\n\n if (nameOrEvent instanceof Event) {\n this.#dispatch(nameOrEvent);\n return;\n }\n\n const event = new CustomEvent(nameOrEvent, {\n bubbles: false,\n cancelable: false,\n detail\n });\n this.#dispatch(event);\n }\n\n #dispatch(event: Event) {\n this.#ctx.getHostElement().dispatchEvent(event);\n }\n}\n"],"names":[],"mappings":"AASO,MAAM,wBAAA,CAAkE;AAAA,EAC3E,IAAA;AAAA,EAEA,WAAA,CAAY,EAAE,UAAA,EAAW,EAA+B;AACpD,IAAA,IAAA,CAAK,OAAO,UAAA,CAAW,GAAA;AAAA,EAC3B;AAAA,EAIA,SAAA,CAAU,WAAA,EAA6B,MAAA,GAAkB,IAAA,EAAM;AAC3D,IAAA,IAAI,eAAe,IAAA,EAAM;AACrB,MAAA;AAAA,IACJ;AAEA,IAAA,IAAI,uBAAuB,KAAA,EAAO;AAC9B,MAAA,IAAA,CAAK,UAAU,WAAW,CAAA;AAC1B,MAAA;AAAA,IACJ;AAEA,IAAA,MAAM,KAAA,GAAQ,IAAI,WAAA,CAAY,WAAA,EAAa;AAAA,MACvC,OAAA,EAAS,KAAA;AAAA,MACT,UAAA,EAAY,KAAA;AAAA,MACZ;AAAA,KACH,CAAA;AACD,IAAA,IAAA,CAAK,UAAU,KAAK,CAAA;AAAA,EACxB;AAAA,EAEA,UAAU,KAAA,EAAc;AACpB,IAAA,IAAA,CAAK,IAAA,CAAK,cAAA,EAAe,CAAE,aAAA,CAAc,KAAK,CAAA;AAAA,EAClD;AACJ;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@open-pioneer/integration",
4
- "version": "4.1.0-dev.20250707115222",
4
+ "version": "4.1.0-dev.20250818125237",
5
5
  "description": "Provides techniques for the communication between an application (web component) and its embedding site.",
6
6
  "keywords": [
7
7
  "open-pioneer-trails"
@@ -14,7 +14,7 @@
14
14
  "directory": "src/packages/integration"
15
15
  },
16
16
  "dependencies": {
17
- "@open-pioneer/runtime": "4.1.0-dev.20250707115222"
17
+ "@open-pioneer/runtime": "4.1.0-dev.20250818125237"
18
18
  },
19
19
  "exports": {
20
20
  "./package.json": "./package.json",