@atscript/vue-form 0.1.133 → 0.1.134
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-CNUcfYzQ.mjs → as-array-BS_1QWvc.mjs} +1 -1
- package/dist/{as-array-BIrtgqGZ.cjs → as-array-DlHekRMZ.cjs} +1 -1
- package/dist/as-array.cjs +1 -1
- package/dist/as-array.mjs +1 -1
- package/dist/{as-field-BrhsTYCn.mjs → as-field-BJ1WciIp.mjs} +2 -2
- package/dist/{as-field-DJw87Npg.cjs → as-field-C502boQy.cjs} +1 -1
- package/dist/as-field.cjs +1 -1
- package/dist/as-field.mjs +1 -1
- package/dist/{as-form-BkzJmS-I.mjs → as-form-B4nL-BjV.mjs} +14 -8
- package/dist/{as-form-BTcykEPi.cjs → as-form-Dw0Xo5zF.cjs} +14 -8
- package/dist/as-form.cjs +1 -1
- package/dist/as-form.mjs +1 -1
- package/dist/{as-iterator-5Ji-sy07.mjs → as-iterator-BU5Hj5K6.mjs} +1 -1
- package/dist/{as-iterator-E3De4x1A.cjs → as-iterator-QM6LyYvA.cjs} +1 -1
- package/dist/as-iterator.cjs +1 -1
- package/dist/as-iterator.mjs +1 -1
- package/dist/{as-object-D6DSLkJP.cjs → as-object-CIqxuJxh.cjs} +1 -1
- package/dist/{as-object-DEC2myJ6.mjs → as-object-yZj_RlnR.mjs} +1 -1
- package/dist/as-object.cjs +1 -1
- package/dist/as-object.mjs +1 -1
- package/dist/{as-tuple-CPAc60hB.mjs → as-tuple-45EjcoJB.mjs} +1 -1
- package/dist/{as-tuple-BSUtQI-v.cjs → as-tuple-BB8zVKTY.cjs} +1 -1
- package/dist/as-tuple.cjs +1 -1
- package/dist/as-tuple.mjs +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CHANGE_HANDLER_KEY, n as useAsUnionVariant, r as useFormContext } from "./use-form-context-cDW2GW4-.mjs";
|
|
2
|
-
import { t as as_field_default } from "./as-field-
|
|
2
|
+
import { t as as_field_default } from "./as-field-BJ1WciIp.mjs";
|
|
3
3
|
import { t as as_collapsible_default } from "./as-collapsible-DHSlSMfY.mjs";
|
|
4
4
|
import { t as as_variant_picker_default } from "./as-variant-picker-B3GLhKyt.mjs";
|
|
5
5
|
import { t as useAsDropdown } from "./use-as-dropdown-B2Shb7wn.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_form_context = require("./use-form-context-B6ZnzfxG.cjs");
|
|
2
|
-
const require_as_field = require("./as-field-
|
|
2
|
+
const require_as_field = require("./as-field-C502boQy.cjs");
|
|
3
3
|
const require_as_collapsible = require("./as-collapsible-CQyuXwj9.cjs");
|
|
4
4
|
const require_as_variant_picker = require("./as-variant-picker-JlEhh7YO.cjs");
|
|
5
5
|
const require_use_as_dropdown = require("./use-as-dropdown-Bj9toVdw.cjs");
|
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-DlHekRMZ.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-BS_1QWvc.mjs";
|
|
2
2
|
export { as_array_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as TYPES_KEY, a as CHANGE_HANDLER_KEY, c as ERRORS_KEY, d as FORM_PATCH_KEY, f as FORM_STATE_KEY, g as ROOT_DATA_KEY, h as PATH_PREFIX_KEY, i as ACTION_HANDLER_KEY, l as FORM_CONTEXT_KEY, m as LEVEL_KEY, o as COMPONENTS_KEY, p as HIDE_ROOT_TITLE_KEY, r as useFormContext, s as DISMISS_EXTERNAL_AT_KEY, u as FORM_DATA_KEY } from "./use-form-context-cDW2GW4-.mjs";
|
|
2
2
|
import { n as useAsLocale } from "./use-as-locale-BrFdAgnU.mjs";
|
|
3
3
|
import { computed, createBlock, createElementBlock, defineComponent, inject, isRef, mergeProps, onUnmounted, openBlock, provide, ref, resolveDynamicComponent, toDisplayString, unref, useId, watch } from "vue";
|
|
4
|
-
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_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, createFormData, createFormValueResolver,
|
|
4
|
+
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_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, createFormData, createFormValueResolver, getByPath, getCurrencyDecimals, getCurrencyDisplayParts, getFieldMeta, hasFieldMeta, isArrayField, isFieldHidden, isObjectField, isTupleField, isUnionField, joinPath, resolveAttrs, resolveFieldProp, resolveFormProp, resolveGridSpec, resolveOptions, resolveSingularLabel } from "@atscript/ui";
|
|
5
5
|
import { buildFieldEntry } from "@atscript/ui-fns";
|
|
6
6
|
//#region src/composables/use-as-field.ts
|
|
7
7
|
function useAsField(opts) {
|
|
@@ -263,7 +263,7 @@ var as_field_default = /* @__PURE__ */ defineComponent({
|
|
|
263
263
|
const componentName = getFieldMeta(prop, UI_FORM_COMPONENT);
|
|
264
264
|
const prefixIcon = getFieldMeta(prop, UI_FORM_PREFIX_ICON);
|
|
265
265
|
const suffixIcon = getFieldMeta(prop, UI_FORM_SUFFIX_ICON);
|
|
266
|
-
const valueHelp =
|
|
266
|
+
const valueHelp = props.field.valueHelpInfo;
|
|
267
267
|
const currencyLiteral = getFieldMeta(prop, DB_AMOUNT_CURRENCY);
|
|
268
268
|
const currencyRefField = getFieldMeta(prop, DB_AMOUNT_CURRENCY_REF);
|
|
269
269
|
const unitLiteral = getFieldMeta(prop, DB_UNIT);
|
|
@@ -263,7 +263,7 @@ var as_field_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
263
263
|
const componentName = (0, _atscript_ui.getFieldMeta)(prop, _atscript_ui.UI_FORM_COMPONENT);
|
|
264
264
|
const prefixIcon = (0, _atscript_ui.getFieldMeta)(prop, _atscript_ui.UI_FORM_PREFIX_ICON);
|
|
265
265
|
const suffixIcon = (0, _atscript_ui.getFieldMeta)(prop, _atscript_ui.UI_FORM_SUFFIX_ICON);
|
|
266
|
-
const valueHelp =
|
|
266
|
+
const valueHelp = props.field.valueHelpInfo;
|
|
267
267
|
const currencyLiteral = (0, _atscript_ui.getFieldMeta)(prop, _atscript_ui.DB_AMOUNT_CURRENCY);
|
|
268
268
|
const currencyRefField = (0, _atscript_ui.getFieldMeta)(prop, _atscript_ui.DB_AMOUNT_CURRENCY_REF);
|
|
269
269
|
const unitLiteral = (0, _atscript_ui.getFieldMeta)(prop, _atscript_ui.DB_UNIT);
|
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-C502boQy.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-BJ1WciIp.mjs";
|
|
2
2
|
export { as_field_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as TYPES_KEY, a as CHANGE_HANDLER_KEY, c as ERRORS_KEY, d as FORM_PATCH_KEY, f as FORM_STATE_KEY, g as ROOT_DATA_KEY, h as PATH_PREFIX_KEY, i as ACTION_HANDLER_KEY, l as FORM_CONTEXT_KEY, o as COMPONENTS_KEY, p as HIDE_ROOT_TITLE_KEY, s as DISMISS_EXTERNAL_AT_KEY, u as FORM_DATA_KEY } from "./use-form-context-cDW2GW4-.mjs";
|
|
2
2
|
import { i as useAsNestedSectionsStore, n as provideAsNestedSectionsStore, t as DESCENDANT_ERROR_COUNTS_KEY } from "./use-as-nested-sections-store-Dfo971PK.mjs";
|
|
3
3
|
import { t as CLIENT_FACTORY_KEY } from "./use-as-value-help-DrISSxCz.mjs";
|
|
4
|
-
import { t as as_field_default } from "./as-field-
|
|
5
|
-
import { t as as_iterator_default } from "./as-iterator-
|
|
4
|
+
import { t as as_field_default } from "./as-field-BJ1WciIp.mjs";
|
|
5
|
+
import { t as as_iterator_default } from "./as-iterator-BU5Hj5K6.mjs";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeProps, openBlock, provide, reactive, ref, renderSlot, shallowRef, toDisplayString, toRaw, toValue, unref, watch, watchEffect, withModifiers } from "vue";
|
|
7
7
|
import { 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, deepClone, getDeclaredFormActions, getFormValidator, iteratePathAncestors, mergeErrorMaps, omitPaths, resolveFormProp, setByPath, unionVariantChanged } from "@atscript/ui";
|
|
8
8
|
//#region src/composables/use-as-form-patch.ts
|
|
@@ -12,6 +12,10 @@ import { META_DESCRIPTION, META_LABEL, UI_FORM_FN_DESCRIPTION, UI_FORM_FN_SUBMIT
|
|
|
12
12
|
*
|
|
13
13
|
* - captures a DEEP CLONE of the wrapped form-data the moment tracking becomes
|
|
14
14
|
* active (and, if data is not yet available, when it first arrives),
|
|
15
|
+
* - re-captures automatically when the container's `value` is replaced by
|
|
16
|
+
* identity while the form is still CLEAN (since 0.1.134) — the fetch-then-fill
|
|
17
|
+
* `formData.value = row` on a form seeded with `createAsFormDef` defaults; a
|
|
18
|
+
* DIRTY swap keeps the old baseline and still needs an explicit rebase,
|
|
15
19
|
* - re-baselines on `reset()` (the form's own reset path calls `rebase()`),
|
|
16
20
|
* - exposes `rebase()` so a consumer can re-baseline after a successful save.
|
|
17
21
|
*
|
|
@@ -72,13 +76,15 @@ function createAsFormPatch(def, getData, onRebased) {
|
|
|
72
76
|
baselineRev.value++;
|
|
73
77
|
}
|
|
74
78
|
capture();
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
watch(() => getData().value, (next, prev) => {
|
|
80
|
+
if (next === prev) return;
|
|
81
|
+
if (baseline === void 0) {
|
|
78
82
|
capture();
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (prev !== void 0 && buildFormDiff(def(), baseline, { value: prev }).isDirty) return;
|
|
86
|
+
capture();
|
|
87
|
+
}, { flush: "sync" });
|
|
82
88
|
watch(() => getData(), () => dataRev.value++, { deep: true });
|
|
83
89
|
const diff = computed(() => {
|
|
84
90
|
dataRev.value;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_use_form_context = require("./use-form-context-B6ZnzfxG.cjs");
|
|
2
2
|
const require_use_as_nested_sections_store = require("./use-as-nested-sections-store-u1VgBJAP.cjs");
|
|
3
3
|
const require_use_as_value_help = require("./use-as-value-help-BsAriqCI.cjs");
|
|
4
|
-
const require_as_field = require("./as-field-
|
|
5
|
-
const require_as_iterator = require("./as-iterator-
|
|
4
|
+
const require_as_field = require("./as-field-C502boQy.cjs");
|
|
5
|
+
const require_as_iterator = require("./as-iterator-QM6LyYvA.cjs");
|
|
6
6
|
let vue = require("vue");
|
|
7
7
|
let _atscript_ui = require("@atscript/ui");
|
|
8
8
|
//#region src/composables/use-as-form-patch.ts
|
|
@@ -12,6 +12,10 @@ let _atscript_ui = require("@atscript/ui");
|
|
|
12
12
|
*
|
|
13
13
|
* - captures a DEEP CLONE of the wrapped form-data the moment tracking becomes
|
|
14
14
|
* active (and, if data is not yet available, when it first arrives),
|
|
15
|
+
* - re-captures automatically when the container's `value` is replaced by
|
|
16
|
+
* identity while the form is still CLEAN (since 0.1.134) — the fetch-then-fill
|
|
17
|
+
* `formData.value = row` on a form seeded with `createAsFormDef` defaults; a
|
|
18
|
+
* DIRTY swap keeps the old baseline and still needs an explicit rebase,
|
|
15
19
|
* - re-baselines on `reset()` (the form's own reset path calls `rebase()`),
|
|
16
20
|
* - exposes `rebase()` so a consumer can re-baseline after a successful save.
|
|
17
21
|
*
|
|
@@ -72,13 +76,15 @@ function createAsFormPatch(def, getData, onRebased) {
|
|
|
72
76
|
baselineRev.value++;
|
|
73
77
|
}
|
|
74
78
|
capture();
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
(0, vue.watch)(() => getData().value, (next, prev) => {
|
|
80
|
+
if (next === prev) return;
|
|
81
|
+
if (baseline === void 0) {
|
|
78
82
|
capture();
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (prev !== void 0 && (0, _atscript_ui.buildFormDiff)(def(), baseline, { value: prev }).isDirty) return;
|
|
86
|
+
capture();
|
|
87
|
+
}, { flush: "sync" });
|
|
82
88
|
(0, vue.watch)(() => getData(), () => dataRev.value++, { deep: true });
|
|
83
89
|
const diff = (0, vue.computed)(() => {
|
|
84
90
|
dataRev.value;
|
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-Dw0Xo5zF.cjs");
|
|
2
2
|
module.exports = require_as_form.as_form_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-B4nL-BjV.mjs";
|
|
2
2
|
export { as_form_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as PATH_PREFIX_KEY, m as LEVEL_KEY } from "./use-form-context-cDW2GW4-.mjs";
|
|
2
|
-
import { t as as_field_default } from "./as-field-
|
|
2
|
+
import { t as as_field_default } from "./as-field-BJ1WciIp.mjs";
|
|
3
3
|
import { Fragment, computed, createBlock, createElementBlock, defineComponent, inject, openBlock, provide, renderList } from "vue";
|
|
4
4
|
import { joinPath } from "@atscript/ui";
|
|
5
5
|
//#region src/composables/use-as-level.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_form_context = require("./use-form-context-B6ZnzfxG.cjs");
|
|
2
|
-
const require_as_field = require("./as-field-
|
|
2
|
+
const require_as_field = require("./as-field-C502boQy.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
let _atscript_ui = require("@atscript/ui");
|
|
5
5
|
//#region src/composables/use-as-level.ts
|
package/dist/as-iterator.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_iterator = require("./as-iterator-
|
|
1
|
+
const require_as_iterator = require("./as-iterator-QM6LyYvA.cjs");
|
|
2
2
|
module.exports = require_as_iterator.as_iterator_default;
|
package/dist/as-iterator.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_iterator_default } from "./as-iterator-
|
|
1
|
+
import { t as as_iterator_default } from "./as-iterator-BU5Hj5K6.mjs";
|
|
2
2
|
export { as_iterator_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_form_context = require("./use-form-context-B6ZnzfxG.cjs");
|
|
2
|
-
const require_as_iterator = require("./as-iterator-
|
|
2
|
+
const require_as_iterator = require("./as-iterator-QM6LyYvA.cjs");
|
|
3
3
|
const require_as_collapsible = require("./as-collapsible-CQyuXwj9.cjs");
|
|
4
4
|
const require_as_variant_picker = require("./as-variant-picker-JlEhh7YO.cjs");
|
|
5
5
|
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-CD8seN3C.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useAsUnionVariant } from "./use-form-context-cDW2GW4-.mjs";
|
|
2
|
-
import { t as as_iterator_default } from "./as-iterator-
|
|
2
|
+
import { t as as_iterator_default } from "./as-iterator-BU5Hj5K6.mjs";
|
|
3
3
|
import { t as as_collapsible_default } from "./as-collapsible-DHSlSMfY.mjs";
|
|
4
4
|
import { n as as_optional_clear_default, t as as_variant_picker_default } from "./as-variant-picker-B3GLhKyt.mjs";
|
|
5
5
|
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-BdjKNx9P.mjs";
|
package/dist/as-object.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_object = require("./as-object-
|
|
1
|
+
const require_as_object = require("./as-object-CIqxuJxh.cjs");
|
|
2
2
|
module.exports = require_as_object.as_object_default;
|
package/dist/as-object.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_object_default } from "./as-object-
|
|
1
|
+
import { t as as_object_default } from "./as-object-yZj_RlnR.mjs";
|
|
2
2
|
export { as_object_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as CHANGE_HANDLER_KEY, n as useAsUnionVariant, r as useFormContext } from "./use-form-context-cDW2GW4-.mjs";
|
|
2
|
-
import { t as as_field_default } from "./as-field-
|
|
2
|
+
import { t as as_field_default } from "./as-field-BJ1WciIp.mjs";
|
|
3
3
|
import { t as as_collapsible_default } from "./as-collapsible-DHSlSMfY.mjs";
|
|
4
4
|
import { t as as_variant_picker_default } from "./as-variant-picker-B3GLhKyt.mjs";
|
|
5
5
|
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-BdjKNx9P.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_form_context = require("./use-form-context-B6ZnzfxG.cjs");
|
|
2
|
-
const require_as_field = require("./as-field-
|
|
2
|
+
const require_as_field = require("./as-field-C502boQy.cjs");
|
|
3
3
|
const require_as_collapsible = require("./as-collapsible-CQyuXwj9.cjs");
|
|
4
4
|
const require_as_variant_picker = require("./as-variant-picker-JlEhh7YO.cjs");
|
|
5
5
|
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-CD8seN3C.cjs");
|
package/dist/as-tuple.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_tuple = require("./as-tuple-
|
|
1
|
+
const require_as_tuple = require("./as-tuple-BB8zVKTY.cjs");
|
|
2
2
|
module.exports = require_as_tuple.as_tuple_default;
|
package/dist/as-tuple.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_tuple_default } from "./as-tuple-
|
|
1
|
+
import { t as as_tuple_default } from "./as-tuple-45EjcoJB.mjs";
|
|
2
2
|
export { as_tuple_default as default };
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_use_form_context = require("./use-form-context-B6ZnzfxG.cjs");
|
|
3
|
-
const require_as_form = require("./as-form-
|
|
3
|
+
const require_as_form = require("./as-form-Dw0Xo5zF.cjs");
|
|
4
4
|
const require_use_as_nested_sections_store = require("./use-as-nested-sections-store-u1VgBJAP.cjs");
|
|
5
5
|
const require_use_as_value_help = require("./use-as-value-help-BsAriqCI.cjs");
|
|
6
|
-
const require_as_field = require("./as-field-
|
|
6
|
+
const require_as_field = require("./as-field-C502boQy.cjs");
|
|
7
7
|
const require_use_as_locale = require("./use-as-locale-C4z5stwD.cjs");
|
|
8
|
-
const require_as_iterator = require("./as-iterator-
|
|
8
|
+
const require_as_iterator = require("./as-iterator-QM6LyYvA.cjs");
|
|
9
9
|
const require_focus_after_toggle = require("./focus-after-toggle-CWxiPZWi.cjs");
|
|
10
10
|
const require_as_collapsible = require("./as-collapsible-CQyuXwj9.cjs");
|
|
11
11
|
const require_as_field_shell = require("./as-field-shell-BrJpCzIA.cjs");
|
|
@@ -18,10 +18,10 @@ const require_as_checkbox = require("./as-checkbox-QO5Oh13K.cjs");
|
|
|
18
18
|
const require_as_paragraph = require("./as-paragraph-kKM4T1Dq.cjs");
|
|
19
19
|
const require_as_action = require("./as-action-DNRackS9.cjs");
|
|
20
20
|
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-CD8seN3C.cjs");
|
|
21
|
-
const require_as_object = require("./as-object-
|
|
22
|
-
const require_as_array = require("./as-array-
|
|
21
|
+
const require_as_object = require("./as-object-CIqxuJxh.cjs");
|
|
22
|
+
const require_as_array = require("./as-array-DlHekRMZ.cjs");
|
|
23
23
|
const require_as_union = require("./as-union-DT8XDZSt.cjs");
|
|
24
|
-
const require_as_tuple = require("./as-tuple-
|
|
24
|
+
const require_as_tuple = require("./as-tuple-BB8zVKTY.cjs");
|
|
25
25
|
const require_as_ref = require("./as-ref-BEcSuAfh.cjs");
|
|
26
26
|
const require_as_decimal = require("./as-decimal-BcvgGV03.cjs");
|
|
27
27
|
const require_as_number = require("./as-number-DZyfbo_R.cjs");
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h as PATH_PREFIX_KEY, n as useAsUnionVariant, s as DISMISS_EXTERNAL_AT_KEY, t as formatIndexedLabelParts } from "./use-form-context-cDW2GW4-.mjs";
|
|
2
|
-
import { a as useAsFormPatch, i as useAsExternalErrors, n as useAsForm, r as useAsState, t as as_form_default } from "./as-form-
|
|
2
|
+
import { a as useAsFormPatch, i as useAsExternalErrors, n as useAsForm, r as useAsState, t as as_form_default } from "./as-form-B4nL-BjV.mjs";
|
|
3
3
|
import { i as useAsNestedSectionsStore, n as provideAsNestedSectionsStore, r as useAsDescendantErrorCounts } from "./use-as-nested-sections-store-Dfo971PK.mjs";
|
|
4
4
|
import { n as useAsValueHelp } from "./use-as-value-help-DrISSxCz.mjs";
|
|
5
|
-
import { a as useAsField, i as useAsFieldScope, n as useAsData, r as useAsOptionalField, t as as_field_default } from "./as-field-
|
|
5
|
+
import { a as useAsField, i as useAsFieldScope, n as useAsData, r as useAsOptionalField, t as as_field_default } from "./as-field-BJ1WciIp.mjs";
|
|
6
6
|
import { n as useAsLocale, t as provideAsLocale } from "./use-as-locale-BrFdAgnU.mjs";
|
|
7
|
-
import { n as provideAsNestedLevel, r as useAsLevel, t as as_iterator_default } from "./as-iterator-
|
|
7
|
+
import { n as provideAsNestedLevel, r as useAsLevel, t as as_iterator_default } from "./as-iterator-BU5Hj5K6.mjs";
|
|
8
8
|
import { n as focusNewFocusableAfter, r as useAsFocusFirstAfter, t as focusFirstAfter } from "./focus-after-toggle-Dtl3P6CS.mjs";
|
|
9
9
|
import { t as as_collapsible_default } from "./as-collapsible-DHSlSMfY.mjs";
|
|
10
10
|
import { t as as_field_shell_default } from "./as-field-shell-Bxqa_ZsU.mjs";
|
|
@@ -17,10 +17,10 @@ import { n as useAsTriStateCheckbox, t as as_checkbox_default } from "./as-check
|
|
|
17
17
|
import { t as as_paragraph_default } from "./as-paragraph-ov2mvW2V.mjs";
|
|
18
18
|
import { t as as_action_default } from "./as-action-DqR9HlEa.mjs";
|
|
19
19
|
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-BdjKNx9P.mjs";
|
|
20
|
-
import { t as as_object_default } from "./as-object-
|
|
21
|
-
import { n as useAsArray, t as as_array_default } from "./as-array-
|
|
20
|
+
import { t as as_object_default } from "./as-object-yZj_RlnR.mjs";
|
|
21
|
+
import { n as useAsArray, t as as_array_default } from "./as-array-BS_1QWvc.mjs";
|
|
22
22
|
import { n as useAsTypeMap, r as useAsUnion, t as as_union_default } from "./as-union-Gz8gEjmn.mjs";
|
|
23
|
-
import { n as useAsTuple, t as as_tuple_default } from "./as-tuple-
|
|
23
|
+
import { n as useAsTuple, t as as_tuple_default } from "./as-tuple-45EjcoJB.mjs";
|
|
24
24
|
import { t as as_ref_default } from "./as-ref-BodUflj-.mjs";
|
|
25
25
|
import { n as useAsDualInput, r as useAsDecimal, t as as_decimal_default } from "./as-decimal-Ck4oZ3uK.mjs";
|
|
26
26
|
import { n as useAsNumber, t as as_number_default } from "./as-number-B7zYsrwk.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/vue-form",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.134",
|
|
4
4
|
"description": "Type-driven form rendering for Atscript with Vue 3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"access": "public"
|
|
161
161
|
},
|
|
162
162
|
"dependencies": {
|
|
163
|
-
"@atscript/ui": "^0.1.
|
|
163
|
+
"@atscript/ui": "^0.1.134"
|
|
164
164
|
},
|
|
165
165
|
"devDependencies": {
|
|
166
166
|
"@atscript/core": "^0.1.93",
|
|
@@ -176,13 +176,13 @@
|
|
|
176
176
|
"vue": "^3",
|
|
177
177
|
"vue-tsc": "~3.2.9",
|
|
178
178
|
"vunor": "^0.3.0",
|
|
179
|
-
"@atscript/ui-fns": "^0.1.
|
|
179
|
+
"@atscript/ui-fns": "^0.1.134"
|
|
180
180
|
},
|
|
181
181
|
"peerDependencies": {
|
|
182
182
|
"@atscript/db-client": "^0.1.129",
|
|
183
183
|
"reka-ui": "^2.9.8",
|
|
184
184
|
"vue": "^3",
|
|
185
|
-
"@atscript/ui-fns": "^0.1.
|
|
185
|
+
"@atscript/ui-fns": "^0.1.134"
|
|
186
186
|
},
|
|
187
187
|
"scripts": {
|
|
188
188
|
"build": "node ../../scripts/gen-exports.mjs && vp pack",
|