@atscript/vue-form 0.1.195 → 0.1.197

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.
Files changed (163) hide show
  1. package/dist/as-action.d.cts +1 -1
  2. package/dist/as-action.d.mts +1 -1
  3. package/dist/{as-action.vue-DW10afXf.d.cts → as-action.vue-Cz7I0w6k.d.mts} +1 -1
  4. package/dist/{as-action.vue-FAmO9MMw.d.mts → as-action.vue-CzG-4mHk.d.cts} +1 -1
  5. package/dist/{as-array-CRIAxARI.mjs → as-array-DU84P1VU.mjs} +2 -2
  6. package/dist/{as-array-CCMxWRC5.cjs → as-array-X_bXvloD.cjs} +2 -2
  7. package/dist/as-array.cjs +1 -1
  8. package/dist/as-array.d.cts +1 -1
  9. package/dist/as-array.d.mts +1 -1
  10. package/dist/as-array.mjs +1 -1
  11. package/dist/{as-array.vue-DetU1gZz.d.cts → as-array.vue-BspRfMHl.d.cts} +1 -1
  12. package/dist/{as-array.vue-Q8eE5Ut1.d.mts → as-array.vue-DTrR21eK.d.mts} +1 -1
  13. package/dist/{as-checkbox-Dg4CqOYy.cjs → as-checkbox-DHe7ow33.cjs} +1 -1
  14. package/dist/{as-checkbox-BKQPJbiW.mjs → as-checkbox-Dcl1hwmW.mjs} +1 -1
  15. package/dist/as-checkbox.cjs +1 -1
  16. package/dist/as-checkbox.d.cts +1 -1
  17. package/dist/as-checkbox.d.mts +1 -1
  18. package/dist/as-checkbox.mjs +1 -1
  19. package/dist/{as-checkbox.vue-BCZqbPZs.d.cts → as-checkbox.vue-CcifJWeG.d.mts} +1 -1
  20. package/dist/{as-checkbox.vue-D3PPVWiS.d.mts → as-checkbox.vue-CliEtXzy.d.cts} +1 -1
  21. package/dist/{as-collapsible-uMubiaTj.mjs → as-collapsible-Cq4JQZo8.mjs} +1 -1
  22. package/dist/{as-collapsible-BL8JzLzV.cjs → as-collapsible-DBVrSPb1.cjs} +1 -1
  23. package/dist/as-collapsible.cjs +1 -1
  24. package/dist/as-collapsible.d.cts +1 -1
  25. package/dist/as-collapsible.d.mts +1 -1
  26. package/dist/as-collapsible.mjs +1 -1
  27. package/dist/{as-collapsible.vue-Bxenwlh8.d.cts → as-collapsible.vue-DmfY2xZi.d.mts} +1 -1
  28. package/dist/{as-collapsible.vue-lYcXVC_E.d.mts → as-collapsible.vue-c4kJaqr8.d.cts} +1 -1
  29. package/dist/{as-date-BKR1O5BR.cjs → as-date-CzpK7FFU.cjs} +1 -1
  30. package/dist/{as-date-BoBkff96.mjs → as-date-DJC3ll7B.mjs} +1 -1
  31. package/dist/as-date.cjs +1 -1
  32. package/dist/as-date.d.cts +1 -1
  33. package/dist/as-date.d.mts +1 -1
  34. package/dist/as-date.mjs +1 -1
  35. package/dist/{as-date.vue-ByntHQIq.d.mts → as-date.vue-DlZIPl1M.d.cts} +1 -1
  36. package/dist/{as-date.vue-CS14s3fE.d.cts → as-date.vue-HBqgKpbV.d.mts} +1 -1
  37. package/dist/{as-datetime-Ci3H4Fjy.mjs → as-datetime-Bk__Ct69.mjs} +1 -1
  38. package/dist/{as-datetime-DH5tE6dB.cjs → as-datetime-CU2pYPsb.cjs} +1 -1
  39. package/dist/as-datetime.cjs +1 -1
  40. package/dist/as-datetime.d.cts +1 -1
  41. package/dist/as-datetime.d.mts +1 -1
  42. package/dist/as-datetime.mjs +1 -1
  43. package/dist/{as-datetime.vue-B-O9jSjL.d.mts → as-datetime.vue-BOewNSCq.d.mts} +1 -1
  44. package/dist/{as-datetime.vue-BJAZj8Pi.d.cts → as-datetime.vue-CTkKY2Cc.d.cts} +1 -1
  45. package/dist/{as-decimal-BuvchyCs.cjs → as-decimal-B6MeEFmb.cjs} +1 -1
  46. package/dist/{as-decimal-CseZXB7F.mjs → as-decimal-BAiy9Cjz.mjs} +1 -1
  47. package/dist/as-decimal.cjs +1 -1
  48. package/dist/as-decimal.d.cts +1 -1
  49. package/dist/as-decimal.d.mts +1 -1
  50. package/dist/as-decimal.mjs +1 -1
  51. package/dist/{as-decimal.vue-CQXnsDs9.d.mts → as-decimal.vue-C6SpdtjD.d.cts} +1 -1
  52. package/dist/{as-decimal.vue-F9YMotuz.d.cts → as-decimal.vue-DmjoBpWm.d.mts} +1 -1
  53. package/dist/{as-field-shell-CSxqm12l.mjs → as-field-shell-DfPH23qM.mjs} +1 -1
  54. package/dist/{as-field-shell-P7p47Pbr.cjs → as-field-shell-DoVSv3X2.cjs} +1 -1
  55. package/dist/as-field-shell.cjs +1 -1
  56. package/dist/as-field-shell.d.cts +1 -1
  57. package/dist/as-field-shell.d.mts +1 -1
  58. package/dist/as-field-shell.mjs +1 -1
  59. package/dist/{as-field-shell.vue-CQSSK4hh.d.mts → as-field-shell.vue-Cypm-sNO.d.mts} +1 -1
  60. package/dist/{as-field-shell.vue-DsYdUv7b.d.cts → as-field-shell.vue-DHIauZOI.d.cts} +1 -1
  61. package/dist/{as-form-BYi1rubO.mjs → as-form-CzMK2vTB.mjs} +52 -22
  62. package/dist/{as-form-rI4daFP2.cjs → as-form-plSsUeFk.cjs} +51 -21
  63. package/dist/as-form.cjs +1 -1
  64. package/dist/as-form.d.cts +1 -1
  65. package/dist/as-form.d.mts +1 -1
  66. package/dist/as-form.mjs +1 -1
  67. package/dist/{as-form.vue-C7yj7eRt.d.cts → as-form.vue-CHV8k7wP.d.cts} +9 -2
  68. package/dist/{as-form.vue-xvFFkRdo.d.mts → as-form.vue-sPeXmeeF.d.mts} +9 -2
  69. package/dist/{as-input-DVeDzKkd.mjs → as-input-Dl7R32s4.mjs} +1 -1
  70. package/dist/{as-input-DNIY5kGw.cjs → as-input-Wf71dw3g.cjs} +1 -1
  71. package/dist/as-input.cjs +1 -1
  72. package/dist/as-input.d.cts +1 -1
  73. package/dist/as-input.d.mts +1 -1
  74. package/dist/as-input.mjs +1 -1
  75. package/dist/{as-input.vue-BE5H25Xa.d.mts → as-input.vue-CTeXkWxQ.d.mts} +1 -1
  76. package/dist/{as-input.vue-DsSCA6KN.d.cts → as-input.vue-D-cM4wBe.d.cts} +1 -1
  77. package/dist/{as-multi-select-CXFofdQ1.cjs → as-multi-select-BoWBD88H.cjs} +1 -1
  78. package/dist/{as-multi-select-CkMSlX1e.mjs → as-multi-select-CaBpEOU2.mjs} +1 -1
  79. package/dist/as-multi-select.cjs +1 -1
  80. package/dist/as-multi-select.d.cts +1 -1
  81. package/dist/as-multi-select.d.mts +1 -1
  82. package/dist/as-multi-select.mjs +1 -1
  83. package/dist/{as-multi-select.vue-BDt4AtNm.d.mts → as-multi-select.vue-CvZHtvck.d.cts} +1 -1
  84. package/dist/{as-multi-select.vue-CpuSkukC.d.cts → as-multi-select.vue-DVSSEboS.d.mts} +1 -1
  85. package/dist/{as-number-BwzyMxl4.cjs → as-number-BxcjlrtO.cjs} +1 -1
  86. package/dist/{as-number-mQHbJDoh.mjs → as-number-CQ6W7cEP.mjs} +1 -1
  87. package/dist/as-number.cjs +1 -1
  88. package/dist/as-number.d.cts +1 -1
  89. package/dist/as-number.d.mts +1 -1
  90. package/dist/as-number.mjs +1 -1
  91. package/dist/{as-number.vue-89e-jfVe.d.cts → as-number.vue-7XSQA1oV.d.cts} +1 -1
  92. package/dist/{as-number.vue-CCTMDQYH.d.mts → as-number.vue-CEcDCyhs.d.mts} +1 -1
  93. package/dist/{as-object-DiMUc4A3.mjs → as-object-C8ddVjjZ.mjs} +2 -2
  94. package/dist/{as-object-CXzKbkhV.cjs → as-object-CRZ8MzXq.cjs} +2 -2
  95. package/dist/as-object.cjs +1 -1
  96. package/dist/as-object.d.cts +1 -1
  97. package/dist/as-object.d.mts +1 -1
  98. package/dist/as-object.mjs +1 -1
  99. package/dist/{as-object.vue-CVpEmBqS.d.mts → as-object.vue-eoznJfgx.d.mts} +1 -1
  100. package/dist/{as-object.vue-tIaVshqY.d.cts → as-object.vue-l5nTngPG.d.cts} +1 -1
  101. package/dist/as-paragraph.d.cts +1 -1
  102. package/dist/as-paragraph.d.mts +1 -1
  103. package/dist/{as-paragraph.vue-BUdQBjDf.d.cts → as-paragraph.vue-BRByQ1K4.d.cts} +1 -1
  104. package/dist/{as-paragraph.vue-CS_GUIlF.d.mts → as-paragraph.vue-CwNr9kox.d.mts} +1 -1
  105. package/dist/{as-radio-DQO5uQL3.cjs → as-radio-CjZST1ug.cjs} +1 -1
  106. package/dist/{as-radio-C5mVvsVH.mjs → as-radio-gmYSDmA0.mjs} +1 -1
  107. package/dist/as-radio.cjs +1 -1
  108. package/dist/as-radio.d.cts +1 -1
  109. package/dist/as-radio.d.mts +1 -1
  110. package/dist/as-radio.mjs +1 -1
  111. package/dist/{as-radio.vue-BcTgNQsc.d.mts → as-radio.vue-CmOKjYGn.d.cts} +1 -1
  112. package/dist/{as-radio.vue-BmmP8H-m.d.cts → as-radio.vue-rTZDD-Um.d.mts} +1 -1
  113. package/dist/{as-ref-BWcpK0lg.mjs → as-ref-BBfZbvOd.mjs} +1 -1
  114. package/dist/{as-ref-DctAXQ2K.cjs → as-ref-DemuzDv8.cjs} +1 -1
  115. package/dist/as-ref.cjs +1 -1
  116. package/dist/as-ref.d.cts +1 -1
  117. package/dist/as-ref.d.mts +1 -1
  118. package/dist/as-ref.mjs +1 -1
  119. package/dist/{as-ref.vue-DZeTp8EO.d.cts → as-ref.vue-C1Qg56oh.d.cts} +1 -1
  120. package/dist/{as-ref.vue-Gwv8EEKY.d.mts → as-ref.vue-CRUzXTRQ.d.mts} +1 -1
  121. package/dist/{as-select-B_ZB1_a5.cjs → as-select-BhJDP5e1.cjs} +1 -1
  122. package/dist/{as-select-C1lqeKqt.mjs → as-select-Dvhdd605.mjs} +1 -1
  123. package/dist/as-select.cjs +1 -1
  124. package/dist/as-select.d.cts +1 -1
  125. package/dist/as-select.d.mts +1 -1
  126. package/dist/as-select.mjs +1 -1
  127. package/dist/{as-select.vue-BMNGb5eH.d.mts → as-select.vue-DlQ93_AO.d.cts} +1 -1
  128. package/dist/{as-select.vue-C3NvSQ2N.d.cts → as-select.vue-DnfV-12W.d.mts} +1 -1
  129. package/dist/{as-time-D9VTZzsD.mjs → as-time-CNJj5Jja.mjs} +1 -1
  130. package/dist/{as-time-D7oluFpZ.cjs → as-time-DLWM1tBe.cjs} +1 -1
  131. package/dist/as-time.cjs +1 -1
  132. package/dist/as-time.d.cts +1 -1
  133. package/dist/as-time.d.mts +1 -1
  134. package/dist/as-time.mjs +1 -1
  135. package/dist/{as-time.vue-CcEfdWI8.d.cts → as-time.vue-DAuXlrGs.d.cts} +1 -1
  136. package/dist/{as-time.vue-Dc5ruv4m.d.mts → as-time.vue-PRLKRy84.d.mts} +1 -1
  137. package/dist/{as-tuple-CajPk-6G.mjs → as-tuple-C5bsIyck.mjs} +2 -2
  138. package/dist/{as-tuple-CGmi17XX.cjs → as-tuple-DkbGVtTZ.cjs} +2 -2
  139. package/dist/as-tuple.cjs +1 -1
  140. package/dist/as-tuple.d.cts +1 -1
  141. package/dist/as-tuple.d.mts +1 -1
  142. package/dist/as-tuple.mjs +1 -1
  143. package/dist/{as-tuple.vue-Cyzfh6Z0.d.mts → as-tuple.vue-Chqi1IO6.d.mts} +1 -1
  144. package/dist/{as-tuple.vue-DzC4tINc.d.cts → as-tuple.vue-DEL4sOwq.d.cts} +1 -1
  145. package/dist/{as-union-Cy7zefJl.mjs → as-union-5oOye2iv.mjs} +1 -1
  146. package/dist/{as-union-CvSnU1YB.cjs → as-union-Br5-t5Co.cjs} +1 -1
  147. package/dist/as-union.cjs +1 -1
  148. package/dist/as-union.d.cts +1 -1
  149. package/dist/as-union.d.mts +1 -1
  150. package/dist/as-union.mjs +1 -1
  151. package/dist/{as-union.vue-CvN-SR9q.d.cts → as-union.vue-BCdmqdYk.d.mts} +1 -1
  152. package/dist/{as-union.vue-CwNJYhKj.d.mts → as-union.vue-CKGLn4ni.d.cts} +1 -1
  153. package/dist/{focus-after-toggle-B8DDrJ7d.cjs → focus-after-toggle-BhZGqrUK.cjs} +1 -1
  154. package/dist/{focus-after-toggle-CWw0i0B6.mjs → focus-after-toggle-DAwak7c1.mjs} +1 -1
  155. package/dist/index.cjs +20 -20
  156. package/dist/index.d.cts +21 -21
  157. package/dist/index.d.mts +21 -21
  158. package/dist/index.mjs +20 -20
  159. package/dist/{types-COv2t_de.d.cts → types-BmF8iDTN.d.cts} +23 -2
  160. package/dist/{types-DSXbJndw.d.mts → types-ChQuWLmd.d.mts} +23 -2
  161. package/dist/{use-as-optional-add-flow-CdnxNOUT.mjs → use-as-optional-add-flow-C1Ol6KO2.mjs} +1 -1
  162. package/dist/{use-as-optional-add-flow-B7Pp6r-k.cjs → use-as-optional-add-flow-DMDd4Ms0.cjs} +1 -1
  163. package/package.json +10 -10
