@arcgis/common-components 5.2.0-next.10 → 5.2.0-next.12
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/{232BH3SJ.js → 2XA6O2MP.js} +1 -1
- package/dist/cdn/3P53QRGS.js +2 -0
- package/dist/cdn/{6XE5JNJ7.js → 3V5M7OHL.js} +1 -1
- package/dist/cdn/4W7JZPB6.js +2 -0
- package/dist/cdn/{YG4PY2H3.js → 5KS7T5BY.js} +1 -1
- package/dist/cdn/5U5NQ3F5.js +2 -0
- package/dist/cdn/77HZGUSC.js +2 -0
- package/dist/cdn/{OOBX2C2L.js → AFBKMYU6.js} +1 -1
- package/dist/cdn/GVOQ2CB7.js +2 -0
- package/dist/cdn/{F45Q3BRT.js → IUJ4ILLQ.js} +1 -1
- package/dist/cdn/{WJ3TYWP2.js → JLPZ3OR2.js} +1 -1
- package/dist/cdn/JPD7Z3MB.js +2 -0
- package/dist/cdn/L2JNUMXB.js +2 -0
- package/dist/cdn/L5RMOAO3.js +2 -0
- package/dist/cdn/LB7I345F.js +2 -0
- package/dist/cdn/LBD3GPSD.js +2 -0
- package/dist/cdn/LKUOAV7B.js +2 -0
- package/dist/cdn/MCH3WQ4X.js +2 -0
- package/dist/cdn/{YVCGEEMG.js → MCZBUYS5.js} +1 -1
- package/dist/cdn/N7C4DINF.js +2 -0
- package/dist/cdn/OBIWQRXY.js +2 -0
- package/dist/cdn/PSITQBDP.js +2 -0
- package/dist/cdn/{BDF4ZLUF.js → TXYPZ6MB.js} +1 -1
- package/dist/cdn/{MINFRX4Y.js → VQLI4IE7.js} +1 -1
- package/dist/cdn/WEKRF34E.js +2 -0
- package/dist/cdn/WLYFLEI6.js +2 -0
- package/dist/cdn/XRARFMJ7.js +2 -0
- package/dist/cdn/ZDMNUSIJ.js +2 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/components/arcgis-color-input/customElement.js +5 -5
- package/dist/components/arcgis-field-pick-list/customElement.js +43 -51
- package/dist/components/arcgis-picker-input/customElement.d.ts +6 -2
- package/dist/components/arcgis-picker-input/customElement.js +7 -7
- package/dist/components/arcgis-value-picker/customElement.d.ts +377 -0
- package/dist/components/arcgis-value-picker/customElement.js +87 -0
- package/dist/components/arcgis-value-picker/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker/index.js +3 -0
- package/dist/components/arcgis-value-picker/types.d.ts +69 -0
- package/dist/components/arcgis-value-picker-collection/customElement.d.ts +113 -0
- package/dist/components/arcgis-value-picker-collection/customElement.js +43 -0
- package/dist/components/arcgis-value-picker-collection/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker-collection/index.js +1 -0
- package/dist/components/arcgis-value-picker-combobox/customElement.d.ts +90 -0
- package/dist/components/arcgis-value-picker-combobox/customElement.js +55 -0
- package/dist/components/arcgis-value-picker-combobox/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker-combobox/index.js +3 -0
- package/dist/components/arcgis-value-picker-label/customElement.d.ts +81 -0
- package/dist/components/arcgis-value-picker-label/customElement.js +51 -0
- package/dist/components/arcgis-value-picker-label/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker-label/index.js +1 -0
- package/dist/components/arcgis-value-picker-slider/customElement.d.ts +173 -0
- package/dist/components/arcgis-value-picker-slider/customElement.js +60 -0
- package/dist/components/arcgis-value-picker-slider/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker-slider/index.js +3 -0
- 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 +50 -0
- package/dist/loader.js +8 -3
- package/dist/types/lumina.d.ts +36 -0
- package/dist/types/preact.d.ts +41 -0
- package/dist/types/react.d.ts +46 -0
- package/dist/types/stencil.d.ts +36 -0
- package/package.json +3 -3
- package/dist/cdn/2MN6S2HH.js +0 -2
- package/dist/cdn/4NANIXN7.js +0 -2
- package/dist/cdn/5I5ODGDD.js +0 -2
- package/dist/cdn/AGGCAE6P.js +0 -2
- package/dist/cdn/D3WBDGDH.js +0 -2
- package/dist/cdn/HWEOBUAY.js +0 -2
- package/dist/cdn/OTXMT4H5.js +0 -2
- package/dist/cdn/OUUS7VKS.js +0 -2
- package/dist/cdn/OYXJA2QF.js +0 -2
- package/dist/cdn/QS7JRY4H.js +0 -2
- package/dist/cdn/SKYXMBD4.js +0 -2
- package/dist/cdn/UEGSIUVY.js +0 -2
- package/dist/cdn/YVWFGK4M.js +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -61,6 +61,11 @@ import type { ArcgisSlider } from "./components/arcgis-slider/customElement.js";
|
|
|
61
61
|
import type { ArcgisSliderInput } from "./components/arcgis-slider-input/customElement.js";
|
|
62
62
|
import type { ArcgisTicks } from "./components/arcgis-ticks/customElement.js";
|
|
63
63
|
import type { ArcgisUniqueValuesList } from "./components/arcgis-unique-values-list/customElement.js";
|
|
64
|
+
import type { ArcgisValuePicker } from "./components/arcgis-value-picker/customElement.js";
|
|
65
|
+
import type { ArcgisValuePickerCollection } from "./components/arcgis-value-picker-collection/customElement.js";
|
|
66
|
+
import type { ArcgisValuePickerCombobox } from "./components/arcgis-value-picker-combobox/customElement.js";
|
|
67
|
+
import type { ArcgisValuePickerLabel } from "./components/arcgis-value-picker-label/customElement.js";
|
|
68
|
+
import type { ArcgisValuePickerSlider } from "./components/arcgis-value-picker-slider/customElement.js";
|
|
64
69
|
|
|
65
70
|
export { ToEvents, TargetedEvent } from "@arcgis/lumina";
|
|
66
71
|
|
|
@@ -129,6 +134,31 @@ export interface ArcgisUniqueValuesListCustomEvent<T> extends CustomEvent<T> {
|
|
|
129
134
|
target: ArcgisUniqueValuesList;
|
|
130
135
|
currentTarget: ArcgisUniqueValuesList;
|
|
131
136
|
}
|
|
137
|
+
export interface ArcgisValuePickerCustomEvent<T> extends CustomEvent<T> {
|
|
138
|
+
detail: T;
|
|
139
|
+
target: ArcgisValuePicker;
|
|
140
|
+
currentTarget: ArcgisValuePicker;
|
|
141
|
+
}
|
|
142
|
+
export interface ArcgisValuePickerCollectionCustomEvent<T> extends CustomEvent<T> {
|
|
143
|
+
detail: T;
|
|
144
|
+
target: ArcgisValuePickerCollection;
|
|
145
|
+
currentTarget: ArcgisValuePickerCollection;
|
|
146
|
+
}
|
|
147
|
+
export interface ArcgisValuePickerComboboxCustomEvent<T> extends CustomEvent<T> {
|
|
148
|
+
detail: T;
|
|
149
|
+
target: ArcgisValuePickerCombobox;
|
|
150
|
+
currentTarget: ArcgisValuePickerCombobox;
|
|
151
|
+
}
|
|
152
|
+
export interface ArcgisValuePickerLabelCustomEvent<T> extends CustomEvent<T> {
|
|
153
|
+
detail: T;
|
|
154
|
+
target: ArcgisValuePickerLabel;
|
|
155
|
+
currentTarget: ArcgisValuePickerLabel;
|
|
156
|
+
}
|
|
157
|
+
export interface ArcgisValuePickerSliderCustomEvent<T> extends CustomEvent<T> {
|
|
158
|
+
detail: T;
|
|
159
|
+
target: ArcgisValuePickerSlider;
|
|
160
|
+
currentTarget: ArcgisValuePickerSlider;
|
|
161
|
+
}
|
|
132
162
|
|
|
133
163
|
|
|
134
164
|
declare global {
|
|
@@ -150,6 +180,11 @@ declare global {
|
|
|
150
180
|
"arcgis-slider-input": ArcgisSliderInput;
|
|
151
181
|
"arcgis-ticks": ArcgisTicks;
|
|
152
182
|
"arcgis-unique-values-list": ArcgisUniqueValuesList;
|
|
183
|
+
"arcgis-value-picker": ArcgisValuePicker;
|
|
184
|
+
"arcgis-value-picker-collection": ArcgisValuePickerCollection;
|
|
185
|
+
"arcgis-value-picker-combobox": ArcgisValuePickerCombobox;
|
|
186
|
+
"arcgis-value-picker-label": ArcgisValuePickerLabel;
|
|
187
|
+
"arcgis-value-picker-slider": ArcgisValuePickerSlider;
|
|
153
188
|
|
|
154
189
|
}
|
|
155
190
|
|
|
@@ -200,5 +235,20 @@ declare global {
|
|
|
200
235
|
type HTMLArcgisUniqueValuesListElementEventMap = ArcgisUniqueValuesList["@eventTypes"];
|
|
201
236
|
type HTMLArcgisUniqueValuesListElement = ArcgisUniqueValuesList;
|
|
202
237
|
|
|
238
|
+
type HTMLArcgisValuePickerElementEventMap = ArcgisValuePicker["@eventTypes"];
|
|
239
|
+
type HTMLArcgisValuePickerElement = ArcgisValuePicker;
|
|
240
|
+
|
|
241
|
+
type HTMLArcgisValuePickerCollectionElementEventMap = ArcgisValuePickerCollection["@eventTypes"];
|
|
242
|
+
type HTMLArcgisValuePickerCollectionElement = ArcgisValuePickerCollection;
|
|
243
|
+
|
|
244
|
+
type HTMLArcgisValuePickerComboboxElementEventMap = ArcgisValuePickerCombobox["@eventTypes"];
|
|
245
|
+
type HTMLArcgisValuePickerComboboxElement = ArcgisValuePickerCombobox;
|
|
246
|
+
|
|
247
|
+
type HTMLArcgisValuePickerLabelElementEventMap = ArcgisValuePickerLabel["@eventTypes"];
|
|
248
|
+
type HTMLArcgisValuePickerLabelElement = ArcgisValuePickerLabel;
|
|
249
|
+
|
|
250
|
+
type HTMLArcgisValuePickerSliderElementEventMap = ArcgisValuePickerSlider["@eventTypes"];
|
|
251
|
+
type HTMLArcgisValuePickerSliderElement = ArcgisValuePickerSlider;
|
|
252
|
+
|
|
203
253
|
|
|
204
254
|
}
|
package/dist/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { r as e } from "./chunks/runtime.js";
|
|
3
|
-
import { makeDefineCustomElements as
|
|
4
|
-
const t =
|
|
3
|
+
import { makeDefineCustomElements as a } from "@arcgis/lumina";
|
|
4
|
+
const t = a(e, {
|
|
5
5
|
"arcgis-ckeditor5": [() => import("./components/arcgis-ckeditor5/customElement.js"), "canResizeVertically,currentLanguage,customConfig,customExpressionCheck:,editorType,groupFieldsAndExpressions,intlExpressionsGroupHeading,intlFieldsGroupHeading,intlTextPlaceHolder,mentionFields:,readOnly,textData;getData,setFocus"],
|
|
6
6
|
"arcgis-ckeditor5-popover": [() => import("./components/arcgis-ckeditor5-popover/customElement.js"), "guid,intlCancel,intlLabel,intlOk,refElement:;reposition"],
|
|
7
7
|
"arcgis-color-input": [() => import("./components/arcgis-color-input/customElement.js"), "_messages:,clearable,color,compact,disabled,hideRecentColors,messageOverrides:,placement,popoverProps:,showTransparency,storageId;close,setFocus;isOpen"],
|
|
@@ -18,7 +18,12 @@ const t = i(e, {
|
|
|
18
18
|
"arcgis-slider": [() => import("./components/arcgis-slider/customElement.js"), "activeValue:,allowValuesOverlap,autoDestroyDisabled,disabled,fillPlacement,fullRangeMax,fullRangeMin,keyboardLargeStep,labelFormatter:,layout,max,messageOverrides:,messages:,min,mirrored,popoverLabel,popoverPlacement,precision,rangeLabelsEditingEnabled,rangeLabelsPlacement,segmentsDraggingDisabled,showRangeLabels,steps,valueLabelsDisplay,valueLabelsEditingEnabled,valueLabelsPlacement,values;destroy"],
|
|
19
19
|
"arcgis-slider-input": [() => import("./components/arcgis-slider-input/customElement.js"), "disabled,flipLabels,label,max,min,scale,step,unitsLabel,value,withSteppers"],
|
|
20
20
|
"arcgis-ticks": [() => import("./components/arcgis-ticks/customElement.js"), "interactive,interpolationExponent,labelFormatter:,labelPlacement,layout,max,min,mirrored,mode,showBaseline,showLabels,values"],
|
|
21
|
-
"arcgis-unique-values-list": [() => import("./components/arcgis-unique-values-list/customElement.js"), "_messages:,fieldName,layer:,maxHeight,multiple,numberFormatOptions:,partialUniqueValues,selectedValues:,showFilterLength,sortBy,uniqueValues:,view:,visualizationSource;getUniqueValues,setFocus"]
|
|
21
|
+
"arcgis-unique-values-list": [() => import("./components/arcgis-unique-values-list/customElement.js"), "_messages:,fieldName,layer:,maxHeight,multiple,numberFormatOptions:,partialUniqueValues,selectedValues:,showFilterLength,sortBy,uniqueValues:,view:,visualizationSource;getUniqueValues,setFocus"],
|
|
22
|
+
"arcgis-value-picker": [() => import("./components/arcgis-value-picker/customElement.js"), "autoDestroyDisabled,disabled,hideNextButton,hidePlayButton,hidePreviousButton,icon,label,layout,loop,messages:,playRate,state:;destroy;next,pause,play,previous"],
|
|
23
|
+
"arcgis-value-picker-collection": [() => import("./components/arcgis-value-picker-collection/customElement.js"), "autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,items:;destroy;reset,step"],
|
|
24
|
+
"arcgis-value-picker-combobox": [() => import("./components/arcgis-value-picker-combobox/customElement.js"), "autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,disabled,items:,messages:;destroy;reset,step"],
|
|
25
|
+
"arcgis-value-picker-label": [() => import("./components/arcgis-value-picker-label/customElement.js"), "autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,items:;destroy;reset,step"],
|
|
26
|
+
"arcgis-value-picker-slider": [() => import("./components/arcgis-value-picker-slider/customElement.js"), "autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue,disabled,labelFormatter:,labels:,layout,majorTicks:,max,min,minorTicks:,mirrored,steps:;destroy;reset,step"]
|
|
22
27
|
});
|
|
23
28
|
export {
|
|
24
29
|
t as defineCustomElements
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -16,6 +16,11 @@ import type { ArcgisSlider } from "../components/arcgis-slider/customElement.js"
|
|
|
16
16
|
import type { ArcgisSliderInput } from "../components/arcgis-slider-input/customElement.js";
|
|
17
17
|
import type { ArcgisTicks } from "../components/arcgis-ticks/customElement.js";
|
|
18
18
|
import type { ArcgisUniqueValuesList } from "../components/arcgis-unique-values-list/customElement.js";
|
|
19
|
+
import type { ArcgisValuePicker } from "../components/arcgis-value-picker/customElement.js";
|
|
20
|
+
import type { ArcgisValuePickerCollection } from "../components/arcgis-value-picker-collection/customElement.js";
|
|
21
|
+
import type { ArcgisValuePickerCombobox } from "../components/arcgis-value-picker-combobox/customElement.js";
|
|
22
|
+
import type { ArcgisValuePickerLabel } from "../components/arcgis-value-picker-label/customElement.js";
|
|
23
|
+
import type { ArcgisValuePickerSlider } from "../components/arcgis-value-picker-slider/customElement.js";
|
|
19
24
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
20
25
|
|
|
21
26
|
interface LuminaArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5, "canResizeVertically" | "currentLanguage" | "customConfig" | "customExpressionCheck" | "editorType" | "groupFieldsAndExpressions" | "intlExpressionsGroupHeading" | "intlFieldsGroupHeading" | "intlTextPlaceHolder" | "mentionFields" | "readOnly" | "textData">>, h.JSX.HTMLAttributes<ArcgisCkeditor5> {
|
|
@@ -110,6 +115,32 @@ interface LuminaArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesLi
|
|
|
110
115
|
onarcgisSortByChange?: EventHandler<ArcgisUniqueValuesList["arcgisSortByChange"]>;
|
|
111
116
|
}
|
|
112
117
|
|
|
118
|
+
interface LuminaArcgisValuePicker extends Partial<Pick<ArcgisValuePicker, "autoDestroyDisabled" | "disabled" | "hideNextButton" | "hidePlayButton" | "hidePreviousButton" | "icon" | "label" | "layout" | "loop" | "playRate">>, h.JSX.HTMLAttributes<ArcgisValuePicker> {
|
|
119
|
+
onarcgisAnimate?: EventHandler<ArcgisValuePicker["arcgisAnimate"]>;
|
|
120
|
+
onarcgisNext?: EventHandler<ArcgisValuePicker["arcgisNext"]>;
|
|
121
|
+
onarcgisPause?: EventHandler<ArcgisValuePicker["arcgisPause"]>;
|
|
122
|
+
onarcgisPlay?: EventHandler<ArcgisValuePicker["arcgisPlay"]>;
|
|
123
|
+
onarcgisPrevious?: EventHandler<ArcgisValuePicker["arcgisPrevious"]>;
|
|
124
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePicker["arcgisPropertyChange"]>;
|
|
125
|
+
onarcgisSlottedElementChange?: EventHandler<ArcgisValuePicker["arcgisSlottedElementChange"]>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
interface LuminaArcgisValuePickerCollection extends Partial<Pick<ArcgisValuePickerCollection, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "items">>, h.JSX.HTMLAttributes<ArcgisValuePickerCollection> {
|
|
129
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerCollection["arcgisPropertyChange"]>;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
interface LuminaArcgisValuePickerCombobox extends Partial<Pick<ArcgisValuePickerCombobox, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "disabled" | "items">>, h.JSX.HTMLAttributes<ArcgisValuePickerCombobox> {
|
|
133
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerCombobox["arcgisPropertyChange"]>;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
interface LuminaArcgisValuePickerLabel extends Partial<Pick<ArcgisValuePickerLabel, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "items">>, h.JSX.HTMLAttributes<ArcgisValuePickerLabel> {
|
|
137
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerLabel["arcgisPropertyChange"]>;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
interface LuminaArcgisValuePickerSlider extends Partial<Pick<ArcgisValuePickerSlider, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "disabled" | "labelFormatter" | "labels" | "layout" | "majorTicks" | "max" | "min" | "minorTicks" | "mirrored" | "steps">>, h.JSX.HTMLAttributes<ArcgisValuePickerSlider> {
|
|
141
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerSlider["arcgisPropertyChange"]>;
|
|
142
|
+
}
|
|
143
|
+
|
|
113
144
|
declare module "@arcgis/lumina" {
|
|
114
145
|
export namespace h.JSX {
|
|
115
146
|
interface IntrinsicElements {
|
|
@@ -130,6 +161,11 @@ declare module "@arcgis/lumina" {
|
|
|
130
161
|
"arcgis-slider-input": LuminaArcgisSliderInput;
|
|
131
162
|
"arcgis-ticks": LuminaArcgisTicks;
|
|
132
163
|
"arcgis-unique-values-list": LuminaArcgisUniqueValuesList;
|
|
164
|
+
"arcgis-value-picker": LuminaArcgisValuePicker;
|
|
165
|
+
"arcgis-value-picker-collection": LuminaArcgisValuePickerCollection;
|
|
166
|
+
"arcgis-value-picker-combobox": LuminaArcgisValuePickerCombobox;
|
|
167
|
+
"arcgis-value-picker-label": LuminaArcgisValuePickerLabel;
|
|
168
|
+
"arcgis-value-picker-slider": LuminaArcgisValuePickerSlider;
|
|
133
169
|
}
|
|
134
170
|
}
|
|
135
171
|
}
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -16,6 +16,11 @@ import type { ArcgisSlider } from "../components/arcgis-slider/customElement.js"
|
|
|
16
16
|
import type { ArcgisSliderInput } from "../components/arcgis-slider-input/customElement.js";
|
|
17
17
|
import type { ArcgisTicks } from "../components/arcgis-ticks/customElement.js";
|
|
18
18
|
import type { ArcgisUniqueValuesList } from "../components/arcgis-unique-values-list/customElement.js";
|
|
19
|
+
import type { ArcgisValuePicker } from "../components/arcgis-value-picker/customElement.js";
|
|
20
|
+
import type { ArcgisValuePickerCollection } from "../components/arcgis-value-picker-collection/customElement.js";
|
|
21
|
+
import type { ArcgisValuePickerCombobox } from "../components/arcgis-value-picker-combobox/customElement.js";
|
|
22
|
+
import type { ArcgisValuePickerLabel } from "../components/arcgis-value-picker-label/customElement.js";
|
|
23
|
+
import type { ArcgisValuePickerSlider } from "../components/arcgis-value-picker-slider/customElement.js";
|
|
19
24
|
import { HTMLAttributes } from "preact";
|
|
20
25
|
import type { EventHandler } from "@arcgis/lumina";
|
|
21
26
|
|
|
@@ -111,6 +116,32 @@ interface PreactArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesLi
|
|
|
111
116
|
onarcgisSortByChange?: EventHandler<ArcgisUniqueValuesList["arcgisSortByChange"]>;
|
|
112
117
|
}
|
|
113
118
|
|
|
119
|
+
interface PreactArcgisValuePicker extends Partial<Pick<ArcgisValuePicker, "autoDestroyDisabled" | "disabled" | "hideNextButton" | "hidePlayButton" | "hidePreviousButton" | "icon" | "label" | "layout" | "loop" | "playRate">>, HTMLAttributes<ArcgisValuePicker> {
|
|
120
|
+
onarcgisAnimate?: EventHandler<ArcgisValuePicker["arcgisAnimate"]>;
|
|
121
|
+
onarcgisNext?: EventHandler<ArcgisValuePicker["arcgisNext"]>;
|
|
122
|
+
onarcgisPause?: EventHandler<ArcgisValuePicker["arcgisPause"]>;
|
|
123
|
+
onarcgisPlay?: EventHandler<ArcgisValuePicker["arcgisPlay"]>;
|
|
124
|
+
onarcgisPrevious?: EventHandler<ArcgisValuePicker["arcgisPrevious"]>;
|
|
125
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePicker["arcgisPropertyChange"]>;
|
|
126
|
+
onarcgisSlottedElementChange?: EventHandler<ArcgisValuePicker["arcgisSlottedElementChange"]>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
interface PreactArcgisValuePickerCollection extends Partial<Pick<ArcgisValuePickerCollection, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "items">>, HTMLAttributes<ArcgisValuePickerCollection> {
|
|
130
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerCollection["arcgisPropertyChange"]>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
interface PreactArcgisValuePickerCombobox extends Partial<Pick<ArcgisValuePickerCombobox, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "disabled" | "items">>, HTMLAttributes<ArcgisValuePickerCombobox> {
|
|
134
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerCombobox["arcgisPropertyChange"]>;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
interface PreactArcgisValuePickerLabel extends Partial<Pick<ArcgisValuePickerLabel, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "items">>, HTMLAttributes<ArcgisValuePickerLabel> {
|
|
138
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerLabel["arcgisPropertyChange"]>;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
interface PreactArcgisValuePickerSlider extends Partial<Pick<ArcgisValuePickerSlider, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "disabled" | "labelFormatter" | "labels" | "layout" | "majorTicks" | "max" | "min" | "minorTicks" | "mirrored" | "steps">>, HTMLAttributes<ArcgisValuePickerSlider> {
|
|
142
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerSlider["arcgisPropertyChange"]>;
|
|
143
|
+
}
|
|
144
|
+
|
|
114
145
|
declare module 'preact' {
|
|
115
146
|
namespace createElement.JSX {
|
|
116
147
|
interface IntrinsicElements {
|
|
@@ -131,6 +162,11 @@ declare module 'preact' {
|
|
|
131
162
|
"arcgis-slider-input": PreactArcgisSliderInput;
|
|
132
163
|
"arcgis-ticks": PreactArcgisTicks;
|
|
133
164
|
"arcgis-unique-values-list": PreactArcgisUniqueValuesList;
|
|
165
|
+
"arcgis-value-picker": PreactArcgisValuePicker;
|
|
166
|
+
"arcgis-value-picker-collection": PreactArcgisValuePickerCollection;
|
|
167
|
+
"arcgis-value-picker-combobox": PreactArcgisValuePickerCombobox;
|
|
168
|
+
"arcgis-value-picker-label": PreactArcgisValuePickerLabel;
|
|
169
|
+
"arcgis-value-picker-slider": PreactArcgisValuePickerSlider;
|
|
134
170
|
}
|
|
135
171
|
}
|
|
136
172
|
namespace h.JSX {
|
|
@@ -152,6 +188,11 @@ declare module 'preact' {
|
|
|
152
188
|
"arcgis-slider-input": PreactArcgisSliderInput;
|
|
153
189
|
"arcgis-ticks": PreactArcgisTicks;
|
|
154
190
|
"arcgis-unique-values-list": PreactArcgisUniqueValuesList;
|
|
191
|
+
"arcgis-value-picker": PreactArcgisValuePicker;
|
|
192
|
+
"arcgis-value-picker-collection": PreactArcgisValuePickerCollection;
|
|
193
|
+
"arcgis-value-picker-combobox": PreactArcgisValuePickerCombobox;
|
|
194
|
+
"arcgis-value-picker-label": PreactArcgisValuePickerLabel;
|
|
195
|
+
"arcgis-value-picker-slider": PreactArcgisValuePickerSlider;
|
|
155
196
|
}
|
|
156
197
|
}
|
|
157
198
|
}
|
package/dist/types/react.d.ts
CHANGED
|
@@ -16,6 +16,11 @@ import type { ArcgisSlider } from "../components/arcgis-slider/customElement.js"
|
|
|
16
16
|
import type { ArcgisSliderInput } from "../components/arcgis-slider-input/customElement.js";
|
|
17
17
|
import type { ArcgisTicks } from "../components/arcgis-ticks/customElement.js";
|
|
18
18
|
import type { ArcgisUniqueValuesList } from "../components/arcgis-unique-values-list/customElement.js";
|
|
19
|
+
import type { ArcgisValuePicker } from "../components/arcgis-value-picker/customElement.js";
|
|
20
|
+
import type { ArcgisValuePickerCollection } from "../components/arcgis-value-picker-collection/customElement.js";
|
|
21
|
+
import type { ArcgisValuePickerCombobox } from "../components/arcgis-value-picker-combobox/customElement.js";
|
|
22
|
+
import type { ArcgisValuePickerLabel } from "../components/arcgis-value-picker-label/customElement.js";
|
|
23
|
+
import type { ArcgisValuePickerSlider } from "../components/arcgis-value-picker-slider/customElement.js";
|
|
19
24
|
import type { HTMLProps } from 'react';
|
|
20
25
|
import type { EventHandler } from "@arcgis/lumina";
|
|
21
26
|
|
|
@@ -111,6 +116,32 @@ interface ReactArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesLis
|
|
|
111
116
|
onarcgisSortByChange?: EventHandler<ArcgisUniqueValuesList["arcgisSortByChange"]>;
|
|
112
117
|
}
|
|
113
118
|
|
|
119
|
+
interface ReactArcgisValuePicker extends Partial<Pick<ArcgisValuePicker, "autoDestroyDisabled" | "disabled" | "hideNextButton" | "hidePlayButton" | "hidePreviousButton" | "icon" | "label" | "layout" | "loop" | "playRate">>, HTMLProps<ArcgisValuePicker> {
|
|
120
|
+
onarcgisAnimate?: EventHandler<ArcgisValuePicker["arcgisAnimate"]>;
|
|
121
|
+
onarcgisNext?: EventHandler<ArcgisValuePicker["arcgisNext"]>;
|
|
122
|
+
onarcgisPause?: EventHandler<ArcgisValuePicker["arcgisPause"]>;
|
|
123
|
+
onarcgisPlay?: EventHandler<ArcgisValuePicker["arcgisPlay"]>;
|
|
124
|
+
onarcgisPrevious?: EventHandler<ArcgisValuePicker["arcgisPrevious"]>;
|
|
125
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePicker["arcgisPropertyChange"]>;
|
|
126
|
+
onarcgisSlottedElementChange?: EventHandler<ArcgisValuePicker["arcgisSlottedElementChange"]>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
interface ReactArcgisValuePickerCollection extends Partial<Pick<ArcgisValuePickerCollection, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "items">>, HTMLProps<ArcgisValuePickerCollection> {
|
|
130
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerCollection["arcgisPropertyChange"]>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
interface ReactArcgisValuePickerCombobox extends Partial<Pick<ArcgisValuePickerCombobox, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "disabled" | "items">>, HTMLProps<ArcgisValuePickerCombobox> {
|
|
134
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerCombobox["arcgisPropertyChange"]>;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
interface ReactArcgisValuePickerLabel extends Partial<Pick<ArcgisValuePickerLabel, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "items">>, HTMLProps<ArcgisValuePickerLabel> {
|
|
138
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerLabel["arcgisPropertyChange"]>;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
interface ReactArcgisValuePickerSlider extends Partial<Pick<ArcgisValuePickerSlider, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "disabled" | "labelFormatter" | "labels" | "layout" | "majorTicks" | "max" | "min" | "minorTicks" | "mirrored" | "steps">>, HTMLProps<ArcgisValuePickerSlider> {
|
|
142
|
+
onarcgisPropertyChange?: EventHandler<ArcgisValuePickerSlider["arcgisPropertyChange"]>;
|
|
143
|
+
}
|
|
144
|
+
|
|
114
145
|
declare module "react" {
|
|
115
146
|
namespace JSX {
|
|
116
147
|
interface IntrinsicElements {
|
|
@@ -131,6 +162,11 @@ declare module "react" {
|
|
|
131
162
|
"arcgis-slider-input": ReactArcgisSliderInput;
|
|
132
163
|
"arcgis-ticks": ReactArcgisTicks;
|
|
133
164
|
"arcgis-unique-values-list": ReactArcgisUniqueValuesList;
|
|
165
|
+
"arcgis-value-picker": ReactArcgisValuePicker;
|
|
166
|
+
"arcgis-value-picker-collection": ReactArcgisValuePickerCollection;
|
|
167
|
+
"arcgis-value-picker-combobox": ReactArcgisValuePickerCombobox;
|
|
168
|
+
"arcgis-value-picker-label": ReactArcgisValuePickerLabel;
|
|
169
|
+
"arcgis-value-picker-slider": ReactArcgisValuePickerSlider;
|
|
134
170
|
}
|
|
135
171
|
}
|
|
136
172
|
}
|
|
@@ -154,6 +190,11 @@ declare module "react/jsx-runtime" {
|
|
|
154
190
|
"arcgis-slider-input": ReactArcgisSliderInput;
|
|
155
191
|
"arcgis-ticks": ReactArcgisTicks;
|
|
156
192
|
"arcgis-unique-values-list": ReactArcgisUniqueValuesList;
|
|
193
|
+
"arcgis-value-picker": ReactArcgisValuePicker;
|
|
194
|
+
"arcgis-value-picker-collection": ReactArcgisValuePickerCollection;
|
|
195
|
+
"arcgis-value-picker-combobox": ReactArcgisValuePickerCombobox;
|
|
196
|
+
"arcgis-value-picker-label": ReactArcgisValuePickerLabel;
|
|
197
|
+
"arcgis-value-picker-slider": ReactArcgisValuePickerSlider;
|
|
157
198
|
}
|
|
158
199
|
}
|
|
159
200
|
}
|
|
@@ -177,6 +218,11 @@ declare module "react/jsx-dev-runtime" {
|
|
|
177
218
|
"arcgis-slider-input": ReactArcgisSliderInput;
|
|
178
219
|
"arcgis-ticks": ReactArcgisTicks;
|
|
179
220
|
"arcgis-unique-values-list": ReactArcgisUniqueValuesList;
|
|
221
|
+
"arcgis-value-picker": ReactArcgisValuePicker;
|
|
222
|
+
"arcgis-value-picker-collection": ReactArcgisValuePickerCollection;
|
|
223
|
+
"arcgis-value-picker-combobox": ReactArcgisValuePickerCombobox;
|
|
224
|
+
"arcgis-value-picker-label": ReactArcgisValuePickerLabel;
|
|
225
|
+
"arcgis-value-picker-slider": ReactArcgisValuePickerSlider;
|
|
180
226
|
}
|
|
181
227
|
}
|
|
182
228
|
}
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -16,6 +16,11 @@ import type { ArcgisSlider } from "../components/arcgis-slider/customElement.js"
|
|
|
16
16
|
import type { ArcgisSliderInput } from "../components/arcgis-slider-input/customElement.js";
|
|
17
17
|
import type { ArcgisTicks } from "../components/arcgis-ticks/customElement.js";
|
|
18
18
|
import type { ArcgisUniqueValuesList } from "../components/arcgis-unique-values-list/customElement.js";
|
|
19
|
+
import type { ArcgisValuePicker } from "../components/arcgis-value-picker/customElement.js";
|
|
20
|
+
import type { ArcgisValuePickerCollection } from "../components/arcgis-value-picker-collection/customElement.js";
|
|
21
|
+
import type { ArcgisValuePickerCombobox } from "../components/arcgis-value-picker-combobox/customElement.js";
|
|
22
|
+
import type { ArcgisValuePickerLabel } from "../components/arcgis-value-picker-label/customElement.js";
|
|
23
|
+
import type { ArcgisValuePickerSlider } from "../components/arcgis-value-picker-slider/customElement.js";
|
|
19
24
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
20
25
|
import type { EventHandler } from "@arcgis/lumina";
|
|
21
26
|
|
|
@@ -111,6 +116,32 @@ interface StencilArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesL
|
|
|
111
116
|
onArcgisSortByChange?: EventHandler<ArcgisUniqueValuesList["arcgisSortByChange"]>;
|
|
112
117
|
}
|
|
113
118
|
|
|
119
|
+
interface StencilArcgisValuePicker extends Partial<Pick<ArcgisValuePicker, "autoDestroyDisabled" | "disabled" | "hideNextButton" | "hidePlayButton" | "hidePreviousButton" | "icon" | "label" | "layout" | "loop" | "playRate">>, StencilJsx.HTMLAttributes<ArcgisValuePicker> {
|
|
120
|
+
onArcgisAnimate?: EventHandler<ArcgisValuePicker["arcgisAnimate"]>;
|
|
121
|
+
onArcgisNext?: EventHandler<ArcgisValuePicker["arcgisNext"]>;
|
|
122
|
+
onArcgisPause?: EventHandler<ArcgisValuePicker["arcgisPause"]>;
|
|
123
|
+
onArcgisPlay?: EventHandler<ArcgisValuePicker["arcgisPlay"]>;
|
|
124
|
+
onArcgisPrevious?: EventHandler<ArcgisValuePicker["arcgisPrevious"]>;
|
|
125
|
+
onArcgisPropertyChange?: EventHandler<ArcgisValuePicker["arcgisPropertyChange"]>;
|
|
126
|
+
onArcgisSlottedElementChange?: EventHandler<ArcgisValuePicker["arcgisSlottedElementChange"]>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
interface StencilArcgisValuePickerCollection extends Partial<Pick<ArcgisValuePickerCollection, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "items">>, StencilJsx.HTMLAttributes<ArcgisValuePickerCollection> {
|
|
130
|
+
onArcgisPropertyChange?: EventHandler<ArcgisValuePickerCollection["arcgisPropertyChange"]>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
interface StencilArcgisValuePickerCombobox extends Partial<Pick<ArcgisValuePickerCombobox, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "disabled" | "items">>, StencilJsx.HTMLAttributes<ArcgisValuePickerCombobox> {
|
|
134
|
+
onArcgisPropertyChange?: EventHandler<ArcgisValuePickerCombobox["arcgisPropertyChange"]>;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
interface StencilArcgisValuePickerLabel extends Partial<Pick<ArcgisValuePickerLabel, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "items">>, StencilJsx.HTMLAttributes<ArcgisValuePickerLabel> {
|
|
138
|
+
onArcgisPropertyChange?: EventHandler<ArcgisValuePickerLabel["arcgisPropertyChange"]>;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
interface StencilArcgisValuePickerSlider extends Partial<Pick<ArcgisValuePickerSlider, "autoDestroyDisabled" | "canNext" | "canPlay" | "canPrevious" | "currentValue" | "disabled" | "labelFormatter" | "labels" | "layout" | "majorTicks" | "max" | "min" | "minorTicks" | "mirrored" | "steps">>, StencilJsx.HTMLAttributes<ArcgisValuePickerSlider> {
|
|
142
|
+
onArcgisPropertyChange?: EventHandler<ArcgisValuePickerSlider["arcgisPropertyChange"]>;
|
|
143
|
+
}
|
|
144
|
+
|
|
114
145
|
interface ExposedElements {
|
|
115
146
|
"arcgis-ckeditor5": StencilArcgisCkeditor5;
|
|
116
147
|
"arcgis-ckeditor5-popover": StencilArcgisCkeditor5Popover;
|
|
@@ -129,6 +160,11 @@ interface ExposedElements {
|
|
|
129
160
|
"arcgis-slider-input": StencilArcgisSliderInput;
|
|
130
161
|
"arcgis-ticks": StencilArcgisTicks;
|
|
131
162
|
"arcgis-unique-values-list": StencilArcgisUniqueValuesList;
|
|
163
|
+
"arcgis-value-picker": StencilArcgisValuePicker;
|
|
164
|
+
"arcgis-value-picker-collection": StencilArcgisValuePickerCollection;
|
|
165
|
+
"arcgis-value-picker-combobox": StencilArcgisValuePickerCombobox;
|
|
166
|
+
"arcgis-value-picker-label": StencilArcgisValuePickerLabel;
|
|
167
|
+
"arcgis-value-picker-slider": StencilArcgisValuePickerSlider;
|
|
132
168
|
}
|
|
133
169
|
|
|
134
170
|
export namespace JSX {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/common-components",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.12",
|
|
4
4
|
"description": "ArcGIS Maps SDK for JavaScript common components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@lit/task": "^1.0.3",
|
|
50
50
|
"lit": "^3.3.0",
|
|
51
51
|
"tslib": "^2.8.1",
|
|
52
|
-
"@arcgis/lumina": "5.2.0-next.
|
|
53
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
52
|
+
"@arcgis/lumina": "5.2.0-next.12",
|
|
53
|
+
"@arcgis/toolkit": "5.2.0-next.12"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@arcgis/core": "^5.2.0-next",
|
package/dist/cdn/2MN6S2HH.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as i}from"./UGWLCTVM.js";import{a as u,b as m}from"./WJ3TYWP2.js";import{e as g}from"./F45Q3BRT.js";import{A as a,B as d,C as e,E as p,H as h,g as l,i as n,q as s,t as c,z as o}from"./OOBX2C2L.js";var v=l`.arcgis-app-ckeditor-popover-footer{display:flex;justify-content:flex-end;margin-top:var(--calcite-space-sm);padding:0 var(--calcite-space-lg)}.arcgis-app-ckeditor-popover-container{margin:0 var(--calcite-space-md) 0 0;padding-bottom:var(--calcite-space-lg);box-shadow:val(--calcite-shadow-1)}`,r=class extends d{constructor(){super(),this.okButton=o(),this.popoverNode=o(),this._propWatcherTask=new u(this,{task:async([t])=>{if(!m(t)){console.error("[ckeditor5] Required properties are missing.");return}},args:()=>[this.refElement]}),this.guid=c(),this.intlOk="Ok",this.intlCancel="Cancel",this.arcgisCkeditor5PopoverClosed=s(),this.arcgisPopoverClosed=s(),this.listen("arcgisCreated",this.afterEditorCreated),this.listen("arcgisSourceEditingChanged",this.onSourceEditingStatusChanged)}static{this.properties={guid:1,refElement:0,intlOk:1,intlCancel:1,intlLabel:1}}static{this.styles=v}async reposition(){this.popoverNode.value?.reposition()}afterEditorCreated(t){this.editor=t.target,this.reposition(),this.requestUpdate()}onSourceEditingStatusChanged(t){this.okButton.value&&(this.okButton.value.disabled=t.detail)}render(){return this.el.classList.add("js-app-flyout"),this._propWatcherTask.render({complete:()=>n`<calcite-popover class=${e(i.popover)} dir=${g(this.el)??p} placement=leading-start open pointer-disabled .referenceElement=${this.refElement} .offsetDistance=${-Math.round(this.refElement.getBoundingClientRect().width)} offset-skidding=50 .label=${this.intlLabel??""} focus-trap-disabled trigger-disabled top-layer-disabled ${a(this.popoverNode)}><div class=${e(i.arcgisAppCkeditorPopoverContainer)}><slot></slot><div class=${e(i.arcgisAppCkeditorPopoverFooter)}><calcite-button .label=${this.intlOk} @click=${async t=>{this.okButton.value?.disabled||(t.stopPropagation(),this.arcgisCkeditor5PopoverClosed.emit({guid:this.guid,data:await this.editor?.getData()}),this.arcgisPopoverClosed.emit({guid:this.guid,data:await this.editor?.getData()}))}} ${a(this.okButton)}>${this.intlOk}</calcite-button><calcite-button appearance=outline-fill .label=${this.intlCancel} @click=${t=>{t.stopPropagation(),this.arcgisCkeditor5PopoverClosed.emit({guid:this.guid}),this.arcgisPopoverClosed.emit({guid:this.guid})}}>${this.intlCancel}</calcite-button></div></div></calcite-popover>`})}};h("arcgis-ckeditor5-popover",r);export{r as ArcgisCkeditor5Popover};
|
package/dist/cdn/4NANIXN7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as E}from"./ECNI2A4K.js";import{b as k}from"./SKYXMBD4.js";import{e as f}from"./F45Q3BRT.js";import{a as n}from"./YG4PY2H3.js";import{A as l,B as w,H as v,g as C,i,j as u,l as m,q as r,z as g}from"./OOBX2C2L.js";function y(a,e,t){window.localStorage.setItem(a,JSON.stringify(e))}function S(a,e){let t=window.localStorage.getItem(a);return t&&e?JSON.parse(t):t}var R=C`:host,arcgis-picker-input{display:block}.color-picker-container{display:flex;flex-direction:column}.color-picker{--calcite-color-border-1: transparent;overflow-x:hidden}.preview-swatch{width:100%;height:24px}.recent-colors-container{align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-input);display:flex;gap:var(--calcite-space-sm);height:32px;padding:0 var(--calcite-space-xs);transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.preview-recent-swatch{cursor:pointer}.recent-colors-container:focus,.preview-recent-swatch:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:var(--calcite-border-width-md)}.empty-swatch{cursor:default}.end-action{display:flex}`,h=class extends w{constructor(){super(),this._messages=k(),this.actionEl=g(),this.open=!1,this.setRecentColorElement=e=>t=>{switch(e){case 1:this.recentColor1El=t;break;case 2:this.recentColor2El=t;break;default:this.recentColor3El=t}},this.recentColors=[],this.clearable=!1,this.compact=!1,this.disabled=!1,this.placement="auto",this.storageId="arcgis-color-input-storage-colors",this.hideRecentColors=!1,this.showTransparency=!1,this.arcgisChange=r(),this.arcgisColorInputChange=r(),this.arcgisColorInputPopoverClose=r(),this.arcgisColorInputPopoverOpen=r(),this.arcgisColorInputSwatchUpdate=r(),this.arcgisInternalStoredColor=r(),this.arcgisPickerClose=r(),this.arcgisPickerOpen=r(),this.arcgisSwatchUpdate=r(),this.listenOn(document,"arcgisInternalStoredColor",this.handleUpdateRecentColors),this.listenOn(document,"arcgisRecentColorsUpdate",this.handleStoreNewRecentColor)}static{this.properties={recentColors:16,clearable:5,color:1,compact:5,disabled:5,messageOverrides:0,placement:1,popoverProps:0,storageId:1,hideRecentColors:5,showTransparency:5}}static{this.styles=R}async close(){await this.inlineInputEl?.close()}async setFocus(){await this.inlineInputEl?.setFocus()}isOpen(){return this.open}load(){this.setRecentColorsFromStorage()}disconnectedCallback(){super.disconnectedCallback(),this.removeTooltip()}async handleOpen(){await this.colorPickerEl?.setFocus(),this.open=!0,this.arcgisPickerOpen.emit(),this.arcgisColorInputPopoverOpen.emit()}setInlineInputRef(e){this.inlineInputEl=e}setColorPickerRef(e){e&&(this.colorPickerEl=e)}getRecentColorElement(e){switch(e){case 1:return this.recentColor1El;case 2:return this.recentColor2El;default:return this.recentColor3El}}setRecentColorsFromStorage(){let e=S(this.storageId,!0);e&&(this.recentColors=[...e])}handleSwatchClickOrKeyUp(e){if("key"in e&&e.key!=="Enter"&&e.key!=="Space")return;let t=e.currentTarget.color||void 0;this.updateColor(t),this.arcgisSwatchUpdate.emit(t),this.arcgisColorInputSwatchUpdate.emit(t),setTimeout(()=>this.recentColor1El?.focus(),200)}handleRecentColorsKeyDown(e){if(this.recentColors.length===1)return;let t=e.key,o;this.activeColorSwatchEl===this.recentColor1El?o=1:this.activeColorSwatchEl===this.recentColor2El?o=2:this.activeColorSwatchEl===this.recentColor3El&&(o=3),t==="ArrowLeft"&&(!o||o===1?this.getRecentColorElement(this.recentColors.length)?.focus():this.getRecentColorElement(o-1)?.focus()),t==="ArrowRight"&&(!o||o===this.recentColors.length?this.recentColor1El?.focus():this.getRecentColorElement(o+1)?.focus())}handleUpdateActiveSwatch(e){this.activeColorSwatchEl=e.target}handleStoreNewRecentColor(e){this.storeRecentColorToStorage(e.detail)}handleUpdateRecentColors(e){e.composedPath().includes(this.el)||this.setRecentColorsFromStorage()}handleClearColor(){this.updateColor(void 0)}updateColor(e,t=!0){e!==this.color&&(this.color=e,this.arcgisChange.emit(),this.arcgisColorInputChange.emit(),t&&this.storeRecentColorToStorage(e))}storeRecentColorToStorage(e){if(!e)return;e.length>7&&(e=e.slice(0,7));let t=[e,...this.recentColors.filter(o=>o!==e)].slice(0,3);y(this.storageId,t),this.recentColors=t,this.arcgisInternalStoredColor.emit()}handleClose(e){e.stopPropagation(),this.storeRecentColorToStorage(this.colorPickerEl?.value),this.open=!1,this.arcgisPickerClose.emit(this.colorPickerEl?.value),this.arcgisColorInputPopoverClose.emit(this.colorPickerEl?.value)}addTooltip(e){this.removeTooltip(),this.tooltipContainerEl=document.createElement("div"),m(i`<calcite-tooltip .placement=${e.placement??"auto"} .referenceElement=${e.referenceElement} overlay-positioning=fixed open>${e.innerHTML}</calcite-tooltip>`,this.tooltipContainerEl),document.body.append(this.tooltipContainerEl)}removeTooltip(){this.tooltipContainerEl?.parentNode&&(this.tooltipContainerEl.remove(),this.tooltipContainerEl=void 0)}render(){let{compact:e,disabled:t,recentColors:o,_messages:s}=this,p=[o[0],o[1]],$=f(this.el)==="rtl";return e||p.push(o[2]),i`<arcgis-picker-input .disabled=${t} .intlDone=${s.commitColor} .heading=${s.selectColor} .label=${s.selectColor} @arcgisPopoverOpen=${this.handleOpen} @arcgisPopoverClose=${this.handleClose} .popoverProps=${this.popoverProps} ${l(this.setInlineInputRef)}><div class="color-picker-container" slot=content>${n(`color-picker${e?"--compact":""}`,i`<calcite-color-picker .clearable=${this.clearable} class="color-picker" @calciteColorPickerInput=${E(c=>{c.stopPropagation(),this.updateColor(this.colorPickerEl.value,!1)},500)} .scale=${e?"s":"m"} .storageId=${this.storageId} .alphaChannel=${this.showTransparency} .value=${this.color} ${l(this.setColorPickerRef)}></calcite-color-picker>`)}</div><div slot=preview><calcite-color-picker-swatch class="preview-swatch" .color=${this.color} scale=s></calcite-color-picker-swatch></div>${!this.hideRecentColors&&i`<div slot=content-end class="recent-colors-container" @keydown=${this.handleRecentColorsKeyDown} tabindex=-1>${p.map((c,d)=>c?n(c,i`<calcite-color-picker-swatch class="preview-recent-swatch" role=button scale=s tabindex=0 .active=${c===this.color} .color=${c} @click=${this.handleSwatchClickOrKeyUp} @keyup=${this.handleSwatchClickOrKeyUp} @focus=${this.handleUpdateActiveSwatch} ${l(this.setRecentColorElement(d+1))}></calcite-color-picker-swatch>`):this.renderEmptySwatch(`empty-swatch-${d}`))}</div>`||""}${this.clearable&&i`<div slot=content-end class="end-action"><calcite-action icon=circle-disallowed scale=s .label=${s.clearColor} .text=${s.clearColor??""} @click=${this.handleClearColor} @mouseover=${()=>this.addTooltip({referenceElement:this.actionEl.value,placement:$?"right-start":"left-start",innerHTML:s.noColor??""})} @mouseout=${()=>this.removeTooltip()} ${l(this.actionEl)}></calcite-action></div>`||""}</arcgis-picker-input>`}renderEmptySwatch(e){return n(e,i`<svg class="empty-swatch" viewBox="0 0 20 20" xmlns=http://www.w3.org/2000/svg width=20>${u`<rect width=20 height=20 fill=#f8f8f8 stroke=#000 stroke-dasharray=2 />`}</svg>`)}};v("arcgis-color-input",h);export{h as ArcgisColorInput};
|
package/dist/cdn/5I5ODGDD.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as o}from"./YG4PY2H3.js";import{B as l,E as m,H as p,g as d,i,q as c}from"./OOBX2C2L.js";var b=d`:host{overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;height:100%;width:100%}`,n=class extends l{constructor(){super(...arguments),this.treeItemsOpen=new Set,this.handleMutations=e=>{e.forEach(t=>{if(t.type==="attributes"&&t.attributeName==="expanded"){let s=t.target;"key"in s.dataset&&s.dataset.key!==void 0&&this.treeItemsOpen.has(s.dataset.key)!==s.expanded&&this.toggleTreeItem(s.dataset.key)}})},this.renderedTree=[],this.data={},this.arcgisChange=c()}static{this.properties={renderedTree:16,data:0,value:1}}static{this.styles=b}load(){this.setupComponent()}willUpdate(e){e.has("data")&&(this.hasUpdated||Object.keys(this.data??{}).length>0)&&this.setupComponent()}loaded(){this.manager.onLifecycle(()=>{this.observer=new MutationObserver(this.handleMutations);let e=this.el.shadowRoot??this.el;return this.observer.observe(e,{attributes:!0,subtree:!0,attributeFilter:["expanded"]}),()=>{this.observer?.disconnect(),this.observer=void 0}})}setupComponent(){this.treeItemsOpen.clear(),this.buildJSXTree()}buildJSXTree(){let e=t=>{let s=[];for(let r of Object.keys(t)){let a=t[r],h;typeof a=="object"&&(h=this.treeItemsOpen.has(r)?e(a):[]);let u=typeof a=="object"?r:a;s.push(this.createTreeItem(r,u,h))}return s};this.renderedTree=e(this.data)}toggleTreeItem(e){this.treeItemsOpen.has(e)?this.treeItemsOpen.delete(e):this.treeItemsOpen.add(e),this.buildJSXTree()}createTreeItem(e,t,s){return i`<calcite-tree-item data-key=${e??m} .selected=${this.value===e} .expanded=${this.treeItemsOpen.has(e)}>${t}${s!==void 0&&o(`${e}-child-tree`,i`<calcite-tree slot=children>${s}</calcite-tree>`)||""}</calcite-tree-item>`}handleTreeSelect(e){let t=e.currentTarget?.selectedItems[0]?.dataset.key;t!==void 0&&(this.value=t,this.arcgisChange.emit())}render(){return o("base-tree",i`<calcite-tree scale=s @calciteTreeSelect=${this.handleTreeSelect}>${this.renderedTree}</calcite-tree>`)}};p("arcgis-coordinate-system-picker-tree",n);export{n as ArcgisCoordinateSystemPickerTree};
|
package/dist/cdn/AGGCAE6P.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as b}from"./ECNI2A4K.js";import{B as m,H as o,g as h,i as d,q as r}from"./OOBX2C2L.js";var v=h`.container{display:flex;align-items:center;justify-content:space-between;position:relative}.slider{width:50%}.input{width:45%}`,p=class extends m{constructor(){super(...arguments),this.debouncedApplyValueOnChange=b(e=>this.applyValueOnChange(e),800),this.disabled=!1,this.flipLabels=!1,this.scale="s",this.min=0,this.max=100,this.value=50,this.step=1,this.withSteppers=!1,this.arcgisSliderInputValueChange=r(),this.arcgisValueChange=r()}static{this.properties={disabled:5,label:1,flipLabels:5,scale:1,min:9,max:9,value:9,step:9,unitsLabel:1,withSteppers:5}}static{this.styles=v}applyValueOnChange(e){let{min:i,max:a,value:n}=this,s=Number(e.value),t=i!==void 0&&a!==void 0?Math.min(a,Math.max(i,s)):s;s!==n&&(e.value=`${t}`,this.arcgisValueChange.emit(t),this.arcgisSliderInputValueChange.emit(t),this.value=t)}render(){let{disabled:e,min:i,max:a,value:n,step:s,withSteppers:t,flipLabels:c,unitsLabel:u,label:g,scale:$}=this;return d`<div class="container"><calcite-slider class="slider" .disabled=${e} .min=${i} .max=${a} .value=${n} .step=${s} @calciteSliderInput=${l=>this.debouncedApplyValueOnChange(l.currentTarget)}></calcite-slider><calcite-input class="input" .disabled=${e} .min=${i} .max=${a} .numberButtonType=${t?"vertical":"none"} .prefixText=${c?u:""} @calciteInputInput=${l=>this.debouncedApplyValueOnChange(l.target)} @click=${l=>l.stopPropagation()} .scale=${$} step=any .suffixText=${c?"":u} type=number .value=${`${n}`} .label=${g}></calcite-input></div>`}};o("arcgis-slider-input",p);export{p as ArcgisSliderInput};
|
package/dist/cdn/D3WBDGDH.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as k}from"./NKMDS2IH.js";import{b as D}from"./SKYXMBD4.js";import"./F45Q3BRT.js";import{B as V,C as _,D as v,E as u,H as L,g as w,i as $,j as d}from"./OOBX2C2L.js";export default $arcgis.t(([{substitute:F}])=>{var N=w`:host{display:block;--arcgis-histogram-bar-color: var(--calcite-color-border-1);--arcgis-histogram-stop-color: color-mix(in srgb, var(--calcite-color-brand) 80%, transparent)}.content{display:block;direction:ltr}.svg{display:block;width:100%;height:100%}.data-line{stroke:#888;stroke-width:1px;shape-rendering:crispEdges}.average-data-line{stroke-width:1px;shape-rendering:crispEdges;stroke:#444}.label,.data-line-symbol{font-size:12px;stroke:#fff;stroke-width:2px;paint-order:stroke;unicode-bidi:plaintext}.data-line-symbol{font-family:"Georgia, serif",sans-serif;font-style:italic}`;function B(t,n,i,e,r){let[s,a]=r;if(!t||a===0||s===0||i==null||n==null)return null;let o=i-n,l=(t.length>1?t[t.length-1].maxValue-t[0].minValue:0)/o,[c,h]=e==="vertical"?[a*l,s]:[a,s*l],p=t?t.map(m=>m.count):[],g=Math.max(...p);return t.map(m=>{let[f,b]=e==="vertical"?[c/t.length,g!==0?m.count/g*h:0]:[g!==0?m.count/g*c:0,h/t.length],{maxValue:C}=m,y=i-C,[S,z]=e==="vertical"?[0,y*(a/o)]:[s-b-y*(s/o),a-f];return[S,z,b,f]})}function O(t,n,i,e,r){let s=[];return t!=null&&s.push({value:t,symbol:"x\u0304",lineClass:"average-data-line"}),n!=null&&i!=null&&e!=null&&s.push(...H(i,e,n,t)),r&&s.push(...r),s}function A(t,n,i,e,r){if(i==null)return[0,0,0,0];let s=Math.round((r-i)/e*100)/100,[a,o]=t;if(n==="vertical"){let c=o-s*o||1;return c=Math.round(c)+.5,[0,"100%",c,c]}let l=s*a||1;return l=Math.round(l)+.5,[l,l,"100%",0]}function P(t,n,i,e,r){if(i==null)return[0,0];let s=Math.round((r-i)/e*100)/100,[a,o]=t;return n==="vertical"?[a,o-s*o]:[0,s*a]}function T(t,n,i){if(!t||t.length===0)return null;if(I(t)){let e=t.map(r=>({...r,color:E(r.color??i)}));return e.unshift({color:n,minValue:Number.NEGATIVE_INFINITY,maxValue:e[0].minValue}),e.push({color:n,minValue:e[e.length-1].maxValue,maxValue:Number.POSITIVE_INFINITY}),e}else return t.map(e=>({...e,color:E(e.color??i)}))}function R(t,n,i,e){if(!t||t.length===0)return i;if(I(t)){let r=G(t,n);if(r.length===0)return i;if(e){let{color:s=i,weight:a}=r[0],{color:o=i,weight:l}=r[1]??r[0],c=a+l;return`color-mix(in srgb, ${s} ${a/c*100}%, ${o} ${l/c*100}%)`}return r[0].color??i}return Y(t,n)}function G(t,n){let i=[];for(let e of t){let r=Math.max(0,Math.min(n.maxValue,e.maxValue)-Math.max(n.minValue,e.minValue));r>0&&i.push({color:e.color,weight:r})}return i.sort((e,r)=>r.weight-e.weight)}function Y(t,n){let i=(n.maxValue-n.minValue)/2+n.minValue;if(i>t[t.length-1].value)return t[t.length-1].color;for(let e=0;e<t.length-1;e++){let r=t[e],s=t[e+1];if(i<=r.value)return r.color;if(i<s.value){let a=(i-r.value)/(s.value-r.value)*100;return`color-mix(in srgb, ${r.color}, ${s.color} ${a}%)`}}return t[t.length-1].color}function I(t){return t[0]!=null&&"minValue"in t[0]}function E(t){if(typeof t=="string")return t;if(Array.isArray(t))return`rgba(${t[0]}, ${t[1]}, ${t[2]}, ${t[3]??1})`;let{r:n,g:i,b:e,a:r=1}=t;return`rgba(${n}, ${i}, ${e}, ${r})`}function H(t,n,i,e){let r=.06*(n-t);return U(i,e).filter(s=>Math.abs(e-s)>r).map((s,a,o)=>{let l=o.length/2,c=s>e?"+":"-",h=a>=l?a-l+1:l-a;return{symbol:`${c}${h===1?"":h}\u03C3`,value:s}})}function U(t,n){if(n==null||t==null)return[];let i=1,e=[];for(let r=i*-1;r<=i;r++)r!==0&&e.push(n+r*t);return e}var M="var(--arcgis-histogram-bar-color)",q="var(--arcgis-histogram-stop-color)",x=class extends V{constructor(){super(...arguments),this._messages=D(),this._normalizedStops=null,this._formatLabel=n=>k(this._messages._lang,this._numberFormatterOptions).format(n),this._numberFormatterOptions={maximumFractionDigits:2},this.containerDimensions=[0,0],this.icon="graph-histogram",this.layout="horizontal",this.colorBlendingEnabled=!1}static{this.properties={containerDimensions:16,colorStops:0,icon:3,average:11,messageOverrides:0,standardDeviation:11,bins:0,dataLines:0,label:1,layout:3,max:11,min:11,colorBlendingEnabled:5}}static{this.styles=N}loaded(){let n=new ResizeObserver(r=>{for(let s of r){let{width:a,height:o}=s.contentRect;this.containerDimensions=[a,o]}}),{width:i,height:e}=this.el.getBoundingClientRect();this.containerDimensions=[i,e],n.observe(this.el)}willUpdate(n){n.has("colorStops")&&(this._normalizedStops=T(this.colorStops,M,q))}render(){let{label:n}=this;return $`<div role=img .ariaLabel=${n??void 0} class="content">${this._renderContent()}</div>`}_renderContent(){let{containerDimensions:[n,i]}=this,e="bg-fill";return n?$`<svg class="svg" xmlns=http://www.w3.org/2000/svg>${d`<defs><clipPath id=${e}><rect height=${i??u} width=${n??u} x=0 y=0 /></clipPath></defs><g style=${v({clipPath:`url(#${e})`})}><g>${this._renderBars()}</g></g><g>${this._renderLines()}</g>`}</svg>`:null}_renderBars(){let{bins:n,_messages:i}=this,e=B(this.bins,this.min,this.max,this.layout,this.containerDimensions);return!e||!n?null:e.map((r,s)=>{let[a,o,l,c]=r,h=n[s],p=i?.barLabel?F(i.barLabel,h):"";return d`<rect style=${v({fill:R(this._normalizedStops,h,M,this.colorBlendingEnabled)})} .ariaLabel=${p} data-index=${s??u} height=${c??u} role=img shape-rendering=crispEdges stroke-width=0 width=${l??u} x=${a??u} y=${o??u} />`})}_renderLines(){return O(this.average,this.standardDeviation,this.min,this.max,this.dataLines)?.map(n=>W({dataLine:n,containerDimensions:this.containerDimensions,layout:this.layout,min:this.min,max:this.max,labelFormatter:this._formatLabel}))}},W=t=>{let{containerDimensions:n,layout:i,min:e,max:r,dataLine:s,labelFormatter:a}=t,o=r!=null&&e!=null?r-e:0,[l,c,h,p]=A(n,i,e,o,s.value),[g,m]=P(n,i,e,o,s.value),f="symbol"in s?[d`<tspan class="data-line-symbol">${s.symbol}</tspan>`,d`<tspan>${a(s.value)}</tspan>`]:s.label,b="lineClass"in s&&s.lineClass?s.lineClass:"data-line";return d`<g><title>${s.value}</title><line class=${_(b)} shape-rendering=crispEdges x1=${l??u} x2=${c??u} y1=${h??u} y2=${p??u} /><text class="label" text-anchor=end transform=${(i==="horizontal"?"rotate(270)":void 0)??u} x=${g??u} y=${m-2}>${f}</text></g>`};L("arcgis-histogram",x);return x},"intl")
|
package/dist/cdn/HWEOBUAY.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{A as t,B as a,D as r,H as c,g as n,i as o,q as i,z as l}from"./OOBX2C2L.js";var d=n`:host{display:flex}:host([disabled]){opacity:.25;pointer-events:none}button{overflow:hidden;background-color:transparent;align-items:center;border:none;border-radius:0;box-sizing:border-box;cursor:pointer;display:flex;font-family:inherit;gap:var(--calcite-space-sm);height:100%;justify-content:center;outline-color:transparent;outline-offset:0;padding:3px 0;padding-inline:3px var(--calcite-space-sm);position:relative;text-decoration:none;user-select:none;text-align:center;-webkit-appearance:none;width:100%;&:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:var(--calcite-border-width-md)}&:hover{text-decoration:none}}.preview{border:var(--calcite-border-width-sm) solid #949494;display:flex;align-items:center;flex-grow:1}.container{display:flex;gap:5px;width:100%}::slotted([slot="preview"]){flex-grow:1;display:flex}calcite-icon{color:var(--calcite-color-text-3)}`,s=class extends a{constructor(){super(),this.panelEl=l(),this.open=!1,this.disabled=!1,this.iconEnd="pencil",this.label="",this.arcgisPopoverOpen=i(),this.arcgisPopoverClose=i(),this.listenOn(document.body,"arcgisPopoverOpen",this.onPopoverOpen)}static{this.properties={open:16,disabled:7,heading:1,iconEnd:1,intlDone:1,label:1,popoverProps:0}}static{this.styles=d}async close(){this.onPopoverClose()}async setFocus(){this.buttonEl?.focus()}setPreviewContainerRef(e){this.previewContainerEl=e}setButtonRef(e){this.buttonEl=e}handlePopoverOpen(e){this.panelEl.value.closed=!1,this.arcgisPopoverOpen.emit(),e.stopPropagation()}handlePopoverKeyUp({key:e}){e==="Escape"&&this.onPopoverClose()}onPopoverOpen(e){this.open&&(e.composedPath().includes(this.el)||(this.open=!1))}onPopoverClose(){this.open=!1,this.arcgisPopoverClose.emit(),setTimeout(()=>this.buttonEl?.focus(),300)}handlePanelClose(e){e.stopPropagation(),this.onPopoverClose()}handleButtonClick(){this.open=!this.open,this.open&&setTimeout(()=>{this.panelEl.value?.setFocus()},300)}render(){let{popoverProps:e}=this;return o`<calcite-popover pointer-disabled trigger-disabled @keyup=${this.handlePopoverKeyUp} .label=${this.label} .offsetDistance=${e?.offsetDistance??0} .offsetSkidding=${e?.offsetSkidding??0} .flipDisabled=${e?.flipDisabled??!1} .open=${this.disabled?!1:this.open} .overlayPositioning=${e?.overlayPositioning??"fixed"} .placement=${e?.placement??"bottom"} @calcitePopoverOpen=${this.handlePopoverOpen} @calcitePopoverClose=${p=>p.stopPropagation()} .referenceElement=${e?.refElement??this.previewContainerEl}><calcite-panel closable .heading=${this.heading} style=${r(e?.maxHeight?{maxHeight:e.maxHeight}:void 0)} @calcitePanelClose=${this.handlePanelClose} ${t(this.panelEl)}><slot name=content></slot><calcite-button appearance=solid slot=footer width=full .label=${this.intlDone} @click=${this.onPopoverClose}>${this.intlDone}</calcite-button></calcite-panel></calcite-popover><div class="container"><div class="preview" ${t(this.setPreviewContainerRef)}><button .disabled=${this.disabled} @click=${this.handleButtonClick} type=button .ariaLabel=${this.label} ${t(this.setButtonRef)}><slot name=preview></slot>${this.iconEnd?o`<calcite-icon .icon=${this.iconEnd} scale=s></calcite-icon>`:null}</button></div><slot name=content-end></slot></div>`}};c("arcgis-picker-input",s);export{s as ArcgisPickerInput};
|
package/dist/cdn/OTXMT4H5.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{c as $,e as D,l as S,m as T}from"./4BJYJUMR.js";import{a as M,b as p,c as E}from"./WJ3TYWP2.js";import{b as A}from"./SKYXMBD4.js";import"./F45Q3BRT.js";import{a as z}from"./YG4PY2H3.js";import{A as x,B as C,H as _,g as R,i as q,m as N,n as F,q as I,z as B}from"./OOBX2C2L.js";export default $arcgis.t(([{formatDate:Z,convertDateFormatToIntlOptions:y,formatDateOnly:te,formatTimeOnly:ie,formatTimestamp:W,formatNumber:se},ne,{clone:L}])=>{function P(i){return new Date(`1970-01-01T${i}Z`).getTime()}function H(i){return new Date(`${i} 00:00:00`).getTime()}function ae(i,e,s){let t;return e==="unknown"?t=Z(i,{...y("short-date-short-time"),timeZone:"utc",timeZoneName:"shortOffset"}):t=Z(i,{...y("short-date-short-time"),timeZone:e}),t}function oe(i){return i?te(i,y("short-date")):""}function le(i){let e;return typeof i=="string"?e=ie(i,y("short-date-long-time")):e=Z(i,{...y("long-time"),timeZone:"utc"}),e}function re(i,e){return typeof i=="string"?e&&"timeZone"in e&&e.timeZone==="unknown"?W(i,{...y("short-date-short-time"),timeZone:"utc",timeZoneName:"shortOffset"}):W(i,{...y("short-date-short-time"),timeZone:e&&"timeZone"in e&&e.timeZone?e.timeZone:"system"}):e&&"timeZone"in e&&e.timeZone==="unknown"?Z(i,{...y("short-date-short-time"),timeZone:"utc",timeZoneName:"shortOffset"}):Z(i,{...y("short-date-short-time"),timeZone:e&&"timeZone"in e&&e.timeZone?e.timeZone:"system"})}function j(i,e,s){if(!$(i)&&!T(i)&&!S(i)&&!D(i))return;let t;return E(i,s).fields.forEach(l=>{let n=l.name,d="domain"in l?l.domain:void 0;if(!D(i)&&i.subtypeField===n){let m;S(i)||$(i)?m=i.subtypes:m=i.parent.subtypes,m.forEach(r=>{T(i)&&i.subtypeCode!==r.code||(e.name===n&&(t=t||[],t.push({code:r.code,name:r.name})),r.domains&&Object.keys(r.domains).forEach(a=>{if(e.name===a){let o=r.domains[a];o?.type==="coded-value"&&o?.codedValues&&o.codedValues.forEach(u=>{let c=!1;t=t||[],t.forEach(g=>{g.code===u.code&&(c=!0,`| ${g.name} |`.includes(`| ${u.name} |`)||(g.name+=` | ${u.name}`))}),c||t.push({code:u.code,name:u.name})})}}))})}if(e.name===n&&($(i)||D(i))){let m=$(i)?i.typeIdField:void 0,r=$(i)?i.types:void 0;$(i)&&m&&r?(m===n?t=r.map(a=>({code:a.id,name:a.name})):(t=t||[],r.forEach(a=>{if(!a.domains?.[n]||a.domains[n].type==="inherited"){let o=d;o?.codedValues&&o.codedValues.forEach(u=>{let c=!1;t.forEach(g=>{g.code===u.code&&(c=!0,`| ${g.name} |`.includes(`| ${u.name} |`)||(g.name+=` | ${u.name}`))}),c||t.push(L(u))})}else a.domains?.[n]?.codedValues&&a.domains[n].codedValues.forEach(o=>{let u=!1;t.forEach(c=>{c.code===o.code&&(u=!0,`| ${c.name} |`.includes(`| ${o.name} |`)||(c.name+=` | ${o.name}`))}),u||t.push(L(o))})})),!t?.length&&d?.codedValues&&(t=L(d.codedValues))):d?.codedValues&&(t=d.codedValues)}}),t}function U(i,e){let s=e;if(s){let t="";for(let l=0;l<s.length;l++){let n=s[l];n.code==i&&(t+=(t.length?" | ":"")+n.name)}return t.length||(t=`${i}`),t}return i}function G(i){return["small-integer","big-integer","integer","single","double","long"].includes(i.type)}function J(i){switch(i.type){case"small-integer":case"big-integer":case"integer":case"single":case"double":case"long":return"number";case"blob":case"geometry":case"global-id":case"guid":case"oid":case"raster":case"xml":return;default:return i.type}}var ue=R`:host{width:100%}.container{min-height:30px}.popover-unique-list{width:100%;overflow-y:auto}.unique-values-content-list-msg{font-size:75%;margin:5px}.count{padding:0 6px;font-size:smaller;white-space:nowrap}`,k=class extends C{constructor(){super(...arguments),this.dropdownNode=B(),this._messages=A({blocking:!0}),this._propWatcherTask=new M(this,{task:async([e,s,t])=>{let l=p(e)&&p(s)||p(t);if(!p(t)&&!p(e)&&!p(s)?N("error",this,F("uniqueValues")):p(t)||(p(e)||N("error",this,F("layer")),p(s)||N("error",this,F("fieldName"))),p(e)&&p(s)){let{visualizationSource:n}=this;if(!E(e,n).fields?.filter(d=>d.name===s))throw N("error",this,"Field could not be found."),new Error}if(!l)throw new Error;await this.processProps()},args:()=>[this.layer,this.fieldName,this.uniqueValues]}),this.initialRender=!0,this.multiple=!1,this.partialUniqueValues=!1,this.showFilterLength=10,this.arcgisChange=I(),this.arcgisSortByChange=I(),this.arcgisLoad=I()}static{this.properties={initialRender:16,view:0,layer:0,visualizationSource:1,fieldName:1,uniqueValues:0,numberFormatOptions:0,selectedValues:0,sortBy:1,multiple:5,partialUniqueValues:5,showFilterLength:9,maxHeight:9}}static{this.styles=ue}async setFocus(){this.listNode?.setFocus()}async getUniqueValues(){let{fieldInfo:e}=this;if(p(e?.uniqueValueInfos)){let{uniqueValueInfos:s,partialUniqueValues:t}=e;return{uniqueValues:s,partialUniqueValues:t}}}loaded(){this.layer&&this.fieldInfo&&(setTimeout(()=>this.initialRender=!1,800),this.listNode?.setFocus())}async processProps(){let{layer:e,fieldName:s,view:t,visualizationSource:l}=this,n=(e?E(e,l):void 0)?.fields?.filter(d=>d.name===s)?.[0];if(p(this.uniqueValues))this.fieldInfo={layerField:n,fieldDomains:e&&n?j(e,n,l):void 0,simpleType:e&&n?J(n):void 0,partialUniqueValues:this.partialUniqueValues??!1,uniqueValueInfos:this.uniqueValues},this.arcgisLoad.emit();else if(e&&n){this.fieldInfo={layerField:n,fieldDomains:j(e,n,l),simpleType:J(n),partialUniqueValues:!1};let{fieldInfo:d}=this;try{let m=await ne({layer:e,view:t,field:s,sqlWhere:"definitionExpression"in e?e.definitionExpression??void 0:void 0,forBinning:!1}),r=G(n),a=m.uniqueValueInfos.filter(o=>p(o.value)?n.type==="string"&&!r||n.type==="guid"?o.value!=="<Null>"&&`${o.value}`.trim()!=="":(G(n)||n.type,o.value!=="<Null>"&&o.value!==""):!1);a.sort((o,u)=>o.count>u.count?-1:o.count<u.count?1:0),d.fieldDomains?.length&&d.fieldDomains.forEach(o=>{a.find(u=>u.value===o.code)||a.push({value:o.code,count:0})}),d.uniqueValueInfos=a,d.partialUniqueValues=m.uniqueValueInfos.length===2e3,this.arcgisLoad.emit()}catch(m){if(N("error",this,`uniqueValues() - ${m.message}`),this.hasFieldDomains(d)){let r=[];d.fieldDomains.forEach(a=>{r.find(o=>o.value===a.code)||r.push({value:a.code,count:void 0})})}}setTimeout(()=>{this.initialRender=!1,this.listNode?.setFocus()},800)}}setListRef(e){let{maxHeight:s}=this;this.listNode=e,s&&e?.setAttribute("style",`max-height: ${s||400}px`)}onSortMenuSelect(e){let s=e.currentTarget.selectedItems?.[0].getAttribute("data-value");this.sortBy=s||void 0,this.arcgisSortByChange.emit(s||void 0)}isSameLists(e,s){if(!e&&!s)return!0;if(!e||!s||e?.length!==s?.length)return!1;for(let t=0;t<e.length;t++)if(e[t]!==s[t])return!1;return!0}hasFieldDomains(e){return!!e.fieldDomains?.length}render(){return this._propWatcherTask.render({complete:()=>{let{fieldInfo:e,selectedValues:s,sortBy:t,multiple:l,initialRender:n,showFilterLength:d,_messages:m}=this,{fieldDomains:r,uniqueValueInfos:a,partialUniqueValues:o,layerField:u}=e,c=u?.type;if(!a?.length)return"";let g=c?["small-integer","big-integer","integer","single","double","long","oid"].includes(c):!1,K=c?["date","date-only","time-only"].includes(c):!1,Q=v=>{v.sort((h,f)=>h.count<=f.count?1:-1)},X=v=>{let h=r?.length;v.sort((f,V)=>{if(!h&&g)return(typeof f.value=="string"?Number.parseFloat(f.value):f.value)-(typeof V.value=="string"?Number.parseFloat(V.value):V.value);{let w=h?U(f.value,r):f.label??f.value,b=h?U(V.value,r):V.label??V.value;return`${w}`.startsWith("_")?1:`${b}`.startsWith("_")?-1:`${w}`.localeCompare(`${b}`)}})},Y=(v,h)=>{v.sort((f,V)=>{let w=h?.indexOf(f.value)??-1,b=h?.indexOf(V.value)??-1;return w===b||w>-1&&b>-1?0:w>b?-1:1})};X(a),!t||t==="count"?Q(a):t==="selected"&&Y(a,s);let ee=a.map(v=>this.renderUniqueValue(v)),O;return o&&!n&&(O=q`<div class="unique-values-content-list-msg">${m.errors.tooManyUniqueValues}</div>`),q`<div class="container"><calcite-list .label=${m.values} class="popover-unique-list" .filterEnabled=${a.length>=d} .selectionMode=${l?"multiple":"single"} .filterPlaceholder=${m.searchValues} @calciteListChange=${v=>{let h=v.target.selectedItems.map(f=>f.value);!r&&c==="date-only"?h=h?.map(f=>H(f)):!r&&c==="time-only"?h=h?.map(f=>P(f)):c&&["date","oid","small-integer","big-integer","integer","long"].includes(c)?h=h?.map(f=>Number.parseInt(f)):c&&["single","double"].includes(c)&&(h=h?.map(f=>Number.parseFloat(f))),!this.isSameLists(h,this.selectedValues)&&(this.selectedValues=h,this.arcgisChange.emit(h))}} @calciteListFilter=${()=>{this.dropdownNode.value&&(this.dropdownNode.value.disabled=this.listNode.filteredItems.length<4)}} ${x(this.setListRef)}>${a.length>=d&&!n?this.renderSort(g,K):null}${ee}</calcite-list>${O}</div>`},error:()=>""})}renderSort(e,s){let{sortBy:t,_messages:l}=this;return q`<calcite-dropdown slot=filter-actions-end placement=bottom-end overlay-positioning=fixed @calciteDropdownSelect=${this.onSortMenuSelect} ${x(this.dropdownNode)}><calcite-action slot=trigger .label=${l.sortValues} text><calcite-icon scale=s icon=sortDescending flip-rtl></calcite-icon></calcite-action><calcite-dropdown-group><calcite-dropdown-item .selected=${t==="count"||!p(t)} data-value=count>${l.sortByCount}</calcite-dropdown-item><calcite-dropdown-item .selected=${t==="name"} data-value=name>${e||s?l.sortAscending:l.sortAlphabetical}</calcite-dropdown-item><calcite-dropdown-item .selected=${t==="selected"} data-value=selected>${l.sortSelected}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}renderUniqueValue(e){let{selectedValues:s,initialRender:t,view:l,fieldInfo:n,numberFormatOptions:d}=this,{fieldDomains:m,uniqueValueInfos:r,simpleType:a}=n,o=l&&"timeZone"in l&&l.timeZone||"system",u=m?.length?U(e.value,m):a==="date"?ae(e.value,o):a==="date-only"?oe(e.value):a==="time-only"?le(e.value):a==="timestamp-offset"?re(e.value,l):typeof e.value=="number"?se(e.value,d):e.label??e.value,c=s?a==="date-only"?s.includes(m?.length?e.value:H(e.value)):a==="time-only"?s.includes(m?.length?e.value:P(e.value)):s.includes(e.value):!1;return z(`list-item_${e.value}`,q`<calcite-list-item .label=${`${u}`} .value=${`${e.value}`} .selected=${c}>${p(e.count)&&(r.length>200&&!t||r.length<=200)?q`<div class="count" slot=actions-end>${`${e.count}`}</div>`:null}</calcite-list-item>`)}};_("arcgis-unique-values-list",k);return k},"intl","smartMapping/statistics/uniqueValues","core/lang")
|