@atscript/vue-form 0.1.174 → 0.1.176

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 (140) hide show
  1. package/dist/_editing-hold-ChPIf1ZC.cjs +65 -0
  2. package/dist/_editing-hold-DVfB2wc_.mjs +54 -0
  3. package/dist/{_shape-BAim7zm2.cjs → _shape-C-TxQCFa.cjs} +17 -1
  4. package/dist/{_shape-CLX3JSFZ.mjs → _shape-bdsPEB8P.mjs} +12 -2
  5. package/dist/as-action.cjs +1 -1
  6. package/dist/as-action.d.mts +1 -1
  7. package/dist/as-action.mjs +1 -1
  8. package/dist/{as-action.vue-CPFAPJbB.d.mts → as-action.vue-CQbDa3g4.d.mts} +1 -1
  9. package/dist/{as-array-B1s5sXYV.cjs → as-array-DjJ_GA65.cjs} +2 -2
  10. package/dist/{as-array-ha4DpqUM.mjs → as-array-DnxeuRPB.mjs} +2 -2
  11. package/dist/as-array.cjs +1 -1
  12. package/dist/as-array.d.mts +1 -1
  13. package/dist/as-array.mjs +1 -1
  14. package/dist/{as-array.vue-CPAuKOJp.d.mts → as-array.vue-DpKFsuRS.d.mts} +1 -1
  15. package/dist/{as-checkbox-OKhewGzL.cjs → as-checkbox-52v5CL8Z.cjs} +1 -1
  16. package/dist/{as-checkbox-Baz513zf.mjs → as-checkbox-BivClBCD.mjs} +1 -1
  17. package/dist/as-checkbox.cjs +1 -1
  18. package/dist/as-checkbox.d.mts +1 -1
  19. package/dist/as-checkbox.mjs +1 -1
  20. package/dist/{as-checkbox.vue-DTwhk8as.d.mts → as-checkbox.vue-Db6OT_lL.d.mts} +1 -1
  21. package/dist/as-collapsible.d.mts +1 -1
  22. package/dist/{as-collapsible.vue-D-C-9GqT.d.mts → as-collapsible.vue-By-ZBZt3.d.mts} +1 -1
  23. package/dist/{as-date-VN6VPCZ-.mjs → as-date-Dsv_nimP.mjs} +4 -4
  24. package/dist/{as-date-4GYZJ-NC.cjs → as-date-HUhD-kZ4.cjs} +4 -4
  25. package/dist/as-date.cjs +1 -1
  26. package/dist/as-date.d.mts +1 -1
  27. package/dist/as-date.mjs +1 -1
  28. package/dist/{as-date.vue-Orrtd1W8.d.mts → as-date.vue-BUaHHI42.d.mts} +1 -1
  29. package/dist/{as-datetime-CWzURHq_.mjs → as-datetime-BxMIrM_M.mjs} +4 -4
  30. package/dist/{as-datetime-CCN03o-l.cjs → as-datetime-CiL-vlD2.cjs} +4 -4
  31. package/dist/as-datetime.cjs +1 -1
  32. package/dist/as-datetime.d.mts +1 -1
  33. package/dist/as-datetime.mjs +1 -1
  34. package/dist/{as-datetime.vue-Cj3rQjQT.d.mts → as-datetime.vue-D3WJpAVe.d.mts} +1 -1
  35. package/dist/{as-decimal-BC09yeEc.cjs → as-decimal-DA24-Wtp.cjs} +2 -2
  36. package/dist/{as-decimal-C8ZbnZ-W.mjs → as-decimal-DegSeh2G.mjs} +2 -2
  37. package/dist/as-decimal.cjs +1 -1
  38. package/dist/as-decimal.d.mts +1 -1
  39. package/dist/as-decimal.mjs +1 -1
  40. package/dist/{as-decimal.vue-BUoGa9Ni.d.mts → as-decimal.vue-BVDyP4LN.d.mts} +1 -1
  41. package/dist/{as-field-shell-nSZx4aV0.mjs → as-field-shell-IaUBze1S.mjs} +34 -21
  42. package/dist/{as-field-shell-DviDLKgc.cjs → as-field-shell-rghztVd7.cjs} +34 -21
  43. package/dist/as-field-shell.cjs +1 -1
  44. package/dist/as-field-shell.d.mts +1 -1
  45. package/dist/as-field-shell.mjs +1 -1
  46. package/dist/{as-field-shell.vue-BLF9cYdM.d.mts → as-field-shell.vue-DBufTHVO.d.mts} +1 -1
  47. package/dist/as-field.d.mts +1 -1
  48. package/dist/as-form.d.cts +1 -1
  49. package/dist/as-form.d.mts +1 -1
  50. package/dist/{as-form.vue-Cl036Br1.d.cts → as-form.vue-Bx1yZIBk.d.cts} +1 -1
  51. package/dist/{as-form.vue-9rtEZqEU.d.mts → as-form.vue-Bxq1IR_f.d.mts} +2 -2
  52. package/dist/{as-input-B5eBOvaM.mjs → as-input-CijlzZ8Q.mjs} +3 -3
  53. package/dist/{as-input-GVFsgqbJ.cjs → as-input-DGvRZOy5.cjs} +3 -3
  54. package/dist/{as-input-control-Dc9TPspz.mjs → as-input-control-B3h--Qe0.mjs} +17 -5
  55. package/dist/{as-input-control-B04eAMwA.cjs → as-input-control-DAbaW7GG.cjs} +16 -4
  56. package/dist/as-input.cjs +1 -1
  57. package/dist/as-input.d.mts +1 -1
  58. package/dist/as-input.mjs +1 -1
  59. package/dist/{as-input.vue-C7EKOcQU.d.mts → as-input.vue-BiPsULeF.d.mts} +1 -1
  60. package/dist/as-iterator.d.mts +1 -1
  61. package/dist/{as-multi-select-BhPKb69b.mjs → as-multi-select-BXnZLgjt.mjs} +1 -1
  62. package/dist/{as-multi-select-BygHZ0wu.cjs → as-multi-select-JUB05J_p.cjs} +1 -1
  63. package/dist/as-multi-select.cjs +1 -1
  64. package/dist/as-multi-select.d.mts +1 -1
  65. package/dist/as-multi-select.mjs +1 -1
  66. package/dist/{as-multi-select.vue-BS9X_0fY.d.mts → as-multi-select.vue-Bmngkww7.d.mts} +1 -1
  67. package/dist/{as-number-BCZD5zX6.mjs → as-number-DkeEBWva.mjs} +3 -3
  68. package/dist/{as-number-bFJlxd6T.cjs → as-number-TfNY5CgX.cjs} +3 -3
  69. package/dist/as-number.cjs +1 -1
  70. package/dist/as-number.d.mts +1 -1
  71. package/dist/as-number.mjs +1 -1
  72. package/dist/{as-number.vue-CJSPy4zg.d.mts → as-number.vue-C2QSKpVL.d.mts} +1 -1
  73. package/dist/{as-object-sly2aTBc.mjs → as-object-BAsjdh_N.mjs} +1 -1
  74. package/dist/{as-object-aItYU-IN.cjs → as-object-lKSwKkt7.cjs} +1 -1
  75. package/dist/as-object.cjs +1 -1
  76. package/dist/as-object.d.mts +1 -1
  77. package/dist/as-object.mjs +1 -1
  78. package/dist/{as-object.vue-DKEhwHCH.d.mts → as-object.vue-DFo_5DXv.d.mts} +1 -1
  79. package/dist/as-paragraph.cjs +1 -1
  80. package/dist/as-paragraph.d.mts +1 -1
  81. package/dist/as-paragraph.mjs +1 -1
  82. package/dist/{as-paragraph.vue-Cu4woZ9u.d.mts → as-paragraph.vue-DiHaNFSX.d.mts} +1 -1
  83. package/dist/{as-radio-DszOJUnp.mjs → as-radio-CHwzhcQE.mjs} +1 -1
  84. package/dist/{as-radio-Bxw-nuBQ.cjs → as-radio-DEHsBgwQ.cjs} +1 -1
  85. package/dist/as-radio.cjs +1 -1
  86. package/dist/as-radio.d.mts +1 -1
  87. package/dist/as-radio.mjs +1 -1
  88. package/dist/{as-radio.vue-dro8-E3x.d.mts → as-radio.vue-C_ZjbI4s.d.mts} +1 -1
  89. package/dist/{as-ref-DCYYySDN.cjs → as-ref-DgdRW4ST.cjs} +16 -37
  90. package/dist/{as-ref-Dsd81GCS.mjs → as-ref-N0dohgyv.mjs} +17 -38
  91. package/dist/as-ref.cjs +1 -1
  92. package/dist/as-ref.d.mts +1 -1
  93. package/dist/as-ref.mjs +1 -1
  94. package/dist/{as-ref.vue-B7wixo40.d.mts → as-ref.vue-DaXQsjsX.d.mts} +1 -1
  95. package/dist/{as-select-ClWgJvtq.cjs → as-select-YPLFDuAQ.cjs} +1 -1
  96. package/dist/{as-select-CER1fT_R.mjs → as-select-bmYhMEV_.mjs} +1 -1
  97. package/dist/as-select.cjs +1 -1
  98. package/dist/as-select.d.mts +1 -1
  99. package/dist/as-select.mjs +1 -1
  100. package/dist/{as-select.vue-DKBV1tqr.d.mts → as-select.vue-IGtjEyQD.d.mts} +1 -1
  101. package/dist/{as-time-C91Kljns.cjs → as-time-21ZSGDiq.cjs} +4 -4
  102. package/dist/{as-time--hMNPNqj.mjs → as-time-D107-bEJ.mjs} +4 -4
  103. package/dist/as-time.cjs +1 -1
  104. package/dist/as-time.d.mts +1 -1
  105. package/dist/as-time.mjs +1 -1
  106. package/dist/{as-time.vue-DTUPfGLQ.d.mts → as-time.vue-CKVgGb-m.d.mts} +1 -1
  107. package/dist/{as-tuple-wuPJs4H-.cjs → as-tuple-5nsBvO-n.cjs} +2 -2
  108. package/dist/{as-tuple-57xADF_i.mjs → as-tuple-gNyJxwi4.mjs} +2 -2
  109. package/dist/as-tuple.cjs +1 -1
  110. package/dist/as-tuple.d.mts +1 -1
  111. package/dist/as-tuple.mjs +1 -1
  112. package/dist/{as-tuple.vue-CF5tHv89.d.mts → as-tuple.vue-CDOHXKBr.d.mts} +1 -1
  113. package/dist/{as-union-DXzqX-M1.mjs → as-union-BLTGJOyB.mjs} +4 -2
  114. package/dist/{as-union-BDC13rY3.cjs → as-union-BuCn5dN6.cjs} +4 -2
  115. package/dist/as-union.cjs +1 -1
  116. package/dist/as-union.d.mts +1 -1
  117. package/dist/as-union.mjs +1 -1
  118. package/dist/{as-union.vue-DJGnj0xV.d.mts → as-union.vue-BcaUH5bH.d.mts} +1 -1
  119. package/dist/index.cjs +20 -20
  120. package/dist/index.d.cts +1 -1
  121. package/dist/index.d.mts +24 -24
  122. package/dist/index.mjs +20 -20
  123. package/dist/locale.d.mts +1 -1
  124. package/package.json +9 -9
  125. /package/dist/{as-action-C0gSyG19.cjs → as-action-B_vPR2YE.cjs} +0 -0
  126. /package/dist/{as-action-BOalk1GL.mjs → as-action-BzdLJvyy.mjs} +0 -0
  127. /package/dist/{as-adornment-shell-grq1H0D-.mjs → as-adornment-shell-CBaksXGT.mjs} +0 -0
  128. /package/dist/{as-adornment-shell-COhqCppW.cjs → as-adornment-shell-CmS9BOFm.cjs} +0 -0
  129. /package/dist/{as-array-clear-btn-CNSn7HrC.cjs → as-array-clear-btn-DSuk9U43.cjs} +0 -0
  130. /package/dist/{as-array-clear-btn-bUM9vztK.mjs → as-array-clear-btn-DkmJoCjN.mjs} +0 -0
  131. /package/dist/{as-field.vue-jAOaV9zg.d.mts → as-field.vue-BWaTLJd6.d.mts} +0 -0
  132. /package/dist/{as-iterator.vue-DisW8puF.d.mts → as-iterator.vue-BUCohjxw.d.mts} +0 -0
  133. /package/dist/{as-paragraph-DfX1uEE_.cjs → as-paragraph-0opsr433.cjs} +0 -0
  134. /package/dist/{as-paragraph-BALTsswa.mjs → as-paragraph-CQCdz9FR.mjs} +0 -0
  135. /package/dist/{types-DitKqqD_.d.mts → types-B0Ey_eD-.d.mts} +0 -0
  136. /package/dist/{use-as-date-Dp3IDhLj.cjs → use-as-date-DFcdIfyr.cjs} +0 -0
  137. /package/dist/{use-as-date-B3sBae9e.mjs → use-as-date-DgPRL0O2.mjs} +0 -0
  138. /package/dist/{use-as-locale-TRSJHpw-.d.mts → use-as-locale-D4NDG8Vg.d.mts} +0 -0
  139. /package/dist/{use-as-optional-add-flow-nwBB3Mdk.cjs → use-as-optional-add-flow-C7f0blhC.cjs} +0 -0
  140. /package/dist/{use-as-optional-add-flow-DRZT-aIT.mjs → use-as-optional-add-flow-fOglspPV.mjs} +0 -0
