UNPKG

@chief-editor/ui

Version:

UI Component for chief editor

1 lines 695 B
var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,e=0,t=arguments.length;e<t;e++)r+=arguments[e].length;var a=Array(r),o=0;for(e=0;e<t;e++)for(var p=arguments[e],l=0,i=p.length;l<i;l++,o++)a[o]=p[l];return a};import{tuple}from"@co-hooks/util";export var INPUT_COMMON_ATTRS=tuple("accept","alt","autoComplete","autoFocus","capture","crossOrigin","form","formAction","formEncType","formMethod","formNoValidate","formTarget","height","list","max","maxLength","min","minLength","multiple","name","pattern","placeholder","readOnly","required","src","step","width");export var INPUT_ATTRS=tuple.apply(void 0,__spreadArrays(INPUT_COMMON_ATTRS,["checked","disabled","type","value"]));