@atscript/vue-form 0.1.177 → 0.1.178
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-array-CGsGZFi8.mjs → as-array-BKC7bBXf.mjs} +8 -8
- package/dist/{as-array-DMN1xd4A.cjs → as-array-C4Vv6k5I.cjs} +8 -8
- package/dist/{as-array-clear-btn-CKlJCXkv.mjs → as-array-clear-btn-ConR3zxV.mjs} +2 -2
- package/dist/{as-array-clear-btn-CMvSOc1R.cjs → as-array-clear-btn-DeWeUqoX.cjs} +2 -2
- package/dist/as-array.cjs +1 -1
- package/dist/as-array.mjs +1 -1
- package/dist/{as-checkbox-B0OB5a9J.mjs → as-checkbox-Dux-KJVN.mjs} +3 -3
- package/dist/{as-checkbox-CIgpJSiD.cjs → as-checkbox-NjLPm4Kk.cjs} +3 -3
- package/dist/as-checkbox.cjs +1 -1
- package/dist/as-checkbox.mjs +1 -1
- package/dist/{as-collapsible-D3UhCddg.cjs → as-collapsible-BXQ481-h.cjs} +4 -4
- package/dist/{as-collapsible-B7pG3XLt.mjs → as-collapsible-FoPTu4lF.mjs} +4 -4
- package/dist/as-collapsible.cjs +1 -1
- package/dist/as-collapsible.mjs +1 -1
- package/dist/{as-date-ClMkBzD6.cjs → as-date-DSvDDvwH.cjs} +1 -1
- package/dist/{as-date-CLd_CV0y.mjs → as-date-DUUpb8ph.mjs} +1 -1
- package/dist/as-date.cjs +1 -1
- package/dist/as-date.mjs +1 -1
- package/dist/{as-datetime-DdNS4GKj.cjs → as-datetime-DZBCBpov.cjs} +1 -1
- package/dist/{as-datetime-D6DXx0j9.mjs → as-datetime-Dy1tGMrO.mjs} +1 -1
- package/dist/as-datetime.cjs +1 -1
- package/dist/as-datetime.mjs +1 -1
- package/dist/{as-decimal-BbE2SktW.cjs → as-decimal-DYBEUokN.cjs} +2 -2
- package/dist/{as-decimal-D8emq_SN.mjs → as-decimal-HvUQANde.mjs} +2 -2
- package/dist/as-decimal.cjs +1 -1
- package/dist/as-decimal.mjs +1 -1
- package/dist/{as-field-gBXYA3zZ.cjs → as-field-C3lIiHCI.cjs} +3 -3
- package/dist/{as-field-CUIvj5hx.mjs → as-field-R3KYssad.mjs} +3 -3
- package/dist/{as-field-shell-R8DyS1tc.cjs → as-field-shell-BOeyo1FP.cjs} +4 -4
- package/dist/{as-field-shell-DjYBbigs.mjs → as-field-shell-BQPySL71.mjs} +4 -4
- package/dist/as-field-shell.cjs +1 -1
- package/dist/as-field-shell.mjs +1 -1
- package/dist/as-field.cjs +1 -1
- package/dist/as-field.mjs +1 -1
- package/dist/{as-form-DCxGV2-w.mjs → as-form-B9hRTvod.mjs} +23 -14
- package/dist/{as-form-ChlZL6WP.cjs → as-form-DroFS2lv.cjs} +23 -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-DJAftKr2.d.mts → as-form.vue-BO3bQmRB.d.mts} +11 -9
- package/dist/{as-form.vue-D2osFDt6.d.cts → as-form.vue-DT1D4aMl.d.cts} +11 -9
- package/dist/{as-input-C1Iw2AkY.cjs → as-input-BRJYoNF0.cjs} +1 -1
- package/dist/{as-input-MVamvBMv.mjs → as-input-C3MkFToh.mjs} +1 -1
- package/dist/as-input.cjs +1 -1
- package/dist/as-input.mjs +1 -1
- package/dist/{as-iterator-B7h3xaKQ.cjs → as-iterator-BB7DB04y.cjs} +2 -2
- package/dist/{as-iterator-BTcoyKFq.mjs → as-iterator-Bd1fXGs6.mjs} +2 -2
- package/dist/as-iterator.cjs +1 -1
- package/dist/as-iterator.mjs +1 -1
- package/dist/{as-multi-select-BQZvt3Fr.mjs → as-multi-select-4awmF8mN.mjs} +2 -2
- package/dist/{as-multi-select-DDNIusOV.cjs → as-multi-select-DPpAKUzQ.cjs} +2 -2
- package/dist/as-multi-select.cjs +1 -1
- package/dist/as-multi-select.mjs +1 -1
- package/dist/{as-number-BUid7j2k.cjs → as-number-CAVTkGcp.cjs} +2 -2
- package/dist/{as-number-CT3DSCBF.mjs → as-number-WcRwaMOt.mjs} +2 -2
- package/dist/as-number.cjs +1 -1
- package/dist/as-number.mjs +1 -1
- package/dist/{as-object-DaUkalfF.mjs → as-object-3Tlk8bjl.mjs} +6 -6
- package/dist/{as-object-CB8Un-GN.cjs → as-object-Bnyck833.cjs} +6 -6
- package/dist/as-object.cjs +1 -1
- package/dist/as-object.mjs +1 -1
- package/dist/{as-radio-QqVLOzED.mjs → as-radio-8udWHC-l.mjs} +1 -1
- package/dist/{as-radio-B9eRK1Sr.cjs → as-radio-P9rzMYNp.cjs} +1 -1
- package/dist/as-radio.cjs +1 -1
- package/dist/as-radio.mjs +1 -1
- package/dist/{as-ref-C4euogko.cjs → as-ref-BvPM3G73.cjs} +3 -3
- package/dist/{as-ref-BUxC1GPm.mjs → as-ref-C-U7wotf.mjs} +3 -3
- package/dist/as-ref.cjs +1 -1
- package/dist/as-ref.mjs +1 -1
- package/dist/{as-select-BNm4pgAW.mjs → as-select-3fZCzWku.mjs} +1 -1
- package/dist/{as-select-BvfuZLwz.cjs → as-select-DVbegHcv.cjs} +1 -1
- package/dist/as-select.cjs +1 -1
- package/dist/as-select.mjs +1 -1
- package/dist/{as-time-Cz_jvm6T.mjs → as-time-BtTiGWOr.mjs} +1 -1
- package/dist/{as-time-B74WYv_l.cjs → as-time-W1ExfNxT.cjs} +1 -1
- package/dist/as-time.cjs +1 -1
- package/dist/as-time.mjs +1 -1
- package/dist/{as-tuple-BtREHMCP.mjs → as-tuple-CBOp5N1c.mjs} +7 -7
- package/dist/{as-tuple-5EyboNQq.cjs → as-tuple-dfvCxm4R.cjs} +7 -7
- package/dist/as-tuple.cjs +1 -1
- package/dist/as-tuple.mjs +1 -1
- package/dist/{as-union-CcZalTHx.cjs → as-union-B0h0AlsZ.cjs} +4 -4
- package/dist/{as-union-BF-YDJDs.mjs → as-union-izUcMyQt.mjs} +4 -4
- package/dist/as-union.cjs +1 -1
- package/dist/as-union.mjs +1 -1
- package/dist/{as-variant-picker-D6qxuUZA.mjs → as-variant-picker-D0I5qR2w.mjs} +2 -2
- package/dist/{as-variant-picker-LRFryLRJ.cjs → as-variant-picker-oELBST6P.cjs} +2 -2
- package/dist/{focus-after-toggle-DRXAm5Xh.cjs → focus-after-toggle-B8DDrJ7d.cjs} +36 -0
- package/dist/{focus-after-toggle-CXzXFIdA.mjs → focus-after-toggle-CWw0i0B6.mjs} +31 -1
- package/dist/index.cjs +27 -27
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +27 -27
- package/dist/locale.cjs +1 -1
- package/dist/locale.mjs +1 -1
- package/dist/{use-as-model-texts-C1El8R0H.cjs → use-as-model-texts-CLzPZ6Go.cjs} +2 -2
- package/dist/{use-as-model-texts-BfvRuqNS.mjs → use-as-model-texts-D3uf3X8L.mjs} +2 -2
- package/dist/{use-as-optional-add-flow-C7f0blhC.cjs → use-as-optional-add-flow-B7Pp6r-k.cjs} +2 -2
- package/dist/{use-as-optional-add-flow-fOglspPV.mjs → use-as-optional-add-flow-CdnxNOUT.mjs} +2 -2
- package/dist/{use-as-value-help-CV8z7cQ6.cjs → use-as-value-help-BG6aN4yQ.cjs} +1 -1
- package/dist/{use-as-value-help-D-uxj0Zx.mjs → use-as-value-help-BWiBDup3.mjs} +1 -1
- package/dist/{use-form-context-DxcGtsex.cjs → use-form-context-C5Q9Gznl.cjs} +1 -1
- package/dist/{use-form-context-B1-J096b.mjs → use-form-context-Cw-ETG8f.mjs} +1 -1
- package/package.json +5 -5
- /package/dist/{use-as-locale-CnNyyqcF.cjs → use-as-locale-BHltz8Wp.cjs} +0 -0
- /package/dist/{use-as-locale-BEzm7jbp.mjs → use-as-locale-WBFjL_OO.mjs} +0 -0
- /package/dist/{use-as-nested-sections-store-u1VgBJAP.cjs → use-as-nested-sections-store-ApstV9NL.cjs} +0 -0
- /package/dist/{use-as-nested-sections-store-Dfo971PK.mjs → use-as-nested-sections-store-CkrMJbnN.mjs} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as CHANGE_HANDLER_KEY, n as useAsUnionVariant, r as useFormContext } from "./use-form-context-
|
|
2
|
-
import { o as useAsTexts } from "./use-as-locale-
|
|
3
|
-
import { t as as_field_default } from "./as-field-
|
|
4
|
-
import { t as useAsModelTexts } from "./use-as-model-texts-
|
|
5
|
-
import { t as as_collapsible_default } from "./as-collapsible-
|
|
6
|
-
import { t as as_variant_picker_default } from "./as-variant-picker-
|
|
1
|
+
import { a as CHANGE_HANDLER_KEY, n as useAsUnionVariant, r as useFormContext } from "./use-form-context-Cw-ETG8f.mjs";
|
|
2
|
+
import { o as useAsTexts } from "./use-as-locale-WBFjL_OO.mjs";
|
|
3
|
+
import { t as as_field_default } from "./as-field-R3KYssad.mjs";
|
|
4
|
+
import { t as useAsModelTexts } from "./use-as-model-texts-D3uf3X8L.mjs";
|
|
5
|
+
import { t as as_collapsible_default } from "./as-collapsible-FoPTu4lF.mjs";
|
|
6
|
+
import { t as as_variant_picker_default } from "./as-variant-picker-D0I5qR2w.mjs";
|
|
7
7
|
import { n as useAsDropdown, t as variantLabel } from "./variant-label-zYWRiOjJ.mjs";
|
|
8
|
-
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-
|
|
9
|
-
import { t as as_array_clear_btn_default } from "./as-array-clear-btn-
|
|
8
|
+
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-CdnxNOUT.mjs";
|
|
9
|
+
import { t as as_array_clear_btn_default } from "./as-array-clear-btn-ConR3zxV.mjs";
|
|
10
10
|
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";
|
|
11
11
|
import { getFieldMeta, isUnionField } from "@atscript/ui";
|
|
12
12
|
//#region src/composables/use-as-array.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const require_use_form_context = require("./use-form-context-
|
|
2
|
-
const require_use_as_locale = require("./use-as-locale-
|
|
3
|
-
const require_as_field = require("./as-field-
|
|
4
|
-
const require_use_as_model_texts = require("./use-as-model-texts-
|
|
5
|
-
const require_as_collapsible = require("./as-collapsible-
|
|
6
|
-
const require_as_variant_picker = require("./as-variant-picker-
|
|
1
|
+
const require_use_form_context = require("./use-form-context-C5Q9Gznl.cjs");
|
|
2
|
+
const require_use_as_locale = require("./use-as-locale-BHltz8Wp.cjs");
|
|
3
|
+
const require_as_field = require("./as-field-C3lIiHCI.cjs");
|
|
4
|
+
const require_use_as_model_texts = require("./use-as-model-texts-CLzPZ6Go.cjs");
|
|
5
|
+
const require_as_collapsible = require("./as-collapsible-BXQ481-h.cjs");
|
|
6
|
+
const require_as_variant_picker = require("./as-variant-picker-oELBST6P.cjs");
|
|
7
7
|
const require_variant_label = require("./variant-label-CYIvHn4B.cjs");
|
|
8
|
-
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-
|
|
9
|
-
const require_as_array_clear_btn = require("./as-array-clear-btn-
|
|
8
|
+
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-B7Pp6r-k.cjs");
|
|
9
|
+
const require_as_array_clear_btn = require("./as-array-clear-btn-DeWeUqoX.cjs");
|
|
10
10
|
let vue = require("vue");
|
|
11
11
|
let _atscript_ui = require("@atscript/ui");
|
|
12
12
|
//#region src/composables/use-as-array.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as useAsTexts } from "./use-as-locale-
|
|
2
|
-
import { n as as_optional_clear_default } from "./as-variant-picker-
|
|
1
|
+
import { o as useAsTexts } from "./use-as-locale-WBFjL_OO.mjs";
|
|
2
|
+
import { n as as_optional_clear_default } from "./as-variant-picker-D0I5qR2w.mjs";
|
|
3
3
|
import { createBlock, createElementBlock, defineComponent, openBlock, toDisplayString, unref, withModifiers } from "vue";
|
|
4
4
|
//#region src/components/internal/as-array-clear-btn.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
const _hoisted_1 = ["disabled", "aria-label"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_use_as_locale = require("./use-as-locale-
|
|
2
|
-
const require_as_variant_picker = require("./as-variant-picker-
|
|
1
|
+
const require_use_as_locale = require("./use-as-locale-BHltz8Wp.cjs");
|
|
2
|
+
const require_as_variant_picker = require("./as-variant-picker-oELBST6P.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
//#region src/components/internal/as-array-clear-btn.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
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-C4Vv6k5I.cjs");
|
|
2
2
|
module.exports = require_as_array.as_array_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-BKC7bBXf.mjs";
|
|
2
2
|
export { as_array_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as useAsTexts } from "./use-as-locale-
|
|
2
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
3
|
-
import { n as as_optional_clear_default } from "./as-variant-picker-
|
|
1
|
+
import { o as useAsTexts } from "./use-as-locale-WBFjL_OO.mjs";
|
|
2
|
+
import { t as as_field_shell_default } from "./as-field-shell-BQPySL71.mjs";
|
|
3
|
+
import { n as as_optional_clear_default } from "./as-variant-picker-D0I5qR2w.mjs";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, toDisplayString, unref, watchEffect, withCtx } from "vue";
|
|
5
5
|
import { optKey, optLabel } from "@atscript/ui";
|
|
6
6
|
//#region src/composables/use-as-tri-state-checkbox.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_use_as_locale = require("./use-as-locale-
|
|
2
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
3
|
-
const require_as_variant_picker = require("./as-variant-picker-
|
|
1
|
+
const require_use_as_locale = require("./use-as-locale-BHltz8Wp.cjs");
|
|
2
|
+
const require_as_field_shell = require("./as-field-shell-BOeyo1FP.cjs");
|
|
3
|
+
const require_as_variant_picker = require("./as-variant-picker-oELBST6P.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
let _atscript_ui = require("@atscript/ui");
|
|
6
6
|
//#region src/composables/use-as-tri-state-checkbox.ts
|
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-NjLPm4Kk.cjs");
|
|
2
2
|
module.exports = require_as_checkbox.as_checkbox_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-Dux-KJVN.mjs";
|
|
2
2
|
export { as_checkbox_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
1
|
+
const require_focus_after_toggle = require("./focus-after-toggle-B8DDrJ7d.cjs");
|
|
2
|
+
const require_use_form_context = require("./use-form-context-C5Q9Gznl.cjs");
|
|
3
|
+
const require_use_as_nested_sections_store = require("./use-as-nested-sections-store-ApstV9NL.cjs");
|
|
4
|
+
const require_use_as_locale = require("./use-as-locale-BHltz8Wp.cjs");
|
|
5
5
|
let vue = require("vue");
|
|
6
6
|
//#region src/components/as-collapsible.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
const _hoisted_1 = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { i as useAsFocusFirstAfter } from "./focus-after-toggle-CWw0i0B6.mjs";
|
|
2
|
+
import { t as formatIndexedLabelParts } from "./use-form-context-Cw-ETG8f.mjs";
|
|
3
|
+
import { i as useAsNestedSectionsStore, t as DESCENDANT_ERROR_COUNTS_KEY } from "./use-as-nested-sections-store-CkrMJbnN.mjs";
|
|
4
|
+
import { o as useAsTexts } from "./use-as-locale-WBFjL_OO.mjs";
|
|
5
5
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, inject, normalizeClass, onBeforeUnmount, onMounted, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, vShow, withCtx, withDirectives } from "vue";
|
|
6
6
|
//#region src/components/as-collapsible.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
const _hoisted_1 = [
|
package/dist/as-collapsible.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_collapsible = require("./as-collapsible-
|
|
1
|
+
const require_as_collapsible = require("./as-collapsible-BXQ481-h.cjs");
|
|
2
2
|
module.exports = require_as_collapsible.as_collapsible_default;
|
package/dist/as-collapsible.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_collapsible_default } from "./as-collapsible-
|
|
1
|
+
import { t as as_collapsible_default } from "./as-collapsible-FoPTu4lF.mjs";
|
|
2
2
|
export { as_collapsible_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-BOeyo1FP.cjs");
|
|
2
2
|
const require__shape = require("./_shape-C-TxQCFa.cjs");
|
|
3
3
|
const require_as_adornment_shell = require("./as-adornment-shell-CmS9BOFm.cjs");
|
|
4
4
|
const require_use_as_date = require("./use-as-date-DFcdIfyr.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-BQPySL71.mjs";
|
|
2
2
|
import { n as committedValue } from "./_shape-bdsPEB8P.mjs";
|
|
3
3
|
import { t as as_adornment_shell_default } from "./as-adornment-shell-CBaksXGT.mjs";
|
|
4
4
|
import { n as as_date_control_default, t as useAsDate } from "./use-as-date-DgPRL0O2.mjs";
|
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-DSvDDvwH.cjs");
|
|
2
2
|
module.exports = require_as_date.as_date_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-DUUpb8ph.mjs";
|
|
2
2
|
export { as_date_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-BOeyo1FP.cjs");
|
|
2
2
|
const require__shape = require("./_shape-C-TxQCFa.cjs");
|
|
3
3
|
const require_as_adornment_shell = require("./as-adornment-shell-CmS9BOFm.cjs");
|
|
4
4
|
const require_use_as_date = require("./use-as-date-DFcdIfyr.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-BQPySL71.mjs";
|
|
2
2
|
import { n as committedValue } from "./_shape-bdsPEB8P.mjs";
|
|
3
3
|
import { t as as_adornment_shell_default } from "./as-adornment-shell-CBaksXGT.mjs";
|
|
4
4
|
import { n as as_date_control_default, t as useAsDate } from "./use-as-date-DgPRL0O2.mjs";
|
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-DZBCBpov.cjs");
|
|
2
2
|
module.exports = require_as_datetime.as_datetime_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-Dy1tGMrO.mjs";
|
|
2
2
|
export { as_datetime_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_use_as_locale = require("./use-as-locale-
|
|
2
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_use_as_locale = require("./use-as-locale-BHltz8Wp.cjs");
|
|
2
|
+
const require_as_field_shell = require("./as-field-shell-BOeyo1FP.cjs");
|
|
3
3
|
const require__shape = require("./_shape-C-TxQCFa.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
let _atscript_ui = require("@atscript/ui");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as useAsLocale, o as useAsTexts } from "./use-as-locale-
|
|
2
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { a as useAsLocale, o as useAsTexts } from "./use-as-locale-WBFjL_OO.mjs";
|
|
2
|
+
import { t as as_field_shell_default } from "./as-field-shell-BQPySL71.mjs";
|
|
3
3
|
import { n as committedValue, r as preserveShape } from "./_shape-bdsPEB8P.mjs";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, nextTick, normalizeClass, normalizeProps, openBlock, ref, toDisplayString, unref, watch, withCtx } from "vue";
|
|
5
5
|
import { enforceScale, formatDecimalForDisplay, getDecimalSeparator, getThousandsSeparator, groupInteger, joinDecimalString, parseDecimalInput, splitDecimalString } from "@atscript/ui";
|
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-DYBEUokN.cjs");
|
|
2
2
|
module.exports = require_as_decimal.as_decimal_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-HvUQANde.mjs";
|
|
2
2
|
export { as_decimal_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_use_form_context = require("./use-form-context-
|
|
2
|
-
const require_use_as_locale = require("./use-as-locale-
|
|
3
|
-
const require_use_as_model_texts = require("./use-as-model-texts-
|
|
1
|
+
const require_use_form_context = require("./use-form-context-C5Q9Gznl.cjs");
|
|
2
|
+
const require_use_as_locale = require("./use-as-locale-BHltz8Wp.cjs");
|
|
3
|
+
const require_use_as_model_texts = require("./use-as-model-texts-CLzPZ6Go.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
let _atscript_ui = require("@atscript/ui");
|
|
6
6
|
let _atscript_ui_fns = require("@atscript/ui-fns");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as PATH_PREFIX_KEY, a as CHANGE_HANDLER_KEY, c as ERRORS_KEY, d as FORM_NORMALIZED_DATA_KEY, f as FORM_PATCH_KEY, h as LEVEL_KEY, i as ACTION_HANDLER_KEY, l as FORM_CONTEXT_KEY, m as HIDE_ROOT_TITLE_KEY, o as COMPONENTS_KEY, p as FORM_STATE_KEY, r as useFormContext, s as DISMISS_EXTERNAL_AT_KEY, u as FORM_DATA_KEY, v as ROOT_DATA_KEY, y as TYPES_KEY } from "./use-form-context-
|
|
2
|
-
import { a as useAsLocale, o as useAsTexts } from "./use-as-locale-
|
|
3
|
-
import { t as useAsModelTexts } from "./use-as-model-texts-
|
|
1
|
+
import { _ as PATH_PREFIX_KEY, a as CHANGE_HANDLER_KEY, c as ERRORS_KEY, d as FORM_NORMALIZED_DATA_KEY, f as FORM_PATCH_KEY, h as LEVEL_KEY, i as ACTION_HANDLER_KEY, l as FORM_CONTEXT_KEY, m as HIDE_ROOT_TITLE_KEY, o as COMPONENTS_KEY, p as FORM_STATE_KEY, r as useFormContext, s as DISMISS_EXTERNAL_AT_KEY, u as FORM_DATA_KEY, v as ROOT_DATA_KEY, y as TYPES_KEY } from "./use-form-context-Cw-ETG8f.mjs";
|
|
2
|
+
import { a as useAsLocale, o as useAsTexts } from "./use-as-locale-WBFjL_OO.mjs";
|
|
3
|
+
import { t as useAsModelTexts } from "./use-as-model-texts-D3uf3X8L.mjs";
|
|
4
4
|
import { computed, createBlock, createElementBlock, defineComponent, inject, isRef, mergeProps, onUnmounted, openBlock, provide, ref, resolveDynamicComponent, toDisplayString, unref, useId, watch } from "vue";
|
|
5
5
|
import { DB_AMOUNT_CURRENCY, DB_AMOUNT_CURRENCY_REF, DB_COLUMN_PRECISION, DB_UNIT, DB_UNIT_REF, EXPECT_MAX_LENGTH, META_DEFAULT, META_DESCRIPTION, META_LABEL, META_READONLY, META_REQUIRED, UI_FORM_ACTION, UI_FORM_ATTR, UI_FORM_AUTOCOMPLETE, UI_FORM_CLASSES, UI_FORM_COMPONENT, UI_FORM_DISABLED, UI_FORM_FN_CLASSES, UI_FORM_FN_DESCRIPTION, UI_FORM_FN_DISABLED, UI_FORM_FN_HINT, UI_FORM_FN_LABEL, UI_FORM_FN_PLACEHOLDER, UI_FORM_FN_PREFIX, UI_FORM_FN_READONLY, UI_FORM_FN_STYLES, UI_FORM_FN_TITLE, UI_FORM_FN_VALUE, UI_FORM_GRID_COL_SPAN, UI_FORM_GRID_ROW_SPAN, UI_FORM_HIDDEN, UI_FORM_HINT, UI_FORM_LABEL_SINGULAR, UI_FORM_PLACEHOLDER, UI_FORM_PREFIX, UI_FORM_PREFIX_ICON, UI_FORM_PREFIX_REF, UI_FORM_STYLES, UI_FORM_SUFFIX, UI_FORM_SUFFIX_ICON, UI_FORM_SUFFIX_REF, UI_FORM_VALIDATE, WF_ACTION_WITH_DATA, buildGridClasses, createFieldValidator, fieldText, getByPath, getCurrencyDecimals, getCurrencyDisplayParts, getFieldMeta, hasFieldMeta, isArrayField, isFieldHidden, isObjectField, isTupleField, isUnionField, joinPath, resolveAttrs, resolveFieldProp, resolveFormProp, resolveGridSpec, resolveOptions, resolveSingularLabel, setByPath, userText } from "@atscript/ui";
|
|
6
6
|
import { buildFieldEntry } from "@atscript/ui-fns";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const require_as_variant_picker = require("./as-variant-picker-
|
|
1
|
+
const require_focus_after_toggle = require("./focus-after-toggle-B8DDrJ7d.cjs");
|
|
2
|
+
const require_use_form_context = require("./use-form-context-C5Q9Gznl.cjs");
|
|
3
|
+
const require_use_as_locale = require("./use-as-locale-BHltz8Wp.cjs");
|
|
4
|
+
const require_as_variant_picker = require("./as-variant-picker-oELBST6P.cjs");
|
|
5
5
|
const require__editing_hold = require("./_editing-hold-ChPIf1ZC.cjs");
|
|
6
6
|
let vue = require("vue");
|
|
7
7
|
//#region src/components/internal/as-no-data.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as as_optional_clear_default, t as as_variant_picker_default } from "./as-variant-picker-
|
|
1
|
+
import { i as useAsFocusFirstAfter } from "./focus-after-toggle-CWw0i0B6.mjs";
|
|
2
|
+
import { n as useAsUnionVariant, t as formatIndexedLabelParts } from "./use-form-context-Cw-ETG8f.mjs";
|
|
3
|
+
import { o as useAsTexts } from "./use-as-locale-WBFjL_OO.mjs";
|
|
4
|
+
import { n as as_optional_clear_default, t as as_variant_picker_default } from "./as-variant-picker-D0I5qR2w.mjs";
|
|
5
5
|
import { n as useEditingHold } from "./_editing-hold-DVfB2wc_.mjs";
|
|
6
6
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, toDisplayString, unref, vShow, withDirectives, withKeys, withModifiers } from "vue";
|
|
7
7
|
//#region src/components/internal/as-no-data.vue?vue&type=script&setup=true&lang.ts
|
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-BOeyo1FP.cjs");
|
|
2
2
|
module.exports = require_as_field_shell.as_field_shell_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-BQPySL71.mjs";
|
|
2
2
|
export { as_field_shell_default as default };
|
package/dist/as-field.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_field = require("./as-field-
|
|
1
|
+
const require_as_field = require("./as-field-C3lIiHCI.cjs");
|
|
2
2
|
module.exports = require_as_field.as_field_default;
|
package/dist/as-field.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_field_default } from "./as-field-
|
|
1
|
+
import { t as as_field_default } from "./as-field-R3KYssad.mjs";
|
|
2
2
|
export { as_field_default as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
1
|
+
import { r as resetKeepingFocus } from "./focus-after-toggle-CWw0i0B6.mjs";
|
|
2
|
+
import { _ as PATH_PREFIX_KEY, a as CHANGE_HANDLER_KEY, c as ERRORS_KEY, d as FORM_NORMALIZED_DATA_KEY, f as FORM_PATCH_KEY, g as MODEL_TEXTS_KEY, i as ACTION_HANDLER_KEY, l as FORM_CONTEXT_KEY, m as HIDE_ROOT_TITLE_KEY, o as COMPONENTS_KEY, p as FORM_STATE_KEY, s as DISMISS_EXTERNAL_AT_KEY, u as FORM_DATA_KEY, v as ROOT_DATA_KEY, y as TYPES_KEY } from "./use-form-context-Cw-ETG8f.mjs";
|
|
3
|
+
import { i as useAsNestedSectionsStore, n as provideAsNestedSectionsStore, t as DESCENDANT_ERROR_COUNTS_KEY } from "./use-as-nested-sections-store-CkrMJbnN.mjs";
|
|
4
|
+
import { o as useAsTexts } from "./use-as-locale-WBFjL_OO.mjs";
|
|
5
|
+
import { t as CLIENT_FACTORY_KEY } from "./use-as-value-help-BWiBDup3.mjs";
|
|
6
|
+
import { t as as_field_default } from "./as-field-R3KYssad.mjs";
|
|
7
|
+
import { t as as_iterator_default } from "./as-iterator-Bd1fXGs6.mjs";
|
|
7
8
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, inject, isProxy, isRef, mergeProps, nextTick, normalizeProps, openBlock, provide, reactive, ref, renderSlot, shallowRef, toDisplayString, toRaw, toValue, unref, watch, watchEffect, withModifiers } from "vue";
|
|
8
9
|
import { FORM_ERROR_KEY, META_DESCRIPTION, META_LABEL, UI_FORM_FN_DESCRIPTION, UI_FORM_FN_SUBMIT_DISABLED, UI_FORM_FN_SUBMIT_TEXT, UI_FORM_FN_TITLE, UI_FORM_SUBMIT_TEXT, buildDescendantErrorCounts, buildFormDiff, buildFormRebase, collectDirtyPaths, createFormData, createFormValueResolver, deepClone, deleteByPath, getByPath, getDeclaredFormActions, getFormValidator, iteratePathAncestors, mergeErrorMaps, omitPaths, omitSkippedNavFields, resolveFormProp, setByPath, unionVariantChanged } from "@atscript/ui";
|
|
9
10
|
//#region src/composables/use-as-form-patch.ts
|
|
@@ -682,10 +683,16 @@ var as_form_default = /* @__PURE__ */ defineComponent({
|
|
|
682
683
|
change: (type, path, value, formData) => emit("change", type, path, value, formData)
|
|
683
684
|
}
|
|
684
685
|
});
|
|
686
|
+
const formEl = ref();
|
|
687
|
+
const reset = () => resetKeepingFocus(form.reset, formEl.value);
|
|
688
|
+
const slotProps = computed(() => ({
|
|
689
|
+
...form.slotProps.value,
|
|
690
|
+
reset
|
|
691
|
+
}));
|
|
685
692
|
__expose({
|
|
686
693
|
submit: form.onSubmit,
|
|
687
694
|
action: form.invokeAction,
|
|
688
|
-
reset
|
|
695
|
+
reset,
|
|
689
696
|
clearErrors: form.clearErrors,
|
|
690
697
|
setErrors: form.setErrors,
|
|
691
698
|
get isDirty() {
|
|
@@ -706,18 +713,20 @@ var as_form_default = /* @__PURE__ */ defineComponent({
|
|
|
706
713
|
const { t } = useAsTexts();
|
|
707
714
|
return (_ctx, _cache) => {
|
|
708
715
|
return openBlock(), createElementBlock("form", {
|
|
716
|
+
ref_key: "formEl",
|
|
717
|
+
ref: formEl,
|
|
709
718
|
class: "as-form",
|
|
710
719
|
inert: __props.loading,
|
|
711
720
|
onSubmit: _cache[1] || (_cache[1] = withModifiers((...args) => unref(form).onSubmit && unref(form).onSubmit(...args), ["prevent"]))
|
|
712
721
|
}, [
|
|
713
|
-
renderSlot(_ctx.$slots, "form.header", normalizeProps(guardReactiveProps(
|
|
714
|
-
renderSlot(_ctx.$slots, "form.before", normalizeProps(guardReactiveProps(
|
|
722
|
+
renderSlot(_ctx.$slots, "form.header", normalizeProps(guardReactiveProps(slotProps.value))),
|
|
723
|
+
renderSlot(_ctx.$slots, "form.before", normalizeProps(guardReactiveProps(slotProps.value))),
|
|
715
724
|
(openBlock(), createBlock(as_field_default, {
|
|
716
725
|
key: unref(form).remountKey.value,
|
|
717
726
|
field: __props.def.rootField
|
|
718
727
|
}, null, 8, ["field"])),
|
|
719
|
-
renderSlot(_ctx.$slots, "form.after", normalizeProps(guardReactiveProps(
|
|
720
|
-
unref(form).formError.value ? renderSlot(_ctx.$slots, "form.error", mergeProps({ key: 0 },
|
|
728
|
+
renderSlot(_ctx.$slots, "form.after", normalizeProps(guardReactiveProps(slotProps.value))),
|
|
729
|
+
unref(form).formError.value ? renderSlot(_ctx.$slots, "form.error", mergeProps({ key: 0 }, slotProps.value, {
|
|
721
730
|
message: unref(form).formError.value,
|
|
722
731
|
dismiss: unref(form).dismissFormError
|
|
723
732
|
}), () => [createElementVNode("div", _hoisted_2, [createElementVNode("span", _hoisted_3, toDisplayString(unref(form).formError.value), 1), createElementVNode("button", {
|
|
@@ -725,7 +734,7 @@ var as_form_default = /* @__PURE__ */ defineComponent({
|
|
|
725
734
|
class: "as-form-error-dismiss",
|
|
726
735
|
onClick: _cache[0] || (_cache[0] = (...args) => unref(form).dismissFormError && unref(form).dismissFormError(...args))
|
|
727
736
|
}, toDisplayString(unref(t)("UI_FORM_DISMISS")), 1)])]) : createCommentVNode("v-if", true),
|
|
728
|
-
!__props.hideSubmit ? renderSlot(_ctx.$slots, "form.submit", mergeProps({ key: 1 },
|
|
737
|
+
!__props.hideSubmit ? renderSlot(_ctx.$slots, "form.submit", mergeProps({ key: 1 }, slotProps.value, { text: unref(form).submitText.value }), () => [createElementVNode("button", {
|
|
729
738
|
type: "submit",
|
|
730
739
|
class: "as-submit-btn",
|
|
731
740
|
disabled: unref(form).submitDisabled.value
|
|
@@ -738,8 +747,8 @@ var as_form_default = /* @__PURE__ */ defineComponent({
|
|
|
738
747
|
def: __props.def,
|
|
739
748
|
fields: __props.def.pushDownFields
|
|
740
749
|
}, null, 8, ["def", "fields"])])) : createCommentVNode("v-if", true),
|
|
741
|
-
renderSlot(_ctx.$slots, "form.footer", normalizeProps(guardReactiveProps(
|
|
742
|
-
__props.loading ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "form.loading", normalizeProps(guardReactiveProps(
|
|
750
|
+
renderSlot(_ctx.$slots, "form.footer", normalizeProps(guardReactiveProps(slotProps.value))),
|
|
751
|
+
__props.loading ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "form.loading", normalizeProps(guardReactiveProps(slotProps.value)), () => [_cache[2] || (_cache[2] = createElementVNode("span", {
|
|
743
752
|
class: "as-form-overlay-icon",
|
|
744
753
|
"aria-hidden": "true"
|
|
745
754
|
}, null, -1))])])) : createCommentVNode("v-if", true)
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
1
|
+
const require_focus_after_toggle = require("./focus-after-toggle-B8DDrJ7d.cjs");
|
|
2
|
+
const require_use_form_context = require("./use-form-context-C5Q9Gznl.cjs");
|
|
3
|
+
const require_use_as_nested_sections_store = require("./use-as-nested-sections-store-ApstV9NL.cjs");
|
|
4
|
+
const require_use_as_locale = require("./use-as-locale-BHltz8Wp.cjs");
|
|
5
|
+
const require_use_as_value_help = require("./use-as-value-help-BG6aN4yQ.cjs");
|
|
6
|
+
const require_as_field = require("./as-field-C3lIiHCI.cjs");
|
|
7
|
+
const require_as_iterator = require("./as-iterator-BB7DB04y.cjs");
|
|
7
8
|
let vue = require("vue");
|
|
8
9
|
let _atscript_ui = require("@atscript/ui");
|
|
9
10
|
//#region src/composables/use-as-form-patch.ts
|
|
@@ -682,10 +683,16 @@ var as_form_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
682
683
|
change: (type, path, value, formData) => emit("change", type, path, value, formData)
|
|
683
684
|
}
|
|
684
685
|
});
|
|
686
|
+
const formEl = (0, vue.ref)();
|
|
687
|
+
const reset = () => require_focus_after_toggle.resetKeepingFocus(form.reset, formEl.value);
|
|
688
|
+
const slotProps = (0, vue.computed)(() => ({
|
|
689
|
+
...form.slotProps.value,
|
|
690
|
+
reset
|
|
691
|
+
}));
|
|
685
692
|
__expose({
|
|
686
693
|
submit: form.onSubmit,
|
|
687
694
|
action: form.invokeAction,
|
|
688
|
-
reset
|
|
695
|
+
reset,
|
|
689
696
|
clearErrors: form.clearErrors,
|
|
690
697
|
setErrors: form.setErrors,
|
|
691
698
|
get isDirty() {
|
|
@@ -706,18 +713,20 @@ var as_form_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
706
713
|
const { t } = require_use_as_locale.useAsTexts();
|
|
707
714
|
return (_ctx, _cache) => {
|
|
708
715
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("form", {
|
|
716
|
+
ref_key: "formEl",
|
|
717
|
+
ref: formEl,
|
|
709
718
|
class: "as-form",
|
|
710
719
|
inert: __props.loading,
|
|
711
720
|
onSubmit: _cache[1] || (_cache[1] = (0, vue.withModifiers)((...args) => (0, vue.unref)(form).onSubmit && (0, vue.unref)(form).onSubmit(...args), ["prevent"]))
|
|
712
721
|
}, [
|
|
713
|
-
(0, vue.renderSlot)(_ctx.$slots, "form.header", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(
|
|
714
|
-
(0, vue.renderSlot)(_ctx.$slots, "form.before", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(
|
|
722
|
+
(0, vue.renderSlot)(_ctx.$slots, "form.header", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(slotProps.value))),
|
|
723
|
+
(0, vue.renderSlot)(_ctx.$slots, "form.before", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(slotProps.value))),
|
|
715
724
|
((0, vue.openBlock)(), (0, vue.createBlock)(require_as_field.as_field_default, {
|
|
716
725
|
key: (0, vue.unref)(form).remountKey.value,
|
|
717
726
|
field: __props.def.rootField
|
|
718
727
|
}, null, 8, ["field"])),
|
|
719
|
-
(0, vue.renderSlot)(_ctx.$slots, "form.after", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(
|
|
720
|
-
(0, vue.unref)(form).formError.value ? (0, vue.renderSlot)(_ctx.$slots, "form.error", (0, vue.mergeProps)({ key: 0 },
|
|
728
|
+
(0, vue.renderSlot)(_ctx.$slots, "form.after", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(slotProps.value))),
|
|
729
|
+
(0, vue.unref)(form).formError.value ? (0, vue.renderSlot)(_ctx.$slots, "form.error", (0, vue.mergeProps)({ key: 0 }, slotProps.value, {
|
|
721
730
|
message: (0, vue.unref)(form).formError.value,
|
|
722
731
|
dismiss: (0, vue.unref)(form).dismissFormError
|
|
723
732
|
}), () => [(0, vue.createElementVNode)("div", _hoisted_2, [(0, vue.createElementVNode)("span", _hoisted_3, (0, vue.toDisplayString)((0, vue.unref)(form).formError.value), 1), (0, vue.createElementVNode)("button", {
|
|
@@ -725,7 +734,7 @@ var as_form_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
725
734
|
class: "as-form-error-dismiss",
|
|
726
735
|
onClick: _cache[0] || (_cache[0] = (...args) => (0, vue.unref)(form).dismissFormError && (0, vue.unref)(form).dismissFormError(...args))
|
|
727
736
|
}, (0, vue.toDisplayString)((0, vue.unref)(t)("UI_FORM_DISMISS")), 1)])]) : (0, vue.createCommentVNode)("v-if", true),
|
|
728
|
-
!__props.hideSubmit ? (0, vue.renderSlot)(_ctx.$slots, "form.submit", (0, vue.mergeProps)({ key: 1 },
|
|
737
|
+
!__props.hideSubmit ? (0, vue.renderSlot)(_ctx.$slots, "form.submit", (0, vue.mergeProps)({ key: 1 }, slotProps.value, { text: (0, vue.unref)(form).submitText.value }), () => [(0, vue.createElementVNode)("button", {
|
|
729
738
|
type: "submit",
|
|
730
739
|
class: "as-submit-btn",
|
|
731
740
|
disabled: (0, vue.unref)(form).submitDisabled.value
|
|
@@ -738,8 +747,8 @@ var as_form_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
738
747
|
def: __props.def,
|
|
739
748
|
fields: __props.def.pushDownFields
|
|
740
749
|
}, null, 8, ["def", "fields"])])) : (0, vue.createCommentVNode)("v-if", true),
|
|
741
|
-
(0, vue.renderSlot)(_ctx.$slots, "form.footer", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(
|
|
742
|
-
__props.loading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_5, [(0, vue.renderSlot)(_ctx.$slots, "form.loading", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(
|
|
750
|
+
(0, vue.renderSlot)(_ctx.$slots, "form.footer", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(slotProps.value))),
|
|
751
|
+
__props.loading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_5, [(0, vue.renderSlot)(_ctx.$slots, "form.loading", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(slotProps.value)), () => [_cache[2] || (_cache[2] = (0, vue.createElementVNode)("span", {
|
|
743
752
|
class: "as-form-overlay-icon",
|
|
744
753
|
"aria-hidden": "true"
|
|
745
754
|
}, null, -1))])])) : (0, vue.createCommentVNode)("v-if", true)
|
package/dist/as-form.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_form = require("./as-form-
|
|
1
|
+
const require_as_form = require("./as-form-DroFS2lv.cjs");
|
|
2
2
|
module.exports = require_as_form.as_form_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-DT1D4aMl.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-BO3bQmRB.mjs";
|
|
2
2
|
export { Props, _default as default };
|
package/dist/as-form.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_form_default } from "./as-form-
|
|
1
|
+
import { t as as_form_default } from "./as-form-B9hRTvod.mjs";
|
|
2
2
|
export { as_form_default as default };
|