@@ -2,6 +2,7 @@ const require_use_form_context = require("./use-form-context-ClLGWXWa.cjs");
2
2
  const require_use_as_locale = require("./use-as-locale-CnNyyqcF.cjs");
3
3
  const require_focus_after_toggle = require("./focus-after-toggle-DRXAm5Xh.cjs");
4
4
  const require_as_variant_picker = require("./as-variant-picker-BxOP4dkG.cjs");
5
+ const require__editing_hold = require("./_editing-hold-ChPIf1ZC.cjs");
5
6
  let vue = require("vue");
6
7
  //#region src/components/internal/as-no-data.vue?vue&type=script&setup=true&lang.ts
7
8
  const _hoisted_1$1 = {
@@ -65,19 +66,18 @@ const _hoisted_7 = [
65
66
  "title"
66
67
  ];
67
68
  const _hoisted_8 = ["id"];
68
- const _hoisted_9 = { class: "as-field-input-row" };
69
- const _hoisted_10 = {
69
+ const _hoisted_9 = {
70
70
  key: 0,
71
71
  class: "as-field-footer-row"
72
72
  };
73
- const _hoisted_11 = ["id", "role"];
74
- const _hoisted_12 = {
73
+ const _hoisted_10 = ["id", "role"];
74
+ const _hoisted_11 = {
75
75
  key: 1,
76
76
  class: "as-error-slot",
77
77
  "aria-hidden": "true"
78
78
  };
79
- const _hoisted_13 = ["id"];
80
- const _hoisted_14 = ["disabled"];
79
+ const _hoisted_12 = ["id"];
80
+ const _hoisted_13 = ["disabled"];
81
81
  //#endregion
82
82
  //#region src/components/defaults/as-field-shell.vue
83
83
  var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -296,9 +296,18 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
296
296
  const hasVariantPicker = unionCtx !== void 0 && unionCtx.variants.length > 1;
297
297
  const labelParts = (0, vue.computed)(() => require_use_form_context.formatIndexedLabelParts(props.label, props.arrayIndex));
298
298
  const { rootRef, enableOptional } = require_focus_after_toggle.useAsFocusFirstAfter(props.onToggleOptional);
299
- const showOptionalClear = (0, vue.computed)(() => !!props.optional && optionalEnabled.value && !props.chromeless);
299
+ const { editing, onFocusin, onFocusout } = require__editing_hold.useEditingHold();
300
+ const held = (0, vue.computed)(() => !!props.optional && editing.value && !optionalEnabled.value);
301
+ const chromeEnabled = (0, vue.computed)(() => optionalEnabled.value || held.value);
302
+ let dirtyWithValue = false;
303
+ const shownDirty = (0, vue.computed)(() => {
304
+ const dirty = !!props.isDirty;
305
+ if (!held.value) return dirtyWithValue = dirty;
306
+ return dirty || dirtyWithValue;
307
+ });
308
+ const showOptionalClear = (0, vue.computed)(() => !!props.optional && chromeEnabled.value && !props.chromeless);
300
309
  const statusId = (0, vue.computed)(() => props.statusId || `${props.inputId}-status`);
301
- const showEmptyPlaceholder = (0, vue.computed)(() => !!props.optional && !optionalEnabled.value && !props.chromeless && !props.hideEmptyPlaceholder);
310
+ const showEmptyPlaceholder = (0, vue.computed)(() => !!props.optional && !chromeEnabled.value && !props.chromeless && !props.hideEmptyPlaceholder);
302
311
  const { t } = require_use_as_locale.useAsTexts();
303
312
  return (_ctx, _cache) => {
304
313
  return (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
@@ -306,7 +315,7 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
306
315
  ref: rootRef,
307
316
  class: (0, vue.normalizeClass)(["as-default-field", [__props.fieldClass, _ctx.$props.class]]),
308
317
  style: (0, vue.normalizeStyle)(_ctx.$props.style),
309
- "data-dirty": __props.isDirty ? "" : void 0
318
+ "data-dirty": shownDirty.value ? "" : void 0
310
319
  }, [
311
320
  (0, vue.createCommentVNode)(" Header row: label/header on left, action buttons on right "),
312
321
  _ctx.$slots.header || labelParts.value && !__props.chromeless || __props.onRemove || showOptionalClear.value || (0, vue.unref)(hasVariantPicker) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2, [(0, vue.createElementVNode)("div", _hoisted_3, [
@@ -314,8 +323,8 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
314
323
  key: 0,
315
324
  inputId: __props.inputId,
316
325
  descId: __props.descId,
317
- optionalEnabled: optionalEnabled.value,
318
- isDirty: !!__props.isDirty,
326
+ optionalEnabled: chromeEnabled.value,
327
+ isDirty: shownDirty.value,
319
328
  statusId: statusId.value
320
329
  }) : !__props.chromeless ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [labelParts.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", {
321
330
  key: 0,
@@ -339,7 +348,7 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
339
348
  "aria-label": (0, vue.unref)(t)("UI_REMOVE"),
340
349
  title: (0, vue.unref)(t)("UI_REMOVE"),
341
350
  onClick: _cache[1] || (_cache[1] = (...args) => __props.onRemove && __props.onRemove(...args))
342
- }, [..._cache[3] || (_cache[3] = [(0, vue.createElementVNode)("span", {
351
+ }, [..._cache[5] || (_cache[5] = [(0, vue.createElementVNode)("span", {
343
352
  class: "as-field-remove-btn-icon",
344
353
  "aria-hidden": "true"
345
354
  }, null, -1)])], 8, _hoisted_7)) : (0, vue.createCommentVNode)("v-if", true)])) : (0, vue.createCommentVNode)("v-if", true)])) : (0, vue.createCommentVNode)("v-if", true),
@@ -353,16 +362,20 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
353
362
  kind: __props.type === "textarea" ? "textarea" : "input",
354
363
  "on-edit": (0, vue.unref)(enableOptional)
355
364
  }, null, 8, ["kind", "on-edit"])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 3 }, [
356
- (0, vue.createElementVNode)("div", _hoisted_9, [(0, vue.renderSlot)(_ctx.$slots, "default", {
365
+ (0, vue.createElementVNode)("div", {
366
+ class: "as-field-input-row",
367
+ onFocusin: _cache[2] || (_cache[2] = (...args) => (0, vue.unref)(onFocusin) && (0, vue.unref)(onFocusin)(...args)),
368
+ onFocusout: _cache[3] || (_cache[3] = (...args) => (0, vue.unref)(onFocusout) && (0, vue.unref)(onFocusout)(...args))
369
+ }, [(0, vue.renderSlot)(_ctx.$slots, "default", {
357
370
  inputId: __props.inputId,
358
371
  errorId: __props.errorId,
359
372
  descId: __props.descId
360
- })]),
373
+ })], 32),
361
374
  (0, vue.renderSlot)(_ctx.$slots, "after-input", { descId: __props.descId }),
362
- __props.error || __props.hint || __props.formAction || __props.isDirty || _ctx.$slots.status ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_10, [
375
+ __props.error || __props.hint || __props.formAction || shownDirty.value || _ctx.$slots.status ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_9, [
363
376
  (0, vue.createCommentVNode)(" `status` owns the whole error/hint/announcement area: overriding it\n replaces the default markup wholesale (keep `statusId` on your own\n node so `aria-describedby` still resolves). "),
364
377
  (0, vue.renderSlot)(_ctx.$slots, "status", {
365
- isDirty: !!__props.isDirty,
378
+ isDirty: shownDirty.value,
366
379
  error: __props.error,
367
380
  hint: __props.hint,
368
381
  statusId: statusId.value,
@@ -373,21 +386,21 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
373
386
  id: __props.errorId,
374
387
  class: "as-error-slot",
375
388
  role: __props.error ? "alert" : void 0
376
- }, (0, vue.toDisplayString)(__props.error || __props.hint), 9, _hoisted_11)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_12)),
389
+ }, (0, vue.toDisplayString)(__props.error || __props.hint), 9, _hoisted_10)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_11)),
377
390
  (0, vue.createCommentVNode)(" Visually hidden: the `data-dirty` rail is the sighted cue, this\n is its AT counterpart. `role=\"status\"` would make it a live\n region and re-announce on every keystroke — it is referenced\n through `aria-describedby` instead, which AsField appends on\n exactly this `isDirty` condition, so a clean field never points\n at a missing node. "),
