zed-gpui 0.2.2 → 0.3.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/index.d.ts +7 -0
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
//#region src/common/enhance.d.ts
|
|
2
|
+
declare global {
|
|
3
|
+
function $_(c: typeof HTMLElement, o: unknown): void;
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
1
6
|
//#region src/core/index.d.ts
|
|
2
7
|
declare global {
|
|
3
8
|
interface HTMLElement {
|
|
@@ -7,6 +12,8 @@ declare global {
|
|
|
7
12
|
name_(name: string): this;
|
|
8
13
|
child_(...nodes: any[]): this;
|
|
9
14
|
text_(text: string): this;
|
|
15
|
+
remove_(): this;
|
|
16
|
+
dataset_(key: string, value: any): this;
|
|
10
17
|
class_(classList: string[]): this;
|
|
11
18
|
class_(className: string): this;
|
|
12
19
|
w_(w: string): this;
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.assign(HTMLElement.prototype,{id_(e){return this.id=e,this},attr_(e,t){return this.setAttribute(e,t),this},name_(e){return this.setAttribute(`name`,e),this},child_(...e){return this.append(...e),this},class_(e){return this.className=Array.isArray(e)?e.join(` `):e,this},w_(e){return this.style.width=e,this},h_(e){return this.style.height=e,this},size_(e,t){return this.style.width=e,this.style.height=t,this},minW_(e){return this.style.minWidth=e,this},minH_(e){return this.style.minHeight=e,this},maxW_(e){return this.style.maxWidth=e,this},maxH_(e){return this.style.maxHeight=e,this},flex_(){return this.style.display=`flex`,this},flexFlex_(){return this.style.display=`flex`,this.style.flex=`1 1 0%`,this},flexNone_(){return this.style.flex=`none`,this},flexAuto_(){return this.style.flex=`1 1 auto`,this},flexGrow_(e){return this.style.flexGrow=String(e),this},flexShrink_(e){return this.style.flexShrink=String(e),this},flexBasis_(e){return this.style.flexBasis=e,this},flexDirection_(e){return this.style.flexDirection=e,this},flexWrap_(e){return this.style.flexWrap=e,this},grid_(){return this.style.display=`grid`,this},gridTemplateColumns_(e){return this.style.gridTemplateColumns=e,this},gridTemplateRows_(e){return this.style.gridTemplateRows=e,this},gridColumn_(e){return this.style.gridColumn=e,this},gridRow_(e){return this.style.gridRow=e,this},gap_(e){return this.style.gap=e,this},gapX_(e){return this.style.columnGap=e,this},gapY_(e){return this.style.rowGap=e,this},justify_(e){return this.style.justifyContent=e,this},items_(e){return this.style.alignItems=e,this},content_(e){return this.style.alignContent=e,this},self_(e){return this.style.alignSelf=e,this},justifySelf_(e){return this.style.justifySelf=e,this},px_(e){return this.style.paddingLeft=e,this.style.paddingRight=e,this},py_(e){return this.style.paddingTop=e,this.style.paddingBottom=e,this},pt_(e){return this.style.paddingTop=e,this},pr_(e){return this.style.paddingRight=e,this},pb_(e){return this.style.paddingBottom=e,this},pl_(e){return this.style.paddingLeft=e,this},p_(e){return this.style.padding=e,this},mx_(e){return this.style.marginLeft=e,this.style.marginRight=e,this},my_(e){return this.style.marginTop=e,this.style.marginBottom=e,this},mt_(e){return this.style.marginTop=e,this},mr_(e){return this.style.marginRight=e,this},mb_(e){return this.style.marginBottom=e,this},ml_(e){return this.style.marginLeft=e,this},m_(e){return this.style.margin=e,this},border_(){return this.style.border=`1px solid currentColor`,this},borderW_(e){return this.style.borderWidth=e,this},borderT_(e){return this.style.borderTopWidth=e,this},borderR_(e){return this.style.borderRightWidth=e,this},borderB_(e){return this.style.borderBottomWidth=e,this},borderL_(e){return this.style.borderLeftWidth=e,this},borderColor_(e){return this.style.borderColor=e,this},borderStyle_(e){return this.style.borderStyle=e,this},rounded_(e){return this.style.borderRadius=e,this},roundedTL_(e){return this.style.borderTopLeftRadius=e,this},roundedTR_(e){return this.style.borderTopRightRadius=e,this},roundedBL_(e){return this.style.borderBottomLeftRadius=e,this},roundedBR_(e){return this.style.borderBottomRightRadius=e,this},bg_(e){return this.style.backgroundColor=e,this},bgColor_(e){return this.style.backgroundColor=e,this},bgImage_(e){return this.style.backgroundImage=e,this},bgSize_(e){return this.style.backgroundSize=e,this},bgPosition_(e){return this.style.backgroundPosition=e,this},bgRepeat_(e){return this.style.backgroundRepeat=e,this},shadow_(e){return this.style.boxShadow=e,this},shadowMd_(){return this.style.boxShadow=`0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)`,this},shadowLg_(){return this.style.boxShadow=`0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)`,this},shadowNone_(){return this.style.boxShadow=`none`,this},opacity_(e){return this.style.opacity=String(e),this},text_(e){return this.textContent=e,this},textColor_(e){return this.style.color=e,this},textSize_(e){return this.style.fontSize=e,this},textAlign_(e){return this.style.textAlign=e,this},fontWeight_(e){return this.style.fontWeight=e,this},lineHeight_(e){return this.style.lineHeight=e,this},letterSpacing_(e){return this.style.letterSpacing=e,this},textOverflow_(e){return this.style.textOverflow=e,this},whitespace_(e){return this.style.whiteSpace=e,this},truncate_(){return this.style.overflow=`hidden`,this.style.textOverflow=`ellipsis`,this.style.whiteSpace=`nowrap`,this},lineClamp_(e){return this.style.display=`-webkit-box`,this.style.webkitLineClamp=String(e),this.style.webkitBoxOrient=`vertical`,this.style.overflow=`hidden`,this},relative_(){return this.style.position=`relative`,this},absolute_(){return this.style.position=`absolute`,this},fixed_(){return this.style.position=`fixed`,this},sticky_(){return this.style.position=`sticky`,this},static_(){return this.style.position=`static`,this},inset_(e){return this.style.top=e,this.style.right=e,this.style.bottom=e,this.style.left=e,this},insetY_(e){return this.style.top=e,this.style.bottom=e,this},insetX_(e){return this.style.right=e,this.style.left=e,this},top_(e){return this.style.top=e,this},right_(e){return this.style.right=e,this},bottom_(e){return this.style.bottom=e,this},left_(e){return this.style.left=e,this},z_(e){return this.style.zIndex=String(e),this},zIndex_(e){return this.style.zIndex=String(e),this},overflow_(e){return this.style.overflow=e,this},overflowX_(e){return this.style.overflowX=e,this},overflowY_(e){return this.style.overflowY=e,this},overflowHidden_(){return this.style.overflow=`hidden`,this},overflowScroll_(){return this.style.overflow=`scroll`,this},overflowAuto_(){return this.style.overflow=`auto`,this},overflowVisible_(){return this.style.overflow=`visible`,this},cursor_(e){return this.style.cursor=e,this},cursorPointer_(){return this.style.cursor=`pointer`,this},cursorDefault_(){return this.style.cursor=`default`,this},cursorMove_(){return this.style.cursor=`move`,this},cursorGrab_(){return this.style.cursor=`grab`,this},cursorGrabbing_(){return this.style.cursor=`grabbing`,this},pointerEvents_(e){return this.style.pointerEvents=e,this},pointerEventsNone_(){return this.style.pointerEvents=`none`,this},pointerEventsAuto_(){return this.style.pointerEvents=`auto`,this},userSelect_(e){return this.style.userSelect=e,this},selectNone_(){return this.style.userSelect=`none`,this},selectText_(){return this.style.userSelect=`text`,this},selectAll_(){return this.style.userSelect=`all`,this},block_(){return this.style.display=`block`,this},inlineBlock_(){return this.style.display=`inline-block`,this},inline_(){return this.style.display=`inline`,this},hide_(){return this.style.display=`none`,this},visible_(){return this.style.visibility=`visible`,this},invisible_(){return this.style.visibility=`hidden`,this},rotate_(e){return this.style.transform=`rotate(`+e+`deg)`,this},scale_(e,t){return this.style.transform=`scale(`+e+`, `+(t??e)+`)`,this},transformTranslate_(e,t){return this.style.transform=`translate(`+e+`, `+t+`)`,this},transition_(e){return this.style.transition=e,this},transitionDuration_(e){return this.style.transitionDuration=e,this},transitionTimingFunction_(e){return this.style.transitionTimingFunction=e,this},transitionDelay_(e){return this.style.transitionDelay=e,this},onClick_(e){return this.on_(`click`,e)},onDoubleClick_(e){return this.on_(`dblclick`,e)},onMouseDown_(e){return this.on_(`mousedown`,e)},onMouseUp_(e){return this.on_(`mouseup`,e)},onMouseMove_(e){return this.on_(`mousemove`,e)},onMouseEnter_(e){return this.on_(`mouseenter`,e)},onMouseLeave_(e){return this.on_(`mouseleave`,e)},onMouseOver_(e){return this.on_(`mouseover`,e)},onMouseOut_(e){return this.on_(`mouseout`,e)},onMouseWheel_(e){return this.on_(`wheel`,e)},onKeyDown_(e){return this.on_(`keydown`,e)},onKeyUp_(e){return this.on_(`keyup`,e)},onKeyPress_(e){return this.on_(`keypress`,e)},onFocus_(e){return this.on_(`focus`,e)},onBlur_(e){return this.on_(`blur`,e)},onFocusIn_(e){return this.on_(`focusin`,e)},onFocusOut_(e){return this.on_(`focusout`,e)},onChange_(e){return this.on_(`change`,e)},onInput_(e){return this.on_(`input`,e)},onSubmit_(e){return this.on_(`submit`,e)},onReset_(e){return this.on_(`reset`,e)},onTouchStart_(e){return this.on_(`touchstart`,e)},onTouchEnd_(e){return this.on_(`touchend`,e)},onTouchMove_(e){return this.on_(`touchmove`,e)},onTouchCancel_(e){return this.on_(`touchcancel`,e)},onDrag_(e){return this.on_(`drag`,e)},onDragStart_(e){return this.on_(`dragstart`,e)},onDragEnd_(e){return this.on_(`dragend`,e)},onDragEnter_(e){return this.on_(`dragenter`,e)},onDragLeave_(e){return this.on_(`dragleave`,e)},onDragOver_(e){return this.on_(`dragover`,e)},onDragDrop_(e){return this.on_(`drop`,e)},onCopy_(e){return this.on_(`copy`,e)},onCut_(e){return this.on_(`cut`,e)},onPaste_(e){return this.on_(`paste`,e)},onScroll_(e){return this.on_(`scroll`,e)},onResize_(e){return this.on_(`resize`,e)},onPlay_(e){return this.on_(`play`,e)},onPause_(e){return this.on_(`pause`,e)},onEnded_(e){return this.on_(`ended`,e)},onVolumeChange_(e){return this.on_(`volumechange`,e)},onAnimationStart_(e){return this.on_(`animationstart`,e)},onAnimationEnd_(e){return this.on_(`animationend`,e)},onAnimationIteration_(e){return this.on_(`animationiteration`,e)},onTransitionEnd_(e){return this.on_(`transitionend`,e)},onPointerDown_(e){return this.on_(`pointerdown`,e)},onPointerUp_(e){return this.on_(`pointerup`,e)},onPointerMove_(e){return this.on_(`pointermove`,e)},onPointerEnter_(e){return this.on_(`pointerenter`,e)},onPointerLeave_(e){return this.on_(`pointerleave`,e)},onPointerCancel_(e){return this.on_(`pointercancel`,e)},on_(e,t){return this.addEventListener(e,t),this},off_(e,t){return this.removeEventListener(e,t),this}}),Object.assign(HTMLInputElement.prototype,{placeholder_(e){return this.placeholder=e,this},value_(e){return this.value=e,this},type_(e){return this.type=e,this},checked_(e=!0){return this.checked=e,this},disabled_(e=!0){return this.disabled=e,this},focus_(){return this.focus(),this},blur_(){return this.blur(),this},select_(){return this.select(),this},onChange_(e){return this.on_(`change`,e)},onInput_(e){return this.on_(`input`,e)}}),Object.assign(HTMLTextAreaElement.prototype,{placeholder_(e){return this.placeholder=e,this},value_(e){return this.value=e,this},rows_(e){return this.rows=e,this},cols_(e){return this.cols=e,this},disabled_(e=!0){return this.disabled=e,this},focus_(){return this.focus(),this},blur_(){return this.blur(),this},select_(){return this.select(),this},onChange_(e){return this.on_(`change`,e)},onInput_(e){return this.on_(`input`,e)}}),Object.assign(HTMLSelectElement.prototype,{value_(e){return this.value=e,this},options_(e){return this.replaceChildren(...e.map(e=>{let t=document.createElement(`option`);return t.value=String(e.value),t.textContent=e.label,t})),this},disabled_(e=!0){return this.disabled=e,this},focus_(){return this.focus(),this},blur_(){return this.blur(),this},onChange_(e){return this.on_(`change`,e)},onInput_(e){return this.on_(`input`,e)}}),Object.assign(HTMLButtonElement.prototype,{type_(e){return this.type=e,this},disabled_(e=!0){return this.disabled=e,this},name_(e){return this.name=e,this},value_(e){return this.value=e,this},autofocus_(e=!0){return this.autofocus=e,this}}),Object.assign(HTMLFormElement.prototype,{action_(e){return this.action=e,this},method_(e){return this.method=e,this},target_(e){return this.target=e,this},enctype_(e){return this.enctype=e,this},noValidate_(e=!0){return this.noValidate=e,this},reset_(){return this.reset(),this},submit_(){return this.submit(),this},requestSubmit_(){return this.requestSubmit(),this}}),Object.assign(HTMLAnchorElement.prototype,{href_(e){return this.href=e,this},target_(e){return this.target=e,this},rel_(e){return this.rel=e,this},download_(e=``){return this.download=e,this},referrerPolicy_(e){return this.referrerPolicy=e,this}}),Object.assign(HTMLImageElement.prototype,{src_(e){return this.src=e,this},alt_(e){return this.alt=e,this},width_(e){return this.width=e,this},height_(e){return this.height=e,this},loading_(e){return this.loading=e,this},decoding_(e){return this.decoding=e,this}}),Object.assign(HTMLMediaElement.prototype,{src_(e){return this.src=e,this},controls_(e=!0){return this.controls=e,this},autoplay_(e=!0){return this.autoplay=e,this},loop_(e=!0){return this.loop=e,this},muted_(e=!0){return this.muted=e,this},currentTime_(e){return this.currentTime=e,this},volume_(e){return this.volume=e,this},play_(){return this.play(),this},pause_(){return this.pause(),this}}),Object.assign(HTMLLabelElement.prototype,{for_(e){return this.htmlFor=e,this}}),Object.assign(HTMLOptionElement.prototype,{value_(e){return this.value=e,this},selected_(e=!0){return this.selected=e,this},disabled_(e=!0){return this.disabled=e,this},label_(e){return this.label=e,this}}),Object.assign(HTMLDetailsElement.prototype,{open_(e=!0){return this.open=e,this}}),Object.assign(HTMLDialogElement.prototype,{open_(e=!0){return this.open=e,this},show_(){return this.show(),this},showModal_(){return this.showModal(),this},close_(e){return this.close(e),this}}),Object.assign(HTMLProgressElement.prototype,{value_(e){return this.value=e,this},max_(e){return this.max=e,this}}),Object.assign(HTMLMeterElement.prototype,{value_(e){return this.value=e,this},min_(e){return this.min=e,this},max_(e){return this.max=e,this},low_(e){return this.low=e,this},high_(e){return this.high=e,this},optimum_(e){return this.optimum=e,this}});const e=e=>document.createElement(e),t=()=>document.createElement(`div`),n=()=>document.createElement(`span`),r=()=>document.createElement(`section`),i=()=>document.createElement(`p`),a=()=>document.createElement(`input`),o=()=>document.createElement(`textarea`),s=()=>document.createElement(`button`),c=e=>document.createElement(`select`).options_(e);export{s as btn,t as div,e as h,a as input,i as p,r as section,c as select,n as span,o as textarea};
|
|
1
|
+
globalThis.$_=(e,t)=>Object.assign(e.prototype,t),$_(HTMLElement,{id_(e){return this.id=e,this},attr_(e,t){return this.setAttribute(e,t),this},name_(e){return this.setAttribute(`name`,e),this},child_(...e){return this.append(...e),this},remove_(){return this.remove(),this},dataset_(e,t){return this.dataset[e]=t,this},class_(e){return this.className=Array.isArray(e)?e.join(` `):e,this},w_(e){return this.style.width=e,this},h_(e){return this.style.height=e,this},size_(e,t){return this.style.width=e,this.style.height=t,this},minW_(e){return this.style.minWidth=e,this},minH_(e){return this.style.minHeight=e,this},maxW_(e){return this.style.maxWidth=e,this},maxH_(e){return this.style.maxHeight=e,this},flex_(){return this.style.display=`flex`,this},flexFlex_(){return this.style.display=`flex`,this.style.flex=`1 1 0%`,this},flexNone_(){return this.style.flex=`none`,this},flexAuto_(){return this.style.flex=`1 1 auto`,this},flexGrow_(e){return this.style.flexGrow=String(e),this},flexShrink_(e){return this.style.flexShrink=String(e),this},flexBasis_(e){return this.style.flexBasis=e,this},flexDirection_(e){return this.style.flexDirection=e,this},flexWrap_(e){return this.style.flexWrap=e,this},grid_(){return this.style.display=`grid`,this},gridTemplateColumns_(e){return this.style.gridTemplateColumns=e,this},gridTemplateRows_(e){return this.style.gridTemplateRows=e,this},gridColumn_(e){return this.style.gridColumn=e,this},gridRow_(e){return this.style.gridRow=e,this},gap_(e){return this.style.gap=e,this},gapX_(e){return this.style.columnGap=e,this},gapY_(e){return this.style.rowGap=e,this},justify_(e){return this.style.justifyContent=e,this},items_(e){return this.style.alignItems=e,this},content_(e){return this.style.alignContent=e,this},self_(e){return this.style.alignSelf=e,this},justifySelf_(e){return this.style.justifySelf=e,this},px_(e){return this.style.paddingLeft=e,this.style.paddingRight=e,this},py_(e){return this.style.paddingTop=e,this.style.paddingBottom=e,this},pt_(e){return this.style.paddingTop=e,this},pr_(e){return this.style.paddingRight=e,this},pb_(e){return this.style.paddingBottom=e,this},pl_(e){return this.style.paddingLeft=e,this},p_(e){return this.style.padding=e,this},mx_(e){return this.style.marginLeft=e,this.style.marginRight=e,this},my_(e){return this.style.marginTop=e,this.style.marginBottom=e,this},mt_(e){return this.style.marginTop=e,this},mr_(e){return this.style.marginRight=e,this},mb_(e){return this.style.marginBottom=e,this},ml_(e){return this.style.marginLeft=e,this},m_(e){return this.style.margin=e,this},border_(){return this.style.border=`1px solid currentColor`,this},borderW_(e){return this.style.borderWidth=e,this},borderT_(e){return this.style.borderTopWidth=e,this},borderR_(e){return this.style.borderRightWidth=e,this},borderB_(e){return this.style.borderBottomWidth=e,this},borderL_(e){return this.style.borderLeftWidth=e,this},borderColor_(e){return this.style.borderColor=e,this},borderStyle_(e){return this.style.borderStyle=e,this},rounded_(e){return this.style.borderRadius=e,this},roundedTL_(e){return this.style.borderTopLeftRadius=e,this},roundedTR_(e){return this.style.borderTopRightRadius=e,this},roundedBL_(e){return this.style.borderBottomLeftRadius=e,this},roundedBR_(e){return this.style.borderBottomRightRadius=e,this},bg_(e){return this.style.backgroundColor=e,this},bgColor_(e){return this.style.backgroundColor=e,this},bgImage_(e){return this.style.backgroundImage=e,this},bgSize_(e){return this.style.backgroundSize=e,this},bgPosition_(e){return this.style.backgroundPosition=e,this},bgRepeat_(e){return this.style.backgroundRepeat=e,this},shadow_(e){return this.style.boxShadow=e,this},shadowMd_(){return this.style.boxShadow=`0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)`,this},shadowLg_(){return this.style.boxShadow=`0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)`,this},shadowNone_(){return this.style.boxShadow=`none`,this},opacity_(e){return this.style.opacity=String(e),this},text_(e){return this.textContent=e,this},textColor_(e){return this.style.color=e,this},textSize_(e){return this.style.fontSize=e,this},textAlign_(e){return this.style.textAlign=e,this},fontWeight_(e){return this.style.fontWeight=e,this},lineHeight_(e){return this.style.lineHeight=e,this},letterSpacing_(e){return this.style.letterSpacing=e,this},textOverflow_(e){return this.style.textOverflow=e,this},whitespace_(e){return this.style.whiteSpace=e,this},truncate_(){return this.style.overflow=`hidden`,this.style.textOverflow=`ellipsis`,this.style.whiteSpace=`nowrap`,this},lineClamp_(e){return this.style.display=`-webkit-box`,this.style.webkitLineClamp=String(e),this.style.webkitBoxOrient=`vertical`,this.style.overflow=`hidden`,this},relative_(){return this.style.position=`relative`,this},absolute_(){return this.style.position=`absolute`,this},fixed_(){return this.style.position=`fixed`,this},sticky_(){return this.style.position=`sticky`,this},static_(){return this.style.position=`static`,this},inset_(e){return this.style.top=e,this.style.right=e,this.style.bottom=e,this.style.left=e,this},insetY_(e){return this.style.top=e,this.style.bottom=e,this},insetX_(e){return this.style.right=e,this.style.left=e,this},top_(e){return this.style.top=e,this},right_(e){return this.style.right=e,this},bottom_(e){return this.style.bottom=e,this},left_(e){return this.style.left=e,this},z_(e){return this.style.zIndex=String(e),this},zIndex_(e){return this.style.zIndex=String(e),this},overflow_(e){return this.style.overflow=e,this},overflowX_(e){return this.style.overflowX=e,this},overflowY_(e){return this.style.overflowY=e,this},overflowHidden_(){return this.style.overflow=`hidden`,this},overflowScroll_(){return this.style.overflow=`scroll`,this},overflowAuto_(){return this.style.overflow=`auto`,this},overflowVisible_(){return this.style.overflow=`visible`,this},cursor_(e){return this.style.cursor=e,this},cursorPointer_(){return this.style.cursor=`pointer`,this},cursorDefault_(){return this.style.cursor=`default`,this},cursorMove_(){return this.style.cursor=`move`,this},cursorGrab_(){return this.style.cursor=`grab`,this},cursorGrabbing_(){return this.style.cursor=`grabbing`,this},pointerEvents_(e){return this.style.pointerEvents=e,this},pointerEventsNone_(){return this.style.pointerEvents=`none`,this},pointerEventsAuto_(){return this.style.pointerEvents=`auto`,this},userSelect_(e){return this.style.userSelect=e,this},selectNone_(){return this.style.userSelect=`none`,this},selectText_(){return this.style.userSelect=`text`,this},selectAll_(){return this.style.userSelect=`all`,this},block_(){return this.style.display=`block`,this},inlineBlock_(){return this.style.display=`inline-block`,this},inline_(){return this.style.display=`inline`,this},hide_(){return this.style.display=`none`,this},visible_(){return this.style.visibility=`visible`,this},invisible_(){return this.style.visibility=`hidden`,this},rotate_(e){return this.style.transform=`rotate(`+e+`deg)`,this},scale_(e,t){return this.style.transform=`scale(`+e+`, `+(t??e)+`)`,this},transformTranslate_(e,t){return this.style.transform=`translate(`+e+`, `+t+`)`,this},transition_(e){return this.style.transition=e,this},transitionDuration_(e){return this.style.transitionDuration=e,this},transitionTimingFunction_(e){return this.style.transitionTimingFunction=e,this},transitionDelay_(e){return this.style.transitionDelay=e,this},onClick_(e){return this.on_(`click`,e)},onDoubleClick_(e){return this.on_(`dblclick`,e)},onMouseDown_(e){return this.on_(`mousedown`,e)},onMouseUp_(e){return this.on_(`mouseup`,e)},onMouseMove_(e){return this.on_(`mousemove`,e)},onMouseEnter_(e){return this.on_(`mouseenter`,e)},onMouseLeave_(e){return this.on_(`mouseleave`,e)},onMouseOver_(e){return this.on_(`mouseover`,e)},onMouseOut_(e){return this.on_(`mouseout`,e)},onMouseWheel_(e){return this.on_(`wheel`,e)},onKeyDown_(e){return this.on_(`keydown`,e)},onKeyUp_(e){return this.on_(`keyup`,e)},onKeyPress_(e){return this.on_(`keypress`,e)},onFocus_(e){return this.on_(`focus`,e)},onBlur_(e){return this.on_(`blur`,e)},onFocusIn_(e){return this.on_(`focusin`,e)},onFocusOut_(e){return this.on_(`focusout`,e)},onChange_(e){return this.on_(`change`,e)},onInput_(e){return this.on_(`input`,e)},onSubmit_(e){return this.on_(`submit`,e)},onReset_(e){return this.on_(`reset`,e)},onTouchStart_(e){return this.on_(`touchstart`,e)},onTouchEnd_(e){return this.on_(`touchend`,e)},onTouchMove_(e){return this.on_(`touchmove`,e)},onTouchCancel_(e){return this.on_(`touchcancel`,e)},onDrag_(e){return this.on_(`drag`,e)},onDragStart_(e){return this.on_(`dragstart`,e)},onDragEnd_(e){return this.on_(`dragend`,e)},onDragEnter_(e){return this.on_(`dragenter`,e)},onDragLeave_(e){return this.on_(`dragleave`,e)},onDragOver_(e){return this.on_(`dragover`,e)},onDragDrop_(e){return this.on_(`drop`,e)},onCopy_(e){return this.on_(`copy`,e)},onCut_(e){return this.on_(`cut`,e)},onPaste_(e){return this.on_(`paste`,e)},onScroll_(e){return this.on_(`scroll`,e)},onResize_(e){return this.on_(`resize`,e)},onPlay_(e){return this.on_(`play`,e)},onPause_(e){return this.on_(`pause`,e)},onEnded_(e){return this.on_(`ended`,e)},onVolumeChange_(e){return this.on_(`volumechange`,e)},onAnimationStart_(e){return this.on_(`animationstart`,e)},onAnimationEnd_(e){return this.on_(`animationend`,e)},onAnimationIteration_(e){return this.on_(`animationiteration`,e)},onTransitionEnd_(e){return this.on_(`transitionend`,e)},onPointerDown_(e){return this.on_(`pointerdown`,e)},onPointerUp_(e){return this.on_(`pointerup`,e)},onPointerMove_(e){return this.on_(`pointermove`,e)},onPointerEnter_(e){return this.on_(`pointerenter`,e)},onPointerLeave_(e){return this.on_(`pointerleave`,e)},onPointerCancel_(e){return this.on_(`pointercancel`,e)},on_(e,t){return this.addEventListener(e,t),this},off_(e,t){return this.removeEventListener(e,t),this}}),$_(HTMLInputElement,{placeholder_(e){return this.placeholder=e,this},value_(e){return this.value=e,this},type_(e){return this.type=e,this},checked_(e=!0){return this.checked=e,this},disabled_(e=!0){return this.disabled=e,this},focus_(){return this.focus(),this},blur_(){return this.blur(),this},select_(){return this.select(),this},onChange_(e){return this.on_(`change`,e)},onInput_(e){return this.on_(`input`,e)}}),$_(HTMLTextAreaElement,{placeholder_(e){return this.placeholder=e,this},value_(e){return this.value=e,this},rows_(e){return this.rows=e,this},cols_(e){return this.cols=e,this},disabled_(e=!0){return this.disabled=e,this},focus_(){return this.focus(),this},blur_(){return this.blur(),this},select_(){return this.select(),this},onChange_(e){return this.on_(`change`,e)},onInput_(e){return this.on_(`input`,e)}}),$_(HTMLSelectElement,{value_(e){return this.value=e,this},options_(e){return this.replaceChildren(...e.map(e=>{let t=document.createElement(`option`);return t.value=String(e.value),t.textContent=e.label,t})),this},disabled_(e=!0){return this.disabled=e,this},focus_(){return this.focus(),this},blur_(){return this.blur(),this},onChange_(e){return this.on_(`change`,e)},onInput_(e){return this.on_(`input`,e)}}),$_(HTMLButtonElement,{type_(e){return this.type=e,this},disabled_(e=!0){return this.disabled=e,this},name_(e){return this.name=e,this},value_(e){return this.value=e,this},autofocus_(e=!0){return this.autofocus=e,this}}),$_(HTMLFormElement,{action_(e){return this.action=e,this},method_(e){return this.method=e,this},target_(e){return this.target=e,this},enctype_(e){return this.enctype=e,this},noValidate_(e=!0){return this.noValidate=e,this},reset_(){return this.reset(),this},submit_(){return this.submit(),this},requestSubmit_(){return this.requestSubmit(),this}}),$_(HTMLAnchorElement,{href_(e){return this.href=e,this},target_(e){return this.target=e,this},rel_(e){return this.rel=e,this},download_(e=``){return this.download=e,this},referrerPolicy_(e){return this.referrerPolicy=e,this}}),$_(HTMLImageElement,{src_(e){return this.src=e,this},alt_(e){return this.alt=e,this},width_(e){return this.width=e,this},height_(e){return this.height=e,this},loading_(e){return this.loading=e,this},decoding_(e){return this.decoding=e,this}}),$_(HTMLMediaElement,{src_(e){return this.src=e,this},controls_(e=!0){return this.controls=e,this},autoplay_(e=!0){return this.autoplay=e,this},loop_(e=!0){return this.loop=e,this},muted_(e=!0){return this.muted=e,this},currentTime_(e){return this.currentTime=e,this},volume_(e){return this.volume=e,this},play_(){return this.play(),this},pause_(){return this.pause(),this}}),$_(HTMLLabelElement,{for_(e){return this.htmlFor=e,this}}),$_(HTMLOptionElement,{value_(e){return this.value=e,this},selected_(e=!0){return this.selected=e,this},disabled_(e=!0){return this.disabled=e,this},label_(e){return this.label=e,this}}),$_(HTMLDetailsElement,{open_(e=!0){return this.open=e,this}}),$_(HTMLDialogElement,{open_(e=!0){return this.open=e,this},show_(){return this.show(),this},showModal_(){return this.showModal(),this},close_(e){return this.close(e),this}}),$_(HTMLProgressElement,{value_(e){return this.value=e,this},max_(e){return this.max=e,this}}),$_(HTMLMeterElement,{value_(e){return this.value=e,this},min_(e){return this.min=e,this},max_(e){return this.max=e,this},low_(e){return this.low=e,this},high_(e){return this.high=e,this},optimum_(e){return this.optimum=e,this}}),Reflect.deleteProperty(globalThis,`$_`);const e=e=>document.createElement(e),t=()=>document.createElement(`div`),n=()=>document.createElement(`span`),r=()=>document.createElement(`section`),i=()=>document.createElement(`p`),a=()=>document.createElement(`input`),o=()=>document.createElement(`textarea`),s=()=>document.createElement(`button`),c=e=>document.createElement(`select`).options_(e);export{s as btn,t as div,e as h,a as input,i as p,r as section,c as select,n as span,o as textarea};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/core/index.ts","../src/core/input.ts","../src/core/textarea.ts","../src/core/select.ts","../src/core/button.ts","../src/core/form.ts","../src/core/a.ts","../src/core/img.ts","../src/core/media.ts","../src/core/label.ts","../src/core/option.ts","../src/core/details.ts","../src/core/dialog.ts","../src/core/progress.ts","../src/index.ts"],"sourcesContent":["declare global {\n interface HTMLElement {\n jpui: true;\n\n id_(id: string): this;\n attr_(attr: string, value: any): this;\n name_(name: string): this;\n child_(...nodes: any[]): this;\n text_(text: string): this;\n\n class_(classList: string[]): this;\n class_(className: string): this;\n w_(w: string): this;\n h_(h: string): this;\n size_(w: string, h: string): this;\n minW_(w: string): this;\n minH_(h: string): this;\n maxW_(w: string): this;\n maxH_(h: string): this;\n flex_(): this;\n flexFlex_(): this;\n flexNone_(): this;\n flexAuto_(): this;\n flexGrow_(grow: number): this;\n flexShrink_(shrink: number): this;\n flexBasis_(basis: string): this;\n flexDirection_(direction: string): this;\n flexWrap_(wrap: string): this;\n grid_(): this;\n gridTemplateColumns_(columns: string): this;\n gridTemplateRows_(rows: string): this;\n gridColumn_(column: string): this;\n gridRow_(row: string): this;\n gap_(gap: string): this;\n gapX_(gap: string): this;\n gapY_(gap: string): this;\n justify_(justify: string): this;\n items_(items: string): this;\n content_(content: string): this;\n self_(alignSelf: string): this;\n justifySelf_(justifySelf: string): this;\n px_(px: string): this;\n py_(py: string): this;\n pt_(pt: string): this;\n pr_(pr: string): this;\n pb_(pb: string): this;\n pl_(pl: string): this;\n p_(p: string): this;\n mx_(mx: string): this;\n my_(my: string): this;\n mt_(mt: string): this;\n mr_(mr: string): this;\n mb_(mb: string): this;\n ml_(ml: string): this;\n m_(m: string): this;\n border_(): this;\n borderW_(width: string): this;\n borderT_(width: string): this;\n borderR_(width: string): this;\n borderB_(width: string): this;\n borderL_(width: string): this;\n borderColor_(color: string): this;\n borderStyle_(style: string): this;\n rounded_(radius: string): this;\n roundedTL_(radius: string): this;\n roundedTR_(radius: string): this;\n roundedBL_(radius: string): this;\n roundedBR_(radius: string): this;\n bg_(color: string): this;\n bgColor_(color: string): this;\n bgImage_(image: string): this;\n bgSize_(size: string): this;\n bgPosition_(position: string): this;\n bgRepeat_(repeat: string): this;\n shadow_(shadow: string): this;\n shadowMd_(): this;\n shadowLg_(): this;\n shadowNone_(): this;\n opacity_(value: number): this;\n textColor_(color: string): this;\n textSize_(size: string): this;\n textAlign_(align: string): this;\n fontWeight_(weight: string): this;\n lineHeight_(height: string): this;\n letterSpacing_(spacing: string): this;\n textOverflow_(overflow: string): this;\n whitespace_(value: string): this;\n truncate_(): this;\n lineClamp_(lines: number): this;\n relative_(): this;\n absolute_(): this;\n fixed_(): this;\n sticky_(): this;\n static_(): this;\n inset_(value: string): this;\n insetY_(value: string): this;\n insetX_(value: string): this;\n top_(value: string): this;\n right_(value: string): this;\n bottom_(value: string): this;\n left_(value: string): this;\n z_(value: number): this;\n zIndex_(value: number): this;\n overflow_(value: string): this;\n overflowX_(value: string): this;\n overflowY_(value: string): this;\n overflowHidden_(): this;\n overflowScroll_(): this;\n overflowAuto_(): this;\n overflowVisible_(): this;\n cursor_(cursor: string): this;\n cursorPointer_(): this;\n cursorDefault_(): this;\n cursorMove_(): this;\n cursorGrab_(): this;\n cursorGrabbing_(): this;\n pointerEvents_(value: string): this;\n pointerEventsNone_(): this;\n pointerEventsAuto_(): this;\n userSelect_(value: string): this;\n selectNone_(): this;\n selectText_(): this;\n selectAll_(): this;\n block_(): this;\n inlineBlock_(): this;\n inline_(): this;\n hide_(): this;\n visible_(): this;\n invisible_(): this;\n rotate_(deg: number): this;\n scale_(x: number, y?: number): this;\n transformTranslate_(x: string, y: string): this;\n transition_(property: string): this;\n transitionDuration_(duration: string): this;\n transitionTimingFunction_(timing: string): this;\n transitionDelay_(delay: string): this;\n\n onClick_(handler: (event: MouseEvent) => void): this;\n onDoubleClick_(handler: (event: MouseEvent) => void): this;\n onMouseDown_(handler: (event: MouseEvent) => void): this;\n onMouseUp_(handler: (event: MouseEvent) => void): this;\n onMouseMove_(handler: (event: MouseEvent) => void): this;\n onMouseEnter_(handler: (event: MouseEvent) => void): this;\n onMouseLeave_(handler: (event: MouseEvent) => void): this;\n onMouseOver_(handler: (event: MouseEvent) => void): this;\n onMouseOut_(handler: (event: MouseEvent) => void): this;\n onMouseWheel_(handler: (event: WheelEvent) => void): this;\n onKeyDown_(handler: (event: KeyboardEvent) => void): this;\n onKeyUp_(handler: (event: KeyboardEvent) => void): this;\n onKeyPress_(handler: (event: KeyboardEvent) => void): this;\n onFocus_(handler: (event: FocusEvent) => void): this;\n onBlur_(handler: (event: FocusEvent) => void): this;\n onFocusIn_(handler: (event: FocusEvent) => void): this;\n onFocusOut_(handler: (event: FocusEvent) => void): this;\n onChange_(handler: (event: Event) => void): this;\n onInput_(handler: (event: Event) => void): this;\n onSubmit_(handler: (event: SubmitEvent) => void): this;\n onReset_(handler: (event: Event) => void): this;\n onTouchStart_(handler: (event: TouchEvent) => void): this;\n onTouchEnd_(handler: (event: TouchEvent) => void): this;\n onTouchMove_(handler: (event: TouchEvent) => void): this;\n onTouchCancel_(handler: (event: TouchEvent) => void): this;\n onDrag_(handler: (event: DragEvent) => void): this;\n onDragStart_(handler: (event: DragEvent) => void): this;\n onDragEnd_(handler: (event: DragEvent) => void): this;\n onDragEnter_(handler: (event: DragEvent) => void): this;\n onDragLeave_(handler: (event: DragEvent) => void): this;\n onDragOver_(handler: (event: DragEvent) => void): this;\n onDragDrop_(handler: (event: DragEvent) => void): this;\n onCopy_(handler: (event: ClipboardEvent) => void): this;\n onCut_(handler: (event: ClipboardEvent) => void): this;\n onPaste_(handler: (event: ClipboardEvent) => void): this;\n onScroll_(handler: (event: Event) => void): this;\n onResize_(handler: (event: UIEvent) => void): this;\n onPlay_(handler: (event: Event) => void): this;\n onPause_(handler: (event: Event) => void): this;\n onEnded_(handler: (event: Event) => void): this;\n onVolumeChange_(handler: (event: Event) => void): this;\n onAnimationStart_(handler: (event: AnimationEvent) => void): this;\n onAnimationEnd_(handler: (event: AnimationEvent) => void): this;\n onAnimationIteration_(handler: (event: AnimationEvent) => void): this;\n onTransitionEnd_(handler: (event: TransitionEvent) => void): this;\n onPointerDown_(handler: (event: PointerEvent) => void): this;\n onPointerUp_(handler: (event: PointerEvent) => void): this;\n onPointerMove_(handler: (event: PointerEvent) => void): this;\n onPointerEnter_(handler: (event: PointerEvent) => void): this;\n onPointerLeave_(handler: (event: PointerEvent) => void): this;\n onPointerCancel_(handler: (event: PointerEvent) => void): this;\n on_(eventName: string, handler: EventListener): this;\n off_(eventName: string, handler: EventListener): this;\n }\n}\n\nObject.assign(HTMLElement.prototype, {\n id_(id) {\n this.id = id;\n return this;\n },\n attr_(attr, value) {\n this.setAttribute(attr, value);\n return this;\n },\n name_(name) {\n this.setAttribute('name', name);\n return this;\n },\n child_(...nodes) {\n this.append(...nodes);\n return this;\n },\n class_(c) {\n this.className = Array.isArray(c) ? c.join(' ') : c;\n return this;\n },\n w_(w) {\n this.style.width = w;\n return this;\n },\n h_(h) {\n this.style.height = h;\n return this;\n },\n size_(w, h) {\n this.style.width = w;\n this.style.height = h;\n return this;\n },\n minW_(w) {\n this.style.minWidth = w;\n return this;\n },\n minH_(h) {\n this.style.minHeight = h;\n return this;\n },\n maxW_(w) {\n this.style.maxWidth = w;\n return this;\n },\n maxH_(h) {\n this.style.maxHeight = h;\n return this;\n },\n flex_() {\n this.style.display = 'flex';\n return this;\n },\n flexFlex_() {\n this.style.display = 'flex';\n this.style.flex = '1 1 0%';\n return this;\n },\n flexNone_() {\n this.style.flex = 'none';\n return this;\n },\n flexAuto_() {\n this.style.flex = '1 1 auto';\n return this;\n },\n flexGrow_(grow) {\n this.style.flexGrow = String(grow);\n return this;\n },\n flexShrink_(shrink) {\n this.style.flexShrink = String(shrink);\n return this;\n },\n flexBasis_(basis) {\n this.style.flexBasis = basis;\n return this;\n },\n flexDirection_(direction) {\n this.style.flexDirection = direction;\n return this;\n },\n flexWrap_(wrap) {\n this.style.flexWrap = wrap;\n return this;\n },\n grid_() {\n this.style.display = 'grid';\n return this;\n },\n gridTemplateColumns_(columns) {\n this.style.gridTemplateColumns = columns;\n return this;\n },\n gridTemplateRows_(rows) {\n this.style.gridTemplateRows = rows;\n return this;\n },\n gridColumn_(column) {\n this.style.gridColumn = column;\n return this;\n },\n gridRow_(row) {\n this.style.gridRow = row;\n return this;\n },\n gap_(gap) {\n this.style.gap = gap;\n return this;\n },\n gapX_(gap) {\n this.style.columnGap = gap;\n return this;\n },\n gapY_(gap) {\n this.style.rowGap = gap;\n return this;\n },\n justify_(justify) {\n this.style.justifyContent = justify;\n return this;\n },\n items_(items) {\n this.style.alignItems = items;\n return this;\n },\n content_(content) {\n this.style.alignContent = content;\n return this;\n },\n self_(alignSelf) {\n this.style.alignSelf = alignSelf;\n return this;\n },\n justifySelf_(justifySelf) {\n this.style.justifySelf = justifySelf;\n return this;\n },\n px_(px) {\n this.style.paddingLeft = px;\n this.style.paddingRight = px;\n return this;\n },\n py_(py) {\n this.style.paddingTop = py;\n this.style.paddingBottom = py;\n return this;\n },\n pt_(pt) {\n this.style.paddingTop = pt;\n return this;\n },\n pr_(pr) {\n this.style.paddingRight = pr;\n return this;\n },\n pb_(pb) {\n this.style.paddingBottom = pb;\n return this;\n },\n pl_(pl) {\n this.style.paddingLeft = pl;\n return this;\n },\n p_(p) {\n this.style.padding = p;\n return this;\n },\n mx_(mx) {\n this.style.marginLeft = mx;\n this.style.marginRight = mx;\n return this;\n },\n my_(my) {\n this.style.marginTop = my;\n this.style.marginBottom = my;\n return this;\n },\n mt_(mt) {\n this.style.marginTop = mt;\n return this;\n },\n mr_(mr) {\n this.style.marginRight = mr;\n return this;\n },\n mb_(mb) {\n this.style.marginBottom = mb;\n return this;\n },\n ml_(ml) {\n this.style.marginLeft = ml;\n return this;\n },\n m_(m) {\n this.style.margin = m;\n return this;\n },\n border_() {\n this.style.border = '1px solid currentColor';\n return this;\n },\n borderW_(width) {\n this.style.borderWidth = width;\n return this;\n },\n borderT_(width) {\n this.style.borderTopWidth = width;\n return this;\n },\n borderR_(width) {\n this.style.borderRightWidth = width;\n return this;\n },\n borderB_(width) {\n this.style.borderBottomWidth = width;\n return this;\n },\n borderL_(width) {\n this.style.borderLeftWidth = width;\n return this;\n },\n borderColor_(color) {\n this.style.borderColor = color;\n return this;\n },\n borderStyle_(style) {\n this.style.borderStyle = style;\n return this;\n },\n rounded_(radius) {\n this.style.borderRadius = radius;\n return this;\n },\n roundedTL_(radius) {\n this.style.borderTopLeftRadius = radius;\n return this;\n },\n roundedTR_(radius) {\n this.style.borderTopRightRadius = radius;\n return this;\n },\n roundedBL_(radius) {\n this.style.borderBottomLeftRadius = radius;\n return this;\n },\n roundedBR_(radius) {\n this.style.borderBottomRightRadius = radius;\n return this;\n },\n bg_(color) {\n this.style.backgroundColor = color;\n return this;\n },\n bgColor_(color) {\n this.style.backgroundColor = color;\n return this;\n },\n bgImage_(image) {\n this.style.backgroundImage = image;\n return this;\n },\n bgSize_(size) {\n this.style.backgroundSize = size;\n return this;\n },\n bgPosition_(position) {\n this.style.backgroundPosition = position;\n return this;\n },\n bgRepeat_(repeat) {\n this.style.backgroundRepeat = repeat;\n return this;\n },\n shadow_(shadow) {\n this.style.boxShadow = shadow;\n return this;\n },\n shadowMd_() {\n this.style.boxShadow = '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)';\n return this;\n },\n shadowLg_() {\n this.style.boxShadow = '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)';\n return this;\n },\n shadowNone_() {\n this.style.boxShadow = 'none';\n return this;\n },\n opacity_(value) {\n this.style.opacity = String(value);\n return this;\n },\n text_(t) {\n this.textContent = t;\n return this;\n },\n textColor_(color) {\n this.style.color = color;\n return this;\n },\n textSize_(size) {\n this.style.fontSize = size;\n return this;\n },\n textAlign_(align) {\n this.style.textAlign = align;\n return this;\n },\n fontWeight_(weight) {\n this.style.fontWeight = weight;\n return this;\n },\n lineHeight_(height) {\n this.style.lineHeight = height;\n return this;\n },\n letterSpacing_(spacing) {\n this.style.letterSpacing = spacing;\n return this;\n },\n textOverflow_(overflow) {\n this.style.textOverflow = overflow;\n return this;\n },\n whitespace_(value) {\n this.style.whiteSpace = value;\n return this;\n },\n truncate_() {\n this.style.overflow = 'hidden';\n this.style.textOverflow = 'ellipsis';\n this.style.whiteSpace = 'nowrap';\n return this;\n },\n lineClamp_(lines) {\n this.style.display = '-webkit-box';\n this.style.webkitLineClamp = String(lines);\n this.style.webkitBoxOrient = 'vertical';\n this.style.overflow = 'hidden';\n return this;\n },\n relative_() {\n this.style.position = 'relative';\n return this;\n },\n absolute_() {\n this.style.position = 'absolute';\n return this;\n },\n fixed_() {\n this.style.position = 'fixed';\n return this;\n },\n sticky_() {\n this.style.position = 'sticky';\n return this;\n },\n static_() {\n this.style.position = 'static';\n return this;\n },\n inset_(value) {\n this.style.top = value;\n this.style.right = value;\n this.style.bottom = value;\n this.style.left = value;\n return this;\n },\n insetY_(value) {\n this.style.top = value;\n this.style.bottom = value;\n return this;\n },\n insetX_(value) {\n this.style.right = value;\n this.style.left = value;\n return this;\n },\n top_(value) {\n this.style.top = value;\n return this;\n },\n right_(value) {\n this.style.right = value;\n return this;\n },\n bottom_(value) {\n this.style.bottom = value;\n return this;\n },\n left_(value) {\n this.style.left = value;\n return this;\n },\n z_(value) {\n this.style.zIndex = String(value);\n return this;\n },\n zIndex_(value) {\n this.style.zIndex = String(value);\n return this;\n },\n overflow_(value) {\n this.style.overflow = value;\n return this;\n },\n overflowX_(value) {\n this.style.overflowX = value;\n return this;\n },\n overflowY_(value) {\n this.style.overflowY = value;\n return this;\n },\n overflowHidden_() {\n this.style.overflow = 'hidden';\n return this;\n },\n overflowScroll_() {\n this.style.overflow = 'scroll';\n return this;\n },\n overflowAuto_() {\n this.style.overflow = 'auto';\n return this;\n },\n overflowVisible_() {\n this.style.overflow = 'visible';\n return this;\n },\n cursor_(cursor) {\n this.style.cursor = cursor;\n return this;\n },\n cursorPointer_() {\n this.style.cursor = 'pointer';\n return this;\n },\n cursorDefault_() {\n this.style.cursor = 'default';\n return this;\n },\n cursorMove_() {\n this.style.cursor = 'move';\n return this;\n },\n cursorGrab_() {\n this.style.cursor = 'grab';\n return this;\n },\n cursorGrabbing_() {\n this.style.cursor = 'grabbing';\n return this;\n },\n pointerEvents_(value) {\n this.style.pointerEvents = value;\n return this;\n },\n pointerEventsNone_() {\n this.style.pointerEvents = 'none';\n return this;\n },\n pointerEventsAuto_() {\n this.style.pointerEvents = 'auto';\n return this;\n },\n userSelect_(value) {\n this.style.userSelect = value;\n return this;\n },\n selectNone_() {\n this.style.userSelect = 'none';\n return this;\n },\n selectText_() {\n this.style.userSelect = 'text';\n return this;\n },\n selectAll_() {\n this.style.userSelect = 'all';\n return this;\n },\n block_() {\n this.style.display = 'block';\n return this;\n },\n inlineBlock_() {\n this.style.display = 'inline-block';\n return this;\n },\n inline_() {\n this.style.display = 'inline';\n return this;\n },\n hide_() {\n this.style.display = 'none';\n return this;\n },\n visible_() {\n this.style.visibility = 'visible';\n return this;\n },\n invisible_() {\n this.style.visibility = 'hidden';\n return this;\n },\n rotate_(deg) {\n this.style.transform = 'rotate(' + deg + 'deg)';\n return this;\n },\n scale_(x, y) {\n this.style.transform = 'scale(' + x + ', ' + (y ?? x) + ')';\n return this;\n },\n transformTranslate_(x, y) {\n this.style.transform = 'translate(' + x + ', ' + y + ')';\n return this;\n },\n transition_(property) {\n this.style.transition = property;\n return this;\n },\n transitionDuration_(duration) {\n this.style.transitionDuration = duration;\n return this;\n },\n transitionTimingFunction_(timing) {\n this.style.transitionTimingFunction = timing;\n return this;\n },\n transitionDelay_(delay) {\n this.style.transitionDelay = delay;\n return this;\n },\n onClick_(handler) {\n return this.on_('click', handler as EventListener);\n },\n onDoubleClick_(handler) {\n return this.on_('dblclick', handler as EventListener);\n },\n onMouseDown_(handler) {\n return this.on_('mousedown', handler as EventListener);\n },\n onMouseUp_(handler) {\n return this.on_('mouseup', handler as EventListener);\n },\n onMouseMove_(handler) {\n return this.on_('mousemove', handler as EventListener);\n },\n onMouseEnter_(handler) {\n return this.on_('mouseenter', handler as EventListener);\n },\n onMouseLeave_(handler) {\n return this.on_('mouseleave', handler as EventListener);\n },\n onMouseOver_(handler) {\n return this.on_('mouseover', handler as EventListener);\n },\n onMouseOut_(handler) {\n return this.on_('mouseout', handler as EventListener);\n },\n onMouseWheel_(handler) {\n return this.on_('wheel', handler as EventListener);\n },\n onKeyDown_(handler) {\n return this.on_('keydown', handler as EventListener);\n },\n onKeyUp_(handler) {\n return this.on_('keyup', handler as EventListener);\n },\n onKeyPress_(handler) {\n return this.on_('keypress', handler as EventListener);\n },\n onFocus_(handler) {\n return this.on_('focus', handler as EventListener);\n },\n onBlur_(handler) {\n return this.on_('blur', handler as EventListener);\n },\n onFocusIn_(handler) {\n return this.on_('focusin', handler as EventListener);\n },\n onFocusOut_(handler) {\n return this.on_('focusout', handler as EventListener);\n },\n onChange_(handler) {\n return this.on_('change', handler as EventListener);\n },\n onInput_(handler) {\n return this.on_('input', handler as EventListener);\n },\n onSubmit_(handler) {\n return this.on_('submit', handler as EventListener);\n },\n onReset_(handler) {\n return this.on_('reset', handler as EventListener);\n },\n onTouchStart_(handler) {\n return this.on_('touchstart', handler as EventListener);\n },\n onTouchEnd_(handler) {\n return this.on_('touchend', handler as EventListener);\n },\n onTouchMove_(handler) {\n return this.on_('touchmove', handler as EventListener);\n },\n onTouchCancel_(handler) {\n return this.on_('touchcancel', handler as EventListener);\n },\n onDrag_(handler) {\n return this.on_('drag', handler as EventListener);\n },\n onDragStart_(handler) {\n return this.on_('dragstart', handler as EventListener);\n },\n onDragEnd_(handler) {\n return this.on_('dragend', handler as EventListener);\n },\n onDragEnter_(handler) {\n return this.on_('dragenter', handler as EventListener);\n },\n onDragLeave_(handler) {\n return this.on_('dragleave', handler as EventListener);\n },\n onDragOver_(handler) {\n return this.on_('dragover', handler as EventListener);\n },\n onDragDrop_(handler) {\n return this.on_('drop', handler as EventListener);\n },\n onCopy_(handler) {\n return this.on_('copy', handler as EventListener);\n },\n onCut_(handler) {\n return this.on_('cut', handler as EventListener);\n },\n onPaste_(handler) {\n return this.on_('paste', handler as EventListener);\n },\n onScroll_(handler) {\n return this.on_('scroll', handler as EventListener);\n },\n onResize_(handler) {\n return this.on_('resize', handler as EventListener);\n },\n onPlay_(handler) {\n return this.on_('play', handler as EventListener);\n },\n onPause_(handler) {\n return this.on_('pause', handler as EventListener);\n },\n onEnded_(handler) {\n return this.on_('ended', handler as EventListener);\n },\n onVolumeChange_(handler) {\n return this.on_('volumechange', handler as EventListener);\n },\n onAnimationStart_(handler) {\n return this.on_('animationstart', handler as EventListener);\n },\n onAnimationEnd_(handler) {\n return this.on_('animationend', handler as EventListener);\n },\n onAnimationIteration_(handler) {\n return this.on_('animationiteration', handler as EventListener);\n },\n onTransitionEnd_(handler) {\n return this.on_('transitionend', handler as EventListener);\n },\n onPointerDown_(handler) {\n return this.on_('pointerdown', handler as EventListener);\n },\n onPointerUp_(handler) {\n return this.on_('pointerup', handler as EventListener);\n },\n onPointerMove_(handler) {\n return this.on_('pointermove', handler as EventListener);\n },\n onPointerEnter_(handler) {\n return this.on_('pointerenter', handler as EventListener);\n },\n onPointerLeave_(handler) {\n return this.on_('pointerleave', handler as EventListener);\n },\n onPointerCancel_(handler) {\n return this.on_('pointercancel', handler as EventListener);\n },\n on_(eventName, handler) {\n this.addEventListener(eventName, handler);\n return this;\n },\n off_(eventName, handler) {\n this.removeEventListener(eventName, handler);\n return this;\n },\n} as HTMLElement);\n\nexport {};\n","declare global {\n interface HTMLInputElement {\n placeholder_(value: string): this;\n value_(value: string): this;\n type_(type: string): this;\n checked_(checked?: boolean): this;\n disabled_(disabled?: boolean): this;\n focus_(): this;\n blur_(): this;\n select_(): this;\n onChange_(\n handler: (\n event: Event & { currentTarget: HTMLInputElement; target: HTMLInputElement },\n ) => void,\n ): this;\n onInput_(\n handler: (\n event: Event & { currentTarget: HTMLInputElement; target: HTMLInputElement },\n ) => void,\n ): this;\n }\n}\nObject.assign(HTMLInputElement.prototype, {\n placeholder_(value) {\n this.placeholder = value;\n return this;\n },\n value_(value) {\n this.value = value;\n return this;\n },\n type_(type) {\n this.type = type;\n return this;\n },\n checked_(checked = true) {\n this.checked = checked;\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n focus_() {\n this.focus();\n return this;\n },\n blur_() {\n this.blur();\n return this;\n },\n select_() {\n this.select();\n return this;\n },\n onChange_(handler) {\n return this.on_('change', handler as EventListener);\n },\n onInput_(handler) {\n return this.on_('input', handler as EventListener);\n },\n} as HTMLInputElement);\nexport {};\n","declare global {\n interface HTMLTextAreaElement {\n placeholder_(value: string): this;\n value_(value: string): this;\n rows_(rows: number): this;\n cols_(cols: number): this;\n disabled_(disabled?: boolean): this;\n focus_(): this;\n blur_(): this;\n select_(): this;\n onChange_(\n handler: (\n event: Event & { currentTarget: HTMLTextAreaElement; target: HTMLTextAreaElement },\n ) => void,\n ): this;\n onInput_(\n handler: (\n event: Event & { currentTarget: HTMLTextAreaElement; target: HTMLTextAreaElement },\n ) => void,\n ): this;\n }\n}\nObject.assign(HTMLTextAreaElement.prototype, {\n placeholder_(value) {\n this.placeholder = value;\n return this;\n },\n value_(value) {\n this.value = value;\n return this;\n },\n rows_(rows) {\n this.rows = rows;\n return this;\n },\n cols_(cols) {\n this.cols = cols;\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n focus_() {\n this.focus();\n return this;\n },\n blur_() {\n this.blur();\n return this;\n },\n select_() {\n this.select();\n return this;\n },\n onChange_(handler) {\n return this.on_('change', handler as EventListener);\n },\n onInput_(handler) {\n return this.on_('input', handler as EventListener);\n },\n} as HTMLTextAreaElement);\nexport {};\n","declare global {\n interface HTMLSelectElement {\n value_(value: string): this;\n options_(options: Array<{ value: any; label: string }>): this;\n disabled_(disabled?: boolean): this;\n focus_(): this;\n blur_(): this;\n onChange_(\n handler: (\n event: Event & { currentTarget: HTMLSelectElement; target: HTMLSelectElement },\n ) => void,\n ): this;\n onInput_(\n handler: (\n event: Event & { currentTarget: HTMLSelectElement; target: HTMLSelectElement },\n ) => void,\n ): this;\n }\n}\nObject.assign(HTMLSelectElement.prototype, {\n value_(value) {\n this.value = value;\n return this;\n },\n options_(options) {\n this.replaceChildren(\n ...options.map((option) => {\n const node = document.createElement('option');\n node.value = String(option.value);\n node.textContent = option.label;\n return node;\n }),\n );\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n focus_() {\n this.focus();\n return this;\n },\n blur_() {\n this.blur();\n return this;\n },\n onChange_(handler) {\n return this.on_('change', handler as EventListener);\n },\n onInput_(handler) {\n return this.on_('input', handler as EventListener);\n },\n} as HTMLSelectElement);\nexport {};\n","declare global {\n interface HTMLButtonElement {\n type_(type: 'button' | 'submit' | 'reset'): this;\n disabled_(disabled?: boolean): this;\n name_(name: string): this;\n value_(value: string): this;\n autofocus_(autofocus?: boolean): this;\n }\n}\nObject.assign(HTMLButtonElement.prototype, {\n type_(type) {\n this.type = type;\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n name_(name) {\n this.name = name;\n return this;\n },\n value_(value) {\n this.value = value;\n return this;\n },\n autofocus_(autofocus = true) {\n this.autofocus = autofocus;\n return this;\n },\n} as HTMLButtonElement);\nexport {};\n","declare global {\n interface HTMLFormElement {\n action_(action: string): this;\n method_(method: 'get' | 'post' | 'dialog'): this;\n target_(target: string): this;\n enctype_(enctype: string): this;\n noValidate_(noValidate?: boolean): this;\n reset_(): this;\n submit_(): this;\n requestSubmit_(): this;\n }\n}\nObject.assign(HTMLFormElement.prototype, {\n action_(action) {\n this.action = action;\n return this;\n },\n method_(method) {\n this.method = method;\n return this;\n },\n target_(target) {\n this.target = target;\n return this;\n },\n enctype_(enctype) {\n this.enctype = enctype;\n return this;\n },\n noValidate_(noValidate = true) {\n this.noValidate = noValidate;\n return this;\n },\n reset_() {\n this.reset();\n return this;\n },\n submit_() {\n this.submit();\n return this;\n },\n requestSubmit_() {\n this.requestSubmit();\n return this;\n },\n} as HTMLFormElement);\nexport {};\n","declare global {\n interface HTMLAnchorElement {\n href_(href: string): this;\n target_(target: string): this;\n rel_(rel: string): this;\n download_(download?: string): this;\n referrerPolicy_(policy: ReferrerPolicy): this;\n }\n}\nObject.assign(HTMLAnchorElement.prototype, {\n href_(href) {\n this.href = href;\n return this;\n },\n target_(target) {\n this.target = target;\n return this;\n },\n rel_(rel) {\n this.rel = rel;\n return this;\n },\n download_(download = '') {\n this.download = download;\n return this;\n },\n referrerPolicy_(policy) {\n this.referrerPolicy = policy;\n return this;\n },\n} as HTMLAnchorElement);\nexport {};\n","declare global {\n interface HTMLImageElement {\n src_(src: string): this;\n alt_(alt: string): this;\n width_(width: number): this;\n height_(height: number): this;\n loading_(loading: 'eager' | 'lazy'): this;\n decoding_(decoding: 'sync' | 'async' | 'auto'): this;\n }\n}\nObject.assign(HTMLImageElement.prototype, {\n src_(src) {\n this.src = src;\n return this;\n },\n alt_(alt) {\n this.alt = alt;\n return this;\n },\n width_(width) {\n this.width = width;\n return this;\n },\n height_(height) {\n this.height = height;\n return this;\n },\n loading_(loading) {\n this.loading = loading;\n return this;\n },\n decoding_(decoding) {\n this.decoding = decoding;\n return this;\n },\n} as HTMLImageElement);\nexport {};\n","declare global {\n interface HTMLMediaElement {\n src_(src: string): this;\n controls_(controls?: boolean): this;\n autoplay_(autoplay?: boolean): this;\n loop_(loop?: boolean): this;\n muted_(muted?: boolean): this;\n currentTime_(time: number): this;\n volume_(volume: number): this;\n play_(): this;\n pause_(): this;\n }\n}\nObject.assign(HTMLMediaElement.prototype, {\n src_(src) {\n this.src = src;\n return this;\n },\n controls_(controls = true) {\n this.controls = controls;\n return this;\n },\n autoplay_(autoplay = true) {\n this.autoplay = autoplay;\n return this;\n },\n loop_(loop = true) {\n this.loop = loop;\n return this;\n },\n muted_(muted = true) {\n this.muted = muted;\n return this;\n },\n currentTime_(time) {\n this.currentTime = time;\n return this;\n },\n volume_(volume) {\n this.volume = volume;\n return this;\n },\n play_() {\n void this.play();\n return this;\n },\n pause_() {\n this.pause();\n return this;\n },\n} as HTMLMediaElement);\nexport {};\n","declare global {\n interface HTMLLabelElement {\n for_(htmlFor: string): this;\n }\n}\nObject.assign(HTMLLabelElement.prototype, {\n for_(htmlFor) {\n this.htmlFor = htmlFor;\n return this;\n },\n} as HTMLLabelElement);\nexport {};\n","declare global {\n interface HTMLOptionElement {\n value_(value: string): this;\n selected_(selected?: boolean): this;\n disabled_(disabled?: boolean): this;\n label_(label: string): this;\n }\n}\nObject.assign(HTMLOptionElement.prototype, {\n value_(value) {\n this.value = value;\n return this;\n },\n selected_(selected = true) {\n this.selected = selected;\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n label_(label) {\n this.label = label;\n return this;\n },\n} as HTMLOptionElement);\nexport {};\n","declare global {\n interface HTMLDetailsElement {\n open_(open?: boolean): this;\n }\n}\nObject.assign(HTMLDetailsElement.prototype, {\n open_(open = true) {\n this.open = open;\n return this;\n },\n} as HTMLDetailsElement);\nexport {};\n","declare global {\n interface HTMLDialogElement {\n open_(open?: boolean): this;\n show_(): this;\n showModal_(): this;\n close_(returnValue?: string): this;\n }\n}\nObject.assign(HTMLDialogElement.prototype, {\n open_(open = true) {\n this.open = open;\n return this;\n },\n show_() {\n this.show();\n return this;\n },\n showModal_() {\n this.showModal();\n return this;\n },\n close_(returnValue) {\n this.close(returnValue);\n return this;\n },\n} as HTMLDialogElement);\nexport {};\n","declare global {\n interface HTMLProgressElement {\n value_(value: number): this;\n max_(max: number): this;\n }\n interface HTMLMeterElement {\n value_(value: number): this;\n min_(min: number): this;\n max_(max: number): this;\n low_(low: number): this;\n high_(high: number): this;\n optimum_(optimum: number): this;\n }\n}\nObject.assign(HTMLProgressElement.prototype, {\n value_(value) {\n this.value = value;\n return this;\n },\n max_(max) {\n this.max = max;\n return this;\n },\n} as HTMLProgressElement);\nObject.assign(HTMLMeterElement.prototype, {\n value_(value) {\n this.value = value;\n return this;\n },\n min_(min) {\n this.min = min;\n return this;\n },\n max_(max) {\n this.max = max;\n return this;\n },\n low_(low) {\n this.low = low;\n return this;\n },\n high_(high) {\n this.high = high;\n return this;\n },\n optimum_(optimum) {\n this.optimum = optimum;\n return this;\n },\n} as HTMLMeterElement);\nexport {};\n","import './core/init.js';\n\nexport const h = <T extends keyof HTMLElementTagNameMap>(tag: T): HTMLElementTagNameMap[T] =>\n document.createElement(tag);\nexport const div = () => document.createElement('div');\nexport const span = () => document.createElement('span');\nexport const section = () => document.createElement('section');\nexport const p = () => document.createElement('p');\nexport const input = () => document.createElement('input');\nexport const textarea = () => document.createElement('textarea');\nexport const btn = () => document.createElement('button');\nexport const select = (options: Array<{ value: any; label: string }>) =>\n document.createElement('select').options_(options);\n"],"mappings":"AAiMA,OAAO,OAAO,YAAY,UAAW,CACnC,IAAI,EAAI,CAEN,MADA,MAAK,GAAK,EACH,IACT,EACA,MAAM,EAAM,EAAO,CAEjB,OADA,KAAK,aAAa,EAAM,CAAK,EACtB,IACT,EACA,MAAM,EAAM,CAEV,OADA,KAAK,aAAa,OAAQ,CAAI,EACvB,IACT,EACA,OAAO,GAAG,EAAO,CAEf,OADA,KAAK,OAAO,GAAG,CAAK,EACb,IACT,EACA,OAAO,EAAG,CAER,MADA,MAAK,UAAY,MAAM,QAAQ,CAAC,EAAI,EAAE,KAAK,GAAG,EAAI,EAC3C,IACT,E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["../src/common/enhance.ts","../src/core/index.ts","../src/core/input.ts","../src/core/textarea.ts","../src/core/select.ts","../src/core/button.ts","../src/core/form.ts","../src/core/a.ts","../src/core/img.ts","../src/core/media.ts","../src/core/label.ts","../src/core/option.ts","../src/core/details.ts","../src/core/dialog.ts","../src/core/progress.ts","../src/index.ts"],"sourcesContent":["globalThis.$_ = (c, o) => Object.assign(c.prototype, o);\n\ndeclare global {\n function $_(c: typeof HTMLElement, o: unknown): void;\n}\n","declare global {\n interface HTMLElement {\n jpui: true;\n\n id_(id: string): this;\n attr_(attr: string, value: any): this;\n name_(name: string): this;\n child_(...nodes: any[]): this;\n text_(text: string): this;\n remove_(): this;\n dataset_(key: string, value: any): this;\n\n class_(classList: string[]): this;\n class_(className: string): this;\n w_(w: string): this;\n h_(h: string): this;\n size_(w: string, h: string): this;\n minW_(w: string): this;\n minH_(h: string): this;\n maxW_(w: string): this;\n maxH_(h: string): this;\n flex_(): this;\n flexFlex_(): this;\n flexNone_(): this;\n flexAuto_(): this;\n flexGrow_(grow: number): this;\n flexShrink_(shrink: number): this;\n flexBasis_(basis: string): this;\n flexDirection_(direction: string): this;\n flexWrap_(wrap: string): this;\n grid_(): this;\n gridTemplateColumns_(columns: string): this;\n gridTemplateRows_(rows: string): this;\n gridColumn_(column: string): this;\n gridRow_(row: string): this;\n gap_(gap: string): this;\n gapX_(gap: string): this;\n gapY_(gap: string): this;\n justify_(justify: string): this;\n items_(items: string): this;\n content_(content: string): this;\n self_(alignSelf: string): this;\n justifySelf_(justifySelf: string): this;\n px_(px: string): this;\n py_(py: string): this;\n pt_(pt: string): this;\n pr_(pr: string): this;\n pb_(pb: string): this;\n pl_(pl: string): this;\n p_(p: string): this;\n mx_(mx: string): this;\n my_(my: string): this;\n mt_(mt: string): this;\n mr_(mr: string): this;\n mb_(mb: string): this;\n ml_(ml: string): this;\n m_(m: string): this;\n border_(): this;\n borderW_(width: string): this;\n borderT_(width: string): this;\n borderR_(width: string): this;\n borderB_(width: string): this;\n borderL_(width: string): this;\n borderColor_(color: string): this;\n borderStyle_(style: string): this;\n rounded_(radius: string): this;\n roundedTL_(radius: string): this;\n roundedTR_(radius: string): this;\n roundedBL_(radius: string): this;\n roundedBR_(radius: string): this;\n bg_(color: string): this;\n bgColor_(color: string): this;\n bgImage_(image: string): this;\n bgSize_(size: string): this;\n bgPosition_(position: string): this;\n bgRepeat_(repeat: string): this;\n shadow_(shadow: string): this;\n shadowMd_(): this;\n shadowLg_(): this;\n shadowNone_(): this;\n opacity_(value: number): this;\n textColor_(color: string): this;\n textSize_(size: string): this;\n textAlign_(align: string): this;\n fontWeight_(weight: string): this;\n lineHeight_(height: string): this;\n letterSpacing_(spacing: string): this;\n textOverflow_(overflow: string): this;\n whitespace_(value: string): this;\n truncate_(): this;\n lineClamp_(lines: number): this;\n relative_(): this;\n absolute_(): this;\n fixed_(): this;\n sticky_(): this;\n static_(): this;\n inset_(value: string): this;\n insetY_(value: string): this;\n insetX_(value: string): this;\n top_(value: string): this;\n right_(value: string): this;\n bottom_(value: string): this;\n left_(value: string): this;\n z_(value: number): this;\n zIndex_(value: number): this;\n overflow_(value: string): this;\n overflowX_(value: string): this;\n overflowY_(value: string): this;\n overflowHidden_(): this;\n overflowScroll_(): this;\n overflowAuto_(): this;\n overflowVisible_(): this;\n cursor_(cursor: string): this;\n cursorPointer_(): this;\n cursorDefault_(): this;\n cursorMove_(): this;\n cursorGrab_(): this;\n cursorGrabbing_(): this;\n pointerEvents_(value: string): this;\n pointerEventsNone_(): this;\n pointerEventsAuto_(): this;\n userSelect_(value: string): this;\n selectNone_(): this;\n selectText_(): this;\n selectAll_(): this;\n block_(): this;\n inlineBlock_(): this;\n inline_(): this;\n hide_(): this;\n visible_(): this;\n invisible_(): this;\n rotate_(deg: number): this;\n scale_(x: number, y?: number): this;\n transformTranslate_(x: string, y: string): this;\n transition_(property: string): this;\n transitionDuration_(duration: string): this;\n transitionTimingFunction_(timing: string): this;\n transitionDelay_(delay: string): this;\n\n onClick_(handler: (event: MouseEvent) => void): this;\n onDoubleClick_(handler: (event: MouseEvent) => void): this;\n onMouseDown_(handler: (event: MouseEvent) => void): this;\n onMouseUp_(handler: (event: MouseEvent) => void): this;\n onMouseMove_(handler: (event: MouseEvent) => void): this;\n onMouseEnter_(handler: (event: MouseEvent) => void): this;\n onMouseLeave_(handler: (event: MouseEvent) => void): this;\n onMouseOver_(handler: (event: MouseEvent) => void): this;\n onMouseOut_(handler: (event: MouseEvent) => void): this;\n onMouseWheel_(handler: (event: WheelEvent) => void): this;\n onKeyDown_(handler: (event: KeyboardEvent) => void): this;\n onKeyUp_(handler: (event: KeyboardEvent) => void): this;\n onKeyPress_(handler: (event: KeyboardEvent) => void): this;\n onFocus_(handler: (event: FocusEvent) => void): this;\n onBlur_(handler: (event: FocusEvent) => void): this;\n onFocusIn_(handler: (event: FocusEvent) => void): this;\n onFocusOut_(handler: (event: FocusEvent) => void): this;\n onChange_(handler: (event: Event) => void): this;\n onInput_(handler: (event: Event) => void): this;\n onSubmit_(handler: (event: SubmitEvent) => void): this;\n onReset_(handler: (event: Event) => void): this;\n onTouchStart_(handler: (event: TouchEvent) => void): this;\n onTouchEnd_(handler: (event: TouchEvent) => void): this;\n onTouchMove_(handler: (event: TouchEvent) => void): this;\n onTouchCancel_(handler: (event: TouchEvent) => void): this;\n onDrag_(handler: (event: DragEvent) => void): this;\n onDragStart_(handler: (event: DragEvent) => void): this;\n onDragEnd_(handler: (event: DragEvent) => void): this;\n onDragEnter_(handler: (event: DragEvent) => void): this;\n onDragLeave_(handler: (event: DragEvent) => void): this;\n onDragOver_(handler: (event: DragEvent) => void): this;\n onDragDrop_(handler: (event: DragEvent) => void): this;\n onCopy_(handler: (event: ClipboardEvent) => void): this;\n onCut_(handler: (event: ClipboardEvent) => void): this;\n onPaste_(handler: (event: ClipboardEvent) => void): this;\n onScroll_(handler: (event: Event) => void): this;\n onResize_(handler: (event: UIEvent) => void): this;\n onPlay_(handler: (event: Event) => void): this;\n onPause_(handler: (event: Event) => void): this;\n onEnded_(handler: (event: Event) => void): this;\n onVolumeChange_(handler: (event: Event) => void): this;\n onAnimationStart_(handler: (event: AnimationEvent) => void): this;\n onAnimationEnd_(handler: (event: AnimationEvent) => void): this;\n onAnimationIteration_(handler: (event: AnimationEvent) => void): this;\n onTransitionEnd_(handler: (event: TransitionEvent) => void): this;\n onPointerDown_(handler: (event: PointerEvent) => void): this;\n onPointerUp_(handler: (event: PointerEvent) => void): this;\n onPointerMove_(handler: (event: PointerEvent) => void): this;\n onPointerEnter_(handler: (event: PointerEvent) => void): this;\n onPointerLeave_(handler: (event: PointerEvent) => void): this;\n onPointerCancel_(handler: (event: PointerEvent) => void): this;\n on_(eventName: string, handler: EventListener): this;\n off_(eventName: string, handler: EventListener): this;\n }\n}\n\n$_(HTMLElement, {\n id_(id) {\n this.id = id;\n return this;\n },\n attr_(attr, value) {\n this.setAttribute(attr, value);\n return this;\n },\n name_(name) {\n this.setAttribute('name', name);\n return this;\n },\n child_(...nodes) {\n this.append(...nodes);\n return this;\n },\n remove_() {\n this.remove();\n return this;\n },\n dataset_(k, v) {\n this.dataset[k] = v;\n return this;\n },\n class_(c) {\n this.className = Array.isArray(c) ? c.join(' ') : c;\n return this;\n },\n w_(w) {\n this.style.width = w;\n return this;\n },\n h_(h) {\n this.style.height = h;\n return this;\n },\n size_(w, h) {\n this.style.width = w;\n this.style.height = h;\n return this;\n },\n minW_(w) {\n this.style.minWidth = w;\n return this;\n },\n minH_(h) {\n this.style.minHeight = h;\n return this;\n },\n maxW_(w) {\n this.style.maxWidth = w;\n return this;\n },\n maxH_(h) {\n this.style.maxHeight = h;\n return this;\n },\n flex_() {\n this.style.display = 'flex';\n return this;\n },\n flexFlex_() {\n this.style.display = 'flex';\n this.style.flex = '1 1 0%';\n return this;\n },\n flexNone_() {\n this.style.flex = 'none';\n return this;\n },\n flexAuto_() {\n this.style.flex = '1 1 auto';\n return this;\n },\n flexGrow_(grow) {\n this.style.flexGrow = String(grow);\n return this;\n },\n flexShrink_(shrink) {\n this.style.flexShrink = String(shrink);\n return this;\n },\n flexBasis_(basis) {\n this.style.flexBasis = basis;\n return this;\n },\n flexDirection_(direction) {\n this.style.flexDirection = direction;\n return this;\n },\n flexWrap_(wrap) {\n this.style.flexWrap = wrap;\n return this;\n },\n grid_() {\n this.style.display = 'grid';\n return this;\n },\n gridTemplateColumns_(columns) {\n this.style.gridTemplateColumns = columns;\n return this;\n },\n gridTemplateRows_(rows) {\n this.style.gridTemplateRows = rows;\n return this;\n },\n gridColumn_(column) {\n this.style.gridColumn = column;\n return this;\n },\n gridRow_(row) {\n this.style.gridRow = row;\n return this;\n },\n gap_(gap) {\n this.style.gap = gap;\n return this;\n },\n gapX_(gap) {\n this.style.columnGap = gap;\n return this;\n },\n gapY_(gap) {\n this.style.rowGap = gap;\n return this;\n },\n justify_(justify) {\n this.style.justifyContent = justify;\n return this;\n },\n items_(items) {\n this.style.alignItems = items;\n return this;\n },\n content_(content) {\n this.style.alignContent = content;\n return this;\n },\n self_(alignSelf) {\n this.style.alignSelf = alignSelf;\n return this;\n },\n justifySelf_(justifySelf) {\n this.style.justifySelf = justifySelf;\n return this;\n },\n px_(px) {\n this.style.paddingLeft = px;\n this.style.paddingRight = px;\n return this;\n },\n py_(py) {\n this.style.paddingTop = py;\n this.style.paddingBottom = py;\n return this;\n },\n pt_(pt) {\n this.style.paddingTop = pt;\n return this;\n },\n pr_(pr) {\n this.style.paddingRight = pr;\n return this;\n },\n pb_(pb) {\n this.style.paddingBottom = pb;\n return this;\n },\n pl_(pl) {\n this.style.paddingLeft = pl;\n return this;\n },\n p_(p) {\n this.style.padding = p;\n return this;\n },\n mx_(mx) {\n this.style.marginLeft = mx;\n this.style.marginRight = mx;\n return this;\n },\n my_(my) {\n this.style.marginTop = my;\n this.style.marginBottom = my;\n return this;\n },\n mt_(mt) {\n this.style.marginTop = mt;\n return this;\n },\n mr_(mr) {\n this.style.marginRight = mr;\n return this;\n },\n mb_(mb) {\n this.style.marginBottom = mb;\n return this;\n },\n ml_(ml) {\n this.style.marginLeft = ml;\n return this;\n },\n m_(m) {\n this.style.margin = m;\n return this;\n },\n border_() {\n this.style.border = '1px solid currentColor';\n return this;\n },\n borderW_(width) {\n this.style.borderWidth = width;\n return this;\n },\n borderT_(width) {\n this.style.borderTopWidth = width;\n return this;\n },\n borderR_(width) {\n this.style.borderRightWidth = width;\n return this;\n },\n borderB_(width) {\n this.style.borderBottomWidth = width;\n return this;\n },\n borderL_(width) {\n this.style.borderLeftWidth = width;\n return this;\n },\n borderColor_(color) {\n this.style.borderColor = color;\n return this;\n },\n borderStyle_(style) {\n this.style.borderStyle = style;\n return this;\n },\n rounded_(radius) {\n this.style.borderRadius = radius;\n return this;\n },\n roundedTL_(radius) {\n this.style.borderTopLeftRadius = radius;\n return this;\n },\n roundedTR_(radius) {\n this.style.borderTopRightRadius = radius;\n return this;\n },\n roundedBL_(radius) {\n this.style.borderBottomLeftRadius = radius;\n return this;\n },\n roundedBR_(radius) {\n this.style.borderBottomRightRadius = radius;\n return this;\n },\n bg_(color) {\n this.style.backgroundColor = color;\n return this;\n },\n bgColor_(color) {\n this.style.backgroundColor = color;\n return this;\n },\n bgImage_(image) {\n this.style.backgroundImage = image;\n return this;\n },\n bgSize_(size) {\n this.style.backgroundSize = size;\n return this;\n },\n bgPosition_(position) {\n this.style.backgroundPosition = position;\n return this;\n },\n bgRepeat_(repeat) {\n this.style.backgroundRepeat = repeat;\n return this;\n },\n shadow_(shadow) {\n this.style.boxShadow = shadow;\n return this;\n },\n shadowMd_() {\n this.style.boxShadow = '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)';\n return this;\n },\n shadowLg_() {\n this.style.boxShadow = '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)';\n return this;\n },\n shadowNone_() {\n this.style.boxShadow = 'none';\n return this;\n },\n opacity_(value) {\n this.style.opacity = String(value);\n return this;\n },\n text_(t) {\n this.textContent = t;\n return this;\n },\n textColor_(color) {\n this.style.color = color;\n return this;\n },\n textSize_(size) {\n this.style.fontSize = size;\n return this;\n },\n textAlign_(align) {\n this.style.textAlign = align;\n return this;\n },\n fontWeight_(weight) {\n this.style.fontWeight = weight;\n return this;\n },\n lineHeight_(height) {\n this.style.lineHeight = height;\n return this;\n },\n letterSpacing_(spacing) {\n this.style.letterSpacing = spacing;\n return this;\n },\n textOverflow_(overflow) {\n this.style.textOverflow = overflow;\n return this;\n },\n whitespace_(value) {\n this.style.whiteSpace = value;\n return this;\n },\n truncate_() {\n this.style.overflow = 'hidden';\n this.style.textOverflow = 'ellipsis';\n this.style.whiteSpace = 'nowrap';\n return this;\n },\n lineClamp_(lines) {\n this.style.display = '-webkit-box';\n this.style.webkitLineClamp = String(lines);\n this.style.webkitBoxOrient = 'vertical';\n this.style.overflow = 'hidden';\n return this;\n },\n relative_() {\n this.style.position = 'relative';\n return this;\n },\n absolute_() {\n this.style.position = 'absolute';\n return this;\n },\n fixed_() {\n this.style.position = 'fixed';\n return this;\n },\n sticky_() {\n this.style.position = 'sticky';\n return this;\n },\n static_() {\n this.style.position = 'static';\n return this;\n },\n inset_(value) {\n this.style.top = value;\n this.style.right = value;\n this.style.bottom = value;\n this.style.left = value;\n return this;\n },\n insetY_(value) {\n this.style.top = value;\n this.style.bottom = value;\n return this;\n },\n insetX_(value) {\n this.style.right = value;\n this.style.left = value;\n return this;\n },\n top_(value) {\n this.style.top = value;\n return this;\n },\n right_(value) {\n this.style.right = value;\n return this;\n },\n bottom_(value) {\n this.style.bottom = value;\n return this;\n },\n left_(value) {\n this.style.left = value;\n return this;\n },\n z_(value) {\n this.style.zIndex = String(value);\n return this;\n },\n zIndex_(value) {\n this.style.zIndex = String(value);\n return this;\n },\n overflow_(value) {\n this.style.overflow = value;\n return this;\n },\n overflowX_(value) {\n this.style.overflowX = value;\n return this;\n },\n overflowY_(value) {\n this.style.overflowY = value;\n return this;\n },\n overflowHidden_() {\n this.style.overflow = 'hidden';\n return this;\n },\n overflowScroll_() {\n this.style.overflow = 'scroll';\n return this;\n },\n overflowAuto_() {\n this.style.overflow = 'auto';\n return this;\n },\n overflowVisible_() {\n this.style.overflow = 'visible';\n return this;\n },\n cursor_(cursor) {\n this.style.cursor = cursor;\n return this;\n },\n cursorPointer_() {\n this.style.cursor = 'pointer';\n return this;\n },\n cursorDefault_() {\n this.style.cursor = 'default';\n return this;\n },\n cursorMove_() {\n this.style.cursor = 'move';\n return this;\n },\n cursorGrab_() {\n this.style.cursor = 'grab';\n return this;\n },\n cursorGrabbing_() {\n this.style.cursor = 'grabbing';\n return this;\n },\n pointerEvents_(value) {\n this.style.pointerEvents = value;\n return this;\n },\n pointerEventsNone_() {\n this.style.pointerEvents = 'none';\n return this;\n },\n pointerEventsAuto_() {\n this.style.pointerEvents = 'auto';\n return this;\n },\n userSelect_(value) {\n this.style.userSelect = value;\n return this;\n },\n selectNone_() {\n this.style.userSelect = 'none';\n return this;\n },\n selectText_() {\n this.style.userSelect = 'text';\n return this;\n },\n selectAll_() {\n this.style.userSelect = 'all';\n return this;\n },\n block_() {\n this.style.display = 'block';\n return this;\n },\n inlineBlock_() {\n this.style.display = 'inline-block';\n return this;\n },\n inline_() {\n this.style.display = 'inline';\n return this;\n },\n hide_() {\n this.style.display = 'none';\n return this;\n },\n visible_() {\n this.style.visibility = 'visible';\n return this;\n },\n invisible_() {\n this.style.visibility = 'hidden';\n return this;\n },\n rotate_(deg) {\n this.style.transform = 'rotate(' + deg + 'deg)';\n return this;\n },\n scale_(x, y) {\n this.style.transform = 'scale(' + x + ', ' + (y ?? x) + ')';\n return this;\n },\n transformTranslate_(x, y) {\n this.style.transform = 'translate(' + x + ', ' + y + ')';\n return this;\n },\n transition_(property) {\n this.style.transition = property;\n return this;\n },\n transitionDuration_(duration) {\n this.style.transitionDuration = duration;\n return this;\n },\n transitionTimingFunction_(timing) {\n this.style.transitionTimingFunction = timing;\n return this;\n },\n transitionDelay_(delay) {\n this.style.transitionDelay = delay;\n return this;\n },\n onClick_(handler) {\n return this.on_('click', handler as EventListener);\n },\n onDoubleClick_(handler) {\n return this.on_('dblclick', handler as EventListener);\n },\n onMouseDown_(handler) {\n return this.on_('mousedown', handler as EventListener);\n },\n onMouseUp_(handler) {\n return this.on_('mouseup', handler as EventListener);\n },\n onMouseMove_(handler) {\n return this.on_('mousemove', handler as EventListener);\n },\n onMouseEnter_(handler) {\n return this.on_('mouseenter', handler as EventListener);\n },\n onMouseLeave_(handler) {\n return this.on_('mouseleave', handler as EventListener);\n },\n onMouseOver_(handler) {\n return this.on_('mouseover', handler as EventListener);\n },\n onMouseOut_(handler) {\n return this.on_('mouseout', handler as EventListener);\n },\n onMouseWheel_(handler) {\n return this.on_('wheel', handler as EventListener);\n },\n onKeyDown_(handler) {\n return this.on_('keydown', handler as EventListener);\n },\n onKeyUp_(handler) {\n return this.on_('keyup', handler as EventListener);\n },\n onKeyPress_(handler) {\n return this.on_('keypress', handler as EventListener);\n },\n onFocus_(handler) {\n return this.on_('focus', handler as EventListener);\n },\n onBlur_(handler) {\n return this.on_('blur', handler as EventListener);\n },\n onFocusIn_(handler) {\n return this.on_('focusin', handler as EventListener);\n },\n onFocusOut_(handler) {\n return this.on_('focusout', handler as EventListener);\n },\n onChange_(handler) {\n return this.on_('change', handler as EventListener);\n },\n onInput_(handler) {\n return this.on_('input', handler as EventListener);\n },\n onSubmit_(handler) {\n return this.on_('submit', handler as EventListener);\n },\n onReset_(handler) {\n return this.on_('reset', handler as EventListener);\n },\n onTouchStart_(handler) {\n return this.on_('touchstart', handler as EventListener);\n },\n onTouchEnd_(handler) {\n return this.on_('touchend', handler as EventListener);\n },\n onTouchMove_(handler) {\n return this.on_('touchmove', handler as EventListener);\n },\n onTouchCancel_(handler) {\n return this.on_('touchcancel', handler as EventListener);\n },\n onDrag_(handler) {\n return this.on_('drag', handler as EventListener);\n },\n onDragStart_(handler) {\n return this.on_('dragstart', handler as EventListener);\n },\n onDragEnd_(handler) {\n return this.on_('dragend', handler as EventListener);\n },\n onDragEnter_(handler) {\n return this.on_('dragenter', handler as EventListener);\n },\n onDragLeave_(handler) {\n return this.on_('dragleave', handler as EventListener);\n },\n onDragOver_(handler) {\n return this.on_('dragover', handler as EventListener);\n },\n onDragDrop_(handler) {\n return this.on_('drop', handler as EventListener);\n },\n onCopy_(handler) {\n return this.on_('copy', handler as EventListener);\n },\n onCut_(handler) {\n return this.on_('cut', handler as EventListener);\n },\n onPaste_(handler) {\n return this.on_('paste', handler as EventListener);\n },\n onScroll_(handler) {\n return this.on_('scroll', handler as EventListener);\n },\n onResize_(handler) {\n return this.on_('resize', handler as EventListener);\n },\n onPlay_(handler) {\n return this.on_('play', handler as EventListener);\n },\n onPause_(handler) {\n return this.on_('pause', handler as EventListener);\n },\n onEnded_(handler) {\n return this.on_('ended', handler as EventListener);\n },\n onVolumeChange_(handler) {\n return this.on_('volumechange', handler as EventListener);\n },\n onAnimationStart_(handler) {\n return this.on_('animationstart', handler as EventListener);\n },\n onAnimationEnd_(handler) {\n return this.on_('animationend', handler as EventListener);\n },\n onAnimationIteration_(handler) {\n return this.on_('animationiteration', handler as EventListener);\n },\n onTransitionEnd_(handler) {\n return this.on_('transitionend', handler as EventListener);\n },\n onPointerDown_(handler) {\n return this.on_('pointerdown', handler as EventListener);\n },\n onPointerUp_(handler) {\n return this.on_('pointerup', handler as EventListener);\n },\n onPointerMove_(handler) {\n return this.on_('pointermove', handler as EventListener);\n },\n onPointerEnter_(handler) {\n return this.on_('pointerenter', handler as EventListener);\n },\n onPointerLeave_(handler) {\n return this.on_('pointerleave', handler as EventListener);\n },\n onPointerCancel_(handler) {\n return this.on_('pointercancel', handler as EventListener);\n },\n on_(eventName, handler) {\n this.addEventListener(eventName, handler);\n return this;\n },\n off_(eventName, handler) {\n this.removeEventListener(eventName, handler);\n return this;\n },\n} as HTMLElement);\n\nexport {};\n","declare global {\n interface HTMLInputElement {\n placeholder_(value: string): this;\n value_(value: string): this;\n type_(type: string): this;\n checked_(checked?: boolean): this;\n disabled_(disabled?: boolean): this;\n focus_(): this;\n blur_(): this;\n select_(): this;\n onChange_(\n handler: (\n event: Event & { currentTarget: HTMLInputElement; target: HTMLInputElement },\n ) => void,\n ): this;\n onInput_(\n handler: (\n event: Event & { currentTarget: HTMLInputElement; target: HTMLInputElement },\n ) => void,\n ): this;\n }\n}\n$_(HTMLInputElement, {\n placeholder_(value) {\n this.placeholder = value;\n return this;\n },\n value_(value) {\n this.value = value;\n return this;\n },\n type_(type) {\n this.type = type;\n return this;\n },\n checked_(checked = true) {\n this.checked = checked;\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n focus_() {\n this.focus();\n return this;\n },\n blur_() {\n this.blur();\n return this;\n },\n select_() {\n this.select();\n return this;\n },\n onChange_(handler) {\n return this.on_('change', handler as EventListener);\n },\n onInput_(handler) {\n return this.on_('input', handler as EventListener);\n },\n} as HTMLInputElement);\nexport {};\n","declare global {\n interface HTMLTextAreaElement {\n placeholder_(value: string): this;\n value_(value: string): this;\n rows_(rows: number): this;\n cols_(cols: number): this;\n disabled_(disabled?: boolean): this;\n focus_(): this;\n blur_(): this;\n select_(): this;\n onChange_(\n handler: (\n event: Event & { currentTarget: HTMLTextAreaElement; target: HTMLTextAreaElement },\n ) => void,\n ): this;\n onInput_(\n handler: (\n event: Event & { currentTarget: HTMLTextAreaElement; target: HTMLTextAreaElement },\n ) => void,\n ): this;\n }\n}\n$_(HTMLTextAreaElement, {\n placeholder_(value) {\n this.placeholder = value;\n return this;\n },\n value_(value) {\n this.value = value;\n return this;\n },\n rows_(rows) {\n this.rows = rows;\n return this;\n },\n cols_(cols) {\n this.cols = cols;\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n focus_() {\n this.focus();\n return this;\n },\n blur_() {\n this.blur();\n return this;\n },\n select_() {\n this.select();\n return this;\n },\n onChange_(handler) {\n return this.on_('change', handler as EventListener);\n },\n onInput_(handler) {\n return this.on_('input', handler as EventListener);\n },\n} as HTMLTextAreaElement);\nexport {};\n","declare global {\n interface HTMLSelectElement {\n value_(value: string): this;\n options_(options: Array<{ value: any; label: string }>): this;\n disabled_(disabled?: boolean): this;\n focus_(): this;\n blur_(): this;\n onChange_(\n handler: (\n event: Event & { currentTarget: HTMLSelectElement; target: HTMLSelectElement },\n ) => void,\n ): this;\n onInput_(\n handler: (\n event: Event & { currentTarget: HTMLSelectElement; target: HTMLSelectElement },\n ) => void,\n ): this;\n }\n}\n$_(HTMLSelectElement, {\n value_(value) {\n this.value = value;\n return this;\n },\n options_(options) {\n this.replaceChildren(\n ...options.map((option) => {\n const node = document.createElement('option');\n node.value = String(option.value);\n node.textContent = option.label;\n return node;\n }),\n );\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n focus_() {\n this.focus();\n return this;\n },\n blur_() {\n this.blur();\n return this;\n },\n onChange_(handler) {\n return this.on_('change', handler as EventListener);\n },\n onInput_(handler) {\n return this.on_('input', handler as EventListener);\n },\n} as HTMLSelectElement);\nexport {};\n","declare global {\n interface HTMLButtonElement {\n type_(type: 'button' | 'submit' | 'reset'): this;\n disabled_(disabled?: boolean): this;\n name_(name: string): this;\n value_(value: string): this;\n autofocus_(autofocus?: boolean): this;\n }\n}\n$_(HTMLButtonElement, {\n type_(type) {\n this.type = type;\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n name_(name) {\n this.name = name;\n return this;\n },\n value_(value) {\n this.value = value;\n return this;\n },\n autofocus_(autofocus = true) {\n this.autofocus = autofocus;\n return this;\n },\n} as HTMLButtonElement);\nexport {};\n","declare global {\n interface HTMLFormElement {\n action_(action: string): this;\n method_(method: 'get' | 'post' | 'dialog'): this;\n target_(target: string): this;\n enctype_(enctype: string): this;\n noValidate_(noValidate?: boolean): this;\n reset_(): this;\n submit_(): this;\n requestSubmit_(): this;\n }\n}\n$_(HTMLFormElement, {\n action_(action) {\n this.action = action;\n return this;\n },\n method_(method) {\n this.method = method;\n return this;\n },\n target_(target) {\n this.target = target;\n return this;\n },\n enctype_(enctype) {\n this.enctype = enctype;\n return this;\n },\n noValidate_(noValidate = true) {\n this.noValidate = noValidate;\n return this;\n },\n reset_() {\n this.reset();\n return this;\n },\n submit_() {\n this.submit();\n return this;\n },\n requestSubmit_() {\n this.requestSubmit();\n return this;\n },\n} as HTMLFormElement);\nexport {};\n","declare global {\n interface HTMLAnchorElement {\n href_(href: string): this;\n target_(target: string): this;\n rel_(rel: string): this;\n download_(download?: string): this;\n referrerPolicy_(policy: ReferrerPolicy): this;\n }\n}\n$_(HTMLAnchorElement, {\n href_(href) {\n this.href = href;\n return this;\n },\n target_(target) {\n this.target = target;\n return this;\n },\n rel_(rel) {\n this.rel = rel;\n return this;\n },\n download_(download = '') {\n this.download = download;\n return this;\n },\n referrerPolicy_(policy) {\n this.referrerPolicy = policy;\n return this;\n },\n} as HTMLAnchorElement);\nexport {};\n","declare global {\n interface HTMLImageElement {\n src_(src: string): this;\n alt_(alt: string): this;\n width_(width: number): this;\n height_(height: number): this;\n loading_(loading: 'eager' | 'lazy'): this;\n decoding_(decoding: 'sync' | 'async' | 'auto'): this;\n }\n}\n$_(HTMLImageElement, {\n src_(src) {\n this.src = src;\n return this;\n },\n alt_(alt) {\n this.alt = alt;\n return this;\n },\n width_(width) {\n this.width = width;\n return this;\n },\n height_(height) {\n this.height = height;\n return this;\n },\n loading_(loading) {\n this.loading = loading;\n return this;\n },\n decoding_(decoding) {\n this.decoding = decoding;\n return this;\n },\n} as HTMLImageElement);\nexport {};\n","declare global {\n interface HTMLMediaElement {\n src_(src: string): this;\n controls_(controls?: boolean): this;\n autoplay_(autoplay?: boolean): this;\n loop_(loop?: boolean): this;\n muted_(muted?: boolean): this;\n currentTime_(time: number): this;\n volume_(volume: number): this;\n play_(): this;\n pause_(): this;\n }\n}\n$_(HTMLMediaElement, {\n src_(src) {\n this.src = src;\n return this;\n },\n controls_(controls = true) {\n this.controls = controls;\n return this;\n },\n autoplay_(autoplay = true) {\n this.autoplay = autoplay;\n return this;\n },\n loop_(loop = true) {\n this.loop = loop;\n return this;\n },\n muted_(muted = true) {\n this.muted = muted;\n return this;\n },\n currentTime_(time) {\n this.currentTime = time;\n return this;\n },\n volume_(volume) {\n this.volume = volume;\n return this;\n },\n play_() {\n void this.play();\n return this;\n },\n pause_() {\n this.pause();\n return this;\n },\n} as HTMLMediaElement);\nexport {};\n","declare global {\n interface HTMLLabelElement {\n for_(htmlFor: string): this;\n }\n}\n$_(HTMLLabelElement, {\n for_(htmlFor) {\n this.htmlFor = htmlFor;\n return this;\n },\n} as HTMLLabelElement);\nexport {};\n","declare global {\n interface HTMLOptionElement {\n value_(value: string): this;\n selected_(selected?: boolean): this;\n disabled_(disabled?: boolean): this;\n label_(label: string): this;\n }\n}\n$_(HTMLOptionElement, {\n value_(value) {\n this.value = value;\n return this;\n },\n selected_(selected = true) {\n this.selected = selected;\n return this;\n },\n disabled_(disabled = true) {\n this.disabled = disabled;\n return this;\n },\n label_(label) {\n this.label = label;\n return this;\n },\n} as HTMLOptionElement);\nexport {};\n","declare global {\n interface HTMLDetailsElement {\n open_(open?: boolean): this;\n }\n}\n$_(HTMLDetailsElement, {\n open_(open = true) {\n this.open = open;\n return this;\n },\n} as HTMLDetailsElement);\nexport {};\n","declare global {\n interface HTMLDialogElement {\n open_(open?: boolean): this;\n show_(): this;\n showModal_(): this;\n close_(returnValue?: string): this;\n }\n}\n$_(HTMLDialogElement, {\n open_(open = true) {\n this.open = open;\n return this;\n },\n show_() {\n this.show();\n return this;\n },\n showModal_() {\n this.showModal();\n return this;\n },\n close_(returnValue) {\n this.close(returnValue);\n return this;\n },\n} as HTMLDialogElement);\nexport {};\n","declare global {\n interface HTMLProgressElement {\n value_(value: number): this;\n max_(max: number): this;\n }\n interface HTMLMeterElement {\n value_(value: number): this;\n min_(min: number): this;\n max_(max: number): this;\n low_(low: number): this;\n high_(high: number): this;\n optimum_(optimum: number): this;\n }\n}\n$_(HTMLProgressElement, {\n value_(value) {\n this.value = value;\n return this;\n },\n max_(max) {\n this.max = max;\n return this;\n },\n} as HTMLProgressElement);\n$_(HTMLMeterElement, {\n value_(value) {\n this.value = value;\n return this;\n },\n min_(min) {\n this.min = min;\n return this;\n },\n max_(max) {\n this.max = max;\n return this;\n },\n low_(low) {\n this.low = low;\n return this;\n },\n high_(high) {\n this.high = high;\n return this;\n },\n optimum_(optimum) {\n this.optimum = optimum;\n return this;\n },\n} as HTMLMeterElement);\nexport {};\n","import './common/enhance.js';\nimport './core/init.js';\n\nReflect.deleteProperty(globalThis, '$_');\nexport const h = <T extends keyof HTMLElementTagNameMap>(tag: T): HTMLElementTagNameMap[T] =>\n document.createElement(tag);\nexport const div = () => document.createElement('div');\nexport const span = () => document.createElement('span');\nexport const section = () => document.createElement('section');\nexport const p = () => document.createElement('p');\nexport const input = () => document.createElement('input');\nexport const textarea = () => document.createElement('textarea');\nexport const btn = () => document.createElement('button');\nexport const select = (options: Array<{ value: any; label: string }>) =>\n document.createElement('select').options_(options);\n"],"mappings":"AAAA,WAAW,IAAM,EAAG,IAAM,OAAO,OAAO,EAAE,UAAW,CAAC,ECmMtD,GAAG,YAAa,CACd,IAAI,EAAI,CAEN,MADA,MAAK,GAAK,EACH,IACT,EACA,MAAM,EAAM,EAAO,CAEjB,OADA,KAAK,aAAa,EAAM,CAAK,EACtB,IACT,EACA,MAAM,EAAM,CAEV,OADA,KAAK,aAAa,OAAQ,CAAI,EACvB,IACT,EACA,OAAO,GAAG,EAAO,CAEf,OADA,KAAK,OAAO,GAAG,CAAK,EACb,IACT,EACA,SAAU,CAER,OADA,KAAK,OAAO,EACL,IACT,EACA,SAAS,EAAG,EAAG,CAEb,MADA,MAAK,QAAQ,GAAK,EACX,IACT,EACA,OAAO,EAAG,CAER,MADA,MAAK,UAAY,MAAM,QAAQ,CAAC,EAAI,EAAE,KAAK,GAAG,EAAI,EAC3C,IACT,EACA,GAAG,EAAG,CAEJ,MADA,MAAK,MAAM,M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