@eui/core 19.2.2 → 19.2.3-snapshot-1747082195075

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.
@@ -6,4 +6,5 @@ export * from './format-helpers';
6
6
  export * from './http-helpers';
7
7
  export * from './utils';
8
8
  export * from './css-utils';
9
+ export * from './injector';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { InjectionToken, Injector, Type } from '@angular/core';
2
+ /**
3
+ * Safely resolves a service from the injector only when needed.
4
+ * Avoids instantiation errors that can occur with `inject(..., { optional: true })`.
5
+ *
6
+ * @param token The service token to inject
7
+ * @param injector The injector to use (defaults to the current injector)
8
+ * @returns The service instance or null if unavailable
9
+ */
10
+ export declare function injectOptional<T>(token: Type<T> | InjectionToken<T>, injector?: Injector): T | null;
11
+ //# sourceMappingURL=injector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"injector.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/injector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEvE;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,QAAQ,WAAmB,GAAG,CAAC,GAAG,IAAI,CAM3G"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eui/core",
3
- "version": "19.2.2",
4
- "tag": "latest",
3
+ "version": "19.2.3-snapshot-1747082195075",
4
+ "tag": "snapshot",
5
5
  "description": "eUI core package - holding UI components for Desktop applications",
6
6
  "homepage": "https://eui.ecdevops.eu",
7
7
  "author": "ec.europa.eui@gmail.com",
@@ -10,7 +10,7 @@
10
10
  "url": "https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/core"
11
11
  },
12
12
  "peerDependencies": {
13
- "@eui/base": "19.2.2",
13
+ "@eui/base": "19.2.3-snapshot-1747082195075",
14
14
  "rxjs": "^7.8.0",
15
15
  "extend": "^3.0.2",
16
16
  "localforage": "^1.10.0",