378
- __props.isDirty ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
391
+ shownDirty.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
379
392
  key: 2,
380
393
  id: statusId.value,
381
394
  class: "as-field-status"
382
- }, (0, vue.toDisplayString)((0, vue.unref)(t)("UI_FORM_MODIFIED")), 9, _hoisted_13)) : (0, vue.createCommentVNode)("v-if", true)
395
+ }, (0, vue.toDisplayString)((0, vue.unref)(t)("UI_FORM_MODIFIED")), 9, _hoisted_12)) : (0, vue.createCommentVNode)("v-if", true)
383
396
  ]),
384
397
  __props.formAction ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("button", {
385
398
  key: 0,
386
399
  type: "button",
387
400
  class: "as-field-action-link",
388
401
  disabled: __props.disabled,
389
- onClick: _cache[2] || (_cache[2] = ($event) => emit("action", __props.formAction.id))
390
- }, (0, vue.toDisplayString)(__props.formAction.label), 9, _hoisted_14)) : (0, vue.createCommentVNode)("v-if", true)
402
+ onClick: _cache[4] || (_cache[4] = ($event) => emit("action", __props.formAction.id))
403
+ }, (0, vue.toDisplayString)(__props.formAction.label), 9, _hoisted_13)) : (0, vue.createCommentVNode)("v-if", true)
391
404
  ])) : (0, vue.createCommentVNode)("v-if", true)
