@arcgis/common-components 6.0.0-next.12 → 6.0.0-next.14
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/dist/cdn/22ZJC66J.js +2 -0
- package/dist/cdn/{OMROUY3L.js → 2STNPR2K.js} +1 -1
- package/dist/cdn/{BZFAYVKR.js → 3AMC2MYL.js} +1 -1
- package/dist/cdn/{XUPA27AW.js → 3DQAWU5G.js} +1 -1
- package/dist/cdn/4X3PGY53.js +2 -0
- package/dist/cdn/4YTPZVS3.js +8207 -0
- package/dist/cdn/5STQ23EC.js +2 -0
- package/dist/cdn/{IECXEZNI.js → 6CP2VGMT.js} +1 -1
- package/dist/cdn/A5VZ22LK.js +4 -0
- package/dist/cdn/{TO3YFXVJ.js → AK25UPRZ.js} +1 -1
- package/dist/cdn/C65ROMJK.js +2 -0
- package/dist/cdn/DAAON2UO.js +3 -0
- package/dist/cdn/{YEFEVEP6.js → DJSPDBWO.js} +1 -1
- package/dist/cdn/{EM4OQXFS.js → F5UJB6JV.js} +1 -1
- package/dist/cdn/F7SQH3EJ.js +2 -0
- package/dist/cdn/GWWTMM5J.js +2 -0
- package/dist/cdn/GYCM2EFS.js +2 -0
- package/dist/cdn/{TXQKK4DJ.js → JMTBKMVF.js} +1 -1
- package/dist/cdn/{3AFEXHZ5.js → JU6VZYRH.js} +1 -1
- package/dist/cdn/{X6DNIKWY.js → JXWME7J2.js} +1 -1
- package/dist/cdn/{JTQN5KMG.js → K4BKCMJ7.js} +1 -1
- package/dist/cdn/{LNXO5YIS.js → K6VKF5UM.js} +1 -1
- package/dist/cdn/{OTWADB4M.js → LE34WS2E.js} +1 -1
- package/dist/cdn/{OIGA7XBZ.js → MAEWWG5A.js} +1 -1
- package/dist/cdn/{HYFFUYAU.js → NLURLVXP.js} +1 -1
- package/dist/cdn/{D4UHHQ35.js → NU4RWRS7.js} +1 -1
- package/dist/cdn/{HJ3EJZFF.js → OOQF2DBR.js} +1 -1
- package/dist/cdn/{B33S3YBM.js → PWLYBU5B.js} +1 -1
- package/dist/cdn/{735FTIBP.js → RLH5OKTL.js} +1 -1
- package/dist/cdn/{34AP2EEB.js → SBWYOBOD.js} +1 -1
- package/dist/cdn/{IOFMXI5N.js → U4PTVQN7.js} +1 -1
- package/dist/cdn/{CKGWDI7B.js → UVTQ7C6W.js} +1 -1
- package/dist/cdn/WQHAEQUK.js +2 -0
- package/dist/cdn/XIZVB6UV.js +2 -0
- package/dist/cdn/XMMFL5H3.js +2 -0
- package/dist/cdn/{EB5MDEWF.js → XZBAXCY4.js} +1 -1
- package/dist/cdn/{MFGUTQRR.js → YEG4ZKJV.js} +1 -1
- package/dist/cdn/{7QVNHEMF.js → YPJIALGM.js} +1 -1
- package/dist/cdn/{GDRW3MIZ.js → Z65OX26N.js} +1 -1
- package/dist/cdn/{KDCSDIUQ.js → ZCI3WQ2I.js} +1 -1
- package/dist/cdn/ZJMMAZFG.js +2 -0
- package/dist/cdn/ZUB5ZZLF.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/sharedCacheDirective.js +74 -0
- package/dist/components/arcgis-html-content/customElement.d.ts +42 -0
- package/dist/components/arcgis-html-content/customElement.js +71 -0
- package/dist/components/arcgis-html-content/index.d.ts +1 -0
- package/dist/components/arcgis-html-content/index.js +1 -0
- package/dist/components/arcgis-slider-histogram-range/customElement.d.ts +1 -1
- package/dist/components/arcgis-toolbar-stack/customElement.js +48 -114
- package/dist/components/arcgis-value-picker/customElement.js +14 -14
- package/dist/components/arcgis-value-picker-combobox/customElement.js +4 -4
- package/dist/components/arcgis-value-picker-label/customElement.js +5 -5
- package/dist/components/arcgis-value-picker-slider/customElement.js +17 -17
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +8 -5
- package/dist/loader.js +1 -0
- package/dist/types/lumina.d.ts +5 -0
- package/dist/types/preact.d.ts +6 -0
- package/dist/types/react.d.ts +7 -0
- package/dist/types/stencil.d.ts +5 -0
- package/dist/utils/sharedCacheDirective.d.ts +68 -0
- package/package.json +5 -5
- package/dist/cdn/5XRYXPOX.js +0 -2
- package/dist/cdn/BCN6LPOG.js +0 -4
- package/dist/cdn/DR2THZQU.js +0 -8208
- package/dist/cdn/IYJAPMC5.js +0 -2
- package/dist/cdn/LLATF73T.js +0 -2
- package/dist/cdn/M2J3GPM4.js +0 -2
- package/dist/cdn/M3SFEFPX.js +0 -2
- package/dist/cdn/QCUF7B3I.js +0 -2
- package/dist/cdn/S4XOD4YS.js +0 -2
- package/dist/cdn/UIBTY5FF.js +0 -2
- package/dist/cdn/XX2ZCFWI.js +0 -2
- package/dist/cdn/ZGYD3GAS.js +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PopoverProps as PopoverPropsAlias, PickListFieldInfo as PickListFieldInfoAlias, PickListGroupInfo as PickListGroupInfoAlias } from "./utils/types.js";
|
|
2
2
|
|
|
3
3
|
export { LayoutPriorities } from "./components/arcgis-toolbar/types.js";
|
|
4
|
+
export { sharedCache, SharedCacheStore } from "./utils/sharedCacheDirective.js";
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* @deprecated import { PopoverProps } from "@arcgis/common-components/utils/types" instead
|
|
@@ -54,6 +55,7 @@ import type { ArcgisCoordinateSystemPickerTree } from "./components/arcgis-coord
|
|
|
54
55
|
import type { ArcgisFieldInfo } from "./components/arcgis-field-info/customElement.js";
|
|
55
56
|
import type { ArcgisFieldPickList } from "./components/arcgis-field-pick-list/customElement.js";
|
|
56
57
|
import type { ArcgisHistogram } from "./components/arcgis-histogram/customElement.js";
|
|
58
|
+
import type { ArcgisHtmlContent } from "./components/arcgis-html-content/customElement.js";
|
|
57
59
|
import type { ArcgisLabelInput } from "./components/arcgis-label-input/customElement.js";
|
|
58
60
|
import type { ArcgisPickerInput } from "./components/arcgis-picker-input/customElement.js";
|
|
59
61
|
import type { ArcgisRampColor } from "./components/arcgis-ramp-color/customElement.js";
|
|
@@ -202,6 +204,7 @@ declare global {
|
|
|
202
204
|
"arcgis-field-info": ArcgisFieldInfo;
|
|
203
205
|
"arcgis-field-pick-list": ArcgisFieldPickList;
|
|
204
206
|
"arcgis-histogram": ArcgisHistogram;
|
|
207
|
+
"arcgis-html-content": ArcgisHtmlContent;
|
|
205
208
|
"arcgis-label-input": ArcgisLabelInput;
|
|
206
209
|
"arcgis-picker-input": ArcgisPickerInput;
|
|
207
210
|
"arcgis-ramp-color": ArcgisRampColor;
|
|
@@ -251,6 +254,8 @@ declare global {
|
|
|
251
254
|
|
|
252
255
|
type HTMLArcgisHistogramElement = ArcgisHistogram;
|
|
253
256
|
|
|
257
|
+
type HTMLArcgisHtmlContentElement = ArcgisHtmlContent;
|
|
258
|
+
|
|
254
259
|
type HTMLArcgisLabelInputElementEventMap = ArcgisLabelInput["@eventTypes"];
|
|
255
260
|
type HTMLArcgisLabelInputElement = ArcgisLabelInput;
|
|
256
261
|
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { g as
|
|
3
|
-
import { L as
|
|
2
|
+
import { g as a, s as t } from "./chunks/runtime.js";
|
|
3
|
+
import { L as o } from "./chunks/types.js";
|
|
4
|
+
import { S as f, s as i } from "./chunks/sharedCacheDirective.js";
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
a as
|
|
6
|
+
o as LayoutPriorities,
|
|
7
|
+
f as SharedCacheStore,
|
|
8
|
+
a as getAssetPath,
|
|
9
|
+
t as setAssetPath,
|
|
10
|
+
i as sharedCache
|
|
8
11
|
};
|
package/dist/loader.js
CHANGED
|
@@ -10,6 +10,7 @@ const s = a(e, {
|
|
|
10
10
|
"arcgis-field-info": [() => import("./components/arcgis-field-info/customElement.js"), "_messages:,fieldName,hideAlias,hideNumericFormat,hideStatistics,layer:,view:;refresh"],
|
|
11
11
|
"arcgis-field-pick-list": [() => import("./components/arcgis-field-pick-list/customElement.js"), "_messages:,customExpressionCheck:,expressionsGroupHeading,fields:,fieldsGroupHeading,filterNoResultsText,filterPlaceholderText,groupFieldsAndExpressions,heading,hideCancel,hideSort,layer:,listOnly,mapView:,multiple,okBtnText,popoverProps:,selectedFields:,showCancel,showDescription,showFieldInfo,showFieldName,showFieldTypeIcon,showFilterLength,showSelectionAll,showSort,sortBy,view:;reposition,setDisabled,setFocus"],
|
|
12
12
|
"arcgis-histogram": [() => import("./components/arcgis-histogram/customElement.js"), "_messages:,average,bins:,colorBlendingEnabled,colorStops:,dataLines:,icon,label,labelFormatter:,layout,max,messageOverrides:,min,mirrored,standardDeviation,standardDeviationCount"],
|
|
13
|
+
"arcgis-html-content": [() => import("./components/arcgis-html-content/customElement.js"), "content,sanitizerOptions:"],
|
|
13
14
|
"arcgis-label-input": [() => import("./components/arcgis-label-input/customElement.js"), "alignment,editing,labelFormatter:,readOnly,value;edit;getLabelBoundingClientRect"],
|
|
14
15
|
"arcgis-picker-input": [() => import("./components/arcgis-picker-input/customElement.js"), "disabled,heading,iconEnd,intlDone,label,popoverProps:;close,setFocus"],
|
|
15
16
|
"arcgis-ramp-color": [() => import("./components/arcgis-ramp-color/customElement.js"), "layout,max,min,stops:"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type { ArcgisCoordinateSystemPickerTree } from "../components/arcgis-coor
|
|
|
7
7
|
import type { ArcgisFieldInfo } from "../components/arcgis-field-info/customElement.js";
|
|
8
8
|
import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/customElement.js";
|
|
9
9
|
import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js";
|
|
10
|
+
import type { ArcgisHtmlContent } from "../components/arcgis-html-content/customElement.js";
|
|
10
11
|
import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js";
|
|
11
12
|
import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js";
|
|
12
13
|
import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js";
|
|
@@ -84,6 +85,9 @@ interface LuminaArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "c
|
|
|
84
85
|
interface LuminaArcgisHistogram extends Partial<Pick<ArcgisHistogram, "average" | "bins" | "colorBlendingEnabled" | "colorStops" | "dataLines" | "icon" | "label" | "labelFormatter" | "layout" | "max" | "messageOverrides" | "min" | "mirrored" | "standardDeviation" | "standardDeviationCount">>, h.JSX.HTMLAttributes<ArcgisHistogram> {
|
|
85
86
|
}
|
|
86
87
|
|
|
88
|
+
interface LuminaArcgisHtmlContent extends Partial<Pick<ArcgisHtmlContent, "content" | "sanitizerOptions">>, h.JSX.HTMLAttributes<ArcgisHtmlContent> {
|
|
89
|
+
}
|
|
90
|
+
|
|
87
91
|
interface LuminaArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignment" | "labelFormatter" | "readOnly" | "value">>, h.JSX.HTMLAttributes<ArcgisLabelInput> {
|
|
88
92
|
onarcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
89
93
|
}
|
|
@@ -199,6 +203,7 @@ declare module "@arcgis/lumina" {
|
|
|
199
203
|
"arcgis-field-info": LuminaArcgisFieldInfo;
|
|
200
204
|
"arcgis-field-pick-list": LuminaArcgisFieldPickList;
|
|
201
205
|
"arcgis-histogram": LuminaArcgisHistogram;
|
|
206
|
+
"arcgis-html-content": LuminaArcgisHtmlContent;
|
|
202
207
|
"arcgis-label-input": LuminaArcgisLabelInput;
|
|
203
208
|
"arcgis-picker-input": LuminaArcgisPickerInput;
|
|
204
209
|
"arcgis-ramp-color": LuminaArcgisRampColor;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type { ArcgisCoordinateSystemPickerTree } from "../components/arcgis-coor
|
|
|
7
7
|
import type { ArcgisFieldInfo } from "../components/arcgis-field-info/customElement.js";
|
|
8
8
|
import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/customElement.js";
|
|
9
9
|
import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js";
|
|
10
|
+
import type { ArcgisHtmlContent } from "../components/arcgis-html-content/customElement.js";
|
|
10
11
|
import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js";
|
|
11
12
|
import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js";
|
|
12
13
|
import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js";
|
|
@@ -85,6 +86,9 @@ interface PreactArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "c
|
|
|
85
86
|
interface PreactArcgisHistogram extends Partial<Pick<ArcgisHistogram, "average" | "bins" | "colorBlendingEnabled" | "colorStops" | "dataLines" | "icon" | "label" | "labelFormatter" | "layout" | "max" | "messageOverrides" | "min" | "mirrored" | "standardDeviation" | "standardDeviationCount">>, HTMLAttributes<ArcgisHistogram> {
|
|
86
87
|
}
|
|
87
88
|
|
|
89
|
+
interface PreactArcgisHtmlContent extends Partial<Pick<ArcgisHtmlContent, "content" | "sanitizerOptions">>, HTMLAttributes<ArcgisHtmlContent> {
|
|
90
|
+
}
|
|
91
|
+
|
|
88
92
|
interface PreactArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignment" | "labelFormatter" | "readOnly" | "value">>, HTMLAttributes<ArcgisLabelInput> {
|
|
89
93
|
onarcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
90
94
|
}
|
|
@@ -200,6 +204,7 @@ declare module 'preact' {
|
|
|
200
204
|
"arcgis-field-info": PreactArcgisFieldInfo;
|
|
201
205
|
"arcgis-field-pick-list": PreactArcgisFieldPickList;
|
|
202
206
|
"arcgis-histogram": PreactArcgisHistogram;
|
|
207
|
+
"arcgis-html-content": PreactArcgisHtmlContent;
|
|
203
208
|
"arcgis-label-input": PreactArcgisLabelInput;
|
|
204
209
|
"arcgis-picker-input": PreactArcgisPickerInput;
|
|
205
210
|
"arcgis-ramp-color": PreactArcgisRampColor;
|
|
@@ -235,6 +240,7 @@ declare module 'preact' {
|
|
|
235
240
|
"arcgis-field-info": PreactArcgisFieldInfo;
|
|
236
241
|
"arcgis-field-pick-list": PreactArcgisFieldPickList;
|
|
237
242
|
"arcgis-histogram": PreactArcgisHistogram;
|
|
243
|
+
"arcgis-html-content": PreactArcgisHtmlContent;
|
|
238
244
|
"arcgis-label-input": PreactArcgisLabelInput;
|
|
239
245
|
"arcgis-picker-input": PreactArcgisPickerInput;
|
|
240
246
|
"arcgis-ramp-color": PreactArcgisRampColor;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type { ArcgisCoordinateSystemPickerTree } from "../components/arcgis-coor
|
|
|
7
7
|
import type { ArcgisFieldInfo } from "../components/arcgis-field-info/customElement.js";
|
|
8
8
|
import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/customElement.js";
|
|
9
9
|
import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js";
|
|
10
|
+
import type { ArcgisHtmlContent } from "../components/arcgis-html-content/customElement.js";
|
|
10
11
|
import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js";
|
|
11
12
|
import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js";
|
|
12
13
|
import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js";
|
|
@@ -85,6 +86,9 @@ interface ReactArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "cu
|
|
|
85
86
|
interface ReactArcgisHistogram extends Partial<Pick<ArcgisHistogram, "average" | "bins" | "colorBlendingEnabled" | "colorStops" | "dataLines" | "icon" | "label" | "labelFormatter" | "layout" | "max" | "messageOverrides" | "min" | "mirrored" | "standardDeviation" | "standardDeviationCount">>, HTMLProps<ArcgisHistogram> {
|
|
86
87
|
}
|
|
87
88
|
|
|
89
|
+
interface ReactArcgisHtmlContent extends Partial<Pick<ArcgisHtmlContent, "content" | "sanitizerOptions">>, HTMLProps<ArcgisHtmlContent> {
|
|
90
|
+
}
|
|
91
|
+
|
|
88
92
|
interface ReactArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignment" | "labelFormatter" | "readOnly" | "value">>, HTMLProps<ArcgisLabelInput> {
|
|
89
93
|
onarcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
90
94
|
}
|
|
@@ -200,6 +204,7 @@ declare module "react" {
|
|
|
200
204
|
"arcgis-field-info": ReactArcgisFieldInfo;
|
|
201
205
|
"arcgis-field-pick-list": ReactArcgisFieldPickList;
|
|
202
206
|
"arcgis-histogram": ReactArcgisHistogram;
|
|
207
|
+
"arcgis-html-content": ReactArcgisHtmlContent;
|
|
203
208
|
"arcgis-label-input": ReactArcgisLabelInput;
|
|
204
209
|
"arcgis-picker-input": ReactArcgisPickerInput;
|
|
205
210
|
"arcgis-ramp-color": ReactArcgisRampColor;
|
|
@@ -237,6 +242,7 @@ declare module "react/jsx-runtime" {
|
|
|
237
242
|
"arcgis-field-info": ReactArcgisFieldInfo;
|
|
238
243
|
"arcgis-field-pick-list": ReactArcgisFieldPickList;
|
|
239
244
|
"arcgis-histogram": ReactArcgisHistogram;
|
|
245
|
+
"arcgis-html-content": ReactArcgisHtmlContent;
|
|
240
246
|
"arcgis-label-input": ReactArcgisLabelInput;
|
|
241
247
|
"arcgis-picker-input": ReactArcgisPickerInput;
|
|
242
248
|
"arcgis-ramp-color": ReactArcgisRampColor;
|
|
@@ -274,6 +280,7 @@ declare module "react/jsx-dev-runtime" {
|
|
|
274
280
|
"arcgis-field-info": ReactArcgisFieldInfo;
|
|
275
281
|
"arcgis-field-pick-list": ReactArcgisFieldPickList;
|
|
276
282
|
"arcgis-histogram": ReactArcgisHistogram;
|
|
283
|
+
"arcgis-html-content": ReactArcgisHtmlContent;
|
|
277
284
|
"arcgis-label-input": ReactArcgisLabelInput;
|
|
278
285
|
"arcgis-picker-input": ReactArcgisPickerInput;
|
|
279
286
|
"arcgis-ramp-color": ReactArcgisRampColor;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type { ArcgisCoordinateSystemPickerTree } from "../components/arcgis-coor
|
|
|
7
7
|
import type { ArcgisFieldInfo } from "../components/arcgis-field-info/customElement.js";
|
|
8
8
|
import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/customElement.js";
|
|
9
9
|
import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js";
|
|
10
|
+
import type { ArcgisHtmlContent } from "../components/arcgis-html-content/customElement.js";
|
|
10
11
|
import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js";
|
|
11
12
|
import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js";
|
|
12
13
|
import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js";
|
|
@@ -85,6 +86,9 @@ interface StencilArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "
|
|
|
85
86
|
interface StencilArcgisHistogram extends Partial<Pick<ArcgisHistogram, "average" | "bins" | "colorBlendingEnabled" | "colorStops" | "dataLines" | "icon" | "label" | "labelFormatter" | "layout" | "max" | "messageOverrides" | "min" | "mirrored" | "standardDeviation" | "standardDeviationCount">>, StencilJsx.HTMLAttributes<ArcgisHistogram> {
|
|
86
87
|
}
|
|
87
88
|
|
|
89
|
+
interface StencilArcgisHtmlContent extends Partial<Pick<ArcgisHtmlContent, "content" | "sanitizerOptions">>, StencilJsx.HTMLAttributes<ArcgisHtmlContent> {
|
|
90
|
+
}
|
|
91
|
+
|
|
88
92
|
interface StencilArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignment" | "labelFormatter" | "readOnly" | "value">>, StencilJsx.HTMLAttributes<ArcgisLabelInput> {
|
|
89
93
|
onArcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
90
94
|
}
|
|
@@ -198,6 +202,7 @@ interface ExposedElements {
|
|
|
198
202
|
"arcgis-field-info": StencilArcgisFieldInfo;
|
|
199
203
|
"arcgis-field-pick-list": StencilArcgisFieldPickList;
|
|
200
204
|
"arcgis-histogram": StencilArcgisHistogram;
|
|
205
|
+
"arcgis-html-content": StencilArcgisHtmlContent;
|
|
201
206
|
"arcgis-label-input": StencilArcgisLabelInput;
|
|
202
207
|
"arcgis-picker-input": StencilArcgisPickerInput;
|
|
203
208
|
"arcgis-ramp-color": StencilArcgisRampColor;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { ChildPart, RootPart } from "lit";
|
|
2
|
+
import type { AsyncDirective } from "lit/async-directive.js";
|
|
3
|
+
import type { DirectiveParameters, PartInfo } from "lit/directive.js";
|
|
4
|
+
import type { JsxNode } from "@arcgis/lumina";
|
|
5
|
+
|
|
6
|
+
/** @internal */
|
|
7
|
+
export class SharedCacheStore {
|
|
8
|
+
constructor(cachedParts?: Map<unknown, RootPart>, directives?: Set<SharedCacheDirective>);
|
|
9
|
+
moveAllToCache(): void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* **Summary**: Directive enables using a shared element cache to avoid re-creating
|
|
14
|
+
* DOM elements when they are moved from one position on page to another.
|
|
15
|
+
*
|
|
16
|
+
* **Justification**:
|
|
17
|
+
*
|
|
18
|
+
* This is primarily used for the toolbar-stack, which needs to re-order DOM elements
|
|
19
|
+
* for accessibility and layout reasons; moving a calcite-action-bar
|
|
20
|
+
* is more efficient than destroying and re-creating, which otherwise might happen a lot.
|
|
21
|
+
*
|
|
22
|
+
* Beyond efficiency, this is necessary to avoid user-visible flickering due to
|
|
23
|
+
* how calcite handles icons in actions.
|
|
24
|
+
*
|
|
25
|
+
* **How it works**:
|
|
26
|
+
*
|
|
27
|
+
* - The directive is a persistent object in the render tree that has its own state
|
|
28
|
+
* - Similar to the `cache` directive, this one will move DOM elements into and out of cache before
|
|
29
|
+
* re-rendering.
|
|
30
|
+
* - Unlike `cache`, instead of alternating between templates, this directive uses an external cache
|
|
31
|
+
* to allow content to be moved around between directive instances. Because the Lit-managed
|
|
32
|
+
* container part is moved around, when re-render happens, diffing can work as if the element was always
|
|
33
|
+
* in the same place.
|
|
34
|
+
*
|
|
35
|
+
* There is a small catch: to ensure that the parts are available to be pulled from the cache, there is
|
|
36
|
+
* a pre-processing step that needs to be called before each round of rendering; this moves all the parts
|
|
37
|
+
* into the cache to ensure that each render call can access the needed elements.
|
|
38
|
+
*
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
export class SharedCacheDirective extends AsyncDirective {
|
|
42
|
+
constructor(partInfo: PartInfo);
|
|
43
|
+
protected disconnected(): void;
|
|
44
|
+
/**
|
|
45
|
+
* During the update phase, a toolbar may need to be pulled from the cache in a situation
|
|
46
|
+
* where it was still on the page from the previous render.
|
|
47
|
+
*
|
|
48
|
+
* To work around this problem, during parent component render phase a pre-caching
|
|
49
|
+
* step moves all cacheable elements into the cache. This is the method called by
|
|
50
|
+
* that pre-caching step.
|
|
51
|
+
*/
|
|
52
|
+
moveToCache(): void;
|
|
53
|
+
protected reconnected(): void;
|
|
54
|
+
/**
|
|
55
|
+
* @param _store - Shared store backing this and other caching directives with the shared cache
|
|
56
|
+
* @param _key - Uniquely identifies the element being rendered
|
|
57
|
+
* @param value - The content to render
|
|
58
|
+
*/
|
|
59
|
+
render(_store: SharedCacheStore, _key: unknown, value: JsxNode): unknown[];
|
|
60
|
+
/**
|
|
61
|
+
* @param containerPart
|
|
62
|
+
* @param parameter1
|
|
63
|
+
*/
|
|
64
|
+
update(containerPart: ChildPart, parameter1: DirectiveParameters<this>): unknown;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const sharedCache: (_store: SharedCacheStore, _key: unknown, value: JsxNode) => never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/common-components",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.14",
|
|
4
4
|
"description": "ArcGIS Maps SDK for JavaScript common components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
],
|
|
46
46
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@arcgis/lumina": "6.0.0-next.
|
|
49
|
-
"@arcgis/lumina-toolkit": "6.0.0-next.
|
|
50
|
-
"@arcgis/toolkit": "6.0.0-next.
|
|
48
|
+
"@arcgis/lumina": "6.0.0-next.14",
|
|
49
|
+
"@arcgis/lumina-toolkit": "6.0.0-next.14",
|
|
50
|
+
"@arcgis/toolkit": "6.0.0-next.14",
|
|
51
51
|
"@esri/arcgis-html-sanitizer": "~4.2.0-next.2",
|
|
52
52
|
"@lit/task": "^1.0.3",
|
|
53
53
|
"lit": "^3.3.0",
|
|
54
54
|
"tslib": "^2.8.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@arcgis/core": "6.0.0-next.
|
|
57
|
+
"@arcgis/core": "6.0.0-next.14",
|
|
58
58
|
"@esri/calcite-components": "^5.2.0-next.89"
|
|
59
59
|
},
|
|
60
60
|
"css.customData": [
|
package/dist/cdn/5XRYXPOX.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{e as n}from"./LLATF73T.js";import"./XX2ZCFWI.js";import{L as r,R as c,h as s,j as a}from"./BCN6LPOG.js";var o=s`:host{display:flex;flex:auto;min-width:300px;padding:var(--calcite-space-sm)}:host([disabled]){opacity:var(--calcite-opacity-disabled);pointer-events:none}.container{align-items:center;border:solid var(--calcite-border-width-sm) var(--calcite-color-border-3);display:flex;flex:auto;padding-inline:var(--calcite-space-sm)}.text{color:var(--calcite-color-text-1);flex:auto;font-family:inherit;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:var(--calcite-space-none)}`,i=class extends r{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.disabled=!1,this.canNext=!1,this.canPlay=!1,this.canPrevious=!1,this.arcgisPropertyChange=n()("canNext","canPlay","canPrevious","currentValue")}static{this.properties={autoDestroyDisabled:5,disabled:7,items:0,currentValue:0,canNext:5,canPlay:5,canPrevious:5}}static{this.styles=o}async destroy(){await this.manager.destroy()}reset(){this.currentValue=this.items?.[0]}step(e){if(!this.items||!this.currentValue)return;let t=this.items.findIndex(({value:l})=>l===this.currentValue?.value)+(e==="next"?1:-1);t>=this.items.length||t<0||(this.currentValue=this.items[t],this._checkState())}connectedCallback(){super.connectedCallback(),this.el.hidden=!0}willUpdate(e){(e.has("currentValue")||e.has("items"))&&this.items?.length&&!this.currentValue&&(this.currentValue=this.items[0]),this.el.hidden=!this.items?.length,this._checkState()}_checkState(){if(!this.items?.length){this.canPlay=!1,this.canNext=!1,this.canPrevious=!1;return}this.canPlay=!0;let e=this.items.findIndex(({value:t})=>t===this.currentValue?.value);this.canNext=e<this.items.length-1,this.canPrevious=e>0}render(){return a`<div class="container"><div class="text">${this.currentValue?.label}</div></div>`}};c("arcgis-value-picker-label",i);export{i as ArcgisValuePickerLabel};
|
package/dist/cdn/BCN6LPOG.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Et=Symbol(),kt=new WeakMap,M=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==Et)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&kt.set(e,t))}return t}toString(){return this.cssText}},jt=s=>new M(typeof s=="string"?s:s+"",void 0,Et),Ce=(s,...t)=>{let e=s.length===1?s[0]:t.reduce((o,n,r)=>o+(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.")})(n)+s[r+1],s[0]);return new M(e,s,Et)},Ht=(s,t)=>{if(Z)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let o=document.createElement("style"),n=Y.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o)}},$t=Z?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return jt(e)})(s):s;var{is:we,defineProperty:Oe,getOwnPropertyDescriptor:Te,getOwnPropertyNames:Se,getOwnPropertySymbols:Pe,getPrototypeOf:Ne}=Object,tt=globalThis,Vt=tt.trustedTypes,De=Vt?Vt.emptyScript:"",xe=tt.reactiveElementPolyfillSupport,k=(s,t)=>s,X={toAttribute(s,t){switch(t){case Boolean:s=s?De:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},j=(s,t)=>!we(s,t),zt={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),tt.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,e=zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(t,o,e);n!==void 0&&Oe(this.prototype,t,n)}}static getPropertyDescriptor(t,e,o){let{get:n,set:r}=Te(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ne(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,o=[...Se(e),...Pe(e)];for(let n of o)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,n]of e)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let n=this._$Eu(e,o);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let n of o)e.unshift($t(n))}else t!==void 0&&e.push($t(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o: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,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(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,e,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,o);if(n!==void 0&&o.reflect===!0){let r=(o.converter?.toAttribute!==void 0?o.converter:X).toAttribute(e,o.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let o=this.constructor,n=o._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=o.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:X;this._$Em=n;let a=i.fromAttribute(e,r.type);this[n]=a??this._$Ej?.get(n)??a,this._$Em=null}}requestUpdate(t,e,o,n=!1,r){if(t!==void 0){let i=this.constructor;if(n===!1&&(r=this[t]),o??=i.getPropertyOptions(t),!((o.hasChanged??j)(r,e)||o.useDefault&&o.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:n,wrapped:r},i){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}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[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,r]of o){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[k("elementProperties")]=new Map,A[k("finalized")]=new Map,xe?.({ReactiveElement:A}),(tt.reactiveElementVersions??=[]).push("2.1.2");var At=globalThis,Bt=s=>s,et=At.trustedTypes,Wt=et?et.createPolicy("lit-html",{createHTML:s=>s}):void 0,_t="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,Ct="?"+_,Le=`<${Ct}>`,T=document,V=()=>T.createComment(""),z=s=>s===null||typeof s!="object"&&typeof s!="function",wt=Array.isArray,Jt=s=>wt(s)||typeof s?.[Symbol.iterator]=="function",bt=`[
|
|
3
|
-
\f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ft=/-->/g,qt=/>/g,w=RegExp(`>|${bt}(?:([^\\s"'>=/]+)(${bt}*=${bt}*(?:[^
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Kt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,Ot=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),ys=Ot(1),gs=Ot(2),vs=Ot(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Qt=new WeakMap,O=T.createTreeWalker(T,129);function Zt(s,t){if(!wt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(t):t}var Xt=(s,t)=>{let e=s.length-1,o=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=H;for(let a=0;a<e;a++){let c=s[a],l,u,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,u=i.exec(c),u!==null);)m=i.lastIndex,i===H?u[1]==="!--"?i=Ft:u[1]!==void 0?i=qt:u[2]!==void 0?(Yt.test(u[2])&&(n=RegExp("</"+u[2],"g")),i=w):u[3]!==void 0&&(i=w):i===w?u[0]===">"?(i=n??H,h=-1):u[1]===void 0?h=-2:(h=i.lastIndex-u[2].length,l=u[1],i=u[3]===void 0?w:u[3]==='"'?Kt:Gt):i===Kt||i===Gt?i=w:i===Ft||i===qt?i=H:(i=w,n=void 0);let v=i===w&&s[a+1].startsWith("/>")?" ":"";r+=i===H?c+Le:h>=0?(o.push(l),c.slice(0,h)+_t+c.slice(h)+_+v):c+_+(h===-2?a:v)}return[Zt(s,r+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},B=class s{constructor({strings:t,_$litType$:e},o){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,u]=Xt(t,e);if(this.el=s.createElement(l,o),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=O.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(_t)){let m=u[i++],v=n.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(m);c.push({type:1,index:r,name:C[2],strings:v,ctor:C[1]==="."?ot:C[1]==="?"?nt:C[1]==="@"?rt:P}),n.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(Yt.test(n.tagName)){let h=n.textContent.split(_),m=h.length-1;if(m>0){n.textContent=et?et.emptyScript:"";for(let v=0;v<m;v++)n.append(h[v],V()),O.nextNode(),c.push({type:2,index:++r});n.append(h[m],V())}}}else if(n.nodeType===8)if(n.data===Ct)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:r}),h+=_.length-1}r++}}static createElement(t,e){let o=T.createElement("template");return o.innerHTML=t,o}};function S(s,t,e=s,o){if(t===f)return t;let n=o!==void 0?e._$Co?.[o]:e._$Cl,r=z(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(s),n._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=n:e._$Cl=n),n!==void 0&&(t=S(s,n._$AS(s,t.values),n,o)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,n=(t?.creationScope??T).importNode(e,!0);O.currentNode=n;let r=O.nextNode(),i=0,a=0,c=o[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new L(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new it(r,this,t)),this._$AV.push(l),c=o[++a]}i!==c?.index&&(r=O.nextNode(),i++)}return O.currentNode=T,n}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},L=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),z(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Jt(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!==d&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=B.createElement(Zt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new st(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Qt.get(t.strings);return e===void 0&&Qt.set(t.strings,e=new B(t)),e}k(t){wt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,n=0;for(let r of t)n===e.length?e.push(o=new s(this.O(V()),this.O(V()),this,this.options)):o=e[n],o._$AI(r),n++;n<e.length&&(this._$AR(o&&o._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let o=Bt(t).nextSibling;Bt(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,n){let r=this.strings,i=!1;if(r===void 0)t=S(this,t,e,0),i=!z(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=S(this,a[o+c],e,c),l===f&&(l=this._$AH[c]),i||=!z(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},nt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},rt=class extends P{constructor(t,e,o,n,r){super(t,e,o,n,r),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let o=this._$AH,n=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==d&&(o===d||n);n&&this.element.removeEventListener(this.name,this,o),r&&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)}},it=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},te={M:_t,P:_,A:Ct,C:1,L:Xt,R:st,D:Jt,V:S,I:L,H:P,N:nt,U:rt,B:ot,F:it},Ue=At.litHtmlPolyfillSupport;Ue?.(B,L),(At.litHtmlVersions??=[]).push("3.3.2");var at=(s,t,e)=>{let o=e?.renderBefore??t,n=o._$litPart$;if(n===void 0){let r=e?.renderBefore??null;o._$litPart$=n=new L(t.insertBefore(V(),r),r,void 0,e??{})}return n._$AI(s),n};var Tt=globalThis,E=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};E._$litElement$=!0,E.finalized=!0,Tt.litElementHydrateSupport?.({LitElement:E});var Re=Tt.litElementPolyfillSupport;Re?.({LitElement:E});(Tt.litElementVersions??=[]).push("4.2.2");var ee=new Set,se;var oe=s=>typeof s=="string"?s:"el"in s?s.el.localName:"localName"in s?s.localName:s.declaredClass,Ds=(s,t,e,o)=>{let n=oe(t);if(o?.once){let i=`${s}${n}${e}`;if(ee.has(i))return;ee.add(i)}let r;if(o?.detail){r={};for(let[i,a]of Object.entries(o.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(r,i,{enumerable:!0,get(){return c.deref()}})}else r[i]=a;se?.log.interceptors?.forEach(i=>i(s,n,e,r)),console[s](`[${n}]: ${e}`,r)}else se?.log.interceptors?.forEach(i=>i(s,n,e)),console[s](`[${n}]: ${e}`)},ne=s=>{let t=`[${oe(s)}] `;return e=>{let o=e instanceof Error&&e.message?e:new Error(String(e));o.message=`${t}${o.message}`,setTimeout(()=>{throw e})}},xs=s=>`The property \`${s.toString()}\` is required but missing.`;var p=(s,t,...e)=>{try{return s?.call(t,...e)}catch(o){console.error(o,s)}},W=async(s,t,...e)=>{try{return await s?.call(t,...e)}catch(o){console.error(o,s)}};var q=Symbol.for("controller"),Ie=s=>typeof s=="object"&&s!==null&&(q in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s),Rs=s=>typeof s?.then=="function";var F,D=s=>{F!==s&&(F=s,queueMicrotask(()=>F===s?F=void 0:0))},G=s=>F,N=[],lt=s=>{if(s===void 0){N=[];return}let t=N.indexOf(s);N=t===-1?[...N,s]:N.slice(0,t+1),queueMicrotask(()=>N=[])},re=()=>N,U,Is=s=>{U!==s&&(U=s,queueMicrotask(()=>U===s?U=void 0:0))},Me=()=>{let s=U;return U=void 0,s},ie=async(s,t)=>{let e=ht(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(n=>t(n,o))}return e.exports},ae=async s=>{let t=ht(s);return await t.ready,t},ht=s=>{let e=G().manager.X(s);if(e!==void 0)return e;if(Ie(s))return s;let o=Me();if(o!==void 0)return o},ct=!1,Ms=s=>{ct=!0;try{return s()}finally{ct=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};var ce=(s,t)=>{let e=t>ke?je:t/He,o=0,n=setInterval(()=>{o+=e,o>=t&&(clearInterval(n),s())},e);return n},ke=4e3,je=2e3,He=4;var Ve=(s,t,e)=>{let o=Object.keys(s),n=o.length;R===void 0&&queueMicrotask(I),R??=new Map;let r=R.get(s);return r===void 0&&(r={callbacks:[],keyCount:n},R.set(s,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>p(t,null,l),c=i[n];c===void 0?a(void 0):s[c]===e?a(c):a(void 0)}),e},R,I=()=>{R?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),R=void 0},ze=(s,t,e)=>{let o=s.manager;return o.V!==d&&o.V!==e&&o.S(void 0,void 0),o.T.length===0&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=e,o.T.push((n,r)=>p(t,void 0,e===r?n:void 0)),e},Be=(s=[G(),...re()],t,e)=>{let o=Array.isArray(s)?s:[s],n=o.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};o.forEach(i=>Ve(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of o)if("manager"in i&&i.manager.component===i){ze(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},We=(s="",t={},e=G())=>{let o={emit:n=>{s===""&&I();let r=new CustomEvent(s,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return s===""&&Be(void 0,n=>s=n.key,o),o},Fe=We.bind(null,""),de;de=q;var St=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#n=[],this.#r=[],this.#c=[],this.#l=[],this.#d=[],this.#i=[],this.#p=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[de]=!0,this.#h=[];let e=this,o=t??G(new.target.name);e.#o=o,e.ready=e.P.promise,e.#a=he(e),e.component=o,e.#o.addController(e),e.#o.manager===void 0||(lt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#n;#r;#c;#l;#d;#i;#p;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#p&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(ne(this.#o))}#a;get exports(){return this.#a}set exports(t){let e=this.#a;e!==t&&(this.#a=t,this.#h.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#a=e?he(t):t,this.#h.forEach(p)}#h;watchExports(t){let e=()=>t(this.#a);return this.#h.push(e),()=>{this.#h.splice(this.#h.indexOf(e),1)}}get use(){return D(this.#o),ie}get useRef(){return D(this.#o),ae}get useRefSync(){return D(this.#o),ht}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#n.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#d.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#i.forEach(p),t.#i=[]}async triggerLoad(){if(this.#p)return;this.#p=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#a)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#n.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(le,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(le,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#d.forEach(this.#u,this)}#u(t){D(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this.#i.push(n):typeof n=="object"&&typeof n.remove=="function"&&this.#i.push(n.remove)})}};function le(s){p(s,void 0,this)}var he=s=>{if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t={get(o,n,r){if(!((n==="exports"||n==="_exports")&&n in o&&o[n]===e)&&(n in o||n in Promise.prototype||typeof n=="symbol"))return typeof o=="function"?o[n]:Reflect.get(o,n,r)}},e=new Proxy(s,t);return e};var pe=St;var dt=s=>s.replace(qe,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),qe=/[A-Z]+(?![a-z])|[A-Z]/gu;var Ge="randomUUID"in crypto,Gs=()=>{if(Ge)return crypto.randomUUID();let s=crypto.getRandomValues(new Uint16Array(8));s[3]=s[3]&4095|16384,s[4]=s[4]&16383|32768;let t=e=>s[e].toString(16).padStart(4,"0");return`${t(0)+t(1)}-${t(2)}-${t(3)}-${t(4)}-${t(5)}${t(6)}${t(7)}`};var Nt=s=>{let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(s),(e.I??e._postLoad).promise}return!1},Dt={};function xt(){}function Lt(s){for(let t of["Associated","Disabled","Reset","StateRestore"]){let e=`orm${t}Callback`;s.prototype["f"+e]=async function(...o){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${e}`,{detail:o}))}}}var Ke=(s,t)=>function(o,n){if(!globalThis.customElements)return;let i=(n??o??{}).resourcesUrl;i&&s.setAssetPath(i);for(let[a,[c,l="",u=0]]of Object.entries(t)){if(customElements.get(a))continue;let[h,m,v]=l.split(";"),C=h?h?.split(",").map(Qe):void 0,vt=C?.map(([x])=>x),J=class extends Pt{static{this.formAssociated=u===1}static{this.observedAttributes=C?.map(([,x])=>x).filter(x=>x!=="")}static{this.C=vt}static{this.E=m?m?.split(","):void 0}static{this.D=v?.split(",")}static{this.L=a}static{this.K=s}constructor(){!J.B&&(J.B=c(),J.F()),super()}};customElements.define(a,J)}},pt=Object.defineProperty,Qe=s=>{let t=s.split(":");return t.length===1?[t[0],dt(t[0])]:t},Je=globalThis.HTMLElement??xt,Pt=class extends Je{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(o=>{Object.hasOwn(t,o)&&(t.#e[o]=t[o],delete t[o])}),e.A?t.#n({a:e.A}):e.B.then(async o=>{await e.K.p,t.#n(await(o.default?.then(n=>typeof n=="function"?{a:n}:n)??o))}).catch(o=>{t.H.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static F(){for(let t of this.C??[])pt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])pt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])pt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}static{Lt(this)}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,o){this.#t?.attributeChangedCallback(t,e,o),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Nt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#n(t){let e=this.constructor,o=e.L,n=this.#e,r=Object.values(t).find(h=>h.L===o),i=`${o}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Ze(a),!e.A&&(e.A=r,customElements.define(i,r)),r.N=this;let l=document.createElement(i);r.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(n).forEach(Ye,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Ye([s,t]){this[s]=t}var Ze=s=>{let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},t.hasAttribute=function(n){return e.hasAttribute.call(this.el,n)},pt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$=s=>(...t)=>({_$litDirective$:s,values:t}),g=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Xe}=te,fe=s=>s;var ut=s=>s.strings===void 0,me=()=>document.createComment(""),ro=(s,t,e)=>{let o=s._$AA.parentNode,n=t===void 0?s._$AB:t._$AA;if(e===void 0){let r=o.insertBefore(me(),n),i=o.insertBefore(me(),n);e=new Xe(r,i,s,s.options)}else{let r=e._$AB.nextSibling,i=e._$AM,a=i!==s;if(a){let c;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(c=s._$AU)!==i._$AU&&e._$AP(c)}if(r!==n||a){let c=e._$AA;for(;c!==r;){let l=fe(c).nextSibling;fe(o).insertBefore(c,n),c=l}}}return e},io=(s,t,e=s)=>(s._$AI(t,e),s),ts={},ye=(s,t=ts)=>s._$AH=t,ao=s=>s._$AH,co=s=>{s._$AR(),s._$AA.remove()},lo=s=>{s._$AR()};var K=(s,t)=>{let e=s._$AN;if(e===void 0)return!1;for(let o of e)o._$AO?.(t,!1),K(o,t);return!0},ft=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while(e?.size===0)},ge=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),os(t)}};function es(s){this._$AN!==void 0?(ft(this),this._$AM=s,ge(this)):this._$AM=s}function ss(s,t=!1,e=0){let o=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(t)if(Array.isArray(o))for(let r=e;r<o.length;r++)K(o[r],!1),ft(o[r]);else o!=null&&(K(o,!1),ft(o));else K(this,s)}var os=s=>{s.type==y.CHILD&&(s._$AP??=ss,s._$AQ??=es)},mt=class extends g{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,o){super._$AT(t,e,o),ge(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(K(this,t),ft(this))}setValue(t){if(ut(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var Eo=()=>new Rt,Rt=class{},Ut=new WeakMap,It=$(class extends mt{render(s){return d}update(s,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=s.options?.host,this.rt(this.ct=s.element)),d}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Ut.get(t);e===void 0&&(e=new WeakMap,Ut.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){return typeof this.G=="function"?Ut.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var yt=class extends pe{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=gt in t&&typeof t.destroy=="function",E.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${gt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),lt(void 0),D(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>{this.#e.destroy()};this.#t=ce(t,rs)}}S(t,e){let o=this.T;this.V=d,this.T=[],o.forEach(n=>n(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},rs=1e3,gt="autoDestroyDisabled";var ve=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let n=!!t[o];n===this.st.has(o)||this.nt?.has(o)||(n?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var Ee="important",is=" !"+Ee,$e=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="style"||s.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(s){return Object.keys(s).reduce((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let n=t[o];if(n!=null){this.ft.add(o);let r=typeof n=="string"&&n.endsWith(is);o.includes("-")||r?e.setProperty(o,r?n.slice(0,-11):n,r?Ee:""):e[o]=n}}return f}});var as=$(class extends g{constructor(s){if(super(s),s.type!==y.PROPERTY&&s.type!==y.ATTRIBUTE&&s.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ut(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===y.PROPERTY){if(t===e[o])return f}else if(s.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===y.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return ye(s),t}});var be=class s extends E{constructor(){super(),this.M=[],this.manager=new yt(this);let t=this,e=t.constructor,o=e.N,n=e.K.o,r=s.prototype.shouldUpdate;t.#n=o?.H??new b,t.I=o?.I??new b,t.J=o?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=o??t,t.#s=t.enableUpdating,t.enableUpdating=xt,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),n&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,n()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Dt;return this.K?.commonStyles===void 0||o?e:[this.K.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0,r=n?.hasChanged??j,i={attribute:o&1&&typeof t=="string"?dt(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),useDefault:!!(o&128),c:!1,...n,hasChanged(a,c){let l=r(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,o){let n=this.K,r=super.getPropertyDescriptor(t,e,o);return o.d=r,{...r,get(){return n.t?.(this.#t.get(t)),r.get?.call(this)},set(i){let a=this.manager;if(o.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);r.set.call(this,i??void 0),o.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,i))}}}static{this.lumina=!0}static{Lt(this)}#t;#e;#s;#n;#r;#c;get elementInternals(){return this.#c??=this.el.attachInternals(),this.#c}connectedCallback(){this.hasAttribute("defer-hydration")||this.#l(!0)}#l(t){let e=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=e;let o=!this.manager.connectedCalled;t&&super.connectedCallback(),o?queueMicrotask(()=>this.#i().catch(n=>{this.#n.reject(n),setTimeout(()=>{throw n})})):e&&this.requestUpdate()}#d(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,r=t??(o===Dt?this.el:this.el.attachShadow(o));if(t)return this.manager.connectedCalled||this.#l(!1),E.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#i(){let t=this.el.G??Nt(this.el);t&&await t;let e=[];for(let n of this.M)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(W(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(gt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await 0;let o=this.J.filter(n=>!n.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async n=>await n.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let n of this.M)"triggerLoaded"in n?n.triggerLoaded():p(n.hostLoaded,n);this.loaded?.(),this.#n.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#d(t):super.update(t)}listen(t,e,o){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,o),()=>this.el.removeEventListener(t,n,o)))}listenOn(t,e,o,n){let r=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this.#n.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var _e=s=>{let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},o={...s,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.K=o,r.L=n,customElements.get(n)||customElements.define(n,r)}};return e(s.defaultAssetPath),o};var Ln=s=>typeof s=="object"&&s!=null?ve(s):s,Un=s=>typeof s=="object"&&s!=null?$e(s):s;var Mt=class extends g{#t;#e;constructor(t){super(t);let e=this;this.#e=function(n){return e.#t.call(this,n)}}render(t){return typeof t=="function"?(this.#t=t,It(this.#e)):It(t)}},Rn=$(Mt);var In=d;var Mn=s=>{let t=document.createElement("div");return at(s,t),t.firstElementChild};var Q=_e({defaultAssetPath:"https://jsdev.arcgis.com/6.0.0-next/common-components/",hydratedAttribute:"hydrated"}),{customElement:zn,getAssetPath:Bn,setAssetPath:Wn}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{Rs as a,D as b,G as c,lt as d,re as e,Is as f,Ms as g,Ce as h,j as i,ys as j,gs as k,f as l,d as m,at as n,Ds as o,xs as p,ze as q,Be as r,We as s,Fe as t,St as u,pe as v,Gs as w,Dt as x,Ke as y,y as z,$ as A,g as B,ro as C,io as D,ye as E,ao as F,co as G,lo as H,mt as I,Eo as J,It as K,be as L,Ln as M,Un as N,In as O,Mn as P,Q,zn as R,Bn as S};
|