@arcgis/common-components 6.0.0-next.33 → 6.0.0-next.34
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/2K4XK5CC.js +2 -0
- package/dist/cdn/32JRESCI.js +2 -0
- package/dist/cdn/{7WN227WZ.js → 4L362IQJ.js} +24 -24
- package/dist/cdn/5TNOGXJJ.js +2 -0
- package/dist/cdn/D4JWM5PW.js +2 -0
- package/dist/cdn/E5VIZW6M.js +2 -0
- package/dist/cdn/{W7CWMG2O.js → HWVDNUPX.js} +1 -1
- package/dist/cdn/RYVWIAKZ.js +2 -0
- package/dist/cdn/UFSM3GRY.js +2 -0
- package/dist/cdn/WIOMW22N.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/intrinsic-sizing.js +18 -0
- package/dist/components/arcgis-ckeditor5/customElement.d.ts +0 -9
- package/dist/components/arcgis-ckeditor5/customElement.js +1207 -1207
- package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +0 -6
- package/dist/components/arcgis-ckeditor5-popover/customElement.js +14 -17
- package/dist/components/arcgis-color-input/customElement.d.ts +0 -20
- package/dist/components/arcgis-color-input/customElement.js +18 -18
- package/dist/components/arcgis-field-info/customElement.d.ts +0 -3
- package/dist/components/arcgis-field-info/customElement.js +41 -41
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +0 -28
- package/dist/components/arcgis-field-pick-list/customElement.js +114 -127
- package/dist/components/arcgis-slider-input/customElement.d.ts +0 -3
- package/dist/components/arcgis-slider-input/customElement.js +13 -13
- package/dist/components/arcgis-toolbar/customElement.d.ts +20 -0
- package/dist/components/arcgis-toolbar/customElement.js +40 -37
- package/dist/components/arcgis-toolbar-stack/customElement.d.ts +9 -2
- package/dist/components/arcgis-toolbar-stack/customElement.js +49 -51
- 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 +0 -20
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +4 -30
- package/dist/types/preact.d.ts +4 -30
- package/dist/types/react.d.ts +4 -30
- package/dist/types/stencil.d.ts +4 -30
- package/dist/utils/types.d.ts +0 -12
- package/package.json +7 -7
- package/dist/cdn/2S4SSY4K.js +0 -2
- package/dist/cdn/3UAY23XT.js +0 -2
- package/dist/cdn/BMR5AH6W.js +0 -2
- package/dist/cdn/GZVXOCN5.js +0 -2
- package/dist/cdn/KEQPWVA6.js +0 -2
- package/dist/cdn/OUPGMHLD.js +0 -2
- package/dist/cdn/U6OGOB7D.js +0 -2
- package/dist/cdn/VNC7X43V.js +0 -2
- package/dist/chunks/toolbar.js +0 -9
- /package/dist/cdn/{DAAON2UO.js → UOXUUCE7.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
import type { PopoverProps as PopoverPropsAlias, PickListFieldInfo as PickListFieldInfoAlias, PickListGroupInfo as PickListGroupInfoAlias } from "./utils/types.js";
|
|
2
|
-
|
|
3
1
|
export { LayoutPriorities } from "./components/arcgis-toolbar/types.js";
|
|
4
2
|
export { sharedCache, SharedCacheStore } from "./utils/sharedCacheDirective.js";
|
|
5
3
|
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated import { PopoverProps } from "@arcgis/common-components/utils/types" instead
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
-
export type PopoverProps = PopoverPropsAlias;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated import { PickListFieldInfo } from "@arcgis/common-components/utils/types" instead
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
export type PickListFieldInfo = PickListFieldInfoAlias;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated import { PickListGroupInfo } from "@arcgis/common-components/utils/types" instead
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
|
-
export type PickListGroupInfo = PickListGroupInfoAlias;
|
|
23
|
-
|
|
24
4
|
/**
|
|
25
5
|
* Get a resolved path from where an asset can be loaded.
|
|
26
6
|
*
|
package/dist/loader.js
CHANGED
|
@@ -4,11 +4,11 @@ import { makeDefineCustomElements as a } from "@arcgis/lumina";
|
|
|
4
4
|
const l = 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
|
-
"arcgis-color-input": [() => import("./components/arcgis-color-input/customElement.js"), "_messages:,clearable,color,compact,disabled,hideRecentColors,messageOverrides:,
|
|
7
|
+
"arcgis-color-input": [() => import("./components/arcgis-color-input/customElement.js"), "_messages:,clearable,color,compact,disabled,hideRecentColors,messageOverrides:,popoverProps:,showTransparency,storageId;close,setFocus;isOpen"],
|
|
8
8
|
"arcgis-coordinate-system-picker": [() => import("./components/arcgis-coordinate-system-picker/customElement.js"), "_messages:,autoFilterToDefault,defaultWkid,filterEnabled,hideCategories:,value:;getSRDescription"],
|
|
9
9
|
"arcgis-coordinate-system-picker-tree": [() => import("./components/arcgis-coordinate-system-picker-tree/customElement.js"), "data:,value"],
|
|
10
10
|
"arcgis-field-info": [() => import("./components/arcgis-field-info/customElement.js"), "_messages:,fieldName,hideAlias,hideNumericFormat,hideStatistics,layer:,view:;refresh"],
|
|
11
|
-
"arcgis-field-pick-list": [() => import("./components/arcgis-field-pick-list/customElement.js"), "_messages:,customExpressionCheck:,expressionsGroupHeading,fields:,fieldsGroupHeading,filterNoResultsText,filterPlaceholderText,
|
|
11
|
+
"arcgis-field-pick-list": [() => import("./components/arcgis-field-pick-list/customElement.js"), "_messages:,customExpressionCheck:,expressionsGroupHeading,fields:,fieldsGroupHeading,filterNoResultsText,filterPlaceholderText,heading,hideCancel,hideSort,layer:,listOnly,multiple,okBtnText,popoverProps:,selectedFields:,showDescription,showFieldInfo,showFieldName,showFieldTypeIcon,showFilterLength,showSelectionAll,sortBy,view:;reposition,setDisabled,setFocus"],
|
|
12
12
|
"arcgis-histogram": [() => import("./components/arcgis-histogram/customElement.js"), "_messages:,average,bins:,colorBlendingEnabled,colorStops:,dataLines:,icon,label,labelFormatter:,layout,max,messageOverrides:,min,mirrored,standardDeviation,standardDeviationCount"],
|
|
13
13
|
"arcgis-html-content": [() => import("./components/arcgis-html-content/customElement.js"), "content,sanitizerOptions:"],
|
|
14
14
|
"arcgis-label-input": [() => import("./components/arcgis-label-input/customElement.js"), "alignment,editing,labelFormatter:,readOnly,value;edit;getLabelBoundingClientRect"],
|
|
@@ -22,13 +22,13 @@ const l = a(e, {
|
|
|
22
22
|
"arcgis-slider-histogram-range": [() => import("./components/arcgis-slider-histogram-range/customElement.js"), "activeValue:,average,bins:,dataLines:,excludedBarColor:,fieldType,fillPlacement,includedBarColor:,label,labelFormatter:,layout,max,min,rangeLabelsEditingEnabled,rangeLabelsPlacement,showRangeLabels,standardDeviation,standardDeviationCount,value,valueLabelsDisplay,valueLabelsEditingEnabled,values;destroy,generateWhereClause,updateFromHistogramResult"],
|
|
23
23
|
"arcgis-slider-input": [() => import("./components/arcgis-slider-input/customElement.js"), "disabled,flipLabels,label,max,min,scale,step,unitsLabel,value,withSteppers"],
|
|
24
24
|
"arcgis-ticks": [() => import("./components/arcgis-ticks/customElement.js"), "_messages:,autoDestroyDisabled,interactive,interpolationExponent,labelFormatter:,labelPlacement,layout,max,min,mirrored,mode,showBaseline,showLabels,values;destroy"],
|
|
25
|
-
"arcgis-toolbar": [() => import("./components/arcgis-toolbar/customElement.js"), "barElement:,layout,relativePosition,scale,toolbarKind,tooltipAppearance;;allocate,measure,proxiedRender"],
|
|
25
|
+
"arcgis-toolbar": [() => import("./components/arcgis-toolbar/customElement.js"), "allocatedLength,barElement:,layout,relativePosition,scale,toolbarKind,tooltipAppearance;;allocate,measure,measureIntrinsicSize,proxiedRender"],
|
|
26
26
|
"arcgis-toolbar-action": [() => import("./components/arcgis-toolbar-action/customElement.js"), "actionElement:,active,appearance,disabled,icon,iconFlipRtl,indicator,kind,labelText,loading,textEnabled,tooltipText;;measure,proxiedRender"],
|
|
27
27
|
"arcgis-toolbar-group": [() => import("./components/arcgis-toolbar-group/customElement.js"), "preferEndSlot,priority;;measure,proxiedRender"],
|
|
28
28
|
"arcgis-toolbar-item": [() => import("./components/arcgis-toolbar-item/customElement.js"), "actionElement:,active,disabled,icon,iconFlipRtl,labelText,lastActivated:,loading,tooltipText;;measure,proxiedRender"],
|
|
29
29
|
"arcgis-toolbar-more-button": [() => import("./components/arcgis-toolbar-more-button/customElement.js"), "menuAppearance,overflowActionLabel,priority;;measure,proxiedRender"],
|
|
30
30
|
"arcgis-toolbar-split-button": [() => import("./components/arcgis-toolbar-split-button/customElement.js"), "menuAppearance,overflowActionLabel,priority;;measure,proxiedRender"],
|
|
31
|
-
"arcgis-toolbar-stack": [() => import("./components/arcgis-toolbar-stack/customElement.js"), "layout,relativePosition,scale,toolbarKind,tooltipAppearance"],
|
|
31
|
+
"arcgis-toolbar-stack": [() => import("./components/arcgis-toolbar-stack/customElement.js"), "allocatedLength,layout,relativePosition,scale,toolbarKind,tooltipAppearance"],
|
|
32
32
|
"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"],
|
|
33
33
|
"arcgis-value-picker": [() => import("./components/arcgis-value-picker/customElement.js"), "autoDestroyDisabled,disabled,floating,hideNextButton,hidePlayButton,hidePreviousButton,icon,label,layout,loop,messages:,playRate,state:;destroy;next,pause,play,previous"],
|
|
34
34
|
"arcgis-value-picker-collection": [() => import("./components/arcgis-value-picker-collection/customElement.js"), "autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,items:;destroy;reset,step"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -35,33 +35,17 @@ import type { ArcgisValuePickerSlider } from "../components/arcgis-value-picker-
|
|
|
35
35
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
36
36
|
|
|
37
37
|
interface LuminaArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5, "canResizeVertically" | "currentLanguage" | "customConfig" | "customExpressionCheck" | "editorType" | "groupFieldsAndExpressions" | "intlExpressionsGroupHeading" | "intlFieldsGroupHeading" | "intlTextPlaceHolder" | "mentionFields" | "readOnly" | "textData">>, h.JSX.HTMLAttributes<ArcgisCkeditor5> {
|
|
38
|
-
/** @deprecated use arcgisCreated instead */
|
|
39
|
-
onarcgisCkeditor5Created?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5Created"]>;
|
|
40
|
-
/** @deprecated use arcgisDataUpdated instead */
|
|
41
|
-
onarcgisCkeditor5DataUpdated?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5DataUpdated"]>;
|
|
42
|
-
/** @deprecated use arcgisSourceEditingChanged instead */
|
|
43
|
-
onarcgisCkeditor5SourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5SourceEditingChanged"]>;
|
|
44
38
|
onarcgisCreated?: EventHandler<ArcgisCkeditor5["arcgisCreated"]>;
|
|
45
39
|
onarcgisDataUpdated?: EventHandler<ArcgisCkeditor5["arcgisDataUpdated"]>;
|
|
46
40
|
onarcgisSourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisSourceEditingChanged"]>;
|
|
47
41
|
}
|
|
48
42
|
|
|
49
43
|
interface LuminaArcgisCkeditor5Popover extends Partial<Pick<ArcgisCkeditor5Popover, "guid" | "intlCancel" | "intlLabel" | "intlOk" | "refElement">>, h.JSX.HTMLAttributes<ArcgisCkeditor5Popover> {
|
|
50
|
-
/** @deprecated use arcgisPopoverClosed instead */
|
|
51
|
-
onarcgisCkeditor5PopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisCkeditor5PopoverClosed"]>;
|
|
52
44
|
onarcgisPopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisPopoverClosed"]>;
|
|
53
45
|
}
|
|
54
46
|
|
|
55
|
-
interface LuminaArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "
|
|
47
|
+
interface LuminaArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "popoverProps" | "showTransparency" | "storageId">>, h.JSX.HTMLAttributes<ArcgisColorInput> {
|
|
56
48
|
onarcgisChange?: EventHandler<ArcgisColorInput["arcgisChange"]>;
|
|
57
|
-
/** @deprecated use arcgisChange instead */
|
|
58
|
-
onarcgisColorInputChange?: EventHandler<ArcgisColorInput["arcgisColorInputChange"]>;
|
|
59
|
-
/** @deprecated use arcgisPickerClose instead */
|
|
60
|
-
onarcgisColorInputPopoverClose?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverClose"]>;
|
|
61
|
-
/** @deprecated use arcgisPickerOpen instead */
|
|
62
|
-
onarcgisColorInputPopoverOpen?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverOpen"]>;
|
|
63
|
-
/** @deprecated use arcgisSwatchUpdate instead */
|
|
64
|
-
onarcgisColorInputSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisColorInputSwatchUpdate"]>;
|
|
65
49
|
onarcgisPickerClose?: EventHandler<ArcgisColorInput["arcgisPickerClose"]>;
|
|
66
50
|
onarcgisPickerOpen?: EventHandler<ArcgisColorInput["arcgisPickerOpen"]>;
|
|
67
51
|
onarcgisSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisSwatchUpdate"]>;
|
|
@@ -77,21 +61,13 @@ interface LuminaArcgisCoordinateSystemPickerTree extends Partial<Pick<ArcgisCoor
|
|
|
77
61
|
|
|
78
62
|
interface LuminaArcgisFieldInfo extends Partial<Pick<ArcgisFieldInfo, "fieldName" | "hideAlias" | "hideNumericFormat" | "hideStatistics" | "layer" | "view">>, h.JSX.HTMLAttributes<ArcgisFieldInfo> {
|
|
79
63
|
onarcgisComplete?: EventHandler<ArcgisFieldInfo["arcgisComplete"]>;
|
|
80
|
-
/** @deprecated use arcgisComplete instead. Removal target v6.0.0. */
|
|
81
|
-
onarcgisFieldInfoComplete?: EventHandler<ArcgisFieldInfo["arcgisFieldInfoComplete"]>;
|
|
82
64
|
}
|
|
83
65
|
|
|
84
|
-
interface LuminaArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "customExpressionCheck" | "expressionsGroupHeading" | "fields" | "fieldsGroupHeading" | "filterNoResultsText" | "filterPlaceholderText" | "
|
|
66
|
+
interface LuminaArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "customExpressionCheck" | "expressionsGroupHeading" | "fields" | "fieldsGroupHeading" | "filterNoResultsText" | "filterPlaceholderText" | "heading" | "hideCancel" | "hideSort" | "layer" | "listOnly" | "multiple" | "okBtnText" | "popoverProps" | "selectedFields" | "showDescription" | "showFieldInfo" | "showFieldName" | "showFieldTypeIcon" | "showFilterLength" | "showSelectionAll" | "sortBy" | "view">>, h.JSX.HTMLAttributes<ArcgisFieldPickList> {
|
|
85
67
|
onarcgisChange?: EventHandler<ArcgisFieldPickList["arcgisChange"]>;
|
|
86
68
|
onarcgisClose?: EventHandler<ArcgisFieldPickList["arcgisClose"]>;
|
|
87
69
|
onarcgisDeleteField?: EventHandler<ArcgisFieldPickList["arcgisDeleteField"]>;
|
|
88
70
|
onarcgisEditField?: EventHandler<ArcgisFieldPickList["arcgisEditField"]>;
|
|
89
|
-
/** @deprecated use arcgisChange instead. Removal target v6.0.0. */
|
|
90
|
-
onarcgisFieldPickListChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListChange"]>;
|
|
91
|
-
/** @deprecated use arcgisClose instead. Removal target v6.0.0. */
|
|
92
|
-
onarcgisFieldPickListDismissed?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListDismissed"]>;
|
|
93
|
-
/** @deprecated use arcgisSortByChange instead. Removal target v6.0.0. */
|
|
94
|
-
onarcgisFieldPickListSortByChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListSortByChange"]>;
|
|
95
71
|
onarcgisSortByChange?: EventHandler<ArcgisFieldPickList["arcgisSortByChange"]>;
|
|
96
72
|
}
|
|
97
73
|
|
|
@@ -145,8 +121,6 @@ interface LuminaArcgisSliderHistogramRange extends Partial<Pick<ArcgisSliderHist
|
|
|
145
121
|
}
|
|
146
122
|
|
|
147
123
|
interface LuminaArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disabled" | "flipLabels" | "label" | "max" | "min" | "scale" | "step" | "unitsLabel" | "value" | "withSteppers">>, h.JSX.HTMLAttributes<ArcgisSliderInput> {
|
|
148
|
-
/** @deprecated use arcgisValueChange instead. */
|
|
149
|
-
onarcgisSliderInputValueChange?: EventHandler<ArcgisSliderInput["arcgisSliderInputValueChange"]>;
|
|
150
124
|
onarcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
|
|
151
125
|
}
|
|
152
126
|
|
|
@@ -154,7 +128,7 @@ interface LuminaArcgisTicks extends Partial<Pick<ArcgisTicks, "autoDestroyDisabl
|
|
|
154
128
|
onarcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
|
|
155
129
|
}
|
|
156
130
|
|
|
157
|
-
interface LuminaArcgisToolbar extends Partial<Pick<ArcgisToolbar, "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, h.JSX.HTMLAttributes<ArcgisToolbar> {
|
|
131
|
+
interface LuminaArcgisToolbar extends Partial<Pick<ArcgisToolbar, "allocatedLength" | "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, h.JSX.HTMLAttributes<ArcgisToolbar> {
|
|
158
132
|
}
|
|
159
133
|
|
|
160
134
|
interface LuminaArcgisToolbarAction extends Partial<Pick<ArcgisToolbarAction, "active" | "appearance" | "disabled" | "icon" | "iconFlipRtl" | "indicator" | "kind" | "labelText" | "loading" | "textEnabled" | "tooltipText">>, h.JSX.HTMLAttributes<ArcgisToolbarAction> {
|
|
@@ -175,7 +149,7 @@ interface LuminaArcgisToolbarMoreButton extends Partial<Pick<ArcgisToolbarMoreBu
|
|
|
175
149
|
interface LuminaArcgisToolbarSplitButton extends Partial<Pick<ArcgisToolbarSplitButton, "menuAppearance" | "overflowActionLabel" | "priority">>, h.JSX.HTMLAttributes<ArcgisToolbarSplitButton> {
|
|
176
150
|
}
|
|
177
151
|
|
|
178
|
-
interface LuminaArcgisToolbarStack extends Partial<Pick<ArcgisToolbarStack, "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, h.JSX.HTMLAttributes<ArcgisToolbarStack> {
|
|
152
|
+
interface LuminaArcgisToolbarStack extends Partial<Pick<ArcgisToolbarStack, "allocatedLength" | "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, h.JSX.HTMLAttributes<ArcgisToolbarStack> {
|
|
179
153
|
}
|
|
180
154
|
|
|
181
155
|
interface LuminaArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesList, "fieldName" | "layer" | "maxHeight" | "multiple" | "numberFormatOptions" | "partialUniqueValues" | "selectedValues" | "showFilterLength" | "sortBy" | "uniqueValues" | "view" | "visualizationSource">>, h.JSX.HTMLAttributes<ArcgisUniqueValuesList> {
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -36,33 +36,17 @@ import { HTMLAttributes } from "preact";
|
|
|
36
36
|
import type { EventHandler } from "@arcgis/lumina";
|
|
37
37
|
|
|
38
38
|
interface PreactArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5, "canResizeVertically" | "currentLanguage" | "customConfig" | "customExpressionCheck" | "editorType" | "groupFieldsAndExpressions" | "intlExpressionsGroupHeading" | "intlFieldsGroupHeading" | "intlTextPlaceHolder" | "mentionFields" | "readOnly" | "textData">>, HTMLAttributes<ArcgisCkeditor5> {
|
|
39
|
-
/** @deprecated use arcgisCreated instead */
|
|
40
|
-
onarcgisCkeditor5Created?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5Created"]>;
|
|
41
|
-
/** @deprecated use arcgisDataUpdated instead */
|
|
42
|
-
onarcgisCkeditor5DataUpdated?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5DataUpdated"]>;
|
|
43
|
-
/** @deprecated use arcgisSourceEditingChanged instead */
|
|
44
|
-
onarcgisCkeditor5SourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5SourceEditingChanged"]>;
|
|
45
39
|
onarcgisCreated?: EventHandler<ArcgisCkeditor5["arcgisCreated"]>;
|
|
46
40
|
onarcgisDataUpdated?: EventHandler<ArcgisCkeditor5["arcgisDataUpdated"]>;
|
|
47
41
|
onarcgisSourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisSourceEditingChanged"]>;
|
|
48
42
|
}
|
|
49
43
|
|
|
50
44
|
interface PreactArcgisCkeditor5Popover extends Partial<Pick<ArcgisCkeditor5Popover, "guid" | "intlCancel" | "intlLabel" | "intlOk" | "refElement">>, HTMLAttributes<ArcgisCkeditor5Popover> {
|
|
51
|
-
/** @deprecated use arcgisPopoverClosed instead */
|
|
52
|
-
onarcgisCkeditor5PopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisCkeditor5PopoverClosed"]>;
|
|
53
45
|
onarcgisPopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisPopoverClosed"]>;
|
|
54
46
|
}
|
|
55
47
|
|
|
56
|
-
interface PreactArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "
|
|
48
|
+
interface PreactArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "popoverProps" | "showTransparency" | "storageId">>, HTMLAttributes<ArcgisColorInput> {
|
|
57
49
|
onarcgisChange?: EventHandler<ArcgisColorInput["arcgisChange"]>;
|
|
58
|
-
/** @deprecated use arcgisChange instead */
|
|
59
|
-
onarcgisColorInputChange?: EventHandler<ArcgisColorInput["arcgisColorInputChange"]>;
|
|
60
|
-
/** @deprecated use arcgisPickerClose instead */
|
|
61
|
-
onarcgisColorInputPopoverClose?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverClose"]>;
|
|
62
|
-
/** @deprecated use arcgisPickerOpen instead */
|
|
63
|
-
onarcgisColorInputPopoverOpen?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverOpen"]>;
|
|
64
|
-
/** @deprecated use arcgisSwatchUpdate instead */
|
|
65
|
-
onarcgisColorInputSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisColorInputSwatchUpdate"]>;
|
|
66
50
|
onarcgisPickerClose?: EventHandler<ArcgisColorInput["arcgisPickerClose"]>;
|
|
67
51
|
onarcgisPickerOpen?: EventHandler<ArcgisColorInput["arcgisPickerOpen"]>;
|
|
68
52
|
onarcgisSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisSwatchUpdate"]>;
|
|
@@ -78,21 +62,13 @@ interface PreactArcgisCoordinateSystemPickerTree extends Partial<Pick<ArcgisCoor
|
|
|
78
62
|
|
|
79
63
|
interface PreactArcgisFieldInfo extends Partial<Pick<ArcgisFieldInfo, "fieldName" | "hideAlias" | "hideNumericFormat" | "hideStatistics" | "layer" | "view">>, HTMLAttributes<ArcgisFieldInfo> {
|
|
80
64
|
onarcgisComplete?: EventHandler<ArcgisFieldInfo["arcgisComplete"]>;
|
|
81
|
-
/** @deprecated use arcgisComplete instead. Removal target v6.0.0. */
|
|
82
|
-
onarcgisFieldInfoComplete?: EventHandler<ArcgisFieldInfo["arcgisFieldInfoComplete"]>;
|
|
83
65
|
}
|
|
84
66
|
|
|
85
|
-
interface PreactArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "customExpressionCheck" | "expressionsGroupHeading" | "fields" | "fieldsGroupHeading" | "filterNoResultsText" | "filterPlaceholderText" | "
|
|
67
|
+
interface PreactArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "customExpressionCheck" | "expressionsGroupHeading" | "fields" | "fieldsGroupHeading" | "filterNoResultsText" | "filterPlaceholderText" | "heading" | "hideCancel" | "hideSort" | "layer" | "listOnly" | "multiple" | "okBtnText" | "popoverProps" | "selectedFields" | "showDescription" | "showFieldInfo" | "showFieldName" | "showFieldTypeIcon" | "showFilterLength" | "showSelectionAll" | "sortBy" | "view">>, HTMLAttributes<ArcgisFieldPickList> {
|
|
86
68
|
onarcgisChange?: EventHandler<ArcgisFieldPickList["arcgisChange"]>;
|
|
87
69
|
onarcgisClose?: EventHandler<ArcgisFieldPickList["arcgisClose"]>;
|
|
88
70
|
onarcgisDeleteField?: EventHandler<ArcgisFieldPickList["arcgisDeleteField"]>;
|
|
89
71
|
onarcgisEditField?: EventHandler<ArcgisFieldPickList["arcgisEditField"]>;
|
|
90
|
-
/** @deprecated use arcgisChange instead. Removal target v6.0.0. */
|
|
91
|
-
onarcgisFieldPickListChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListChange"]>;
|
|
92
|
-
/** @deprecated use arcgisClose instead. Removal target v6.0.0. */
|
|
93
|
-
onarcgisFieldPickListDismissed?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListDismissed"]>;
|
|
94
|
-
/** @deprecated use arcgisSortByChange instead. Removal target v6.0.0. */
|
|
95
|
-
onarcgisFieldPickListSortByChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListSortByChange"]>;
|
|
96
72
|
onarcgisSortByChange?: EventHandler<ArcgisFieldPickList["arcgisSortByChange"]>;
|
|
97
73
|
}
|
|
98
74
|
|
|
@@ -146,8 +122,6 @@ interface PreactArcgisSliderHistogramRange extends Partial<Pick<ArcgisSliderHist
|
|
|
146
122
|
}
|
|
147
123
|
|
|
148
124
|
interface PreactArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disabled" | "flipLabels" | "label" | "max" | "min" | "scale" | "step" | "unitsLabel" | "value" | "withSteppers">>, HTMLAttributes<ArcgisSliderInput> {
|
|
149
|
-
/** @deprecated use arcgisValueChange instead. */
|
|
150
|
-
onarcgisSliderInputValueChange?: EventHandler<ArcgisSliderInput["arcgisSliderInputValueChange"]>;
|
|
151
125
|
onarcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
|
|
152
126
|
}
|
|
153
127
|
|
|
@@ -155,7 +129,7 @@ interface PreactArcgisTicks extends Partial<Pick<ArcgisTicks, "autoDestroyDisabl
|
|
|
155
129
|
onarcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
|
|
156
130
|
}
|
|
157
131
|
|
|
158
|
-
interface PreactArcgisToolbar extends Partial<Pick<ArcgisToolbar, "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, HTMLAttributes<ArcgisToolbar> {
|
|
132
|
+
interface PreactArcgisToolbar extends Partial<Pick<ArcgisToolbar, "allocatedLength" | "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, HTMLAttributes<ArcgisToolbar> {
|
|
159
133
|
}
|
|
160
134
|
|
|
161
135
|
interface PreactArcgisToolbarAction extends Partial<Pick<ArcgisToolbarAction, "active" | "appearance" | "disabled" | "icon" | "iconFlipRtl" | "indicator" | "kind" | "labelText" | "loading" | "textEnabled" | "tooltipText">>, HTMLAttributes<ArcgisToolbarAction> {
|
|
@@ -176,7 +150,7 @@ interface PreactArcgisToolbarMoreButton extends Partial<Pick<ArcgisToolbarMoreBu
|
|
|
176
150
|
interface PreactArcgisToolbarSplitButton extends Partial<Pick<ArcgisToolbarSplitButton, "menuAppearance" | "overflowActionLabel" | "priority">>, HTMLAttributes<ArcgisToolbarSplitButton> {
|
|
177
151
|
}
|
|
178
152
|
|
|
179
|
-
interface PreactArcgisToolbarStack extends Partial<Pick<ArcgisToolbarStack, "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, HTMLAttributes<ArcgisToolbarStack> {
|
|
153
|
+
interface PreactArcgisToolbarStack extends Partial<Pick<ArcgisToolbarStack, "allocatedLength" | "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, HTMLAttributes<ArcgisToolbarStack> {
|
|
180
154
|
}
|
|
181
155
|
|
|
182
156
|
interface PreactArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesList, "fieldName" | "layer" | "maxHeight" | "multiple" | "numberFormatOptions" | "partialUniqueValues" | "selectedValues" | "showFilterLength" | "sortBy" | "uniqueValues" | "view" | "visualizationSource">>, HTMLAttributes<ArcgisUniqueValuesList> {
|
package/dist/types/react.d.ts
CHANGED
|
@@ -36,33 +36,17 @@ import type { HTMLProps } from 'react';
|
|
|
36
36
|
import type { EventHandler } from "@arcgis/lumina";
|
|
37
37
|
|
|
38
38
|
interface ReactArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5, "canResizeVertically" | "currentLanguage" | "customConfig" | "customExpressionCheck" | "editorType" | "groupFieldsAndExpressions" | "intlExpressionsGroupHeading" | "intlFieldsGroupHeading" | "intlTextPlaceHolder" | "mentionFields" | "readOnly" | "textData">>, HTMLProps<ArcgisCkeditor5> {
|
|
39
|
-
/** @deprecated use arcgisCreated instead */
|
|
40
|
-
onarcgisCkeditor5Created?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5Created"]>;
|
|
41
|
-
/** @deprecated use arcgisDataUpdated instead */
|
|
42
|
-
onarcgisCkeditor5DataUpdated?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5DataUpdated"]>;
|
|
43
|
-
/** @deprecated use arcgisSourceEditingChanged instead */
|
|
44
|
-
onarcgisCkeditor5SourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5SourceEditingChanged"]>;
|
|
45
39
|
onarcgisCreated?: EventHandler<ArcgisCkeditor5["arcgisCreated"]>;
|
|
46
40
|
onarcgisDataUpdated?: EventHandler<ArcgisCkeditor5["arcgisDataUpdated"]>;
|
|
47
41
|
onarcgisSourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisSourceEditingChanged"]>;
|
|
48
42
|
}
|
|
49
43
|
|
|
50
44
|
interface ReactArcgisCkeditor5Popover extends Partial<Pick<ArcgisCkeditor5Popover, "guid" | "intlCancel" | "intlLabel" | "intlOk" | "refElement">>, HTMLProps<ArcgisCkeditor5Popover> {
|
|
51
|
-
/** @deprecated use arcgisPopoverClosed instead */
|
|
52
|
-
onarcgisCkeditor5PopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisCkeditor5PopoverClosed"]>;
|
|
53
45
|
onarcgisPopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisPopoverClosed"]>;
|
|
54
46
|
}
|
|
55
47
|
|
|
56
|
-
interface ReactArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "
|
|
48
|
+
interface ReactArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "popoverProps" | "showTransparency" | "storageId">>, HTMLProps<ArcgisColorInput> {
|
|
57
49
|
onarcgisChange?: EventHandler<ArcgisColorInput["arcgisChange"]>;
|
|
58
|
-
/** @deprecated use arcgisChange instead */
|
|
59
|
-
onarcgisColorInputChange?: EventHandler<ArcgisColorInput["arcgisColorInputChange"]>;
|
|
60
|
-
/** @deprecated use arcgisPickerClose instead */
|
|
61
|
-
onarcgisColorInputPopoverClose?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverClose"]>;
|
|
62
|
-
/** @deprecated use arcgisPickerOpen instead */
|
|
63
|
-
onarcgisColorInputPopoverOpen?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverOpen"]>;
|
|
64
|
-
/** @deprecated use arcgisSwatchUpdate instead */
|
|
65
|
-
onarcgisColorInputSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisColorInputSwatchUpdate"]>;
|
|
66
50
|
onarcgisPickerClose?: EventHandler<ArcgisColorInput["arcgisPickerClose"]>;
|
|
67
51
|
onarcgisPickerOpen?: EventHandler<ArcgisColorInput["arcgisPickerOpen"]>;
|
|
68
52
|
onarcgisSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisSwatchUpdate"]>;
|
|
@@ -78,21 +62,13 @@ interface ReactArcgisCoordinateSystemPickerTree extends Partial<Pick<ArcgisCoord
|
|
|
78
62
|
|
|
79
63
|
interface ReactArcgisFieldInfo extends Partial<Pick<ArcgisFieldInfo, "fieldName" | "hideAlias" | "hideNumericFormat" | "hideStatistics" | "layer" | "view">>, HTMLProps<ArcgisFieldInfo> {
|
|
80
64
|
onarcgisComplete?: EventHandler<ArcgisFieldInfo["arcgisComplete"]>;
|
|
81
|
-
/** @deprecated use arcgisComplete instead. Removal target v6.0.0. */
|
|
82
|
-
onarcgisFieldInfoComplete?: EventHandler<ArcgisFieldInfo["arcgisFieldInfoComplete"]>;
|
|
83
65
|
}
|
|
84
66
|
|
|
85
|
-
interface ReactArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "customExpressionCheck" | "expressionsGroupHeading" | "fields" | "fieldsGroupHeading" | "filterNoResultsText" | "filterPlaceholderText" | "
|
|
67
|
+
interface ReactArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "customExpressionCheck" | "expressionsGroupHeading" | "fields" | "fieldsGroupHeading" | "filterNoResultsText" | "filterPlaceholderText" | "heading" | "hideCancel" | "hideSort" | "layer" | "listOnly" | "multiple" | "okBtnText" | "popoverProps" | "selectedFields" | "showDescription" | "showFieldInfo" | "showFieldName" | "showFieldTypeIcon" | "showFilterLength" | "showSelectionAll" | "sortBy" | "view">>, HTMLProps<ArcgisFieldPickList> {
|
|
86
68
|
onarcgisChange?: EventHandler<ArcgisFieldPickList["arcgisChange"]>;
|
|
87
69
|
onarcgisClose?: EventHandler<ArcgisFieldPickList["arcgisClose"]>;
|
|
88
70
|
onarcgisDeleteField?: EventHandler<ArcgisFieldPickList["arcgisDeleteField"]>;
|
|
89
71
|
onarcgisEditField?: EventHandler<ArcgisFieldPickList["arcgisEditField"]>;
|
|
90
|
-
/** @deprecated use arcgisChange instead. Removal target v6.0.0. */
|
|
91
|
-
onarcgisFieldPickListChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListChange"]>;
|
|
92
|
-
/** @deprecated use arcgisClose instead. Removal target v6.0.0. */
|
|
93
|
-
onarcgisFieldPickListDismissed?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListDismissed"]>;
|
|
94
|
-
/** @deprecated use arcgisSortByChange instead. Removal target v6.0.0. */
|
|
95
|
-
onarcgisFieldPickListSortByChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListSortByChange"]>;
|
|
96
72
|
onarcgisSortByChange?: EventHandler<ArcgisFieldPickList["arcgisSortByChange"]>;
|
|
97
73
|
}
|
|
98
74
|
|
|
@@ -146,8 +122,6 @@ interface ReactArcgisSliderHistogramRange extends Partial<Pick<ArcgisSliderHisto
|
|
|
146
122
|
}
|
|
147
123
|
|
|
148
124
|
interface ReactArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disabled" | "flipLabels" | "label" | "max" | "min" | "scale" | "step" | "unitsLabel" | "value" | "withSteppers">>, HTMLProps<ArcgisSliderInput> {
|
|
149
|
-
/** @deprecated use arcgisValueChange instead. */
|
|
150
|
-
onarcgisSliderInputValueChange?: EventHandler<ArcgisSliderInput["arcgisSliderInputValueChange"]>;
|
|
151
125
|
onarcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
|
|
152
126
|
}
|
|
153
127
|
|
|
@@ -155,7 +129,7 @@ interface ReactArcgisTicks extends Partial<Pick<ArcgisTicks, "autoDestroyDisable
|
|
|
155
129
|
onarcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
|
|
156
130
|
}
|
|
157
131
|
|
|
158
|
-
interface ReactArcgisToolbar extends Partial<Pick<ArcgisToolbar, "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, HTMLProps<ArcgisToolbar> {
|
|
132
|
+
interface ReactArcgisToolbar extends Partial<Pick<ArcgisToolbar, "allocatedLength" | "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, HTMLProps<ArcgisToolbar> {
|
|
159
133
|
}
|
|
160
134
|
|
|
161
135
|
interface ReactArcgisToolbarAction extends Partial<Pick<ArcgisToolbarAction, "active" | "appearance" | "disabled" | "icon" | "iconFlipRtl" | "indicator" | "kind" | "labelText" | "loading" | "textEnabled" | "tooltipText">>, HTMLProps<ArcgisToolbarAction> {
|
|
@@ -176,7 +150,7 @@ interface ReactArcgisToolbarMoreButton extends Partial<Pick<ArcgisToolbarMoreBut
|
|
|
176
150
|
interface ReactArcgisToolbarSplitButton extends Partial<Pick<ArcgisToolbarSplitButton, "menuAppearance" | "overflowActionLabel" | "priority">>, HTMLProps<ArcgisToolbarSplitButton> {
|
|
177
151
|
}
|
|
178
152
|
|
|
179
|
-
interface ReactArcgisToolbarStack extends Partial<Pick<ArcgisToolbarStack, "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, HTMLProps<ArcgisToolbarStack> {
|
|
153
|
+
interface ReactArcgisToolbarStack extends Partial<Pick<ArcgisToolbarStack, "allocatedLength" | "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, HTMLProps<ArcgisToolbarStack> {
|
|
180
154
|
}
|
|
181
155
|
|
|
182
156
|
interface ReactArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesList, "fieldName" | "layer" | "maxHeight" | "multiple" | "numberFormatOptions" | "partialUniqueValues" | "selectedValues" | "showFilterLength" | "sortBy" | "uniqueValues" | "view" | "visualizationSource">>, HTMLProps<ArcgisUniqueValuesList> {
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -36,33 +36,17 @@ import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
|
36
36
|
import type { EventHandler } from "@arcgis/lumina";
|
|
37
37
|
|
|
38
38
|
interface StencilArcgisCkeditor5 extends Partial<Pick<ArcgisCkeditor5, "canResizeVertically" | "currentLanguage" | "customConfig" | "customExpressionCheck" | "editorType" | "groupFieldsAndExpressions" | "intlExpressionsGroupHeading" | "intlFieldsGroupHeading" | "intlTextPlaceHolder" | "mentionFields" | "readOnly" | "textData">>, StencilJsx.HTMLAttributes<ArcgisCkeditor5> {
|
|
39
|
-
/** @deprecated use arcgisCreated instead */
|
|
40
|
-
onArcgisCkeditor5Created?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5Created"]>;
|
|
41
|
-
/** @deprecated use arcgisDataUpdated instead */
|
|
42
|
-
onArcgisCkeditor5DataUpdated?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5DataUpdated"]>;
|
|
43
|
-
/** @deprecated use arcgisSourceEditingChanged instead */
|
|
44
|
-
onArcgisCkeditor5SourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisCkeditor5SourceEditingChanged"]>;
|
|
45
39
|
onArcgisCreated?: EventHandler<ArcgisCkeditor5["arcgisCreated"]>;
|
|
46
40
|
onArcgisDataUpdated?: EventHandler<ArcgisCkeditor5["arcgisDataUpdated"]>;
|
|
47
41
|
onArcgisSourceEditingChanged?: EventHandler<ArcgisCkeditor5["arcgisSourceEditingChanged"]>;
|
|
48
42
|
}
|
|
49
43
|
|
|
50
44
|
interface StencilArcgisCkeditor5Popover extends Partial<Pick<ArcgisCkeditor5Popover, "guid" | "intlCancel" | "intlLabel" | "intlOk" | "refElement">>, StencilJsx.HTMLAttributes<ArcgisCkeditor5Popover> {
|
|
51
|
-
/** @deprecated use arcgisPopoverClosed instead */
|
|
52
|
-
onArcgisCkeditor5PopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisCkeditor5PopoverClosed"]>;
|
|
53
45
|
onArcgisPopoverClosed?: EventHandler<ArcgisCkeditor5Popover["arcgisPopoverClosed"]>;
|
|
54
46
|
}
|
|
55
47
|
|
|
56
|
-
interface StencilArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "
|
|
48
|
+
interface StencilArcgisColorInput extends Partial<Pick<ArcgisColorInput, "clearable" | "color" | "compact" | "disabled" | "hideRecentColors" | "messageOverrides" | "popoverProps" | "showTransparency" | "storageId">>, StencilJsx.HTMLAttributes<ArcgisColorInput> {
|
|
57
49
|
onArcgisChange?: EventHandler<ArcgisColorInput["arcgisChange"]>;
|
|
58
|
-
/** @deprecated use arcgisChange instead */
|
|
59
|
-
onArcgisColorInputChange?: EventHandler<ArcgisColorInput["arcgisColorInputChange"]>;
|
|
60
|
-
/** @deprecated use arcgisPickerClose instead */
|
|
61
|
-
onArcgisColorInputPopoverClose?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverClose"]>;
|
|
62
|
-
/** @deprecated use arcgisPickerOpen instead */
|
|
63
|
-
onArcgisColorInputPopoverOpen?: EventHandler<ArcgisColorInput["arcgisColorInputPopoverOpen"]>;
|
|
64
|
-
/** @deprecated use arcgisSwatchUpdate instead */
|
|
65
|
-
onArcgisColorInputSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisColorInputSwatchUpdate"]>;
|
|
66
50
|
onArcgisPickerClose?: EventHandler<ArcgisColorInput["arcgisPickerClose"]>;
|
|
67
51
|
onArcgisPickerOpen?: EventHandler<ArcgisColorInput["arcgisPickerOpen"]>;
|
|
68
52
|
onArcgisSwatchUpdate?: EventHandler<ArcgisColorInput["arcgisSwatchUpdate"]>;
|
|
@@ -78,21 +62,13 @@ interface StencilArcgisCoordinateSystemPickerTree extends Partial<Pick<ArcgisCoo
|
|
|
78
62
|
|
|
79
63
|
interface StencilArcgisFieldInfo extends Partial<Pick<ArcgisFieldInfo, "fieldName" | "hideAlias" | "hideNumericFormat" | "hideStatistics" | "layer" | "view">>, StencilJsx.HTMLAttributes<ArcgisFieldInfo> {
|
|
80
64
|
onArcgisComplete?: EventHandler<ArcgisFieldInfo["arcgisComplete"]>;
|
|
81
|
-
/** @deprecated use arcgisComplete instead. Removal target v6.0.0. */
|
|
82
|
-
onArcgisFieldInfoComplete?: EventHandler<ArcgisFieldInfo["arcgisFieldInfoComplete"]>;
|
|
83
65
|
}
|
|
84
66
|
|
|
85
|
-
interface StencilArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "customExpressionCheck" | "expressionsGroupHeading" | "fields" | "fieldsGroupHeading" | "filterNoResultsText" | "filterPlaceholderText" | "
|
|
67
|
+
interface StencilArcgisFieldPickList extends Partial<Pick<ArcgisFieldPickList, "customExpressionCheck" | "expressionsGroupHeading" | "fields" | "fieldsGroupHeading" | "filterNoResultsText" | "filterPlaceholderText" | "heading" | "hideCancel" | "hideSort" | "layer" | "listOnly" | "multiple" | "okBtnText" | "popoverProps" | "selectedFields" | "showDescription" | "showFieldInfo" | "showFieldName" | "showFieldTypeIcon" | "showFilterLength" | "showSelectionAll" | "sortBy" | "view">>, StencilJsx.HTMLAttributes<ArcgisFieldPickList> {
|
|
86
68
|
onArcgisChange?: EventHandler<ArcgisFieldPickList["arcgisChange"]>;
|
|
87
69
|
onArcgisClose?: EventHandler<ArcgisFieldPickList["arcgisClose"]>;
|
|
88
70
|
onArcgisDeleteField?: EventHandler<ArcgisFieldPickList["arcgisDeleteField"]>;
|
|
89
71
|
onArcgisEditField?: EventHandler<ArcgisFieldPickList["arcgisEditField"]>;
|
|
90
|
-
/** @deprecated use arcgisChange instead. Removal target v6.0.0. */
|
|
91
|
-
onArcgisFieldPickListChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListChange"]>;
|
|
92
|
-
/** @deprecated use arcgisClose instead. Removal target v6.0.0. */
|
|
93
|
-
onArcgisFieldPickListDismissed?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListDismissed"]>;
|
|
94
|
-
/** @deprecated use arcgisSortByChange instead. Removal target v6.0.0. */
|
|
95
|
-
onArcgisFieldPickListSortByChange?: EventHandler<ArcgisFieldPickList["arcgisFieldPickListSortByChange"]>;
|
|
96
72
|
onArcgisSortByChange?: EventHandler<ArcgisFieldPickList["arcgisSortByChange"]>;
|
|
97
73
|
}
|
|
98
74
|
|
|
@@ -146,8 +122,6 @@ interface StencilArcgisSliderHistogramRange extends Partial<Pick<ArcgisSliderHis
|
|
|
146
122
|
}
|
|
147
123
|
|
|
148
124
|
interface StencilArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disabled" | "flipLabels" | "label" | "max" | "min" | "scale" | "step" | "unitsLabel" | "value" | "withSteppers">>, StencilJsx.HTMLAttributes<ArcgisSliderInput> {
|
|
149
|
-
/** @deprecated use arcgisValueChange instead. */
|
|
150
|
-
onArcgisSliderInputValueChange?: EventHandler<ArcgisSliderInput["arcgisSliderInputValueChange"]>;
|
|
151
125
|
onArcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
|
|
152
126
|
}
|
|
153
127
|
|
|
@@ -155,7 +129,7 @@ interface StencilArcgisTicks extends Partial<Pick<ArcgisTicks, "autoDestroyDisab
|
|
|
155
129
|
onArcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
|
|
156
130
|
}
|
|
157
131
|
|
|
158
|
-
interface StencilArcgisToolbar extends Partial<Pick<ArcgisToolbar, "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, StencilJsx.HTMLAttributes<ArcgisToolbar> {
|
|
132
|
+
interface StencilArcgisToolbar extends Partial<Pick<ArcgisToolbar, "allocatedLength" | "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, StencilJsx.HTMLAttributes<ArcgisToolbar> {
|
|
159
133
|
}
|
|
160
134
|
|
|
161
135
|
interface StencilArcgisToolbarAction extends Partial<Pick<ArcgisToolbarAction, "active" | "appearance" | "disabled" | "icon" | "iconFlipRtl" | "indicator" | "kind" | "labelText" | "loading" | "textEnabled" | "tooltipText">>, StencilJsx.HTMLAttributes<ArcgisToolbarAction> {
|
|
@@ -176,7 +150,7 @@ interface StencilArcgisToolbarMoreButton extends Partial<Pick<ArcgisToolbarMoreB
|
|
|
176
150
|
interface StencilArcgisToolbarSplitButton extends Partial<Pick<ArcgisToolbarSplitButton, "menuAppearance" | "overflowActionLabel" | "priority">>, StencilJsx.HTMLAttributes<ArcgisToolbarSplitButton> {
|
|
177
151
|
}
|
|
178
152
|
|
|
179
|
-
interface StencilArcgisToolbarStack extends Partial<Pick<ArcgisToolbarStack, "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, StencilJsx.HTMLAttributes<ArcgisToolbarStack> {
|
|
153
|
+
interface StencilArcgisToolbarStack extends Partial<Pick<ArcgisToolbarStack, "allocatedLength" | "layout" | "relativePosition" | "scale" | "toolbarKind" | "tooltipAppearance">>, StencilJsx.HTMLAttributes<ArcgisToolbarStack> {
|
|
180
154
|
}
|
|
181
155
|
|
|
182
156
|
interface StencilArcgisUniqueValuesList extends Partial<Pick<ArcgisUniqueValuesList, "fieldName" | "layer" | "maxHeight" | "multiple" | "numberFormatOptions" | "partialUniqueValues" | "selectedValues" | "showFilterLength" | "sortBy" | "uniqueValues" | "view" | "visualizationSource">>, StencilJsx.HTMLAttributes<ArcgisUniqueValuesList> {
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -26,12 +26,6 @@ export interface PopoverProps {
|
|
|
26
26
|
zIndex?: number;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated - use PopoverProps instead
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
export type IPopoverProps = PopoverProps;
|
|
34
|
-
|
|
35
29
|
/**
|
|
36
30
|
* Object to be passed to arcgis-field-pick-list containing info about a field.
|
|
37
31
|
* Use type:"none" to add non-sortable items, without info options, to the bottom of the list.
|
|
@@ -62,12 +56,6 @@ export interface PickListFieldInfoWithSubFields {
|
|
|
62
56
|
subFieldInfos: PickListFieldInfo[];
|
|
63
57
|
}
|
|
64
58
|
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated - use PickListFieldInfo instead
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
export type IPickListFieldInfo = PickListFieldInfo;
|
|
70
|
-
|
|
71
59
|
/**
|
|
72
60
|
* Object to be passed to arcgis-field-pick-list containing a group of fields.
|
|
73
61
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/common-components",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.34",
|
|
4
4
|
"description": "ArcGIS Maps SDK for JavaScript common components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
],
|
|
46
46
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@arcgis/lumina": "6.0.0-next.
|
|
49
|
-
"@arcgis/lumina-toolkit": "6.0.0-next.
|
|
50
|
-
"@arcgis/toolkit": "6.0.0-next.
|
|
51
|
-
"@esri/arcgis-html-sanitizer": "~4.2.0
|
|
48
|
+
"@arcgis/lumina": "6.0.0-next.34",
|
|
49
|
+
"@arcgis/lumina-toolkit": "6.0.0-next.34",
|
|
50
|
+
"@arcgis/toolkit": "6.0.0-next.34",
|
|
51
|
+
"@esri/arcgis-html-sanitizer": "~4.2.0",
|
|
52
52
|
"@lit/task": "^1.0.3",
|
|
53
53
|
"lit": "^3.3.0",
|
|
54
54
|
"tslib": "^2.8.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@arcgis/core": "6.0.0-next.
|
|
58
|
-
"@esri/calcite-components": "^5.2.
|
|
57
|
+
"@arcgis/core": "6.0.0-next.34",
|
|
58
|
+
"@esri/calcite-components": "^5.2.1"
|
|
59
59
|
},
|
|
60
60
|
"css.customData": [
|
|
61
61
|
"dist/docs/vscode.css-custom-data.json"
|
package/dist/cdn/2S4SSY4K.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{h as a}from"./4IMLX5B4.js";var r=a`.ruler{pointer-events:none;position:absolute;visibility:hidden}:host([layout="horizontal"]) .ruler{block-size:0;inline-size:var(--arcgis-internal-toolbar-available-length, 100%)}:host([layout="vertical"]) .ruler{block-size:var(--arcgis-internal-toolbar-available-length, 100%);inline-size:0}`,t=a`:host{--arcgis-internal-toolbar-action-kind-color: var(--calcite-action-text-color);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-action-text-color-press);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-action-text-color-press);--arcgis-internal-toolbar-action-kind-foreground-color: var(--calcite-color-text-inverse);--arcgis-internal-toolbar-action-transparent-background-color: var(--calcite-color-transparent);--arcgis-internal-toolbar-action-transparent-background-color-hover: var(--calcite-color-transparent-hover);--arcgis-internal-toolbar-action-transparent-background-color-press: var(--calcite-color-transparent-press)}calcite-action{--calcite-action-text-color: var(--arcgis-internal-toolbar-action-kind-color);--calcite-action-text-color-press: var(--arcgis-internal-toolbar-action-kind-color-press);--calcite-color-focus: var(--arcgis-internal-toolbar-action-kind-color);--calcite-action-indicator-color: var(--arcgis-internal-toolbar-action-kind-color)}calcite-action:is([data-appearance=solid]){--calcite-offset-invert-focus: 1}calcite-action[data-appearance=outline]{--calcite-action-background-color: var(--arcgis-internal-toolbar-action-transparent-background-color);--calcite-action-background-color-hover: var(--arcgis-internal-toolbar-action-transparent-background-color-hover);--calcite-action-background-color-press: var(--arcgis-internal-toolbar-action-transparent-background-color-press);--calcite-action-text-color: var(--arcgis-internal-toolbar-action-kind-color);--calcite-action-text-color-press: var(--arcgis-internal-toolbar-action-kind-color-press);box-shadow:inset 0 0 0 var(--calcite-border-width-sm, 1px) var(--arcgis-internal-toolbar-action-kind-color)}calcite-action[data-appearance=outline]:hover{box-shadow:inset 0 0 0 var(--calcite-border-width-sm, 1px) var(--arcgis-internal-toolbar-action-kind-color-hover)}calcite-action[data-appearance=outline]:active,calcite-action[data-appearance=outline][active]{--calcite-action-background-color: var(--arcgis-internal-toolbar-action-transparent-background-color-press);box-shadow:inset 0 0 0 var(--calcite-border-width-sm, 1px) var(--arcgis-internal-toolbar-action-kind-color-press)}calcite-action[data-appearance=solid]{--calcite-action-background-color: var(--arcgis-internal-toolbar-action-kind-color);--calcite-action-background-color-hover: var(--arcgis-internal-toolbar-action-kind-color-hover);--calcite-action-background-color-press: var(--arcgis-internal-toolbar-action-kind-color-press);--calcite-action-text-color: var(--arcgis-internal-toolbar-action-kind-foreground-color);--calcite-action-text-color-press: var(--arcgis-internal-toolbar-action-kind-foreground-color);--calcite-action-indicator-color: var(--arcgis-internal-toolbar-action-kind-foreground-color)}calcite-action:is([data-appearance=outline],[data-appearance=solid]):not([data-kind]){--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-inverse);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-inverse-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-inverse-press)}calcite-action:not([data-kind]){--calcite-action-indicator-color: var(--calcite-color-brand)}calcite-action[data-kind=brand]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-brand);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-brand-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-brand-press);--calcite-action-indicator-color: var(--calcite-color-text-1);&[data-appearance=solid]{--calcite-action-indicator-color: var(--calcite-color-text-inverse)}}calcite-action[data-kind=danger]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-status-danger);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-status-danger-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-status-danger-press)}calcite-action[data-kind=info]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-status-info);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-status-info-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-status-info-press)}calcite-action[data-kind=success]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-status-success);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-status-success-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-status-success-press)}calcite-action[data-kind=warning]{--arcgis-internal-toolbar-action-kind-color: var(--calcite-color-status-warning);--arcgis-internal-toolbar-action-kind-color-hover: var(--calcite-color-status-warning-hover);--arcgis-internal-toolbar-action-kind-color-press: var(--calcite-color-status-warning-press)}`,i=a`:host([layout="horizontal"]){.split-anchor{min-width:24px;max-width:24px;&[scale=m]{--calcite-internal-action-spacing: .25rem}&[scale=l]{--calcite-internal-action-spacing: 0rem}}.split-host:has(.split-menu){>calcite-action{border-radius:var(--calcite-action-corner-radius, 2px);border-top-right-radius:0;border-bottom-right-radius:0}.split-anchor{border-radius:var(--calcite-action-corner-radius, 2px);border-bottom-left-radius:0;border-top-left-radius:0}>calcite-action:dir(rtl){border-radius:var(--calcite-action-corner-radius, 2px);border-top-left-radius:0;border-bottom-left-radius:0}.split-anchor:dir(rtl){border-radius:var(--calcite-action-corner-radius, 2px);border-bottom-right-radius:0;border-top-right-radius:0}.split-anchor:dir(ltr){margin-left:calc(0px - var(--calcite-internal-action-bar-gap));margin-right:calc(0px - var(--calcite-internal-action-bar-padding))}.split-anchor:dir(rtl){margin-right:calc(0px - var(--calcite-internal-action-bar-gap));margin-left:calc(0px - var(--calcite-internal-action-bar-padding))}}}:host([layout="vertical"]){.split-anchor{--calcite-internal-action-min-height: unset;min-height:24px;max-height:24px}.split-host:has(.split-menu){>calcite-action{border-radius:var(--calcite-action-corner-radius, 2px);border-bottom-left-radius:0;border-bottom-right-radius:0}.split-anchor{border-radius:var(--calcite-action-corner-radius, 2px);border-top-right-radius:0;border-top-left-radius:0;margin-top:calc(0px - var(--calcite-internal-action-bar-gap));margin-bottom:calc(0px - var(--calcite-internal-action-bar-padding))}}}.split-host:has(.split-menu):hover,.split-host:has(calcite-action-menu[open]),.split-host:has(calcite-dropdown[open]){.split-anchor,>calcite-action{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}}.split-host{display:contents;cursor:pointer}`,c=a`:host{display:block;max-inline-size:100%;max-block-size:100%;min-inline-size:0;min-block-size:0;position:relative}:host([layout="horizontal"]){inline-size:100%}:host([layout="vertical"]){block-size:100%}:host([toolbar-kind="floating"][layout="horizontal"]),:host([toolbar-kind="floating"][layout="horizontal"]) .ruler{max-inline-size:min(100cqw - 2 * var(--calcite-space-lg),100vw - 2 * var(--calcite-space-lg))}:host([toolbar-kind="floating"][layout="vertical"]),:host([toolbar-kind="floating"][layout="vertical"]) .ruler{max-block-size:min(100cqh - var(--arcgis-internal-attribution-space-top) - 2 * var(--calcite-space-lg),100vh - 2 * var(--calcite-space-lg))}calcite-action-bar{-webkit-user-select:none;user-select:none;pointer-events:auto}:host([toolbar-kind="docked"][layout="horizontal"]){calcite-action-bar{min-width:100%}.toolbar-grid-wrapper{width:100%}}:host([toolbar-kind="docked"][layout="vertical"]){min-height:100%;calcite-action-bar{min-height:100%}.toolbar-grid-wrapper{height:100%}}calcite-tooltip.calcite-mode-dark{color-scheme:dark}:host([layout="vertical"]) .toolbar-shadow-wrapper{overflow-y:auto}:host([layout="horizontal"]) .toolbar-shadow-wrapper{overflow-x:auto}.toolbar-grid-wrapper{display:grid;min-inline-size:0;min-block-size:0}:host([layout="horizontal"]) .toolbar-grid-wrapper{grid-template-columns:minmax(0,1fr)}:host([layout="vertical"]) .toolbar-grid-wrapper{grid-template-rows:minmax(0,1fr)}:host([layout="horizontal"]) .toolbar-grid-wrapper.right{margin-left:auto}:host([layout="vertical"]) .toolbar-grid-wrapper.bottom{margin-top:auto}.toolbar-shadow-wrapper{pointer-events:auto}:host([toolbar-kind="floating"]) .toolbar-shadow-wrapper{box-shadow:var(--calcite-shadow-md);background-color:var(--calcite-action-bar-background-color, var(--calcite-color-surface-2));border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-sm));max-inline-size:100%;max-block-size:100%;min-inline-size:0;min-block-size:0}`;export{r as a,t as b,i as c,c as d};
|
package/dist/cdn/3UAY23XT.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as i}from"./I7YBGXB2.js";import{a as u,b as m}from"./BDIGRQ2U.js";import{d as g}from"./XMMFL5H3.js";import{J as o,K as a,L as d,M as e,P as p,S as h,h as l,j as n,t as s,w as c}from"./4IMLX5B4.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/BMR5AH6W.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as y,b as f,c as v,d as R}from"./2S4SSY4K.js";import{b as $,d as o}from"./32MHBJSZ.js";import{c as b}from"./JYWWX277.js";import"./XMMFL5H3.js";import{a as _}from"./TE77L77R.js";import{K as h,L as m,N as d,S as g,j as l,t as u}from"./4IMLX5B4.js";var c=class extends m{constructor(){super(),this.#e=new ResizeObserver(e=>this._updateMeasurement(e)),this.#r=new MutationObserver(()=>this._syncGroups()),this.#i=b(),this._layout="horizontal",this._setRenderedBar=e=>{e==null&&(this._renderedBar=void 0,this._hydratedRenderedBar=void 0),!(e===this._renderedBar||e===this._hydratedRenderedBar)&&(this._renderedBar=e,this._hydratedRenderedBar=void 0,e&&e.componentOnReady().then(()=>{!this.isConnected||this._renderedBar!==e||(this._hydratedRenderedBar=e)}))},this._availableLength=0,this.scale="m",this.tooltipAppearance="native",this.relativePosition="top-left",this.toolbarKind="floating",this.arcgisInternalLayoutUpdate=u(),this.listen("arcgisInternalLayoutUpdate",e=>{e.target!==this.el&&this.requestUpdate(),this.el.parentElement?.localName!=="arcgis-toolbar-stack"&&e.stopPropagation()})}static{this.properties={_availableLength:16,_groups:16,_renderedBar:16,_hydratedRenderedBar:16,layout:3,scale:3,tooltipAppearance:1,relativePosition:1,toolbarKind:3,barElement:32,effectiveRelativeDirection:16}}static{this.styles=[R,y,f,v]}#e;#r;#a;#i;#t;get layout(){return this._layout}set layout(e){e!==this._layout&&(this._layout=e,this._updateMeasurement())}get barElement(){return this._hydratedRenderedBar}get effectiveRelativeDirection(){let[e,t]=this.relativePosition.split("-"),r=this.#i;switch(t){case"left":case"right":return`${e}-${t}`;case"end":return`${e}-${r==="ltr"?"right":"left"}`;case"start":return`${e}-${r==="ltr"?"left":"right"}`}}measure(e){let t=this._groups;if(!t?.length)return[0];let r=t.map(a=>a.measure(e)).reduce((a,i)=>a.flatMap(s=>i.map(n=>s+n)),[0]).map(a=>o(t,e,a).reduce((i,{budget:s})=>i+s,0));return Array.from(new Set(r)).sort((a,i)=>a-i)}allocate(e,t){let r=this._groups;return r?.length?o(r,e,t):[]}proxiedRender(e,t,r=this.toolbarKind,a=t){if(!this._groups?.length)return;let i=this.allocate(e,t),[s,n]=e.relativePosition.split("-"),p=e.layout==="horizontal"?{maxWidth:`${a}px`}:{maxHeight:`${a}px`};return _(this,l`<div class=${`toolbar-grid-wrapper ${n} ${s}`} style=${d(p)}><div class="toolbar-shadow-wrapper" style=${d(p)}><calcite-action-bar expand-toggle-disabled .floating=${r==="floating"} .layout=${e.layout} overflow-mode=none .scale=${e.scale} ${h(this._setRenderedBar)}>${i.map(({group:B,budget:x})=>B.proxiedRender(e,x))}</calcite-action-bar></div></div>`)}connectedCallback(){super.connectedCallback(),this._connectMeasurement(this.#t),this.#r.observe(this.el,{childList:!0}),this._syncGroups()}disconnectedCallback(){this.#e.disconnect(),this.#r.disconnect(),super.disconnectedCallback()}_setRulerEl(e){this.#t!==e&&(this.#t=e,this.isConnected&&this._connectMeasurement(e))}_connectMeasurement(e){this.#e.disconnect(),e&&(this.#e.observe(e),this._updateMeasurement())}_updateMeasurement(e){let t=e?.at(0)?.contentRect??this.#t?.getBoundingClientRect();t&&(this._availableLength=this.layout==="horizontal"?t.width:t.height)}_syncGroups(){this.#a?.abort();let e=Array.from(this.el.children).filter($),t=new AbortController;this.#a=t,Promise.all(e.map(r=>r.componentOnReady())).then(()=>{!this.isConnected||t.signal.aborted||(this._groups=e,this.arcgisInternalLayoutUpdate.emit())})}render(){if(!this._groups?.length||this.el.parentElement?.localName==="arcgis-toolbar-stack")return;let e={layout:this.layout,relativePosition:this.effectiveRelativeDirection,scale:this.scale,tooltipAppearance:this.tooltipAppearance,toolbarKind:this.toolbarKind},[{budget:t}]=o([this],e,this._availableLength);return l`<div class="ruler" ${h(this._setRulerEl)}></div>${this.proxiedRender(e,t,this.toolbarKind,this._availableLength)}`}};g("arcgis-toolbar",c);export{c as ArcgisToolbar};
|
package/dist/cdn/GZVXOCN5.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as $}from"./GUL7EIJ4.js";import{a as y}from"./LLLQXE2U.js";import"./JYWWX277.js";import{d as k}from"./XMMFL5H3.js";import{a as n}from"./TE77L77R.js";import{J as w,K as l,L as v,N as f,P as p,S as E,h as g,j as i,k as h,n as m,t as s}from"./4IMLX5B4.js";function S(a,e,t){window.localStorage.setItem(a,JSON.stringify(e))}function I(a,e){let t=window.localStorage.getItem(a);return t&&e?JSON.parse(t):t}var R=g`: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;container-type:inline-size}.preview-swatch-no-color{overflow:hidden;block-size:inherit;inline-size:inherit;rect{transition-property:all;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1)}rect{fill:var(--calcite-theme-color-surface-2, var(--calcite-color-surface-2))}line{stroke:var(--calcite-color-status-danger)}}.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}.swatch-group{line-height:16px}`,d=class extends v{constructor(){super(),this._messages=y(),this.actionEl=w(),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=s(),this.arcgisColorInputChange=s(),this.arcgisColorInputPopoverClose=s(),this.arcgisColorInputPopoverOpen=s(),this.arcgisColorInputSwatchUpdate=s(),this.arcgisInternalStoredColor=s(),this.arcgisPickerClose=s(),this.arcgisPickerOpen=s(),this.arcgisSwatchUpdate=s(),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({focus:!1})}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=I(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.currentTarget}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);S(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:r}=this,C=[o[0],o[1]],b=k(this.el)==="rtl";return e||C.push(o[2]),i`<arcgis-picker-input .disabled=${t} .intlDone=${r.commitColor} .heading=${r.selectColor} .label=${r.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=${$(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>${this.color?i`<div slot=preview style=${f({backgroundColor:this.color})} class="preview-swatch" aria-label=${r.selectColor??""??p}></div>`:i`<div slot=preview class="preview-swatch" aria-label=${r.selectColor??""??p}><svg xmlns=http://www.w3.org/2000/svg class="preview-swatch-no-color">${h`<clipPath id=shape><rect height=100% width=100% rx=0 /></clipPath><rect clip-path="inset(0 round 0)" height=100% rx=0 stroke="rgba(0, 0, 0, 0.3)" stroke-width=2 width=100% /><line clip-path=url(#shape) stroke-width=3 x1=100% x2=0 y1=0 y2=100% />`}</svg></div>`}${!this.hideRecentColors&&i`<div slot=content-end class="recent-colors-container" @keydown=${this.handleRecentColorsKeyDown} tabindex=-1><calcite-swatch-group selection-mode=single .label=${r.recentColors??""} scale=s class="swatch-group">${C.map((c,u)=>c?n(c,i`<calcite-swatch class="preview-recent-swatch" role=button scale=s tabindex=0 .selected=${c===this.color} .color=${c} .label=${r.selectColor??""} @click=${this.handleSwatchClickOrKeyUp} @keyup=${this.handleSwatchClickOrKeyUp} @focus=${this.handleUpdateActiveSwatch} ${l(this.setRecentColorElement(u+1))}></calcite-swatch>`):this.renderEmptySwatch(`empty-swatch-${u}`))}</calcite-swatch-group></div>`||""}${this.clearable&&i`<div slot=content-end class="end-action"><calcite-action icon=circle-disallowed scale=s .label=${r.clearColor} .text=${r.clearColor??""} @click=${this.handleClearColor} @mouseover=${()=>this.addTooltip({referenceElement:this.actionEl.value,placement:b?"right-start":"left-start",innerHTML:r.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>${h`<rect width=20 height=20 fill=#f8f8f8 stroke=#000 stroke-dasharray=2 />`}</svg>`)}};E("arcgis-color-input",d);export{d as ArcgisColorInput};
|