392
405
  ], 64))
393
406
  ], 14, _hoisted_1)), [[vue.vShow, !__props.hidden]]);
@@ -1,2 +1,2 @@
1
- const require_as_field_shell = require("./as-field-shell-DviDLKgc.cjs");
1
+ const require_as_field_shell = require("./as-field-shell-rghztVd7.cjs");
2
2
  module.exports = require_as_field_shell.as_field_shell_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-field-shell.vue-BLF9cYdM.mjs";
1
+ import { t as _default } from "./as-field-shell.vue-DBufTHVO.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_field_shell_default } from "./as-field-shell-nSZx4aV0.mjs";
1
+ import { t as as_field_shell_default } from "./as-field-shell-IaUBze1S.mjs";
2
2
  export { as_field_shell_default as default };
@@ -1,4 +1,4 @@
1
- import { o as TAsComponentProps } from "./types-DitKqqD_.mjs";
1
+ import { o as TAsComponentProps } from "./types-B0Ey_eD-.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-field-shell.vue.d.ts
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-field.vue-jAOaV9zg.mjs";
1
+ import { t as _default } from "./as-field.vue-BWaTLJd6.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { n as _default, t as Props } from "./as-form.vue-Cl036Br1.cjs";
1
+ import { n as _default, t as Props } from "./as-form.vue-Bx1yZIBk.cjs";
2
2
  export { Props, _default as default };
