@arcgis/coding-components 4.32.0-next.10 → 4.32.0-next.11

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 (83) hide show
  1. package/dist/arcgis-coding-components/{SS4S7LFB.js → 5RQX6WBV.js} +2 -2
  2. package/dist/arcgis-coding-components/{53ZGIKF7.js → 6ED2H46J.js} +3 -3
  3. package/dist/arcgis-coding-components/{LR4WPVYU.js → 6IYNJARA.js} +2 -2
  4. package/dist/arcgis-coding-components/{MKMQDRWQ.js → 6ODM4XGO.js} +2 -2
  5. package/dist/arcgis-coding-components/{OOJSOBU6.js → 7BBAC3ID.js} +2 -2
  6. package/dist/arcgis-coding-components/{7XHSHEZ3.js → 7IIXUTGM.js} +2 -2
  7. package/dist/arcgis-coding-components/{LOGVBXNU.js → AI4UTX7T.js} +2 -2
  8. package/dist/arcgis-coding-components/{I7PRZSZM.js → C7B4IX4U.js} +2 -2
  9. package/dist/arcgis-coding-components/D4AM4DFB.js +8 -0
  10. package/dist/arcgis-coding-components/{TKTRPRRM.js → DNZXF336.js} +2 -2
  11. package/dist/arcgis-coding-components/{2YUB7NF5.js → FBOZEHVU.js} +2 -2
  12. package/dist/arcgis-coding-components/{Q4DQ37OZ.js → GB2ZLITO.js} +2 -2
  13. package/dist/arcgis-coding-components/{OV7DYHJX.js → J246TF63.js} +1 -1
  14. package/dist/arcgis-coding-components/{HENC3EC5.js → KK4WZ2X3.js} +2 -2
  15. package/dist/arcgis-coding-components/{A5I5U3OC.js → KR5OMTVW.js} +2 -2
  16. package/dist/arcgis-coding-components/{COCVAL45.js → LGMO3BKX.js} +2 -2
  17. package/dist/arcgis-coding-components/{TZHLUNTW.js → M67MJ5MA.js} +2 -2
  18. package/dist/arcgis-coding-components/{EIFVJUWA.js → P47Y6TPU.js} +2 -2
  19. package/dist/arcgis-coding-components/{VFMCWH7Q.js → RFBYOXIZ.js} +2 -2
  20. package/dist/arcgis-coding-components/{DENQBTI3.js → SDL6W2MG.js} +2 -2
  21. package/dist/arcgis-coding-components/{FFT5LAUK.js → SXEI2GD5.js} +2 -2
  22. package/dist/arcgis-coding-components/{SM2CV2SU.js → SZJ2DW7G.js} +1 -1
  23. package/dist/arcgis-coding-components/{TE55T77S.js → TDBJ6VDU.js} +2 -2
  24. package/dist/arcgis-coding-components/{RNGIETXF.js → TPRURNA6.js} +2 -2
  25. package/dist/arcgis-coding-components/{GL6ZRA75.js → TSO6YER6.js} +2 -2
  26. package/dist/arcgis-coding-components/{ZDLDLBX7.js → XOXKRG4A.js} +2 -2
  27. package/dist/arcgis-coding-components/{XPFHACMT.js → XRGW7RHY.js} +1 -1
  28. package/dist/arcgis-coding-components/{V62AOKDR.js → XY4UTMF2.js} +2 -2
  29. package/dist/arcgis-coding-components/{24BQLP6L.js → YJ54T6XP.js} +1 -1
  30. package/dist/arcgis-coding-components/{GAOQEMNI.js → YMPHUX35.js} +2 -2
  31. package/dist/arcgis-coding-components/{IHGWKANP.js → YUU7Q3R3.js} +2 -2
  32. package/dist/arcgis-coding-components/{PR5O2FBC.js → Z4M2FMDD.js} +2 -2
  33. package/dist/arcgis-coding-components/{NRZUXQGB.js → ZBWDMSWL.js} +2 -2
  34. package/dist/arcgis-coding-components/{SH5MCNKE.js → ZDTNZT55.js} +2 -2
  35. package/dist/arcgis-coding-components/{36M2WALP.js → ZUWKSK66.js} +2 -2
  36. package/dist/arcgis-coding-components/arcgis-coding-components.css +1 -1
  37. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  38. package/dist/chunks/arcade-defaults.js +1 -1
  39. package/dist/chunks/arcade-executor.js +1 -1
  40. package/dist/chunks/arcade-mode.js +1 -1
  41. package/dist/chunks/arcade-service-accessors.js +1 -1
  42. package/dist/chunks/fields.js +1 -1
  43. package/dist/chunks/language-defaults-base.js +1 -1
  44. package/dist/chunks/markdown.js +1 -1
  45. package/dist/chunks/monaco-importer.js +1 -1
  46. package/dist/chunks/runtime.js +98 -111
  47. package/dist/chunks/sql-expr-defaults.js +1 -1
  48. package/dist/chunks/sql-expr-mode.js +1 -1
  49. package/dist/chunks/useT9n.js +1 -1
  50. package/dist/components/arcgis-arcade-editor/customElement.d.ts +0 -14
  51. package/dist/components/arcgis-arcade-editor/customElement.js +3 -3
  52. package/dist/components/arcgis-arcade-results/customElement.d.ts +1 -1
  53. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  54. package/dist/components/arcgis-arcade-suggestions/customElement.d.ts +1 -1
  55. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  56. package/dist/components/arcgis-code-editor/customElement.d.ts +0 -5
  57. package/dist/components/arcgis-code-editor/customElement.js +2 -2
  58. package/dist/components/arcgis-editor-variables/customElement.d.ts +1 -1
  59. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  60. package/dist/components/arcgis-language-api-panel/customElement.d.ts +1 -1
  61. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  62. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  63. package/dist/components/arcgis-sql-expression-fields/customElement.d.ts +1 -1
  64. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  65. package/dist/docs/api.json +1095 -0
  66. package/dist/docs/docs.json +263 -1338
  67. package/dist/docs/vscode.html-custom-data.json +2 -86
  68. package/dist/docs/web-types.json +4 -317
  69. package/dist/index.d.ts +1 -96
  70. package/dist/index.js +1 -1
  71. package/dist/loader.js +1 -1
  72. package/dist/runtime.d.ts +1 -1
  73. package/dist/types/lumina.d.ts +0 -35
  74. package/dist/types/preact.d.ts +0 -40
  75. package/dist/types/react.d.ts +0 -50
  76. package/dist/types/stencil.d.ts +0 -35
  77. package/dist/utils/monaco-importer.d.ts +0 -1
  78. package/dist/utils/profile/editor-profile.d.ts +2 -2
  79. package/dist/utils/profile/utils.d.ts +0 -1
  80. package/dist/utils/utilities.d.ts +0 -1
  81. package/package.json +7 -8
  82. package/dist/arcgis-coding-components/TIGHA6LZ.js +0 -8
  83. package/dist/docs/manifest.json +0 -2226
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { m as e, r as i } from "./chunks/runtime.js";
2
2
  /*!
3
3
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
5
- * v4.32.0-next.10
5
+ * v4.32.0-next.11
6
6
  */
