@atscript/vue-form 0.1.206 → 0.1.208

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 (211) hide show
  1. package/dist/{as-action-rT6WXLph.cjs → as-action-BGIbuTxh.cjs} +3 -3
  2. package/dist/{as-action-kBskX68v.mjs → as-action-CPQ64nNi.mjs} +3 -3
  3. package/dist/as-action.cjs +1 -1
  4. package/dist/as-action.d.cts +1 -1
  5. package/dist/as-action.d.mts +1 -1
  6. package/dist/as-action.mjs +1 -1
  7. package/dist/{as-action.vue-B7RrjGhF.d.cts → as-action.vue-D0twy1JK.d.cts} +1 -1
  8. package/dist/{as-action.vue-Dtez-EWu.d.mts → as-action.vue-Dse77iCr.d.mts} +1 -1
  9. package/dist/{as-array-Tt_4kl5r.mjs → as-array-CEtgj6nd.mjs} +13 -14
  10. package/dist/{as-array-C5lqDDLN.cjs → as-array-CKedVJIz.cjs} +13 -14
  11. package/dist/{as-array-clear-btn-DGUQY_7_.mjs → as-array-clear-btn-BFfll2RA.mjs} +1 -1
  12. package/dist/{as-array-clear-btn-Dk88CYmS.cjs → as-array-clear-btn-nYR8rEeL.cjs} +1 -1
  13. package/dist/as-array.cjs +1 -1
  14. package/dist/as-array.d.cts +1 -1
  15. package/dist/as-array.d.mts +1 -1
  16. package/dist/as-array.mjs +1 -1
  17. package/dist/{as-array.vue-Ca_xan2n.d.mts → as-array.vue-BCB8mLx-.d.mts} +1 -1
  18. package/dist/{as-array.vue-Dp_zd3ZM.d.cts → as-array.vue-DJNzEE8-.d.cts} +1 -1
  19. package/dist/{as-checkbox-CCX9E19U.mjs → as-checkbox-B7C-CvhT.mjs} +9 -17
  20. package/dist/{as-checkbox-D7NywgIa.cjs → as-checkbox-DKaEfo7e.cjs} +9 -17
  21. package/dist/as-checkbox.cjs +1 -1
  22. package/dist/as-checkbox.d.cts +1 -1
  23. package/dist/as-checkbox.d.mts +1 -1
  24. package/dist/as-checkbox.mjs +1 -1
  25. package/dist/{as-checkbox.vue-BClSBx1g.d.mts → as-checkbox.vue-CoCgt4vV.d.mts} +1 -1
  26. package/dist/{as-checkbox.vue-Bf3qqcKu.d.cts → as-checkbox.vue-fPeyQDp5.d.cts} +1 -1
  27. package/dist/{as-collapsible-CTOLQ3IK.cjs → as-collapsible-Bs0LOl1t.cjs} +1 -1
  28. package/dist/{as-collapsible-CvBoWb0D.mjs → as-collapsible-DOIWkQ0v.mjs} +1 -1
  29. package/dist/as-collapsible.cjs +1 -1
  30. package/dist/as-collapsible.d.cts +1 -1
  31. package/dist/as-collapsible.d.mts +1 -1
  32. package/dist/as-collapsible.mjs +1 -1
  33. package/dist/{as-collapsible.vue-BXdpM7_K.d.cts → as-collapsible.vue-CH3ez8zm.d.cts} +1 -1
  34. package/dist/{as-collapsible.vue-CUhn1EVX.d.mts → as-collapsible.vue-DewV2oaE.d.mts} +1 -1
  35. package/dist/{as-date-Ubw_1-Ai.cjs → as-date-BMKMiM_d.cjs} +6 -6
  36. package/dist/{as-date-3haOaiAG.mjs → as-date-CFQtrpZT.mjs} +6 -6
  37. package/dist/as-date.cjs +1 -1
  38. package/dist/as-date.d.cts +1 -1
  39. package/dist/as-date.d.mts +1 -1
  40. package/dist/as-date.mjs +1 -1
  41. package/dist/{as-date.vue-B5NWZ5ON.d.cts → as-date.vue-BSghCVx0.d.cts} +1 -1
  42. package/dist/{as-date.vue-CJQOrfj3.d.mts → as-date.vue-CPgqqKMB.d.mts} +1 -1
  43. package/dist/{as-datetime--7bl-yGW.cjs → as-datetime-Bl1K4U51.cjs} +6 -6
  44. package/dist/{as-datetime-BTekpasP.mjs → as-datetime-DqfSymmL.mjs} +6 -6
  45. package/dist/as-datetime.cjs +1 -1
  46. package/dist/as-datetime.d.cts +1 -1
  47. package/dist/as-datetime.d.mts +1 -1
  48. package/dist/as-datetime.mjs +1 -1
  49. package/dist/{as-datetime.vue-BvmFdGxe.d.cts → as-datetime.vue-B-KRC-0X.d.mts} +1 -1
  50. package/dist/{as-datetime.vue-CzMz_RUy.d.mts → as-datetime.vue-CjDTsMDw.d.cts} +1 -1
  51. package/dist/{as-decimal-DWPRXsYY.cjs → as-decimal-48M_h9Sl.cjs} +22 -28
  52. package/dist/{as-decimal-7CIE6UKX.mjs → as-decimal-CsAJlvie.mjs} +22 -28
  53. package/dist/as-decimal.cjs +1 -1
  54. package/dist/as-decimal.d.cts +1 -1
  55. package/dist/as-decimal.d.mts +1 -1
  56. package/dist/as-decimal.mjs +1 -1
  57. package/dist/{as-decimal.vue-DdVqHtMT.d.cts → as-decimal.vue-BZ2imea4.d.mts} +1 -1
  58. package/dist/{as-decimal.vue-DyDt1ds0.d.mts → as-decimal.vue-BvvG5aIL.d.cts} +1 -1
  59. package/dist/{as-field-jh5AWref.mjs → as-field-C6iquEB1.mjs} +123 -173
  60. package/dist/{as-field-DAClnYiP.cjs → as-field-CJMJJfXO.cjs} +122 -172
  61. package/dist/{as-field-shell-Cu8jxZYj.cjs → as-field-shell-CMq52Z6e.cjs} +7 -7
  62. package/dist/{as-field-shell-DPzfvPo0.mjs → as-field-shell-DXbAJupk.mjs} +7 -7
  63. package/dist/as-field-shell.cjs +1 -1
  64. package/dist/as-field-shell.d.cts +1 -1
  65. package/dist/as-field-shell.d.mts +1 -1
  66. package/dist/as-field-shell.mjs +1 -1
  67. package/dist/{as-field-shell.vue-CPy2uA-b.d.mts → as-field-shell.vue-BbSIqZSY.d.cts} +1 -1
  68. package/dist/{as-field-shell.vue-D-8AWUGW.d.cts → as-field-shell.vue-D0NYcajH.d.mts} +1 -1
  69. package/dist/as-field.cjs +1 -1
  70. package/dist/as-field.d.mts +1 -1
  71. package/dist/as-field.mjs +1 -1
  72. package/dist/{as-form-r5pkXt5U.cjs → as-form-B4-StU3b.cjs} +41 -43
  73. package/dist/{as-form-B8d1MVTB.mjs → as-form-DQePBFwR.mjs} +42 -44
  74. package/dist/as-form.cjs +1 -1
  75. package/dist/as-form.d.cts +1 -1
  76. package/dist/as-form.d.mts +1 -1
  77. package/dist/as-form.mjs +1 -1
  78. package/dist/{as-form.vue-D1AS3Xf6.d.mts → as-form.vue-BMNZuvpb.d.mts} +66 -54
  79. package/dist/{as-form.vue-BvRHy6mu.d.cts → as-form.vue-DS5r3CWl.d.cts} +66 -54
  80. package/dist/{as-input-tKw19JnF.mjs → as-input-D1IO72Tn.mjs} +6 -6
  81. package/dist/{as-input-BTbu0eF-.cjs → as-input-Dy7v1AjV.cjs} +6 -6
  82. package/dist/{as-input-control-1igViaqC.mjs → as-input-control-CINIJm-h.mjs} +13 -5
  83. package/dist/{as-input-control-uJpmle-G.cjs → as-input-control-DXJBrgih.cjs} +13 -5
  84. package/dist/as-input.cjs +1 -1
  85. package/dist/as-input.d.cts +1 -1
  86. package/dist/as-input.d.mts +1 -1
  87. package/dist/as-input.mjs +1 -1
  88. package/dist/{as-input.vue-CuC3DYeR.d.cts → as-input.vue-DMxFk9uv.d.cts} +1 -1
  89. package/dist/{as-input.vue-DawR7pA-.d.mts → as-input.vue-DzG-WB4x.d.mts} +1 -1
  90. package/dist/{as-iterator-B1o83rKV.mjs → as-iterator-A9ozhHhf.mjs} +2 -2
  91. package/dist/{as-iterator-q_w9HBHt.cjs → as-iterator-C8aJ6SUs.cjs} +2 -2
  92. package/dist/as-iterator.cjs +1 -1
  93. package/dist/as-iterator.d.mts +1 -1
  94. package/dist/as-iterator.mjs +1 -1
  95. package/dist/{as-multi-select-DPQ9_Qf1.cjs → as-multi-select-BiOEQf1L.cjs} +7 -11
  96. package/dist/{as-multi-select-DhOlsgdq.mjs → as-multi-select-CoT5MJd_.mjs} +8 -12
  97. package/dist/as-multi-select.cjs +1 -1
  98. package/dist/as-multi-select.d.cts +1 -1
  99. package/dist/as-multi-select.d.mts +1 -1
  100. package/dist/as-multi-select.mjs +1 -1
  101. package/dist/{as-multi-select.vue-CbVBJq8N.d.mts → as-multi-select.vue-CBtBFW6X.d.cts} +1 -1
  102. package/dist/{as-multi-select.vue-CXC47PBk.d.cts → as-multi-select.vue-CGjTCFGD.d.mts} +1 -1
  103. package/dist/{as-number-CVjNUjiS.mjs → as-number-Ck8nNMCB.mjs} +5 -5
  104. package/dist/{as-number-CJmX5rb1.cjs → as-number-DKW_PZcq.cjs} +5 -5
  105. package/dist/as-number.cjs +1 -1
  106. package/dist/as-number.d.cts +1 -1
  107. package/dist/as-number.d.mts +1 -1
  108. package/dist/as-number.mjs +1 -1
  109. package/dist/{as-number.vue-BdNvLZca.d.mts → as-number.vue-AKk1tllp.d.mts} +1 -1
  110. package/dist/{as-number.vue-hJuiJJ70.d.cts → as-number.vue-i5gytLQ2.d.cts} +1 -1
  111. package/dist/{as-object-DY5IEc94.mjs → as-object-6GgXdo_K.mjs} +8 -8
  112. package/dist/{as-object-Dq5CPM3i.cjs → as-object-DfHzCJcJ.cjs} +8 -8
  113. package/dist/as-object.cjs +1 -1
  114. package/dist/as-object.d.cts +1 -1
  115. package/dist/as-object.d.mts +1 -1
  116. package/dist/as-object.mjs +1 -1
  117. package/dist/{as-object.vue-DHFGLetx.d.cts → as-object.vue-Gor6cnwh.d.mts} +1 -1
  118. package/dist/{as-object.vue-DVK_BKOL.d.mts → as-object.vue-cwrRrJ2O.d.cts} +1 -1
  119. package/dist/{as-paragraph-CaytophZ.cjs → as-paragraph-DHtc4LrM.cjs} +3 -3
  120. package/dist/{as-paragraph-ChOqmJe2.mjs → as-paragraph-ScTsCm_J.mjs} +3 -3
  121. package/dist/as-paragraph.cjs +1 -1
  122. package/dist/as-paragraph.d.cts +1 -1
  123. package/dist/as-paragraph.d.mts +1 -1
  124. package/dist/as-paragraph.mjs +1 -1
  125. package/dist/{as-paragraph.vue-6mBonWFb.d.mts → as-paragraph.vue-DqHrI7WD.d.mts} +1 -1
  126. package/dist/{as-paragraph.vue-B_aPmK-B.d.cts → as-paragraph.vue-Ds64gwEP.d.cts} +1 -1
  127. package/dist/{as-radio-BW9K8h6V.mjs → as-radio-Cc3VOm3A.mjs} +4 -4
  128. package/dist/{as-radio-C6PnEdjD.cjs → as-radio-DLGMEC9o.cjs} +4 -4
  129. package/dist/as-radio.cjs +1 -1
  130. package/dist/as-radio.d.cts +1 -1
  131. package/dist/as-radio.d.mts +1 -1
  132. package/dist/as-radio.mjs +1 -1
  133. package/dist/{as-radio.vue-BFxeAHfl.d.mts → as-radio.vue-CkooFq0m.d.cts} +1 -1
  134. package/dist/{as-radio.vue-B_tDoVl1.d.cts → as-radio.vue-T0Ejt0II.d.mts} +1 -1
  135. package/dist/{as-ref-CXtYo-UZ.mjs → as-ref-Cs4i9tpS.mjs} +14 -14
  136. package/dist/{as-ref-DTsWT_zU.cjs → as-ref-FknTPCae.cjs} +14 -14
  137. package/dist/as-ref.cjs +1 -1
  138. package/dist/as-ref.d.cts +1 -1
  139. package/dist/as-ref.d.mts +1 -1
  140. package/dist/as-ref.mjs +1 -1
  141. package/dist/{as-ref.vue-CqFDKTYk.d.mts → as-ref.vue-CCzEnDNd.d.cts} +1 -1
  142. package/dist/{as-ref.vue-gCsaCDQx.d.cts → as-ref.vue-CvStQFs3.d.mts} +1 -1
  143. package/dist/{as-select-DOvo86Oc.cjs → as-select-DBxxq0jZ.cjs} +7 -16
  144. package/dist/{as-select-CbZNupL6.mjs → as-select-br9EmsoX.mjs} +8 -17
  145. package/dist/as-select.cjs +1 -1
  146. package/dist/as-select.d.cts +1 -1
  147. package/dist/as-select.d.mts +1 -1
  148. package/dist/as-select.mjs +1 -1
  149. package/dist/{as-select.vue-BN3zvSGs.d.mts → as-select.vue-CK4AWxmk.d.cts} +1 -1
  150. package/dist/{as-select.vue-Bh7ppdg9.d.cts → as-select.vue-LKjJASjX.d.mts} +1 -1
  151. package/dist/{as-time-CfnhY3Pf.cjs → as-time-BmTk1YfU.cjs} +6 -6
  152. package/dist/{as-time-BDpnkjy8.mjs → as-time-DTz7PrnB.mjs} +6 -6
  153. package/dist/as-time.cjs +1 -1
  154. package/dist/as-time.d.cts +1 -1
  155. package/dist/as-time.d.mts +1 -1
  156. package/dist/as-time.mjs +1 -1
  157. package/dist/{as-time.vue-C-ruJhmX.d.mts → as-time.vue-DTRJCO4G.d.cts} +1 -1
  158. package/dist/{as-time.vue-C_0z-HOS.d.cts → as-time.vue-q2i-2K0N.d.mts} +1 -1
  159. package/dist/{as-tuple-C5_dcvsH.cjs → as-tuple-BemXpNrJ.cjs} +22 -14
  160. package/dist/{as-tuple--wL64cCu.mjs → as-tuple-D3IoTMkI.mjs} +23 -15
  161. package/dist/as-tuple.cjs +1 -1
  162. package/dist/as-tuple.d.cts +1 -1
  163. package/dist/as-tuple.d.mts +1 -1
  164. package/dist/as-tuple.mjs +1 -1
  165. package/dist/{as-tuple.vue-BDiSN-np.d.cts → as-tuple.vue-BEY7sq9x.d.cts} +1 -1
  166. package/dist/{as-tuple.vue-CGWun6Iw.d.mts → as-tuple.vue-CNgBlckL.d.mts} +1 -1
  167. package/dist/{as-union-DAnpGBeK.mjs → as-union-CIEUE2Xd.mjs} +32 -11
  168. package/dist/{as-union-D3NoKN1H.cjs → as-union-DqRkSoIr.cjs} +31 -10
  169. package/dist/as-union.cjs +1 -1
  170. package/dist/as-union.d.cts +1 -1
  171. package/dist/as-union.d.mts +1 -1
  172. package/dist/as-union.mjs +1 -1
  173. package/dist/{as-union.vue-BpcREl7L.d.mts → as-union.vue-B3KVCUUI.d.mts} +1 -1
  174. package/dist/{as-union.vue-DuUeLY1X.d.cts → as-union.vue-CGk27JvO.d.cts} +1 -1
  175. package/dist/{as-variant-picker-CihlFH-c.mjs → as-variant-picker-O_6JNWLk.mjs} +2 -2
  176. package/dist/{as-variant-picker-CpCxKFtT.cjs → as-variant-picker-apxtW5rZ.cjs} +2 -2
  177. package/dist/index.cjs +48 -28
  178. package/dist/index.d.cts +23 -23
  179. package/dist/index.d.mts +25 -25
  180. package/dist/index.mjs +31 -30
  181. package/dist/locale.cjs +2 -0
  182. package/dist/locale.d.cts +2 -2
  183. package/dist/locale.d.mts +2 -2
  184. package/dist/locale.mjs +2 -1
  185. package/dist/{types-271BUWyf.d.mts → types-BXTpoOfM.d.cts} +112 -17
  186. package/dist/{types-DbjorSCn.d.cts → types-CXGcf7sO.d.mts} +112 -17
  187. package/dist/{use-as-date-BigwPKEs.cjs → use-as-date-CpkJjcyB.cjs} +21 -17
  188. package/dist/{use-as-date-iSu5NS79.mjs → use-as-date-FsgcnN9l.mjs} +21 -17
  189. package/dist/{use-as-model-texts-Cpx5bHJQ.mjs → use-as-model-texts-D26kn80o.mjs} +1 -1
  190. package/dist/{use-as-model-texts-C3V56UDt.cjs → use-as-model-texts-DR4s80Mb.cjs} +1 -1
  191. package/dist/{use-as-value-help-CQMUkP1r.cjs → use-as-value-help-CIvYUvdk.cjs} +57 -29
  192. package/dist/{use-as-value-help-DE8KCbqo.mjs → use-as-value-help-b4tk3NRF.mjs} +53 -31
  193. package/dist/{use-form-context-U6vg1uqK.cjs → use-form-context-BPlkQwkM.cjs} +16 -0
  194. package/dist/{use-form-context-0FtVVTvf.mjs → use-form-context-D_ejQqCc.mjs} +12 -2
  195. package/dist/{use-as-locale-D4NDG8Vg.d.mts → use-value-help-texts-BL1qfGA2.d.cts} +26 -2
  196. package/dist/use-value-help-texts-LySFdZya.mjs +52 -0
  197. package/dist/{use-as-locale-CtvT6oO5.d.cts → use-value-help-texts-fzgKU4NG.d.mts} +26 -2
  198. package/dist/use-value-help-texts-ikiPKy-U.cjs +57 -0
  199. package/package.json +9 -9
  200. /package/dist/{_editing-hold-D2uqwszu.cjs → _editing-hold-DbM25sc_.cjs} +0 -0
  201. /package/dist/{_editing-hold-D_X5gXHh.mjs → _editing-hold-s65mkJu2.mjs} +0 -0
  202. /package/dist/{_shape-A661ZxnJ.mjs → _shape-CnW2sBRs.mjs} +0 -0
  203. /package/dist/{_shape-7OdPsQao.cjs → _shape-DPDZTV_T.cjs} +0 -0
  204. /package/dist/{as-adornment-shell-CBaksXGT.mjs → as-adornment-shell-C_z_q-mz.mjs} +0 -0
  205. /package/dist/{as-adornment-shell-CmS9BOFm.cjs → as-adornment-shell-CgwCACXA.cjs} +0 -0
  206. /package/dist/{as-field.vue-BWaTLJd6.d.mts → as-field.vue-BMg2Ep8h.d.mts} +0 -0
  207. /package/dist/{as-iterator.vue-BUCohjxw.d.mts → as-iterator.vue-BdUxcovH.d.mts} +0 -0
  208. /package/dist/{use-as-optional-add-flow-DMDd4Ms0.cjs → use-as-optional-add-flow-CsUjhfkc.cjs} +0 -0
  209. /package/dist/{use-as-optional-add-flow-C1Ol6KO2.mjs → use-as-optional-add-flow-WA-R6yXz.mjs} +0 -0
  210. /package/dist/{variant-label-_GLezszT.cjs → variant-label-CSzBE4T6.cjs} +0 -0
  211. /package/dist/{variant-label-CmzTQC2B.mjs → variant-label-Drm3s-28.mjs} +0 -0