@@ -1,2 +1,2 @@
1
- import { n as _default, t as Props } from "./as-form.vue-9rtEZqEU.mjs";
1
+ import { n as _default, t as Props } from "./as-form.vue-Bxq1IR_f.mjs";
2
2
  export { Props, _default as default };
@@ -1190,11 +1190,11 @@ interface Props<TF, TC> {
1190
1190
  }
1191
1191
  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<{
1192
1192
  props: vue.PublicProps & __VLS_PrettifyLocal<Props<TFormData, TFormContext> & {
1193
+ onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
1193
1194
  onError?: ((errors: {
1194
1195
  path: string;
1195
1196
  message: string;
1196
1197
  }[]) => any) | undefined;
1197
- onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
1198
1198
  onSubmit?: ((data: TAsFormValue<TFormData>) => any) | undefined;
1199
1199
  "onUnsupported-action"?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
1200
1200
  onChange?: ((type: TAsChangeType, path: string, value: unknown, formData: TAsFormValue<TFormData>) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { c as TAsUnionContext, n as TAsChangeType, o as TAsComponentProps, s as TAsTypeComponents } from "./types-DitKqqD_.mjs";
1
+ import { c as TAsUnionContext, n as TAsChangeType, o as TAsComponentProps, s as TAsTypeComponents } from "./types-B0Ey_eD-.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";
@@ -1190,11 +1190,11 @@ interface Props<TF, TC> {
1190
1190
  }
1191
1191
  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<{
1192
1192
  props: vue.PublicProps & __VLS_PrettifyLocal<Props<TFormData, TFormContext> & {
1193
+ onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
1193
1194
  onError?: ((errors: {
1194
1195
  path: string;
1195
1196
  message: string;
1196
1197
  }[]) => any) | undefined;
1197
- onAction?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
1198
1198
  onSubmit?: ((data: TAsFormValue<TFormData>) => any) | undefined;
1199
1199
  "onUnsupported-action"?: ((name: string, data: TAsFormValue<TFormData>) => any) | undefined;
1200
1200
  onChange?: ((type: TAsChangeType, path: string, value: unknown, formData: TAsFormValue<TFormData>) => any) | undefined;
@@ -1,6 +1,6 @@
1
- import { t as as_field_shell_default } from "./as-field-shell-nSZx4aV0.mjs";
2
- import { t as as_input_control_default } from "./as-input-control-Dc9TPspz.mjs";
3
- import { t as as_adornment_shell_default } from "./as-adornment-shell-grq1H0D-.mjs";
1
+ import { t as as_field_shell_default } from "./as-field-shell-IaUBze1S.mjs";
2
+ import { t as as_input_control_default } from "./as-input-control-B3h--Qe0.mjs";
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";
5
5
  //#endregion
6
6
  //#region src/components/defaults/as-input.vue
@@ -1,6 +1,6 @@
1
- const require_as_field_shell = require("./as-field-shell-DviDLKgc.cjs");
2
- const require_as_input_control = require("./as-input-control-B04eAMwA.cjs");
3
- const require_as_adornment_shell = require("./as-adornment-shell-COhqCppW.cjs");
1
+ const require_as_field_shell = require("./as-field-shell-rghztVd7.cjs");
2
+ const require_as_input_control = require("./as-input-control-DAbaW7GG.cjs");
3
+ const require_as_adornment_shell = require("./as-adornment-shell-CmS9BOFm.cjs");
4
4
  let vue = require("vue");
5
5
  //#endregion
6
6
  //#region src/components/defaults/as-input.vue
@@ -1,4 +1,5 @@
1
- import { createElementBlock, defineComponent, openBlock, vModelDynamic, vModelText, withDirectives } from "vue";
1
+ import { n as committedValue, t as committedText } from "./_shape-bdsPEB8P.mjs";
2
+ import { computed, createElementBlock, defineComponent, openBlock, vModelDynamic, vModelText, withDirectives } from "vue";
2
3
  //#region src/components/internal/as-input-control.vue?vue&type=script&setup=true&lang.ts
3
4
  const _hoisted_1 = [
4
5
  "id",
@@ -225,6 +226,17 @@ var as_input_control_default = /* @__PURE__ */ defineComponent({
225
226
  setup(__props) {
226
227
  const props = __props;
227
228
  /**
229
+ * The model as the input edits it. Emptied, the input commits `undefined` on
230
+ * an optional field; on a required one `""`, or `null` for the native number
231
+ * input (AsNumber without adornments) — the rule of the other number inputs.
232
+ */
233
+ const inputModel = computed({
234
+ get: () => props.model.value,
235
+ set: (v) => {
236
+ props.model.value = v === "" && props.type === "number" ? committedValue(null, props.optional) : committedText(v, props.optional);
237
+ }
238
+ });
239
+ /**
228
240
  * UX polish — numeric inputs select-all on focus so the next keystroke
229
241
  * replaces the existing value. Skipped for text/password/textarea where
230
242
  * the cursor-at-position behaviour is expected (clicking inside a long
@@ -239,7 +251,7 @@ var as_input_control_default = /* @__PURE__ */ defineComponent({
239
251
  return __props.type === "textarea" ? withDirectives((openBlock(), createElementBlock("textarea", {
240
252
  key: 0,
241
253
  id: __props.inputId,
242
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model.value = $event),
254
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputModel.value = $event),
243
255
  onBlur: _cache[1] || (_cache[1] = (...args) => __props.onBlur && __props.onBlur(...args)),
244
256
  placeholder: __props.placeholder,
245
257
  name: __props.name,
@@ -250,10 +262,10 @@ var as_input_control_default = /* @__PURE__ */ defineComponent({
250
262
  "aria-invalid": !!__props.error || void 0,
251
263
  "aria-describedby": __props.ariaDescribedBy,
252
264
  "aria-label": !__props.label ? __props.name : void 0
253
- }, null, 40, _hoisted_1)), [[vModelText, __props.model.value]]) : withDirectives((openBlock(), createElementBlock("input", {
265
+ }, null, 40, _hoisted_1)), [[vModelText, inputModel.value]]) : withDirectives((openBlock(), createElementBlock("input", {
254
266
  key: 1,
255
267
  id: __props.inputId,
256
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.model.value = $event),
268
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => inputModel.value = $event),
257
269
  onFocus,
258
270
  onBlur: _cache[3] || (_cache[3] = (...args) => __props.onBlur && __props.onBlur(...args)),
259
271
  placeholder: __props.placeholder,
@@ -266,7 +278,7 @@ var as_input_control_default = /* @__PURE__ */ defineComponent({
266
278
  "aria-invalid": !!__props.error || void 0,
267
279
  "aria-describedby": __props.ariaDescribedBy,
268
280
  "aria-label": !__props.label ? __props.name : void 0
269
- }, null, 40, _hoisted_2)), [[vModelDynamic, __props.model.value]]);
281
+ }, null, 40, _hoisted_2)), [[vModelDynamic, inputModel.value]]);
270
282
  };
271
283
  }
272
284
  });
@@ -1,3 +1,4 @@
1
+ const require__shape = require("./_shape-C-TxQCFa.cjs");
1
2
  let vue = require("vue");
2
3
  //#region src/components/internal/as-input-control.vue?vue&type=script&setup=true&lang.ts
3
4
  const _hoisted_1 = [
@@ -225,6 +226,17 @@ var as_input_control_default = /* @__PURE__ */ (0, vue.defineComponent)({
225
226
  setup(__props) {
226
227
  const props = __props;
227
228
  /**
229
+ * The model as the input edits it. Emptied, the input commits `undefined` on
230
+ * an optional field; on a required one `""`, or `null` for the native number
231
+ * input (AsNumber without adornments) — the rule of the other number inputs.
232
+ */
233
+ const inputModel = (0, vue.computed)({
234
+ get: () => props.model.value,
235
+ set: (v) => {
236
+ props.model.value = v === "" && props.type === "number" ? require__shape.committedValue(null, props.optional) : require__shape.committedText(v, props.optional);
237
+ }
238
+ });
239
+ /**
228
240
  * UX polish — numeric inputs select-all on focus so the next keystroke
229
241
  * replaces the existing value. Skipped for text/password/textarea where
230
242
  * the cursor-at-position behaviour is expected (clicking inside a long
@@ -239,7 +251,7 @@ var as_input_control_default = /* @__PURE__ */ (0, vue.defineComponent)({
239
251
  return __props.type === "textarea" ? (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("textarea", {
240
252
  key: 0,
241
253
  id: __props.inputId,
242
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model.value = $event),
254
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputModel.value = $event),
243
255
  onBlur: _cache[1] || (_cache[1] = (...args) => __props.onBlur && __props.onBlur(...args)),
244
256
  placeholder: __props.placeholder,
245
257
  name: __props.name,
@@ -250,10 +262,10 @@ var as_input_control_default = /* @__PURE__ */ (0, vue.defineComponent)({
250
262
  "aria-invalid": !!__props.error || void 0,
251
263
  "aria-describedby": __props.ariaDescribedBy,
252
264
  "aria-label": !__props.label ? __props.name : void 0
253
- }, null, 40, _hoisted_1)), [[vue.vModelText, __props.model.value]]) : (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("input", {
265
+ }, null, 40, _hoisted_1)), [[vue.vModelText, inputModel.value]]) : (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("input", {
254
266
  key: 1,
255
267
  id: __props.inputId,
256
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.model.value = $event),
268
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => inputModel.value = $event),
257
269
  onFocus,
258
270
  onBlur: _cache[3] || (_cache[3] = (...args) => __props.onBlur && __props.onBlur(...args)),
259
271
  placeholder: __props.placeholder,
@@ -266,7 +278,7 @@ var as_input_control_default = /* @__PURE__ */ (0, vue.defineComponent)({
266
278
  "aria-invalid": !!__props.error || void 0,
267
279
  "aria-describedby": __props.ariaDescribedBy,
268
280
  "aria-label": !__props.label ? __props.name : void 0
269
- }, null, 40, _hoisted_2)), [[vue.vModelDynamic, __props.model.value]]);
281
+ }, null, 40, _hoisted_2)), [[vue.vModelDynamic, inputModel.value]]);
270
282
  };
271
283
  }
