@formkit/pro 0.122.6 → 0.122.7-5d2a1fd
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/autocomplete/autocomplete.ts +10 -8
- package/colorpicker/colorpicker.ts +3 -5
- package/datepicker/datepicker.ts +3 -5
- package/dropdown/dropdown.ts +10 -8
- package/index.cjs +1 -1
- package/index.d.ts +48 -1
- package/index.mjs +1 -1
- package/mask/mask.ts +3 -4
- package/package.json +49 -1
- package/rating/rating.ts +4 -3
- package/repeater/repeater.ts +3 -4
- package/slider/index.mjs +1 -1
- package/slider/slider.ts +3 -4
- package/taglist/taglist.ts +10 -8
- package/toggle/toggle.ts +3 -3
- package/togglebuttons/togglebuttons.ts +15 -19
- package/transferList/transferList.ts +3 -4
package/mask/mask.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormKitProInput } from '
|
|
1
|
+
import { FormKitProInput } from '../index'
|
|
2
2
|
import {
|
|
3
3
|
outer,
|
|
4
4
|
wrapper,
|
|
@@ -18,9 +18,8 @@ import {
|
|
|
18
18
|
overlayParts,
|
|
19
19
|
overlayPlaceholder,
|
|
20
20
|
overlayInner,
|
|
21
|
-
} from '
|
|
22
|
-
import useMask from '
|
|
23
|
-
import maskOverlay from '../features/maskOverlay'
|
|
21
|
+
} from '@formkit/pro/mask'
|
|
22
|
+
import { useMask, maskOverlay } from '@formkit/pro'
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* Input definition for a mask input.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formkit/pro",
|
|
3
|
-
"version": "0.122.
|
|
3
|
+
"version": "0.122.7-5d2a1fd",
|
|
4
4
|
"description": "FormKit Pro — Form inputs and tools for high quality forms.",
|
|
5
5
|
"main": "index.cjs",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -9,6 +9,54 @@
|
|
|
9
9
|
"author": "FormKit <info@formkit.com>",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
11
11
|
"exports": {
|
|
12
|
+
"./autocomplete": {
|
|
13
|
+
"import": "./autocomplete/index.mjs",
|
|
14
|
+
"types": "./index.d.ts"
|
|
15
|
+
},
|
|
16
|
+
"./colorpicker": {
|
|
17
|
+
"import": "./colorpicker/index.mjs",
|
|
18
|
+
"types": "./index.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./datepicker": {
|
|
21
|
+
"import": "./datepicker/index.mjs",
|
|
22
|
+
"types": "./index.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"./dropdown": {
|
|
25
|
+
"import": "./dropdown/index.mjs",
|
|
26
|
+
"types": "./index.d.ts"
|
|
27
|
+
},
|
|
28
|
+
"./mask": {
|
|
29
|
+
"import": "./mask/index.mjs",
|
|
30
|
+
"types": "./index.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./rating": {
|
|
33
|
+
"import": "./rating/index.mjs",
|
|
34
|
+
"types": "./index.d.ts"
|
|
35
|
+
},
|
|
36
|
+
"./repeater": {
|
|
37
|
+
"import": "./repeater/index.mjs",
|
|
38
|
+
"types": "./index.d.ts"
|
|
39
|
+
},
|
|
40
|
+
"./slider": {
|
|
41
|
+
"import": "./slider/index.mjs",
|
|
42
|
+
"types": "./index.d.ts"
|
|
43
|
+
},
|
|
44
|
+
"./taglist": {
|
|
45
|
+
"import": "./taglist/index.mjs",
|
|
46
|
+
"types": "./index.d.ts"
|
|
47
|
+
},
|
|
48
|
+
"./toggle": {
|
|
49
|
+
"import": "./toggle/index.mjs",
|
|
50
|
+
"types": "./index.d.ts"
|
|
51
|
+
},
|
|
52
|
+
"./togglebuttons": {
|
|
53
|
+
"import": "./togglebuttons/index.mjs",
|
|
54
|
+
"types": "./index.d.ts"
|
|
55
|
+
},
|
|
56
|
+
"./transferlist": {
|
|
57
|
+
"import": "./transferlist/index.mjs",
|
|
58
|
+
"types": "./index.d.ts"
|
|
59
|
+
},
|
|
12
60
|
".": {
|
|
13
61
|
"import": "./index.mjs",
|
|
14
62
|
"require": "./index.cjs",
|
package/rating/rating.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defaultIcon } from '@formkit/inputs'
|
|
2
|
-
import
|
|
3
|
-
import { FormKitProInput } from '@formkit/pro'
|
|
2
|
+
import { FormKitProInput } from '../index'
|
|
4
3
|
import {
|
|
5
4
|
outer,
|
|
6
5
|
wrapper,
|
|
@@ -18,7 +17,9 @@ import {
|
|
|
18
17
|
icon,
|
|
19
18
|
prefix,
|
|
20
19
|
suffix,
|
|
21
|
-
} from '
|
|
20
|
+
} from '@formkit/pro/rating'
|
|
21
|
+
|
|
22
|
+
import { rate } from '@formkit/pro'
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
* Input definition for a rating input.
|
package/repeater/repeater.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormKitProInput } from '
|
|
1
|
+
import { FormKitProInput } from '../index'
|
|
2
2
|
import {
|
|
3
3
|
outer,
|
|
4
4
|
fieldset,
|
|
@@ -28,11 +28,10 @@ import {
|
|
|
28
28
|
controlLabel,
|
|
29
29
|
dragHandleWrapper,
|
|
30
30
|
dragHandle,
|
|
31
|
-
} from '
|
|
32
|
-
import repeats from '../features/repeats'
|
|
31
|
+
} from '@formkit/pro/repeater'
|
|
33
32
|
import { localize, defaultIcon } from '@formkit/inputs'
|
|
34
|
-
import { $if } from '../compose'
|
|
35
33
|
import { disablesChildren } from '@formkit/inputs'
|
|
34
|
+
import { repeats, $if } from '@formkit/pro'
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* Input definition for a repeater input.
|
package/slider/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createSectionFactory as a,createBaseSections as e}from"../index.mjs";const l=a("sl"),{outer:t,wrapper:s,inner:$,icon:n,label:i,prefix:r,suffix:d,help:o,messages:u,message:c}=e(l),h=l("chart",(()=>({$el:"div",if:"$chart"}))),p=l("chartBar",(()=>({$el:"div",for:["bar","index","$chart"],attrs:{"data-active":{if:"$isMulti",then:{if:"$_value.0 < $_value.1",then:"$bar.at >= $_value.0 && $bar.at <= $_value.1",else:"$bar.at >= $_value.1 && $bar.at <= $_value.0"},else:"$bar.at <= $_value"},style:{left:'$bar.at / ($max - $min) * 100 + "%"',width:'$: "calc(" + (100 / $chart.length) + "% - 2px)"',height:{if:"$largestBar",then:'$bar.value / $largestBar * 100 + "%"'}}}}))),v=l("sliderInner",(()=>({$el:"div",attrs:{"data-has-mark-labels":"$markLabels && $marks.length > 0"}}))),m=l("track",(()=>({$el:"div",attrs:{id:"$: 'track-' + $id",onClick:"$handlers.clickTrack"}}))),f=l("trackWrapper",(()=>({$el:"div"}))),b=l("trackInner",(()=>({$el:"div"}))),k=l("fill",(()=>({$el:"div",attrs:{style:"$fillStyles"}}))),_=l("linkedValues",(()=>({$el:"div"}))),x=l("maxValue",(()=>({$formkit:"number",bind:"$computedMaxInputAttrs",ignore:!0,value:{if:"$isMulti",then:"$_value.1",else:"$_value"},tabindex:{if:"$disabled",then:-1},onNode:"$handlers.maxNode",onBlur:"$handlers.inputBlur"}))),M=l("minValue",(()=>({$formkit:"number",bind:"$computedMinInputAttrs",ignore:!0,value:{if:"$isMulti",then:"$_value.0",else:"$_value"},tabindex:{if:"$disabled",then:-1},onNode:"$handlers.minNode",onBlur:"$handlers.inputBlur"}))),g=l("marks",(()=>({$el:"div",if:"$marks"}))),y=l("mark",(()=>({$el:"span",for:["step","index","$marks"],attrs:{"data-active":{if:"$isMulti",then:{if:"$_value.0 < $_value.1",then:"$step.at >= $_value.0 && $step.at <= $_value.1",else:"$step.at >= $_value.1 && $step.at <= $_value.0"},else:"$step.at <= $_value"},class:{if:"$step.class",then:'$: $classes.mark + " " + $step.class',else:"$classes.mark"},style:{left:'$: $fns.calculateMarkPosition($step.at) + "%"'}}}))),I=l("markLabel",(()=>({$el:"span",if:"$markLabels",children:{if:"$step.label !== undefined",then:"$step.label",else:""},attrs:{class:'$: $classes.markLabel + " " + $step.labelClass'}}))),w=l("handles",(()=>({$el:"ul"}))),B=l("handleMax",(()=>({$el:"li",attrs:{"data-active":"$dragging","data-is-target":'$lastHandleInteraction === "max"',"data-handle":"max","data-show-tooltip":"$tooltip",class:"$: 'formkit-handle ' + $classes.handle + ' ' + $classes.handleMax",onFocus:"$handlers.focus",onClick:"$handlers.clickHandle",onMousedown:"$handlers.startDrag",onTouchstart:"$handlers.startDrag",style:"$maxHandleStyles",tabindex:{if:"$disabled",then:-1,else:0},onBlur:"$handlers.blur",onKeydown:"$handlers.keydown"}}))),F=l("handleMin",(()=>({$el:"li",if:"$isMulti",attrs:{"data-active":"$dragging","data-is-target":'$lastHandleInteraction === "min"',"data-handle":"min","data-show-tooltip":"$tooltip",class:"$: $classes.handle + ' ' + $classes.handleMin",onFocus:"$handlers.focus",onClick:"$handlers.clickHandle",onMousedown:"$handlers.startDrag",onTouchstart:"$handlers.startDrag",style:"$minHandleStyles",tabindex:{if:"$disabled",then:-1,else:0},onBlur:"$handlers.blur",onKeydown:"$handlers.keydown"}}))),H=l("handleMinInner",(()=>({$el:"div",attrs:{class:'$: $classes.handleInner + " " + $classes.handleMinInner'}}))),C=l("handleMaxInner",(()=>({$el:"div",attrs:{class:'$: $classes.handleInner + " " + $classes.handleMaxInner'}}))),D=l("tooltipMax",(()=>({$el:"div",if:'$tooltip === true || $tooltip === "auto"',children:{if:"$isMulti",then:{if:"$_value.0 < $_value.1",then:'$tooltipFormat($_value.1, "max")',else:'$tooltipFormat($_value.0, "max")'},else:'$tooltipFormat($_value, "max")'},attrs:{class:"$classes.tooltip + ' ' + $classes.tooltipMax"}}))),L=l("tooltipMin",(()=>({$el:"div",if:'$isMulti && ($tooltip === true || $tooltip === "auto")',children:{if:"$_value.0 < $_value.1",then:'$tooltipFormat($_value.0, "min")',else:'$tooltipFormat($_value.1, "min")'},attrs:{class:"$classes.tooltip + ' ' + $classes.tooltipMin"}})));export{h as chart,p as chartBar,l as createSection,k as fill,B as handleMax,C as handleMaxInner,F as handleMin,H as handleMinInner,w as handles,o as help,n as icon,$ as inner,i as label,_ as linkedValues,y as mark,I as markLabel,g as marks,x as maxValue,c as message,u as messages,M as minValue,t as outer,r as prefix,v as sliderInner,d as suffix,D as tooltipMax,L as tooltipMin,m as track,b as trackInner,f as trackWrapper,s as wrapper};
|
|
1
|
+
import{createSectionFactory as a,createBaseSections as e}from"../index.mjs";const l=a("sl"),{outer:t,wrapper:s,inner:$,icon:n,label:i,prefix:r,suffix:d,help:o,messages:u,message:c}=e(l),h=l("chart",(()=>({$el:"div",if:"$chart"}))),p=l("chartBar",(()=>({$el:"div",for:["bar","index","$chart"],attrs:{"data-active":{if:"$isMulti",then:{if:"$_value.0 < $_value.1",then:"$bar.at >= $_value.0 && $bar.at <= $_value.1",else:"$bar.at >= $_value.1 && $bar.at <= $_value.0"},else:"$bar.at <= $_value"},style:{left:'$bar.at / ($max - $min) * 100 + "%"',width:'$: "calc(" + (100 / $chart.length) + "% - 2px)"',height:{if:"$largestBar",then:'$bar.value / $largestBar * 100 + "%"'}}}}))),v=l("sliderInner",(()=>({$el:"div",attrs:{"data-has-mark-labels":"$markLabels && $marks.length > 0"}}))),m=l("track",(()=>({$el:"div",attrs:{id:"$: 'track-' + $id",onClick:"$handlers.clickTrack"}}))),f=l("trackWrapper",(()=>({$el:"div"}))),b=l("trackInner",(()=>({$el:"div"}))),k=l("fill",(()=>({$el:"div",attrs:{style:"$fillStyles"}}))),_=l("linkedValues",(()=>({$el:"div"}))),x=l("maxValue",(()=>({$formkit:"number",bind:"$computedMaxInputAttrs",ignore:!0,value:{if:"$isMulti",then:"$_value.1",else:"$_value"},tabindex:{if:"$disabled",then:-1},onNode:"$handlers.maxNode",onBlur:"$handlers.inputBlur"}))),M=l("minValue",(()=>({$formkit:"number",if:"$isMulti",bind:"$computedMinInputAttrs",ignore:!0,value:{if:"$isMulti",then:"$_value.0",else:"$_value"},tabindex:{if:"$disabled",then:-1},onNode:"$handlers.minNode",onBlur:"$handlers.inputBlur"}))),g=l("marks",(()=>({$el:"div",if:"$marks"}))),y=l("mark",(()=>({$el:"span",for:["step","index","$marks"],attrs:{"data-active":{if:"$isMulti",then:{if:"$_value.0 < $_value.1",then:"$step.at >= $_value.0 && $step.at <= $_value.1",else:"$step.at >= $_value.1 && $step.at <= $_value.0"},else:"$step.at <= $_value"},class:{if:"$step.class",then:'$: $classes.mark + " " + $step.class',else:"$classes.mark"},style:{left:'$: $fns.calculateMarkPosition($step.at) + "%"'}}}))),I=l("markLabel",(()=>({$el:"span",if:"$markLabels",children:{if:"$step.label !== undefined",then:"$step.label",else:""},attrs:{class:'$: $classes.markLabel + " " + $step.labelClass'}}))),w=l("handles",(()=>({$el:"ul"}))),B=l("handleMax",(()=>({$el:"li",attrs:{"data-active":"$dragging","data-is-target":'$lastHandleInteraction === "max"',"data-handle":"max","data-show-tooltip":"$tooltip",class:"$: 'formkit-handle ' + $classes.handle + ' ' + $classes.handleMax",onFocus:"$handlers.focus",onClick:"$handlers.clickHandle",onMousedown:"$handlers.startDrag",onTouchstart:"$handlers.startDrag",style:"$maxHandleStyles",tabindex:{if:"$disabled",then:-1,else:0},onBlur:"$handlers.blur",onKeydown:"$handlers.keydown"}}))),F=l("handleMin",(()=>({$el:"li",if:"$isMulti",attrs:{"data-active":"$dragging","data-is-target":'$lastHandleInteraction === "min"',"data-handle":"min","data-show-tooltip":"$tooltip",class:"$: $classes.handle + ' ' + $classes.handleMin",onFocus:"$handlers.focus",onClick:"$handlers.clickHandle",onMousedown:"$handlers.startDrag",onTouchstart:"$handlers.startDrag",style:"$minHandleStyles",tabindex:{if:"$disabled",then:-1,else:0},onBlur:"$handlers.blur",onKeydown:"$handlers.keydown"}}))),H=l("handleMinInner",(()=>({$el:"div",attrs:{class:'$: $classes.handleInner + " " + $classes.handleMinInner'}}))),C=l("handleMaxInner",(()=>({$el:"div",attrs:{class:'$: $classes.handleInner + " " + $classes.handleMaxInner'}}))),D=l("tooltipMax",(()=>({$el:"div",if:'$tooltip === true || $tooltip === "auto"',children:{if:"$isMulti",then:{if:"$_value.0 < $_value.1",then:'$tooltipFormat($_value.1, "max")',else:'$tooltipFormat($_value.0, "max")'},else:'$tooltipFormat($_value, "max")'},attrs:{class:"$classes.tooltip + ' ' + $classes.tooltipMax"}}))),L=l("tooltipMin",(()=>({$el:"div",if:'$isMulti && ($tooltip === true || $tooltip === "auto")',children:{if:"$_value.0 < $_value.1",then:'$tooltipFormat($_value.0, "min")',else:'$tooltipFormat($_value.1, "min")'},attrs:{class:"$classes.tooltip + ' ' + $classes.tooltipMin"}})));export{h as chart,p as chartBar,l as createSection,k as fill,B as handleMax,C as handleMaxInner,F as handleMin,H as handleMinInner,w as handles,o as help,n as icon,$ as inner,i as label,_ as linkedValues,y as mark,I as markLabel,g as marks,x as maxValue,c as message,u as messages,M as minValue,t as outer,r as prefix,v as sliderInner,d as suffix,D as tooltipMax,L as tooltipMin,m as track,b as trackInner,f as trackWrapper,s as wrapper};
|
package/slider/slider.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { FormKitProInput } from '
|
|
2
|
-
import { default as sliderFeature } from '../features/slider'
|
|
1
|
+
import { FormKitProInput } from '../index'
|
|
3
2
|
import {
|
|
4
3
|
outer,
|
|
5
4
|
wrapper,
|
|
@@ -30,8 +29,8 @@ import {
|
|
|
30
29
|
linkedValues,
|
|
31
30
|
chart,
|
|
32
31
|
chartBar,
|
|
33
|
-
} from '
|
|
34
|
-
import { $if } from '
|
|
32
|
+
} from '@formkit/pro/slider'
|
|
33
|
+
import { sliderFeature, $if } from '@formkit/pro'
|
|
35
34
|
|
|
36
35
|
/**
|
|
37
36
|
* Input definition for a slider input.
|
package/taglist/taglist.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { options, defaultIcon, localize } from '@formkit/inputs'
|
|
2
|
-
import { FormKitProInput } from '
|
|
2
|
+
import { FormKitProInput } from '../index'
|
|
3
3
|
import {
|
|
4
4
|
outer,
|
|
5
5
|
wrapper,
|
|
@@ -20,13 +20,15 @@ import {
|
|
|
20
20
|
removeSelection,
|
|
21
21
|
tag,
|
|
22
22
|
tagLabel,
|
|
23
|
-
} from '
|
|
24
|
-
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
} from '@formkit/pro/taglist'
|
|
24
|
+
import {
|
|
25
|
+
dropdownFamily,
|
|
26
|
+
taglistProps,
|
|
27
|
+
searchInput,
|
|
28
|
+
taglistFeatures,
|
|
29
|
+
usePopover,
|
|
30
|
+
$if,
|
|
31
|
+
} from '@formkit/pro'
|
|
30
32
|
|
|
31
33
|
/**
|
|
32
34
|
* Input definition for a taglist input.
|
package/toggle/toggle.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormKitProInput } from '
|
|
1
|
+
import { FormKitProInput } from '../index'
|
|
2
2
|
import {
|
|
3
3
|
outer,
|
|
4
4
|
wrapper,
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
altLabel,
|
|
16
16
|
innerLabel,
|
|
17
17
|
valueLabel,
|
|
18
|
-
} from '
|
|
19
|
-
import toggles from '
|
|
18
|
+
} from '@formkit/pro/toggle'
|
|
19
|
+
import { toggles } from '@formkit/pro'
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Input definition for a toggle input.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { FormKitProInput } from '
|
|
1
|
+
import { FormKitProInput } from '../index'
|
|
2
2
|
import { options as optionsCore } from '@formkit/inputs'
|
|
3
|
-
import { $if } from '../compose'
|
|
4
3
|
import {
|
|
5
4
|
outer,
|
|
6
5
|
wrapper,
|
|
@@ -13,11 +12,12 @@ import {
|
|
|
13
12
|
help,
|
|
14
13
|
messages,
|
|
15
14
|
message,
|
|
16
|
-
prefix,
|
|
15
|
+
prefix,
|
|
17
16
|
suffix,
|
|
18
17
|
icon,
|
|
19
|
-
} from '
|
|
20
|
-
|
|
18
|
+
} from '@formkit/pro/togglebuttons'
|
|
19
|
+
|
|
20
|
+
import { togglebuttonsFeatures, $if } from '@formkit/pro'
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Input definition for a toggle group input.
|
|
@@ -39,13 +39,13 @@ export const togglebuttons: FormKitProInput = {
|
|
|
39
39
|
'$fns.isChecked($option) === true',
|
|
40
40
|
buttonInput(
|
|
41
41
|
'$slots.default || $slots.on || ' +
|
|
42
|
-
|
|
42
|
+
'$option.onLabel || $option.label'
|
|
43
43
|
),
|
|
44
44
|
buttonInput(
|
|
45
45
|
'$slots.default || $slots.off || ' +
|
|
46
|
-
|
|
46
|
+
'$option.offLabel || $option.label'
|
|
47
47
|
)
|
|
48
|
-
)
|
|
48
|
+
)
|
|
49
49
|
)
|
|
50
50
|
)
|
|
51
51
|
)
|
|
@@ -53,7 +53,7 @@ export const togglebuttons: FormKitProInput = {
|
|
|
53
53
|
wrapper(
|
|
54
54
|
$if(
|
|
55
55
|
'$label && ($slots.default || $slots.on || $onLabel)',
|
|
56
|
-
label('$label')
|
|
56
|
+
label('$label')
|
|
57
57
|
),
|
|
58
58
|
singleToggle(
|
|
59
59
|
icon('prefix'),
|
|
@@ -61,18 +61,16 @@ export const togglebuttons: FormKitProInput = {
|
|
|
61
61
|
$if(
|
|
62
62
|
'$_isChecked === true',
|
|
63
63
|
buttonInput(
|
|
64
|
-
'$slots.default || $slots.on || '+
|
|
65
|
-
'$onLabel || $label'
|
|
64
|
+
'$slots.default || $slots.on || ' + '$onLabel || $label'
|
|
66
65
|
),
|
|
67
66
|
buttonInput(
|
|
68
|
-
'$slots.default || $slots.off || '+
|
|
69
|
-
'$offLabel || $label'
|
|
67
|
+
'$slots.default || $slots.off || ' + '$offLabel || $label'
|
|
70
68
|
)
|
|
71
69
|
),
|
|
72
70
|
suffix(),
|
|
73
|
-
icon('suffix')
|
|
74
|
-
)
|
|
75
|
-
)
|
|
71
|
+
icon('suffix')
|
|
72
|
+
)
|
|
73
|
+
)
|
|
76
74
|
),
|
|
77
75
|
help('$help'),
|
|
78
76
|
messages(message('$message.value'))
|
|
@@ -87,9 +85,7 @@ export const togglebuttons: FormKitProInput = {
|
|
|
87
85
|
/**
|
|
88
86
|
* An array of extra props to accept for this input.
|
|
89
87
|
*/
|
|
90
|
-
props: [
|
|
91
|
-
'options'
|
|
92
|
-
],
|
|
88
|
+
props: ['options'],
|
|
93
89
|
|
|
94
90
|
/**
|
|
95
91
|
* Additional features that make this input work.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormKitProInput } from '
|
|
1
|
+
import { FormKitProInput } from '../index'
|
|
2
2
|
import {
|
|
3
3
|
outer,
|
|
4
4
|
fieldset,
|
|
@@ -37,10 +37,9 @@ import {
|
|
|
37
37
|
sourceEmptyMessage,
|
|
38
38
|
targetEmptyMessage,
|
|
39
39
|
emptyMessageInner,
|
|
40
|
-
} from '
|
|
41
|
-
import { default as transferListFeature } from '../features/transferlist/index'
|
|
40
|
+
} from '@formkit/pro/transferList'
|
|
42
41
|
import { options, defaultIcon, localize } from '@formkit/inputs'
|
|
43
|
-
import { $if } from '
|
|
42
|
+
import { transferListFeature, $if } from '@formkit/pro'
|
|
44
43
|
|
|
45
44
|
/**
|
|
46
45
|
* Input definition for a transferlist input.
|