@@ -144,9 +144,9 @@ var as_action_default = /* @__PURE__ */ (0, vue.defineComponent)({
144
144
  type: Object,
145
145
  required: false
146
146
  },
147
- valueLabel: {
148
- type: String,
149
- required: false
147
+ displayText: {
148
+ type: Function,
149
+ required: true
150
150
  },
151
151
  singularLabel: {
152
152
  type: String,
@@ -144,9 +144,9 @@ var as_action_default = /* @__PURE__ */ defineComponent({
144
144
  type: Object,
145
145
  required: false
146
146
  },
147
- valueLabel: {
148
- type: String,
149
- required: false
147
+ displayText: {
148
+ type: Function,
149
+ required: true
150
150
  },
151
151
  singularLabel: {
152
152
  type: String,
@@ -1,2 +1,2 @@
1
- const require_as_action = require("./as-action-rT6WXLph.cjs");
1
+ const require_as_action = require("./as-action-BGIbuTxh.cjs");
2
2
  module.exports = require_as_action.as_action_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-action.vue-B7RrjGhF.cjs";
1
+ import { t as _default } from "./as-action.vue-D0twy1JK.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-action.vue-Dtez-EWu.mjs";
1
+ import { t as _default } from "./as-action.vue-Dse77iCr.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_action_default } from "./as-action-kBskX68v.mjs";
1
+ import { t as as_action_default } from "./as-action-CPQ64nNi.mjs";
2
2
  export { as_action_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DbjorSCn.cjs";
1
+ import { s as TAsComponentProps } from "./types-BXTpoOfM.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-action.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-271BUWyf.mjs";
1
+ import { s as TAsComponentProps } from "./types-CXGcf7sO.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-action.vue.d.ts
@@ -1,12 +1,12 @@
1
- import { _ as LOCK_KEY, a as CHANGE_HANDLER_KEY, n as useAsUnionVariant, r as useFormContext } from "./use-form-context-0FtVVTvf.mjs";
1
+ import { i as useInheritedLock, n as useAsUnionVariant, o as CHANGE_HANDLER_KEY, r as useFormContext } from "./use-form-context-D_ejQqCc.mjs";
2
2
  import { o as useAsTexts } from "./use-as-locale-CznDr-7i.mjs";
3
- import { t as as_field_default } from "./as-field-jh5AWref.mjs";
4
- import { t as useAsModelTexts } from "./use-as-model-texts-Cpx5bHJQ.mjs";
5
- import { t as as_collapsible_default } from "./as-collapsible-CvBoWb0D.mjs";
6
- import { t as as_variant_picker_default } from "./as-variant-picker-CihlFH-c.mjs";
7
- import { n as useAsDropdown, t as variantLabel } from "./variant-label-CmzTQC2B.mjs";
8
- import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-C1Ol6KO2.mjs";
9
- import { t as as_array_clear_btn_default } from "./as-array-clear-btn-DGUQY_7_.mjs";
3
+ import { t as as_field_default } from "./as-field-C6iquEB1.mjs";
4
+ import { t as useAsModelTexts } from "./use-as-model-texts-D26kn80o.mjs";
5
+ import { t as as_collapsible_default } from "./as-collapsible-DOIWkQ0v.mjs";
6
+ import { t as as_variant_picker_default } from "./as-variant-picker-O_6JNWLk.mjs";
7
+ import { n as useAsDropdown, t as variantLabel } from "./variant-label-Drm3s-28.mjs";
8
+ import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-WA-R6yXz.mjs";
9
+ import { t as as_array_clear_btn_default } from "./as-array-clear-btn-BFfll2RA.mjs";
10
10
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, normalizeClass, openBlock, reactive, ref, renderList, toDisplayString, unref, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
11
11
  import { getFieldMeta, isUnionField } from "@atscript/ui";
12
12
  //#region src/composables/use-as-array.ts
@@ -25,8 +25,7 @@ import { getFieldMeta, isUnionField } from "@atscript/ui";
25
25
  function useAsArray(field, locked) {
26
26
  const { pathPrefix, getByPath, setByPath, emptyValueOf } = useFormContext("useAsArray");
27
27
  const handleChange = inject(CHANGE_HANDLER_KEY, () => {});
28
- const lock = inject(LOCK_KEY, void 0);
29
- const disabled = locked ?? computed(() => !!lock && (unref(lock.disabled) || unref(lock.readonly)));
28
+ const disabled = locked ?? useInheritedLock();
30
29
  const arrayValue = computed(() => {
31
30
  const v = getByPath(pathPrefix.value);
32
31
  return Array.isArray(v) ? v : [];
@@ -287,9 +286,9 @@ var as_array_default = /* @__PURE__ */ defineComponent({
287
286
  type: Object,
288
287
  required: false
289
288
  },
290
- valueLabel: {
291
- type: String,
292
- required: false
289
+ displayText: {
290
+ type: Function,
291
+ required: true
293
292
  },
294
293
  singularLabel: {
295
294
  type: String,
@@ -363,7 +362,7 @@ var as_array_default = /* @__PURE__ */ defineComponent({
363
362
  const hasVariantPicker = computed(() => unionCtx !== void 0 && unionCtx.variants.length > 1);
364
363
  const optionalEnabled = computed(() => Array.isArray(props.model?.value));
365
364
  const locked = computed(() => !!props.disabled || !!props.readonly);
366
- const { arrayValue, itemKeys, isUnion, unionVariants, isOptional, isEmpty, getItemField, addItem, removeItem, clear, canAdd, canRemove } = useAsArray(arrayField, locked);
365
+ const { arrayValue, itemKeys, isUnion, unionVariants, isOptional, isEmpty, getItemField, addItem, removeItem, clear, canAdd, canRemove } = useAsArray(arrayField);
367
366
  const level = computed(() => props.level ?? 0);
368
367
  const { t } = useAsTexts();
369
368
  const modelT = useAsModelTexts();
@@ -1,12 +1,12 @@
1
- const require_use_form_context = require("./use-form-context-U6vg1uqK.cjs");
1
+ const require_use_form_context = require("./use-form-context-BPlkQwkM.cjs");
2
2
  const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
3
- const require_as_field = require("./as-field-DAClnYiP.cjs");
4
- const require_use_as_model_texts = require("./use-as-model-texts-C3V56UDt.cjs");
5
- const require_as_collapsible = require("./as-collapsible-CTOLQ3IK.cjs");
6
- const require_as_variant_picker = require("./as-variant-picker-CpCxKFtT.cjs");
7
- const require_variant_label = require("./variant-label-_GLezszT.cjs");
8
- const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-DMDd4Ms0.cjs");
9
- const require_as_array_clear_btn = require("./as-array-clear-btn-Dk88CYmS.cjs");
3
+ const require_as_field = require("./as-field-CJMJJfXO.cjs");
4
+ const require_use_as_model_texts = require("./use-as-model-texts-DR4s80Mb.cjs");
5
+ const require_as_collapsible = require("./as-collapsible-Bs0LOl1t.cjs");
6
+ const require_as_variant_picker = require("./as-variant-picker-apxtW5rZ.cjs");
7
+ const require_variant_label = require("./variant-label-CSzBE4T6.cjs");
8
+ const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-CsUjhfkc.cjs");
9
+ const require_as_array_clear_btn = require("./as-array-clear-btn-nYR8rEeL.cjs");
10
10
  let vue = require("vue");
11
11
  let _atscript_ui = require("@atscript/ui");
12
12
  //#region src/composables/use-as-array.ts
@@ -25,8 +25,7 @@ let _atscript_ui = require("@atscript/ui");
25
25
  function useAsArray(field, locked) {
26
26
  const { pathPrefix, getByPath, setByPath, emptyValueOf } = require_use_form_context.useFormContext("useAsArray");
27
27
  const handleChange = (0, vue.inject)(require_use_form_context.CHANGE_HANDLER_KEY, () => {});
28
- const lock = (0, vue.inject)(require_use_form_context.LOCK_KEY, void 0);
29
- const disabled = locked ?? (0, vue.computed)(() => !!lock && ((0, vue.unref)(lock.disabled) || (0, vue.unref)(lock.readonly)));
28
+ const disabled = locked ?? require_use_form_context.useInheritedLock();
30
29
  const arrayValue = (0, vue.computed)(() => {
31
30
  const v = getByPath(pathPrefix.value);
32
31
  return Array.isArray(v) ? v : [];
@@ -287,9 +286,9 @@ var as_array_default = /* @__PURE__ */ (0, vue.defineComponent)({
287
286
  type: Object,
288
287
  required: false
289
288
  },
290
- valueLabel: {
291
- type: String,
292
- required: false
289
+ displayText: {
290
+ type: Function,
291
+ required: true
293
292
  },
294
293
  singularLabel: {
295
294
  type: String,
@@ -363,7 +362,7 @@ var as_array_default = /* @__PURE__ */ (0, vue.defineComponent)({
363
362
  const hasVariantPicker = (0, vue.computed)(() => unionCtx !== void 0 && unionCtx.variants.length > 1);
364
363
  const optionalEnabled = (0, vue.computed)(() => Array.isArray(props.model?.value));
365
364
  const locked = (0, vue.computed)(() => !!props.disabled || !!props.readonly);
366
- const { arrayValue, itemKeys, isUnion, unionVariants, isOptional, isEmpty, getItemField, addItem, removeItem, clear, canAdd, canRemove } = useAsArray(arrayField, locked);
365
+ const { arrayValue, itemKeys, isUnion, unionVariants, isOptional, isEmpty, getItemField, addItem, removeItem, clear, canAdd, canRemove } = useAsArray(arrayField);
367
366
  const level = (0, vue.computed)(() => props.level ?? 0);
368
367
  const { t } = require_use_as_locale.useAsTexts();
369
368
  const modelT = require_use_as_model_texts.useAsModelTexts();
@@ -1,5 +1,5 @@
1
1
  import { o as useAsTexts } from "./use-as-locale-CznDr-7i.mjs";
2
- import { n as as_optional_clear_default } from "./as-variant-picker-CihlFH-c.mjs";
2
+ import { n as as_optional_clear_default } from "./as-variant-picker-O_6JNWLk.mjs";
3
3
  import { createBlock, createElementBlock, defineComponent, openBlock, toDisplayString, unref, withModifiers } from "vue";
4
4
  //#region src/components/internal/as-array-clear-btn.vue?vue&type=script&setup=true&lang.ts
5
5
  const _hoisted_1 = ["disabled", "aria-label"];
@@ -1,5 +1,5 @@
1
1
  const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
2
- const require_as_variant_picker = require("./as-variant-picker-CpCxKFtT.cjs");
2
+ const require_as_variant_picker = require("./as-variant-picker-apxtW5rZ.cjs");
3
3
  let vue = require("vue");
4
4
  //#region src/components/internal/as-array-clear-btn.vue?vue&type=script&setup=true&lang.ts
5
5
  const _hoisted_1 = ["disabled", "aria-label"];
package/dist/as-array.cjs CHANGED
@@ -1,2 +1,2 @@
1
- const require_as_array = require("./as-array-C5lqDDLN.cjs");
1
+ const require_as_array = require("./as-array-CKedVJIz.cjs");
2
2
  module.exports = require_as_array.as_array_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-array.vue-Dp_zd3ZM.cjs";
1
+ import { t as _default } from "./as-array.vue-DJNzEE8-.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-array.vue-Ca_xan2n.mjs";
1
+ import { t as _default } from "./as-array.vue-BCB8mLx-.mjs";
2
2
  export { _default as default };
package/dist/as-array.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { t as as_array_default } from "./as-array-Tt_4kl5r.mjs";
1
+ import { t as as_array_default } from "./as-array-CEtgj6nd.mjs";
2
2
  export { as_array_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-271BUWyf.mjs";
1
+ import { s as TAsComponentProps } from "./types-CXGcf7sO.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-array.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DbjorSCn.cjs";
1
+ import { s as TAsComponentProps } from "./types-BXTpoOfM.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-array.vue.d.ts
@@ -1,9 +1,7 @@
1
- import { o as useAsTexts } from "./use-as-locale-CznDr-7i.mjs";
2
- import { t as isTriState } from "./_shape-A661ZxnJ.mjs";
3
- import { t as as_field_shell_default } from "./as-field-shell-DPzfvPo0.mjs";
4
- import { n as as_optional_clear_default } from "./as-variant-picker-CihlFH-c.mjs";
1
+ import { t as isTriState } from "./_shape-CnW2sBRs.mjs";
2
+ import { t as as_field_shell_default } from "./as-field-shell-DXbAJupk.mjs";
3
+ import { n as as_optional_clear_default } from "./as-variant-picker-O_6JNWLk.mjs";
5
4
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, toDisplayString, unref, watchEffect, withCtx } from "vue";
6
- import { optKey, optLabel } from "@atscript/ui";
7
5
  //#region src/composables/use-as-tri-state-checkbox.ts
8
6
  /**
9
7
  * Tri-state checkbox helper. The visible state is derived from the
@@ -49,6 +47,7 @@ const _hoisted_5 = [
49
47
  "checked",
50
48
  "name",
51
49
  "disabled",
50
+ "aria-required",
52
51
  "aria-invalid",
53
52
  "aria-describedby"
54
53
  ];
@@ -193,9 +192,9 @@ var as_checkbox_default = /* @__PURE__ */ defineComponent({
193
192
  type: Object,
194
193
  required: false
195
194
  },
196
- valueLabel: {
197
- type: String,
198
- required: false
195
+ displayText: {
196
+ type: Function,
197
+ required: true
199
198
  },
200
199
  singularLabel: {
201
200
  type: String,
@@ -271,14 +270,6 @@ var as_checkbox_default = /* @__PURE__ */ defineComponent({
271
270
  props.model.value = v;
272
271
  }
273
272
  });
274
- const { t } = useAsTexts();
275
- const valueLabel = computed(() => {
276
- const value = props.model.value;
277
- if (typeof value !== "boolean") return "";
278
- const key = value ? "true" : "false";
279
- const option = props.options?.find((o) => optKey(o) === key);
280
- return option === void 0 ? t(value ? "UI_YES" : "UI_NO") : optLabel(option);
281
- });
282
273
  return (_ctx, _cache) => {
283
274
  return openBlock(), createBlock(as_field_shell_default, mergeProps(_ctx.$props, {
284
275
  "field-class": "as-checkbox-field",
@@ -294,7 +285,7 @@ var as_checkbox_default = /* @__PURE__ */ defineComponent({
294
285
  role: "group",
295
286
  "aria-labelledby": `${inputId}-label`,
296
287
  "aria-describedby": __props.ariaDescribedBy
297
- }, toDisplayString(valueLabel.value), 9, _hoisted_3)], 64)) : (openBlock(), createElementBlock("label", {
288
+ }, toDisplayString(__props.displayText()), 9, _hoisted_3)], 64)) : (openBlock(), createElementBlock("label", {
298
289
  key: 1,
299
290
  for: inputId,
300
291
  class: normalizeClass(["as-field-label", { "as-checkbox-indeterminate": unref(indeterminate) }])
@@ -308,6 +299,7 @@ var as_checkbox_default = /* @__PURE__ */ defineComponent({
308
299
  onBlur: _cache[1] || (_cache[1] = (...args) => __props.onBlur && __props.onBlur(...args)),
309
300
  name: __props.name,
310
301
  disabled: __props.disabled,
302
+ "aria-required": __props.required || void 0,
311
303
  "aria-invalid": !!__props.error || void 0,
312
304
  "aria-describedby": __props.ariaDescribedBy
313
305
  }, null, 40, _hoisted_5), createTextVNode(" " + toDisplayString(__props.label), 1)], 10, _hoisted_4)),
@@ -1,9 +1,7 @@
1
- const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
2
- const require__shape = require("./_shape-7OdPsQao.cjs");
3
- const require_as_field_shell = require("./as-field-shell-Cu8jxZYj.cjs");
4
- const require_as_variant_picker = require("./as-variant-picker-CpCxKFtT.cjs");
1
+ const require__shape = require("./_shape-DPDZTV_T.cjs");
2
+ const require_as_field_shell = require("./as-field-shell-CMq52Z6e.cjs");
3
+ const require_as_variant_picker = require("./as-variant-picker-apxtW5rZ.cjs");
5
4
  let vue = require("vue");
6
- let _atscript_ui = require("@atscript/ui");
7
5
  //#region src/composables/use-as-tri-state-checkbox.ts
8
6
  /**
9
7
  * Tri-state checkbox helper. The visible state is derived from the
@@ -49,6 +47,7 @@ const _hoisted_5 = [
49
47
  "checked",
50
48
  "name",
51
49
  "disabled",
50
+ "aria-required",
52
51
  "aria-invalid",
53
52
  "aria-describedby"
54
53
  ];
@@ -193,9 +192,9 @@ var as_checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
193
192
  type: Object,
194
193
  required: false
195
194
  },
196
- valueLabel: {
197
- type: String,
198
- required: false
195
+ displayText: {
196
+ type: Function,
197
+ required: true
199
198
  },
200
199
  singularLabel: {
201
200
  type: String,
@@ -271,14 +270,6 @@ var as_checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
271
270
  props.model.value = v;
272
271
  }
273
272
  });
274
- const { t } = require_use_as_locale.useAsTexts();
275
- const valueLabel = (0, vue.computed)(() => {
276
- const value = props.model.value;
277
- if (typeof value !== "boolean") return "";
278
- const key = value ? "true" : "false";
279
- const option = props.options?.find((o) => (0, _atscript_ui.optKey)(o) === key);
280
- return option === void 0 ? t(value ? "UI_YES" : "UI_NO") : (0, _atscript_ui.optLabel)(option);
281
- });
282
273
  return (_ctx, _cache) => {
283
274
  return (0, vue.openBlock)(), (0, vue.createBlock)(require_as_field_shell.as_field_shell_default, (0, vue.mergeProps)(_ctx.$props, {
284
275
  "field-class": "as-checkbox-field",
@@ -294,7 +285,7 @@ var as_checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
294
285
  role: "group",
295
286
  "aria-labelledby": `${inputId}-label`,
296
287
  "aria-describedby": __props.ariaDescribedBy
297
- }, (0, vue.toDisplayString)(valueLabel.value), 9, _hoisted_3)], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", {
288
+ }, (0, vue.toDisplayString)(__props.displayText()), 9, _hoisted_3)], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("label", {
298
289
  key: 1,
299
290
  for: inputId,
300
291
  class: (0, vue.normalizeClass)(["as-field-label", { "as-checkbox-indeterminate": (0, vue.unref)(indeterminate) }])
@@ -308,6 +299,7 @@ var as_checkbox_default = /* @__PURE__ */ (0, vue.defineComponent)({
308
299
  onBlur: _cache[1] || (_cache[1] = (...args) => __props.onBlur && __props.onBlur(...args)),
309
300
  name: __props.name,
310
301
  disabled: __props.disabled,
302
+ "aria-required": __props.required || void 0,
311
303
  "aria-invalid": !!__props.error || void 0,
312
304
  "aria-describedby": __props.ariaDescribedBy
313
305
  }, null, 40, _hoisted_5), (0, vue.createTextVNode)(" " + (0, vue.toDisplayString)(__props.label), 1)], 10, _hoisted_4)),
@@ -1,2 +1,2 @@
1
- const require_as_checkbox = require("./as-checkbox-D7NywgIa.cjs");
1
+ const require_as_checkbox = require("./as-checkbox-DKaEfo7e.cjs");
2
2
  module.exports = require_as_checkbox.as_checkbox_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-checkbox.vue-Bf3qqcKu.cjs";
1
+ import { t as _default } from "./as-checkbox.vue-fPeyQDp5.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-checkbox.vue-BClSBx1g.mjs";
1
+ import { t as _default } from "./as-checkbox.vue-CoCgt4vV.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_checkbox_default } from "./as-checkbox-CCX9E19U.mjs";
1
+ import { t as as_checkbox_default } from "./as-checkbox-B7C-CvhT.mjs";
2
2
  export { as_checkbox_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-271BUWyf.mjs";
1
+ import { s as TAsComponentProps } from "./types-CXGcf7sO.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-checkbox.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DbjorSCn.cjs";
1
+ import { s as TAsComponentProps } from "./types-BXTpoOfM.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-checkbox.vue.d.ts
@@ -1,5 +1,5 @@
1
1
  const require_focus_after_toggle = require("./focus-after-toggle-BhZGqrUK.cjs");
2
- const require_use_form_context = require("./use-form-context-U6vg1uqK.cjs");
2
+ const require_use_form_context = require("./use-form-context-BPlkQwkM.cjs");
3
3
  const require_use_as_nested_sections_store = require("./use-as-nested-sections-store-ApstV9NL.cjs");
4
4
  const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
5
5
  let vue = require("vue");
@@ -1,5 +1,5 @@
1
1
  import { i as useAsFocusFirstAfter } from "./focus-after-toggle-DAwak7c1.mjs";
2
- import { t as formatIndexedLabelParts } from "./use-form-context-0FtVVTvf.mjs";
2
+ import { t as formatIndexedLabelParts } from "./use-form-context-D_ejQqCc.mjs";
3
3
  import { i as useAsNestedSectionsStore, t as DESCENDANT_ERROR_COUNTS_KEY } from "./use-as-nested-sections-store-CkrMJbnN.mjs";
4
4
  import { o as useAsTexts } from "./use-as-locale-CznDr-7i.mjs";
5
5
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, inject, normalizeClass, onBeforeUnmount, onMounted, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, vShow, withCtx, withDirectives } from "vue";
@@ -1,2 +1,2 @@
1
- const require_as_collapsible = require("./as-collapsible-CTOLQ3IK.cjs");
1
+ const require_as_collapsible = require("./as-collapsible-Bs0LOl1t.cjs");
2
2
  module.exports = require_as_collapsible.as_collapsible_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-collapsible.vue-BXdpM7_K.cjs";
1
+ import { t as _default } from "./as-collapsible.vue-CH3ez8zm.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-collapsible.vue-CUhn1EVX.mjs";
1
+ import { t as _default } from "./as-collapsible.vue-DewV2oaE.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_collapsible_default } from "./as-collapsible-CvBoWb0D.mjs";
1
+ import { t as as_collapsible_default } from "./as-collapsible-DOIWkQ0v.mjs";
2
2
  export { as_collapsible_default as default };
@@ -1,4 +1,4 @@
1
- import { a as TAsCollapsibleSlots, i as TAsCollapsibleProps } from "./types-DbjorSCn.cjs";
1
+ import { a as TAsCollapsibleSlots, i as TAsCollapsibleProps } from "./types-BXTpoOfM.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/as-collapsible.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { a as TAsCollapsibleSlots, i as TAsCollapsibleProps } from "./types-271BUWyf.mjs";
1
+ import { a as TAsCollapsibleSlots, i as TAsCollapsibleProps } from "./types-CXGcf7sO.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/as-collapsible.vue.d.ts
@@ -1,6 +1,6 @@
1
- const require_as_field_shell = require("./as-field-shell-Cu8jxZYj.cjs");
2
- const require_as_adornment_shell = require("./as-adornment-shell-CmS9BOFm.cjs");
3
- const require_use_as_date = require("./use-as-date-BigwPKEs.cjs");
1
+ const require_as_field_shell = require("./as-field-shell-CMq52Z6e.cjs");
2
+ const require_as_adornment_shell = require("./as-adornment-shell-CgwCACXA.cjs");
3
+ const require_use_as_date = require("./use-as-date-CpkJjcyB.cjs");
4
4
  let vue = require("vue");
5
5
  //#endregion
6
6
  //#region src/components/defaults/as-date.vue
@@ -142,9 +142,9 @@ var as_date_default = /* @__PURE__ */ (0, vue.defineComponent)({
142
142
  type: Object,
143
143
  required: false
144
144
  },
145
- valueLabel: {
146
- type: String,
147
- required: false
145
+ displayText: {
146
+ type: Function,
147
+ required: true
148
148
  },
149
149
  singularLabel: {
150
150
  type: String,
@@ -1,6 +1,6 @@
1
- import { t as as_field_shell_default } from "./as-field-shell-DPzfvPo0.mjs";
2
- import { t as as_adornment_shell_default } from "./as-adornment-shell-CBaksXGT.mjs";
3
- import { n as as_date_control_default, t as useAsDate } from "./use-as-date-iSu5NS79.mjs";
1
+ import { t as as_field_shell_default } from "./as-field-shell-DXbAJupk.mjs";
2
+ import { t as as_adornment_shell_default } from "./as-adornment-shell-C_z_q-mz.mjs";
3
+ import { n as as_date_control_default, t as useAsDate } from "./use-as-date-FsgcnN9l.mjs";
4
4
  import { computed, createBlock, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, unref, withCtx } from "vue";
5
5
  //#endregion
6
6
  //#region src/components/defaults/as-date.vue
@@ -142,9 +142,9 @@ var as_date_default = /* @__PURE__ */ defineComponent({
142
142
  type: Object,
143
143
  required: false
144
144
  },
145
- valueLabel: {
146
- type: String,
147
- required: false
145
+ displayText: {
146
+ type: Function,
147
+ required: true
148
148
  },
149
149
  singularLabel: {
150
150
  type: String,
package/dist/as-date.cjs CHANGED
@@ -1,2 +1,2 @@
1
- const require_as_date = require("./as-date-Ubw_1-Ai.cjs");
1
+ const require_as_date = require("./as-date-BMKMiM_d.cjs");
2
2
  module.exports = require_as_date.as_date_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-date.vue-B5NWZ5ON.cjs";
1
+ import { t as _default } from "./as-date.vue-BSghCVx0.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-date.vue-CJQOrfj3.mjs";
1
+ import { t as _default } from "./as-date.vue-CPgqqKMB.mjs";
2
2
  export { _default as default };
package/dist/as-date.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { t as as_date_default } from "./as-date-3haOaiAG.mjs";
1
+ import { t as as_date_default } from "./as-date-CFQtrpZT.mjs";
2
2
  export { as_date_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DbjorSCn.cjs";
1
+ import { s as TAsComponentProps } from "./types-BXTpoOfM.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-date.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-271BUWyf.mjs";
1
+ import { s as TAsComponentProps } from "./types-CXGcf7sO.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-date.vue.d.ts
@@ -1,6 +1,6 @@
1
- const require_as_field_shell = require("./as-field-shell-Cu8jxZYj.cjs");
2
- const require_as_adornment_shell = require("./as-adornment-shell-CmS9BOFm.cjs");
3
- const require_use_as_date = require("./use-as-date-BigwPKEs.cjs");
1
+ const require_as_field_shell = require("./as-field-shell-CMq52Z6e.cjs");
2
+ const require_as_adornment_shell = require("./as-adornment-shell-CgwCACXA.cjs");
3
+ const require_use_as_date = require("./use-as-date-CpkJjcyB.cjs");
4
4
  let vue = require("vue");
5
5
  //#endregion
6
6
  //#region src/components/defaults/as-datetime.vue
@@ -142,9 +142,9 @@ var as_datetime_default = /* @__PURE__ */ (0, vue.defineComponent)({
142
142
  type: Object,
143
143
  required: false
144
144
  },
145
- valueLabel: {
146
- type: String,
147
- required: false
145
+ displayText: {
146
+ type: Function,
147
+ required: true
148
148
  },
149
149
  singularLabel: {
150
150
  type: String,
@@ -1,6 +1,6 @@
1
- import { t as as_field_shell_default } from "./as-field-shell-DPzfvPo0.mjs";
2
- import { t as as_adornment_shell_default } from "./as-adornment-shell-CBaksXGT.mjs";
3
- import { n as as_date_control_default, t as useAsDate } from "./use-as-date-iSu5NS79.mjs";
1
+ import { t as as_field_shell_default } from "./as-field-shell-DXbAJupk.mjs";
2
+ import { t as as_adornment_shell_default } from "./as-adornment-shell-C_z_q-mz.mjs";
3
+ import { n as as_date_control_default, t as useAsDate } from "./use-as-date-FsgcnN9l.mjs";
4
4
  import { computed, createBlock, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, unref, withCtx } from "vue";
5
5
  //#endregion
6
6
  //#region src/components/defaults/as-datetime.vue
@@ -142,9 +142,9 @@ var as_datetime_default = /* @__PURE__ */ defineComponent({
142
142
  type: Object,
143
143
  required: false
144
144
  },
145
- valueLabel: {
146
- type: String,
147
- required: false
145
+ displayText: {
146
+ type: Function,
147
+ required: true
148
148
  },
149
149
  singularLabel: {
150
150
  type: String,
@@ -1,2 +1,2 @@
1
- const require_as_datetime = require("./as-datetime--7bl-yGW.cjs");
1
+ const require_as_datetime = require("./as-datetime-Bl1K4U51.cjs");
2
2
  module.exports = require_as_datetime.as_datetime_default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-datetime.vue-BvmFdGxe.cjs";
1
+ import { t as _default } from "./as-datetime.vue-CjDTsMDw.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-datetime.vue-CzMz_RUy.mjs";
1
+ import { t as _default } from "./as-datetime.vue-B-KRC-0X.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { t as as_datetime_default } from "./as-datetime-BTekpasP.mjs";
1
+ import { t as as_datetime_default } from "./as-datetime-DqfSymmL.mjs";
2
2
  export { as_datetime_default as default };
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-DbjorSCn.cjs";
1
+ import { s as TAsComponentProps } from "./types-CXGcf7sO.mjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-datetime.vue.d.ts
@@ -1,4 +1,4 @@
1
- import { s as TAsComponentProps } from "./types-271BUWyf.mjs";
1
+ import { s as TAsComponentProps } from "./types-BXTpoOfM.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/defaults/as-datetime.vue.d.ts