272
284
  });
package/dist/as-input.cjs CHANGED
@@ -1,2 +1,2 @@
1
- const require_as_input = require("./as-input-GVFsgqbJ.cjs");
1
+ const require_as_input = require("./as-input-DGvRZOy5.cjs");
2
2
  module.exports = require_as_input.as_input_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-input.vue-C7EKOcQU.mjs";
1
+ import { t as _default } from "./as-input.vue-BiPsULeF.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-B5eBOvaM.mjs";
1
+ import { t as as_input_default } from "./as-input-CijlzZ8Q.mjs";
2
2
  export { as_input_default as default };
@@ -1,4 +1,4 @@
1
- import { o as TAsComponentProps } from "./types-DitKqqD_.mjs";
1
+ import { o as TAsComponentProps } from "./types-B0Ey_eD-.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-input.vue.d.ts
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-iterator.vue-DisW8puF.mjs";
1
+ import { t as _default } from "./as-iterator.vue-BUCohjxw.mjs";
2
2
  export { _default as default };
@@ -1,5 +1,5 @@
1
1
  import { o as useAsTexts } from "./use-as-locale-BEzm7jbp.mjs";
2
- import { t as as_field_shell_default } from "./as-field-shell-nSZx4aV0.mjs";
2
+ import { t as as_field_shell_default } from "./as-field-shell-IaUBze1S.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,5 +1,5 @@
1
1
  const require_use_as_locale = require("./use-as-locale-CnNyyqcF.cjs");
