@formkit/pro 0.121.1 → 0.121.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formkit/pro",
3
- "version": "0.121.1",
3
+ "version": "0.121.3",
4
4
  "description": "FormKit Pro — Form inputs and tools for high quality forms.",
5
5
  "main": "index.cjs",
6
6
  "module": "index.mjs",
@@ -1 +1 @@
1
- import{createSectionFactory as e,createBaseSections as t}from"../index.mjs";const n=e("rp"),{outer:o,inner:l,prefix:i,suffix:r,help:$,messages:d,message:a,icon:s}=t(n),u=n("empty",(()=>({$el:"div"}))),m=n("insertControl",(()=>({$el:"button",attrs:{disabled:"$value.length >= $max",onClick:"$fns.createInsert($index)",type:"button"}}))),f=n("addButton",(()=>({$formkit:"button",bind:"$addAttrs",if:"$addButton",disabled:"$value.length >= $max",onClick:"$fns.createAppend()",type:"button"}))),p=n("removeControl",(()=>({$el:"button",attrs:{disabled:"$value.length <= $min",onClick:"$fns.createRemover($index)",type:"button"}}))),b=n("items",(()=>({$el:"ul",meta:{autoAnimate:!0},attrs:{role:"list",id:'$id + "_items"'}}))),C=n("item",(()=>({$el:"li",for:["item","index","$items"],attrs:{role:"listitem",key:"$item","data-index":"$index"}}))),c=n("downControl",(()=>({$el:"button",attrs:{disabled:"$index >= $value.length - 1",onClick:"$fns.createShift($index, 1)",type:"button"}}))),x=n("upControl",(()=>({$el:"button",attrs:{disabled:"$index <= 0",onClick:"$fns.createShift($index, -1)",type:"button"}}))),g=n("content","div"),v=n("fieldset",(()=>({$el:"fieldset",attrs:{id:"$id"}}))),k=n("legend",(()=>({$el:"legend",if:"$label"}))),h=n("group",(()=>({$formkit:"group",index:"$index"}))),y=n("controls",(()=>({$el:"ul",if:"$removeControl || $insertControl || $upControl || $downControl"}))),w=n("remove",(()=>({$el:"li",if:"$removeControl"}))),A=n("insert",(()=>({$el:"li",if:"$insertControl"}))),B=n("up",(()=>({$el:"li",if:"$upControl"}))),H=n("down",(()=>({$el:"li",if:"$downControl"}))),S=n("controlLabel","span"),I=n("dragHandleWrapper",(()=>({if:"$draggable",$el:"div"}))),L=n("dragHandle",(()=>({$el:"div"})));export{f as addButton,g as content,S as controlLabel,y as controls,n as createSection,H as down,c as downControl,L as dragHandle,I as dragHandleWrapper,u as empty,v as fieldset,h as group,$ as help,s as icon,l as inner,A as insert,m as insertControl,C as item,b as items,k as legend,a as message,d as messages,o as outer,i as prefix,w as remove,p as removeControl,r as suffix,B as up,x as upControl};
1
+ import{createSectionFactory as e,createBaseSections as t}from"../index.mjs";const n=e("rp"),{outer:i,inner:l,prefix:o,suffix:r,help:d,messages:$,message:a,icon:s}=t(n),u=n("empty",(()=>({$el:"div"}))),m=n("insertControl",(()=>({$el:"button",attrs:{disabled:"$value.length >= $max",onClick:"$fns.createInsert($index)",type:"button"}}))),f=n("addButton",(()=>({$formkit:"button",bind:"$addAttrs",if:"$addButton",disabled:"$value.length >= $max",onClick:"$fns.createAppend()",type:"button"}))),p=n("removeControl",(()=>({$el:"button",attrs:{disabled:"$value.length <= $min",onClick:"$fns.createRemover($index)",type:"button"}}))),b=n("items",(()=>({$el:"ul",meta:{autoAnimate:!0},attrs:{role:"list",id:'$id + "_items"'}}))),C=n("item",(()=>({$el:"li",for:["item","index","$items"],attrs:{role:"listitem",key:"$item","data-index":"$index"}}))),c=n("downControl",(()=>({$el:"button",attrs:{disabled:"$index >= $value.length - 1",onClick:"$fns.createShift($index, 1)",type:"button"}}))),x=n("upControl",(()=>({$el:"button",attrs:{disabled:"$index <= 0",onClick:"$fns.createShift($index, -1)",type:"button"}}))),g=n("content","div"),v=n("fieldset",(()=>({$el:"fieldset",attrs:{id:"$id"}}))),h=n("legend",(()=>({$el:"legend",if:"$label"}))),k=n("group",(()=>({$formkit:"group",index:"$index"}))),y=n("controls",(()=>({$el:"ul",if:"$removeControl || $insertControl || $upControl || $downControl"}))),w=n("remove",(()=>({$el:"li",if:"$removeControl"}))),A=n("insert",(()=>({$el:"li",if:"$insertControl"}))),_=n("up",(()=>({$el:"li",if:"$upControl"}))),B=n("down",(()=>({$el:"li",if:"$downControl"}))),H=n("controlLabel","span"),S=n("dragHandleWrapper",(()=>({if:"$draggable",$el:"div"}))),I=n("dragHandle",(()=>({$el:"div",attrs:{id:'$id + "_drag_handle"'}})));export{f as addButton,g as content,H as controlLabel,y as controls,n as createSection,B as down,c as downControl,I as dragHandle,S as dragHandleWrapper,u as empty,v as fieldset,k as group,d as help,s as icon,l as inner,A as insert,m as insertControl,C as item,b as items,h as legend,a as message,$ as messages,i as outer,o as prefix,w as remove,p as removeControl,r as suffix,_ as up,x as upControl};