7
7
  const s = e(i, {
8
8
  "arcgis-arcade-editor": [() => import("./components/arcgis-arcade-editor/customElement.js"), "editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],
package/dist/runtime.d.ts CHANGED
@@ -3,4 +3,4 @@ export declare const runtime: import('@arcgis/lumina').Runtime;
3
3
  * "customElement" needs to be exported - it will be used by the build system.
4
4
  * You should not call it directly.
5
5
  */
6
- export declare const customElement: (tagName: string, component: typeof import('@arcgis/lumina').LitElement) => void, getAssetPath: (suffix: string) => string, setAssetPath: (path: string | URL) => void;
6
+ export declare const customElement: (tagName: string, component: typeof import('@arcgis/lumina').LitElement) => void, getAssetPath: (suffix: string) => string, setAssetPath: (path: URL | string) => void;
@@ -1,12 +1,7 @@
1
1
  /// <reference types="../index.d.ts" />
2
2
  import type { ArcgisArcadeEditor } from "../components/arcgis-arcade-editor";
3
- import type { ArcgisArcadeResults } from "../components/arcgis-arcade-results";
4
- import type { ArcgisArcadeSuggestions } from "../components/arcgis-arcade-suggestions";
5
3
  import type { ArcgisCodeEditor } from "../components/arcgis-code-editor";
6
- import type { ArcgisEditorVariables } from "../components/arcgis-editor-variables";
7
- import type { ArcgisLanguageApiPanel } from "../components/arcgis-language-api-panel";
8
4
  import type { ArcgisSqlExpressionEditor } from "../components/arcgis-sql-expression-editor";
9
- import type { SqlExpressionFields } from "../components/arcgis-sql-expression-fields";
10
5
  import { h } from "@arcgis/lumina";
11
6
 
12
7
  type EventHandler<E> = { bivarianceHack(event: E): void }["bivarianceHack"];
@@ -23,51 +18,21 @@ interface LuminaArcgisArcadeEditor extends Partial<Pick<ArcgisArcadeEditor, 'edi
23
18
  onarcgisScriptChange?: EventHandler<TargetedEvent<HTMLArcgisArcadeEditorElement, CustomEvent<ArcgisArcadeEditor["arcgisScriptChange"]["detail"]>>>;
24
19
  }
25
20
 
26
- interface LuminaArcgisArcadeResults extends Partial<Pick<ArcgisArcadeResults, 'consoleLogs' | 'loading' | 'openedResultPanel' | 'result'>>, h.JSX.HTMLAttributes<HTMLArcgisArcadeResultsElement> {
27
- onarcgisClose?: EventHandler<TargetedEvent<HTMLArcgisArcadeResultsElement, CustomEvent<ArcgisArcadeResults["arcgisClose"]["detail"]>>>;
28
- onarcgisOpenedResultPanelChange?: EventHandler<TargetedEvent<HTMLArcgisArcadeResultsElement, CustomEvent<ArcgisArcadeResults["arcgisOpenedResultPanelChange"]["detail"]>>>;
29
- }
30
-
31
- interface LuminaArcgisArcadeSuggestions extends Partial<Pick<ArcgisArcadeSuggestions, 'suggestions'>>, h.JSX.HTMLAttributes<HTMLArcgisArcadeSuggestionsElement> {
32
- onarcgisClose?: EventHandler<TargetedEvent<HTMLArcgisArcadeSuggestionsElement, CustomEvent<ArcgisArcadeSuggestions["arcgisClose"]["detail"]>>>;
33
- onarcgisItemSelected?: EventHandler<TargetedEvent<HTMLArcgisArcadeSuggestionsElement, CustomEvent<ArcgisArcadeSuggestions["arcgisItemSelected"]["detail"]>>>;
34
- }
35
-
36
21
  interface LuminaArcgisCodeEditor extends Partial<Pick<ArcgisCodeEditor, 'editorOptions' | 'language' | 'modelId' | 'value'>>, h.JSX.HTMLAttributes<HTMLArcgisCodeEditorElement> {
37
22
  onarcgisSelectionChange?: EventHandler<TargetedEvent<HTMLArcgisCodeEditorElement, CustomEvent<ArcgisCodeEditor["arcgisSelectionChange"]["detail"]>>>;
38
23
  onarcgisValueChange?: EventHandler<TargetedEvent<HTMLArcgisCodeEditorElement, CustomEvent<ArcgisCodeEditor["arcgisValueChange"]["detail"]>>>;
39
24
  }
40
25
 
41
- interface LuminaArcgisEditorVariables extends Partial<Pick<ArcgisEditorVariables, 'loading' | 'modelId' | 'variable'>>, h.JSX.HTMLAttributes<HTMLArcgisEditorVariablesElement> {
42
- onarcgisClose?: EventHandler<TargetedEvent<HTMLArcgisEditorVariablesElement, CustomEvent<ArcgisEditorVariables["arcgisClose"]["detail"]>>>;
43
- onarcgisItemSelected?: EventHandler<TargetedEvent<HTMLArcgisEditorVariablesElement, CustomEvent<ArcgisEditorVariables["arcgisItemSelected"]["detail"]>>>;
44
- }
45
-
46
- interface LuminaArcgisLanguageApiPanel extends Partial<Pick<ArcgisLanguageApiPanel, 'apiLibrary' | 'hideDocumentationActions' | 'loading'>>, h.JSX.HTMLAttributes<HTMLArcgisLanguageApiPanelElement> {
47
- onarcgisClose?: EventHandler<TargetedEvent<HTMLArcgisLanguageApiPanelElement, CustomEvent<ArcgisLanguageApiPanel["arcgisClose"]["detail"]>>>;
48
- onarcgisItemSelected?: EventHandler<TargetedEvent<HTMLArcgisLanguageApiPanelElement, CustomEvent<ArcgisLanguageApiPanel["arcgisItemSelected"]["detail"]>>>;
49
- }
50
-
51
26
  interface LuminaArcgisSqlExpressionEditor extends Partial<Pick<ArcgisSqlExpressionEditor, 'profile' | 'script'>>, h.JSX.HTMLAttributes<HTMLArcgisSqlExpressionEditorElement> {
52
27
  onarcgisScriptChange?: EventHandler<TargetedEvent<HTMLArcgisSqlExpressionEditorElement, CustomEvent<ArcgisSqlExpressionEditor["arcgisScriptChange"]["detail"]>>>;
53
28
  }
54
29
 
55
- interface LuminaSqlExpressionFields extends Partial<Pick<SqlExpressionFields, 'loading' | 'modelId'>>, h.JSX.HTMLAttributes<HTMLArcgisSqlExpressionFieldsElement> {
56
- onarcgisClose?: EventHandler<TargetedEvent<HTMLArcgisSqlExpressionFieldsElement, CustomEvent<SqlExpressionFields["arcgisClose"]["detail"]>>>;
57
- onarcgisFieldSelected?: EventHandler<TargetedEvent<HTMLArcgisSqlExpressionFieldsElement, CustomEvent<SqlExpressionFields["arcgisFieldSelected"]["detail"]>>>;
58
- }
59
-
60
30
  declare module "@arcgis/lumina" {
61
31
  export namespace h.JSX {
62
32
  interface IntrinsicElements {
63
33
  "arcgis-arcade-editor": LuminaArcgisArcadeEditor;
64
- "arcgis-arcade-results": LuminaArcgisArcadeResults;
65
- "arcgis-arcade-suggestions": LuminaArcgisArcadeSuggestions;
66
34
  "arcgis-code-editor": LuminaArcgisCodeEditor;
67
- "arcgis-editor-variables": LuminaArcgisEditorVariables;
68
- "arcgis-language-api-panel": LuminaArcgisLanguageApiPanel;
69
35
  "arcgis-sql-expression-editor": LuminaArcgisSqlExpressionEditor;
70
- "arcgis-sql-expression-fields": LuminaSqlExpressionFields;
71
36
  }
72
37
  }
73
38
  }
@@ -1,12 +1,7 @@
1
1
  /// <reference types="../index.d.ts" />
2
2
  import type { ArcgisArcadeEditor } from "../components/arcgis-arcade-editor";
3
- import type { ArcgisArcadeResults } from "../components/arcgis-arcade-results";
4
- import type { ArcgisArcadeSuggestions } from "../components/arcgis-arcade-suggestions";
5
3
  import type { ArcgisCodeEditor } from "../components/arcgis-code-editor";
6
- import type { ArcgisEditorVariables } from "../components/arcgis-editor-variables";
7
- import type { ArcgisLanguageApiPanel } from "../components/arcgis-language-api-panel";
8
4
  import type { ArcgisSqlExpressionEditor } from "../components/arcgis-sql-expression-editor";
9
- import type { SqlExpressionFields } from "../components/arcgis-sql-expression-fields";
10
5
  import { JSX as PreactJsx } from "preact";
11
6
 
12
7
  interface PreactArcgisArcadeEditor extends Partial<Pick<ArcgisArcadeEditor, 'editorOptions' | 'hideDocumentationActions' | 'hideSideBar' | 'openedSidePanel' | 'profile' | 'script' | 'sideActionBarExpanded' | 'snippets' | 'suggestions' | 'testData'>>, PreactJsx.HTMLAttributes<HTMLArcgisArcadeEditorElement> {
@@ -14,63 +9,28 @@ interface PreactArcgisArcadeEditor extends Partial<Pick<ArcgisArcadeEditor, 'edi
14
9
  onarcgisScriptChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisArcadeEditorElement, CustomEvent<ArcgisArcadeEditor["arcgisScriptChange"]["detail"]>>>;
15
10
  }
16
11
 
17
- interface PreactArcgisArcadeResults extends Partial<Pick<ArcgisArcadeResults, 'consoleLogs' | 'loading' | 'openedResultPanel' | 'result'>>, PreactJsx.HTMLAttributes<HTMLArcgisArcadeResultsElement> {
18
- onarcgisClose?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisArcadeResultsElement, CustomEvent<ArcgisArcadeResults["arcgisClose"]["detail"]>>>;
19
- onarcgisOpenedResultPanelChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisArcadeResultsElement, CustomEvent<ArcgisArcadeResults["arcgisOpenedResultPanelChange"]["detail"]>>>;
20
- }
21
-
22
- interface PreactArcgisArcadeSuggestions extends Partial<Pick<ArcgisArcadeSuggestions, 'suggestions'>>, PreactJsx.HTMLAttributes<HTMLArcgisArcadeSuggestionsElement> {
23
- onarcgisClose?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisArcadeSuggestionsElement, CustomEvent<ArcgisArcadeSuggestions["arcgisClose"]["detail"]>>>;
24
- onarcgisItemSelected?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisArcadeSuggestionsElement, CustomEvent<ArcgisArcadeSuggestions["arcgisItemSelected"]["detail"]>>>;
25
- }
26
-
27
12
  interface PreactArcgisCodeEditor extends Partial<Pick<ArcgisCodeEditor, 'editorOptions' | 'language' | 'modelId' | 'value'>>, PreactJsx.HTMLAttributes<HTMLArcgisCodeEditorElement> {
28
13
  onarcgisSelectionChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisCodeEditorElement, CustomEvent<ArcgisCodeEditor["arcgisSelectionChange"]["detail"]>>>;
29
14
  onarcgisValueChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisCodeEditorElement, CustomEvent<ArcgisCodeEditor["arcgisValueChange"]["detail"]>>>;
30
15
  }
31
16
 
32
- interface PreactArcgisEditorVariables extends Partial<Pick<ArcgisEditorVariables, 'loading' | 'modelId' | 'variable'>>, PreactJsx.HTMLAttributes<HTMLArcgisEditorVariablesElement> {
33
- onarcgisClose?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisEditorVariablesElement, CustomEvent<ArcgisEditorVariables["arcgisClose"]["detail"]>>>;
34
- onarcgisItemSelected?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisEditorVariablesElement, CustomEvent<ArcgisEditorVariables["arcgisItemSelected"]["detail"]>>>;
35
- }
36
-
37
- interface PreactArcgisLanguageApiPanel extends Partial<Pick<ArcgisLanguageApiPanel, 'apiLibrary' | 'hideDocumentationActions' | 'loading'>>, PreactJsx.HTMLAttributes<HTMLArcgisLanguageApiPanelElement> {
38
- onarcgisClose?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisLanguageApiPanelElement, CustomEvent<ArcgisLanguageApiPanel["arcgisClose"]["detail"]>>>;
39
- onarcgisItemSelected?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisLanguageApiPanelElement, CustomEvent<ArcgisLanguageApiPanel["arcgisItemSelected"]["detail"]>>>;
40
- }
41
-
42
17
  interface PreactArcgisSqlExpressionEditor extends Partial<Pick<ArcgisSqlExpressionEditor, 'profile' | 'script'>>, PreactJsx.HTMLAttributes<HTMLArcgisSqlExpressionEditorElement> {
43
18
  onarcgisScriptChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisSqlExpressionEditorElement, CustomEvent<ArcgisSqlExpressionEditor["arcgisScriptChange"]["detail"]>>>;
44
19
  }
45
20
 
46
- interface PreactSqlExpressionFields extends Partial<Pick<SqlExpressionFields, 'loading' | 'modelId'>>, PreactJsx.HTMLAttributes<HTMLArcgisSqlExpressionFieldsElement> {
47
- onarcgisClose?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisSqlExpressionFieldsElement, CustomEvent<SqlExpressionFields["arcgisClose"]["detail"]>>>;
48
- onarcgisFieldSelected?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisSqlExpressionFieldsElement, CustomEvent<SqlExpressionFields["arcgisFieldSelected"]["detail"]>>>;
49
- }
50
-
51
21
  declare module 'preact' {
52
22
  namespace createElement.JSX {
53
23
  interface IntrinsicElements extends PreactJsx.IntrinsicElements {
54
24
  "arcgis-arcade-editor": PreactArcgisArcadeEditor;
55
- "arcgis-arcade-results": PreactArcgisArcadeResults;
56
- "arcgis-arcade-suggestions": PreactArcgisArcadeSuggestions;
57
25
  "arcgis-code-editor": PreactArcgisCodeEditor;
58
- "arcgis-editor-variables": PreactArcgisEditorVariables;
59
- "arcgis-language-api-panel": PreactArcgisLanguageApiPanel;
60
26
  "arcgis-sql-expression-editor": PreactArcgisSqlExpressionEditor;
61
- "arcgis-sql-expression-fields": PreactSqlExpressionFields;
62
27
  }
63
28
  }
64
29
  namespace h.JSX {
65
30
  interface IntrinsicElements extends PreactJsx.IntrinsicElements {
66
31
  "arcgis-arcade-editor": PreactArcgisArcadeEditor;
67
- "arcgis-arcade-results": PreactArcgisArcadeResults;
68
- "arcgis-arcade-suggestions": PreactArcgisArcadeSuggestions;
69
32
  "arcgis-code-editor": PreactArcgisCodeEditor;
70
- "arcgis-editor-variables": PreactArcgisEditorVariables;
71
- "arcgis-language-api-panel": PreactArcgisLanguageApiPanel;
72
33
  "arcgis-sql-expression-editor": PreactArcgisSqlExpressionEditor;
73
- "arcgis-sql-expression-fields": PreactSqlExpressionFields;
74
34
  }
75
35
  }
76
36
  }
@@ -1,12 +1,7 @@
1
1
  /// <reference types="../index.d.ts" />
2
2
  import type { ArcgisArcadeEditor } from "../components/arcgis-arcade-editor";
3
- import type { ArcgisArcadeResults } from "../components/arcgis-arcade-results";
4
- import type { ArcgisArcadeSuggestions } from "../components/arcgis-arcade-suggestions";
5
3
  import type { ArcgisCodeEditor } from "../components/arcgis-code-editor";
6
- import type { ArcgisEditorVariables } from "../components/arcgis-editor-variables";
7
- import type { ArcgisLanguageApiPanel } from "../components/arcgis-language-api-panel";
8
4
  import type { ArcgisSqlExpressionEditor } from "../components/arcgis-sql-expression-editor";
9
- import type { SqlExpressionFields } from "../components/arcgis-sql-expression-fields";
10
5
  import type { Ref, HTMLAttributes, EventHandler, SyntheticEvent } from 'react';
11
6
 
12
7
  interface ReactArcgisArcadeEditor extends Partial<Pick<ArcgisArcadeEditor, 'editorOptions' | 'hideDocumentationActions' | 'hideSideBar' | 'openedSidePanel' | 'profile' | 'script' | 'sideActionBarExpanded' | 'snippets' | 'suggestions' | 'testData'>>, HTMLAttributes<HTMLArcgisArcadeEditorElement> {
@@ -15,58 +10,23 @@ interface ReactArcgisArcadeEditor extends Partial<Pick<ArcgisArcadeEditor, 'edit
15
10
  onarcgisScriptChange?: EventHandler<SyntheticEvent<HTMLArcgisArcadeEditorElement, CustomEvent<ArcgisArcadeEditor["arcgisScriptChange"]["detail"]>>>;
16
11
  }
17
12
 
18
- interface ReactArcgisArcadeResults extends Partial<Pick<ArcgisArcadeResults, 'consoleLogs' | 'loading' | 'openedResultPanel' | 'result'>>, HTMLAttributes<HTMLArcgisArcadeResultsElement> {
19
- ref?: Ref<HTMLArcgisArcadeResultsElement>;
20
- onarcgisClose?: EventHandler<SyntheticEvent<HTMLArcgisArcadeResultsElement, CustomEvent<ArcgisArcadeResults["arcgisClose"]["detail"]>>>;
21
- onarcgisOpenedResultPanelChange?: EventHandler<SyntheticEvent<HTMLArcgisArcadeResultsElement, CustomEvent<ArcgisArcadeResults["arcgisOpenedResultPanelChange"]["detail"]>>>;
22
- }
23
-
24
- interface ReactArcgisArcadeSuggestions extends Partial<Pick<ArcgisArcadeSuggestions, 'suggestions'>>, HTMLAttributes<HTMLArcgisArcadeSuggestionsElement> {
25
- ref?: Ref<HTMLArcgisArcadeSuggestionsElement>;
26
- onarcgisClose?: EventHandler<SyntheticEvent<HTMLArcgisArcadeSuggestionsElement, CustomEvent<ArcgisArcadeSuggestions["arcgisClose"]["detail"]>>>;
27
- onarcgisItemSelected?: EventHandler<SyntheticEvent<HTMLArcgisArcadeSuggestionsElement, CustomEvent<ArcgisArcadeSuggestions["arcgisItemSelected"]["detail"]>>>;
28
- }
29
-
30
13
  interface ReactArcgisCodeEditor extends Partial<Pick<ArcgisCodeEditor, 'editorOptions' | 'language' | 'modelId' | 'value'>>, HTMLAttributes<HTMLArcgisCodeEditorElement> {
31
14
  ref?: Ref<HTMLArcgisCodeEditorElement>;
32
15
  onarcgisSelectionChange?: EventHandler<SyntheticEvent<HTMLArcgisCodeEditorElement, CustomEvent<ArcgisCodeEditor["arcgisSelectionChange"]["detail"]>>>;
33
16
  onarcgisValueChange?: EventHandler<SyntheticEvent<HTMLArcgisCodeEditorElement, CustomEvent<ArcgisCodeEditor["arcgisValueChange"]["detail"]>>>;
34
17
  }
35
18
 
36
- interface ReactArcgisEditorVariables extends Partial<Pick<ArcgisEditorVariables, 'loading' | 'modelId' | 'variable'>>, HTMLAttributes<HTMLArcgisEditorVariablesElement> {
37
- ref?: Ref<HTMLArcgisEditorVariablesElement>;
38
- onarcgisClose?: EventHandler<SyntheticEvent<HTMLArcgisEditorVariablesElement, CustomEvent<ArcgisEditorVariables["arcgisClose"]["detail"]>>>;
39
- onarcgisItemSelected?: EventHandler<SyntheticEvent<HTMLArcgisEditorVariablesElement, CustomEvent<ArcgisEditorVariables["arcgisItemSelected"]["detail"]>>>;
40
- }
41
-
42
- interface ReactArcgisLanguageApiPanel extends Partial<Pick<ArcgisLanguageApiPanel, 'apiLibrary' | 'hideDocumentationActions' | 'loading'>>, HTMLAttributes<HTMLArcgisLanguageApiPanelElement> {
43
- ref?: Ref<HTMLArcgisLanguageApiPanelElement>;
44
- onarcgisClose?: EventHandler<SyntheticEvent<HTMLArcgisLanguageApiPanelElement, CustomEvent<ArcgisLanguageApiPanel["arcgisClose"]["detail"]>>>;
45
- onarcgisItemSelected?: EventHandler<SyntheticEvent<HTMLArcgisLanguageApiPanelElement, CustomEvent<ArcgisLanguageApiPanel["arcgisItemSelected"]["detail"]>>>;
46
- }
47
-
48
19
  interface ReactArcgisSqlExpressionEditor extends Partial<Pick<ArcgisSqlExpressionEditor, 'profile' | 'script'>>, HTMLAttributes<HTMLArcgisSqlExpressionEditorElement> {
49
20
  ref?: Ref<HTMLArcgisSqlExpressionEditorElement>;
50
21
  onarcgisScriptChange?: EventHandler<SyntheticEvent<HTMLArcgisSqlExpressionEditorElement, CustomEvent<ArcgisSqlExpressionEditor["arcgisScriptChange"]["detail"]>>>;
51
22
  }
52
23
 
53
- interface ReactSqlExpressionFields extends Partial<Pick<SqlExpressionFields, 'loading' | 'modelId'>>, HTMLAttributes<HTMLArcgisSqlExpressionFieldsElement> {
54
- ref?: Ref<HTMLArcgisSqlExpressionFieldsElement>;
55
- onarcgisClose?: EventHandler<SyntheticEvent<HTMLArcgisSqlExpressionFieldsElement, CustomEvent<SqlExpressionFields["arcgisClose"]["detail"]>>>;
56
- onarcgisFieldSelected?: EventHandler<SyntheticEvent<HTMLArcgisSqlExpressionFieldsElement, CustomEvent<SqlExpressionFields["arcgisFieldSelected"]["detail"]>>>;
57
- }
58
-
59
24
  declare module "react" {
60
25
  namespace createElement.JSX {
61
26
  interface IntrinsicElements {
62
27
  "arcgis-arcade-editor": ReactArcgisArcadeEditor;
63
- "arcgis-arcade-results": ReactArcgisArcadeResults;
64
- "arcgis-arcade-suggestions": ReactArcgisArcadeSuggestions;
65
28
  "arcgis-code-editor": ReactArcgisCodeEditor;
66
- "arcgis-editor-variables": ReactArcgisEditorVariables;
67
- "arcgis-language-api-panel": ReactArcgisLanguageApiPanel;
68
29
  "arcgis-sql-expression-editor": ReactArcgisSqlExpressionEditor;
69
- "arcgis-sql-expression-fields": ReactSqlExpressionFields;
70
30
  }
71
31
  }
72
32
  }
@@ -74,13 +34,8 @@ declare module "react/jsx-runtime" {
74
34
  namespace JSX {
75
35
  interface IntrinsicElements {
76
36
  "arcgis-arcade-editor": ReactArcgisArcadeEditor;
77
- "arcgis-arcade-results": ReactArcgisArcadeResults;
78
- "arcgis-arcade-suggestions": ReactArcgisArcadeSuggestions;
79
37
  "arcgis-code-editor": ReactArcgisCodeEditor;
80
- "arcgis-editor-variables": ReactArcgisEditorVariables;
81
- "arcgis-language-api-panel": ReactArcgisLanguageApiPanel;
82
38
  "arcgis-sql-expression-editor": ReactArcgisSqlExpressionEditor;
83
- "arcgis-sql-expression-fields": ReactSqlExpressionFields;
84
39
  }
85
40
  }
86
41
  }
@@ -88,13 +43,8 @@ declare module "react/jsx-dev-runtime" {
88
43
  namespace JSX {
89
44
  interface IntrinsicElements {
90
45
  "arcgis-arcade-editor": ReactArcgisArcadeEditor;
91
- "arcgis-arcade-results": ReactArcgisArcadeResults;
92
- "arcgis-arcade-suggestions": ReactArcgisArcadeSuggestions;
93
46
  "arcgis-code-editor": ReactArcgisCodeEditor;
94
- "arcgis-editor-variables": ReactArcgisEditorVariables;
95
- "arcgis-language-api-panel": ReactArcgisLanguageApiPanel;
96
47
  "arcgis-sql-expression-editor": ReactArcgisSqlExpressionEditor;
97
- "arcgis-sql-expression-fields": ReactSqlExpressionFields;
98
48
  }
99
49
  }
100
50
  }
@@ -1,12 +1,7 @@
1
1
  /// <reference types="../index.d.ts" />
2
2
  import type { ArcgisArcadeEditor } from "../components/arcgis-arcade-editor";
3
- import type { ArcgisArcadeResults } from "../components/arcgis-arcade-results";
4
- import type { ArcgisArcadeSuggestions } from "../components/arcgis-arcade-suggestions";
5
3
  import type { ArcgisCodeEditor } from "../components/arcgis-code-editor";
6
- import type { ArcgisEditorVariables } from "../components/arcgis-editor-variables";
7
- import type { ArcgisLanguageApiPanel } from "../components/arcgis-language-api-panel";
8
4
  import type { ArcgisSqlExpressionEditor } from "../components/arcgis-sql-expression-editor";
9
- import type { SqlExpressionFields } from "../components/arcgis-sql-expression-fields";
10
5
  import { JSXBase as StencilJsx } from "@stencil/core/internal";
11
6
 
12
7
  type EventHandler<E> = { bivarianceHack(event: E): void }["bivarianceHack"];
@@ -23,51 +18,21 @@ interface StencilArcgisArcadeEditor extends Partial<Pick<ArcgisArcadeEditor, 'ed
23
18
  onArcgisScriptChange?: EventHandler<TargetedEvent<HTMLArcgisArcadeEditorElement, CustomEvent<ArcgisArcadeEditor["arcgisScriptChange"]["detail"]>>>;
24
19
  }
25
20
 
26
- interface StencilArcgisArcadeResults extends Partial<Pick<ArcgisArcadeResults, 'consoleLogs' | 'loading' | 'openedResultPanel' | 'result'>>, StencilJsx.HTMLAttributes<HTMLArcgisArcadeResultsElement> {
27
- onArcgisClose?: EventHandler<TargetedEvent<HTMLArcgisArcadeResultsElement, CustomEvent<ArcgisArcadeResults["arcgisClose"]["detail"]>>>;
28
- onArcgisOpenedResultPanelChange?: EventHandler<TargetedEvent<HTMLArcgisArcadeResultsElement, CustomEvent<ArcgisArcadeResults["arcgisOpenedResultPanelChange"]["detail"]>>>;
29
- }
30
-
31
- interface StencilArcgisArcadeSuggestions extends Partial<Pick<ArcgisArcadeSuggestions, 'suggestions'>>, StencilJsx.HTMLAttributes<HTMLArcgisArcadeSuggestionsElement> {
32
- onArcgisClose?: EventHandler<TargetedEvent<HTMLArcgisArcadeSuggestionsElement, CustomEvent<ArcgisArcadeSuggestions["arcgisClose"]["detail"]>>>;
33
- onArcgisItemSelected?: EventHandler<TargetedEvent<HTMLArcgisArcadeSuggestionsElement, CustomEvent<ArcgisArcadeSuggestions["arcgisItemSelected"]["detail"]>>>;
34
- }
35
-
36
21
  interface StencilArcgisCodeEditor extends Partial<Pick<ArcgisCodeEditor, 'editorOptions' | 'language' | 'modelId' | 'value'>>, StencilJsx.HTMLAttributes<HTMLArcgisCodeEditorElement> {
37
22
  onArcgisSelectionChange?: EventHandler<TargetedEvent<HTMLArcgisCodeEditorElement, CustomEvent<ArcgisCodeEditor["arcgisSelectionChange"]["detail"]>>>;
38
23
  onArcgisValueChange?: EventHandler<TargetedEvent<HTMLArcgisCodeEditorElement, CustomEvent<ArcgisCodeEditor["arcgisValueChange"]["detail"]>>>;
39
24
  }
40
25
 
41
- interface StencilArcgisEditorVariables extends Partial<Pick<ArcgisEditorVariables, 'loading' | 'modelId' | 'variable'>>, StencilJsx.HTMLAttributes<HTMLArcgisEditorVariablesElement> {
42
- onArcgisClose?: EventHandler<TargetedEvent<HTMLArcgisEditorVariablesElement, CustomEvent<ArcgisEditorVariables["arcgisClose"]["detail"]>>>;
43
- onArcgisItemSelected?: EventHandler<TargetedEvent<HTMLArcgisEditorVariablesElement, CustomEvent<ArcgisEditorVariables["arcgisItemSelected"]["detail"]>>>;
44
- }
45
-
46
- interface StencilArcgisLanguageApiPanel extends Partial<Pick<ArcgisLanguageApiPanel, 'apiLibrary' | 'hideDocumentationActions' | 'loading'>>, StencilJsx.HTMLAttributes<HTMLArcgisLanguageApiPanelElement> {
47
- onArcgisClose?: EventHandler<TargetedEvent<HTMLArcgisLanguageApiPanelElement, CustomEvent<ArcgisLanguageApiPanel["arcgisClose"]["detail"]>>>;
48
- onArcgisItemSelected?: EventHandler<TargetedEvent<HTMLArcgisLanguageApiPanelElement, CustomEvent<ArcgisLanguageApiPanel["arcgisItemSelected"]["detail"]>>>;
49
- }
50
-
51
26
  interface StencilArcgisSqlExpressionEditor extends Partial<Pick<ArcgisSqlExpressionEditor, 'profile' | 'script'>>, StencilJsx.HTMLAttributes<HTMLArcgisSqlExpressionEditorElement> {
52
27
  onArcgisScriptChange?: EventHandler<TargetedEvent<HTMLArcgisSqlExpressionEditorElement, CustomEvent<ArcgisSqlExpressionEditor["arcgisScriptChange"]["detail"]>>>;
53
28
  }
54
29
 
55
- interface StencilSqlExpressionFields extends Partial<Pick<SqlExpressionFields, 'loading' | 'modelId'>>, StencilJsx.HTMLAttributes<HTMLArcgisSqlExpressionFieldsElement> {
56
- onArcgisClose?: EventHandler<TargetedEvent<HTMLArcgisSqlExpressionFieldsElement, CustomEvent<SqlExpressionFields["arcgisClose"]["detail"]>>>;
57
- onArcgisFieldSelected?: EventHandler<TargetedEvent<HTMLArcgisSqlExpressionFieldsElement, CustomEvent<SqlExpressionFields["arcgisFieldSelected"]["detail"]>>>;
58
- }
59
-
60
30
  declare module "@stencil/core/internal/stencil-public-runtime" {
61
31
  export namespace h.JSX {
62
32
  interface IntrinsicElements {
63
33
  "arcgis-arcade-editor": StencilArcgisArcadeEditor;
64
- "arcgis-arcade-results": StencilArcgisArcadeResults;
65
- "arcgis-arcade-suggestions": StencilArcgisArcadeSuggestions;
66
34
  "arcgis-code-editor": StencilArcgisCodeEditor;
67
- "arcgis-editor-variables": StencilArcgisEditorVariables;
68
- "arcgis-language-api-panel": StencilArcgisLanguageApiPanel;
69
35
  "arcgis-sql-expression-editor": StencilArcgisSqlExpressionEditor;
70
- "arcgis-sql-expression-fields": StencilSqlExpressionFields;
71
36
  }
72
37
  }
73
38
  }
@@ -14,7 +14,6 @@ import { editor } from 'monaco-editor';
14
14
  * It worked for us, but downstream consumers were not configured for top level await
15
15
  * and encountered errors thus we export `importMonacoEditor`.
16
16
  */
17
- /// <reference path="monaco.d.ts" />
18
17
  export { KeyCode, KeyMod, Range, Uri, Emitter, languages, MarkerSeverity } from 'monaco-editor';
19
18
  export { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices';
20
19
  export { IStandaloneThemeService } from 'monaco-editor/esm/vs/editor/standalone/common/standaloneTheme';
@@ -47,14 +47,14 @@ interface ConstructorProperties<T> {
47
47
  declare abstract class ProfileItemBase {
48
48
  protected _profile: EditorProfile | null | undefined;
49
49
  private readonly _label;
50
- protected readonly description?: string | types.IIntlString | undefined;
50
+ protected readonly description?: (types.IIntlString | string) | undefined;
51
51
  abstract readonly type: ProfileItemType;
52
52
  protected filterDescription: boolean;
53
53
  /**
54
54
  * True if the item repsents a collection of items.
55
55
  */
56
56
  abstract readonly isCollection: boolean;
57
- constructor(_profile: EditorProfile | null | undefined, _label: types.IIntlString | string | undefined, description?: string | types.IIntlString | undefined);
57
+ constructor(_profile: EditorProfile | null | undefined, _label: types.IIntlString | string | undefined, description?: (types.IIntlString | string) | undefined);
58
58
  /**
59
59
  * Returns the label string.
60
60
  */
@@ -1,6 +1,5 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  import { FeatureDefinition, FeatureSetCollectionDefinition, FeatureSetDefinition } from './types';
3
- /// <reference types="@arcgis/core/interfaces" />
4
3
  import type * as types from "./types";
5
4
  export declare function isFeatureLayerLikeInstance(item: unknown): item is types.IFeatureLayerLikeInstance;
6
5
  export declare function isGroupLayerCapable(item: unknown): item is types.IGroupLayerCapable;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
- /// <reference types="@arcgis/core/interfaces" />
3
2
  type KeysOfType<T, U> = {
4
3
  [P in keyof T]: T[P] extends U ? P : never;
5
4
  }[keyof T];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/coding-components",
3
- "version": "4.32.0-next.10",
3
+ "version": "4.32.0-next.11",
4
4
  "description": "Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -35,12 +35,11 @@
35
35
  ],
36
36
  "license": "SEE LICENSE IN LICENSE.md",
37
37
  "dependencies": {
38
- "@arcgis/arcade-languageservice": "4.32.0-next.10",
39
- "@arcgis/components-build-utils": "4.32.0-next.10",
40
- "@arcgis/components-controllers": "4.32.0-next.10",
41
- "@arcgis/components-utils": "4.32.0-next.10",
42
- "@arcgis/core-adapter": "4.32.0-next.10",
43
- "@arcgis/languages-api-utils": "4.32.0-next.10",
38
+ "@arcgis/arcade-languageservice": "4.32.0-next.11",
39
+ "@arcgis/components-controllers": "4.32.0-next.11",
40
+ "@arcgis/components-utils": "4.32.0-next.11",
41
+ "@arcgis/core-adapter": "4.32.0-next.11",
42
+ "@arcgis/languages-api-utils": "4.32.0-next.11",
44
43
  "monaco-editor": "0.45.0",
45
44
  "tslib": "^2.7.0",
46
45
  "vscode-languageserver-types": "^3.17.5"
@@ -52,7 +51,7 @@
52
51
  "css.customData": [
53
52
  "dist/docs/vscode.css-custom-data.json"
54
53
  ],
55
- "customElements": "dist/docs/manifest.json",
54
+ "customElements": "dist/docs/api.json",
56
55
  "html.customData": [
57
56
  "dist/docs/vscode.html-custom-data.json"
58
57
  ],
@@ -1,8 +0,0 @@
1
- /*!
2
- * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
- * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.10
5
- */
6
- import{a as b,e as p,f as W,j as Rt,l as Mt,q as gt,r as jt,t as Vt}from"./OV7DYHJX.js";function Ht(e,t){if(t){let o=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(o,([s,r])=>r.noAccessor?void 0:[s,[(r.readOnly?2048:0)|(r.state?32:16)]]).filter(Vt))}else{let o=e.constructor,s=o.__registerControllers?.(e)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([r,[n]])=>(n&63)!==0))}}function It(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var Wt=(e,t)=>e.manager.internals.members?.[t]?.[0];var et=Symbol.for("controller");var Gt=e=>typeof e=="object"&&e!==null&&(et in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var z;function x(e){z!==e&&(z=e,queueMicrotask(()=>{z===e&&(z=void 0)}))}function q(e){return z}var P=[];function ot(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function qt(){return P}var j;function xe(e){j!==e&&(j=e,queueMicrotask(()=>{j===e&&(j=void 0)}))}function Te(){let e=j;return j=void 0,e}var De=async(e,t)=>{let o=bt(e);if(o===void 0)return e;if(await o.ready,typeof t=="function"){let s=o.watchExports(r=>t(r,s))}return o.exports},Ne=async e=>{let t=bt(e);return await t.ready,t},bt=e=>{let t=Te();if(t!==void 0)return t;let s=q().manager.internals.resolveExports(e);if(s!==void 0)return s;if(Gt(e))return e},B={setter:!1,getter:!1,readOnly:!1},G=new WeakMap,Ft;Ft=et;var Et=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[Ft]=!0,this.ready=this._ready.promise,this._exports=Bt(this),this._exportWatchers=new Set;let t=e??q(new.target.name);this.component=t,this.component.addController(this),ot(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Bt(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return x(this.component),De}get useRef(){return x(this.component),Ne}get useRefSync(){return x(this.component),bt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(zt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(zt,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){x(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(s=>{typeof s=="function"?this._lifecycleCleanups.push(s):typeof s=="object"&&typeof s.remove=="function"&&this._lifecycleCleanups.push(s.remove)})}};function zt(e){p(e,void 0,this)}var Kt=Et;function Bt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(o,s,r){if(!(ke.has(s)&&s in o&&o[s]===t)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,r)},set:(o,s,r,n)=>Reflect.set(o,s,r,n)});return t}var ke=new Set(["exports","_exports"]);function st(e,t,o){let s=Object.keys(e),r=s.length;L===void 0&&queueMicrotask(F),L??(L=new Map);let n=L.get(e);return n===void 0&&(n={callbacks:[],keyCount:r},L.set(e,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(s)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[r];a===void 0?c(void 0):e[a]===o?c(a):c(void 0)}),o}var L=void 0;function F(){Array.from(L?.entries()??[]).forEach(([e,{callbacks:t}])=>{let o=Object.keys(e);t.forEach(s=>s(o))}),L=void 0}function rt(e,t,o){var s;let r=t,n=e.manager.internals;(s=n.allWatchers)[r]??(s[r]=[]);let i=n.allWatchers[r],c=o,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var Jt=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([o,[s]])=>{var r;s&2048&&((r=t.setters)[o]??(r[o]=[]),t.setters[o].push(t.readonlySetter))})},this.trackedValue=vt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,o,s)=>{if(B.readOnly)return t;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let o=this.keyTrackers;this.trackedValue=vt,this.keyTrackers=[],o.forEach(s=>s(e,t))}getSetProxy(e){let t=this.component,o=t.constructor.prototype;if(this._getSetProxy(o,e,"class"),t.manager.isLit)return;let s=t.el.constructor.prototype;o!==s&&this._getSetProxy(s,e,"html")}_getSetProxy(e,t,o){let s=this.component,r=Wt(s,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,c=n.set,a=tt in i,l=tt in c;if(a&&l)return;let d=!a,h=!l,f=d?function(){let _=i.call(this),E=G.get(this);if(B.getter||E===void 0)return _;let M=E.manager.internals;_=M.accessorGetter[t](_,t);let y=M.getters[t]??_t;for(let C=0;C<y.length;C++)_=y[C](_,t);return _}:i,g=h?function(_){let E=i.call(this),M=G.get(this);if(M===void 0){c.call(this,_);return}let y=M.manager.isLit?_??void 0:It(_,r),C=M.manager.internals;if(y===E)c.call(this,y);else{let Ut=B.setter?_t:C.setters[t]??_t;for(let I=0;I<Ut.length&&(y=Ut[I](y,E,t),y!==E);I++);y=C.accessorSetter[t](y,E,t),c.call(this,y),y!==E&&C.enabledWatchers[t]?.forEach(I=>I(y,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,_)}:c;d&&(f[tt]=!0),h&&(g[tt]=!0),Object.defineProperty(e,t,{...n,get:f,set:g})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},_t=[],tt=Symbol(),vt=Symbol();function Yt(e,t,o){let s=e.manager.internals;return s.trackedValue!==vt&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((r,n)=>p(t,void 0,o===n?r:void 0)),o}function Qt(e,t,o){let s=Array.isArray(e)?e:[e],r=s.length+1,n=c=>{r-=1,c!==void 0&&(r=Math.min(r,0)),r===0&&t(c)};s.forEach(c=>st(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),o));let i=s.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&Yt(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:!0}),o),o}function Zt(e){B.readOnly=!0;try{return e()}finally{B.readOnly=!1}}var Xt=e=>(...t)=>{let o=qt(),s=new e(...t),r=s.exports;ot(o.at(-1));let n=s.component.manager.internals;n.markExports(s,r),s.watchExports(c=>n.markExports(s,c)),xe(s);let i=[s.component,...o].reverse();return Qt(i,c=>c===void 0?void 0:Ue(s,c,r),r)};function Ue(e,{host:t,key:o,isReactive:s},r){let n=t,i=n[o]!==e.exports,c=n[o]!==r,a=r!==e.exports;if(i&&!c&&a&&(n[o]=e.exports),t===e.component){if(s){let d=e.component.manager.internals;c&&d.markExports(e,n[o]),rt(e.component,o,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=s?void 0:o}e.watchExports(()=>{if(n[o]===e.exports)return;let d=e.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?Zt(()=>{n[o]=e.exports}):n[o]=e.exports})}var ee=(e,t)=>new Re(e,t),Re=class extends Kt{constructor(e,t){let o="addController"in e,s=new Set;function r(a){s.add(a),!(et in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){s.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=r,i.removeController=n,!o){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new Jt(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=o,this.component.manager=this,Ht(e,o),this._controllers=s,this.exports=void 0,this.hasDestroy=Ct in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=te,c.accessorSetter[a]=te,c.getSetProxy(a)}),o?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),ot(void 0),x(e),G.set(e.el,e),G.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,o=e.el===e;this._originalLifecycles={_connectedCallback:t||o?void 0:e.connectedCallback,_disconnectedCallback:t||o?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let s=this._connectedCallback.bind(this),r=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:s,hostDisconnected:r,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=s,e.disconnectedCallback=r,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Ct} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,F(),e.enableReadonly?.(),this._controllers.forEach(je),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(Ve),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,He)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&rt(this.component,Ct,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(Ie),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(We,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(ze,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new b,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(Be),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=jt(e,Me)}}},Ct="autoDestroyDisabled",Me=1e3;var te=e=>e;function je(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function Ve(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function He(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function Ie(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function We(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function ze(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function Be(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var oe=e=>qe(void 0,e);var Ge=class extends Et{constructor(e,t){super(e);let o=this.exports;try{x(this.component);let s=t(this.component,this),r=this.exports!==o;if(s instanceof Promise){r||this.setProvisionalExports(s);let n=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!r||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},qe=Xt(Ge);var Bo=oe;var qo=e=>(t={})=>oe((o,s)=>{let r=Rt(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},i=o;queueMicrotask(()=>s.onLifecycle(()=>Mt(o.el,e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};s.exports=h;let f=l.componentLabel??l.widgetLabel;typeof f=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=f)),c(i.messageOverrides)},t.name)));function c(a){let l=s.exports,d=l._original??l,h=se(d,a);a&&(h._original=d),s.exports=h}return"messageOverrides"in i&&s.onLifecycle(()=>rt(i,"messageOverrides",c)),t.blocking?(s.setProvisionalExports(n,!1),s.ready):n});function se(e,t){if(!t)return e;let o={...e};return Object.entries(t).forEach(([s,r])=>{typeof r=="object"?o[s]=se(e[s],r):o[s]=r??e[s]}),o}var nt=globalThis,it=nt.ShadowRoot&&(nt.ShadyCSS===void 0||nt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$t=Symbol(),re=new WeakMap,K=class{constructor(t,o,s){if(this._$cssResult$=!0,s!==$t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(it&&t===void 0){let s=o!==void 0&&o.length===1;s&&(t=re.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&re.set(o,t))}return t}toString(){return this.cssText}},ne=e=>new K(typeof e=="string"?e:e+"",void 0,$t),Fe=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((s,r,n)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[n+1],e[0]);return new K(o,e,$t)},At=(e,t)=>{if(it)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let s=document.createElement("style"),r=nt.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=o.cssText,e.appendChild(s)}},at=it?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let s of t.cssRules)o+=s.cssText;return ne(o)})(e):e;var Ot=globalThis,ct=Ot.trustedTypes,ie=ct?ct.createPolicy("lit-html",{createHTML:e=>e}):void 0,St="$lit$",$=`lit$${Math.random().toFixed(9).slice(2)}$`,Pt="?"+$,Ke=`<${Pt}>`,N=document,Y=()=>N.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Lt=Array.isArray,pe=e=>Lt(e)||typeof e?.[Symbol.iterator]=="function",wt=`[
7
- \f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ae=/-->/g,ce=/>/g,T=RegExp(`>|${wt}(?:([^\\s"'>=/]+)(${wt}*=${wt}*(?:[^
8
- \f\r"'\`<>=]|("|')|))|$)`,"g"),le=/'/g,he=/"/g,ue=/^(?:script|style|textarea|title)$/i,xt=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Qo=xt(1),Zo=xt(2),Xo=xt(3),m=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),de=new WeakMap,D=N.createTreeWalker(N,129);function me(e,t){if(!Lt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ie!==void 0?ie.createHTML(t):t}var fe=(e,t)=>{let o=e.length-1,s=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let c=0;c<o;c++){let a=e[c],l,d,h=-1,f=0;for(;f<a.length&&(i.lastIndex=f,d=i.exec(a),d!==null);)f=i.lastIndex,i===J?d[1]==="!--"?i=ae:d[1]!==void 0?i=ce:d[2]!==void 0?(ue.test(d[2])&&(r=RegExp("</"+d[2],"g")),i=T):d[3]!==void 0&&(i=T):i===T?d[0]===">"?(i=r??J,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?T:d[3]==='"'?he:le):i===he||i===le?i=T:i===ae||i===ce?i=J:(i=T,r=void 0);let g=i===T&&e[c+1].startsWith("/>")?" ":"";n+=i===J?a+Ke:h>=0?(s.push(l),a.slice(0,h)+St+a.slice(h)+$+g):a+$+(h===-2?c:g)}return[me(e,n+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},Z=class e{constructor({strings:t,_$litType$:o},s){let r;this.parts=[];let n=0,i=0,c=t.length-1,a=this.parts,[l,d]=fe(t,o);if(this.el=e.createElement(l,s),D.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=D.nextNode())!==null&&a.length<c;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(St)){let f=d[i++],g=r.getAttribute(h).split($),S=/([.?@])?(.*)/.exec(f);a.push({type:1,index:n,name:S[2],strings:g,ctor:S[1]==="."?ht:S[1]==="?"?dt:S[1]==="@"?pt:U}),r.removeAttribute(h)}else h.startsWith($)&&(a.push({type:6,index:n}),r.removeAttribute(h));if(ue.test(r.tagName)){let h=r.textContent.split($),f=h.length-1;if(f>0){r.textContent=ct?ct.emptyScript:"";for(let g=0;g<f;g++)r.append(h[g],Y()),D.nextNode(),a.push({type:2,index:++n});r.append(h[f],Y())}}}else if(r.nodeType===8)if(r.data===Pt)a.push({type:2,index:n});else{let h=-1;for(;(h=r.data.indexOf($,h+1))!==-1;)a.push({type:7,index:n}),h+=$.length-1}n++}}static createElement(t,o){let s=N.createElement("template");return s.innerHTML=t,s}};function k(e,t,o=e,s){if(t===m)return t;let r=s!==void 0?o.o?.[s]:o.l,n=Q(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(e),r._$AT(e,o,s)),s!==void 0?(o.o??=[])[s]=r:o.l=r),r!==void 0&&(t=k(e,r._$AS(e,t.values),r,s)),t}var lt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:s}=this._$AD,r=(t?.creationScope??N).importNode(o,!0);D.currentNode=r;let n=D.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new V(n,n.nextSibling,this,t):a.type===1?l=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(l=new ut(n,this,t)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(n=D.nextNode(),i++)}return D.currentNode=N,r}p(t){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,o),o+=s.strings.length-2):s._$AI(t[o])),o++}},V=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,o,s,r){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=s,this.options=r,this.v=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=k(this,t,o),Q(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):pe(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==u&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(N.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=Z.createElement(me(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(o);else{let n=new lt(r,this),i=n.u(this.options);n.p(o),this.T(i),this._$AH=n}}_$AC(t){let o=de.get(t.strings);return o===void 0&&de.set(t.strings,o=new Z(t)),o}k(t){Lt(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,r=0;for(let n of t)r===o.length?o.push(s=new e(this.O(Y()),this.O(Y()),this,this.options)):s=o[r],s._$AI(n),r++;r<o.length&&(this._$AR(s&&s._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},U=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,s,r,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}_$AI(t,o=this,s,r){let n=this.strings,i=!1;if(n===void 0)t=k(this,t,o,0),i=!Q(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let c=t,a,l;for(t=n[0],a=0;a<n.length-1;a++)l=k(this,c[s+a],o,a),l===m&&(l=this._$AH[a]),i||=!Q(l)||l!==this._$AH[a],l===u?t=u:t!==u&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!r&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ht=class extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},dt=class extends U{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},pt=class extends U{constructor(t,o,s,r,n){super(t,o,s,r,n),this.type=5}_$AI(t,o=this){if((t=k(this,t,o,0)??u)===m)return;let s=this._$AH,r=t===u&&s!==u||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==u&&(s===u||r);r&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ut=class{constructor(t,o,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){k(this,t)}},ye={M:St,P:$,A:Pt,C:1,L:fe,R:lt,D:pe,V:k,I:V,H:U,N:dt,U:pt,B:ht,F:ut},Je=Ot.litHtmlPolyfillSupport;Je?.(Z,V),(Ot.litHtmlVersions??=[]).push("3.2.0");var ge=(e,t,o)=>{let s=o?.renderBefore??t,r=s._$litPart$;if(r===void 0){let n=o?.renderBefore??null;s._$litPart$=r=new V(t.insertBefore(Y(),n),n,void 0,o??{})}return r._$AI(e),r};var{is:Ye,defineProperty:Qe,getOwnPropertyDescriptor:Ze,getOwnPropertyNames:Xe,getOwnPropertySymbols:to,getPrototypeOf:eo}=Object,ft=globalThis,_e=ft.trustedTypes,oo=_e?_e.emptyScript:"",so=ft.reactiveElementPolyfillSupport,X=(e,t)=>e,mt={toAttribute(e,t){switch(t){case Boolean:e=e?oo:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Tt=(e,t)=>!Ye(e,t),ve={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:Tt};Symbol.metadata??=Symbol("metadata"),ft.litPropertyMetadata??=new WeakMap;var A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=ve){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,o);r!==void 0&&Qe(this.prototype,t,r)}}static getPropertyDescriptor(t,o,s){let{get:r,set:n}=Ze(this.prototype,t)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return r?.call(this)},set(i){let c=r?.call(this);n.call(this,i),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ve}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=eo(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let o=this.properties,s=[...Xe(o),...to(o)];for(let r of s)this.createProperty(r,o[r])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[s,r]of o)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let r=this._$Eu(o,s);r!==void 0&&this._$Eh.set(r,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)o.unshift(at(r))}else t!==void 0&&o.push(at(t));return o}static _$Eu(t,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return At(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,s){this._$AK(t,s)}_$EC(t,o){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let n=(s.converter?.toAttribute!==void 0?s.converter:mt).toAttribute(o,s.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=s.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:mt;this._$Em=r,this[r]=i.fromAttribute(o,n.type),this._$Em=null}}requestUpdate(t,o,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??Tt)(this[t],o))return;this.P(t,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,o,s){this._$AL.has(t)||this._$AL.set(t,o),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,n]of s)n.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],n)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[X("elementProperties")]=new Map,A[X("finalized")]=new Map,so?.({ReactiveElement:A}),(ft.reactiveElementVersions??=[]).push("2.0.4");var w=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=ge(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return m}};w._$litElement$=!0,w.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:w});var ro=globalThis.litElementPolyfillSupport;ro?.({LitElement:w});(globalThis.litElementVersions??=[]).push("4.1.0");var v={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},H=e=>(...t)=>({_$litDirective$:e,values:t}),O=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,s){this.t=t,this._$AM=o,this.i=s}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var be=H(class extends O{constructor(e){if(super(e),e.type!==v.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let o=e.element.classList;for(let s of this.st)s in t||(o.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return m}});var Ee="important",no=" !"+Ee,Ss=H(class extends O{constructor(e){if(super(e),e.type!==v.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let s=e[o];return s==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let n=typeof r=="string"&&r.endsWith(no);s.includes("-")||n?o.setProperty(s,n?r.slice(0,-11):r,n?Ee:""):o[s]=r}}return m}});var{I:io}=ye;var $e=e=>e.strings===void 0,Ce=()=>document.createComment(""),Ns=(e,t,o)=>{let s=e._$AA.parentNode,r=t===void 0?e._$AB:t._$AA;if(o===void 0){let n=s.insertBefore(Ce(),r),i=s.insertBefore(Ce(),r);o=new io(n,i,e,e.options)}else{let n=o._$AB.nextSibling,i=o._$AM,c=i!==e;if(c){let a;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(a=e._$AU)!==i._$AU&&o._$AP(a)}if(n!==r||c){let a=o._$AA;for(;a!==n;){let l=a.nextSibling;s.insertBefore(a,r),a=l}}}return o},ks=(e,t,o=e)=>(e._$AI(t,o),e),ao={},Ae=(e,t=ao)=>e._$AH=t,Us=e=>e._$AH,Rs=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let s=t.nextSibling;t.remove(),t=s}};var Is=H(class extends O{constructor(e){if(super(e),e.type!==v.PROPERTY&&e.type!==v.ATTRIBUTE&&e.type!==v.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!$e(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===m||t===u)return t;let o=e.element,s=e.name;if(e.type===v.PROPERTY){if(t===o[s])return m}else if(e.type===v.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(s))return m}else if(e.type===v.ATTRIBUTE&&o.getAttribute(s)===t+"")return m;return Ae(e),t}});var lo=";",Dt=",",ho=":",po=!0,uo=!0,mo=!0,Oe=(e="",t={},o=q())=>{let s={emit:r=>{e===""&&F();let n=new CustomEvent(e,{detail:r,cancelable:uo,bubbles:po,composed:mo,...t});return o.el.dispatchEvent(n),n}};return e===""&&st(o,r=>{e=r},s),s},tr=Oe.bind(null,"");function Se(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let o=t;return o.manager?.loadedCalled||o._offspring.push(e),o._postLoad.promise}return!1}var we={},er=(e,t)=>function(o,s){if(!globalThis.customElements)return;let r=(s??o??{}).resourcesUrl;r&&e.setAssetPath(r),Object.entries(t).forEach(fo)};function fo([e,[t,o=""]]){if(customElements.get(e))return;let[s,r,n]=o.split(lo),i=s?s?.split(Dt).map(Pe):void 0,c=i?.map(([l])=>l),a=class extends R{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=r?r?.split(Dt):void 0}static{this._syncMethods=n?.split(Dt)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var yt=Object.defineProperty;function Pe(e){let t=e.split(ho);return t.length===1?[t[0],gt(t[0])]:t}var yo=globalThis.HTMLElement??Pe,R=class extends yo{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new b,this._postLoaded=new b,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{this._postLoaded.reject(t),setTimeout(()=>{throw t})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(e){yt(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){yt(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){yt(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=t[o],delete t[o])})}attributeChangedCallback(e,t,o){this._litElement?.attributeChangedCallback(e,t,o),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback():queueMicrotask(()=>{this._ancestorLoad=Se(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,o=t._name,s=Object.values(e).find(c=>c.tagName===o),r=`${o}--lazy`;t._LitConstructor||(t._LitConstructor=s,s.prototype.removeAttribute=function(c){HTMLElement.prototype.removeAttribute.call(this.el,c)},s.prototype.setAttribute=function(c,a){HTMLElement.prototype.setAttribute.call(this.el,c,a)},yt(s.prototype,"isConnected",{get(){return this.el.isConnected}}),customElements.define(r,s)),s.lazy=this;let n=document.createElement(r);s.lazy=void 0,this._litElement=n,this._pendingAttributes.forEach(c=>{let a=this.getAttribute(c);n.attributeChangedCallback(c,null,a)}),Object.entries(this._store).forEach(go,n),this._store=n;let i=this.isConnected;(i||this._ancestorLoad)&&(n.connectedCallback?.(),i||n.disconnectedCallback())}};function go([e,t]){this[e]=t}var Nt=Symbol.for("@arcgis/lumina:observedAttributes"),kt=globalThis,_o=Nt in kt;kt[Nt]??={};var vo=kt[Nt];if(!_o){let e=t=>function(o,...s){if(vo[this.tagName.toLowerCase()]?.manuallyObserved?.has(o)){let r=this.getAttribute(o),n=t.call(this,o,...s),i=this.getAttribute(o);return this.attributeChangedCallback(o,r,i),n}else return t.call(this,o,...s)};R.prototype.setAttribute=e(R.prototype.setAttribute),R.prototype.toggleAttribute=e(R.prototype.toggleAttribute),R.prototype.removeAttribute=e(R.prototype.removeAttribute)}var bo=()=>{},Eo=class Le extends w{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=ee(this),this._postLoad=this.constructor.lazy?._postLoad??new b,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new b,this._enableUpdating=this.enableUpdating,this.enableUpdating=bo;let t=Le.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let o=super.finalizeStyles(t),s=this.constructor.shadowRootOptions===we;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(t,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,r=Array.isArray(o)?o[1]:void 0;super.createProperty(t,{attribute:s&1&&typeof t=="string"?gt(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...r})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let t=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=t??(s===we?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),t)return w.prototype.createRenderRoot.call(this),t;if(this.isConnected){let n=r.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...o.elementStyles.map(i=>"styleSheet"in i?i.styleSheet:i)]}return r}async _load(){let t=this.el._ancestorLoad??Se(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,o,s){let r=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,o,s,r){let n=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(o,n,r),()=>t.removeEventListener(o,n,r)))}async componentOnReady(){return await this._postLoaded.promise,this}};Eo.$createEvent=Oe;function Co(e){let t,o=r=>{t=new URL(r,globalThis.location?.href).href},s={...e,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:o,customElement(r,n){n.runtime=s,n.tagName=r,customElements.get(r)||customElements.define(r,n)}};return o(e.defaultAssetPath),s}var or=e=>typeof e=="object"&&e!=null?be(e):e,sr=u,$o=Co({defaultAssetPath:"https://jsdev.arcgis.com/coding-components/next/",hydratedAttribute:"hydrated"}),{customElement:rr,getAssetPath:nr,setAssetPath:ir}=$o;export{Bo as a,qo as b,Fe as c,Qo as d,m as e,u as f,v as g,H as h,O as i,$e as j,Ns as k,ks as l,Ae as m,Us as n,Rs as o,tr as p,we as q,er as r,Eo as s,or as t,sr as u,$o as v,rr as w,nr as x};