@atscript/vue-form 0.1.189 → 0.1.190
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_shape-C-TxQCFa.cjs → _shape-BDO-1MzF.cjs} +34 -0
- package/dist/{_shape-bdsPEB8P.mjs → _shape-DhwW2SvD.mjs} +23 -1
- package/dist/{as-action-B_vPR2YE.cjs → as-action-B3NIgGTV.cjs} +4 -0
- package/dist/{as-action-BzdLJvyy.mjs → as-action-B69WsGIB.mjs} +4 -0
- package/dist/as-action.cjs +1 -1
- package/dist/as-action.d.cts +1 -1
- package/dist/as-action.d.mts +1 -1
- package/dist/as-action.mjs +1 -1
- package/dist/{as-action.vue-BmHLq5PU.d.cts → as-action.vue-DW10afXf.d.cts} +1 -1
- package/dist/{as-action.vue-BskkSynK.d.mts → as-action.vue-FAmO9MMw.d.mts} +1 -1
- package/dist/{as-array-BKC7bBXf.mjs → as-array-B0wekrwk.mjs} +12 -8
- package/dist/{as-array-C4Vv6k5I.cjs → as-array-BJYlPXad.cjs} +12 -8
- package/dist/{as-array-clear-btn-ConR3zxV.mjs → as-array-clear-btn-Bi4wDHOv.mjs} +2 -2
- package/dist/{as-array-clear-btn-DeWeUqoX.cjs → as-array-clear-btn-CzojQsEk.cjs} +2 -2
- package/dist/as-array.cjs +1 -1
- package/dist/as-array.d.cts +1 -1
- package/dist/as-array.d.mts +1 -1
- package/dist/as-array.mjs +1 -1
- package/dist/{as-array.vue-BWUhWKKn.d.cts → as-array.vue-DetU1gZz.d.cts} +1 -1
- package/dist/{as-array.vue-C4mSQIUB.d.mts → as-array.vue-Q8eE5Ut1.d.mts} +1 -1
- package/dist/{as-checkbox-Dux-KJVN.mjs → as-checkbox-BKQPJbiW.mjs} +7 -3
- package/dist/{as-checkbox-NjLPm4Kk.cjs → as-checkbox-Dg4CqOYy.cjs} +7 -3
- package/dist/as-checkbox.cjs +1 -1
- package/dist/as-checkbox.d.cts +1 -1
- package/dist/as-checkbox.d.mts +1 -1
- package/dist/as-checkbox.mjs +1 -1
- package/dist/{as-checkbox.vue-B_LntkDl.d.cts → as-checkbox.vue-BCZqbPZs.d.cts} +1 -1
- package/dist/{as-checkbox.vue-CPLwFPve.d.mts → as-checkbox.vue-D3PPVWiS.d.mts} +1 -1
- package/dist/{as-collapsible-FoPTu4lF.mjs → as-collapsible-DJqAZXR7.mjs} +2 -2
- package/dist/{as-collapsible-BXQ481-h.cjs → as-collapsible-Dtt4QN7s.cjs} +2 -2
- package/dist/as-collapsible.cjs +1 -1
- package/dist/as-collapsible.d.cts +1 -1
- package/dist/as-collapsible.d.mts +1 -1
- package/dist/as-collapsible.mjs +1 -1
- package/dist/{as-collapsible.vue-9XMYb39s.d.cts → as-collapsible.vue-Bxenwlh8.d.cts} +1 -1
- package/dist/{as-collapsible.vue-BtUZuqGF.d.mts → as-collapsible.vue-lYcXVC_E.d.mts} +1 -1
- package/dist/{as-date-DSvDDvwH.cjs → as-date-BKR1O5BR.cjs} +7 -3
- package/dist/{as-date-DUUpb8ph.mjs → as-date-BoBkff96.mjs} +7 -3
- package/dist/as-date.cjs +1 -1
- package/dist/as-date.d.cts +1 -1
- package/dist/as-date.d.mts +1 -1
- package/dist/as-date.mjs +1 -1
- package/dist/{as-date.vue-CQZp-yqF.d.mts → as-date.vue-ByntHQIq.d.mts} +1 -1
- package/dist/{as-date.vue-DQVHGLMc.d.cts → as-date.vue-CS14s3fE.d.cts} +1 -1
- package/dist/{as-datetime-Dy1tGMrO.mjs → as-datetime-Ci3H4Fjy.mjs} +7 -3
- package/dist/{as-datetime-DZBCBpov.cjs → as-datetime-DH5tE6dB.cjs} +7 -3
- package/dist/as-datetime.cjs +1 -1
- package/dist/as-datetime.d.cts +1 -1
- package/dist/as-datetime.d.mts +1 -1
- package/dist/as-datetime.mjs +1 -1
- package/dist/{as-datetime.vue-DrWth1Pe.d.mts → as-datetime.vue-B-O9jSjL.d.mts} +1 -1
- package/dist/{as-datetime.vue-TMgV54Z5.d.cts → as-datetime.vue-BJAZj8Pi.d.cts} +1 -1
- package/dist/{as-decimal-DYBEUokN.cjs → as-decimal-BuvchyCs.cjs} +7 -3
- package/dist/{as-decimal-HvUQANde.mjs → as-decimal-CseZXB7F.mjs} +7 -3
- package/dist/as-decimal.cjs +1 -1
- package/dist/as-decimal.d.cts +1 -1
- package/dist/as-decimal.d.mts +1 -1
- package/dist/as-decimal.mjs +1 -1
- package/dist/{as-decimal.vue-Bw9vY0br.d.mts → as-decimal.vue-CQXnsDs9.d.mts} +1 -1
- package/dist/{as-decimal.vue-D-C_ywhy.d.cts → as-decimal.vue-F9YMotuz.d.cts} +1 -1
- package/dist/{as-field-C3lIiHCI.cjs → as-field-BHUA1YpM.cjs} +93 -57
- package/dist/{as-field-R3KYssad.mjs → as-field-CvjOHQ9H.mjs} +94 -52
- package/dist/{as-field-shell-BQPySL71.mjs → as-field-shell-CSxqm12l.mjs} +8 -4
- package/dist/{as-field-shell-BOeyo1FP.cjs → as-field-shell-P7p47Pbr.cjs} +8 -4
- package/dist/as-field-shell.cjs +1 -1
- package/dist/as-field-shell.d.cts +1 -1
- package/dist/as-field-shell.d.mts +1 -1
- package/dist/as-field-shell.mjs +1 -1
- package/dist/{as-field-shell.vue-CouocQ2f.d.cts → as-field-shell.vue-CQSSK4hh.d.mts} +1 -1
- package/dist/{as-field-shell.vue-DIYpxzud.d.mts → as-field-shell.vue-DsYdUv7b.d.cts} +1 -1
- package/dist/as-field.cjs +1 -1
- package/dist/as-field.mjs +1 -1
- package/dist/{as-form-CRDqdXnl.mjs → as-form-BYi1rubO.mjs} +5 -5
- package/dist/{as-form-BTNctHb9.cjs → as-form-rI4daFP2.cjs} +5 -5
- package/dist/as-form.cjs +1 -1
- package/dist/as-form.d.cts +1 -1
- package/dist/as-form.d.mts +1 -1
- package/dist/as-form.mjs +1 -1
- package/dist/{as-form.vue-BI5mC0o7.d.cts → as-form.vue-C7yj7eRt.d.cts} +34 -3
- package/dist/{as-form.vue-BJ79OYA6.d.mts → as-form.vue-xvFFkRdo.d.mts} +34 -3
- package/dist/{as-input-BRJYoNF0.cjs → as-input-DNIY5kGw.cjs} +6 -2
- package/dist/{as-input-C3MkFToh.mjs → as-input-DVeDzKkd.mjs} +6 -2
- package/dist/{as-input-control-DAbaW7GG.cjs → as-input-control-D8xoJfr7.cjs} +7 -3
- package/dist/{as-input-control-B3h--Qe0.mjs → as-input-control-Wygcey6h.mjs} +7 -3
- package/dist/as-input.cjs +1 -1
- package/dist/as-input.d.cts +1 -1
- package/dist/as-input.d.mts +1 -1
- package/dist/as-input.mjs +1 -1
- package/dist/{as-input.vue-D4UQSSmo.d.cts → as-input.vue-BE5H25Xa.d.mts} +1 -1
- package/dist/{as-input.vue-Q5EXxW3x.d.mts → as-input.vue-DsSCA6KN.d.cts} +1 -1
- package/dist/{as-iterator-Bd1fXGs6.mjs → as-iterator-BTJ37tre.mjs} +2 -2
- package/dist/{as-iterator-BB7DB04y.cjs → as-iterator-rF5FyWGS.cjs} +2 -2
- package/dist/as-iterator.cjs +1 -1
- package/dist/as-iterator.mjs +1 -1
- package/dist/{as-multi-select-DPpAKUzQ.cjs → as-multi-select-CXFofdQ1.cjs} +6 -2
- package/dist/{as-multi-select-4awmF8mN.mjs → as-multi-select-CkMSlX1e.mjs} +6 -2
- package/dist/as-multi-select.cjs +1 -1
- package/dist/as-multi-select.d.cts +1 -1
- package/dist/as-multi-select.d.mts +1 -1
- package/dist/as-multi-select.mjs +1 -1
- package/dist/{as-multi-select.vue-Ce-V2A81.d.mts → as-multi-select.vue-BDt4AtNm.d.mts} +1 -1
- package/dist/{as-multi-select.vue-Iy3G3eu8.d.cts → as-multi-select.vue-CpuSkukC.d.cts} +1 -1
- package/dist/{as-number-CAVTkGcp.cjs → as-number-BwzyMxl4.cjs} +8 -4
- package/dist/{as-number-WcRwaMOt.mjs → as-number-mQHbJDoh.mjs} +8 -4
- package/dist/as-number.cjs +1 -1
- package/dist/as-number.d.cts +1 -1
- package/dist/as-number.d.mts +1 -1
- package/dist/as-number.mjs +1 -1
- package/dist/{as-number.vue-FKc6UVot.d.mts → as-number.vue-89e-jfVe.d.cts} +1 -1
- package/dist/{as-number.vue-PH0wnd3B.d.cts → as-number.vue-CCTMDQYH.d.mts} +1 -1
- package/dist/{as-object-Bnyck833.cjs → as-object-DIj1yGSZ.cjs} +9 -5
- package/dist/{as-object-3Tlk8bjl.mjs → as-object-JuruOEiL.mjs} +9 -5
- package/dist/as-object.cjs +1 -1
- package/dist/as-object.d.cts +1 -1
- package/dist/as-object.d.mts +1 -1
- package/dist/as-object.mjs +1 -1
- package/dist/{as-object.vue-B0qKMWPB.d.cts → as-object.vue-CVpEmBqS.d.mts} +1 -1
- package/dist/{as-object.vue-DLCEWLe4.d.mts → as-object.vue-tIaVshqY.d.cts} +1 -1
- package/dist/{as-paragraph-CQCdz9FR.mjs → as-paragraph-B49pXlhP.mjs} +4 -0
- package/dist/{as-paragraph-0opsr433.cjs → as-paragraph-wAHRsd_e.cjs} +4 -0
- package/dist/as-paragraph.cjs +1 -1
- package/dist/as-paragraph.d.cts +1 -1
- package/dist/as-paragraph.d.mts +1 -1
- package/dist/as-paragraph.mjs +1 -1
- package/dist/{as-paragraph.vue-BIrekTzU.d.mts → as-paragraph.vue-BUdQBjDf.d.cts} +1 -1
- package/dist/{as-paragraph.vue-C8JeTZ1s.d.cts → as-paragraph.vue-CS_GUIlF.d.mts} +1 -1
- package/dist/{as-radio-8udWHC-l.mjs → as-radio-C5mVvsVH.mjs} +7 -3
- package/dist/{as-radio-P9rzMYNp.cjs → as-radio-DQO5uQL3.cjs} +7 -3
- package/dist/as-radio.cjs +1 -1
- package/dist/as-radio.d.cts +1 -1
- package/dist/as-radio.d.mts +1 -1
- package/dist/as-radio.mjs +1 -1
- package/dist/{as-radio.vue-Rwknlgr7.d.mts → as-radio.vue-BcTgNQsc.d.mts} +1 -1
- package/dist/{as-radio.vue-jeHiMfc7.d.cts → as-radio.vue-BmmP8H-m.d.cts} +1 -1
- package/dist/as-ref-DHGlYdUh.mjs +422 -0
- package/dist/as-ref-fha5dEeo.cjs +427 -0
- package/dist/as-ref.cjs +1 -1
- package/dist/as-ref.d.cts +1 -1
- package/dist/as-ref.d.mts +1 -1
- package/dist/as-ref.mjs +1 -1
- package/dist/as-ref.vue-DZeTp8EO.d.cts +19 -0
- package/dist/as-ref.vue-Gwv8EEKY.d.mts +19 -0
- package/dist/{as-select-DVbegHcv.cjs → as-select-B_ZB1_a5.cjs} +20 -7
- package/dist/{as-select-3fZCzWku.mjs → as-select-C1lqeKqt.mjs} +21 -8
- package/dist/as-select.cjs +1 -1
- package/dist/as-select.d.cts +1 -1
- package/dist/as-select.d.mts +1 -1
- package/dist/as-select.mjs +1 -1
- package/dist/{as-select.vue-BIpvu4ba.d.mts → as-select.vue-BMNGb5eH.d.mts} +1 -1
- package/dist/{as-select.vue-eMp1zUQE.d.cts → as-select.vue-C3NvSQ2N.d.cts} +1 -1
- package/dist/{as-time-W1ExfNxT.cjs → as-time-D7oluFpZ.cjs} +7 -3
- package/dist/{as-time-BtTiGWOr.mjs → as-time-D9VTZzsD.mjs} +7 -3
- package/dist/as-time.cjs +1 -1
- package/dist/as-time.d.cts +1 -1
- package/dist/as-time.d.mts +1 -1
- package/dist/as-time.mjs +1 -1
- package/dist/{as-time.vue-DAeXJ0Zv.d.cts → as-time.vue-CcEfdWI8.d.cts} +1 -1
- package/dist/{as-time.vue-DudhL8yx.d.mts → as-time.vue-Dc5ruv4m.d.mts} +1 -1
- package/dist/{as-tuple-dfvCxm4R.cjs → as-tuple--4iQOc9p.cjs} +10 -6
- package/dist/{as-tuple-CBOp5N1c.mjs → as-tuple-DwP6bvW7.mjs} +10 -6
- package/dist/as-tuple.cjs +1 -1
- package/dist/as-tuple.d.cts +1 -1
- package/dist/as-tuple.d.mts +1 -1
- package/dist/as-tuple.mjs +1 -1
- package/dist/{as-tuple.vue-C2KTK2RH.d.cts → as-tuple.vue-Cyzfh6Z0.d.mts} +1 -1
- package/dist/{as-tuple.vue-CLIDqVFv.d.mts → as-tuple.vue-DzC4tINc.d.cts} +1 -1
- package/dist/{as-union-B0h0AlsZ.cjs → as-union-CvSnU1YB.cjs} +9 -5
- package/dist/{as-union-izUcMyQt.mjs → as-union-Cy7zefJl.mjs} +9 -5
- package/dist/as-union.cjs +1 -1
- package/dist/as-union.d.cts +1 -1
- package/dist/as-union.d.mts +1 -1
- package/dist/as-union.mjs +1 -1
- package/dist/{as-union.vue-43Gq2Lh0.d.cts → as-union.vue-CvN-SR9q.d.cts} +1 -1
- package/dist/{as-union.vue-CllUYjuh.d.mts → as-union.vue-CwNJYhKj.d.mts} +1 -1
- package/dist/{as-variant-picker-D0I5qR2w.mjs → as-variant-picker-3P9wXCUf.mjs} +3 -3
- package/dist/{as-variant-picker-oELBST6P.cjs → as-variant-picker-BYrf1YUe.cjs} +3 -3
- package/dist/index.cjs +29 -29
- package/dist/index.d.cts +22 -22
- package/dist/index.d.mts +22 -22
- package/dist/index.mjs +28 -28
- package/dist/locale.cjs +1 -1
- package/dist/locale.mjs +1 -1
- package/dist/{types-BbGuPzZk.d.cts → types-COv2t_de.d.cts} +32 -2
- package/dist/{types-DxmDaJXr.d.mts → types-DSXbJndw.d.mts} +32 -2
- package/dist/{use-as-date-DFcdIfyr.cjs → use-as-date-CAmqx1O7.cjs} +4 -0
- package/dist/{use-as-date-DgPRL0O2.mjs → use-as-date-CpXG9klN.mjs} +4 -0
- package/dist/{use-as-model-texts-CLzPZ6Go.cjs → use-as-model-texts-DtqNcugR.cjs} +2 -2
- package/dist/{use-as-model-texts-D3uf3X8L.mjs → use-as-model-texts-Duq04LpS.mjs} +2 -2
- package/dist/{use-as-value-help-BWiBDup3.mjs → use-as-value-help-D16evDGm.mjs} +93 -10
- package/dist/{use-as-value-help-BG6aN4yQ.cjs → use-as-value-help-XPeNhfJY.cjs} +97 -8
- package/dist/{use-form-context-C5Q9Gznl.cjs → use-form-context-7CK50mTi.cjs} +1 -1
- package/dist/{use-form-context-Cw-ETG8f.mjs → use-form-context-ba0N--m6.mjs} +1 -1
- package/package.json +9 -9
- package/dist/as-ref-BvPM3G73.cjs +0 -353
- package/dist/as-ref-C-U7wotf.mjs +0 -348
- package/dist/as-ref.vue-D0A4vPXL.d.mts +0 -9
- package/dist/as-ref.vue-WufE6ltR.d.cts +0 -9
- /package/dist/{_editing-hold-ChPIf1ZC.cjs → _editing-hold-Bj0kZjCr.cjs} +0 -0
- /package/dist/{_editing-hold-DVfB2wc_.mjs → _editing-hold-C6emgUTM.mjs} +0 -0
- /package/dist/{use-as-locale-WBFjL_OO.mjs → use-as-locale-CznDr-7i.mjs} +0 -0
- /package/dist/{use-as-locale-BHltz8Wp.cjs → use-as-locale-eo7FyfaZ.cjs} +0 -0
- /package/dist/{variant-label-zYWRiOjJ.mjs → variant-label-CmzTQC2B.mjs} +0 -0
- /package/dist/{variant-label-CYIvHn4B.cjs → variant-label-_GLezszT.cjs} +0 -0
package/dist/as-form.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _default, t as Props } from "./as-form.vue-
|
|
1
|
+
import { n as _default, t as Props } from "./as-form.vue-xvFFkRdo.mjs";
|
|
2
2
|
export { Props, _default as default };
|
package/dist/as-form.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_form_default } from "./as-form-
|
|
1
|
+
import { t as as_form_default } from "./as-form-BYi1rubO.mjs";
|
|
2
2
|
export { as_form_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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";
|
|
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";
|
|
5
|
-
import { ClientFactory, ClientFactory as ClientFactory$1, CreateFormDefOptions, FormArrayFieldDef, FormDef, FormDiffOptions as FormDiffOptions$1, FormFieldChange, FormFieldChange as FormFieldChange$1, FormFieldDef, FormRebaseOptions as FormRebaseOptions$1, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, TResolveOptions, TypedClientFactory, UiT, UserTextT, ValueHelpInfo, getDefaultClientFactory, hasFieldMeta, isFieldHidden, joinPath, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
5
|
+
import { ClientFactory, ClientFactory as ClientFactory$1, CreateFormDefOptions, FormArrayFieldDef, FormDef, FormDiffOptions as FormDiffOptions$1, FormFieldChange, FormFieldChange as FormFieldChange$1, FormFieldDef, FormRebaseOptions as FormRebaseOptions$1, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, TResolveOptions, TypedClientFactory, UiT, UserTextT, ValueHelpInfo, ValueHelpScope, getDefaultClientFactory, hasFieldMeta, isFieldHidden, joinPath, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
6
6
|
import * as _atscript_typescript_utils0 from "@atscript/typescript/utils";
|
|
7
7
|
import { TAtscriptAnnotatedType } from "@atscript/typescript/utils";
|
|
8
8
|
import { TFnScope } from "@atscript/ui-fns";
|
|
@@ -213,6 +213,19 @@ interface UseAsValueHelpOptions {
|
|
|
213
213
|
value: unknown;
|
|
214
214
|
};
|
|
215
215
|
onBlur: () => void;
|
|
216
|
+
/**
|
|
217
|
+
* Whether the picker's list is open. A changed host value
|
|
218
|
+
* (`ValueHelpInfo.hostFilter`) searches again at once while it is, else on
|
|
219
|
+
* the next open. Left out: at once. Since 0.1.190.
|
|
220
|
+
*/
|
|
221
|
+
open?: Ref<boolean>;
|
|
222
|
+
/** Rows per search. Default 20. Since 0.1.190. */
|
|
223
|
+
limit?: number;
|
|
224
|
+
/**
|
|
225
|
+
* While it returns `true` (a read-only field, which opens no list) the
|
|
226
|
+
* picker asks no rows; with `open`, the first open searches. Since 0.1.190.
|
|
227
|
+
*/
|
|
228
|
+
readonly?: () => boolean;
|
|
216
229
|
}
|
|
217
230
|
type UseAsValueHelpStatus = "loading" | "ready" | "error";
|
|
218
231
|
interface UseAsValueHelpReturn {
|
|
@@ -223,12 +236,30 @@ interface UseAsValueHelpReturn {
|
|
|
223
236
|
searching: Ref<boolean>;
|
|
224
237
|
labelIsFkValue: ComputedRef<boolean>;
|
|
225
238
|
kickoff: () => Promise<void>;
|
|
239
|
+
/**
|
|
240
|
+
* The one pick path: commits `item[info.targetField]`, writes the binding's
|
|
241
|
+
* fills (`ValueHelpInfo.fill`) into their sibling fields as edits, and
|
|
242
|
+
* validates the field (`onBlur`).
|
|
243
|
+
*/
|
|
226
244
|
selectItem: (item: Record<string, unknown>) => void;
|
|
227
245
|
/**
|
|
228
246
|
* Clear the picker: set the model to `value` (`undefined` — unset — when
|
|
229
|
-
* omitted) and empty the search text.
|
|
247
|
+
* omitted) and empty the search text. A field this field's last pick filled
|
|
248
|
+
* is cleared too (`undefined`) while it still holds what the pick wrote —
|
|
249
|
+
* unless the binding also reads it as a host value (since 0.1.190).
|
|
230
250
|
*/
|
|
231
251
|
clear: (value?: unknown) => void;
|
|
252
|
+
/**
|
|
253
|
+
* Commit `value` without a row (a dropdown value several rows hold): no
|
|
254
|
+
* fills, and what this field's last pick filled is cleared by the rule of
|
|
255
|
+
* {@link clear}, so no stale fill stays next to the new value. Since 0.1.190.
|
|
256
|
+
*/
|
|
257
|
+
commitValue: (value: unknown) => void;
|
|
258
|
+
/**
|
|
259
|
+
* The scope the picker searches with: the binding's filter with the form's
|
|
260
|
+
* host values, and the fields they pin (`valueHelpScope`). Since 0.1.190.
|
|
261
|
+
*/
|
|
262
|
+
scope: ComputedRef<ValueHelpScope>;
|
|
232
263
|
}
|
|
233
264
|
declare function useAsValueHelp(options: UseAsValueHelpOptions): UseAsValueHelpReturn;
|
|
234
265
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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";
|
|
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";
|
|
5
|
-
import { ClientFactory, ClientFactory as ClientFactory$1, CreateFormDefOptions, FormArrayFieldDef, FormDef, FormDiffOptions as FormDiffOptions$1, FormFieldChange, FormFieldChange as FormFieldChange$1, FormFieldDef, FormRebaseOptions as FormRebaseOptions$1, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, TResolveOptions, TypedClientFactory, UiT, UserTextT, ValueHelpInfo, getDefaultClientFactory, hasFieldMeta as hasFieldMeta$1, isFieldHidden as isFieldHidden$1, joinPath as joinPath$1, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
5
|
+
import { ClientFactory, ClientFactory as ClientFactory$1, CreateFormDefOptions, FormArrayFieldDef, FormDef, FormDiffOptions as FormDiffOptions$1, FormFieldChange, FormFieldChange as FormFieldChange$1, FormFieldDef, FormRebaseOptions as FormRebaseOptions$1, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, TResolveOptions, TypedClientFactory, UiT, UserTextT, ValueHelpInfo, ValueHelpScope, getDefaultClientFactory, hasFieldMeta as hasFieldMeta$1, isFieldHidden as isFieldHidden$1, joinPath as joinPath$1, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
6
6
|
import { TFnScope } from "@atscript/ui-fns";
|
|
7
7
|
import * as _atscript_typescript_utils0 from "@atscript/typescript/utils";
|
|
8
8
|
import { TAtscriptAnnotatedType } from "@atscript/typescript/utils";
|
|
@@ -213,6 +213,19 @@ interface UseAsValueHelpOptions {
|
|
|
213
213
|
value: unknown;
|
|
214
214
|
};
|
|
215
215
|
onBlur: () => void;
|
|
216
|
+
/**
|
|
217
|
+
* Whether the picker's list is open. A changed host value
|
|
218
|
+
* (`ValueHelpInfo.hostFilter`) searches again at once while it is, else on
|
|
219
|
+
* the next open. Left out: at once. Since 0.1.190.
|
|
220
|
+
*/
|
|
221
|
+
open?: Ref<boolean>;
|
|
222
|
+
/** Rows per search. Default 20. Since 0.1.190. */
|
|
223
|
+
limit?: number;
|
|
224
|
+
/**
|
|
225
|
+
* While it returns `true` (a read-only field, which opens no list) the
|
|
226
|
+
* picker asks no rows; with `open`, the first open searches. Since 0.1.190.
|
|
227
|
+
*/
|
|
228
|
+
readonly?: () => boolean;
|
|
216
229
|
}
|
|
217
230
|
type UseAsValueHelpStatus = "loading" | "ready" | "error";
|
|
218
231
|
interface UseAsValueHelpReturn {
|
|
@@ -223,12 +236,30 @@ interface UseAsValueHelpReturn {
|
|
|
223
236
|
searching: Ref<boolean>;
|
|
224
237
|
labelIsFkValue: ComputedRef<boolean>;
|
|
225
238
|
kickoff: () => Promise<void>;
|
|
239
|
+
/**
|
|
240
|
+
* The one pick path: commits `item[info.targetField]`, writes the binding's
|
|
241
|
+
* fills (`ValueHelpInfo.fill`) into their sibling fields as edits, and
|
|
242
|
+
* validates the field (`onBlur`).
|
|
243
|
+
*/
|
|
226
244
|
selectItem: (item: Record<string, unknown>) => void;
|
|
227
245
|
/**
|
|
228
246
|
* Clear the picker: set the model to `value` (`undefined` — unset — when
|
|
229
|
-
* omitted) and empty the search text.
|
|
247
|
+
* omitted) and empty the search text. A field this field's last pick filled
|
|
248
|
+
* is cleared too (`undefined`) while it still holds what the pick wrote —
|
|
249
|
+
* unless the binding also reads it as a host value (since 0.1.190).
|
|
230
250
|
*/
|
|
231
251
|
clear: (value?: unknown) => void;
|
|
252
|
+
/**
|
|
253
|
+
* Commit `value` without a row (a dropdown value several rows hold): no
|
|
254
|
+
* fills, and what this field's last pick filled is cleared by the rule of
|
|
255
|
+
* {@link clear}, so no stale fill stays next to the new value. Since 0.1.190.
|
|
256
|
+
*/
|
|
257
|
+
commitValue: (value: unknown) => void;
|
|
258
|
+
/**
|
|
259
|
+
* The scope the picker searches with: the binding's filter with the form's
|
|
260
|
+
* host values, and the fields they pin (`valueHelpScope`). Since 0.1.190.
|
|
261
|
+
*/
|
|
262
|
+
scope: ComputedRef<ValueHelpScope>;
|
|
232
263
|
}
|
|
233
264
|
declare function useAsValueHelp(options: UseAsValueHelpOptions): UseAsValueHelpReturn;
|
|
234
265
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
2
|
-
const require_as_input_control = require("./as-input-control-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-P7p47Pbr.cjs");
|
|
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");
|
|
5
5
|
//#endregion
|
|
@@ -134,6 +134,10 @@ var as_input_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
134
134
|
type: Object,
|
|
135
135
|
required: false
|
|
136
136
|
},
|
|
137
|
+
valueLabel: {
|
|
138
|
+
type: String,
|
|
139
|
+
required: false
|
|
140
|
+
},
|
|
137
141
|
singularLabel: {
|
|
138
142
|
type: String,
|
|
139
143
|
required: false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
2
|
-
import { t as as_input_control_default } from "./as-input-control-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-CSxqm12l.mjs";
|
|
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";
|
|
5
5
|
//#endregion
|
|
@@ -134,6 +134,10 @@ var as_input_default = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
type: Object,
|
|
135
135
|
required: false
|
|
136
136
|
},
|
|
137
|
+
valueLabel: {
|
|
138
|
+
type: String,
|
|
139
|
+
required: false
|
|
140
|
+
},
|
|
137
141
|
singularLabel: {
|
|
138
142
|
type: String,
|
|
139
143
|
required: false
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require__shape = require("./_shape-
|
|
1
|
+
const require__shape = require("./_shape-BDO-1MzF.cjs");
|
|
2
2
|
let vue = require("vue");
|
|
3
3
|
//#region src/components/internal/as-input-control.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
const _hoisted_1 = [
|
|
@@ -158,6 +158,10 @@ var as_input_control_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
158
158
|
type: Object,
|
|
159
159
|
required: false
|
|
160
160
|
},
|
|
161
|
+
valueLabel: {
|
|
162
|
+
type: String,
|
|
163
|
+
required: false
|
|
164
|
+
},
|
|
161
165
|
singularLabel: {
|
|
162
166
|
type: String,
|
|
163
167
|
required: false
|
|
@@ -231,7 +235,7 @@ var as_input_control_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
231
235
|
* input (AsNumber without adornments) — the rule of the other number inputs.
|
|
232
236
|
*/
|
|
233
237
|
const inputModel = (0, vue.computed)({
|
|
234
|
-
get: () => props.model.value,
|
|
238
|
+
get: () => props.readonly && props.valueLabel !== void 0 ? props.valueLabel : props.model.value,
|
|
235
239
|
set: (v) => {
|
|
236
240
|
props.model.value = v === "" && props.type === "number" ? require__shape.committedValue(null, props.optional) : require__shape.committedText(v, props.optional);
|
|
237
241
|
}
|
|
@@ -271,7 +275,7 @@ var as_input_control_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
271
275
|
placeholder: __props.placeholder,
|
|
272
276
|
autocomplete: __props.autocomplete,
|
|
273
277
|
name: __props.name,
|
|
274
|
-
type: __props.type,
|
|
278
|
+
type: __props.readonly && __props.valueLabel !== void 0 ? "text" : __props.type,
|
|
275
279
|
disabled: __props.disabled,
|
|
276
280
|
readonly: __props.readonly,
|
|
277
281
|
"aria-required": __props.required || void 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as committedValue, t as committedText } from "./_shape-
|
|
1
|
+
import { n as committedValue, t as committedText } from "./_shape-DhwW2SvD.mjs";
|
|
2
2
|
import { computed, createElementBlock, defineComponent, openBlock, vModelDynamic, vModelText, withDirectives } from "vue";
|
|
3
3
|
//#region src/components/internal/as-input-control.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
const _hoisted_1 = [
|
|
@@ -158,6 +158,10 @@ var as_input_control_default = /* @__PURE__ */ defineComponent({
|
|
|
158
158
|
type: Object,
|
|
159
159
|
required: false
|
|
160
160
|
},
|
|
161
|
+
valueLabel: {
|
|
162
|
+
type: String,
|
|
163
|
+
required: false
|
|
164
|
+
},
|
|
161
165
|
singularLabel: {
|
|
162
166
|
type: String,
|
|
163
167
|
required: false
|
|
@@ -231,7 +235,7 @@ var as_input_control_default = /* @__PURE__ */ defineComponent({
|
|
|
231
235
|
* input (AsNumber without adornments) — the rule of the other number inputs.
|
|
232
236
|
*/
|
|
233
237
|
const inputModel = computed({
|
|
234
|
-
get: () => props.model.value,
|
|
238
|
+
get: () => props.readonly && props.valueLabel !== void 0 ? props.valueLabel : props.model.value,
|
|
235
239
|
set: (v) => {
|
|
236
240
|
props.model.value = v === "" && props.type === "number" ? committedValue(null, props.optional) : committedText(v, props.optional);
|
|
237
241
|
}
|
|
@@ -271,7 +275,7 @@ var as_input_control_default = /* @__PURE__ */ defineComponent({
|
|
|
271
275
|
placeholder: __props.placeholder,
|
|
272
276
|
autocomplete: __props.autocomplete,
|
|
273
277
|
name: __props.name,
|
|
274
|
-
type: __props.type,
|
|
278
|
+
type: __props.readonly && __props.valueLabel !== void 0 ? "text" : __props.type,
|
|
275
279
|
disabled: __props.disabled,
|
|
276
280
|
readonly: __props.readonly,
|
|
277
281
|
"aria-required": __props.required || void 0,
|
package/dist/as-input.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_input = require("./as-input-
|
|
1
|
+
const require_as_input = require("./as-input-DNIY5kGw.cjs");
|
|
2
2
|
module.exports = require_as_input.as_input_default;
|
package/dist/as-input.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-input.vue-
|
|
1
|
+
import { t as _default } from "./as-input.vue-DsSCA6KN.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-input.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-input.vue-
|
|
1
|
+
import { t as _default } from "./as-input.vue-BE5H25Xa.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-input.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_input_default } from "./as-input-
|
|
1
|
+
import { t as as_input_default } from "./as-input-DVeDzKkd.mjs";
|
|
2
2
|
export { as_input_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as PATH_PREFIX_KEY, h as LEVEL_KEY } from "./use-form-context-
|
|
2
|
-
import { t as as_field_default } from "./as-field-
|
|
1
|
+
import { _ as PATH_PREFIX_KEY, h as LEVEL_KEY } from "./use-form-context-ba0N--m6.mjs";
|
|
2
|
+
import { t as as_field_default } from "./as-field-CvjOHQ9H.mjs";
|
|
3
3
|
import { Fragment, computed, createBlock, createElementBlock, defineComponent, inject, openBlock, provide, renderList } from "vue";
|
|
4
4
|
import { joinPath } from "@atscript/ui";
|
|
5
5
|
//#region src/composables/use-as-level.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_use_form_context = require("./use-form-context-
|
|
2
|
-
const require_as_field = require("./as-field-
|
|
1
|
+
const require_use_form_context = require("./use-form-context-7CK50mTi.cjs");
|
|
2
|
+
const require_as_field = require("./as-field-BHUA1YpM.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
let _atscript_ui = require("@atscript/ui");
|
|
5
5
|
//#region src/composables/use-as-level.ts
|
package/dist/as-iterator.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_iterator = require("./as-iterator-
|
|
1
|
+
const require_as_iterator = require("./as-iterator-rF5FyWGS.cjs");
|
|
2
2
|
module.exports = require_as_iterator.as_iterator_default;
|
package/dist/as-iterator.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_iterator_default } from "./as-iterator-
|
|
1
|
+
import { t as as_iterator_default } from "./as-iterator-BTJ37tre.mjs";
|
|
2
2
|
export { as_iterator_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_use_as_locale = require("./use-as-locale-
|
|
2
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
|
|
2
|
+
const require_as_field_shell = require("./as-field-shell-P7p47Pbr.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
let _atscript_ui = require("@atscript/ui");
|
|
5
5
|
let reka_ui = require("reka-ui");
|
|
@@ -151,6 +151,10 @@ var as_multi_select_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
151
151
|
type: Object,
|
|
152
152
|
required: false
|
|
153
153
|
},
|
|
154
|
+
valueLabel: {
|
|
155
|
+
type: String,
|
|
156
|
+
required: false
|
|
157
|
+
},
|
|
154
158
|
singularLabel: {
|
|
155
159
|
type: String,
|
|
156
160
|
required: false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as useAsTexts } from "./use-as-locale-
|
|
2
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
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";
|
|
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";
|
|
@@ -151,6 +151,10 @@ var as_multi_select_default = /* @__PURE__ */ defineComponent({
|
|
|
151
151
|
type: Object,
|
|
152
152
|
required: false
|
|
153
153
|
},
|
|
154
|
+
valueLabel: {
|
|
155
|
+
type: String,
|
|
156
|
+
required: false
|
|
157
|
+
},
|
|
154
158
|
singularLabel: {
|
|
155
159
|
type: String,
|
|
156
160
|
required: false
|
package/dist/as-multi-select.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_multi_select = require("./as-multi-select-
|
|
1
|
+
const require_as_multi_select = require("./as-multi-select-CXFofdQ1.cjs");
|
|
2
2
|
module.exports = require_as_multi_select.as_multi_select_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-multi-select.vue-
|
|
1
|
+
import { t as _default } from "./as-multi-select.vue-CpuSkukC.cjs";
|
|
2
2
|
export = _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-multi-select.vue-
|
|
1
|
+
import { t as _default } from "./as-multi-select.vue-BDt4AtNm.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-multi-select.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_multi_select_default } from "./as-multi-select-
|
|
1
|
+
import { t as as_multi_select_default } from "./as-multi-select-CkMSlX1e.mjs";
|
|
2
2
|
export { as_multi_select_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_use_as_locale = require("./use-as-locale-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const require_as_input_control = require("./as-input-control-
|
|
1
|
+
const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
|
|
2
|
+
const require__shape = require("./_shape-BDO-1MzF.cjs");
|
|
3
|
+
const require_as_field_shell = require("./as-field-shell-P7p47Pbr.cjs");
|
|
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");
|
|
7
7
|
//#region src/composables/use-as-number.ts
|
|
@@ -208,6 +208,10 @@ var as_number_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
208
208
|
type: Object,
|
|
209
209
|
required: false
|
|
210
210
|
},
|
|
211
|
+
valueLabel: {
|
|
212
|
+
type: String,
|
|
213
|
+
required: false
|
|
214
|
+
},
|
|
211
215
|
singularLabel: {
|
|
212
216
|
type: String,
|
|
213
217
|
required: false
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as useAsLocale } from "./use-as-locale-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as as_input_control_default } from "./as-input-control-
|
|
1
|
+
import { a as useAsLocale } from "./use-as-locale-CznDr-7i.mjs";
|
|
2
|
+
import { n as committedValue } from "./_shape-DhwW2SvD.mjs";
|
|
3
|
+
import { t as as_field_shell_default } from "./as-field-shell-CSxqm12l.mjs";
|
|
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";
|
|
7
7
|
//#region src/composables/use-as-number.ts
|
|
@@ -208,6 +208,10 @@ var as_number_default = /* @__PURE__ */ defineComponent({
|
|
|
208
208
|
type: Object,
|
|
209
209
|
required: false
|
|
210
210
|
},
|
|
211
|
+
valueLabel: {
|
|
212
|
+
type: String,
|
|
213
|
+
required: false
|
|
214
|
+
},
|
|
211
215
|
singularLabel: {
|
|
212
216
|
type: String,
|
|
213
217
|
required: false
|
package/dist/as-number.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_number = require("./as-number-
|
|
1
|
+
const require_as_number = require("./as-number-BwzyMxl4.cjs");
|
|
2
2
|
module.exports = require_as_number.as_number_default;
|
package/dist/as-number.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-number.vue-
|
|
1
|
+
import { t as _default } from "./as-number.vue-89e-jfVe.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-number.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-number.vue-
|
|
1
|
+
import { t as _default } from "./as-number.vue-CCTMDQYH.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-number.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_number_default } from "./as-number-
|
|
1
|
+
import { t as as_number_default } from "./as-number-mQHbJDoh.mjs";
|
|
2
2
|
export { as_number_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_use_form_context = require("./use-form-context-
|
|
2
|
-
const require_use_as_locale = require("./use-as-locale-
|
|
3
|
-
const require_as_iterator = require("./as-iterator-
|
|
4
|
-
const require_as_collapsible = require("./as-collapsible-
|
|
5
|
-
const require_as_variant_picker = require("./as-variant-picker-
|
|
1
|
+
const require_use_form_context = require("./use-form-context-7CK50mTi.cjs");
|
|
2
|
+
const require_use_as_locale = require("./use-as-locale-eo7FyfaZ.cjs");
|
|
3
|
+
const require_as_iterator = require("./as-iterator-rF5FyWGS.cjs");
|
|
4
|
+
const require_as_collapsible = require("./as-collapsible-Dtt4QN7s.cjs");
|
|
5
|
+
const require_as_variant_picker = require("./as-variant-picker-BYrf1YUe.cjs");
|
|
6
6
|
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-B7Pp6r-k.cjs");
|
|
7
7
|
let vue = require("vue");
|
|
8
8
|
let _atscript_ui = require("@atscript/ui");
|
|
@@ -156,6 +156,10 @@ var as_object_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
156
156
|
type: Object,
|
|
157
157
|
required: false
|
|
158
158
|
},
|
|
159
|
+
valueLabel: {
|
|
160
|
+
type: String,
|
|
161
|
+
required: false
|
|
162
|
+
},
|
|
159
163
|
singularLabel: {
|
|
160
164
|
type: String,
|
|
161
165
|
required: false
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as useAsUnionVariant } from "./use-form-context-
|
|
2
|
-
import { o as useAsTexts } from "./use-as-locale-
|
|
3
|
-
import { t as as_iterator_default } from "./as-iterator-
|
|
4
|
-
import { t as as_collapsible_default } from "./as-collapsible-
|
|
5
|
-
import { n as as_optional_clear_default, t as as_variant_picker_default } from "./as-variant-picker-
|
|
1
|
+
import { n as useAsUnionVariant } from "./use-form-context-ba0N--m6.mjs";
|
|
2
|
+
import { o as useAsTexts } from "./use-as-locale-CznDr-7i.mjs";
|
|
3
|
+
import { t as as_iterator_default } from "./as-iterator-BTJ37tre.mjs";
|
|
4
|
+
import { t as as_collapsible_default } from "./as-collapsible-DJqAZXR7.mjs";
|
|
5
|
+
import { n as as_optional_clear_default, t as as_variant_picker_default } from "./as-variant-picker-3P9wXCUf.mjs";
|
|
6
6
|
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-CdnxNOUT.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";
|
|
@@ -156,6 +156,10 @@ var as_object_default = /* @__PURE__ */ defineComponent({
|
|
|
156
156
|
type: Object,
|
|
157
157
|
required: false
|
|
158
158
|
},
|
|
159
|
+
valueLabel: {
|
|
160
|
+
type: String,
|
|
161
|
+
required: false
|
|
162
|
+
},
|
|
159
163
|
singularLabel: {
|
|
160
164
|
type: String,
|
|
161
165
|
required: false
|
package/dist/as-object.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_object = require("./as-object-
|
|
1
|
+
const require_as_object = require("./as-object-DIj1yGSZ.cjs");
|
|
2
2
|
module.exports = require_as_object.as_object_default;
|
package/dist/as-object.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-object.vue-
|
|
1
|
+
import { t as _default } from "./as-object.vue-tIaVshqY.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-object.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-object.vue-
|
|
1
|
+
import { t as _default } from "./as-object.vue-CVpEmBqS.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-object.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_object_default } from "./as-object-
|
|
1
|
+
import { t as as_object_default } from "./as-object-JuruOEiL.mjs";
|
|
2
2
|
export { as_object_default as default };
|
package/dist/as-paragraph.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_paragraph = require("./as-paragraph-
|
|
1
|
+
const require_as_paragraph = require("./as-paragraph-wAHRsd_e.cjs");
|
|
2
2
|
module.exports = require_as_paragraph.as_paragraph_default;
|
package/dist/as-paragraph.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-paragraph.vue-
|
|
1
|
+
import { t as _default } from "./as-paragraph.vue-BUdQBjDf.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-paragraph.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-paragraph.vue-
|
|
1
|
+
import { t as _default } from "./as-paragraph.vue-CS_GUIlF.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-paragraph.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_paragraph_default } from "./as-paragraph-
|
|
1
|
+
import { t as as_paragraph_default } from "./as-paragraph-B49pXlhP.mjs";
|
|
2
2
|
export { as_paragraph_default as default };
|