@atscript/vue-form 0.1.83 → 0.1.85
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.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-BOLmcRHb.d.cts → as-action.vue-0qaIjTnF.d.mts} +1 -1
- package/dist/{as-action.vue-ReXXWCRt.d.mts → as-action.vue-CFGXoM5O.d.cts} +1 -1
- package/dist/{as-array-BoPN5kVu.cjs → as-array-CIwvhCCk.cjs} +5 -5
- package/dist/{as-array-C8pb0XAq.mjs → as-array-DNJOnZ2j.mjs} +5 -5
- package/dist/{as-array-clear-btn-BqDJxNWn.mjs → as-array-clear-btn-BY1IBwBP.mjs} +1 -1
- package/dist/{as-array-clear-btn-Bx60mqmC.cjs → as-array-clear-btn-COfRUzeb.cjs} +1 -1
- 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-BwIDKidj.d.cts → as-array.vue-Ci4xO292.d.cts} +1 -1
- package/dist/{as-array.vue-DWk95nMh.d.mts → as-array.vue-I42wuF6e.d.mts} +1 -1
- package/dist/{as-checkbox-Dcqf2Bby.cjs → as-checkbox-Cva4XHFW.cjs} +2 -2
- package/dist/{as-checkbox-DwGSW968.mjs → as-checkbox-dN1K-rJ_.mjs} +2 -2
- 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-C1J7GXSV.d.cts → as-checkbox.vue-BoY72SV8.d.mts} +1 -1
- package/dist/{as-checkbox.vue-DbIbeNGB.d.mts → as-checkbox.vue-DqIm0ms2.d.cts} +1 -1
- package/dist/{as-collapsible-FN1ksw08.cjs → as-collapsible-B0rlXU0x.cjs} +8 -6
- package/dist/{as-collapsible-ChFET8n3.mjs → as-collapsible-DQOxKGGj.mjs} +7 -5
- package/dist/as-collapsible.cjs +2 -0
- package/dist/as-collapsible.d.cts +19 -0
- package/dist/as-collapsible.d.mts +20 -0
- package/dist/as-collapsible.mjs +2 -0
- package/dist/{as-date-B9g4UlrI.cjs → as-date-Cizo8gZx.cjs} +3 -3
- package/dist/{as-date-9Uwj5MPG.mjs → as-date-CsBBqja_.mjs} +3 -3
- 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-DQQ7e1be.d.mts → as-date.vue-BfSVrED7.d.mts} +1 -1
- package/dist/{as-date.vue-Dq-lJ85v.d.cts → as-date.vue-SdlJH5fn.d.cts} +1 -1
- package/dist/{as-datetime-Ds_yQWi6.cjs → as-datetime-Cjbprmxg.cjs} +3 -3
- package/dist/{as-datetime-D_sc95ED.mjs → as-datetime-D_Wbrj9t.mjs} +3 -3
- 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-B3e_uLA3.d.cts → as-datetime.vue-B47V1siL.d.mts} +1 -1
- package/dist/{as-datetime.vue-B9J68KLU.d.mts → as-datetime.vue-DUp_TDOW.d.cts} +1 -1
- package/dist/{as-decimal--cEvm1lb.cjs → as-decimal-DhrdOvUQ.cjs} +1 -1
- package/dist/{as-decimal-7sV4gfJx.mjs → as-decimal-DtQuZmPA.mjs} +1 -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-B8-nFo4M.d.mts → as-decimal.vue-Bhq4C1Ix.d.cts} +1 -1
- package/dist/{as-decimal.vue-C_boWzTP.d.cts → as-decimal.vue-DitPZpS_.d.mts} +1 -1
- package/dist/{as-field-shell-DEQnfFVJ.mjs → as-field-shell-D0mNXfQZ.mjs} +2 -2
- package/dist/{as-field-shell-TH8IrGg9.cjs → as-field-shell-zeno02I1.cjs} +3 -3
- 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-NyQkFneN.d.mts → as-field-shell.vue-Ct1ixFqc.d.cts} +1 -1
- package/dist/{as-field-shell.vue-DXubVvFh.d.cts → as-field-shell.vue-K4Flr3gw.d.mts} +1 -1
- package/dist/as-form.d.cts +1 -1
- package/dist/as-form.d.mts +1 -1
- package/dist/{as-form.vue-BOfKxDTv.d.mts → as-form.vue-BfX0Qgl9.d.cts} +2 -2
- package/dist/{as-form.vue-BkSIywRv.d.cts → as-form.vue-DmW9OzBV.d.mts} +2 -2
- package/dist/{as-input-DBwxoEp7.cjs → as-input-CwPkK9qR.cjs} +3 -3
- package/dist/{as-input-CfXuz6cf.mjs → as-input-VOGvI31W.mjs} +3 -3
- 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-BkFMg_PX.d.cts → as-input.vue-BHsVVncq.d.cts} +1 -1
- package/dist/{as-input.vue-DBMNi9pA.d.mts → as-input.vue-DgZrW4pc.d.mts} +1 -1
- package/dist/{as-multi-select-CjyY453L.cjs → as-multi-select-D7XGZS3L.cjs} +1 -1
- package/dist/{as-multi-select-CitiQ7iz.mjs → as-multi-select-DGipqqGz.mjs} +1 -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-Bbv8x2Js.d.mts → as-multi-select.vue--bavpcN-.d.cts} +1 -1
- package/dist/{as-multi-select.vue-Bn_Fyku5.d.cts → as-multi-select.vue-rsDUkzxa.d.mts} +1 -1
- package/dist/{as-number-Clq1LMQd.mjs → as-number-BIhBVXih.mjs} +2 -2
- package/dist/{as-number-ojx4Q8YH.cjs → as-number-BQWwSipg.cjs} +2 -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-BSXOv-nz.d.cts → as-number.vue-D2DrbnQu.d.cts} +1 -1
- package/dist/{as-number.vue-DRE18Wy-.d.mts → as-number.vue-Oml2y6Nt.d.mts} +1 -1
- package/dist/{as-object-B3dxi-5A.cjs → as-object-CAIUl3li.cjs} +3 -3
- package/dist/{as-object-DpSs3Aki.mjs → as-object-mBh0KLy2.mjs} +3 -3
- 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-C9Sp3JdQ.d.cts → as-object.vue-BljKYrMo.d.cts} +1 -1
- package/dist/{as-object.vue-I-Blr7wy.d.mts → as-object.vue-DAq7Kha3.d.mts} +1 -1
- 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-KdN_Gtoh.d.mts → as-paragraph.vue-CBU_olev.d.mts} +1 -1
- package/dist/{as-paragraph.vue-p2kyH9gG.d.cts → as-paragraph.vue-LxXA7VPD.d.cts} +1 -1
- package/dist/{as-radio-BoS1VhOR.cjs → as-radio-CdK8gCkN.cjs} +1 -1
- package/dist/{as-radio-DQry_nv7.mjs → as-radio-DBW6XzlW.mjs} +1 -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-BgWru-Q7.d.mts → as-radio.vue-Dk4nlz-d.d.cts} +1 -1
- package/dist/{as-radio.vue-DkN0qaB9.d.cts → as-radio.vue-TVMliE1e.d.mts} +1 -1
- package/dist/{as-ref-DjMTB-tC.cjs → as-ref-BOAHVeR-.cjs} +1 -1
- package/dist/{as-ref-Bq_4z1IA.mjs → as-ref-D6zp_PIG.mjs} +1 -1
- 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-3K67TM80.d.cts → as-ref.vue-CUxxGqyg.d.mts} +1 -1
- package/dist/{as-ref.vue-CE1vVUTN.d.mts → as-ref.vue-CnzqRblA.d.cts} +1 -1
- package/dist/{as-select-BrmjjRKU.cjs → as-select-B2jqgF38.cjs} +1 -1
- package/dist/{as-select-DerYjoLO.mjs → as-select-BiS6USZW.mjs} +1 -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-C03bPwG_.d.mts → as-select.vue-CKjAg-Y2.d.mts} +1 -1
- package/dist/{as-select.vue-DfZY_vxR.d.cts → as-select.vue-ZZtjsmcO.d.cts} +1 -1
- package/dist/{as-time-B2zB5xSS.mjs → as-time-BN-Vc-iw.mjs} +3 -3
- package/dist/{as-time-CNmyhGwd.cjs → as-time-DdQnNIQX.cjs} +3 -3
- 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-BPzy2jHL.d.cts → as-time.vue-BCEE4uCV.d.mts} +1 -1
- package/dist/{as-time.vue-CTahupM4.d.mts → as-time.vue-BUAvE5m3.d.cts} +1 -1
- package/dist/{as-tuple-BH2ss6EY.cjs → as-tuple-Co8__kEm.cjs} +4 -4
- package/dist/{as-tuple-4xpIT7ix.mjs → as-tuple-NwaomSYF.mjs} +4 -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-BpB4uiSs.d.cts → as-tuple.vue-WN7k43tv.d.mts} +1 -1
- package/dist/{as-tuple.vue-S4qpWqlA.d.mts → as-tuple.vue-cy0ThAGl.d.cts} +1 -1
- package/dist/{as-union-vz9dJ3aQ.mjs → as-union-B5OFQLJX.mjs} +2 -2
- package/dist/{as-union-BDqrrIn6.cjs → as-union-Cz5cm7BP.cjs} +2 -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-Cue3m7Id.d.cts → as-union.vue-AqH35ozq.d.cts} +1 -1
- package/dist/{as-union.vue-Czxxaht_.d.mts → as-union.vue-Ew3Bany8.d.mts} +1 -1
- package/dist/{as-variant-picker-BVs0AvjK.mjs → as-variant-picker-B3GLhKyt.mjs} +1 -1
- package/dist/{as-variant-picker-DObQZHmm.cjs → as-variant-picker-JlEhh7YO.cjs} +1 -1
- package/dist/{use-as-dropdown-C-Qy7Vt0.cjs → focus-after-toggle-CWxiPZWi.cjs} +0 -35
- package/dist/{use-as-dropdown-BMnEm6jF.mjs → focus-after-toggle-Dtl3P6CS.mjs} +2 -31
- package/dist/index.cjs +27 -24
- package/dist/index.d.cts +23 -22
- package/dist/index.d.mts +23 -22
- package/dist/index.mjs +24 -22
- package/dist/{types-D0xtsrz8.d.mts → types-BYfe1QEF.d.cts} +26 -1
- package/dist/{types-CzMUE5Dk.d.cts → types-CV9ss4UN.d.mts} +26 -1
- package/dist/use-as-dropdown-B2Shb7wn.mjs +31 -0
- package/dist/use-as-dropdown-Bj9toVdw.cjs +36 -0
- package/dist/{use-as-optional-add-flow-Dg_2iQ4d.cjs → use-as-optional-add-flow-C85F2VoU.cjs} +2 -2
- package/dist/{use-as-optional-add-flow-DzUScp6V.mjs → use-as-optional-add-flow-CQctXLZI.mjs} +1 -1
- package/package.json +9 -4
- /package/dist/{as-action-DfQE2MA7.mjs → as-action-Dx3RVCnH.mjs} +0 -0
- /package/dist/{as-action-UtPIV4Cf.cjs → as-action-Weju622Z.cjs} +0 -0
- /package/dist/{as-adornment-shell-knFiB7Ct.mjs → as-adornment-shell-C4A2fnDp.mjs} +0 -0
- /package/dist/{as-adornment-shell-9UmdNIPR.cjs → as-adornment-shell-DptUMWNk.cjs} +0 -0
- /package/dist/{as-input-control-C5-DelZT.cjs → as-input-control-BYo_dfQA.cjs} +0 -0
- /package/dist/{as-input-control-BzELjheN.mjs → as-input-control-Bx-isLZN.mjs} +0 -0
- /package/dist/{as-paragraph-D_h8QGLz.cjs → as-paragraph-BA-c863H.cjs} +0 -0
- /package/dist/{as-paragraph-CuXb-mfi.mjs → as-paragraph-GIGj6UgL.mjs} +0 -0
- /package/dist/{use-as-date-v-GFUtrP.cjs → use-as-date-DY8b1_V4.cjs} +0 -0
- /package/dist/{use-as-date-Bb0Pi1l_.mjs → use-as-date-XLE8HBbo.mjs} +0 -0
package/dist/as-action.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_action = require("./as-action-
|
|
1
|
+
const require_as_action = require("./as-action-Weju622Z.cjs");
|
|
2
2
|
module.exports = require_as_action.as_action_default;
|
package/dist/as-action.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-action.vue-
|
|
1
|
+
import { t as _default } from "./as-action.vue-CFGXoM5O.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-action.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-action.vue-
|
|
1
|
+
import { t as _default } from "./as-action.vue-0qaIjTnF.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-action.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_action_default } from "./as-action-
|
|
1
|
+
import { t as as_action_default } from "./as-action-Dx3RVCnH.mjs";
|
|
2
2
|
export { as_action_default as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_use_form_context = require("./use-form-context-Dwr8Ai1v.cjs");
|
|
2
2
|
const require_as_field = require("./as-field--sdVpUAw.cjs");
|
|
3
|
-
const
|
|
4
|
-
const require_as_variant_picker = require("./as-variant-picker-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const require_as_array_clear_btn = require("./as-array-clear-btn-
|
|
3
|
+
const require_as_collapsible = require("./as-collapsible-B0rlXU0x.cjs");
|
|
4
|
+
const require_as_variant_picker = require("./as-variant-picker-JlEhh7YO.cjs");
|
|
5
|
+
const require_use_as_dropdown = require("./use-as-dropdown-Bj9toVdw.cjs");
|
|
6
|
+
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-C85F2VoU.cjs");
|
|
7
|
+
const require_as_array_clear_btn = require("./as-array-clear-btn-COfRUzeb.cjs");
|
|
8
8
|
let vue = require("vue");
|
|
9
9
|
let _atscript_ui = require("@atscript/ui");
|
|
10
10
|
//#region src/composables/use-as-array.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as CHANGE_HANDLER_KEY, n as useAsUnionVariant, r as useFormContext } from "./use-form-context-bAj7UoSe.mjs";
|
|
2
2
|
import { t as as_field_default } from "./as-field-CryuaPPU.mjs";
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as as_variant_picker_default } from "./as-variant-picker-
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as as_array_clear_btn_default } from "./as-array-clear-btn-
|
|
3
|
+
import { t as as_collapsible_default } from "./as-collapsible-DQOxKGGj.mjs";
|
|
4
|
+
import { t as as_variant_picker_default } from "./as-variant-picker-B3GLhKyt.mjs";
|
|
5
|
+
import { t as useAsDropdown } from "./use-as-dropdown-B2Shb7wn.mjs";
|
|
6
|
+
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-CQctXLZI.mjs";
|
|
7
|
+
import { t as as_array_clear_btn_default } from "./as-array-clear-btn-BY1IBwBP.mjs";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, normalizeClass, openBlock, reactive, ref, renderList, toDisplayString, unref, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
9
9
|
import { createFormData, createFormValueResolver, getFieldMeta, isUnionField } from "@atscript/ui";
|
|
10
10
|
//#region src/composables/use-as-array.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as as_optional_clear_default } from "./as-variant-picker-
|
|
1
|
+
import { n as as_optional_clear_default } from "./as-variant-picker-B3GLhKyt.mjs";
|
|
2
2
|
import { createBlock, createElementBlock, defineComponent, openBlock, withModifiers } from "vue";
|
|
3
3
|
//#region src/components/internal/as-array-clear-btn.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
const _hoisted_1 = ["disabled", "aria-label"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_variant_picker = require("./as-variant-picker-
|
|
1
|
+
const require_as_variant_picker = require("./as-variant-picker-JlEhh7YO.cjs");
|
|
2
2
|
let vue = require("vue");
|
|
3
3
|
//#region src/components/internal/as-array-clear-btn.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
const _hoisted_1 = ["disabled", "aria-label"];
|
package/dist/as-array.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_array = require("./as-array-
|
|
1
|
+
const require_as_array = require("./as-array-CIwvhCCk.cjs");
|
|
2
2
|
module.exports = require_as_array.as_array_default;
|
package/dist/as-array.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-array.vue-
|
|
1
|
+
import { t as _default } from "./as-array.vue-Ci4xO292.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-array.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-array.vue-
|
|
1
|
+
import { t as _default } from "./as-array.vue-I42wuF6e.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-array.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_array_default } from "./as-array-
|
|
1
|
+
import { t as as_array_default } from "./as-array-DNJOnZ2j.mjs";
|
|
2
2
|
export { as_array_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
2
|
-
const require_as_variant_picker = require("./as-variant-picker-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-zeno02I1.cjs");
|
|
2
|
+
const require_as_variant_picker = require("./as-variant-picker-JlEhh7YO.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
//#region src/composables/use-as-tri-state-checkbox.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
2
|
-
import { n as as_optional_clear_default } from "./as-variant-picker-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-D0mNXfQZ.mjs";
|
|
2
|
+
import { n as as_optional_clear_default } from "./as-variant-picker-B3GLhKyt.mjs";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, toDisplayString, unref, watchEffect, withCtx } from "vue";
|
|
4
4
|
//#region src/composables/use-as-tri-state-checkbox.ts
|
|
5
5
|
/**
|
package/dist/as-checkbox.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_checkbox = require("./as-checkbox-
|
|
1
|
+
const require_as_checkbox = require("./as-checkbox-Cva4XHFW.cjs");
|
|
2
2
|
module.exports = require_as_checkbox.as_checkbox_default;
|
package/dist/as-checkbox.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-checkbox.vue-
|
|
1
|
+
import { t as _default } from "./as-checkbox.vue-DqIm0ms2.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-checkbox.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-checkbox.vue-
|
|
1
|
+
import { t as _default } from "./as-checkbox.vue-BoY72SV8.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-checkbox.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_checkbox_default } from "./as-checkbox-
|
|
1
|
+
import { t as as_checkbox_default } from "./as-checkbox-dN1K-rJ_.mjs";
|
|
2
2
|
export { as_checkbox_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_use_form_context = require("./use-form-context-Dwr8Ai1v.cjs");
|
|
2
2
|
const require_use_as_nested_sections_store = require("./use-as-nested-sections-store-jdMRxjBE.cjs");
|
|
3
|
-
const
|
|
3
|
+
const require_focus_after_toggle = require("./focus-after-toggle-CWxiPZWi.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
|
-
//#region src/components/
|
|
5
|
+
//#region src/components/as-collapsible.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
const _hoisted_1 = ["open", "data-object-level"];
|
|
7
7
|
const _hoisted_2 = { class: "as-collapsible-summary" };
|
|
8
8
|
const _hoisted_3 = { class: "as-collapsible-header" };
|
|
@@ -23,7 +23,7 @@ const _hoisted_9 = {
|
|
|
23
23
|
role: "alert"
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
26
|
-
//#region src/components/
|
|
26
|
+
//#region src/components/as-collapsible.vue
|
|
27
27
|
var as_collapsible_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
28
28
|
inheritAttrs: false,
|
|
29
29
|
__name: "as-collapsible",
|
|
@@ -42,11 +42,13 @@ var as_collapsible_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
42
42
|
},
|
|
43
43
|
optional: {
|
|
44
44
|
type: Boolean,
|
|
45
|
-
required:
|
|
45
|
+
required: false,
|
|
46
|
+
default: false
|
|
46
47
|
},
|
|
47
48
|
optionalEnabled: {
|
|
48
49
|
type: Boolean,
|
|
49
|
-
required:
|
|
50
|
+
required: false,
|
|
51
|
+
default: false
|
|
50
52
|
},
|
|
51
53
|
path: {
|
|
52
54
|
type: String,
|
|
@@ -101,7 +103,7 @@ var as_collapsible_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
101
103
|
}
|
|
102
104
|
const descendantErrorCounts = (0, vue.inject)(require_use_as_nested_sections_store.DESCENDANT_ERROR_COUNTS_KEY, void 0);
|
|
103
105
|
const descendantErrorCount = (0, vue.computed)(() => props.path ? descendantErrorCounts?.value.get(props.path) ?? 0 : 0);
|
|
104
|
-
const { rootRef, runAndFocus, runAndFocusNew } =
|
|
106
|
+
const { rootRef, runAndFocus, runAndFocusNew } = require_focus_after_toggle.useAsFocusFirstAfter();
|
|
105
107
|
__expose({
|
|
106
108
|
runAndFocus,
|
|
107
109
|
runAndFocusNew
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as formatIndexedLabelParts } from "./use-form-context-bAj7UoSe.mjs";
|
|
2
2
|
import { r as useAsNestedSectionsStore, t as DESCENDANT_ERROR_COUNTS_KEY } from "./use-as-nested-sections-store-lhi0z5z1.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { r as useAsFocusFirstAfter } from "./focus-after-toggle-Dtl3P6CS.mjs";
|
|
4
4
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, inject, normalizeClass, onBeforeUnmount, onMounted, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, vShow, withCtx, withDirectives } from "vue";
|
|
5
|
-
//#region src/components/
|
|
5
|
+
//#region src/components/as-collapsible.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
const _hoisted_1 = ["open", "data-object-level"];
|
|
7
7
|
const _hoisted_2 = { class: "as-collapsible-summary" };
|
|
8
8
|
const _hoisted_3 = { class: "as-collapsible-header" };
|
|
@@ -23,7 +23,7 @@ const _hoisted_9 = {
|
|
|
23
23
|
role: "alert"
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
26
|
-
//#region src/components/
|
|
26
|
+
//#region src/components/as-collapsible.vue
|
|
27
27
|
var as_collapsible_default = /* @__PURE__ */ defineComponent({
|
|
28
28
|
inheritAttrs: false,
|
|
29
29
|
__name: "as-collapsible",
|
|
@@ -42,11 +42,13 @@ var as_collapsible_default = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
},
|
|
43
43
|
optional: {
|
|
44
44
|
type: Boolean,
|
|
45
|
-
required:
|
|
45
|
+
required: false,
|
|
46
|
+
default: false
|
|
46
47
|
},
|
|
47
48
|
optionalEnabled: {
|
|
48
49
|
type: Boolean,
|
|
49
|
-
required:
|
|
50
|
+
required: false,
|
|
51
|
+
default: false
|
|
50
52
|
},
|
|
51
53
|
path: {
|
|
52
54
|
type: String,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { i as TAsCollapsibleSlots, r as TAsCollapsibleProps } from "./types-BYfe1QEF.cjs";
|
|
2
|
+
import * as vue from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/as-collapsible.vue.d.ts
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<vue.DefineComponent<TAsCollapsibleProps, {
|
|
7
|
+
runAndFocus: (action: () => void, ticks?: number) => void;
|
|
8
|
+
runAndFocusNew: (action: () => void, ticks?: number) => void;
|
|
9
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<TAsCollapsibleProps> & Readonly<{}>, {
|
|
10
|
+
optional: boolean;
|
|
11
|
+
optionalEnabled: boolean;
|
|
12
|
+
defaultOpen: boolean;
|
|
13
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, TAsCollapsibleSlots>;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export = _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { i as TAsCollapsibleSlots, r as TAsCollapsibleProps } from "./types-CV9ss4UN.mjs";
|
|
2
|
+
import * as vue from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/as-collapsible.vue.d.ts
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<vue.DefineComponent<TAsCollapsibleProps, {
|
|
7
|
+
runAndFocus: (action: () => void, ticks?: number) => void;
|
|
8
|
+
runAndFocusNew: (action: () => void, ticks?: number) => void;
|
|
9
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<TAsCollapsibleProps> & Readonly<{}>, {
|
|
10
|
+
optional: boolean;
|
|
11
|
+
optionalEnabled: boolean;
|
|
12
|
+
defaultOpen: boolean;
|
|
13
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, TAsCollapsibleSlots>;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
2
|
-
const require_as_adornment_shell = require("./as-adornment-shell-
|
|
3
|
-
const require_use_as_date = require("./use-as-date-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-zeno02I1.cjs");
|
|
2
|
+
const require_as_adornment_shell = require("./as-adornment-shell-DptUMWNk.cjs");
|
|
3
|
+
const require_use_as_date = require("./use-as-date-DY8b1_V4.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/defaults/as-date.vue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
2
|
-
import { t as as_adornment_shell_default } from "./as-adornment-shell-
|
|
3
|
-
import { n as as_date_control_default, t as useAsDate } from "./use-as-date-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-D0mNXfQZ.mjs";
|
|
2
|
+
import { t as as_adornment_shell_default } from "./as-adornment-shell-C4A2fnDp.mjs";
|
|
3
|
+
import { n as as_date_control_default, t as useAsDate } from "./use-as-date-XLE8HBbo.mjs";
|
|
4
4
|
import { computed, createBlock, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, unref, withCtx } from "vue";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/defaults/as-date.vue
|
package/dist/as-date.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_date = require("./as-date-
|
|
1
|
+
const require_as_date = require("./as-date-Cizo8gZx.cjs");
|
|
2
2
|
module.exports = require_as_date.as_date_default;
|
package/dist/as-date.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-date.vue-
|
|
1
|
+
import { t as _default } from "./as-date.vue-SdlJH5fn.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-date.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-date.vue-
|
|
1
|
+
import { t as _default } from "./as-date.vue-BfSVrED7.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-date.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_date_default } from "./as-date-
|
|
1
|
+
import { t as as_date_default } from "./as-date-CsBBqja_.mjs";
|
|
2
2
|
export { as_date_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
2
|
-
const require_as_adornment_shell = require("./as-adornment-shell-
|
|
3
|
-
const require_use_as_date = require("./use-as-date-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-zeno02I1.cjs");
|
|
2
|
+
const require_as_adornment_shell = require("./as-adornment-shell-DptUMWNk.cjs");
|
|
3
|
+
const require_use_as_date = require("./use-as-date-DY8b1_V4.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/defaults/as-datetime.vue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
2
|
-
import { t as as_adornment_shell_default } from "./as-adornment-shell-
|
|
3
|
-
import { n as as_date_control_default, t as useAsDate } from "./use-as-date-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-D0mNXfQZ.mjs";
|
|
2
|
+
import { t as as_adornment_shell_default } from "./as-adornment-shell-C4A2fnDp.mjs";
|
|
3
|
+
import { n as as_date_control_default, t as useAsDate } from "./use-as-date-XLE8HBbo.mjs";
|
|
4
4
|
import { computed, createBlock, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, unref, withCtx } from "vue";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/defaults/as-datetime.vue
|
package/dist/as-datetime.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_datetime = require("./as-datetime-
|
|
1
|
+
const require_as_datetime = require("./as-datetime-Cjbprmxg.cjs");
|
|
2
2
|
module.exports = require_as_datetime.as_datetime_default;
|
package/dist/as-datetime.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-datetime.vue-
|
|
1
|
+
import { t as _default } from "./as-datetime.vue-DUp_TDOW.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-datetime.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-datetime.vue-
|
|
1
|
+
import { t as _default } from "./as-datetime.vue-B47V1siL.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-datetime.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_datetime_default } from "./as-datetime-
|
|
1
|
+
import { t as as_datetime_default } from "./as-datetime-D_Wbrj9t.mjs";
|
|
2
2
|
export { as_datetime_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_as_locale = require("./use-as-locale-C4z5stwD.cjs");
|
|
2
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
2
|
+
const require_as_field_shell = require("./as-field-shell-zeno02I1.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
let _atscript_ui = require("@atscript/ui");
|
|
5
5
|
//#region src/composables/_shape.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useAsLocale } from "./use-as-locale-BrFdAgnU.mjs";
|
|
2
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
2
|
+
import { t as as_field_shell_default } from "./as-field-shell-D0mNXfQZ.mjs";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, nextTick, normalizeClass, normalizeProps, openBlock, ref, toDisplayString, unref, watch, withCtx } from "vue";
|
|
4
4
|
import { enforceScale, formatDecimalForDisplay, getDecimalSeparator, getThousandsSeparator, groupInteger, joinDecimalString, parseDecimalInput, splitDecimalString } from "@atscript/ui";
|
|
5
5
|
//#region src/composables/_shape.ts
|
package/dist/as-decimal.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_decimal = require("./as-decimal
|
|
1
|
+
const require_as_decimal = require("./as-decimal-DhrdOvUQ.cjs");
|
|
2
2
|
module.exports = require_as_decimal.as_decimal_default;
|
package/dist/as-decimal.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-decimal.vue-
|
|
1
|
+
import { t as _default } from "./as-decimal.vue-Bhq4C1Ix.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-decimal.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-decimal.vue-
|
|
1
|
+
import { t as _default } from "./as-decimal.vue-DitPZpS_.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-decimal.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_decimal_default } from "./as-decimal-
|
|
1
|
+
import { t as as_decimal_default } from "./as-decimal-DtQuZmPA.mjs";
|
|
2
2
|
export { as_decimal_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useAsUnionVariant, t as formatIndexedLabelParts } from "./use-form-context-bAj7UoSe.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { n as as_optional_clear_default, t as as_variant_picker_default } from "./as-variant-picker-
|
|
2
|
+
import { r as useAsFocusFirstAfter } from "./focus-after-toggle-Dtl3P6CS.mjs";
|
|
3
|
+
import { n as as_optional_clear_default, t as as_variant_picker_default } from "./as-variant-picker-B3GLhKyt.mjs";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, unref, vShow, withDirectives, withKeys, withModifiers } from "vue";
|
|
5
5
|
//#region src/components/internal/as-no-data.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
const _hoisted_1$1 = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_use_form_context = require("./use-form-context-Dwr8Ai1v.cjs");
|
|
2
|
-
const
|
|
3
|
-
const require_as_variant_picker = require("./as-variant-picker-
|
|
2
|
+
const require_focus_after_toggle = require("./focus-after-toggle-CWxiPZWi.cjs");
|
|
3
|
+
const require_as_variant_picker = require("./as-variant-picker-JlEhh7YO.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
//#region src/components/internal/as-no-data.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
const _hoisted_1$1 = {
|
|
@@ -279,7 +279,7 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
279
279
|
const unionCtx = require_use_form_context.useAsUnionVariant();
|
|
280
280
|
const hasVariantPicker = unionCtx !== void 0 && unionCtx.variants.length > 1;
|
|
281
281
|
const labelParts = (0, vue.computed)(() => require_use_form_context.formatIndexedLabelParts(props.label, props.arrayIndex));
|
|
282
|
-
const { rootRef, enableOptional } =
|
|
282
|
+
const { rootRef, enableOptional } = require_focus_after_toggle.useAsFocusFirstAfter(props.onToggleOptional);
|
|
283
283
|
const showOptionalClear = (0, vue.computed)(() => !!props.optional && optionalEnabled.value && !props.chromeless);
|
|
284
284
|
const showEmptyPlaceholder = (0, vue.computed)(() => !!props.optional && !optionalEnabled.value && !props.chromeless && !props.hideEmptyPlaceholder);
|
|
285
285
|
return (_ctx, _cache) => {
|
package/dist/as-field-shell.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-zeno02I1.cjs");
|
|
2
2
|
module.exports = require_as_field_shell.as_field_shell_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-field-shell.vue-
|
|
1
|
+
import { t as _default } from "./as-field-shell.vue-Ct1ixFqc.cjs";
|
|
2
2
|
export = _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-field-shell.vue-
|
|
1
|
+
import { t as _default } from "./as-field-shell.vue-K4Flr3gw.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-field-shell.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-D0mNXfQZ.mjs";
|
|
2
2
|
export { as_field_shell_default as default };
|
package/dist/as-form.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _default, t as Props } from "./as-form.vue-
|
|
1
|
+
import { n as _default, t as Props } from "./as-form.vue-BfX0Qgl9.cjs";
|
|
2
2
|
export { Props, _default as default };
|
package/dist/as-form.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _default, t as Props } from "./as-form.vue-
|
|
1
|
+
import { n as _default, t as Props } from "./as-form.vue-DmW9OzBV.mjs";
|
|
2
2
|
export { Props, _default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as TAsChangeType, o as TAsComponentProps, s as TAsTypeComponents } from "./types-BYfe1QEF.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Component } from "vue";
|
|
4
4
|
import { ClientFactory, FormDef } from "@atscript/ui";
|
|
@@ -77,11 +77,11 @@ interface Props<TF, TC> {
|
|
|
77
77
|
}
|
|
78
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
79
|
props: vue.PublicProps & __VLS_PrettifyLocal<Props<TFormData, TFormContext> & {
|
|
80
|
-
onAction?: ((name: string, data: TFormData) => any) | undefined;
|
|
81
80
|
onError?: ((errors: {
|
|
82
81
|
path: string;
|
|
83
82
|
message: string;
|
|
84
83
|
}[]) => any) | undefined;
|
|
84
|
+
onAction?: ((name: string, data: TFormData) => any) | undefined;
|
|
85
85
|
onSubmit?: ((data: TFormData) => any) | undefined;
|
|
86
86
|
"onUnsupported-action"?: ((name: string, data: TFormData) => any) | undefined;
|
|
87
87
|
onChange?: ((type: TAsChangeType, path: string, value: unknown, formData: TFormData) => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as TAsChangeType, o as TAsComponentProps, s as TAsTypeComponents } from "./types-CV9ss4UN.mjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Component } from "vue";
|
|
4
4
|
import { ClientFactory, FormDef } from "@atscript/ui";
|
|
@@ -77,11 +77,11 @@ interface Props<TF, TC> {
|
|
|
77
77
|
}
|
|
78
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
79
|
props: vue.PublicProps & __VLS_PrettifyLocal<Props<TFormData, TFormContext> & {
|
|
80
|
-
onAction?: ((name: string, data: TFormData) => any) | undefined;
|
|
81
80
|
onError?: ((errors: {
|
|
82
81
|
path: string;
|
|
83
82
|
message: string;
|
|
84
83
|
}[]) => any) | undefined;
|
|
84
|
+
onAction?: ((name: string, data: TFormData) => any) | undefined;
|
|
85
85
|
onSubmit?: ((data: TFormData) => any) | undefined;
|
|
86
86
|
"onUnsupported-action"?: ((name: string, data: TFormData) => any) | undefined;
|
|
87
87
|
onChange?: ((type: TAsChangeType, path: string, value: unknown, formData: TFormData) => any) | undefined;
|