@arcgis/common-components 5.2.0-next.11 → 5.2.0-next.110
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/24BY6E4U.js +2 -0
- package/dist/cdn/{MCZBUYS5.js → 26TPKYHY.js} +2 -2
- package/dist/cdn/2P3QKSBJ.js +2 -0
- package/dist/cdn/3ENYIWMV.js +2 -0
- package/dist/cdn/3YTGG7RF.js +2 -0
- package/dist/cdn/{VQLI4IE7.js → 6YKEQTXQ.js} +2 -2
- package/dist/cdn/{L5RMOAO3.js → 73AR55J2.js} +2 -2
- package/dist/cdn/746MUQGB.js +2 -0
- package/dist/cdn/{Y5Y7IXOV.js → 74MDECVO.js} +1 -1
- package/dist/cdn/AHWD5KV4.js +2 -0
- package/dist/cdn/ALOLCOFN.js +2 -0
- package/dist/cdn/B2QFPLR5.js +2 -0
- package/dist/cdn/{WEKRF34E.js → B6QUU35R.js} +2 -2
- package/dist/cdn/BGN6KRHS.js +2 -0
- package/dist/cdn/BQD6UQIB.js +2 -0
- package/dist/cdn/{JLPZ3OR2.js → BSSCT4Z5.js} +2 -2
- package/dist/cdn/CT3ZUD4C.js +2 -0
- package/dist/cdn/D2RCMLMS.js +2 -0
- package/dist/cdn/{5KS7T5BY.js → D2YGEFGL.js} +2 -2
- package/dist/cdn/DICEO27I.js +2 -0
- package/dist/cdn/{ECNI2A4K.js → E4NVOXNZ.js} +1 -1
- package/dist/cdn/{GVOQ2CB7.js → EY5CL247.js} +2 -2
- package/dist/cdn/EZH7L65E.js +2 -0
- package/dist/cdn/{LKUOAV7B.js → F2XLHROQ.js} +2 -2
- package/dist/cdn/F3UPNSY4.js +2 -0
- package/dist/cdn/F7ZMTKDL.js +2 -0
- package/dist/cdn/GAXWOAWM.js +2 -0
- package/dist/cdn/GV62Q7D7.js +2 -0
- package/dist/cdn/H4MYODDU.js +2 -0
- package/dist/cdn/{OBIWQRXY.js → IUQEF23H.js} +2 -2
- package/dist/cdn/KIWPQY6T.js +4 -0
- package/dist/cdn/KMWJCWRS.js +2 -0
- package/dist/cdn/{L2JNUMXB.js → KOQXEMEM.js} +2 -2
- package/dist/cdn/LE43VGSR.js +2 -0
- package/dist/cdn/NMDESY3T.js +2 -0
- package/dist/cdn/NXUTEL5Q.js +2 -0
- package/dist/cdn/P3DCEHGK.js +2 -0
- package/dist/cdn/P6IUT6XO.js +2 -0
- package/dist/cdn/P7I4EXSU.js +2 -0
- package/dist/cdn/Q7STPO4U.js +2 -0
- package/dist/cdn/QJJFF4PI.js +2 -0
- package/dist/cdn/{4W7JZPB6.js → SHMWZ2AY.js} +2 -2
- package/dist/cdn/{3P53QRGS.js → ST5VEH7P.js} +2 -2
- package/dist/cdn/U2K7ABGL.js +2 -0
- package/dist/cdn/VIUFXHPL.js +2 -0
- package/dist/cdn/{UGWLCTVM.js → YJTI6KPW.js} +1 -1
- package/dist/cdn/{XRARFMJ7.js → ZBSOCWIQ.js} +2 -2
- package/dist/cdn/{3V5M7OHL.js → ZZGYCYHP.js} +4 -4
- package/dist/cdn/assets/field-pick-list/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/slider-field/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/element-reference-controller.js +19 -0
- package/dist/chunks/{commonFunctions.js → general.js} +1 -1
- package/dist/chunks/internal-types.js +1 -1
- package/dist/chunks/layer-utils.js +53 -41
- package/dist/chunks/locale.js +15 -7
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/strategies.js +287 -0
- package/dist/chunks/toolbar.js +9 -0
- package/dist/chunks/types.js +16 -0
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +59 -0
- package/dist/chunks/utils2.js +20 -0
- package/dist/chunks/utils3.js +7 -0
- package/dist/components/arcgis-ckeditor5/customElement.d.ts +23 -0
- package/dist/components/arcgis-ckeditor5/customElement.js +3 -3
- package/dist/components/arcgis-ckeditor5-popover/customElement.js +2 -2
- package/dist/components/arcgis-color-input/customElement.d.ts +2 -1
- package/dist/components/arcgis-color-input/customElement.js +2 -2
- package/dist/components/arcgis-coordinate-system-picker/customElement.d.ts +23 -0
- package/dist/components/arcgis-coordinate-system-picker/customElement.js +2 -2
- package/dist/components/arcgis-coordinate-system-picker-tree/customElement.js +1 -1
- package/dist/components/arcgis-field-info/customElement.d.ts +1 -1
- package/dist/components/arcgis-field-info/customElement.js +249 -226
- package/dist/components/arcgis-field-info/index.js +1 -0
- package/dist/components/arcgis-field-info/utils/basic.d.ts +3 -1
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +15 -12
- package/dist/components/arcgis-field-pick-list/customElement.js +206 -123
- package/dist/components/arcgis-field-pick-list/index.js +4 -3
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +3 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +39 -2
- package/dist/components/arcgis-histogram/customElement.js +106 -91
- package/dist/components/arcgis-label-input/customElement.js +19 -15
- package/dist/components/arcgis-picker-input/customElement.js +1 -1
- package/dist/components/arcgis-ramp-color/customElement.js +1 -1
- package/dist/components/arcgis-ramp-color-break/customElement.js +1 -1
- package/dist/components/arcgis-ramp-opacity/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +11 -3
- package/dist/components/arcgis-slider/customElement.js +372 -349
- package/dist/components/arcgis-slider-field/customElement.d.ts +298 -0
- package/dist/components/arcgis-slider-field/customElement.js +96 -0
- package/dist/components/arcgis-slider-field/index.d.ts +1 -0
- package/dist/components/arcgis-slider-field/index.js +2 -0
- package/dist/components/arcgis-slider-histogram-range/customElement.d.ts +390 -0
- package/dist/components/arcgis-slider-histogram-range/customElement.js +120 -0
- package/dist/components/arcgis-slider-histogram-range/index.d.ts +1 -0
- package/dist/components/arcgis-slider-histogram-range/index.js +3 -0
- package/dist/components/arcgis-slider-histogram-range/types.d.ts +6 -0
- package/dist/components/arcgis-slider-input/customElement.js +1 -1
- package/dist/components/arcgis-ticks/customElement.d.ts +11 -3
- package/dist/components/arcgis-ticks/customElement.js +101 -80
- package/dist/components/arcgis-toolbar/customElement.d.ts +67 -0
- package/dist/components/arcgis-toolbar/customElement.js +108 -0
- package/dist/components/arcgis-toolbar/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar/index.js +2 -0
- package/dist/components/arcgis-toolbar/types.d.ts +41 -0
- package/dist/components/arcgis-toolbar-action/customElement.d.ts +97 -0
- package/dist/components/arcgis-toolbar-action/customElement.js +52 -0
- package/dist/components/arcgis-toolbar-action/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-action/index.js +3 -0
- package/dist/components/arcgis-toolbar-group/customElement.d.ts +38 -0
- package/dist/components/arcgis-toolbar-group/customElement.js +48 -0
- package/dist/components/arcgis-toolbar-group/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-group/index.js +2 -0
- package/dist/components/arcgis-toolbar-item/customElement.d.ts +83 -0
- package/dist/components/arcgis-toolbar-item/customElement.js +42 -0
- package/dist/components/arcgis-toolbar-item/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-item/index.js +4 -0
- package/dist/components/arcgis-toolbar-more-button/customElement.d.ts +52 -0
- package/dist/components/arcgis-toolbar-more-button/customElement.js +68 -0
- package/dist/components/arcgis-toolbar-more-button/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-more-button/index.js +6 -0
- package/dist/components/arcgis-toolbar-split-button/customElement.d.ts +51 -0
- package/dist/components/arcgis-toolbar-split-button/customElement.js +67 -0
- package/dist/components/arcgis-toolbar-split-button/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-split-button/index.js +6 -0
- package/dist/components/arcgis-toolbar-stack/customElement.d.ts +48 -0
- package/dist/components/arcgis-toolbar-stack/customElement.js +174 -0
- package/dist/components/arcgis-toolbar-stack/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-stack/index.js +1 -0
- package/dist/components/arcgis-unique-values-list/customElement.js +116 -96
- package/dist/components/arcgis-value-picker/customElement.js +6 -6
- package/dist/components/arcgis-value-picker-collection/customElement.js +1 -1
- package/dist/components/arcgis-value-picker-combobox/customElement.js +1 -1
- package/dist/components/arcgis-value-picker-label/customElement.js +1 -1
- package/dist/components/arcgis-value-picker-slider/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.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 +62 -0
- package/dist/index.js +3 -1
- package/dist/loader.js +14 -5
- package/dist/types/lumina.d.ts +58 -2
- package/dist/types/preact.d.ts +67 -2
- package/dist/types/react.d.ts +76 -2
- package/dist/types/stencil.d.ts +60 -4
- package/dist/utils/types.d.ts +14 -1
- package/package.json +6 -6
- package/dist/cdn/2XA6O2MP.js +0 -2
- package/dist/cdn/4BJYJUMR.js +0 -2
- package/dist/cdn/5U5NQ3F5.js +0 -2
- package/dist/cdn/77HZGUSC.js +0 -2
- package/dist/cdn/A3CISHRB.js +0 -2
- package/dist/cdn/AFBKMYU6.js +0 -4
- package/dist/cdn/IUJ4ILLQ.js +0 -2
- package/dist/cdn/JPD7Z3MB.js +0 -2
- package/dist/cdn/LB7I345F.js +0 -2
- package/dist/cdn/LBD3GPSD.js +0 -2
- package/dist/cdn/MCH3WQ4X.js +0 -2
- package/dist/cdn/N7C4DINF.js +0 -2
- package/dist/cdn/NKMDS2IH.js +0 -2
- package/dist/cdn/PSITQBDP.js +0 -2
- package/dist/cdn/TXYPZ6MB.js +0 -2
- package/dist/cdn/WLYFLEI6.js +0 -2
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.en-US.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"ok":"Replace","done":"Done","cancel":"Cancel","back":"Back","header":"Replace field","headerSelect":"Select fields","filter":"Search fields","info":"Info","edit":"Edit","delete":"Delete","displayName":"Display name","type":"Type","default":"Default","fieldName":"Field name","sort":"Sort","selectAll":"Select all","deselectAll":"Deselect all","noMatches":"No matches found."}
|
|
1
|
+
{"ok":"Replace","done":"Done","cancel":"Cancel","back":"Back","header":"Replace field","headerSelect":"Select fields","filter":"Search fields","info":"Info","edit":"Edit","delete":"Delete","displayName":"Display name","type":"Type","default":"Default","fieldName":"Field name","sort":"Sort","selectAll":"Select all","deselectAll":"Deselect all","subFieldsSelected":"${count} selected","noMatches":"No matches found."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Field Slider"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Histogram Range Slider"}
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import{
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import{Q as a,y as e}from"./KIWPQY6T.js";var i=e(a,{"arcgis-ckeditor5":[()=>import("./ZZGYCYHP.js"),"canResizeVertically,currentLanguage,customConfig,customExpressionCheck:,editorType,groupFieldsAndExpressions,intlExpressionsGroupHeading,intlFieldsGroupHeading,intlTextPlaceHolder,mentionFields:,readOnly,textData;getData,setFocus"],"arcgis-ckeditor5-popover":[()=>import("./746MUQGB.js"),"guid,intlCancel,intlLabel,intlOk,refElement:;reposition"],"arcgis-color-input":[()=>import("./VIUFXHPL.js"),"_messages:,clearable,color,compact,disabled,hideRecentColors,messageOverrides:,placement,popoverProps:,showTransparency,storageId;close,setFocus;isOpen"],"arcgis-coordinate-system-picker":[()=>import("./H4MYODDU.js"),"_messages:,autoFilterToDefault,defaultWkid,filterEnabled,hideCategories:,value:;getSRDescription"],"arcgis-coordinate-system-picker-tree":[()=>import("./73AR55J2.js"),"data:,value"],"arcgis-field-info":[()=>import("./3ENYIWMV.js"),"_messages:,fieldName,hideAlias,hideNumericFormat,hideStatistics,layer:,view:;refresh"],"arcgis-field-pick-list":[()=>import("./NXUTEL5Q.js"),"_messages:,customExpressionCheck:,expressionsGroupHeading,fields:,fieldsGroupHeading,filterNoResultsText,filterPlaceholderText,groupFieldsAndExpressions,heading,hideCancel,hideSort,layer:,listOnly,mapView:,multiple,okBtnText,popoverProps:,selectedFields:,showCancel,showDescription,showFieldInfo,showFieldName,showFieldTypeIcon,showFilterLength,showSelectionAll,showSort,sortBy,view:;reposition,setDisabled,setFocus"],"arcgis-histogram":[()=>import("./GAXWOAWM.js"),"_messages:,average,bins:,colorBlendingEnabled,colorStops:,dataLines:,icon,label,labelFormatter:,layout,max,messageOverrides:,min,standardDeviation,standardDeviationCount"],"arcgis-label-input":[()=>import("./F3UPNSY4.js"),"alignment,editing,labelFormatter:,readOnly,value;edit;getLabelBoundingClientRect"],"arcgis-picker-input":[()=>import("./ZBSOCWIQ.js"),"disabled,heading,iconEnd,intlDone,label,popoverProps:;close,setFocus"],"arcgis-ramp-color":[()=>import("./B6QUU35R.js"),"layout,max,min,stops:"],"arcgis-ramp-color-break":[()=>import("./6YKEQTXQ.js"),"layout,max,min,stops:"],"arcgis-ramp-opacity":[()=>import("./26TPKYHY.js"),"fillColor,layout,max,min,stops:"],"arcgis-slider":[()=>import("./2P3QKSBJ.js"),"activeValue:,allowValuesOverlap,autoDestroyDisabled,disabled,fillPlacement,fullRangeMax,fullRangeMin,keyboardLargeStep,labelFormatter:,layout,max,messageOverrides:,messages:,min,mirrored,popoverDisplay,popoverLabel,popoverPlacement,precision,rangeLabelsEditingEnabled,rangeLabelsPlacement,segmentsDraggingDisabled,showRangeLabels,steps,valueLabelsDisplay,valueLabelsEditingEnabled,valueLabelsPlacement,values;destroy"],"arcgis-slider-field":[()=>import("./DICEO27I.js"),"activeValue:,disabled,fieldType,fillPlacement,label,labelFormatter:,layout,max,messageOverrides:,messages:,min,mirrored,popoverLabel,rangeLabelsEditingEnabled,rangeLabelsPlacement,showRangeLabels,valueLabelsDisplay,valueLabelsEditingEnabled,valueLabelsPlacement,values,valuesAsDateOnly:,valuesAsFieldType:,valuesAsNumbers:,valuesAsTimeOnly:,valuesAsTimestampOffset:"],"arcgis-slider-histogram-range":[()=>import("./BQD6UQIB.js"),"activeValue:,average,bins:,dataLines:,excludedBarColor:,fieldType,fillPlacement,includedBarColor:,label,labelFormatter:,layout,max,min,rangeLabelsEditingEnabled,rangeLabelsPlacement,showRangeLabels,standardDeviation,standardDeviationCount,valueLabelsDisplay,valueLabelsEditingEnabled,values;destroy,generateWhereClause,updateFromHistogramResult"],"arcgis-slider-input":[()=>import("./IUQEF23H.js"),"disabled,flipLabels,label,max,min,scale,step,unitsLabel,value,withSteppers"],"arcgis-ticks":[()=>import("./F7ZMTKDL.js"),"interactive,interpolationExponent,labelFormatter:,labelPlacement,layout,max,min,mirrored,mode,showBaseline,showLabels,values"],"arcgis-toolbar":[()=>import("./EZH7L65E.js"),"barElement:,layout,relativePosition,scale,toolbarKind,tooltipAppearance;;allocate,measure,proxiedRender"],"arcgis-toolbar-action":[()=>import("./GV62Q7D7.js"),"actionElement:,active,appearance,disabled,icon,iconFlipRtl,indicator,kind,labelText,loading,textEnabled,tooltipText;;measure,proxiedRender"],"arcgis-toolbar-group":[()=>import("./P7I4EXSU.js"),"preferEndSlot,priority;;measure,proxiedRender"],"arcgis-toolbar-item":[()=>import("./Q7STPO4U.js"),"actionElement:,active,disabled,icon,iconFlipRtl,labelText,lastActivated:,loading,tooltipText;;measure,proxiedRender"],"arcgis-toolbar-more-button":[()=>import("./CT3ZUD4C.js"),"menuAppearance,overflowActionLabel,priority;;measure,proxiedRender"],"arcgis-toolbar-split-button":[()=>import("./KMWJCWRS.js"),"menuAppearance,overflowActionLabel,priority;;measure,proxiedRender"],"arcgis-toolbar-stack":[()=>import("./U2K7ABGL.js"),"layout,relativePosition,scale,toolbarKind,tooltipAppearance"],"arcgis-unique-values-list":[()=>import("./24BY6E4U.js"),"_messages:,fieldName,layer:,maxHeight,multiple,numberFormatOptions:,partialUniqueValues,selectedValues:,showFilterLength,sortBy,uniqueValues:,view:,visualizationSource;getUniqueValues,setFocus"],"arcgis-value-picker":[()=>import("./SHMWZ2AY.js"),"autoDestroyDisabled,disabled,hideNextButton,hidePlayButton,hidePreviousButton,icon,label,layout,loop,messages:,playRate,state:;destroy;next,pause,play,previous"],"arcgis-value-picker-collection":[()=>import("./ST5VEH7P.js"),"autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,items:;destroy;reset,step"],"arcgis-value-picker-combobox":[()=>import("./KOQXEMEM.js"),"autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,disabled,items:,messages:;destroy;reset,step"],"arcgis-value-picker-label":[()=>import("./F2XLHROQ.js"),"autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,items:;destroy;reset,step"],"arcgis-value-picker-slider":[()=>import("./EY5CL247.js"),"autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue,disabled,labelFormatter:,labels:,layout,majorTicks:,max,min,minorTicks:,mirrored,steps:;destroy;reset,step"]});i({resourcesUrl:import.meta.url});var r=new CSSStyleSheet;r.replaceSync("@layer{:not([hydrated]):is(arcgis-ckeditor5,arcgis-ckeditor5-popover,arcgis-color-input,arcgis-coordinate-system-picker,arcgis-coordinate-system-picker-tree,arcgis-field-info,arcgis-field-pick-list,arcgis-histogram,arcgis-label-input,arcgis-picker-input,arcgis-ramp-color,arcgis-ramp-color-break,arcgis-ramp-opacity,arcgis-slider,arcgis-slider-field,arcgis-slider-histogram-range,arcgis-slider-input,arcgis-ticks,arcgis-toolbar,arcgis-toolbar-action,arcgis-toolbar-group,arcgis-toolbar-item,arcgis-toolbar-more-button,arcgis-toolbar-split-button,arcgis-toolbar-stack,arcgis-unique-values-list,arcgis-value-picker,arcgis-value-picker-collection,arcgis-value-picker-combobox,arcgis-value-picker-label,arcgis-value-picker-slider){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,r];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
|
package/dist/cdn/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer{:not([hydrated]):is(arcgis-ckeditor5,arcgis-ckeditor5-popover,arcgis-color-input,arcgis-coordinate-system-picker,arcgis-coordinate-system-picker-tree,arcgis-field-info,arcgis-field-pick-list,arcgis-histogram,arcgis-label-input,arcgis-picker-input,arcgis-ramp-color,arcgis-ramp-color-break,arcgis-ramp-opacity,arcgis-slider,arcgis-slider-input,arcgis-ticks,arcgis-
|
|
1
|
+
@layer{:not([hydrated]):is(arcgis-ckeditor5,arcgis-ckeditor5-popover,arcgis-color-input,arcgis-coordinate-system-picker,arcgis-coordinate-system-picker-tree,arcgis-field-info,arcgis-field-pick-list,arcgis-histogram,arcgis-label-input,arcgis-picker-input,arcgis-ramp-color,arcgis-ramp-color-break,arcgis-ramp-opacity,arcgis-slider,arcgis-slider-field,arcgis-slider-histogram-range,arcgis-slider-input,arcgis-ticks,arcgis-toolbar,arcgis-toolbar-action,arcgis-toolbar-group,arcgis-toolbar-item,arcgis-toolbar-more-button,arcgis-toolbar-split-button,arcgis-toolbar-stack,arcgis-unique-values-list,arcgis-value-picker,arcgis-value-picker-collection,arcgis-value-picker-combobox,arcgis-value-picker-label,arcgis-value-picker-slider){visibility:hidden}}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { Controller as r } from "@arcgis/lumina/controllers";
|
|
3
|
+
class n extends r {
|
|
4
|
+
constructor(t) {
|
|
5
|
+
super(t), this.ref = (e) => {
|
|
6
|
+
e !== this._referenceElement && (this._referenceElement = e, this.exports = void 0, e && e.componentOnReady().then(() => {
|
|
7
|
+
this._referenceElement === e && (this.exports = e);
|
|
8
|
+
}));
|
|
9
|
+
}, this.exports = void 0, this.watchExports(() => {
|
|
10
|
+
t.el.dispatchEvent(new CustomEvent("arcgisInternalLayoutUpdate", { bubbles: !0, composed: !0 }));
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
get element() {
|
|
14
|
+
return this.exports;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
n as E
|
|
19
|
+
};
|
|
@@ -1,70 +1,82 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
function
|
|
3
|
-
return e != null && typeof e == "object" && "type" in e && e.type ===
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
function n(e, r) {
|
|
3
|
+
return e != null && typeof e == "object" && "type" in e && e.type === r;
|
|
4
4
|
}
|
|
5
5
|
function u(e) {
|
|
6
|
-
return
|
|
6
|
+
return n(e, "annotation-feature");
|
|
7
7
|
}
|
|
8
8
|
function a(e) {
|
|
9
|
-
return
|
|
9
|
+
return n(e, "csv");
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
return
|
|
11
|
+
function i(e) {
|
|
12
|
+
return n(e, "dimension-feature");
|
|
13
13
|
}
|
|
14
14
|
function s(e) {
|
|
15
|
-
return
|
|
15
|
+
return t(e) && !e.url;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
return
|
|
17
|
+
function t(e) {
|
|
18
|
+
return n(e, "feature");
|
|
19
19
|
}
|
|
20
20
|
function o(e) {
|
|
21
|
-
return
|
|
22
|
-
}
|
|
23
|
-
function y(e) {
|
|
24
|
-
return r(e, "map-image");
|
|
21
|
+
return n(e, "geojson");
|
|
25
22
|
}
|
|
26
23
|
function c(e) {
|
|
27
|
-
return
|
|
24
|
+
return n(e, "imagery");
|
|
28
25
|
}
|
|
29
26
|
function f(e) {
|
|
30
|
-
return
|
|
27
|
+
return n(e, "imagery-tile");
|
|
31
28
|
}
|
|
32
|
-
function
|
|
33
|
-
return
|
|
29
|
+
function y(e) {
|
|
30
|
+
return e != null && typeof e == "object" && "type" in e;
|
|
34
31
|
}
|
|
35
32
|
function L(e) {
|
|
36
|
-
return
|
|
33
|
+
return n(e, "map-image");
|
|
37
34
|
}
|
|
38
|
-
function
|
|
39
|
-
return
|
|
35
|
+
function p(e) {
|
|
36
|
+
return n(e, "ogc-feature");
|
|
40
37
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
38
|
+
function b(e) {
|
|
39
|
+
return n(e, "scene");
|
|
43
40
|
}
|
|
44
41
|
function m(e) {
|
|
45
|
-
return
|
|
42
|
+
return n(e, "stream");
|
|
43
|
+
}
|
|
44
|
+
function g(e) {
|
|
45
|
+
return n(e, "sublayer") && "parent" in e;
|
|
46
46
|
}
|
|
47
47
|
function S(e) {
|
|
48
|
-
return
|
|
48
|
+
return n(e, "subtype-group") && "sublayers" in e;
|
|
49
49
|
}
|
|
50
50
|
function l(e) {
|
|
51
|
-
return
|
|
51
|
+
return n(e, "subtype-sublayer");
|
|
52
|
+
}
|
|
53
|
+
function F(e) {
|
|
54
|
+
return n(e, "voxel");
|
|
55
|
+
}
|
|
56
|
+
function j(e) {
|
|
57
|
+
return n(e, "wcs");
|
|
58
|
+
}
|
|
59
|
+
function C(e) {
|
|
60
|
+
return n(e, "wfs");
|
|
52
61
|
}
|
|
53
62
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
63
|
+
j as a,
|
|
64
|
+
F as b,
|
|
65
|
+
s as c,
|
|
66
|
+
c as d,
|
|
67
|
+
l as e,
|
|
59
68
|
t as f,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
m as g,
|
|
70
|
+
C as h,
|
|
71
|
+
f as i,
|
|
72
|
+
g as j,
|
|
73
|
+
S as k,
|
|
74
|
+
L as l,
|
|
75
|
+
y as m,
|
|
76
|
+
p as n,
|
|
77
|
+
a as o,
|
|
78
|
+
b as p,
|
|
79
|
+
o as q,
|
|
80
|
+
u as r,
|
|
81
|
+
i as s
|
|
70
82
|
};
|
package/dist/chunks/locale.js
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
const
|
|
3
|
-
function
|
|
4
|
-
const { formatter: r, lang:
|
|
5
|
-
if (
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
const m = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap();
|
|
3
|
+
function o(e, t) {
|
|
4
|
+
const { formatter: r, lang: n } = m.get(t) ?? {};
|
|
5
|
+
if (n === e && r)
|
|
6
6
|
return r;
|
|
7
7
|
const a = new Intl.NumberFormat(e, t);
|
|
8
|
-
return
|
|
8
|
+
return m.set(t, { lang: e, formatter: a }), a;
|
|
9
|
+
}
|
|
10
|
+
function f(e, t) {
|
|
11
|
+
const { formatter: r, lang: n } = c.get(t) ?? {};
|
|
12
|
+
if (n === e && r)
|
|
13
|
+
return r;
|
|
14
|
+
const a = new Intl.DateTimeFormat(e, t);
|
|
15
|
+
return c.set(t, { lang: e, formatter: a }), a;
|
|
9
16
|
}
|
|
10
17
|
export {
|
|
11
|
-
|
|
18
|
+
o as a,
|
|
19
|
+
f as g
|
|
12
20
|
};
|
package/dist/chunks/resources.js
CHANGED
package/dist/chunks/runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import "../cdn/main.css";
|
|
3
3
|
import { makeRuntime as e } from "@arcgis/lumina";
|
|
4
4
|
import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { g as d } from "./locale.js";
|
|
3
|
+
const u = 1440 * 60 * 1e3, b = /^(\d{4})-(\d{2})-(\d{2})$/u, F = /^(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?$/u;
|
|
4
|
+
class c {
|
|
5
|
+
constructor({
|
|
6
|
+
type: e,
|
|
7
|
+
editable: t,
|
|
8
|
+
precision: r,
|
|
9
|
+
steps: n
|
|
10
|
+
}) {
|
|
11
|
+
this.type = e, this.editable = t, this.precision = r, this.steps = n;
|
|
12
|
+
}
|
|
13
|
+
toDateOnly(e) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
toTimeOnly(e) {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
toTimestampOffset(e) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
toFieldType(e) {
|
|
23
|
+
return e;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
class m extends c {
|
|
27
|
+
constructor({ type: e, precision: t, integer: r = !1, minimum: n, maximum: a }) {
|
|
28
|
+
super({
|
|
29
|
+
type: e,
|
|
30
|
+
editable: !0,
|
|
31
|
+
precision: t
|
|
32
|
+
}), this._integer = r, this._minimum = n, this._maximum = a;
|
|
33
|
+
}
|
|
34
|
+
resolveRange(e, t, r) {
|
|
35
|
+
return {
|
|
36
|
+
min: t ?? Math.min(0, ...e),
|
|
37
|
+
max: r ?? Math.max(100, ...e)
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
parse(e) {
|
|
41
|
+
const t = Number.parseFloat(e.trim());
|
|
42
|
+
if (!Number.isFinite(t))
|
|
43
|
+
return;
|
|
44
|
+
const r = this._integer ? Math.trunc(t) : t;
|
|
45
|
+
return Math.min(this._maximum, Math.max(this._minimum, r));
|
|
46
|
+
}
|
|
47
|
+
serialize(e) {
|
|
48
|
+
return this._integer ? `${Math.trunc(e)}` : `${e}`;
|
|
49
|
+
}
|
|
50
|
+
format(e, t, r, n) {
|
|
51
|
+
return n(t);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
class w extends c {
|
|
55
|
+
constructor() {
|
|
56
|
+
super({
|
|
57
|
+
type: "date",
|
|
58
|
+
editable: !1,
|
|
59
|
+
precision: 0,
|
|
60
|
+
steps: 1e3
|
|
61
|
+
}), this._dateTimeFormatOptions = {
|
|
62
|
+
dateStyle: "short"
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
resolveRange(e, t, r) {
|
|
66
|
+
return g(e, t, r, Date.now());
|
|
67
|
+
}
|
|
68
|
+
parse(e) {
|
|
69
|
+
const t = Number.parseFloat(e.trim());
|
|
70
|
+
return Number.isFinite(t) ? Math.trunc(t) : void 0;
|
|
71
|
+
}
|
|
72
|
+
serialize(e) {
|
|
73
|
+
return `${Math.trunc(e)}`;
|
|
74
|
+
}
|
|
75
|
+
toDateOnly(e) {
|
|
76
|
+
return new Date(e).toISOString().slice(0, 10);
|
|
77
|
+
}
|
|
78
|
+
toTimeOnly(e) {
|
|
79
|
+
return new Date(e).toISOString().slice(11, 19);
|
|
80
|
+
}
|
|
81
|
+
toTimestampOffset(e) {
|
|
82
|
+
return new Date(e).toISOString();
|
|
83
|
+
}
|
|
84
|
+
format(e, t) {
|
|
85
|
+
return d(e, this._dateTimeFormatOptions).format(new Date(t));
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
class D extends c {
|
|
89
|
+
constructor() {
|
|
90
|
+
super({
|
|
91
|
+
type: "timestamp-offset",
|
|
92
|
+
editable: !1,
|
|
93
|
+
precision: 0,
|
|
94
|
+
steps: 1e3
|
|
95
|
+
}), this._dateTimeFormatOptions = {
|
|
96
|
+
dateStyle: "short"
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
resolveRange(e, t, r) {
|
|
100
|
+
return g(e, t, r, Date.now());
|
|
101
|
+
}
|
|
102
|
+
parse(e) {
|
|
103
|
+
const t = Date.parse(e.trim());
|
|
104
|
+
return Number.isFinite(t) ? t : void 0;
|
|
105
|
+
}
|
|
106
|
+
serialize(e) {
|
|
107
|
+
return new Date(e).toISOString();
|
|
108
|
+
}
|
|
109
|
+
toDateOnly(e) {
|
|
110
|
+
return new Date(e).toISOString().slice(0, 10);
|
|
111
|
+
}
|
|
112
|
+
toTimeOnly(e) {
|
|
113
|
+
return new Date(e).toISOString().slice(11, 19);
|
|
114
|
+
}
|
|
115
|
+
toTimestampOffset(e) {
|
|
116
|
+
return new Date(e).toISOString();
|
|
117
|
+
}
|
|
118
|
+
toFieldType(e) {
|
|
119
|
+
return this.serialize(e);
|
|
120
|
+
}
|
|
121
|
+
format(e, t) {
|
|
122
|
+
return d(e, this._dateTimeFormatOptions).format(new Date(t));
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
class T extends c {
|
|
126
|
+
constructor() {
|
|
127
|
+
super({
|
|
128
|
+
type: "date-only",
|
|
129
|
+
editable: !1,
|
|
130
|
+
precision: 0,
|
|
131
|
+
steps: u
|
|
132
|
+
}), this._dateFormatOptions = {
|
|
133
|
+
dateStyle: "short",
|
|
134
|
+
timeZone: "UTC"
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
resolveRange(e, t, r) {
|
|
138
|
+
return g(e, t, r, Math.trunc(Date.now() / u) * u);
|
|
139
|
+
}
|
|
140
|
+
parse(e) {
|
|
141
|
+
const t = b.exec(e.trim());
|
|
142
|
+
if (!t)
|
|
143
|
+
return;
|
|
144
|
+
const r = Number.parseInt(t[1], 10), n = Number.parseInt(t[2], 10), a = Number.parseInt(t[3], 10), s = Date.UTC(r, n - 1, a), o = new Date(s);
|
|
145
|
+
if (!(o.getUTCFullYear() !== r || o.getUTCMonth() !== n - 1 || o.getUTCDate() !== a))
|
|
146
|
+
return s;
|
|
147
|
+
}
|
|
148
|
+
serialize(e) {
|
|
149
|
+
return new Date(e).toISOString().slice(0, 10);
|
|
150
|
+
}
|
|
151
|
+
toDateOnly(e) {
|
|
152
|
+
return this.serialize(e);
|
|
153
|
+
}
|
|
154
|
+
toTimestampOffset(e) {
|
|
155
|
+
return new Date(e).toISOString();
|
|
156
|
+
}
|
|
157
|
+
toFieldType(e) {
|
|
158
|
+
return this.serialize(e);
|
|
159
|
+
}
|
|
160
|
+
format(e, t) {
|
|
161
|
+
return d(e, this._dateFormatOptions).format(new Date(t));
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
class _ extends c {
|
|
165
|
+
constructor() {
|
|
166
|
+
super({
|
|
167
|
+
type: "time-only",
|
|
168
|
+
editable: !1,
|
|
169
|
+
precision: 0,
|
|
170
|
+
steps: 1e3
|
|
171
|
+
}), this._timeFormatOptions = {
|
|
172
|
+
timeStyle: "medium",
|
|
173
|
+
timeZone: "UTC"
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
resolveRange(e, t, r) {
|
|
177
|
+
return { min: t ?? 0, max: r ?? u - 1 };
|
|
178
|
+
}
|
|
179
|
+
parse(e) {
|
|
180
|
+
const t = F.exec(e.trim());
|
|
181
|
+
if (!t)
|
|
182
|
+
return;
|
|
183
|
+
const r = Number.parseInt(t[1], 10), n = Number.parseInt(t[2], 10), a = t[3] ? Number.parseInt(t[3], 10) : 0, s = t[4] ? Number.parseInt(t[4].padEnd(3, "0").slice(0, 3), 10) : 0;
|
|
184
|
+
if (!(r > 23 || n > 59 || a > 59))
|
|
185
|
+
return ((r * 60 + n) * 60 + a) * 1e3 + s;
|
|
186
|
+
}
|
|
187
|
+
serialize(e) {
|
|
188
|
+
const t = Math.max(0, Math.min(u - 1, Math.floor(e))), r = Math.floor(t / 36e5), n = Math.floor(t % 36e5 / 6e4), a = Math.floor(t % 6e4 / 1e3), s = t % 1e3, o = `${p(r)}:${p(n)}:${p(a)}`;
|
|
189
|
+
return s > 0 ? `${o}.${s.toString().padStart(3, "0")}` : o;
|
|
190
|
+
}
|
|
191
|
+
toTimeOnly(e) {
|
|
192
|
+
return this.serialize(e);
|
|
193
|
+
}
|
|
194
|
+
toFieldType(e) {
|
|
195
|
+
return this.serialize(e);
|
|
196
|
+
}
|
|
197
|
+
format(e, t) {
|
|
198
|
+
return d(e, this._timeFormatOptions).format(new Date(t));
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
function p(i) {
|
|
202
|
+
return i.toString().padStart(2, "0");
|
|
203
|
+
}
|
|
204
|
+
function g(i, e, t, r) {
|
|
205
|
+
const n = t ?? (i.length > 0 ? Math.max(...i) : r);
|
|
206
|
+
return {
|
|
207
|
+
min: e ?? Math.min(n - 30 * u, ...i),
|
|
208
|
+
max: n
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
const h = {
|
|
212
|
+
min: -32768,
|
|
213
|
+
max: 32767
|
|
214
|
+
}, l = {
|
|
215
|
+
min: -2147483648,
|
|
216
|
+
max: 2147483647
|
|
217
|
+
}, y = {
|
|
218
|
+
min: -Number.MAX_SAFE_INTEGER,
|
|
219
|
+
max: Number.MAX_SAFE_INTEGER
|
|
220
|
+
}, S = (2 - 2 ** -23) * 2 ** 127, f = {
|
|
221
|
+
min: -S,
|
|
222
|
+
max: S
|
|
223
|
+
}, x = {
|
|
224
|
+
min: -Number.MAX_VALUE,
|
|
225
|
+
max: Number.MAX_VALUE
|
|
226
|
+
}, O = {
|
|
227
|
+
min: 0,
|
|
228
|
+
max: l.max
|
|
229
|
+
}, M = {
|
|
230
|
+
"small-integer": () => new m({
|
|
231
|
+
type: "small-integer",
|
|
232
|
+
precision: 0,
|
|
233
|
+
integer: !0,
|
|
234
|
+
minimum: h.min,
|
|
235
|
+
maximum: h.max
|
|
236
|
+
}),
|
|
237
|
+
integer: () => new m({
|
|
238
|
+
type: "integer",
|
|
239
|
+
precision: 0,
|
|
240
|
+
integer: !0,
|
|
241
|
+
minimum: l.min,
|
|
242
|
+
maximum: l.max
|
|
243
|
+
}),
|
|
244
|
+
"big-integer": () => new m({
|
|
245
|
+
type: "big-integer",
|
|
246
|
+
precision: 0,
|
|
247
|
+
integer: !0,
|
|
248
|
+
minimum: y.min,
|
|
249
|
+
maximum: y.max
|
|
250
|
+
}),
|
|
251
|
+
single: () => new m({
|
|
252
|
+
type: "single",
|
|
253
|
+
precision: 4,
|
|
254
|
+
minimum: f.min,
|
|
255
|
+
maximum: f.max
|
|
256
|
+
}),
|
|
257
|
+
double: () => new m({
|
|
258
|
+
type: "double",
|
|
259
|
+
precision: 4,
|
|
260
|
+
minimum: x.min,
|
|
261
|
+
maximum: x.max
|
|
262
|
+
}),
|
|
263
|
+
long: () => new m({
|
|
264
|
+
type: "long",
|
|
265
|
+
precision: 0,
|
|
266
|
+
integer: !0,
|
|
267
|
+
minimum: l.min,
|
|
268
|
+
maximum: l.max
|
|
269
|
+
}),
|
|
270
|
+
oid: () => new m({
|
|
271
|
+
type: "oid",
|
|
272
|
+
precision: 0,
|
|
273
|
+
integer: !0,
|
|
274
|
+
minimum: O.min,
|
|
275
|
+
maximum: O.max
|
|
276
|
+
}),
|
|
277
|
+
date: () => new w(),
|
|
278
|
+
"date-only": () => new T(),
|
|
279
|
+
"time-only": () => new _(),
|
|
280
|
+
"timestamp-offset": () => new D()
|
|
281
|
+
};
|
|
282
|
+
function N(i) {
|
|
283
|
+
return M[i]();
|
|
284
|
+
}
|
|
285
|
+
export {
|
|
286
|
+
N as g
|
|
287
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { css as a } from "lit";
|
|
3
|
+
const r = a`:host([toolbar-kind="floating"]){.ruler{opacity:0;pointer-events:none;position:absolute;visibility:hidden;flex-direction:column;height:min(100cqh - var(--arcgis-internal-attribution-space-top) - 2 * var(--calcite-space-lg),100vh - 2 * var(--calcite-space-lg));width:min(100cqw - 2 * var(--calcite-space-lg),100vw - 2 * var(--calcite-space-lg))}}:host([toolbar-kind="docked"]){.ruler{visibility:hidden;height:0;display:block;position:absolute;top:0;left:0;right:0;width:100%;height:100%}}`, 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)}`, c = 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}`, i = a`:host{max-inline-size:100%;max-block-size:100%;min-inline-size:0;min-block-size:0;--arcgis-toolbar-tooltip-dark-background-color: #212121;--arcgis-toolbar-tooltip-dark-border-color: #404040;--arcgis-toolbar-tooltip-dark-text-color: #fff}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%}}:host([toolbar-kind="docked"][layout="vertical"]){min-height:100%;calcite-action-bar{min-height:100%}}calcite-tooltip.calcite-mode-dark{--calcite-tooltip-background-color: var(--arcgis-toolbar-tooltip-dark-background-color);--calcite-tooltip-border-color: var(--arcgis-toolbar-tooltip-dark-border-color);--calcite-tooltip-text-color: var(--arcgis-toolbar-tooltip-dark-text-color)}:host([toolbar-kind="floating"][layout="vertical"]) .toolbar-shadow-wrapper{overflow-y:auto}:host([toolbar-kind="floating"][layout="horizontal"]) .toolbar-shadow-wrapper{overflow-x:auto}.toolbar-grid-wrapper{display:grid;max-inline-size:100%;max-block-size:100%;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([toolbar-kind="floating"]) .toolbar-shadow-wrapper{box-shadow:var(--calcite-shadow-md);background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));min-inline-size:0;min-block-size:0}`;
|
|
4
|
+
export {
|
|
5
|
+
r as a,
|
|
6
|
+
t as b,
|
|
7
|
+
c,
|
|
8
|
+
i as s
|
|
9
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
const e = {
|
|
3
|
+
ForceCollapse: 0,
|
|
4
|
+
Default: 1,
|
|
5
|
+
Medium: 100,
|
|
6
|
+
High: 200,
|
|
7
|
+
Max: 300,
|
|
8
|
+
NeverCollapse: 1e3
|
|
9
|
+
};
|
|
10
|
+
function r(o) {
|
|
11
|
+
return !!(o && typeof o == "object" && "measure" in o && "proxiedRender" in o && "componentOnReady" in o);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
e as L,
|
|
15
|
+
r as i
|
|
16
|
+
};
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { L as n } from "./types.js";
|
|
3
|
+
const d = {
|
|
4
|
+
groupSeparator: 1,
|
|
5
|
+
groupPadding: {
|
|
6
|
+
s: 4,
|
|
7
|
+
m: 8,
|
|
8
|
+
l: 10
|
|
9
|
+
},
|
|
10
|
+
actionPadding: {
|
|
11
|
+
s: 4,
|
|
12
|
+
m: 8,
|
|
13
|
+
l: 10
|
|
14
|
+
},
|
|
15
|
+
action: {
|
|
16
|
+
s: 24,
|
|
17
|
+
m: 32,
|
|
18
|
+
l: 44
|
|
19
|
+
},
|
|
20
|
+
splitButtonPart: {
|
|
21
|
+
horizontal: {
|
|
22
|
+
s: 24,
|
|
23
|
+
m: 24,
|
|
24
|
+
l: 24
|
|
25
|
+
},
|
|
26
|
+
vertical: {
|
|
27
|
+
s: 24,
|
|
28
|
+
m: 24,
|
|
29
|
+
l: 24
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
function g(s, p, i) {
|
|
34
|
+
const l = s.map((e, t) => ({ group: e, index: t })).sort(
|
|
35
|
+
(e, t) => (t.group.priority ?? n.Default) - (e.group.priority ?? n.Default) || e.index - t.index
|
|
36
|
+
).map(({ group: e }) => ({ group: e, lengthOptions: e.measure(p).values() })), o = /* @__PURE__ */ new Map();
|
|
37
|
+
let r = 0;
|
|
38
|
+
for (const e of l) {
|
|
39
|
+
const t = e.lengthOptions.next().value ?? 0;
|
|
40
|
+
o.set(e.group, t), r += t;
|
|
41
|
+
}
|
|
42
|
+
for (const e of l)
|
|
43
|
+
for (; r < i; ) {
|
|
44
|
+
const t = o.get(e.group);
|
|
45
|
+
if (!t || e.group.priority === n.ForceCollapse)
|
|
46
|
+
break;
|
|
47
|
+
const a = e.lengthOptions.next();
|
|
48
|
+
if (a.value === void 0)
|
|
49
|
+
break;
|
|
50
|
+
const u = r - t + a.value;
|
|
51
|
+
if (u > i || (o.set(e.group, a.value), r = u, a.done))
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
return s.map((e) => ({ group: e, budget: o.get(e) ?? 0 }));
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
d as W,
|
|
58
|
+
g as a
|
|
59
|
+
};
|