@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.58 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{isActivationKey as e}from"../../core/keyboard.js";import{isWidgetConstructor as o}from"./jsxWidgetSupport.js";import{classes as r,isRTL as t,cssTransition as n,storeNode as i}from"./widgetUtils.js";import{accessibleHandler as s}from"./decorators/accessibleHandler.js";import{messageBundle as d}from"./decorators/messageBundle.js";import{vmEvent as c}from"./decorators/vmEvent.js";var a=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},u=function(e,o){for(var r=0,t=e.length;r<t;r++){var n=e[r];Array.isArray(n)?u(n,o):null!=n&&!1!==n&&(n.hasOwnProperty("vnodeSelector")||(n=a(n)),o.push(n))}},f=function(e,o){for(var r=[],t=2;t<arguments.length;t++)r[t-2]=arguments[t];if(1===r.length&&"string"==typeof r[0])return{vnodeSelector:e,properties:o||void 0,children:void 0,text:r[0],domNode:null};var n=[];return u(r,n),{vnodeSelector:e,properties:o||void 0,children:n,text:void 0,domNode:null}};const l=s,p=r,v=d,m=c,y=t,g=n,h=e,j=i;function x(e,r,...t){return"function"!=typeof e||o(e)?f(e,r??null,...t):e(r,...t)}function S(...e){return e}function b(e){return e&&"function"==typeof e.render}function N(e){return e&&"function"==typeof e.postMixInProperties&&"function"==typeof e.buildRendering&&"function"==typeof e.postCreate&&"function"==typeof e.startup}export{l as accessibleHandler,p as classes,g as cssTransition,N as hasDomNode,h as isActivationKey,y as isRTL,b as isWidget,v as messageBundle,j as storeNode,x as tsx,S as tsxFragment,m as vmEvent};