@atscript/vue-form 0.1.194 → 0.1.196
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.d.cts +1 -1
- package/dist/as-action.d.mts +1 -1
- package/dist/{as-action.vue-DW10afXf.d.cts → as-action.vue-Cz7I0w6k.d.mts} +1 -1
- package/dist/{as-action.vue-FAmO9MMw.d.mts → as-action.vue-CzG-4mHk.d.cts} +1 -1
- package/dist/{as-array-B0wekrwk.mjs → as-array-DU84P1VU.mjs} +2 -2
- package/dist/{as-array-BJYlPXad.cjs → as-array-X_bXvloD.cjs} +2 -2
- 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-DetU1gZz.d.cts → as-array.vue-BspRfMHl.d.cts} +1 -1
- package/dist/{as-array.vue-Q8eE5Ut1.d.mts → as-array.vue-DTrR21eK.d.mts} +1 -1
- package/dist/{as-checkbox-Dg4CqOYy.cjs → as-checkbox-DHe7ow33.cjs} +1 -1
- package/dist/{as-checkbox-BKQPJbiW.mjs → as-checkbox-Dcl1hwmW.mjs} +1 -1
- package/dist/as-checkbox.cjs +1 -1
- package/dist/as-checkbox.d.cts +1 -1
- package/dist/as-checkbox.d.mts +1 -1
- package/dist/as-checkbox.mjs +1 -1
- package/dist/{as-checkbox.vue-BCZqbPZs.d.cts → as-checkbox.vue-CcifJWeG.d.mts} +1 -1
- package/dist/{as-checkbox.vue-D3PPVWiS.d.mts → as-checkbox.vue-CliEtXzy.d.cts} +1 -1
- package/dist/{as-collapsible-DJqAZXR7.mjs → as-collapsible-Cq4JQZo8.mjs} +2 -2
- package/dist/{as-collapsible-Dtt4QN7s.cjs → as-collapsible-DBVrSPb1.cjs} +2 -2
- package/dist/as-collapsible.cjs +1 -1
- package/dist/as-collapsible.d.cts +1 -1
- package/dist/as-collapsible.d.mts +1 -1
- package/dist/as-collapsible.mjs +1 -1
- package/dist/{as-collapsible.vue-Bxenwlh8.d.cts → as-collapsible.vue-DmfY2xZi.d.mts} +1 -1
- package/dist/{as-collapsible.vue-lYcXVC_E.d.mts → as-collapsible.vue-c4kJaqr8.d.cts} +1 -1
- package/dist/{as-date-BKR1O5BR.cjs → as-date-CzpK7FFU.cjs} +1 -1
- package/dist/{as-date-BoBkff96.mjs → as-date-DJC3ll7B.mjs} +1 -1
- 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-ByntHQIq.d.mts → as-date.vue-DlZIPl1M.d.cts} +1 -1
- package/dist/{as-date.vue-CS14s3fE.d.cts → as-date.vue-HBqgKpbV.d.mts} +1 -1
- package/dist/{as-datetime-Ci3H4Fjy.mjs → as-datetime-Bk__Ct69.mjs} +1 -1
- package/dist/{as-datetime-DH5tE6dB.cjs → as-datetime-CU2pYPsb.cjs} +1 -1
- 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-B-O9jSjL.d.mts → as-datetime.vue-BOewNSCq.d.mts} +1 -1
- package/dist/{as-datetime.vue-BJAZj8Pi.d.cts → as-datetime.vue-CTkKY2Cc.d.cts} +1 -1
- package/dist/{as-decimal-BuvchyCs.cjs → as-decimal-B6MeEFmb.cjs} +1 -1
- package/dist/{as-decimal-CseZXB7F.mjs → as-decimal-BAiy9Cjz.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-CQXnsDs9.d.mts → as-decimal.vue-C6SpdtjD.d.cts} +1 -1
- package/dist/{as-decimal.vue-F9YMotuz.d.cts → as-decimal.vue-DmjoBpWm.d.mts} +1 -1
- package/dist/{as-field-shell-CSxqm12l.mjs → as-field-shell-DfPH23qM.mjs} +1 -1
- package/dist/{as-field-shell-P7p47Pbr.cjs → as-field-shell-DoVSv3X2.cjs} +1 -1
- 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-CQSSK4hh.d.mts → as-field-shell.vue-Cypm-sNO.d.mts} +1 -1
- package/dist/{as-field-shell.vue-DsYdUv7b.d.cts → as-field-shell.vue-DHIauZOI.d.cts} +1 -1
- package/dist/{as-form-BYi1rubO.mjs → as-form-CzMK2vTB.mjs} +52 -22
- package/dist/{as-form-rI4daFP2.cjs → as-form-plSsUeFk.cjs} +51 -21
- 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-BeVnITyi.d.cts → as-form.vue-BkfghUp3.d.cts} +9 -2
- package/dist/{as-form.vue-CYmX6AXY.d.mts → as-form.vue-Bu3zHKf_.d.mts} +9 -2
- package/dist/{as-input-DVeDzKkd.mjs → as-input-Dl7R32s4.mjs} +1 -1
- package/dist/{as-input-DNIY5kGw.cjs → as-input-Wf71dw3g.cjs} +1 -1
- 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-BE5H25Xa.d.mts → as-input.vue-CTeXkWxQ.d.mts} +1 -1
- package/dist/{as-input.vue-DsSCA6KN.d.cts → as-input.vue-D-cM4wBe.d.cts} +1 -1
- package/dist/{as-multi-select-CXFofdQ1.cjs → as-multi-select-BoWBD88H.cjs} +1 -1
- package/dist/{as-multi-select-CkMSlX1e.mjs → as-multi-select-CaBpEOU2.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-BDt4AtNm.d.mts → as-multi-select.vue-CvZHtvck.d.cts} +1 -1
- package/dist/{as-multi-select.vue-CpuSkukC.d.cts → as-multi-select.vue-DVSSEboS.d.mts} +1 -1
- package/dist/{as-number-BwzyMxl4.cjs → as-number-BxcjlrtO.cjs} +1 -1
- package/dist/{as-number-mQHbJDoh.mjs → as-number-CQ6W7cEP.mjs} +1 -1
- 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-89e-jfVe.d.cts → as-number.vue-7XSQA1oV.d.cts} +1 -1
- package/dist/{as-number.vue-CCTMDQYH.d.mts → as-number.vue-CEcDCyhs.d.mts} +1 -1
- package/dist/{as-object-JuruOEiL.mjs → as-object-C8ddVjjZ.mjs} +2 -2
- package/dist/{as-object-DIj1yGSZ.cjs → as-object-CRZ8MzXq.cjs} +2 -2
- 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-CVpEmBqS.d.mts → as-object.vue-eoznJfgx.d.mts} +1 -1
- package/dist/{as-object.vue-tIaVshqY.d.cts → as-object.vue-l5nTngPG.d.cts} +1 -1
- package/dist/as-paragraph.d.cts +1 -1
- package/dist/as-paragraph.d.mts +1 -1
- package/dist/{as-paragraph.vue-BUdQBjDf.d.cts → as-paragraph.vue-BRByQ1K4.d.cts} +1 -1
- package/dist/{as-paragraph.vue-CS_GUIlF.d.mts → as-paragraph.vue-CwNr9kox.d.mts} +1 -1
- package/dist/{as-radio-DQO5uQL3.cjs → as-radio-CjZST1ug.cjs} +1 -1
- package/dist/{as-radio-C5mVvsVH.mjs → as-radio-gmYSDmA0.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-BcTgNQsc.d.mts → as-radio.vue-CmOKjYGn.d.cts} +1 -1
- package/dist/{as-radio.vue-BmmP8H-m.d.cts → as-radio.vue-rTZDD-Um.d.mts} +1 -1
- package/dist/{as-ref-BWcpK0lg.mjs → as-ref-BBfZbvOd.mjs} +1 -1
- package/dist/{as-ref-DctAXQ2K.cjs → as-ref-DemuzDv8.cjs} +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-DZeTp8EO.d.cts → as-ref.vue-C1Qg56oh.d.cts} +1 -1
- package/dist/{as-ref.vue-Gwv8EEKY.d.mts → as-ref.vue-CRUzXTRQ.d.mts} +1 -1
- package/dist/{as-select-B_ZB1_a5.cjs → as-select-BhJDP5e1.cjs} +1 -1
- package/dist/{as-select-C1lqeKqt.mjs → as-select-Dvhdd605.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-BMNGb5eH.d.mts → as-select.vue-DlQ93_AO.d.cts} +1 -1
- package/dist/{as-select.vue-C3NvSQ2N.d.cts → as-select.vue-DnfV-12W.d.mts} +1 -1
- package/dist/{as-time-D9VTZzsD.mjs → as-time-CNJj5Jja.mjs} +1 -1
- package/dist/{as-time-D7oluFpZ.cjs → as-time-DLWM1tBe.cjs} +1 -1
- 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-CcEfdWI8.d.cts → as-time.vue-DAuXlrGs.d.cts} +1 -1
- package/dist/{as-time.vue-Dc5ruv4m.d.mts → as-time.vue-PRLKRy84.d.mts} +1 -1
- package/dist/{as-tuple-DwP6bvW7.mjs → as-tuple-C5bsIyck.mjs} +2 -2
- package/dist/{as-tuple--4iQOc9p.cjs → as-tuple-DkbGVtTZ.cjs} +2 -2
- 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-Cyzfh6Z0.d.mts → as-tuple.vue-Chqi1IO6.d.mts} +1 -1
- package/dist/{as-tuple.vue-DzC4tINc.d.cts → as-tuple.vue-DEL4sOwq.d.cts} +1 -1
- package/dist/{as-union-Cy7zefJl.mjs → as-union-5oOye2iv.mjs} +1 -1
- package/dist/{as-union-CvSnU1YB.cjs → as-union-Br5-t5Co.cjs} +1 -1
- 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-CvN-SR9q.d.cts → as-union.vue-BCdmqdYk.d.mts} +1 -1
- package/dist/{as-union.vue-CwNJYhKj.d.mts → as-union.vue-CKGLn4ni.d.cts} +1 -1
- package/dist/{focus-after-toggle-B8DDrJ7d.cjs → focus-after-toggle-BhZGqrUK.cjs} +1 -1
- package/dist/{focus-after-toggle-CWw0i0B6.mjs → focus-after-toggle-DAwak7c1.mjs} +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.d.cts +21 -21
- package/dist/index.d.mts +21 -21
- package/dist/index.mjs +20 -20
- package/dist/{types-COv2t_de.d.cts → types-BmF8iDTN.d.cts} +23 -2
- package/dist/{types-DSXbJndw.d.mts → types-ChQuWLmd.d.mts} +23 -2
- package/dist/{use-as-optional-add-flow-CdnxNOUT.mjs → use-as-optional-add-flow-C1Ol6KO2.mjs} +1 -1
- package/dist/{use-as-optional-add-flow-B7Pp6r-k.cjs → use-as-optional-add-flow-DMDd4Ms0.cjs} +1 -1
- package/package.json +9 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_focus_after_toggle = require("./focus-after-toggle-
|
|
1
|
+
const require_focus_after_toggle = require("./focus-after-toggle-BhZGqrUK.cjs");
|
|
2
2
|
const require_use_form_context = require("./use-form-context-7CK50mTi.cjs");
|
|
3
3
|
const require_use_as_nested_sections_store = require("./use-as-nested-sections-store-ApstV9NL.cjs");
|
|
4
4
|
const require_use_as_value_help = require("./use-as-value-help-XPeNhfJY.cjs");
|
|
@@ -19,7 +19,9 @@ let _atscript_ui = require("@atscript/ui");
|
|
|
19
19
|
* `formData.value = row` on a form seeded with `createAsFormDef` defaults; a
|
|
20
20
|
* DIRTY swap keeps the old baseline and still needs an explicit rebase,
|
|
21
21
|
* - re-baselines on `reset()` (the form's own reset path calls `rebase()`),
|
|
22
|
-
* - exposes `rebase()` so a consumer can re-baseline after a successful save
|
|
22
|
+
* - exposes `rebase()` so a consumer can re-baseline after a successful save,
|
|
23
|
+
* - hands `useAsForm` a clone of the baseline for `revert()` (`cloneBaseline`,
|
|
24
|
+
* `undefined` before real data has arrived) next to the public `handle`.
|
|
23
25
|
*
|
|
24
26
|
* The clone is mandatory: `buildFormDiff` keeps LIVE references into the
|
|
25
27
|
* supplied baseline, so a shared reference would be mutated by subsequent
|
|
@@ -164,13 +166,16 @@ function createAsFormPatch(def, getData, onRebased) {
|
|
|
164
166
|
};
|
|
165
167
|
}
|
|
166
168
|
return {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
handle: {
|
|
170
|
+
isDirty,
|
|
171
|
+
changes,
|
|
172
|
+
getPatch,
|
|
173
|
+
getChanges,
|
|
174
|
+
isDirtyPath,
|
|
175
|
+
rebase,
|
|
176
|
+
rebaseOnto
|
|
177
|
+
},
|
|
178
|
+
cloneBaseline: () => baseline === void 0 ? void 0 : (0, _atscript_ui.deepClone)(baseline)
|
|
174
179
|
};
|
|
175
180
|
}
|
|
176
181
|
/**
|
|
@@ -435,9 +440,10 @@ function useAsForm(options) {
|
|
|
435
440
|
})
|
|
436
441
|
});
|
|
437
442
|
const remountKey = (0, vue.ref)(0);
|
|
438
|
-
const
|
|
443
|
+
const tracker = options.trackChanges?.() ? createAsFormPatch(() => options.def(), () => data.value, () => {
|
|
439
444
|
remountKey.value++;
|
|
440
445
|
}) : void 0;
|
|
446
|
+
const patch = tracker?.handle;
|
|
441
447
|
if (patch) (0, vue.provide)(require_use_form_context.FORM_PATCH_KEY, patch);
|
|
442
448
|
(0, vue.provide)(require_use_form_context.ROOT_DATA_KEY, data);
|
|
443
449
|
(0, vue.provide)(require_use_form_context.PATH_PREFIX_KEY, (0, vue.computed)(() => ""));
|
|
@@ -464,28 +470,43 @@ function useAsForm(options) {
|
|
|
464
470
|
rootErrorDismissed.value = true;
|
|
465
471
|
ext.dismissForm();
|
|
466
472
|
}
|
|
467
|
-
|
|
473
|
+
async function writeFields(source) {
|
|
468
474
|
internalErrors.value = {};
|
|
469
475
|
rootErrorDismissed.value = false;
|
|
470
|
-
const def = options.def();
|
|
471
476
|
const container = data.value;
|
|
472
|
-
const empty = (0, _atscript_ui.createFormData)(def.type, (0, _atscript_ui.createFormValueResolver)({}, formContext.value ?? {}));
|
|
473
477
|
const errorPaths = Object.keys(ext.effective.value ?? {});
|
|
474
478
|
const before = errorPaths.map((path) => (0, _atscript_ui.getByPath)(container, path));
|
|
475
|
-
if (typeof container.value === "object" && container.value !== null)
|
|
476
|
-
const
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
479
|
+
if (typeof container.value === "object" && container.value !== null) {
|
|
480
|
+
const { fields } = options.def();
|
|
481
|
+
for (const { path } of fields) {
|
|
482
|
+
const value = (0, _atscript_ui.getByPath)(source, path);
|
|
483
|
+
if (value === void 0) (0, _atscript_ui.deleteByPath)(container, path);
|
|
484
|
+
else (0, _atscript_ui.setByPath)(container, path, value);
|
|
485
|
+
}
|
|
486
|
+
for (const { path } of fields) for (let dot = path.lastIndexOf("."); dot > 0; dot = path.lastIndexOf(".", dot - 1)) {
|
|
487
|
+
const parent = path.slice(0, dot);
|
|
488
|
+
const held = (0, _atscript_ui.getByPath)(container, parent);
|
|
489
|
+
if ((0, _atscript_ui.getByPath)(source, parent) !== void 0 || !isEmptyObject(held)) break;
|
|
490
|
+
(0, _atscript_ui.deleteByPath)(container, parent);
|
|
491
|
+
}
|
|
492
|
+
} else container.value = source.value;
|
|
481
493
|
errorPaths.forEach((path, i) => {
|
|
482
|
-
if ((0, _atscript_ui.getByPath)(container, path)
|
|
494
|
+
if (!(0, _atscript_ui.deepEqual)((0, _atscript_ui.getByPath)(container, path), before[i])) ext.dismissAt(path);
|
|
483
495
|
});
|
|
484
496
|
remountKey.value++;
|
|
485
497
|
await (0, vue.nextTick)();
|
|
498
|
+
}
|
|
499
|
+
const reset = async () => {
|
|
500
|
+
await writeFields((0, _atscript_ui.createFormData)(options.def().type, (0, _atscript_ui.createFormValueResolver)({}, formContext.value ?? {})));
|
|
486
501
|
await resetState();
|
|
487
502
|
patch?.rebase();
|
|
488
503
|
};
|
|
504
|
+
const revert = async () => {
|
|
505
|
+
const baseline = tracker?.cloneBaseline();
|
|
506
|
+
if (!baseline) return;
|
|
507
|
+
await writeFields(baseline);
|
|
508
|
+
clearFieldErrors();
|
|
509
|
+
};
|
|
489
510
|
(0, vue.provide)(require_use_as_nested_sections_store.DESCENDANT_ERROR_COUNTS_KEY, (0, vue.computed)(() => (0, _atscript_ui.buildDescendantErrorCounts)(allErrors.value)));
|
|
490
511
|
(0, vue.watch)(allErrors, (errors) => {
|
|
491
512
|
for (const errPath of Object.keys(errors)) for (const ancestor of (0, _atscript_ui.iteratePathAncestors)(errPath)) sectionsStore.setOpen(ancestor, true);
|
|
@@ -516,6 +537,7 @@ function useAsForm(options) {
|
|
|
516
537
|
submitText: submitText.value,
|
|
517
538
|
submit: onSubmit,
|
|
518
539
|
reset,
|
|
540
|
+
revert,
|
|
519
541
|
clearErrors,
|
|
520
542
|
setErrors,
|
|
521
543
|
dismissError: ext.dismissAt,
|
|
@@ -577,6 +599,7 @@ function useAsForm(options) {
|
|
|
577
599
|
formError,
|
|
578
600
|
internalErrors,
|
|
579
601
|
reset,
|
|
602
|
+
revert,
|
|
580
603
|
clearErrors,
|
|
581
604
|
setErrors,
|
|
582
605
|
onSubmit,
|
|
@@ -594,6 +617,10 @@ function useAsForm(options) {
|
|
|
594
617
|
remountKey
|
|
595
618
|
};
|
|
596
619
|
}
|
|
620
|
+
/** A plain object without own keys — what deleting every leaf of an inline object leaves. */
|
|
621
|
+
function isEmptyObject(value) {
|
|
622
|
+
return typeof value === "object" && value !== null && !Array.isArray(value) && Object.keys(value).length === 0;
|
|
623
|
+
}
|
|
597
624
|
//#endregion
|
|
598
625
|
//#region src/components/as-form.vue?vue&type=script&setup=true&lang.ts
|
|
599
626
|
const _hoisted_1 = ["inert"];
|
|
@@ -693,14 +720,17 @@ var as_form_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
693
720
|
});
|
|
694
721
|
const formEl = (0, vue.ref)();
|
|
695
722
|
const reset = () => require_focus_after_toggle.resetKeepingFocus(form.reset, formEl.value);
|
|
723
|
+
const revert = () => require_focus_after_toggle.resetKeepingFocus(form.revert, formEl.value);
|
|
696
724
|
const slotProps = (0, vue.computed)(() => ({
|
|
697
725
|
...form.slotProps.value,
|
|
698
|
-
reset
|
|
726
|
+
reset,
|
|
727
|
+
revert
|
|
699
728
|
}));
|
|
700
729
|
__expose({
|
|
701
730
|
submit: form.onSubmit,
|
|
702
731
|
action: form.invokeAction,
|
|
703
732
|
reset,
|
|
733
|
+
revert,
|
|
704
734
|
clearErrors: form.clearErrors,
|
|
705
735
|
setErrors: form.setErrors,
|
|
706
736
|
get isDirty() {
|
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-plSsUeFk.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-BkfghUp3.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-Bu3zHKf_.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-CzMK2vTB.mjs";
|
|
2
2
|
export { as_form_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as TFormState, d as TAsFormSubmitResult, f as TAsFormValue, g as TAsFormError, l as TAsTypeComponents, r as TAsChangeType, s as TAsComponentProps, t as AsFormExposed, u as TAsUnionContext, y as TFormRule } from "./types-
|
|
1
|
+
import { b as TFormState, d as TAsFormSubmitResult, f as TAsFormValue, g as TAsFormError, l as TAsTypeComponents, r as TAsChangeType, s as TAsComponentProps, t as AsFormExposed, u as TAsUnionContext, y as TFormRule } from "./types-BmF8iDTN.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Component, ComputedRef, MaybeRef, MaybeRefOrGetter, Ref, ShallowRef, WritableComputedRef } from "vue";
|
|
4
4
|
import * as _atscript_ui0 from "@atscript/ui";
|
|
@@ -899,8 +899,8 @@ interface Props<TF, TC> {
|
|
|
899
899
|
}
|
|
900
900
|
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<{
|
|
901
901
|
props: vue.PublicProps & __VLS_PrettifyLocal<Props<TFormData, TFormContext> & {
|
|
902
|
-
onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
|
|
903
902
|
onError?: ((errors: TAsFormError[]) => any) | undefined;
|
|
903
|
+
onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
|
|
904
904
|
onSubmit?: ((data: TAsFormValue<TFormData>) => any) | undefined;
|
|
905
905
|
"onUnsupported-action"?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
|
|
906
906
|
onChange?: ((type: TAsChangeType, path: string, value: unknown, formData: TAsFormValue<TFormData>) => any) | undefined;
|
|
@@ -912,6 +912,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
912
912
|
slots: {
|
|
913
913
|
'form.header'?: (props: {
|
|
914
914
|
reset: () => Promise<void>;
|
|
915
|
+
revert: () => Promise<void>;
|
|
915
916
|
title: string | undefined;
|
|
916
917
|
description: string | undefined;
|
|
917
918
|
data: TFormData;
|
|
@@ -935,6 +936,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
935
936
|
} & {
|
|
936
937
|
'form.before'?: (props: {
|
|
937
938
|
reset: () => Promise<void>;
|
|
939
|
+
revert: () => Promise<void>;
|
|
938
940
|
title: string | undefined;
|
|
939
941
|
description: string | undefined;
|
|
940
942
|
data: TFormData;
|
|
@@ -958,6 +960,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
958
960
|
} & {
|
|
959
961
|
'form.after'?: (props: {
|
|
960
962
|
reset: () => Promise<void>;
|
|
963
|
+
revert: () => Promise<void>;
|
|
961
964
|
title: string | undefined;
|
|
962
965
|
description: string | undefined;
|
|
963
966
|
data: TFormData;
|
|
@@ -983,6 +986,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
983
986
|
message: string;
|
|
984
987
|
dismiss: () => void;
|
|
985
988
|
reset: () => Promise<void>;
|
|
989
|
+
revert: () => Promise<void>;
|
|
986
990
|
title: string | undefined;
|
|
987
991
|
description: string | undefined;
|
|
988
992
|
data: TFormData;
|
|
@@ -1007,6 +1011,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
1007
1011
|
'form.submit'?: (props: {
|
|
1008
1012
|
text: string;
|
|
1009
1013
|
reset: () => Promise<void>;
|
|
1014
|
+
revert: () => Promise<void>;
|
|
1010
1015
|
title: string | undefined;
|
|
1011
1016
|
description: string | undefined;
|
|
1012
1017
|
data: TFormData;
|
|
@@ -1030,6 +1035,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
1030
1035
|
} & {
|
|
1031
1036
|
'form.footer'?: (props: {
|
|
1032
1037
|
reset: () => Promise<void>;
|
|
1038
|
+
revert: () => Promise<void>;
|
|
1033
1039
|
title: string | undefined;
|
|
1034
1040
|
description: string | undefined;
|
|
1035
1041
|
data: TFormData;
|
|
@@ -1053,6 +1059,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
1053
1059
|
} & {
|
|
1054
1060
|
'form.loading'?: (props: {
|
|
1055
1061
|
reset: () => Promise<void>;
|
|
1062
|
+
revert: () => Promise<void>;
|
|
1056
1063
|
title: string | undefined;
|
|
1057
1064
|
description: string | undefined;
|
|
1058
1065
|
data: TFormData;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as TFormState, d as TAsFormSubmitResult, f as TAsFormValue, g as TAsFormError, l as TAsTypeComponents, r as TAsChangeType, s as TAsComponentProps, t as AsFormExposed, u as TAsUnionContext, y as TFormRule } from "./types-
|
|
1
|
+
import { b as TFormState, d as TAsFormSubmitResult, f as TAsFormValue, g as TAsFormError, l as TAsTypeComponents, r as TAsChangeType, s as TAsComponentProps, t as AsFormExposed, u as TAsUnionContext, y as TFormRule } from "./types-ChQuWLmd.mjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { Component, ComputedRef, MaybeRef, MaybeRefOrGetter, Ref, ShallowRef, WritableComputedRef } from "vue";
|
|
4
4
|
import * as _atscript_ui0 from "@atscript/ui";
|
|
@@ -899,8 +899,8 @@ interface Props<TF, TC> {
|
|
|
899
899
|
}
|
|
900
900
|
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<{
|
|
901
901
|
props: vue.PublicProps & __VLS_PrettifyLocal<Props<TFormData, TFormContext> & {
|
|
902
|
-
onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
|
|
903
902
|
onError?: ((errors: TAsFormError[]) => any) | undefined;
|
|
903
|
+
onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
|
|
904
904
|
onSubmit?: ((data: TAsFormValue<TFormData>) => any) | undefined;
|
|
905
905
|
"onUnsupported-action"?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
|
|
906
906
|
onChange?: ((type: TAsChangeType, path: string, value: unknown, formData: TAsFormValue<TFormData>) => any) | undefined;
|
|
@@ -912,6 +912,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
912
912
|
slots: {
|
|
913
913
|
'form.header'?: (props: {
|
|
914
914
|
reset: () => Promise<void>;
|
|
915
|
+
revert: () => Promise<void>;
|
|
915
916
|
title: string | undefined;
|
|
916
917
|
description: string | undefined;
|
|
917
918
|
data: TFormData;
|
|
@@ -935,6 +936,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
935
936
|
} & {
|
|
936
937
|
'form.before'?: (props: {
|
|
937
938
|
reset: () => Promise<void>;
|
|
939
|
+
revert: () => Promise<void>;
|
|
938
940
|
title: string | undefined;
|
|
939
941
|
description: string | undefined;
|
|
940
942
|
data: TFormData;
|
|
@@ -958,6 +960,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
958
960
|
} & {
|
|
959
961
|
'form.after'?: (props: {
|
|
960
962
|
reset: () => Promise<void>;
|
|
963
|
+
revert: () => Promise<void>;
|
|
961
964
|
title: string | undefined;
|
|
962
965
|
description: string | undefined;
|
|
963
966
|
data: TFormData;
|
|
@@ -983,6 +986,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
983
986
|
message: string;
|
|
984
987
|
dismiss: () => void;
|
|
985
988
|
reset: () => Promise<void>;
|
|
989
|
+
revert: () => Promise<void>;
|
|
986
990
|
title: string | undefined;
|
|
987
991
|
description: string | undefined;
|
|
988
992
|
data: TFormData;
|
|
@@ -1007,6 +1011,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
1007
1011
|
'form.submit'?: (props: {
|
|
1008
1012
|
text: string;
|
|
1009
1013
|
reset: () => Promise<void>;
|
|
1014
|
+
revert: () => Promise<void>;
|
|
1010
1015
|
title: string | undefined;
|
|
1011
1016
|
description: string | undefined;
|
|
1012
1017
|
data: TFormData;
|
|
@@ -1030,6 +1035,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
1030
1035
|
} & {
|
|
1031
1036
|
'form.footer'?: (props: {
|
|
1032
1037
|
reset: () => Promise<void>;
|
|
1038
|
+
revert: () => Promise<void>;
|
|
1033
1039
|
title: string | undefined;
|
|
1034
1040
|
description: string | undefined;
|
|
1035
1041
|
data: TFormData;
|
|
@@ -1053,6 +1059,7 @@ declare const __VLS_export: <TFormData = any, TFormContext = any>(__VLS_props: N
|
|
|
1053
1059
|
} & {
|
|
1054
1060
|
'form.loading'?: (props: {
|
|
1055
1061
|
reset: () => Promise<void>;
|
|
1062
|
+
revert: () => Promise<void>;
|
|
1056
1063
|
title: string | undefined;
|
|
1057
1064
|
description: string | undefined;
|
|
1058
1065
|
data: TFormData;
|
|
@@ -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-DfPH23qM.mjs";
|
|
2
2
|
import { t as as_input_control_default } from "./as-input-control-Wygcey6h.mjs";
|
|
3
3
|
import { t as as_adornment_shell_default } from "./as-adornment-shell-CBaksXGT.mjs";
|
|
4
4
|
import { computed, createBlock, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, withCtx } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-DoVSv3X2.cjs");
|
|
2
2
|
const require_as_input_control = require("./as-input-control-D8xoJfr7.cjs");
|
|
3
3
|
const require_as_adornment_shell = require("./as-adornment-shell-CmS9BOFm.cjs");
|
|
4
4
|
let vue = require("vue");
|
package/dist/as-input.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_input = require("./as-input-
|
|
1
|
+
const require_as_input = require("./as-input-Wf71dw3g.cjs");
|
|
2
2
|
module.exports = require_as_input.as_input_default;
|
package/dist/as-input.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-input.vue-
|
|
1
|
+
import { t as _default } from "./as-input.vue-D-cM4wBe.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-input.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-input.vue-
|
|
1
|
+
import { t as _default } from "./as-input.vue-CTeXkWxQ.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-input.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_input_default } from "./as-input-
|
|
1
|
+
import { t as as_input_default } from "./as-input-Dl7R32s4.mjs";
|
|
2
2
|
export { as_input_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
|
|
2
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
2
|
+
const require_as_field_shell = require("./as-field-shell-DoVSv3X2.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
let _atscript_ui = require("@atscript/ui");
|
|
5
5
|
let reka_ui = require("reka-ui");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as useAsTexts } from "./use-as-locale-CznDr-7i.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-DfPH23qM.mjs";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, ref, renderList, toDisplayString, unref, withCtx, withModifiers } from "vue";
|
|
4
4
|
import { hasFieldMeta, optKey, optLabel, optionValue } from "@atscript/ui";
|
|
5
5
|
import { ComboboxAnchor, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxPortal, ComboboxRoot, ComboboxViewport, TagsInputInput, TagsInputItem, TagsInputItemDelete, TagsInputItemText, TagsInputRoot } from "reka-ui";
|
package/dist/as-multi-select.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_multi_select = require("./as-multi-select-
|
|
1
|
+
const require_as_multi_select = require("./as-multi-select-BoWBD88H.cjs");
|
|
2
2
|
module.exports = require_as_multi_select.as_multi_select_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-multi-select.vue-
|
|
1
|
+
import { t as _default } from "./as-multi-select.vue-CvZHtvck.cjs";
|
|
2
2
|
export = _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-multi-select.vue-
|
|
1
|
+
import { t as _default } from "./as-multi-select.vue-DVSSEboS.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-multi-select.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_multi_select_default } from "./as-multi-select-
|
|
1
|
+
import { t as as_multi_select_default } from "./as-multi-select-CaBpEOU2.mjs";
|
|
2
2
|
export { as_multi_select_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
|
|
2
2
|
const require__shape = require("./_shape-BDO-1MzF.cjs");
|
|
3
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
3
|
+
const require_as_field_shell = require("./as-field-shell-DoVSv3X2.cjs");
|
|
4
4
|
const require_as_input_control = require("./as-input-control-D8xoJfr7.cjs");
|
|
5
5
|
let vue = require("vue");
|
|
6
6
|
let _atscript_ui = require("@atscript/ui");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as useAsLocale } from "./use-as-locale-CznDr-7i.mjs";
|
|
2
2
|
import { n as committedValue } from "./_shape-DhwW2SvD.mjs";
|
|
3
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
3
|
+
import { t as as_field_shell_default } from "./as-field-shell-DfPH23qM.mjs";
|
|
4
4
|
import { t as as_input_control_default } from "./as-input-control-Wygcey6h.mjs";
|
|
5
5
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, ref, toDisplayString, withCtx } from "vue";
|
|
6
6
|
import { getDecimalSeparator, parseDecimalInput } from "@atscript/ui";
|
package/dist/as-number.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_number = require("./as-number-
|
|
1
|
+
const require_as_number = require("./as-number-BxcjlrtO.cjs");
|
|
2
2
|
module.exports = require_as_number.as_number_default;
|
package/dist/as-number.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-number.vue-
|
|
1
|
+
import { t as _default } from "./as-number.vue-7XSQA1oV.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-number.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-number.vue-
|
|
1
|
+
import { t as _default } from "./as-number.vue-CEcDCyhs.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-number.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_number_default } from "./as-number-
|
|
1
|
+
import { t as as_number_default } from "./as-number-CQ6W7cEP.mjs";
|
|
2
2
|
export { as_number_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as useAsUnionVariant } from "./use-form-context-ba0N--m6.mjs";
|
|
2
2
|
import { o as useAsTexts } from "./use-as-locale-CznDr-7i.mjs";
|
|
3
3
|
import { t as as_iterator_default } from "./as-iterator-BTJ37tre.mjs";
|
|
4
|
-
import { t as as_collapsible_default } from "./as-collapsible-
|
|
4
|
+
import { t as as_collapsible_default } from "./as-collapsible-Cq4JQZo8.mjs";
|
|
5
5
|
import { n as as_optional_clear_default, t as as_variant_picker_default } from "./as-variant-picker-3P9wXCUf.mjs";
|
|
6
|
-
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-
|
|
6
|
+
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-C1Ol6KO2.mjs";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, toDisplayString, unref, useTemplateRef, vShow, withCtx, withDirectives, withModifiers } from "vue";
|
|
8
8
|
import { isObjectField } from "@atscript/ui";
|
|
9
9
|
//#region src/components/defaults/as-object.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_use_form_context = require("./use-form-context-7CK50mTi.cjs");
|
|
2
2
|
const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
|
|
3
3
|
const require_as_iterator = require("./as-iterator-rF5FyWGS.cjs");
|
|
4
|
-
const require_as_collapsible = require("./as-collapsible-
|
|
4
|
+
const require_as_collapsible = require("./as-collapsible-DBVrSPb1.cjs");
|
|
5
5
|
const require_as_variant_picker = require("./as-variant-picker-BYrf1YUe.cjs");
|
|
6
|
-
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-
|
|
6
|
+
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-DMDd4Ms0.cjs");
|
|
7
7
|
let vue = require("vue");
|
|
8
8
|
let _atscript_ui = require("@atscript/ui");
|
|
9
9
|
//#region src/components/defaults/as-object.vue?vue&type=script&setup=true&lang.ts
|
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-CRZ8MzXq.cjs");
|
|
2
2
|
module.exports = require_as_object.as_object_default;
|
package/dist/as-object.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-object.vue-
|
|
1
|
+
import { t as _default } from "./as-object.vue-l5nTngPG.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-object.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-object.vue-
|
|
1
|
+
import { t as _default } from "./as-object.vue-eoznJfgx.mjs";
|
|
2
2
|
export { _default as 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-C8ddVjjZ.mjs";
|
|
2
2
|
export { as_object_default as default };
|
package/dist/as-paragraph.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-paragraph.vue-
|
|
1
|
+
import { t as _default } from "./as-paragraph.vue-BRByQ1K4.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-paragraph.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-paragraph.vue-
|
|
1
|
+
import { t as _default } from "./as-paragraph.vue-CwNr9kox.mjs";
|
|
2
2
|
export { _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-DoVSv3X2.cjs");
|
|
2
2
|
let vue = require("vue");
|
|
3
3
|
let _atscript_ui = require("@atscript/ui");
|
|
4
4
|
//#region src/components/defaults/as-radio.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -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-DfPH23qM.mjs";
|
|
2
2
|
import { Fragment, createBlock, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, openBlock, renderList, toDisplayString, unref, vModelRadio, withCtx, withDirectives } from "vue";
|
|
3
3
|
import { optKey, optLabel, optionValue } from "@atscript/ui";
|
|
4
4
|
//#region src/components/defaults/as-radio.vue?vue&type=script&setup=true&lang.ts
|
package/dist/as-radio.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_radio = require("./as-radio-
|
|
1
|
+
const require_as_radio = require("./as-radio-CjZST1ug.cjs");
|
|
2
2
|
module.exports = require_as_radio.as_radio_default;
|
package/dist/as-radio.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-radio.vue-
|
|
1
|
+
import { t as _default } from "./as-radio.vue-CmOKjYGn.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-radio.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-radio.vue-
|
|
1
|
+
import { t as _default } from "./as-radio.vue-rTZDD-Um.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-radio.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_radio_default } from "./as-radio-
|
|
1
|
+
import { t as as_radio_default } from "./as-radio-gmYSDmA0.mjs";
|
|
2
2
|
export { as_radio_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as useAsValueHelp, t as CLIENT_FACTORY_KEY } from "./use-as-value-help-D16evDGm.mjs";
|
|
2
2
|
import { o as useAsTexts } from "./use-as-locale-CznDr-7i.mjs";
|
|
3
3
|
import { a as soleRow, r as emptiedKey } from "./_shape-DhwW2SvD.mjs";
|
|
4
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
4
|
+
import { t as as_field_shell_default } from "./as-field-shell-DfPH23qM.mjs";
|
|
5
5
|
import { t as as_input_control_default } from "./as-input-control-Wygcey6h.mjs";
|
|
6
6
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, normalizeProps, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, watch, withCtx } from "vue";
|
|
7
7
|
import { ComboboxAnchor, ComboboxCancel, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxRoot, ComboboxViewport } from "reka-ui";
|