@@ -1,4 +1,4 @@
1
- const require_focus_after_toggle = require("./focus-after-toggle-B8DDrJ7d.cjs");
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
- isDirty,
168
- changes,
169
- getPatch,
170
- getChanges,
171
- isDirtyPath,
172
- rebase,
173
- rebaseOnto
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 patch = options.trackChanges?.() ? createAsFormPatch(() => options.def(), () => data.value, () => {
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
- const reset = async () => {
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) for (const { path } of def.fields) {
476
- const value = (0, _atscript_ui.getByPath)(empty, path);
477
- if (value === void 0) (0, _atscript_ui.deleteByPath)(container, path);
478
- else (0, _atscript_ui.setByPath)(container, path, value);
479
- }
480
- else container.value = empty.value;
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) !== before[i]) ext.dismissAt(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-rI4daFP2.cjs");
1
+ const require_as_form = require("./as-form-plSsUeFk.cjs");
2
2
  module.exports = require_as_form.as_form_default;
@@ -1,2 +1,2 @@
1
- import { n as _default, t as Props } from "./as-form.vue-C7yj7eRt.cjs";
1
+ import { n as _default, t as Props } from "./as-form.vue-CHV8k7wP.cjs";
2
2
  export { Props, _default as default };
@@ -1,2 +1,2 @@
1
- import { n as _default, t as Props } from "./as-form.vue-xvFFkRdo.mjs";
1
+ import { n as _default, t as Props } from "./as-form.vue-sPeXmeeF.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-BYi1rubO.mjs";
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-COv2t_de.cjs";
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";
@@ -900,8 +900,8 @@ interface Props<TF, TC> {
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
902
  onError?: ((errors: TAsFormError[]) => any) | undefined;
903
- onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
904
903
  onSubmit?: ((data: TAsFormValue<TFormData>) => any) | undefined;
904
+ onAction?: ((name: string, 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;
907
907
  }> & (typeof globalThis extends {
@@ -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-DSXbJndw.mjs";
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";
@@ -900,8 +900,8 @@ interface Props<TF, TC> {
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
902
  onError?: ((errors: TAsFormError[]) => any) | undefined;
903
- onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
904
903
  onSubmit?: ((data: TAsFormValue<TFormData>) => any) | undefined;
904
+ onAction?: ((name: string, 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;
907
907
  }> & (typeof globalThis extends {
@@ -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-CSxqm12l.mjs";
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-P7p47Pbr.cjs");
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-DNIY5kGw.cjs");
1
+ const require_as_input = require("./as-input-Wf71dw3g.cjs");
2
2
  module.exports = require_as_input.as_input_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-input.vue-DsSCA6KN.cjs";
1
+ import { t as _default } from "./as-input.vue-D-cM4wBe.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-input.vue-BE5H25Xa.mjs";
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-DVeDzKkd.mjs";
1
+ import { t as as_input_default } from "./as-input-Dl7R32s4.mjs";
2
2
  export { as_input_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DSXbJndw.mjs";
1
+ import { s as TAsComponentProps } from "./types-ChQuWLmd.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-input.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-COv2t_de.cjs";
1
+ import { s as TAsComponentProps } from "./types-BmF8iDTN.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-input.vue.d.ts
@@ -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-P7p47Pbr.cjs");
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-CSxqm12l.mjs";
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";
@@ -1,2 +1,2 @@
1
- const require_as_multi_select = require("./as-multi-select-CXFofdQ1.cjs");
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-CpuSkukC.cjs";
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-BDt4AtNm.mjs";
1
+ import { t as _default } from "./as-multi-select.vue-DVSSEboS.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_multi_select_default } from "./as-multi-select-CkMSlX1e.mjs";
1
+ import { t as as_multi_select_default } from "./as-multi-select-CaBpEOU2.mjs";
2
2
  export { as_multi_select_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DSXbJndw.mjs";
1
+ import { s as TAsComponentProps } from "./types-BmF8iDTN.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-multi-select.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-COv2t_de.cjs";
1
+ import { s as TAsComponentProps } from "./types-ChQuWLmd.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-multi-select.vue.d.ts
@@ -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-P7p47Pbr.cjs");
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-CSxqm12l.mjs";
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";
@@ -1,2 +1,2 @@
1
- const require_as_number = require("./as-number-BwzyMxl4.cjs");
1
+ const require_as_number = require("./as-number-BxcjlrtO.cjs");
2
2
  module.exports = require_as_number.as_number_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-number.vue-89e-jfVe.cjs";
1
+ import { t as _default } from "./as-number.vue-7XSQA1oV.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-number.vue-CCTMDQYH.mjs";
1
+ import { t as _default } from "./as-number.vue-CEcDCyhs.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_number_default } from "./as-number-mQHbJDoh.mjs";
1
+ import { t as as_number_default } from "./as-number-CQ6W7cEP.mjs";
2
2
  export { as_number_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-COv2t_de.cjs";
1
+ import { s as TAsComponentProps } from "./types-BmF8iDTN.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-number.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DSXbJndw.mjs";
1
+ import { s as TAsComponentProps } from "./types-ChQuWLmd.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-number.vue.d.ts
@@ -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-uMubiaTj.mjs";
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-CdnxNOUT.mjs";
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-BL8JzLzV.cjs");
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-B7Pp6r-k.cjs");
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
@@ -1,2 +1,2 @@
1
- const require_as_object = require("./as-object-CXzKbkhV.cjs");
1
+ const require_as_object = require("./as-object-CRZ8MzXq.cjs");
2
2
  module.exports = require_as_object.as_object_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-object.vue-tIaVshqY.cjs";
1
+ import { t as _default } from "./as-object.vue-l5nTngPG.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-object.vue-CVpEmBqS.mjs";
1
+ import { t as _default } from "./as-object.vue-eoznJfgx.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_object_default } from "./as-object-DiMUc4A3.mjs";
1
+ import { t as as_object_default } from "./as-object-C8ddVjjZ.mjs";
2
2
  export { as_object_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DSXbJndw.mjs";
1
+ import { s as TAsComponentProps } from "./types-ChQuWLmd.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-object.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-COv2t_de.cjs";
1
+ import { s as TAsComponentProps } from "./types-BmF8iDTN.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-object.vue.d.ts
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-paragraph.vue-BUdQBjDf.cjs";
1
+ import { t as _default } from "./as-paragraph.vue-BRByQ1K4.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-paragraph.vue-CS_GUIlF.mjs";
1
+ import { t as _default } from "./as-paragraph.vue-CwNr9kox.mjs";
2
2
  export { _default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-COv2t_de.cjs";
1
+ import { s as TAsComponentProps } from "./types-BmF8iDTN.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-paragraph.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DSXbJndw.mjs";
1
+ import { s as TAsComponentProps } from "./types-ChQuWLmd.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-paragraph.vue.d.ts
@@ -1,4 +1,4 @@
1
- const require_as_field_shell = require("./as-field-shell-P7p47Pbr.cjs");
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-CSxqm12l.mjs";
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-DQO5uQL3.cjs");
1
+ const require_as_radio = require("./as-radio-CjZST1ug.cjs");
2
2
  module.exports = require_as_radio.as_radio_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-radio.vue-BmmP8H-m.cjs";
1
+ import { t as _default } from "./as-radio.vue-CmOKjYGn.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-radio.vue-BcTgNQsc.mjs";
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-C5mVvsVH.mjs";
1
+ import { t as as_radio_default } from "./as-radio-gmYSDmA0.mjs";
2
2
  export { as_radio_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DSXbJndw.mjs";
1
+ import { s as TAsComponentProps } from "./types-BmF8iDTN.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-radio.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-COv2t_de.cjs";
1
+ import { s as TAsComponentProps } from "./types-ChQuWLmd.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-radio.vue.d.ts
@@ -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-CSxqm12l.mjs";
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";