@agentic-ui-experience/ui-arcgis 0.0.1-beta.1

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/api.js ADDED
@@ -0,0 +1 @@
1
+ const _0x2c4292=_0x3b77;(function(_0x1076dc,_0x71ee88){const _0x49e5ae=_0x3b77,_0x1efd80=_0x1076dc();while(!![]){try{const _0x5ba412=parseInt(_0x49e5ae(0x119))/0x1*(-parseInt(_0x49e5ae(0x135))/0x2)+parseInt(_0x49e5ae(0x138))/0x3+-parseInt(_0x49e5ae(0x12f))/0x4*(-parseInt(_0x49e5ae(0x11a))/0x5)+-parseInt(_0x49e5ae(0x12c))/0x6+-parseInt(_0x49e5ae(0x125))/0x7*(-parseInt(_0x49e5ae(0x139))/0x8)+-parseInt(_0x49e5ae(0x126))/0x9*(-parseInt(_0x49e5ae(0x133))/0xa)+-parseInt(_0x49e5ae(0x127))/0xb*(parseInt(_0x49e5ae(0x11e))/0xc);if(_0x5ba412===_0x71ee88)break;else _0x1efd80['push'](_0x1efd80['shift']());}catch(_0x5de5d0){_0x1efd80['push'](_0x1efd80['shift']());}}}(_0x18ed,0x7ba29));function _0x3b77(_0x447fcc,_0x3dbde9){_0x447fcc=_0x447fcc-0x117;const _0x18edb6=_0x18ed();let _0x3b776e=_0x18edb6[_0x447fcc];return _0x3b776e;}import{z,CommonSchemas}from'@agentic-ui-experience/ui-runtime';const ArcGISBasemaps=[_0x2c4292(0x130),'arcgis/streets',_0x2c4292(0x121),_0x2c4292(0x11c),_0x2c4292(0x12d),_0x2c4292(0x136),'arcgis/outdoor',_0x2c4292(0x123)],defaultArcGISBasemap=_0x2c4292(0x130),defaultArcGISMapControls={'zoom':!![],'legend':![],'layerList':![],'search':![]},ArcGISBasemapSchema=z[_0x2c4292(0x13c)](ArcGISBasemaps),ArcGISMapHeightSchema=CommonSchemas[_0x2c4292(0x124)]['refine'](_0x5c646f=>typeof _0x5c646f!==_0x2c4292(0x137)||_0x5c646f>=0xb4&&_0x5c646f<=0x280,_0x2c4292(0x12a)),ArcGISMapControlsSchema=z['object']({'zoom':CommonSchemas[_0x2c4292(0x11b)][_0x2c4292(0x120)](),'legend':CommonSchemas['DynamicBoolean'][_0x2c4292(0x120)](),'layerList':CommonSchemas['DynamicBoolean'][_0x2c4292(0x120)](),'search':CommonSchemas['DynamicBoolean'][_0x2c4292(0x120)]()})['strict'](),ArcGISMapSourceSchema=z['discriminatedUnion']('type',[z['object']({'type':z[_0x2c4292(0x132)](_0x2c4292(0x129)),'itemId':CommonSchemas['DynamicString']})['strict'](),z['object']({'type':z['literal']('basemap'),'basemap':ArcGISBasemapSchema['optional'](),'center':z['object']({'latitude':CommonSchemas['DynamicNumber'],'longitude':CommonSchemas['DynamicNumber']})[_0x2c4292(0x13a)](),'zoom':CommonSchemas[_0x2c4292(0x124)]['optional']()})[_0x2c4292(0x13a)]()]),ArcGISMapViewPropsSchema=z[_0x2c4292(0x131)]({'title':CommonSchemas['DynamicString'][_0x2c4292(0x120)](),'description':CommonSchemas['DynamicString']['optional'](),'source':ArcGISMapSourceSchema,'controls':ArcGISMapControlsSchema[_0x2c4292(0x120)](),'height':ArcGISMapHeightSchema[_0x2c4292(0x120)](),'openInArcGIS':CommonSchemas[_0x2c4292(0x11b)][_0x2c4292(0x120)]()})[_0x2c4292(0x13a)](),ArcGISMapViewApi={'name':_0x2c4292(0x13f),'schema':ArcGISMapViewPropsSchema};function normalizeArcGISMapViewProps(_0x2224d6){const _0x3f8d54=_0x2c4292,_0x50519a={...defaultArcGISMapControls,..._0x2224d6['controls']},_0x4e968a=Number(_0x2224d6['height']??0x118);return{'title':typeof _0x2224d6[_0x3f8d54(0x11f)]==='string'?_0x2224d6[_0x3f8d54(0x11f)]:void 0x0,'description':typeof _0x2224d6['description']===_0x3f8d54(0x12e)?_0x2224d6['description']:void 0x0,'source':_0x2224d6[_0x3f8d54(0x118)][_0x3f8d54(0x13e)]===_0x3f8d54(0x122)?{'type':'basemap','basemap':_0x2224d6[_0x3f8d54(0x118)]['basemap']??defaultArcGISBasemap,'center':{'latitude':Number(_0x2224d6['source'][_0x3f8d54(0x134)]['latitude']),'longitude':Number(_0x2224d6[_0x3f8d54(0x118)][_0x3f8d54(0x134)][_0x3f8d54(0x117)])},'zoom':_0x2224d6[_0x3f8d54(0x118)]['zoom']===void 0x0?void 0x0:Number(_0x2224d6[_0x3f8d54(0x118)][_0x3f8d54(0x128)])}:{'type':'webmap','itemId':String(_0x2224d6[_0x3f8d54(0x118)]['itemId'])},'controls':{'zoom':Boolean(_0x50519a['zoom']),'legend':Boolean(_0x50519a[_0x3f8d54(0x11d)]),'layerList':Boolean(_0x50519a['layerList']),'search':Boolean(_0x50519a[_0x3f8d54(0x13b)])},'height':Number['isFinite'](_0x4e968a)?Math[_0x3f8d54(0x12b)](Math['max'](_0x4e968a,0xb4),0x280):0x118,'openInArcGIS':Boolean(_0x2224d6[_0x3f8d54(0x13d)]??![])};}export{ArcGISBasemaps,ArcGISMapViewApi,ArcGISMapViewPropsSchema,defaultArcGISBasemap,defaultArcGISMapControls,normalizeArcGISMapViewProps};function _0x18ed(){const _0x28c9ac=['arcgis/dark-gray','string','5868daqsob','arcgis/topographic','object','literal','10Xjcypa','center','536ylCbQf','arcgis/imagery','number','176880oOpPOM','7650584NaXplU','strict','search','enum','openInArcGIS','type','ArcGISMapView','longitude','source','971KgcgpT','2545gLEhZs','DynamicBoolean','arcgis/light-gray','legend','19356oZonML','title','optional','arcgis/navigation','basemap','portal/default','DynamicNumber','7XQMvnW','8152623OkYkCI','8404vKftnS','zoom','webmap','ArcGISMapView\x20height\x20must\x20be\x20between\x20180\x20and\x20640\x20pixels.','min','4013184ruUduD'];_0x18ed=function(){return _0x28c9ac;};return _0x18ed();}