@arcgis/common-components 5.0.0-next.135 → 5.0.0-next.137
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/{O63ZTZG5.js → 2CMN2PLW.js} +2 -2
- package/dist/cdn/{QEMZUVQL.js → 3D5FKOXY.js} +2 -2
- package/dist/cdn/{XVOXEDSL.js → 43YNUTPG.js} +2 -2
- package/dist/cdn/{RNS5S5UL.js → 4I34IC6Q.js} +2 -2
- package/dist/cdn/{BXXIZYBD.js → 5CDET57O.js} +2 -2
- package/dist/cdn/{5Z2QK75J.js → 6DBUX6JF.js} +1 -1
- package/dist/cdn/ACOIQKWZ.js +6 -0
- package/dist/cdn/{K3LTU64J.js → BAXXL46B.js} +2 -2
- package/dist/cdn/{FREENMNZ.js → CMYVMNBW.js} +2 -2
- package/dist/cdn/{BAEY2UNC.js → ENYQISNB.js} +2 -2
- package/dist/cdn/{IGSEZSZY.js → GTFPNZX7.js} +2 -2
- package/dist/cdn/{LC3J3GLV.js → HRF4HSM5.js} +2 -2
- package/dist/cdn/{LNDXDU5Z.js → IC6DINF6.js} +123 -123
- package/dist/cdn/{4JREURGY.js → KY3QFUVB.js} +2 -2
- package/dist/cdn/{RD2QMBYZ.js → KYBEHVPR.js} +2 -2
- package/dist/cdn/{Y2EXN4GQ.js → L63ONHBD.js} +2 -2
- package/dist/cdn/{C2DNC2YJ.js → NFPYN5F7.js} +1 -1
- package/dist/cdn/{SYONVE3P.js → OGEHJX2A.js} +2 -2
- package/dist/cdn/{62JZVUW3.js → R4UCTMNW.js} +2 -2
- package/dist/cdn/{G7BIJSLP.js → ROYSN427.js} +2 -2
- package/dist/cdn/{3CIN6YRD.js → X5QI7LLG.js} +1 -1
- package/dist/cdn/{JVNYGVN3.js → YAIYR7HY.js} +2 -2
- package/dist/cdn/{ZDJE23FU.js → YJBSULAA.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/commonFunctions.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/types.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-ckeditor5/customElement.d.ts +94 -98
- package/dist/components/arcgis-ckeditor5/customElement.js +6887 -7708
- package/dist/components/arcgis-ckeditor5/types.d.ts +4 -7
- package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +37 -38
- package/dist/components/arcgis-ckeditor5-popover/customElement.js +2 -2
- package/dist/components/arcgis-ckeditor5-popover/index.d.ts +0 -2
- package/dist/components/arcgis-color-input/customElement.d.ts +105 -82
- package/dist/components/arcgis-color-input/customElement.js +1 -1
- package/dist/components/arcgis-color-input/index.d.ts +0 -5
- package/dist/components/arcgis-field-info/customElement.d.ts +204 -41
- package/dist/components/arcgis-field-info/customElement.js +1 -1
- package/dist/components/arcgis-field-info/utils/basic.d.ts +2 -36
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +196 -170
- package/dist/components/arcgis-field-pick-list/customElement.js +1 -1
- package/dist/components/arcgis-field-pick-list/index.d.ts +0 -13
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +2 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +206 -195
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram/types.d.ts +22 -30
- package/dist/components/arcgis-label-input/customElement.d.ts +46 -45
- package/dist/components/arcgis-label-input/customElement.js +1 -1
- package/dist/components/arcgis-label-input/index.d.ts +0 -2
- package/dist/components/arcgis-picker-input/customElement.d.ts +41 -41
- package/dist/components/arcgis-picker-input/customElement.js +2 -2
- package/dist/components/arcgis-picker-input/index.d.ts +0 -4
- package/dist/components/arcgis-ramp-color/customElement.d.ts +16 -17
- package/dist/components/arcgis-ramp-color/customElement.js +1 -1
- package/dist/components/arcgis-ramp-color-break/customElement.d.ts +17 -18
- package/dist/components/arcgis-ramp-color-break/customElement.js +1 -1
- package/dist/components/arcgis-ramp-color-break/index.d.ts +0 -1
- package/dist/components/arcgis-ramp-opacity/customElement.d.ts +16 -18
- package/dist/components/arcgis-ramp-opacity/customElement.js +1 -1
- package/dist/components/arcgis-ramp-opacity/index.d.ts +0 -1
- package/dist/components/arcgis-slider/customElement.d.ts +287 -287
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-slider/index.d.ts +0 -2
- package/dist/components/arcgis-slider-input/customElement.d.ts +57 -58
- package/dist/components/arcgis-slider-input/customElement.js +1 -1
- package/dist/components/arcgis-slider-input/index.d.ts +0 -2
- package/dist/components/arcgis-ticks/customElement.d.ts +99 -94
- package/dist/components/arcgis-ticks/customElement.js +1 -1
- package/dist/components/arcgis-unique-values-list/customElement.d.ts +106 -89
- package/dist/components/arcgis-unique-values-list/customElement.js +1 -1
- package/dist/components/arcgis-unique-values-list/index.d.ts +0 -7
- package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +2 -9
- package/dist/docs/api.json +1 -7276
- package/dist/docs/docs.json +1 -6072
- package/dist/docs/vscode.css-custom-data.json +1 -27
- package/dist/docs/vscode.html-custom-data.json +1 -1185
- package/dist/docs/web-types.json +1 -2387
- package/dist/index.d.ts +30 -23
- package/dist/index.js +1 -1
- package/dist/loader.js +11 -11
- package/dist/types/lumina.d.ts +54 -54
- package/dist/types/preact.d.ts +54 -54
- package/dist/types/react.d.ts +54 -54
- package/dist/types/stencil.d.ts +54 -54
- package/dist/utils/types.d.ts +33 -29
- package/package.json +6 -4
- package/dist/cdn/ZMDBYWZB.js +0 -6
- package/dist/components/arcgis-ckeditor5/resources.d.ts +0 -9
- package/dist/components/arcgis-field-info/utils/feature.d.ts +0 -21
- package/dist/components/arcgis-field-info/utils/field.d.ts +0 -30
- package/dist/components/arcgis-field-info/utils/index.d.ts +0 -3
- package/dist/components/arcgis-histogram/css.d.ts +0 -8
- package/dist/components/arcgis-histogram/histogramSample.d.ts +0 -25
- package/dist/components/arcgis-histogram/utils.d.ts +0 -19
- package/dist/components/arcgis-slider/SliderData.d.ts +0 -37
- package/dist/components/arcgis-slider/stepsUtils.d.ts +0 -52
- package/dist/components/arcgis-ticks/css.d.ts +0 -11
- package/dist/components/arcgis-unique-values-list/utils/date.d.ts +0 -7
- package/dist/components/arcgis-unique-values-list/utils/domain.d.ts +0 -5
- package/dist/components/arcgis-unique-values-list/utils/field.d.ts +0 -3
- package/dist/components/arcgis-unique-values-list/utils/index.d.ts +0 -4
- package/dist/controllers/useT9n.d.ts +0 -1
- package/dist/runtime.d.ts +0 -6
- package/dist/utils/commonFunctions.d.ts +0 -28
- package/dist/utils/dom.d.ts +0 -7
- package/dist/utils/functional.d.ts +0 -16
- package/dist/utils/functionalComponents/FieldIcons.d.ts +0 -6
- package/dist/utils/storage.d.ts +0 -3
- package/dist/utils/style.d.ts +0 -1
package/dist/types/react.d.ts
CHANGED
|
@@ -17,88 +17,88 @@ import type { ArcgisUniqueValuesList } from "../components/arcgis-unique-values-
|
|
|
17
17
|
import type { HTMLProps } from 'react';
|
|
18
18
|
import type { EventHandler } from "@arcgis/lumina";
|
|
19
19
|
|
|
20
|
-
interface ReactArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5,
|
|
21
|
-
onarcgisCkeditor5Created?: EventHandler<
|
|
22
|
-
onarcgisCkeditor5DataUpdated?: EventHandler<
|
|
23
|
-
onarcgisCkeditor5SourceEditingChanged?: EventHandler<
|
|
24
|
-
onarcgisCreated?: EventHandler<
|
|
25
|
-
onarcgisDataUpdated?: EventHandler<
|
|
26
|
-
onarcgisSourceEditingChanged?: EventHandler<
|
|
20
|
+
interface ReactArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5, "canResizeVertically" | "currentLanguage" | "customConfig" | "customExpressionCheck" | "editorType" | "groupFieldsAndExpressions" | "intlExpressionsGroupHeading" | "intlFieldsGroupHeading" | "intlTextPlaceHolder" | "mentionFields" | "readOnly" | "textData">>, HTMLProps<ArcgisCkeditor5> {
|
|
21
|
+
onarcgisCkeditor5Created?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5Created"]>;
|
|
22
|
+
onarcgisCkeditor5DataUpdated?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5DataUpdated"]>;
|
|
23
|
+
onarcgisCkeditor5SourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5SourceEditingChanged"]>;
|
|
24
|
+
onarcgisCreated?: EventHandler<ArcgisCkeditor5["arcgisCreated"]>;
|
|
25
|
+
onarcgisDataUpdated?: EventHandler<ArcgisCkeditor5["arcgisDataUpdated"]>;
|
|
26
|
+
onarcgisSourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisSourceEditingChanged"]>;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
interface ReactArcgisCkeditor5Popover extends Partial<Pick<ArcgisCkeditor5Popover,
|
|
30
|
-
onarcgisCkeditor5PopoverClosed?: EventHandler<
|
|
31
|
-
onarcgisPopoverClosed?: EventHandler<
|
|
29
|
+
interface ReactArcgisCkeditor5Popover extends Partial<Pick<ArcgisCkeditor5Popover, "guid" | "intlCancel" | "intlLabel" | "intlOk" | "refElement">>, HTMLProps<ArcgisCkeditor5Popover> {
|
|
30
|
+
onarcgisCkeditor5PopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisCkeditor5PopoverClosed"]>;
|
|
31
|
+
onarcgisPopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisPopoverClosed"]>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
interface ReactArcgisColorInput extends Partial<Pick<ArcgisColorInput,
|
|
35
|
-
onarcgisChange?: EventHandler<
|
|
36
|
-
onarcgisColorInputChange?: EventHandler<
|
|
37
|
-
onarcgisColorInputPopoverClose?: EventHandler<
|
|
38
|
-
onarcgisColorInputPopoverOpen?: EventHandler<
|
|
39
|
-
onarcgisColorInputSwatchUpdate?: EventHandler<
|
|
40
|
-
onarcgisPickerClose?: EventHandler<
|
|
41
|
-
onarcgisPickerOpen?: EventHandler<
|
|
42
|
-
onarcgisSwatchUpdate?: EventHandler<
|
|
34
|
+
interface ReactArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "placement" | "popoverProps" | "showTransparency" | "storageId">>, HTMLProps<ArcgisColorInput> {
|
|
35
|
+
onarcgisChange?: EventHandler<ArcgisColorInput["arcgisChange"]>;
|
|
36
|
+
onarcgisColorInputChange?: EventHandler<ArcgisColorInput["arcgisColorInputChange"]>;
|
|
37
|
+
onarcgisColorInputPopoverClose?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverClose"]>;
|
|
38
|
+
onarcgisColorInputPopoverOpen?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverOpen"]>;
|
|
39
|
+
onarcgisColorInputSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisColorInputSwatchUpdate"]>;
|
|
40
|
+
onarcgisPickerClose?: EventHandler<ArcgisColorInput["arcgisPickerClose"]>;
|
|
41
|
+
onarcgisPickerOpen?: EventHandler<ArcgisColorInput["arcgisPickerOpen"]>;
|
|
42
|
+
onarcgisSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisSwatchUpdate"]>;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
interface ReactArcgisFieldInfo extends Partial<Pick<ArcgisFieldInfo,
|
|
46
|
-
onarcgisComplete?: EventHandler<
|
|
47
|
-
onarcgisFieldInfoComplete?: EventHandler<
|
|
45
|
+
interface ReactArcgisFieldInfo extends Partial<Pick<ArcgisFieldInfo, "fieldName" | "hideAlias" | "hideNumericFormat" | "hideStatistics" | "layer" | "view">>, HTMLProps<ArcgisFieldInfo> {
|
|
46
|
+
onarcgisComplete?: EventHandler<ArcgisFieldInfo["arcgisComplete"]>;
|
|
47
|
+
onarcgisFieldInfoComplete?: EventHandler<ArcgisFieldInfo["arcgisFieldInfoComplete"]>;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
interface ReactArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList,
|
|
51
|
-
onarcgisChange?: EventHandler<
|
|
52
|
-
onarcgisClose?: EventHandler<
|
|
53
|
-
onarcgisDeleteField?: EventHandler<
|
|
54
|
-
onarcgisEditField?: EventHandler<
|
|
55
|
-
onarcgisFieldPickListChange?: EventHandler<
|
|
56
|
-
onarcgisFieldPickListDismissed?: EventHandler<
|
|
57
|
-
onarcgisFieldPickListSortByChange?: EventHandler<
|
|
58
|
-
onarcgisSortByChange?: EventHandler<
|
|
50
|
+
interface ReactArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "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">>, HTMLProps<ArcgisFieldPickList> {
|
|
51
|
+
onarcgisChange?: EventHandler<ArcgisFieldPickList["arcgisChange"]>;
|
|
52
|
+
onarcgisClose?: EventHandler<ArcgisFieldPickList["arcgisClose"]>;
|
|
53
|
+
onarcgisDeleteField?: EventHandler<ArcgisFieldPickList["arcgisDeleteField"]>;
|
|
54
|
+
onarcgisEditField?: EventHandler<ArcgisFieldPickList["arcgisEditField"]>;
|
|
55
|
+
onarcgisFieldPickListChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListChange"]>;
|
|
56
|
+
onarcgisFieldPickListDismissed?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListDismissed"]>;
|
|
57
|
+
onarcgisFieldPickListSortByChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListSortByChange"]>;
|
|
58
|
+
onarcgisSortByChange?: EventHandler<ArcgisFieldPickList["arcgisSortByChange"]>;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
interface ReactArcgisHistogram extends Partial<Pick<ArcgisHistogram,
|
|
61
|
+
interface ReactArcgisHistogram extends Partial<Pick<ArcgisHistogram, "average" | "bins" | "colorBlendingEnabled" | "colorStops" | "dataLines" | "icon" | "label" | "labelFormatFunction" | "layout" | "max" | "messageOverrides" | "min" | "standardDeviation">>, HTMLProps<ArcgisHistogram> {
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
interface ReactArcgisLabelInput extends Partial<Pick<ArcgisLabelInput,
|
|
65
|
-
onarcgisChange?: EventHandler<
|
|
64
|
+
interface ReactArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignment" | "labelFormatter" | "readOnly" | "value">>, HTMLProps<ArcgisLabelInput> {
|
|
65
|
+
onarcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
interface ReactArcgisPickerInput extends Partial<Pick<ArcgisPickerInput,
|
|
69
|
-
onarcgisPopoverClose?: EventHandler<
|
|
70
|
-
onarcgisPopoverOpen?: EventHandler<
|
|
68
|
+
interface ReactArcgisPickerInput extends Partial<Pick<ArcgisPickerInput, "disabled" | "heading" | "iconEnd" | "intlDone" | "label" | "popoverProps">>, HTMLProps<ArcgisPickerInput> {
|
|
69
|
+
onarcgisPopoverClose?: EventHandler<ArcgisPickerInput["arcgisPopoverClose"]>;
|
|
70
|
+
onarcgisPopoverOpen?: EventHandler<ArcgisPickerInput["arcgisPopoverOpen"]>;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
interface ReactArcgisRampColor extends Partial<Pick<ArcgisRampColor,
|
|
73
|
+
interface ReactArcgisRampColor extends Partial<Pick<ArcgisRampColor, "layout" | "max" | "min" | "stops">>, HTMLProps<ArcgisRampColor> {
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
interface ReactArcgisRampColorBreak extends Partial<Pick<ArcgisRampColorBreak,
|
|
76
|
+
interface ReactArcgisRampColorBreak extends Partial<Pick<ArcgisRampColorBreak, "layout" | "max" | "min" | "stops">>, HTMLProps<ArcgisRampColorBreak> {
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
interface ReactArcgisRampOpacity extends Partial<Pick<ArcgisRampOpacity,
|
|
79
|
+
interface ReactArcgisRampOpacity extends Partial<Pick<ArcgisRampOpacity, "fillColor" | "layout" | "max" | "min" | "stops">>, HTMLProps<ArcgisRampOpacity> {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
interface ReactArcgisSlider extends Partial<Pick<ArcgisSlider,
|
|
83
|
-
onarcgisActiveValueChange?: EventHandler<
|
|
84
|
-
onarcgisChange?: EventHandler<
|
|
85
|
-
onarcgisInput?: EventHandler<
|
|
86
|
-
onarcgisRangeChange?: EventHandler<
|
|
82
|
+
interface ReactArcgisSlider extends Partial<Pick<ArcgisSlider, "allowValuesOverlap" | "autoDestroyDisabled" | "disabled" | "fillPlacement" | "fullRangeMax" | "fullRangeMin" | "labelFormatter" | "layout" | "max" | "messageOverrides" | "min" | "mirrored" | "popoverLabel" | "popoverPlacement" | "precision" | "rangeLabelsEditingEnabled" | "rangeLabelsPlacement" | "segmentsDraggingDisabled" | "showRangeLabels" | "steps" | "valueLabelsDisplay" | "valueLabelsEditingEnabled" | "valueLabelsPlacement" | "values">>, HTMLProps<ArcgisSlider> {
|
|
83
|
+
onarcgisActiveValueChange?: EventHandler<ArcgisSlider["arcgisActiveValueChange"]>;
|
|
84
|
+
onarcgisChange?: EventHandler<ArcgisSlider["arcgisChange"]>;
|
|
85
|
+
onarcgisInput?: EventHandler<ArcgisSlider["arcgisInput"]>;
|
|
86
|
+
onarcgisRangeChange?: EventHandler<ArcgisSlider["arcgisRangeChange"]>;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
interface ReactArcgisSliderInput extends Partial<Pick<ArcgisSliderInput,
|
|
90
|
-
onarcgisSliderInputValueChange?: EventHandler<
|
|
91
|
-
onarcgisValueChange?: EventHandler<
|
|
89
|
+
interface ReactArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disabled" | "flipLabels" | "label" | "max" | "min" | "step" | "unitsLabel" | "value" | "withSteppers">>, HTMLProps<ArcgisSliderInput> {
|
|
90
|
+
onarcgisSliderInputValueChange?: EventHandler<ArcgisSliderInput["arcgisSliderInputValueChange"]>;
|
|
91
|
+
onarcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
interface ReactArcgisTicks extends Partial<Pick<ArcgisTicks,
|
|
95
|
-
onarcgisTickClick?: EventHandler<
|
|
94
|
+
interface ReactArcgisTicks extends Partial<Pick<ArcgisTicks, "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, HTMLProps<ArcgisTicks> {
|
|
95
|
+
onarcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
interface ReactArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesList,
|
|
99
|
-
onarcgisChange?: EventHandler<
|
|
100
|
-
onarcgisLoad?: EventHandler<
|
|
101
|
-
onarcgisSortByChange?: EventHandler<
|
|
98
|
+
interface ReactArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesList, "fieldName" | "layer" | "maxHeight" | "multiple" | "numberFormatOptions" | "partialUniqueValues" | "selectedValues" | "showFilterLength" | "sortBy" | "uniqueValues" | "view">>, HTMLProps<ArcgisUniqueValuesList> {
|
|
99
|
+
onarcgisChange?: EventHandler<ArcgisUniqueValuesList["arcgisChange"]>;
|
|
100
|
+
onarcgisLoad?: EventHandler<ArcgisUniqueValuesList["arcgisLoad"]>;
|
|
101
|
+
onarcgisSortByChange?: EventHandler<ArcgisUniqueValuesList["arcgisSortByChange"]>;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
declare module "react" {
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -17,88 +17,88 @@ import type { ArcgisUniqueValuesList } from "../components/arcgis-unique-values-
|
|
|
17
17
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
18
18
|
import type { EventHandler } from "@arcgis/lumina";
|
|
19
19
|
|
|
20
|
-
interface StencilArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5,
|
|
21
|
-
onArcgisCkeditor5Created?: EventHandler<
|
|
22
|
-
onArcgisCkeditor5DataUpdated?: EventHandler<
|
|
23
|
-
onArcgisCkeditor5SourceEditingChanged?: EventHandler<
|
|
24
|
-
onArcgisCreated?: EventHandler<
|
|
25
|
-
onArcgisDataUpdated?: EventHandler<
|
|
26
|
-
onArcgisSourceEditingChanged?: EventHandler<
|
|
20
|
+
interface StencilArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5, "canResizeVertically" | "currentLanguage" | "customConfig" | "customExpressionCheck" | "editorType" | "groupFieldsAndExpressions" | "intlExpressionsGroupHeading" | "intlFieldsGroupHeading" | "intlTextPlaceHolder" | "mentionFields" | "readOnly" | "textData">>, StencilJsx.HTMLAttributes<ArcgisCkeditor5> {
|
|
21
|
+
onArcgisCkeditor5Created?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5Created"]>;
|
|
22
|
+
onArcgisCkeditor5DataUpdated?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5DataUpdated"]>;
|
|
23
|
+
onArcgisCkeditor5SourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5SourceEditingChanged"]>;
|
|
24
|
+
onArcgisCreated?: EventHandler<ArcgisCkeditor5["arcgisCreated"]>;
|
|
25
|
+
onArcgisDataUpdated?: EventHandler<ArcgisCkeditor5["arcgisDataUpdated"]>;
|
|
26
|
+
onArcgisSourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisSourceEditingChanged"]>;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
interface StencilArcgisCkeditor5Popover extends Partial<Pick<ArcgisCkeditor5Popover,
|
|
30
|
-
onArcgisCkeditor5PopoverClosed?: EventHandler<
|
|
31
|
-
onArcgisPopoverClosed?: EventHandler<
|
|
29
|
+
interface StencilArcgisCkeditor5Popover extends Partial<Pick<ArcgisCkeditor5Popover, "guid" | "intlCancel" | "intlLabel" | "intlOk" | "refElement">>, StencilJsx.HTMLAttributes<ArcgisCkeditor5Popover> {
|
|
30
|
+
onArcgisCkeditor5PopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisCkeditor5PopoverClosed"]>;
|
|
31
|
+
onArcgisPopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisPopoverClosed"]>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
interface StencilArcgisColorInput extends Partial<Pick<ArcgisColorInput,
|
|
35
|
-
onArcgisChange?: EventHandler<
|
|
36
|
-
onArcgisColorInputChange?: EventHandler<
|
|
37
|
-
onArcgisColorInputPopoverClose?: EventHandler<
|
|
38
|
-
onArcgisColorInputPopoverOpen?: EventHandler<
|
|
39
|
-
onArcgisColorInputSwatchUpdate?: EventHandler<
|
|
40
|
-
onArcgisPickerClose?: EventHandler<
|
|
41
|
-
onArcgisPickerOpen?: EventHandler<
|
|
42
|
-
onArcgisSwatchUpdate?: EventHandler<
|
|
34
|
+
interface StencilArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "placement" | "popoverProps" | "showTransparency" | "storageId">>, StencilJsx.HTMLAttributes<ArcgisColorInput> {
|
|
35
|
+
onArcgisChange?: EventHandler<ArcgisColorInput["arcgisChange"]>;
|
|
36
|
+
onArcgisColorInputChange?: EventHandler<ArcgisColorInput["arcgisColorInputChange"]>;
|
|
37
|
+
onArcgisColorInputPopoverClose?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverClose"]>;
|
|
38
|
+
onArcgisColorInputPopoverOpen?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverOpen"]>;
|
|
39
|
+
onArcgisColorInputSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisColorInputSwatchUpdate"]>;
|
|
40
|
+
onArcgisPickerClose?: EventHandler<ArcgisColorInput["arcgisPickerClose"]>;
|
|
41
|
+
onArcgisPickerOpen?: EventHandler<ArcgisColorInput["arcgisPickerOpen"]>;
|
|
42
|
+
onArcgisSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisSwatchUpdate"]>;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
interface StencilArcgisFieldInfo extends Partial<Pick<ArcgisFieldInfo,
|
|
46
|
-
onArcgisComplete?: EventHandler<
|
|
47
|
-
onArcgisFieldInfoComplete?: EventHandler<
|
|
45
|
+
interface StencilArcgisFieldInfo extends Partial<Pick<ArcgisFieldInfo, "fieldName" | "hideAlias" | "hideNumericFormat" | "hideStatistics" | "layer" | "view">>, StencilJsx.HTMLAttributes<ArcgisFieldInfo> {
|
|
46
|
+
onArcgisComplete?: EventHandler<ArcgisFieldInfo["arcgisComplete"]>;
|
|
47
|
+
onArcgisFieldInfoComplete?: EventHandler<ArcgisFieldInfo["arcgisFieldInfoComplete"]>;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
interface StencilArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList,
|
|
51
|
-
onArcgisChange?: EventHandler<
|
|
52
|
-
onArcgisClose?: EventHandler<
|
|
53
|
-
onArcgisDeleteField?: EventHandler<
|
|
54
|
-
onArcgisEditField?: EventHandler<
|
|
55
|
-
onArcgisFieldPickListChange?: EventHandler<
|
|
56
|
-
onArcgisFieldPickListDismissed?: EventHandler<
|
|
57
|
-
onArcgisFieldPickListSortByChange?: EventHandler<
|
|
58
|
-
onArcgisSortByChange?: EventHandler<
|
|
50
|
+
interface StencilArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "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">>, StencilJsx.HTMLAttributes<ArcgisFieldPickList> {
|
|
51
|
+
onArcgisChange?: EventHandler<ArcgisFieldPickList["arcgisChange"]>;
|
|
52
|
+
onArcgisClose?: EventHandler<ArcgisFieldPickList["arcgisClose"]>;
|
|
53
|
+
onArcgisDeleteField?: EventHandler<ArcgisFieldPickList["arcgisDeleteField"]>;
|
|
54
|
+
onArcgisEditField?: EventHandler<ArcgisFieldPickList["arcgisEditField"]>;
|
|
55
|
+
onArcgisFieldPickListChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListChange"]>;
|
|
56
|
+
onArcgisFieldPickListDismissed?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListDismissed"]>;
|
|
57
|
+
onArcgisFieldPickListSortByChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListSortByChange"]>;
|
|
58
|
+
onArcgisSortByChange?: EventHandler<ArcgisFieldPickList["arcgisSortByChange"]>;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
interface StencilArcgisHistogram extends Partial<Pick<ArcgisHistogram,
|
|
61
|
+
interface StencilArcgisHistogram extends Partial<Pick<ArcgisHistogram, "average" | "bins" | "colorBlendingEnabled" | "colorStops" | "dataLines" | "icon" | "label" | "labelFormatFunction" | "layout" | "max" | "messageOverrides" | "min" | "standardDeviation">>, StencilJsx.HTMLAttributes<ArcgisHistogram> {
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
interface StencilArcgisLabelInput extends Partial<Pick<ArcgisLabelInput,
|
|
65
|
-
onArcgisChange?: EventHandler<
|
|
64
|
+
interface StencilArcgisLabelInput extends Partial<Pick<ArcgisLabelInput, "alignment" | "labelFormatter" | "readOnly" | "value">>, StencilJsx.HTMLAttributes<ArcgisLabelInput> {
|
|
65
|
+
onArcgisChange?: EventHandler<ArcgisLabelInput["arcgisChange"]>;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
interface StencilArcgisPickerInput extends Partial<Pick<ArcgisPickerInput,
|
|
69
|
-
onArcgisPopoverClose?: EventHandler<
|
|
70
|
-
onArcgisPopoverOpen?: EventHandler<
|
|
68
|
+
interface StencilArcgisPickerInput extends Partial<Pick<ArcgisPickerInput, "disabled" | "heading" | "iconEnd" | "intlDone" | "label" | "popoverProps">>, StencilJsx.HTMLAttributes<ArcgisPickerInput> {
|
|
69
|
+
onArcgisPopoverClose?: EventHandler<ArcgisPickerInput["arcgisPopoverClose"]>;
|
|
70
|
+
onArcgisPopoverOpen?: EventHandler<ArcgisPickerInput["arcgisPopoverOpen"]>;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
interface StencilArcgisRampColor extends Partial<Pick<ArcgisRampColor,
|
|
73
|
+
interface StencilArcgisRampColor extends Partial<Pick<ArcgisRampColor, "layout" | "max" | "min" | "stops">>, StencilJsx.HTMLAttributes<ArcgisRampColor> {
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
interface StencilArcgisRampColorBreak extends Partial<Pick<ArcgisRampColorBreak,
|
|
76
|
+
interface StencilArcgisRampColorBreak extends Partial<Pick<ArcgisRampColorBreak, "layout" | "max" | "min" | "stops">>, StencilJsx.HTMLAttributes<ArcgisRampColorBreak> {
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
interface StencilArcgisRampOpacity extends Partial<Pick<ArcgisRampOpacity,
|
|
79
|
+
interface StencilArcgisRampOpacity extends Partial<Pick<ArcgisRampOpacity, "fillColor" | "layout" | "max" | "min" | "stops">>, StencilJsx.HTMLAttributes<ArcgisRampOpacity> {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
interface StencilArcgisSlider extends Partial<Pick<ArcgisSlider,
|
|
83
|
-
onArcgisActiveValueChange?: EventHandler<
|
|
84
|
-
onArcgisChange?: EventHandler<
|
|
85
|
-
onArcgisInput?: EventHandler<
|
|
86
|
-
onArcgisRangeChange?: EventHandler<
|
|
82
|
+
interface StencilArcgisSlider extends Partial<Pick<ArcgisSlider, "allowValuesOverlap" | "autoDestroyDisabled" | "disabled" | "fillPlacement" | "fullRangeMax" | "fullRangeMin" | "labelFormatter" | "layout" | "max" | "messageOverrides" | "min" | "mirrored" | "popoverLabel" | "popoverPlacement" | "precision" | "rangeLabelsEditingEnabled" | "rangeLabelsPlacement" | "segmentsDraggingDisabled" | "showRangeLabels" | "steps" | "valueLabelsDisplay" | "valueLabelsEditingEnabled" | "valueLabelsPlacement" | "values">>, StencilJsx.HTMLAttributes<ArcgisSlider> {
|
|
83
|
+
onArcgisActiveValueChange?: EventHandler<ArcgisSlider["arcgisActiveValueChange"]>;
|
|
84
|
+
onArcgisChange?: EventHandler<ArcgisSlider["arcgisChange"]>;
|
|
85
|
+
onArcgisInput?: EventHandler<ArcgisSlider["arcgisInput"]>;
|
|
86
|
+
onArcgisRangeChange?: EventHandler<ArcgisSlider["arcgisRangeChange"]>;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
interface StencilArcgisSliderInput extends Partial<Pick<ArcgisSliderInput,
|
|
90
|
-
onArcgisSliderInputValueChange?: EventHandler<
|
|
91
|
-
onArcgisValueChange?: EventHandler<
|
|
89
|
+
interface StencilArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disabled" | "flipLabels" | "label" | "max" | "min" | "step" | "unitsLabel" | "value" | "withSteppers">>, StencilJsx.HTMLAttributes<ArcgisSliderInput> {
|
|
90
|
+
onArcgisSliderInputValueChange?: EventHandler<ArcgisSliderInput["arcgisSliderInputValueChange"]>;
|
|
91
|
+
onArcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
interface StencilArcgisTicks extends Partial<Pick<ArcgisTicks,
|
|
95
|
-
onArcgisTickClick?: EventHandler<
|
|
94
|
+
interface StencilArcgisTicks extends Partial<Pick<ArcgisTicks, "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, StencilJsx.HTMLAttributes<ArcgisTicks> {
|
|
95
|
+
onArcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
interface StencilArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesList,
|
|
99
|
-
onArcgisChange?: EventHandler<
|
|
100
|
-
onArcgisLoad?: EventHandler<
|
|
101
|
-
onArcgisSortByChange?: EventHandler<
|
|
98
|
+
interface StencilArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesList, "fieldName" | "layer" | "maxHeight" | "multiple" | "numberFormatOptions" | "partialUniqueValues" | "selectedValues" | "showFilterLength" | "sortBy" | "uniqueValues" | "view">>, StencilJsx.HTMLAttributes<ArcgisUniqueValuesList> {
|
|
99
|
+
onArcgisChange?: EventHandler<ArcgisUniqueValuesList["arcgisChange"]>;
|
|
100
|
+
onArcgisLoad?: EventHandler<ArcgisUniqueValuesList["arcgisLoad"]>;
|
|
101
|
+
onArcgisSortByChange?: EventHandler<ArcgisUniqueValuesList["arcgisSortByChange"]>;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
interface ExposedElements {
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -1,45 +1,49 @@
|
|
|
1
|
-
import { Popover } from
|
|
2
|
-
|
|
3
|
-
type LogicalPlacement = Popover["placement"];
|
|
1
|
+
import type { Popover } from "@esri/calcite-components/dist/components/calcite-popover";
|
|
2
|
+
|
|
4
3
|
/** Properties used for calcite-popover. */
|
|
5
4
|
export interface IPopoverProps {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
refElement: HTMLElement;
|
|
6
|
+
placement?: LogicalPlacement;
|
|
7
|
+
offsetDistance?: number;
|
|
8
|
+
offsetSkidding?: number;
|
|
9
|
+
popoverWidth?: number;
|
|
10
|
+
overlayPositioning?: OverlayPositioning;
|
|
11
|
+
flipDisabled?: boolean;
|
|
12
|
+
triggerDisabled?: boolean;
|
|
13
|
+
autoClose?: boolean;
|
|
14
|
+
maxHeight?: string;
|
|
15
|
+
zIndex?: number;
|
|
17
16
|
}
|
|
17
|
+
|
|
18
18
|
/**
|
|
19
19
|
* Object to be passed to arcgis-field-pick-list containing info about a field.
|
|
20
20
|
* Use type:"none" to add non-sortable items, without info options, to the bottom of the list.
|
|
21
21
|
*/
|
|
22
22
|
export interface IPickListFieldInfo {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
name: string;
|
|
24
|
+
alias?: string | null;
|
|
25
|
+
type: string;
|
|
26
|
+
description?: string | null;
|
|
27
|
+
hideFieldName?: boolean;
|
|
28
|
+
hideDescription?: boolean;
|
|
29
|
+
showEditAction?: boolean;
|
|
30
|
+
showDeleteAction?: boolean;
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*/
|
|
32
|
+
|
|
33
|
+
/** Object to be passed to arcgis-field-pick-list containing a group of fields. */
|
|
35
34
|
export interface IPickListGroupInfo {
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
title?: string;
|
|
36
|
+
fields: IPickListFieldInfo[];
|
|
38
37
|
}
|
|
38
|
+
|
|
39
39
|
export type LastSortBy = "default" | "display" | "field" | "type";
|
|
40
|
-
|
|
40
|
+
|
|
41
|
+
export const FieldInfoPrefix: {
|
|
41
42
|
expression: string;
|
|
42
43
|
relationship: string;
|
|
43
44
|
raster: string;
|
|
44
45
|
};
|
|
45
|
-
|
|
46
|
+
|
|
47
|
+
export type OverlayPositioning = Popover["overlayPositioning"];
|
|
48
|
+
|
|
49
|
+
export type LogicalPlacement = Popover["placement"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/common-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.137",
|
|
4
4
|
"description": "ArcGIS Maps SDK for JavaScript common components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -42,11 +42,13 @@
|
|
|
42
42
|
],
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@arcgis
|
|
46
|
-
"@arcgis/toolkit": "5.0.0-next.135",
|
|
45
|
+
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
47
46
|
"@lit/task": "^1.0.3",
|
|
48
47
|
"lit": "^3.3.0",
|
|
49
|
-
"
|
|
48
|
+
"luxon": "~3.7.2",
|
|
49
|
+
"tslib": "^2.8.1",
|
|
50
|
+
"@arcgis/lumina": "5.0.0-next.137",
|
|
51
|
+
"@arcgis/toolkit": "5.0.0-next.137"
|
|
50
52
|
},
|
|
51
53
|
"peerDependencies": {
|
|
52
54
|
"@arcgis/core": ">=5.0.0-next.62 <5.1",
|
package/dist/cdn/ZMDBYWZB.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.135 */
|
|
4
|
-
var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),Rt=new WeakMap,k=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==gt)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 s=e!==void 0&&e.length===1;s&&(t=Rt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Rt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new k(typeof o=="string"?o:o+"",void 0,gt),ve=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new k(e,o,gt)},It=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Y.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},vt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var{is:Ee,defineProperty:$e,getOwnPropertyDescriptor:be,getOwnPropertyNames:_e,getOwnPropertySymbols:Ae,getPrototypeOf:Ce}=Object,tt=globalThis,kt=tt.trustedTypes,we=kt?kt.emptyScript:"",Oe=tt.reactiveElementPolyfillSupport,j=(o,t)=>o,X={toAttribute(o,t){switch(t){case Boolean:o=o?we:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},H=(o,t)=>!Ee(o,t),jt={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:H};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var _=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=jt){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 s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&$e(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=be(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(j("elementProperties")))return;let t=Ce(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(j("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(j("properties"))){let e=this.properties,s=[..._e(e),...Ae(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(vt(r))}else t!==void 0&&e.push(vt(t));return e}static _$Eu(t,e){let s=e.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,e=this.constructor.elementProperties;for(let s of e.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 It(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,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:X).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:X;this._$Em=r,this[r]=n.fromAttribute(e,i.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??H)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!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[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}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){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[j("elementProperties")]=new Map,_[j("finalized")]=new Map,Oe?.({ReactiveElement:_}),(tt.reactiveElementVersions??=[]).push("2.1.0");var $t=globalThis,et=$t.trustedTypes,Ht=et?et.createPolicy("lit-html",{createHTML:o=>o}):void 0,bt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,_t="?"+A,Te=`<${_t}>`,T=document,z=()=>T.createComment(""),B=o=>o===null||typeof o!="object"&&typeof o!="function",At=Array.isArray,qt=o=>At(o)||typeof o?.[Symbol.iterator]=="function",Et=`[
|
|
5
|
-
\f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,zt=/>/g,w=RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,Wt=/"/g,Gt=/^(?:script|style|textarea|title)$/i,Ct=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),hs=Ct(1),ds=Ct(2),ps=Ct(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Ft=new WeakMap,O=T.createTreeWalker(T,129);function Kt(o,t){if(!At(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ht!==void 0?Ht.createHTML(t):t}var Qt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=V;for(let a=0;a<e;a++){let c=o[a],h,u,l=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===V?u[1]==="!--"?n=Vt:u[1]!==void 0?n=zt:u[2]!==void 0?(Gt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??V,l=-1):u[1]===void 0?l=-2:(l=n.lastIndex-u[2].length,h=u[1],n=u[3]===void 0?w:u[3]==='"'?Wt:Bt):n===Wt||n===Bt?n=w:n===Vt||n===zt?n=V:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===V?c+Te:l>=0?(s.push(h),c.slice(0,l)+bt+c.slice(l)+A+g):c+A+(l===-2?a:g)}return[Kt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},W=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[h,u]=Qt(t,e);if(this.el=o.createElement(h,s),O.currentNode=this.el.content,e===2||e===3){let l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let l of r.getAttributeNames())if(l.endsWith(bt)){let y=u[n++],g=r.getAttribute(l).split(A),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?it:P}),r.removeAttribute(l)}else l.startsWith(A)&&(c.push({type:6,index:i}),r.removeAttribute(l));if(Gt.test(r.tagName)){let l=r.textContent.split(A),y=l.length-1;if(y>0){r.textContent=et?et.emptyScript:"";for(let g=0;g<y;g++)r.append(l[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(l[y],z())}}}else if(r.nodeType===8)if(r.data===_t)c.push({type:2,index:i});else{let l=-1;for(;(l=r.data.indexOf(A,l+1))!==-1;)c.push({type:7,index:i}),l+=A.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=B(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),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:s}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let h;c.type===2?h=new U(i,i.nextSibling,this,t):c.type===1?h=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(h=new nt(i,this,t)),this._$AV.push(h),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},U=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.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),B(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):qt(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&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=W.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new st(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Ft.get(t.strings);return e===void 0&&Ft.set(t.strings,e=new W(t)),e}k(t){At(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}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,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!B(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,h;for(t=i[0],c=0;c<i.length-1;c++)h=S(this,a[s+c],e,c),h===f&&(h=this._$AH[c]),n||=!B(h)||h!==this._$AH[c],h===d?t=d:t!==d&&(t+=(h??"")+i[c+1]),this._$AH[c]=h}n&&!r&&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}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&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)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Jt={M:bt,P:A,A:_t,C:1,L:Qt,R:st,D:qt,V:S,I:U,H:P,N:rt,U:it,B:ot,F:nt},Se=$t.litHtmlPolyfillSupport;Se?.(W,U),($t.litHtmlVersions??=[]).push("3.3.0");var at=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new U(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var wt=globalThis,$=class extends _{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}};$._$litElement$=!0,$.finalized=!0,wt.litElementHydrateSupport?.({LitElement:$});var Pe=wt.litElementPolyfillSupport;Pe?.({LitElement:$});(wt.litElementVersions??=[]).push("4.2.0");var Yt=new Set,Zt;var Xt=o=>typeof o=="string"?o:"el"in o?o.el.localName:"localName"in o?o.localName:o.declaredClass,ws=(o,t,e,s)=>{let r=Xt(t);if(s?.once){let n=`${o}${r}${e}`;if(Yt.has(n))return;Yt.add(n)}let i;if(s?.detail){i={};for(let[n,a]of Object.entries(s.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(i,n,{get(){return c.deref()}})}else i[n]=a;Zt?.log.interceptors?.forEach(n=>n(o,r,e,i)),console[o](`[${r}]: ${e}`,i)}else Zt?.log.interceptors?.forEach(n=>n(o,r,e)),console[o](`[${r}]: ${e}`)},te=o=>{let t=`[${Xt(o)}] `;return e=>{let s=e instanceof Error&&e.message?e:new Error(String(e));s.message=`${t}${s.message}`,setTimeout(()=>{throw e})}},Os=o=>`The property \`${o.toString()}\` is required but missing.`;var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},F=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var G=Symbol.for("controller"),Ne=o=>typeof o=="object"&&o!==null&&(G in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ps=o=>typeof o?.then=="function";var q,x=o=>{q!==o&&(q=o,queueMicrotask(()=>q===o?q=void 0:0))},K=o=>q,N=[],ee=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},se=()=>N,R,Ns=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},xe=()=>{let o=R;return R=void 0,o},oe=async(o,t)=>{let e=lt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},re=async o=>{let t=lt(o);return await t.ready,t},lt=o=>{let e=K().manager.X(o);if(e!==void 0)return e;if(Ne(o))return o;let s=xe();if(s!==void 0)return s},ct=!1,xs=o=>{ct=!0;try{return o()}finally{ct=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},ie=(o,t)=>{let e=t>De?Le:t/Ue,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},De=4e3,Le=2e3,Ue=4;var Re=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(I),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=h=>p(t,null,h),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,I=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Me=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},Ie=(o=[K(),...se()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Re(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Me(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},ke=(o="",t={},e=K())=>{let s={emit:r=>{o===""&&I();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Ie(void 0,r=>o=r.key,s),s},je=ke.bind(null,""),ce;ce=G;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#i=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[ce]=!0,this.#a=[];let e=this,s=t??K(new.target.name);e.#o=s,e.ready=e.P.promise,e.#n=ae(e),e.component=s,e.#o.addController(e),e.#o.manager===void 0||(ee(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#i;#c;#l;#p;#h;#d;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(te(this.#o))}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ae(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#o),oe}get useRef(){return x(this.#o),re}get useRefSync(){return x(this.#o),lt}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.#r.push(t)}onUpdate(t){this.#i.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.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.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await F(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(F)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#i.forEach(ne,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ne,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function ne(o){p(o,void 0,this)}var le=Ot,ae=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ht=o=>o.replace(He,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),He=/[A-Z]+(?![a-z])|[A-Z]/gu;var Ve="randomUUID"in crypto,Vs=()=>{if(Ve)return crypto.randomUUID();let o=crypto.getRandomValues(new Uint16Array(8));o[3]=o[3]&4095|16384,o[4]=o[4]&16383|32768;let t=e=>o[e].toString(16).padStart(4,"0");return`${t(0)+t(1)}-${t(2)}-${t(3)}-${t(4)}-${t(5)}${t(6)}${t(7)}`};var St=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Pt={};function Nt(){}var ze=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,h=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,l,y]=h.split(";"),g=u?u?.split(",").map(Be):void 0,C=g?.map(([L])=>L),D=class extends Tt{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=l?l?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},dt=Object.defineProperty,Be=o=>{let t=o.split(":");return t.length===1?[t[0],ht(t[0])]:t},We=globalThis.HTMLElement??Nt,Tt=class extends We{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(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#r({a:e.A}):e.B.then(async s=>{await e.K.p,t.#r(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])dt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])dt(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??[])dt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=St(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(l=>l.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);qe(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let h=document.createElement(n);i.N=void 0,this.#t=h,this.#e=h,this.#s.forEach(l=>h.attributeChangedCallback(l,null,this.getAttribute(l))),Object.entries(r).forEach(Fe,h);let u=this.isConnected;(u||this.G)&&(h.connectedCallback?.(),u||h.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Fe([o,t]){this[o]=t}var qe=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},dt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var{I:Js}=Jt;var pt=o=>o.strings===void 0;var Ge={},de=(o,t=Ge)=>o._$AH=t;var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Q=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),Q(s,t);return!0},ut=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},pe=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Je(t)}};function Ke(o){this._$AN!==void 0?(ut(this),this._$AM=o,pe(this)):this._$AM=o}function Qe(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)Q(s[i],!1),ut(s[i]);else s!=null&&(Q(s,!1),ut(s));else Q(this,o)}var Je=o=>{o.type==m.CHILD&&(o._$AP??=Qe,o._$AQ??=Ke)},ft=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),pe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Q(this,t),ut(this))}setValue(t){if(pt(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 no=()=>new Dt,Dt=class{},xt=new WeakMap,Lt=E(class extends ft{render(o){return d}update(o,[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=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=xt.get(t);e===void 0&&(e=new WeakMap,xt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?xt.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 mt=class extends le{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=yt in t&&typeof t.destroy=="function",$.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 ${yt} 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),x(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=()=>void this.#e.destroy();this.#t=ie(t,Ze)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(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)}},Ze=1e3,yt="autoDestroyDisabled";var ue=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.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 e=o.element.classList;for(let s of this.st)s in t||(e.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?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var fe="important",Xe=" !"+fe,me=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.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(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.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("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Xe);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?fe:""):e[s]=r}}return f}});var ts=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!pt(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var ye=class o extends ${constructor(){super(),this.M=[],this.manager=new mt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#r=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Nt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Pt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??H,n={attribute:s&1&&typeof t=="string"?ht(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let h=i(a,c);return n.c=h,h}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#r;#i;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#i=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#r.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#i.clear(),this.constructor.K.r(this.#i,()=>super.update(t))}catch(e){throw this.#i.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#i?.destroy(),this.#i=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Pt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??St(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(F(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(yt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#i?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(G in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var ge=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var br=o=>typeof o=="object"&&o!=null?ue(o):o,_r=o=>typeof o=="object"&&o!=null?me(o):o;var Ut=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Lt(this.#e)):Lt(t)}},Ar=E(Ut);var Cr=d;var wr=o=>{let t=document.createElement("div");return at(o,t),t.firstElementChild};var J=ge({defaultAssetPath:"https://jsdev.arcgis.com/5.0.0-next/common-components/",hydratedAttribute:"hydrated"}),{customElement:Nr,getAssetPath:xr,setAssetPath:Dr}=J;J.t=void 0;J.o=void 0;J.c=void 0;J.r=void 0;export{Ps as a,x as b,ee as c,se as d,Ns as e,xs as f,ve as g,H as h,hs as i,ds as j,d as k,at as l,ws as m,Os as n,Me as o,Ie as p,je as q,Ot as r,le as s,Vs as t,Pt as u,ze as v,E as w,v as x,de as y,no as z,Lt as A,ye as B,br as C,_r as D,Cr as E,wr as F,J as G,Nr as H,xr as I};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const CSS: {
|
|
2
|
-
arcgisAppCkeditor: string;
|
|
3
|
-
arcgisAppCkeditorMentionHeader: string;
|
|
4
|
-
arcgisAppCkeditorMentionItem: string;
|
|
5
|
-
arcgisAppCkeditorMentionItemContainer: string;
|
|
6
|
-
arcgisAppCkeditorPopoverContainer: string;
|
|
7
|
-
arcgisAppCkeditorPopoverFooter: string;
|
|
8
|
-
popover: string;
|
|
9
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
import { ComponentProps, FieldInfoLayer } from './';
|
|
3
|
-
/**
|
|
4
|
-
* Returns up to 5 features from the layer to get sample data
|
|
5
|
-
*
|
|
6
|
-
* @param props - properties containing layer and view
|
|
7
|
-
*/
|
|
8
|
-
export declare function getOneFeature(props: ComponentProps): Promise<__esri.FeatureSet>;
|
|
9
|
-
/**
|
|
10
|
-
* Returns feature count of layer
|
|
11
|
-
*
|
|
12
|
-
* @param layer - FeatureLayer | WFSLayer | OGCFeatureLayer | StreamLayer | CSVLayer
|
|
13
|
-
* @param mapView - View
|
|
14
|
-
*/
|
|
15
|
-
export declare function getFeatureCountCommon(layer: FieldInfoLayer, view?: __esri.View): Promise<number | undefined>;
|
|
16
|
-
/**
|
|
17
|
-
* Returns feature count of feature collection layer
|
|
18
|
-
*
|
|
19
|
-
* @param layer - FeatureLayer
|
|
20
|
-
*/
|
|
21
|
-
export declare function getFeatureCountForCollection(layer: __esri.FeatureLayer): Promise<number>;
|