2
- const require_as_field_shell = require("./as-field-shell-DviDLKgc.cjs");
2
+ const require_as_field_shell = require("./as-field-shell-rghztVd7.cjs");
3
3
  let vue = require("vue");
4
4
  let _atscript_ui = require("@atscript/ui");
5
5
  let reka_ui = require("reka-ui");
@@ -1,2 +1,2 @@
1
- const require_as_multi_select = require("./as-multi-select-BygHZ0wu.cjs");
1
+ const require_as_multi_select = require("./as-multi-select-JUB05J_p.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-BS9X_0fY.mjs";
1
+ import { t as _default } from "./as-multi-select.vue-Bmngkww7.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_multi_select_default } from "./as-multi-select-BhPKb69b.mjs";
1
+ import { t as as_multi_select_default } from "./as-multi-select-BXnZLgjt.mjs";
2
2
  export { as_multi_select_default as default };
@@ -1,4 +1,4 @@
1
- import { o as TAsComponentProps } from "./types-DitKqqD_.mjs";
1
+ import { o as TAsComponentProps } from "./types-B0Ey_eD-.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-multi-select.vue.d.ts
@@ -1,7 +1,7 @@
1
1
  import { a as useAsLocale } from "./use-as-locale-BEzm7jbp.mjs";
2
- import { t as as_field_shell_default } from "./as-field-shell-nSZx4aV0.mjs";
3
- import { t as as_input_control_default } from "./as-input-control-Dc9TPspz.mjs";
4
- import { t as committedValue } from "./_shape-CLX3JSFZ.mjs";
2
+ import { t as as_field_shell_default } from "./as-field-shell-IaUBze1S.mjs";
3
+ import { n as committedValue } from "./_shape-bdsPEB8P.mjs";
4
+ import { t as as_input_control_default } from "./as-input-control-B3h--Qe0.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";
7
7
  //#region src/composables/use-as-number.ts
@@ -1,7 +1,7 @@
1
1
  const require_use_as_locale = require("./use-as-locale-CnNyyqcF.cjs");
2
- const require_as_field_shell = require("./as-field-shell-DviDLKgc.cjs");
3
- const require_as_input_control = require("./as-input-control-B04eAMwA.cjs");
4
- const require__shape = require("./_shape-BAim7zm2.cjs");
2
+ const require_as_field_shell = require("./as-field-shell-rghztVd7.cjs");
3
+ const require__shape = require("./_shape-C-TxQCFa.cjs");
4
+ const require_as_input_control = require("./as-input-control-DAbaW7GG.cjs");
5
5
  let vue = require("vue");
6
6
  let _atscript_ui = require("@atscript/ui");
7
7
  //#region src/composables/use-as-number.ts
@@ -1,2 +1,2 @@
1
- const require_as_number = require("./as-number-bFJlxd6T.cjs");
1
+ const require_as_number = require("./as-number-TfNY5CgX.cjs");
2
2
  module.exports = require_as_number.as_number_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-number.vue-CJSPy4zg.mjs";
1
+ import { t as _default } from "./as-number.vue-C2QSKpVL.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_number_default } from "./as-number-BCZD5zX6.mjs";
1
+ import { t as as_number_default } from "./as-number-DkeEBWva.mjs";
2
2
  export { as_number_default as default };
@@ -1,4 +1,4 @@
1
- import { o as TAsComponentProps } from "./types-DitKqqD_.mjs";
1
+ import { o as TAsComponentProps } from "./types-B0Ey_eD-.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-number.vue.d.ts
@@ -3,7 +3,7 @@ import { o as useAsTexts } from "./use-as-locale-BEzm7jbp.mjs";
3
3
  import { t as as_iterator_default } from "./as-iterator-CgGSiI_d.mjs";
4
4
  import { t as as_collapsible_default } from "./as-collapsible-B_YnV9V8.mjs";
5
5
  import { n as as_optional_clear_default, t as as_variant_picker_default } from "./as-variant-picker-DJ_sqKD3.mjs";
6
- import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-DRZT-aIT.mjs";
6
+ import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-fOglspPV.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
@@ -3,7 +3,7 @@ const require_use_as_locale = require("./use-as-locale-CnNyyqcF.cjs");
3
3
  const require_as_iterator = require("./as-iterator-D643RugN.cjs");
4
4
  const require_as_collapsible = require("./as-collapsible-COchVoS0.cjs");
5
5
  const require_as_variant_picker = require("./as-variant-picker-BxOP4dkG.cjs");
6
- const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-nwBB3Mdk.cjs");
6
+ const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-C7f0blhC.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-aItYU-IN.cjs");
1
+ const require_as_object = require("./as-object-lKSwKkt7.cjs");
2
2
  module.exports = require_as_object.as_object_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-object.vue-DKEhwHCH.mjs";
1
+ import { t as _default } from "./as-object.vue-DFo_5DXv.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_object_default } from "./as-object-sly2aTBc.mjs";
1
+ import { t as as_object_default } from "./as-object-BAsjdh_N.mjs";
2
2
  export { as_object_default as default };
@@ -1,4 +1,4 @@
1
- import { o as TAsComponentProps } from "./types-DitKqqD_.mjs";
1
+ import { o as TAsComponentProps } from "./types-B0Ey_eD-.mjs";
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
- const require_as_paragraph = require("./as-paragraph-DfX1uEE_.cjs");
1
+ const require_as_paragraph = require("./as-paragraph-0opsr433.cjs");
2
2
  module.exports = require_as_paragraph.as_paragraph_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-paragraph.vue-Cu4woZ9u.mjs";
1
+ import { t as _default } from "./as-paragraph.vue-DiHaNFSX.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_paragraph_default } from "./as-paragraph-BALTsswa.mjs";
1
+ import { t as as_paragraph_default } from "./as-paragraph-CQCdz9FR.mjs";
2
2
  export { as_paragraph_default as default };
@@ -1,4 +1,4 @@
1
- import { o as TAsComponentProps } from "./types-DitKqqD_.mjs";
1
+ import { o as TAsComponentProps } from "./types-B0Ey_eD-.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
- import { t as as_field_shell_default } from "./as-field-shell-nSZx4aV0.mjs";
1
+ import { t as as_field_shell_default } from "./as-field-shell-IaUBze1S.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
@@ -1,4 +1,4 @@
1
- const require_as_field_shell = require("./as-field-shell-DviDLKgc.cjs");
1
+ const require_as_field_shell = require("./as-field-shell-rghztVd7.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
package/dist/as-radio.cjs CHANGED
@@ -1,2 +1,2 @@
1
- const require_as_radio = require("./as-radio-Bxw-nuBQ.cjs");
1
+ const require_as_radio = require("./as-radio-DEHsBgwQ.cjs");
2
2
  module.exports = require_as_radio.as_radio_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-radio.vue-dro8-E3x.mjs";
1
+ import { t as _default } from "./as-radio.vue-C_ZjbI4s.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-DszOJUnp.mjs";
1
+ import { t as as_radio_default } from "./as-radio-CHwzhcQE.mjs";
2
2
  export { as_radio_default as default };
@@ -1,4 +1,4 @@
1
- import { o as TAsComponentProps } from "./types-DitKqqD_.mjs";
1
+ import { o as TAsComponentProps } from "./types-B0Ey_eD-.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-radio.vue.d.ts