@atscript/vue-form 0.1.102 → 0.1.104
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/{as-action-lLooKipk.cjs → as-action-B712j9xf.cjs} +4 -0
- package/dist/{as-action-BoZtbaXt.mjs → as-action-CCjN5EFP.mjs} +4 -0
- package/dist/as-action.cjs +1 -1
- package/dist/as-action.d.cts +1 -1
- package/dist/as-action.d.mts +1 -1
- package/dist/as-action.mjs +1 -1
- package/dist/{as-action.vue-BCbopk0S.d.cts → as-action.vue-BL8_a0fE.d.cts} +1 -1
- package/dist/{as-action.vue-BtQX09n-.d.mts → as-action.vue-CcOPK2qI.d.mts} +1 -1
- package/dist/{as-array-B_LjJ0oi.mjs → as-array-BGG38Y1L.mjs} +8 -4
- package/dist/{as-array-DAeDxzYV.cjs → as-array-DVc9_ood.cjs} +8 -4
- package/dist/as-array.cjs +1 -1
- package/dist/as-array.d.cts +1 -1
- package/dist/as-array.d.mts +1 -1
- package/dist/as-array.mjs +1 -1
- package/dist/{as-array.vue-Ci4xO292.d.cts → as-array.vue-Be1tDTdH.d.cts} +1 -1
- package/dist/{as-array.vue-I42wuF6e.d.mts → as-array.vue-CtBBY2gF.d.mts} +1 -1
- package/dist/{as-checkbox-dN1K-rJ_.mjs → as-checkbox-DwLRHmXj.mjs} +5 -1
- package/dist/{as-checkbox-Cva4XHFW.cjs → as-checkbox-sgF16SuJ.cjs} +5 -1
- package/dist/as-checkbox.cjs +1 -1
- package/dist/as-checkbox.d.cts +1 -1
- package/dist/as-checkbox.d.mts +1 -1
- package/dist/as-checkbox.mjs +1 -1
- package/dist/{as-checkbox.vue-BoY72SV8.d.mts → as-checkbox.vue-B6zk5IbU.d.cts} +1 -1
- package/dist/{as-checkbox.vue-DqIm0ms2.d.cts → as-checkbox.vue-CXpsn_WG.d.mts} +1 -1
- package/dist/{as-collapsible-B0rlXU0x.cjs → as-collapsible-BQ-eYR0v.cjs} +2 -2
- package/dist/{as-collapsible-DQOxKGGj.mjs → as-collapsible-DFTzB5Ar.mjs} +2 -2
- package/dist/as-collapsible.cjs +1 -1
- package/dist/as-collapsible.d.cts +1 -18
- package/dist/as-collapsible.d.mts +1 -19
- package/dist/as-collapsible.mjs +1 -1
- package/dist/as-collapsible.vue-34S3TEq5.d.cts +20 -0
- package/dist/as-collapsible.vue-CIfMlTQ6.d.mts +20 -0
- package/dist/{as-date-CsBBqja_.mjs → as-date-CfCa2Kp1.mjs} +6 -2
- package/dist/{as-date-Cizo8gZx.cjs → as-date-hCCTd52o.cjs} +6 -2
- package/dist/as-date.cjs +1 -1
- package/dist/as-date.d.cts +1 -1
- package/dist/as-date.d.mts +1 -1
- package/dist/as-date.mjs +1 -1
- package/dist/{as-date.vue-BfSVrED7.d.mts → as-date.vue-BZiy1s5s.d.cts} +1 -1
- package/dist/{as-date.vue-SdlJH5fn.d.cts → as-date.vue-DWWoojir.d.mts} +1 -1
- package/dist/{as-datetime-D_Wbrj9t.mjs → as-datetime-B1I_zREk.mjs} +6 -2
- package/dist/{as-datetime-Cjbprmxg.cjs → as-datetime-DDlWca2Q.cjs} +6 -2
- package/dist/as-datetime.cjs +1 -1
- package/dist/as-datetime.d.cts +1 -1
- package/dist/as-datetime.d.mts +1 -1
- package/dist/as-datetime.mjs +1 -1
- package/dist/{as-datetime.vue-B47V1siL.d.mts → as-datetime.vue-DYEHokj_.d.cts} +1 -1
- package/dist/{as-datetime.vue-DUp_TDOW.d.cts → as-datetime.vue-NblA-SVE.d.mts} +1 -1
- package/dist/{as-decimal-DtQuZmPA.mjs → as-decimal-CQM5OfqB.mjs} +5 -1
- package/dist/{as-decimal-DhrdOvUQ.cjs → as-decimal-DM10ycwv.cjs} +5 -1
- package/dist/as-decimal.cjs +1 -1
- package/dist/as-decimal.d.cts +1 -1
- package/dist/as-decimal.d.mts +1 -1
- package/dist/as-decimal.mjs +1 -1
- package/dist/{as-decimal.vue-Bhq4C1Ix.d.cts → as-decimal.vue-BoNNIhbL.d.mts} +1 -1
- package/dist/{as-decimal.vue-DitPZpS_.d.mts → as-decimal.vue-D3eGMvC0.d.cts} +1 -1
- package/dist/{as-field-CDB-HIfz.mjs → as-field-5rz47opo.mjs} +10 -4
- package/dist/{as-field-shell-zeno02I1.cjs → as-field-shell-C4epFfvE.cjs} +30 -24
- package/dist/{as-field-shell-D0mNXfQZ.mjs → as-field-shell-DLvPV8WS.mjs} +30 -24
- package/dist/as-field-shell.cjs +1 -1
- package/dist/as-field-shell.d.cts +1 -1
- package/dist/as-field-shell.d.mts +1 -1
- package/dist/as-field-shell.mjs +1 -1
- package/dist/{as-field-shell.vue-Ct1ixFqc.d.cts → as-field-shell.vue-CLDHaWN0.d.cts} +1 -1
- package/dist/{as-field-shell.vue-K4Flr3gw.d.mts → as-field-shell.vue-DssDDSal.d.mts} +1 -1
- package/dist/{as-field-DGnC4dew.cjs → as-field-vktmRs-V.cjs} +10 -4
- package/dist/as-field.cjs +1 -1
- package/dist/as-field.d.cts +1 -24
- package/dist/as-field.d.mts +1 -25
- package/dist/as-field.mjs +1 -1
- package/dist/as-field.vue-A2cJj-Ih.d.cts +26 -0
- package/dist/as-field.vue-CmjIDgQ5.d.mts +26 -0
- package/dist/{as-form-DaAnsFVF.cjs → as-form-B4DKpAVk.cjs} +235 -11
- package/dist/{as-form-8YNdb-49.mjs → as-form-me0zA-52.mjs} +232 -14
- package/dist/as-form.cjs +1 -1
- package/dist/as-form.d.cts +1 -1
- package/dist/as-form.d.mts +1 -1
- package/dist/as-form.mjs +1 -1
- package/dist/as-form.vue-D5d1Y2ff.d.cts +1425 -0
- package/dist/as-form.vue-DH3phgWP.d.mts +1425 -0
- package/dist/{as-input-CwPkK9qR.cjs → as-input-Bp1Ltp15.cjs} +6 -2
- package/dist/{as-input-VOGvI31W.mjs → as-input-DF--i7kY.mjs} +6 -2
- package/dist/{as-input-control-BYo_dfQA.cjs → as-input-control-B7F2q99A.cjs} +4 -0
- package/dist/{as-input-control-Bx-isLZN.mjs → as-input-control-BofS4mCo.mjs} +4 -0
- package/dist/as-input.cjs +1 -1
- package/dist/as-input.d.cts +1 -1
- package/dist/as-input.d.mts +1 -1
- package/dist/as-input.mjs +1 -1
- package/dist/{as-input.vue-BHsVVncq.d.cts → as-input.vue-CCAEWqK8.d.mts} +1 -1
- package/dist/{as-input.vue-DgZrW4pc.d.mts → as-input.vue-Nc9Q3RPh.d.cts} +1 -1
- package/dist/{as-iterator-BWXIzbJF.cjs → as-iterator-Bd-bKTMY.cjs} +2 -2
- package/dist/{as-iterator---gxkT-L.mjs → as-iterator-BjIF-O-J.mjs} +2 -2
- package/dist/as-iterator.cjs +1 -1
- package/dist/as-iterator.d.cts +1 -20
- package/dist/as-iterator.d.mts +1 -21
- package/dist/as-iterator.mjs +1 -1
- package/dist/as-iterator.vue-BZeozFr-.d.cts +22 -0
- package/dist/as-iterator.vue-C8HW6n25.d.mts +22 -0
- package/dist/{as-multi-select-D7XGZS3L.cjs → as-multi-select-b1l34vP5.cjs} +5 -1
- package/dist/{as-multi-select-DGipqqGz.mjs → as-multi-select-mp-aM3LV.mjs} +5 -1
- package/dist/as-multi-select.cjs +1 -1
- package/dist/as-multi-select.d.cts +1 -1
- package/dist/as-multi-select.d.mts +1 -1
- package/dist/as-multi-select.mjs +1 -1
- package/dist/{as-multi-select.vue--bavpcN-.d.cts → as-multi-select.vue-D9mseRFm.d.cts} +1 -1
- package/dist/{as-multi-select.vue-rsDUkzxa.d.mts → as-multi-select.vue-DKpOsOmM.d.mts} +1 -1
- package/dist/{as-number-BIhBVXih.mjs → as-number-De9zTltV.mjs} +6 -2
- package/dist/{as-number-BQWwSipg.cjs → as-number-joydTMcJ.cjs} +6 -2
- package/dist/as-number.cjs +1 -1
- package/dist/as-number.d.cts +1 -1
- package/dist/as-number.d.mts +1 -1
- package/dist/as-number.mjs +1 -1
- package/dist/{as-number.vue-D2DrbnQu.d.cts → as-number.vue-CZC0-zs8.d.cts} +1 -1
- package/dist/{as-number.vue-Oml2y6Nt.d.mts → as-number.vue-DrvjSOdq.d.mts} +1 -1
- package/dist/{as-object-Dr7CttaK.mjs → as-object-CQMTYtcY.mjs} +8 -4
- package/dist/{as-object-BJxJJM13.cjs → as-object-DgeItRdH.cjs} +8 -4
- package/dist/as-object.cjs +1 -1
- package/dist/as-object.d.cts +1 -1
- package/dist/as-object.d.mts +1 -1
- package/dist/as-object.mjs +1 -1
- package/dist/{as-object.vue-BljKYrMo.d.cts → as-object.vue-BItO19fw.d.mts} +1 -1
- package/dist/{as-object.vue-DAq7Kha3.d.mts → as-object.vue-DbHog5M-.d.cts} +1 -1
- package/dist/{as-paragraph-GIGj6UgL.mjs → as-paragraph-BP3-0EY4.mjs} +4 -0
- package/dist/{as-paragraph-BA-c863H.cjs → as-paragraph-CPhDTH_V.cjs} +4 -0
- package/dist/as-paragraph.cjs +1 -1
- package/dist/as-paragraph.d.cts +1 -1
- package/dist/as-paragraph.d.mts +1 -1
- package/dist/as-paragraph.mjs +1 -1
- package/dist/{as-paragraph.vue-CBU_olev.d.mts → as-paragraph.vue-BGDpjceO.d.mts} +1 -1
- package/dist/{as-paragraph.vue-LxXA7VPD.d.cts → as-paragraph.vue-D36pdOoc.d.cts} +1 -1
- package/dist/{as-radio-CdK8gCkN.cjs → as-radio-Dlmxk1vr.cjs} +5 -1
- package/dist/{as-radio-DBW6XzlW.mjs → as-radio-SwpgM1xP.mjs} +5 -1
- package/dist/as-radio.cjs +1 -1
- package/dist/as-radio.d.cts +1 -1
- package/dist/as-radio.d.mts +1 -1
- package/dist/as-radio.mjs +1 -1
- package/dist/{as-radio.vue-Dk4nlz-d.d.cts → as-radio.vue-EfrhKcBF.d.cts} +1 -1
- package/dist/{as-radio.vue-TVMliE1e.d.mts → as-radio.vue-WywkI-zY.d.mts} +1 -1
- package/dist/{as-ref-D6zp_PIG.mjs → as-ref-8JnEuan0.mjs} +6 -2
- package/dist/{as-ref-BOAHVeR-.cjs → as-ref-BCpvUq8E.cjs} +6 -2
- package/dist/as-ref.cjs +1 -1
- package/dist/as-ref.d.cts +1 -1
- package/dist/as-ref.d.mts +1 -1
- package/dist/as-ref.mjs +1 -1
- package/dist/{as-ref.vue-CUxxGqyg.d.mts → as-ref.vue-BD_vsu7I.d.mts} +1 -1
- package/dist/{as-ref.vue-CnzqRblA.d.cts → as-ref.vue-Cxg-A5QR.d.cts} +1 -1
- package/dist/{as-select-BiS6USZW.mjs → as-select-C3ukCyGQ.mjs} +5 -1
- package/dist/{as-select-B2jqgF38.cjs → as-select-CtSNZXtC.cjs} +5 -1
- package/dist/as-select.cjs +1 -1
- package/dist/as-select.d.cts +1 -1
- package/dist/as-select.d.mts +1 -1
- package/dist/as-select.mjs +1 -1
- package/dist/{as-select.vue-CKjAg-Y2.d.mts → as-select.vue-DoAG5njV.d.mts} +1 -1
- package/dist/{as-select.vue-ZZtjsmcO.d.cts → as-select.vue-hd94jaH_.d.cts} +1 -1
- package/dist/{as-time-BN-Vc-iw.mjs → as-time-QJ9YiVj9.mjs} +6 -2
- package/dist/{as-time-DdQnNIQX.cjs → as-time-nAPtGL3t.cjs} +6 -2
- package/dist/as-time.cjs +1 -1
- package/dist/as-time.d.cts +1 -1
- package/dist/as-time.d.mts +1 -1
- package/dist/as-time.mjs +1 -1
- package/dist/{as-time.vue-BCEE4uCV.d.mts → as-time.vue-DMy_Au0C.d.cts} +1 -1
- package/dist/{as-time.vue-BUAvE5m3.d.cts → as-time.vue-DgW7qSAM.d.mts} +1 -1
- package/dist/{as-tuple-DaY_Mw-y.cjs → as-tuple-CFn7aZYt.cjs} +8 -4
- package/dist/{as-tuple-BUzs7nm6.mjs → as-tuple-CJXpGGKj.mjs} +8 -4
- package/dist/as-tuple.cjs +1 -1
- package/dist/as-tuple.d.cts +1 -1
- package/dist/as-tuple.d.mts +1 -1
- package/dist/as-tuple.mjs +1 -1
- package/dist/{as-tuple.vue-WN7k43tv.d.mts → as-tuple.vue-BDwz5FeN.d.mts} +1 -1
- package/dist/{as-tuple.vue-cy0ThAGl.d.cts → as-tuple.vue-DZ2Soqyw.d.cts} +1 -1
- package/dist/{as-union-Cz5cm7BP.cjs → as-union-BDRNBacb.cjs} +6 -2
- package/dist/{as-union-B5OFQLJX.mjs → as-union-DZWgGqqM.mjs} +6 -2
- package/dist/as-union.cjs +1 -1
- package/dist/as-union.d.cts +1 -1
- package/dist/as-union.d.mts +1 -1
- package/dist/as-union.mjs +1 -1
- package/dist/{as-union.vue-AqH35ozq.d.cts → as-union.vue-D9Mh0M3_.d.mts} +1 -1
- package/dist/{as-union.vue-Ew3Bany8.d.mts → as-union.vue-DQKWNuhd.d.cts} +1 -1
- package/dist/index.cjs +28 -27
- package/dist/index.d.cts +24 -996
- package/dist/index.d.mts +24 -996
- package/dist/index.mjs +28 -28
- package/dist/{types-CV9ss4UN.d.mts → types-B8aPXWL5.d.cts} +13 -0
- package/dist/{types-BYfe1QEF.d.cts → types-nuUi10Kl.d.mts} +13 -0
- package/dist/{use-as-date-XLE8HBbo.mjs → use-as-date-B6RGkjjB.mjs} +4 -0
- package/dist/{use-as-date-DY8b1_V4.cjs → use-as-date-CslHBPmQ.cjs} +4 -0
- package/dist/{use-as-optional-add-flow-C85F2VoU.cjs → use-as-optional-add-flow-BXKiK1Kb.cjs} +1 -1
- package/dist/{use-as-optional-add-flow-CQctXLZI.mjs → use-as-optional-add-flow-B_gr8sX-.mjs} +1 -1
- package/dist/{use-form-context-bAj7UoSe.mjs → use-form-context-D6J1WTyG.mjs} +2 -1
- package/dist/{use-form-context-Dwr8Ai1v.cjs → use-form-context-DpGiGUvJ.cjs} +7 -0
- package/package.json +6 -6
- package/dist/as-form.vue-5FyX_1CQ.d.cts +0 -239
- package/dist/as-form.vue-ZykHT4gZ.d.mts +0 -239
- /package/dist/{use-as-nested-sections-store-jdMRxjBE.cjs → use-as-nested-sections-store--E0Ijpt5.cjs} +0 -0
- /package/dist/{use-as-nested-sections-store-lhi0z5z1.mjs → use-as-nested-sections-store-DVRmG7V0.mjs} +0 -0
- /package/dist/{use-as-value-help-uANI3zWa.cjs → use-as-value-help-BsAriqCI.cjs} +0 -0
- /package/dist/{use-as-value-help-CBykDEjZ.mjs → use-as-value-help-DrISSxCz.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import { n as useAsData, r as useAsField, t as as_field_default } from "./as-field-
|
|
1
|
+
import { h as PATH_PREFIX_KEY, n as useAsUnionVariant, s as DISMISS_EXTERNAL_AT_KEY, t as formatIndexedLabelParts } from "./use-form-context-D6J1WTyG.mjs";
|
|
2
|
+
import { a as useAsFormPatch, i as useAsExternalErrors, n as useAsForm, r as useAsState, t as as_form_default } from "./as-form-me0zA-52.mjs";
|
|
3
|
+
import { n as provideAsNestedSectionsStore, r as useAsNestedSectionsStore } from "./use-as-nested-sections-store-DVRmG7V0.mjs";
|
|
4
|
+
import { n as useAsValueHelp } from "./use-as-value-help-DrISSxCz.mjs";
|
|
5
|
+
import { n as useAsData, r as useAsField, t as as_field_default } from "./as-field-5rz47opo.mjs";
|
|
6
6
|
import { n as useAsLocale, t as provideAsLocale } from "./use-as-locale-BrFdAgnU.mjs";
|
|
7
|
-
import { t as as_iterator_default } from "./as-iterator
|
|
7
|
+
import { t as as_iterator_default } from "./as-iterator-BjIF-O-J.mjs";
|
|
8
8
|
import { n as focusNewFocusableAfter, r as useAsFocusFirstAfter, t as focusFirstAfter } from "./focus-after-toggle-Dtl3P6CS.mjs";
|
|
9
|
-
import { t as as_collapsible_default } from "./as-collapsible-
|
|
10
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
9
|
+
import { t as as_collapsible_default } from "./as-collapsible-DFTzB5Ar.mjs";
|
|
10
|
+
import { t as as_field_shell_default } from "./as-field-shell-DLvPV8WS.mjs";
|
|
11
11
|
import { t as useAsDropdown } from "./use-as-dropdown-B2Shb7wn.mjs";
|
|
12
|
-
import { t as as_input_default } from "./as-input-
|
|
13
|
-
import { t as as_select_default } from "./as-select-
|
|
14
|
-
import { t as as_multi_select_default } from "./as-multi-select-
|
|
15
|
-
import { t as as_radio_default } from "./as-radio-
|
|
16
|
-
import { n as useAsTriStateCheckbox, t as as_checkbox_default } from "./as-checkbox-
|
|
17
|
-
import { t as as_paragraph_default } from "./as-paragraph-
|
|
18
|
-
import { t as as_action_default } from "./as-action-
|
|
19
|
-
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-
|
|
20
|
-
import { t as as_object_default } from "./as-object-
|
|
21
|
-
import { n as useAsArray, t as as_array_default } from "./as-array-
|
|
22
|
-
import { n as useAsTypeMap, r as useAsUnion, t as as_union_default } from "./as-union-
|
|
23
|
-
import { n as useAsTuple, t as as_tuple_default } from "./as-tuple-
|
|
24
|
-
import { t as as_ref_default } from "./as-ref-
|
|
25
|
-
import { n as useAsDualInput, r as useAsDecimal, t as as_decimal_default } from "./as-decimal-
|
|
26
|
-
import { n as useAsNumber, t as as_number_default } from "./as-number-
|
|
27
|
-
import { t as useAsDate } from "./use-as-date-
|
|
28
|
-
import { t as as_date_default } from "./as-date-
|
|
29
|
-
import { t as as_datetime_default } from "./as-datetime-
|
|
30
|
-
import { t as as_time_default } from "./as-time-
|
|
12
|
+
import { t as as_input_default } from "./as-input-DF--i7kY.mjs";
|
|
13
|
+
import { t as as_select_default } from "./as-select-C3ukCyGQ.mjs";
|
|
14
|
+
import { t as as_multi_select_default } from "./as-multi-select-mp-aM3LV.mjs";
|
|
15
|
+
import { t as as_radio_default } from "./as-radio-SwpgM1xP.mjs";
|
|
16
|
+
import { n as useAsTriStateCheckbox, t as as_checkbox_default } from "./as-checkbox-DwLRHmXj.mjs";
|
|
17
|
+
import { t as as_paragraph_default } from "./as-paragraph-BP3-0EY4.mjs";
|
|
18
|
+
import { t as as_action_default } from "./as-action-CCjN5EFP.mjs";
|
|
19
|
+
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-B_gr8sX-.mjs";
|
|
20
|
+
import { t as as_object_default } from "./as-object-CQMTYtcY.mjs";
|
|
21
|
+
import { n as useAsArray, t as as_array_default } from "./as-array-BGG38Y1L.mjs";
|
|
22
|
+
import { n as useAsTypeMap, r as useAsUnion, t as as_union_default } from "./as-union-DZWgGqqM.mjs";
|
|
23
|
+
import { n as useAsTuple, t as as_tuple_default } from "./as-tuple-CJXpGGKj.mjs";
|
|
24
|
+
import { t as as_ref_default } from "./as-ref-8JnEuan0.mjs";
|
|
25
|
+
import { n as useAsDualInput, r as useAsDecimal, t as as_decimal_default } from "./as-decimal-CQM5OfqB.mjs";
|
|
26
|
+
import { n as useAsNumber, t as as_number_default } from "./as-number-De9zTltV.mjs";
|
|
27
|
+
import { t as useAsDate } from "./use-as-date-B6RGkjjB.mjs";
|
|
28
|
+
import { t as as_date_default } from "./as-date-CfCa2Kp1.mjs";
|
|
29
|
+
import { t as as_datetime_default } from "./as-datetime-B1I_zREk.mjs";
|
|
30
|
+
import { t as as_time_default } from "./as-time-QJ9YiVj9.mjs";
|
|
31
31
|
import { computed, inject, reactive } from "vue";
|
|
32
32
|
import { createFormData, createFormDef, createFormValueResolver, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
33
33
|
//#region src/composables/create-as-form-def.ts
|
|
@@ -101,4 +101,4 @@ function useAsErrorDismiss() {
|
|
|
101
101
|
return inject(DISMISS_EXTERNAL_AT_KEY, null) ?? NOOP;
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
|
-
export { as_action_default as AsAction, as_array_default as AsArray, as_checkbox_default as AsCheckbox, as_collapsible_default as AsCollapsible, as_date_default as AsDate, as_datetime_default as AsDatetime, as_decimal_default as AsDecimal, as_field_default as AsField, as_field_shell_default as AsFieldShell, as_form_default as AsForm, as_input_default as AsInput, as_iterator_default as AsIterator, as_multi_select_default as AsMultiSelect, as_number_default as AsNumber, as_object_default as AsObject, as_paragraph_default as AsParagraph, as_radio_default as AsRadio, as_ref_default as AsRef, as_select_default as AsSelect, as_time_default as AsTime, as_tuple_default as AsTuple, as_union_default as AsUnion, createAsFormDef, createDefaultTypes, focusFirstAfter, focusNewFocusableAfter, formatIndexedLabelParts, getDefaultClientFactory, provideAsLocale, provideAsNestedSectionsStore, resetDefaultClientFactory, setDefaultClientFactory, useAsArray, useAsData, useAsDate, useAsDecimal, useAsDropdown, useAsDualInput, useAsErrorDismiss, useAsExternalErrors, useAsField, useAsFocusFirstAfter, useAsForm, useAsLocale, useAsNestedSectionsStore, useAsNumber, useAsOptionalAddFlow, useAsPath, useAsState, useAsTriStateCheckbox, useAsTuple, useAsTypeMap, useAsUnion, useAsUnionVariant, useAsValueHelp };
|
|
104
|
+
export { as_action_default as AsAction, as_array_default as AsArray, as_checkbox_default as AsCheckbox, as_collapsible_default as AsCollapsible, as_date_default as AsDate, as_datetime_default as AsDatetime, as_decimal_default as AsDecimal, as_field_default as AsField, as_field_shell_default as AsFieldShell, as_form_default as AsForm, as_input_default as AsInput, as_iterator_default as AsIterator, as_multi_select_default as AsMultiSelect, as_number_default as AsNumber, as_object_default as AsObject, as_paragraph_default as AsParagraph, as_radio_default as AsRadio, as_ref_default as AsRef, as_select_default as AsSelect, as_time_default as AsTime, as_tuple_default as AsTuple, as_union_default as AsUnion, createAsFormDef, createDefaultTypes, focusFirstAfter, focusNewFocusableAfter, formatIndexedLabelParts, getDefaultClientFactory, provideAsLocale, provideAsNestedSectionsStore, resetDefaultClientFactory, setDefaultClientFactory, useAsArray, useAsData, useAsDate, useAsDecimal, useAsDropdown, useAsDualInput, useAsErrorDismiss, useAsExternalErrors, useAsField, useAsFocusFirstAfter, useAsForm, useAsFormPatch, useAsLocale, useAsNestedSectionsStore, useAsNumber, useAsOptionalAddFlow, useAsPath, useAsState, useAsTriStateCheckbox, useAsTuple, useAsTypeMap, useAsUnion, useAsUnionVariant, useAsValueHelp };
|
|
@@ -164,6 +164,19 @@ interface TAsComponentProps<V = unknown> extends TAsBaseComponentProps {
|
|
|
164
164
|
* annotation is present on the prop.
|
|
165
165
|
*/
|
|
166
166
|
hasAdornment?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Whether this field has changed since the change-tracking baseline.
|
|
169
|
+
*
|
|
170
|
+
* `true` only when the enclosing `<AsForm>` has `track-changes` enabled AND
|
|
171
|
+
* this field's value differs from the baseline; `false` (or absent) when
|
|
172
|
+
* tracking is off. AsField resolves it from the change list and surfaces it
|
|
173
|
+
* here so default components — and custom swaps — can drive a visual hook
|
|
174
|
+
* (the default `AsFieldShell` paints a `data-dirty` attribute from it) without
|
|
175
|
+
* re-deriving the predicate. Granularity matches the change list: object /
|
|
176
|
+
* section containers light up via their leaves; whole-array fields exactly;
|
|
177
|
+
* an array-ITEM field stays `false` (the array container lights up instead).
|
|
178
|
+
*/
|
|
179
|
+
isDirty?: boolean;
|
|
167
180
|
}
|
|
168
181
|
/**
|
|
169
182
|
* Public emits contract for custom field components used with `AsForm` /
|
|
@@ -164,6 +164,19 @@ interface TAsComponentProps<V = unknown> extends TAsBaseComponentProps {
|
|
|
164
164
|
* annotation is present on the prop.
|
|
165
165
|
*/
|
|
166
166
|
hasAdornment?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Whether this field has changed since the change-tracking baseline.
|
|
169
|
+
*
|
|
170
|
+
* `true` only when the enclosing `<AsForm>` has `track-changes` enabled AND
|
|
171
|
+
* this field's value differs from the baseline; `false` (or absent) when
|
|
172
|
+
* tracking is off. AsField resolves it from the change list and surfaces it
|
|
173
|
+
* here so default components — and custom swaps — can drive a visual hook
|
|
174
|
+
* (the default `AsFieldShell` paints a `data-dirty` attribute from it) without
|
|
175
|
+
* re-deriving the predicate. Granularity matches the change list: object /
|
|
176
|
+
* section containers light up via their leaves; whole-array fields exactly;
|
|
177
|
+
* an array-ITEM field stays `false` (the array container lights up instead).
|
|
178
|
+
*/
|
|
179
|
+
isDirty?: boolean;
|
|
167
180
|
}
|
|
168
181
|
/**
|
|
169
182
|
* Public emits contract for custom field components used with `AsForm` /
|
package/dist/{use-as-optional-add-flow-C85F2VoU.cjs → use-as-optional-add-flow-BXKiK1Kb.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_use_as_nested_sections_store = require("./use-as-nested-sections-store
|
|
1
|
+
const require_use_as_nested_sections_store = require("./use-as-nested-sections-store--E0Ijpt5.cjs");
|
|
2
2
|
const require_focus_after_toggle = require("./focus-after-toggle-CWxiPZWi.cjs");
|
|
3
3
|
//#region src/composables/use-as-optional-add-flow.ts
|
|
4
4
|
/**
|
package/dist/{use-as-optional-add-flow-CQctXLZI.mjs → use-as-optional-add-flow-B_gr8sX-.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as useAsNestedSectionsStore } from "./use-as-nested-sections-store-
|
|
1
|
+
import { r as useAsNestedSectionsStore } from "./use-as-nested-sections-store-DVRmG7V0.mjs";
|
|
2
2
|
import { n as focusNewFocusableAfter } from "./focus-after-toggle-Dtl3P6CS.mjs";
|
|
3
3
|
//#region src/composables/use-as-optional-add-flow.ts
|
|
4
4
|
/**
|
|
@@ -23,6 +23,7 @@ const ACTION_HANDLER_KEY = Symbol("atui.action-handler");
|
|
|
23
23
|
const CHANGE_HANDLER_KEY = Symbol("atui.change-handler");
|
|
24
24
|
const DISMISS_EXTERNAL_AT_KEY = Symbol("atui.dismiss-external-at");
|
|
25
25
|
const UNION_CONTEXT_KEY = Symbol("atui.union-context");
|
|
26
|
+
const FORM_PATCH_KEY = Symbol("atui.form-patch");
|
|
26
27
|
//#endregion
|
|
27
28
|
//#region src/composables/use-form-context.ts
|
|
28
29
|
const EMPTY_PREFIX = computed(() => "");
|
|
@@ -103,4 +104,4 @@ function formatIndexedLabelParts(label, arrayIndex) {
|
|
|
103
104
|
};
|
|
104
105
|
}
|
|
105
106
|
//#endregion
|
|
106
|
-
export {
|
|
107
|
+
export { TYPES_KEY as _, CHANGE_HANDLER_KEY as a, ERRORS_KEY as c, FORM_PATCH_KEY as d, FORM_STATE_KEY as f, ROOT_DATA_KEY as g, PATH_PREFIX_KEY as h, ACTION_HANDLER_KEY as i, FORM_CONTEXT_KEY as l, LEVEL_KEY as m, useAsUnionVariant as n, COMPONENTS_KEY as o, HIDE_ROOT_TITLE_KEY as p, useFormContext as r, DISMISS_EXTERNAL_AT_KEY as s, formatIndexedLabelParts as t, FORM_DATA_KEY as u, UNION_CONTEXT_KEY as v };
|
|
@@ -23,6 +23,7 @@ const ACTION_HANDLER_KEY = Symbol("atui.action-handler");
|
|
|
23
23
|
const CHANGE_HANDLER_KEY = Symbol("atui.change-handler");
|
|
24
24
|
const DISMISS_EXTERNAL_AT_KEY = Symbol("atui.dismiss-external-at");
|
|
25
25
|
const UNION_CONTEXT_KEY = Symbol("atui.union-context");
|
|
26
|
+
const FORM_PATCH_KEY = Symbol("atui.form-patch");
|
|
26
27
|
//#endregion
|
|
27
28
|
//#region src/composables/use-form-context.ts
|
|
28
29
|
const EMPTY_PREFIX = (0, vue.computed)(() => "");
|
|
@@ -145,6 +146,12 @@ Object.defineProperty(exports, "FORM_DATA_KEY", {
|
|
|
145
146
|
return FORM_DATA_KEY;
|
|
146
147
|
}
|
|
147
148
|
});
|
|
149
|
+
Object.defineProperty(exports, "FORM_PATCH_KEY", {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function() {
|
|
152
|
+
return FORM_PATCH_KEY;
|
|
153
|
+
}
|
|
154
|
+
});
|
|
148
155
|
Object.defineProperty(exports, "FORM_STATE_KEY", {
|
|
149
156
|
enumerable: true,
|
|
150
157
|
get: function() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/vue-form",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.104",
|
|
4
4
|
"description": "Type-driven form rendering for Atscript with Vue 3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -160,11 +160,11 @@
|
|
|
160
160
|
"access": "public"
|
|
161
161
|
},
|
|
162
162
|
"dependencies": {
|
|
163
|
-
"@atscript/ui": "^0.1.
|
|
163
|
+
"@atscript/ui": "^0.1.104"
|
|
164
164
|
},
|
|
165
165
|
"devDependencies": {
|
|
166
166
|
"@atscript/core": "^0.1.77",
|
|
167
|
-
"@atscript/db-client": "^0.1.
|
|
167
|
+
"@atscript/db-client": "^0.1.108",
|
|
168
168
|
"@atscript/typescript": "^0.1.77",
|
|
169
169
|
"@tsdown/css": "^0.21.4",
|
|
170
170
|
"@vitejs/plugin-vue": "^6",
|
|
@@ -176,13 +176,13 @@
|
|
|
176
176
|
"vue": "^3",
|
|
177
177
|
"vue-tsc": "~3.2.9",
|
|
178
178
|
"vunor": "^0.2.1",
|
|
179
|
-
"@atscript/ui-fns": "^0.1.
|
|
179
|
+
"@atscript/ui-fns": "^0.1.104"
|
|
180
180
|
},
|
|
181
181
|
"peerDependencies": {
|
|
182
|
-
"@atscript/db-client": "^0.1.
|
|
182
|
+
"@atscript/db-client": "^0.1.108",
|
|
183
183
|
"reka-ui": "^2.9.8",
|
|
184
184
|
"vue": "^3",
|
|
185
|
-
"@atscript/ui-fns": "^0.1.
|
|
185
|
+
"@atscript/ui-fns": "^0.1.104"
|
|
186
186
|
},
|
|
187
187
|
"scripts": {
|
|
188
188
|
"build": "node ../../scripts/gen-exports.mjs && vp pack",
|
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
import { n as TAsChangeType, o as TAsComponentProps, s as TAsTypeComponents } from "./types-BYfe1QEF.cjs";
|
|
2
|
-
import * as vue from "vue";
|
|
3
|
-
import { Component } from "vue";
|
|
4
|
-
import { ClientFactory, FormDef } from "@atscript/ui";
|
|
5
|
-
|
|
6
|
-
//#region src/composables/types.d.ts
|
|
7
|
-
type TFormRule<TValue, TFormData, TContext> = (v: TValue, data?: TFormData, context?: TContext) => boolean | string;
|
|
8
|
-
interface TFormFieldCallbacks {
|
|
9
|
-
validate: () => boolean | string;
|
|
10
|
-
clearErrors: () => void;
|
|
11
|
-
reset: () => void;
|
|
12
|
-
setExternalError: (msg?: string) => void;
|
|
13
|
-
}
|
|
14
|
-
interface TFormFieldRegistration {
|
|
15
|
-
path: () => string;
|
|
16
|
-
callbacks: TFormFieldCallbacks;
|
|
17
|
-
}
|
|
18
|
-
interface TFormState {
|
|
19
|
-
firstSubmitHappened: boolean;
|
|
20
|
-
firstValidation: "on-change" | "touched-on-blur" | "on-blur" | "on-submit" | "none";
|
|
21
|
-
/**
|
|
22
|
-
* Fields registered AFTER `firstSubmitHappened` flipped to true. They stay
|
|
23
|
-
* in this set until either the user edits the field (model watch removes
|
|
24
|
-
* the id) or the next submit fires (set is cleared). Live validation is
|
|
25
|
-
* suppressed for these fields so a freshly-added array item doesn't render
|
|
26
|
-
* red required-field errors before the user has had a chance to type.
|
|
27
|
-
*/
|
|
28
|
-
freshFields: Set<symbol>;
|
|
29
|
-
register: (id: symbol, registration: TFormFieldRegistration) => void;
|
|
30
|
-
unregister: (id: symbol) => void;
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region src/components/as-form.vue.d.ts
|
|
34
|
-
interface Props<TF, TC> {
|
|
35
|
-
def: FormDef;
|
|
36
|
-
formData?: TF;
|
|
37
|
-
formContext?: TC;
|
|
38
|
-
firstValidation?: TFormState["firstValidation"];
|
|
39
|
-
components?: Record<string, Component<TAsComponentProps>>;
|
|
40
|
-
/**
|
|
41
|
-
* Type-to-component map for field rendering. Maps field types to Vue components.
|
|
42
|
-
* Must include entries for all built-in field types. Use `createDefaultTypes()`
|
|
43
|
-
* for a pre-filled map, or supply your own.
|
|
44
|
-
*/
|
|
45
|
-
types: TAsTypeComponents;
|
|
46
|
-
errors?: Record<string, string | undefined>;
|
|
47
|
-
/**
|
|
48
|
-
* Per-form client factory override. Creates `Client` instances from URL paths
|
|
49
|
-
* for FK value-help pickers inside this form. Falls back to the app-wide
|
|
50
|
-
* default (`setDefaultClientFactory`) and then to the built-in `new Client(url)`
|
|
51
|
-
* factory when unset.
|
|
52
|
-
*/
|
|
53
|
-
clientFactory?: ClientFactory;
|
|
54
|
-
/**
|
|
55
|
-
* Suppress the root field's title rendering. Use when the form is mounted
|
|
56
|
-
* inside a chrome that already shows the form's `@meta.label` (e.g. a
|
|
57
|
-
* dialog header). Nested fields keep their own headings.
|
|
58
|
-
*/
|
|
59
|
-
hideRootTitle?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Suppress the default submit button. Use when the host chrome owns the
|
|
62
|
-
* submit affordance (e.g. a dialog footer with its own submit button
|
|
63
|
-
* wired via HTML5 `<button form="...">`). Vue 3 treats an empty
|
|
64
|
-
* `<template #form.submit />` as "slot not provided" and falls back to
|
|
65
|
-
* the default button — this prop is the explicit way to skip it.
|
|
66
|
-
*/
|
|
67
|
-
hideSubmit?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* When true, freezes the form: the body becomes `inert` (blocks pointer
|
|
70
|
-
* events + keyboard focus) and a loading overlay paints over the entire
|
|
71
|
-
* form area. Used by `<AsWfForm>` to lock interaction during a server
|
|
72
|
-
* round-trip so the user can't edit a field whose response is racing in.
|
|
73
|
-
* Visual is shared with `<AsTable>`'s query overlay via vunor
|
|
74
|
-
* `inner-loading`.
|
|
75
|
-
*/
|
|
76
|
-
loading?: boolean;
|
|
77
|
-
}
|
|
78
|
-
declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
79
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<Props<TFormData, TFormContext> & {
|
|
80
|
-
onSubmit?: ((data: TFormData) => any) | undefined;
|
|
81
|
-
onError?: ((errors: {
|
|
82
|
-
path: string;
|
|
83
|
-
message: string;
|
|
84
|
-
}[]) => any) | undefined;
|
|
85
|
-
onAction?: ((name: string, data: TFormData) => any) | undefined;
|
|
86
|
-
"onUnsupported-action"?: ((name: string, data: TFormData) => any) | undefined;
|
|
87
|
-
onChange?: ((type: TAsChangeType, path: string, value: unknown, formData: TFormData) => any) | undefined;
|
|
88
|
-
}> & (typeof globalThis extends {
|
|
89
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
90
|
-
} ? P : {});
|
|
91
|
-
expose: (exposed: {}) => void;
|
|
92
|
-
attrs: any;
|
|
93
|
-
slots: {
|
|
94
|
-
'form.header'?: (props: {
|
|
95
|
-
title: string | undefined;
|
|
96
|
-
description: string | undefined;
|
|
97
|
-
data: TFormData;
|
|
98
|
-
errors: Record<string, string | undefined> | undefined;
|
|
99
|
-
formError: string | undefined;
|
|
100
|
-
disabled: boolean;
|
|
101
|
-
loading: boolean;
|
|
102
|
-
submitText: string;
|
|
103
|
-
submit: () => void;
|
|
104
|
-
reset: () => Promise<void>;
|
|
105
|
-
clearErrors: () => void;
|
|
106
|
-
setErrors: (errors: Record<string, string>) => void;
|
|
107
|
-
dismissError: (path: string) => void;
|
|
108
|
-
dismissFormError: () => void;
|
|
109
|
-
formContext: TFormContext | undefined;
|
|
110
|
-
}) => any;
|
|
111
|
-
} & {
|
|
112
|
-
'form.before'?: (props: {
|
|
113
|
-
title: string | undefined;
|
|
114
|
-
description: string | undefined;
|
|
115
|
-
data: TFormData;
|
|
116
|
-
errors: Record<string, string | undefined> | undefined;
|
|
117
|
-
formError: string | undefined;
|
|
118
|
-
disabled: boolean;
|
|
119
|
-
loading: boolean;
|
|
120
|
-
submitText: string;
|
|
121
|
-
submit: () => void;
|
|
122
|
-
reset: () => Promise<void>;
|
|
123
|
-
clearErrors: () => void;
|
|
124
|
-
setErrors: (errors: Record<string, string>) => void;
|
|
125
|
-
dismissError: (path: string) => void;
|
|
126
|
-
dismissFormError: () => void;
|
|
127
|
-
formContext: TFormContext | undefined;
|
|
128
|
-
}) => any;
|
|
129
|
-
} & {
|
|
130
|
-
'form.after'?: (props: {
|
|
131
|
-
title: string | undefined;
|
|
132
|
-
description: string | undefined;
|
|
133
|
-
data: TFormData;
|
|
134
|
-
errors: Record<string, string | undefined> | undefined;
|
|
135
|
-
formError: string | undefined;
|
|
136
|
-
disabled: boolean;
|
|
137
|
-
loading: boolean;
|
|
138
|
-
submitText: string;
|
|
139
|
-
submit: () => void;
|
|
140
|
-
reset: () => Promise<void>;
|
|
141
|
-
clearErrors: () => void;
|
|
142
|
-
setErrors: (errors: Record<string, string>) => void;
|
|
143
|
-
dismissError: (path: string) => void;
|
|
144
|
-
dismissFormError: () => void;
|
|
145
|
-
formContext: TFormContext | undefined;
|
|
146
|
-
}) => any;
|
|
147
|
-
} & {
|
|
148
|
-
'form.error'?: (props: {
|
|
149
|
-
message: string;
|
|
150
|
-
dismiss: () => void;
|
|
151
|
-
title: string | undefined;
|
|
152
|
-
description: string | undefined;
|
|
153
|
-
data: TFormData;
|
|
154
|
-
errors: Record<string, string | undefined> | undefined;
|
|
155
|
-
formError: string | undefined;
|
|
156
|
-
disabled: boolean;
|
|
157
|
-
loading: boolean;
|
|
158
|
-
submitText: string;
|
|
159
|
-
submit: () => void;
|
|
160
|
-
reset: () => Promise<void>;
|
|
161
|
-
clearErrors: () => void;
|
|
162
|
-
setErrors: (errors: Record<string, string>) => void;
|
|
163
|
-
dismissError: (path: string) => void;
|
|
164
|
-
dismissFormError: () => void;
|
|
165
|
-
formContext: TFormContext | undefined;
|
|
166
|
-
}) => any;
|
|
167
|
-
} & {
|
|
168
|
-
'form.submit'?: (props: {
|
|
169
|
-
text: string;
|
|
170
|
-
title: string | undefined;
|
|
171
|
-
description: string | undefined;
|
|
172
|
-
data: TFormData;
|
|
173
|
-
errors: Record<string, string | undefined> | undefined;
|
|
174
|
-
formError: string | undefined;
|
|
175
|
-
disabled: boolean;
|
|
176
|
-
loading: boolean;
|
|
177
|
-
submitText: string;
|
|
178
|
-
submit: () => void;
|
|
179
|
-
reset: () => Promise<void>;
|
|
180
|
-
clearErrors: () => void;
|
|
181
|
-
setErrors: (errors: Record<string, string>) => void;
|
|
182
|
-
dismissError: (path: string) => void;
|
|
183
|
-
dismissFormError: () => void;
|
|
184
|
-
formContext: TFormContext | undefined;
|
|
185
|
-
}) => any;
|
|
186
|
-
} & {
|
|
187
|
-
'form.footer'?: (props: {
|
|
188
|
-
title: string | undefined;
|
|
189
|
-
description: string | undefined;
|
|
190
|
-
data: TFormData;
|
|
191
|
-
errors: Record<string, string | undefined> | undefined;
|
|
192
|
-
formError: string | undefined;
|
|
193
|
-
disabled: boolean;
|
|
194
|
-
loading: boolean;
|
|
195
|
-
submitText: string;
|
|
196
|
-
submit: () => void;
|
|
197
|
-
reset: () => Promise<void>;
|
|
198
|
-
clearErrors: () => void;
|
|
199
|
-
setErrors: (errors: Record<string, string>) => void;
|
|
200
|
-
dismissError: (path: string) => void;
|
|
201
|
-
dismissFormError: () => void;
|
|
202
|
-
formContext: TFormContext | undefined;
|
|
203
|
-
}) => any;
|
|
204
|
-
} & {
|
|
205
|
-
'form.loading'?: (props: {
|
|
206
|
-
title: string | undefined;
|
|
207
|
-
description: string | undefined;
|
|
208
|
-
data: TFormData;
|
|
209
|
-
errors: Record<string, string | undefined> | undefined;
|
|
210
|
-
formError: string | undefined;
|
|
211
|
-
disabled: boolean;
|
|
212
|
-
loading: boolean;
|
|
213
|
-
submitText: string;
|
|
214
|
-
submit: () => void;
|
|
215
|
-
reset: () => Promise<void>;
|
|
216
|
-
clearErrors: () => void;
|
|
217
|
-
setErrors: (errors: Record<string, string>) => void;
|
|
218
|
-
dismissError: (path: string) => void;
|
|
219
|
-
dismissFormError: () => void;
|
|
220
|
-
formContext: TFormContext | undefined;
|
|
221
|
-
}) => any;
|
|
222
|
-
};
|
|
223
|
-
emit: {
|
|
224
|
-
(e: "submit", data: TFormData): void;
|
|
225
|
-
(e: "error", errors: {
|
|
226
|
-
path: string;
|
|
227
|
-
message: string;
|
|
228
|
-
}[]): void;
|
|
229
|
-
(e: "action", name: string, data: TFormData): void;
|
|
230
|
-
(e: "unsupported-action", name: string, data: TFormData): void;
|
|
231
|
-
(e: "change", type: TAsChangeType, path: string, value: unknown, formData: TFormData): void;
|
|
232
|
-
};
|
|
233
|
-
}>) => vue.VNode & {
|
|
234
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
235
|
-
};
|
|
236
|
-
declare const _default: typeof __VLS_export;
|
|
237
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
238
|
-
//#endregion
|
|
239
|
-
export { TFormRule as a, TFormFieldRegistration as i, _default as n, TFormState as o, TFormFieldCallbacks as r, Props as t };
|