@arcgis/lumina-compiler 5.2.0-next.119 → 5.2.0-next.120

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -7
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1368,7 +1368,7 @@ ${e.map((t) => ` "/${t}",`).join(`
1368
1368
  }`, Fr = "@arcgis/lumina-compiler", $i = {
1369
1369
  name: Fr
1370
1370
  };
1371
- var Rr = ["@arcgis/api-extractor", "@arcgis/arcade-languageservice", "@arcgis/arcade-parser", "@arcgis/core", "@arcgis/languages-api-utils", "@arcgis/languages-sdk-spec", "@arcgis/lumina", "@arcgis/lumina-compiler", "@arcgis/node-toolkit", "@arcgis/stencil-to-lumina", "@arcgis/toolkit", "@arcgis/typescript-config"];
1371
+ var Rr = ["@arcgis/api-extractor", "@arcgis/arcade-languageservice", "@arcgis/arcade-parser", "@arcgis/core", "@arcgis/languages-api-utils", "@arcgis/languages-sdk-spec", "@arcgis/lumina", "@arcgis/lumina-compiler", "@arcgis/lumina-toolkit", "@arcgis/node-toolkit", "@arcgis/stencil-to-lumina", "@arcgis/toolkit", "@arcgis/typescript-config"];
1372
1372
  async function Pi(e, t) {
1373
1373
  return ne ??= Or(e, t), await ne;
1374
1374
  }
@@ -2621,7 +2621,7 @@ const Gi = (e, t) => ({
2621
2621
  maximumFractionDigits: 2,
2622
2622
  minimumFractionDigits: 2
2623
2623
  }), Jt = (e) => `${Wn.format(e)} kB`, Un = (e, t = u.resolve("src")) => u.relative(t, u.join(e, "..", mt.slice(0, -3)));
2624
- var zn = ["@arcgis-test/lit-components/loader", "@arcgis/ai-components/loader", "@arcgis/api-extractor", "@arcgis/arcade-languageservice", "@arcgis/arcade-parser", "@arcgis/charts-components/loader", "@arcgis/coding-components/loader", "@arcgis/common-components/loader", "@arcgis/core", "@arcgis/embeddable-components/loader", "@arcgis/languages-api-utils", "@arcgis/languages-sdk-spec", "@arcgis/lumina", "@arcgis/map-components/loader", "@arcgis/node-toolkit", "@arcgis/portal-components/loader", "@arcgis/stencil-to-lumina", "@arcgis/toolkit", "@arcgis/typescript-config"];
2624
+ var zn = ["@arcgis-test/lit-components/loader", "@arcgis/ai-components/loader", "@arcgis/api-extractor", "@arcgis/arcade-languageservice", "@arcgis/arcade-parser", "@arcgis/charts-components/loader", "@arcgis/coding-components/loader", "@arcgis/common-components/loader", "@arcgis/core", "@arcgis/embeddable-components/loader", "@arcgis/languages-api-utils", "@arcgis/languages-sdk-spec", "@arcgis/lumina", "@arcgis/lumina-toolkit", "@arcgis/map-components/loader", "@arcgis/node-toolkit", "@arcgis/portal-components/loader", "@arcgis/stencil-to-lumina", "@arcgis/toolkit", "@arcgis/typescript-config"];
2625
2625
  const Bt = "@arcgis/lumina:configureVite", Hn = (e) => ({
2626
2626
  name: Bt,
2627
2627
  async config({
@@ -5455,11 +5455,14 @@ async function Xa(e, t) {
5455
5455
  const { name: i } = j(), s = [];
5456
5456
  for (const a of e.apiJson.modules)
5457
5457
  for (const c of a.declarations)
5458
- c.customElement === !0 && s.push(Ya(c));
5458
+ Ya(c) && s.push(Qa(c));
5459
5459
  const n = [`/// <reference types="${i}" preserve="true" />`, Ga, ...s].join(""), r = u.resolve(t.proxiesFile);
5460
5460
  await X(u.dirname(r), { recursive: !0 }), await K(r, n);
5461
5461
  }
5462
5462
  function Ya(e) {
5463
+ return e.customElement === !0 && e.abstract !== !0;
5464
+ }
5465
+ function Qa(e) {
5463
5466
  const t = e.events?.map(
5464
5467
  (i) => ` ${Vs(`on${Cs(i.name)}`)}: "${i.name}" as EventName<HTML${e.pascalCaseName}Element["${i.name}"]>,`
5465
5468
  ).join(`
@@ -5476,7 +5479,7 @@ ${t}
5476
5479
  );
5477
5480
  `;
5478
5481
  }
5479
- function Pc(e = {}) {
5482
+ function kc(e = {}) {
5480
5483
  const t = new $(e), s = [
5481
5484
  t._plugin,
5482
5485
  Hn(t),
@@ -5499,7 +5502,7 @@ function Pc(e = {}) {
5499
5502
  ].filter(R);
5500
5503
  return s.context = t, s;
5501
5504
  }
5502
- const kc = {
5505
+ const Ic = {
5503
5506
  initializeComponentDependencies: Pi,
5504
5507
  updateLuminaTs: Qi,
5505
5508
  propertyToAttributeMappings: W,
@@ -5511,7 +5514,7 @@ const kc = {
5511
5514
  htmlAlwaysAttributes: Qe
5512
5515
  };
5513
5516
  export {
5514
- kc as exportsForCodemod,
5517
+ Ic as exportsForCodemod,
5515
5518
  De as inferCdnUrl,
5516
- Pc as useLumina
5519
+ kc as useLumina
5517
5520
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina-compiler",
3
- "version": "5.2.0-next.119",
3
+ "version": "5.2.0-next.120",
4
4
  "description": "Compiler for WebGIS web components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,9 +25,9 @@
25
25
  ],
26
26
  "license": "SEE LICENSE IN LICENSE.md",
27
27
  "dependencies": {
28
- "@arcgis/api-extractor": "5.2.0-next.119",
29
- "@arcgis/node-toolkit": "5.2.0-next.119",
30
- "@arcgis/toolkit": "~5.2.0-next.119",
28
+ "@arcgis/api-extractor": "5.2.0-next.120",
29
+ "@arcgis/node-toolkit": "5.2.0-next.120",
30
+ "@arcgis/toolkit": "~5.2.0-next.120",
31
31
  "esbuild": "~0.28.1",
32
32
  "js-beautify": "^1.15.4",
33
33
  "mime-types": "^3.0.1",
@@ -35,7 +35,7 @@
35
35
  "tslib": "^2.8.1"
36
36
  },
37
37
  "peerDependencies": {
38
- "@arcgis/lumina": "~5.2.0-next.119",
38
+ "@arcgis/lumina": "~5.2.0-next.120",
39
39
  "lit": "^3.3.0",
40
40
  "puppeteer": "^24.30.0",
41
41
  "typescript": "~6.0.3",