@atscript/vue-form 0.1.68 → 0.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/as-array.cjs +0 -9
- package/dist/as-array.mjs +0 -9
- package/dist/{as-checkbox-3fTjz65c.cjs → as-checkbox-Dcqf2Bby.cjs} +1 -1
- package/dist/{as-checkbox-BMCjv7QY.mjs → as-checkbox-DwGSW968.mjs} +1 -1
- package/dist/as-checkbox.cjs +1 -5
- package/dist/as-checkbox.mjs +1 -5
- package/dist/{as-date-O-VvODYx.mjs → as-date-9Uwj5MPG.mjs} +1 -1
- package/dist/{as-date-fd4tYYNn.cjs → as-date-B9g4UlrI.cjs} +1 -1
- package/dist/as-date.cjs +1 -7
- package/dist/as-date.mjs +1 -7
- package/dist/{as-datetime-CLPLpMgJ.mjs → as-datetime-D_sc95ED.mjs} +1 -1
- package/dist/{as-datetime-CVLwvGZ0.cjs → as-datetime-Ds_yQWi6.cjs} +1 -1
- package/dist/as-datetime.cjs +1 -7
- package/dist/as-datetime.mjs +1 -7
- package/dist/{as-decimal-CBgM6tVy.cjs → as-decimal--cEvm1lb.cjs} +1 -1
- package/dist/{as-decimal-DBw9Uuxo.mjs → as-decimal-7sV4gfJx.mjs} +1 -1
- package/dist/as-decimal.cjs +1 -6
- package/dist/as-decimal.mjs +1 -6
- package/dist/{as-field-shell-Pdy3sAvr.mjs → as-field-shell-DEQnfFVJ.mjs} +23 -5
- package/dist/{as-field-shell-B2iTn-iM.cjs → as-field-shell-TH8IrGg9.cjs} +23 -5
- package/dist/as-field-shell.cjs +1 -4
- 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 -4
- package/dist/{as-field-shell.vue-BMxefEhU.d.cts → as-field-shell.vue-DXubVvFh.d.cts} +5 -1
- package/dist/{as-field-shell.vue-CUvQY2ox.d.mts → as-field-shell.vue-NyQkFneN.d.mts} +5 -1
- package/dist/as-field.cjs +0 -2
- package/dist/as-field.mjs +0 -2
- package/dist/as-form.cjs +0 -5
- package/dist/as-form.mjs +0 -5
- package/dist/{as-input-DIa8BzLv.mjs → as-input-CfXuz6cf.mjs} +1 -1
- package/dist/{as-input-CpbV2k3s.cjs → as-input-DBwxoEp7.cjs} +1 -1
- package/dist/as-input.cjs +1 -7
- package/dist/as-input.mjs +1 -7
- package/dist/as-iterator.cjs +0 -3
- package/dist/as-iterator.mjs +0 -3
- package/dist/{as-multi-select-C3es0-Wj.mjs → as-multi-select-CitiQ7iz.mjs} +1 -1
- package/dist/{as-multi-select-46G-lO3v.cjs → as-multi-select-CjyY453L.cjs} +1 -1
- package/dist/as-multi-select.cjs +1 -5
- package/dist/as-multi-select.mjs +1 -5
- package/dist/{as-number-2m6ZT1PN.mjs → as-number-Clq1LMQd.mjs} +1 -1
- package/dist/{as-number-BarcvMtz.cjs → as-number-ojx4Q8YH.cjs} +1 -1
- package/dist/as-number.cjs +1 -7
- package/dist/as-number.mjs +1 -7
- package/dist/as-object.cjs +0 -9
- package/dist/as-object.mjs +0 -9
- package/dist/{as-radio-CFext5YE.cjs → as-radio-BoS1VhOR.cjs} +1 -1
- package/dist/{as-radio-DeL0QScf.mjs → as-radio-DQry_nv7.mjs} +1 -1
- package/dist/as-radio.cjs +1 -5
- package/dist/as-radio.mjs +1 -5
- package/dist/{as-ref-Qkb_CVfU.mjs → as-ref-Bq_4z1IA.mjs} +1 -1
- package/dist/{as-ref-J9Sg0jao.cjs → as-ref-DjMTB-tC.cjs} +1 -1
- package/dist/as-ref.cjs +1 -6
- package/dist/as-ref.mjs +1 -6
- package/dist/{as-select-BB3uxACS.cjs → as-select-BrmjjRKU.cjs} +1 -1
- package/dist/{as-select-UBGCVhku.mjs → as-select-DerYjoLO.mjs} +1 -1
- package/dist/as-select.cjs +1 -5
- package/dist/as-select.mjs +1 -5
- package/dist/{as-time-D8h_kUs2.mjs → as-time-B2zB5xSS.mjs} +1 -1
- package/dist/{as-time-lal8igWF.cjs → as-time-CNmyhGwd.cjs} +1 -1
- package/dist/as-time.cjs +1 -7
- package/dist/as-time.mjs +1 -7
- package/dist/as-tuple.cjs +0 -9
- package/dist/as-tuple.mjs +0 -9
- package/dist/as-union.cjs +0 -4
- package/dist/as-union.mjs +0 -4
- package/dist/index.cjs +12 -17
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +12 -17
- package/package.json +10 -10
package/dist/as-array.cjs
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
require("./use-form-context-Dwr8Ai1v.cjs");
|
|
2
|
-
require("./use-as-nested-sections-store-jdMRxjBE.cjs");
|
|
3
|
-
require("./as-field-wLYoaZnT.cjs");
|
|
4
|
-
require("./use-as-locale-C4z5stwD.cjs");
|
|
5
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
6
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
7
|
-
require("./use-as-optional-add-flow-Dg_2iQ4d.cjs");
|
|
8
|
-
require("./as-collapsible-FN1ksw08.cjs");
|
|
9
1
|
const require_as_array = require("./as-array-BfFUOUpP.cjs");
|
|
10
|
-
require("./as-array-clear-btn-Bx60mqmC.cjs");
|
|
11
2
|
module.exports = require_as_array.as_array_default;
|
package/dist/as-array.mjs
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
import "./use-form-context-bAj7UoSe.mjs";
|
|
2
|
-
import "./use-as-nested-sections-store-lhi0z5z1.mjs";
|
|
3
|
-
import "./as-field-CXVjrEPQ.mjs";
|
|
4
|
-
import "./use-as-locale-BrFdAgnU.mjs";
|
|
5
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
6
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
7
|
-
import "./use-as-optional-add-flow-DzUScp6V.mjs";
|
|
8
|
-
import "./as-collapsible-ChFET8n3.mjs";
|
|
9
1
|
import { t as as_array_default } from "./as-array-w6RKsbKG.mjs";
|
|
10
|
-
import "./as-array-clear-btn-BqDJxNWn.mjs";
|
|
11
2
|
export { as_array_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
2
2
|
const require_as_variant_picker = require("./as-variant-picker-DObQZHmm.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
//#region src/composables/use-as-tri-state-checkbox.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
2
2
|
import { n as as_optional_clear_default } from "./as-variant-picker-BVs0AvjK.mjs";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, toDisplayString, unref, watchEffect, withCtx } from "vue";
|
|
4
4
|
//#region src/composables/use-as-tri-state-checkbox.ts
|
package/dist/as-checkbox.cjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
3
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
4
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
5
|
-
const require_as_checkbox = require("./as-checkbox-3fTjz65c.cjs");
|
|
1
|
+
const require_as_checkbox = require("./as-checkbox-Dcqf2Bby.cjs");
|
|
6
2
|
module.exports = require_as_checkbox.as_checkbox_default;
|
package/dist/as-checkbox.mjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
3
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
4
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
5
|
-
import { t as as_checkbox_default } from "./as-checkbox-BMCjv7QY.mjs";
|
|
1
|
+
import { t as as_checkbox_default } from "./as-checkbox-DwGSW968.mjs";
|
|
6
2
|
export { as_checkbox_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
2
2
|
import { t as as_adornment_shell_default } from "./as-adornment-shell-knFiB7Ct.mjs";
|
|
3
3
|
import { n as as_date_control_default, t as useAsDate } from "./use-as-date-Bb0Pi1l_.mjs";
|
|
4
4
|
import { computed, createBlock, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, unref, withCtx } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
2
2
|
const require_as_adornment_shell = require("./as-adornment-shell-9UmdNIPR.cjs");
|
|
3
3
|
const require_use_as_date = require("./use-as-date-v-GFUtrP.cjs");
|
|
4
4
|
let vue = require("vue");
|
package/dist/as-date.cjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
3
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
4
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
5
|
-
require("./as-adornment-shell-9UmdNIPR.cjs");
|
|
6
|
-
require("./use-as-date-v-GFUtrP.cjs");
|
|
7
|
-
const require_as_date = require("./as-date-fd4tYYNn.cjs");
|
|
1
|
+
const require_as_date = require("./as-date-B9g4UlrI.cjs");
|
|
8
2
|
module.exports = require_as_date.as_date_default;
|
package/dist/as-date.mjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
3
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
4
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
5
|
-
import "./as-adornment-shell-knFiB7Ct.mjs";
|
|
6
|
-
import "./use-as-date-Bb0Pi1l_.mjs";
|
|
7
|
-
import { t as as_date_default } from "./as-date-O-VvODYx.mjs";
|
|
1
|
+
import { t as as_date_default } from "./as-date-9Uwj5MPG.mjs";
|
|
8
2
|
export { as_date_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
2
2
|
import { t as as_adornment_shell_default } from "./as-adornment-shell-knFiB7Ct.mjs";
|
|
3
3
|
import { n as as_date_control_default, t as useAsDate } from "./use-as-date-Bb0Pi1l_.mjs";
|
|
4
4
|
import { computed, createBlock, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, unref, withCtx } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
2
2
|
const require_as_adornment_shell = require("./as-adornment-shell-9UmdNIPR.cjs");
|
|
3
3
|
const require_use_as_date = require("./use-as-date-v-GFUtrP.cjs");
|
|
4
4
|
let vue = require("vue");
|
package/dist/as-datetime.cjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
3
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
4
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
5
|
-
require("./as-adornment-shell-9UmdNIPR.cjs");
|
|
6
|
-
require("./use-as-date-v-GFUtrP.cjs");
|
|
7
|
-
const require_as_datetime = require("./as-datetime-CVLwvGZ0.cjs");
|
|
1
|
+
const require_as_datetime = require("./as-datetime-Ds_yQWi6.cjs");
|
|
8
2
|
module.exports = require_as_datetime.as_datetime_default;
|
package/dist/as-datetime.mjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
3
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
4
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
5
|
-
import "./as-adornment-shell-knFiB7Ct.mjs";
|
|
6
|
-
import "./use-as-date-Bb0Pi1l_.mjs";
|
|
7
|
-
import { t as as_datetime_default } from "./as-datetime-CLPLpMgJ.mjs";
|
|
1
|
+
import { t as as_datetime_default } from "./as-datetime-D_sc95ED.mjs";
|
|
8
2
|
export { as_datetime_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_as_locale = require("./use-as-locale-C4z5stwD.cjs");
|
|
2
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
2
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
let _atscript_ui = require("@atscript/ui");
|
|
5
5
|
//#region src/composables/_shape.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useAsLocale } from "./use-as-locale-BrFdAgnU.mjs";
|
|
2
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
2
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, nextTick, normalizeClass, normalizeProps, openBlock, ref, toDisplayString, unref, watch, withCtx } from "vue";
|
|
4
4
|
import { enforceScale, formatDecimalForDisplay, getDecimalSeparator, getThousandsSeparator, groupInteger, joinDecimalString, parseDecimalInput, splitDecimalString } from "@atscript/ui";
|
|
5
5
|
//#region src/composables/_shape.ts
|
package/dist/as-decimal.cjs
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-locale-C4z5stwD.cjs");
|
|
3
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
4
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
5
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
6
|
-
const require_as_decimal = require("./as-decimal-CBgM6tVy.cjs");
|
|
1
|
+
const require_as_decimal = require("./as-decimal--cEvm1lb.cjs");
|
|
7
2
|
module.exports = require_as_decimal.as_decimal_default;
|
package/dist/as-decimal.mjs
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-locale-BrFdAgnU.mjs";
|
|
3
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
4
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
5
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
6
|
-
import { t as as_decimal_default } from "./as-decimal-DBw9Uuxo.mjs";
|
|
1
|
+
import { t as as_decimal_default } from "./as-decimal-7sV4gfJx.mjs";
|
|
7
2
|
export { as_decimal_default as default };
|
|
@@ -59,7 +59,17 @@ const _hoisted_5 = {
|
|
|
59
59
|
const _hoisted_6 = ["disabled"];
|
|
60
60
|
const _hoisted_7 = ["id"];
|
|
61
61
|
const _hoisted_8 = { class: "as-field-input-row" };
|
|
62
|
-
const _hoisted_9 =
|
|
62
|
+
const _hoisted_9 = {
|
|
63
|
+
key: 0,
|
|
64
|
+
class: "as-field-footer-row"
|
|
65
|
+
};
|
|
66
|
+
const _hoisted_10 = ["id", "role"];
|
|
67
|
+
const _hoisted_11 = {
|
|
68
|
+
key: 1,
|
|
69
|
+
class: "as-error-slot",
|
|
70
|
+
"aria-hidden": "true"
|
|
71
|
+
};
|
|
72
|
+
const _hoisted_12 = ["disabled"];
|
|
63
73
|
//#endregion
|
|
64
74
|
//#region src/components/defaults/as-field-shell.vue
|
|
65
75
|
var as_field_shell_default = /* @__PURE__ */ defineComponent({
|
|
@@ -261,8 +271,10 @@ var as_field_shell_default = /* @__PURE__ */ defineComponent({
|
|
|
261
271
|
required: false
|
|
262
272
|
}
|
|
263
273
|
},
|
|
264
|
-
|
|
274
|
+
emits: ["action"],
|
|
275
|
+
setup(__props, { emit: __emit }) {
|
|
265
276
|
const props = __props;
|
|
277
|
+
const emit = __emit;
|
|
266
278
|
const optionalEnabled = computed(() => props.model?.value != null);
|
|
267
279
|
const unionCtx = useAsUnionVariant();
|
|
268
280
|
const hasVariantPicker = unionCtx !== void 0 && unionCtx.variants.length > 1;
|
|
@@ -306,7 +318,7 @@ var as_field_shell_default = /* @__PURE__ */ defineComponent({
|
|
|
306
318
|
"aria-label": "Remove",
|
|
307
319
|
title: "Remove",
|
|
308
320
|
onClick: _cache[1] || (_cache[1] = (...args) => __props.onRemove && __props.onRemove(...args))
|
|
309
|
-
}, [..._cache[
|
|
321
|
+
}, [..._cache[3] || (_cache[3] = [createElementVNode("span", {
|
|
310
322
|
class: "as-field-remove-btn-icon",
|
|
311
323
|
"aria-hidden": "true"
|
|
312
324
|
}, null, -1)])], 8, _hoisted_6)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true),
|
|
@@ -326,12 +338,18 @@ var as_field_shell_default = /* @__PURE__ */ defineComponent({
|
|
|
326
338
|
descId: __props.descId
|
|
327
339
|
})]),
|
|
328
340
|
renderSlot(_ctx.$slots, "after-input", { descId: __props.descId }),
|
|
329
|
-
__props.error || __props.hint ? (openBlock(), createElementBlock("div", {
|
|
341
|
+
__props.error || __props.hint || __props.formAction ? (openBlock(), createElementBlock("div", _hoisted_9, [__props.error || __props.hint ? (openBlock(), createElementBlock("div", {
|
|
330
342
|
key: 0,
|
|
331
343
|
id: __props.errorId,
|
|
332
344
|
class: "as-error-slot",
|
|
333
345
|
role: __props.error ? "alert" : void 0
|
|
334
|
-
}, toDisplayString(__props.error || __props.hint), 9,
|
|
346
|
+
}, toDisplayString(__props.error || __props.hint), 9, _hoisted_10)) : (openBlock(), createElementBlock("span", _hoisted_11)), __props.formAction ? (openBlock(), createElementBlock("button", {
|
|
347
|
+
key: 2,
|
|
348
|
+
type: "button",
|
|
349
|
+
class: "as-field-action-link",
|
|
350
|
+
disabled: __props.disabled,
|
|
351
|
+
onClick: _cache[2] || (_cache[2] = ($event) => emit("action", __props.formAction.id))
|
|
352
|
+
}, toDisplayString(__props.formAction.label), 9, _hoisted_12)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)
|
|
335
353
|
], 64))
|
|
336
354
|
], 6)), [[vShow, !__props.hidden]]);
|
|
337
355
|
};
|
|
@@ -59,7 +59,17 @@ const _hoisted_5 = {
|
|
|
59
59
|
const _hoisted_6 = ["disabled"];
|
|
60
60
|
const _hoisted_7 = ["id"];
|
|
61
61
|
const _hoisted_8 = { class: "as-field-input-row" };
|
|
62
|
-
const _hoisted_9 =
|
|
62
|
+
const _hoisted_9 = {
|
|
63
|
+
key: 0,
|
|
64
|
+
class: "as-field-footer-row"
|
|
65
|
+
};
|
|
66
|
+
const _hoisted_10 = ["id", "role"];
|
|
67
|
+
const _hoisted_11 = {
|
|
68
|
+
key: 1,
|
|
69
|
+
class: "as-error-slot",
|
|
70
|
+
"aria-hidden": "true"
|
|
71
|
+
};
|
|
72
|
+
const _hoisted_12 = ["disabled"];
|
|
63
73
|
//#endregion
|
|
64
74
|
//#region src/components/defaults/as-field-shell.vue
|
|
65
75
|
var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -261,8 +271,10 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
261
271
|
required: false
|
|
262
272
|
}
|
|
263
273
|
},
|
|
264
|
-
|
|
274
|
+
emits: ["action"],
|
|
275
|
+
setup(__props, { emit: __emit }) {
|
|
265
276
|
const props = __props;
|
|
277
|
+
const emit = __emit;
|
|
266
278
|
const optionalEnabled = (0, vue.computed)(() => props.model?.value != null);
|
|
267
279
|
const unionCtx = require_use_form_context.useAsUnionVariant();
|
|
268
280
|
const hasVariantPicker = unionCtx !== void 0 && unionCtx.variants.length > 1;
|
|
@@ -306,7 +318,7 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
306
318
|
"aria-label": "Remove",
|
|
307
319
|
title: "Remove",
|
|
308
320
|
onClick: _cache[1] || (_cache[1] = (...args) => __props.onRemove && __props.onRemove(...args))
|
|
309
|
-
}, [..._cache[
|
|
321
|
+
}, [..._cache[3] || (_cache[3] = [(0, vue.createElementVNode)("span", {
|
|
310
322
|
class: "as-field-remove-btn-icon",
|
|
311
323
|
"aria-hidden": "true"
|
|
312
324
|
}, null, -1)])], 8, _hoisted_6)) : (0, vue.createCommentVNode)("v-if", true)])) : (0, vue.createCommentVNode)("v-if", true)])) : (0, vue.createCommentVNode)("v-if", true),
|
|
@@ -326,12 +338,18 @@ var as_field_shell_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
326
338
|
descId: __props.descId
|
|
327
339
|
})]),
|
|
328
340
|
(0, vue.renderSlot)(_ctx.$slots, "after-input", { descId: __props.descId }),
|
|
329
|
-
__props.error || __props.hint ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
341
|
+
__props.error || __props.hint || __props.formAction ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_9, [__props.error || __props.hint ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
330
342
|
key: 0,
|
|
331
343
|
id: __props.errorId,
|
|
332
344
|
class: "as-error-slot",
|
|
333
345
|
role: __props.error ? "alert" : void 0
|
|
334
|
-
}, (0, vue.toDisplayString)(__props.error || __props.hint), 9,
|
|
346
|
+
}, (0, vue.toDisplayString)(__props.error || __props.hint), 9, _hoisted_10)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_11)), __props.formAction ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("button", {
|
|
347
|
+
key: 2,
|
|
348
|
+
type: "button",
|
|
349
|
+
class: "as-field-action-link",
|
|
350
|
+
disabled: __props.disabled,
|
|
351
|
+
onClick: _cache[2] || (_cache[2] = ($event) => emit("action", __props.formAction.id))
|
|
352
|
+
}, (0, vue.toDisplayString)(__props.formAction.label), 9, _hoisted_12)) : (0, vue.createCommentVNode)("v-if", true)])) : (0, vue.createCommentVNode)("v-if", true)
|
|
335
353
|
], 64))
|
|
336
354
|
], 6)), [[vue.vShow, !__props.hidden]]);
|
|
337
355
|
};
|
package/dist/as-field-shell.cjs
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
3
|
-
const require_as_field_shell = require("./as-field-shell-B2iTn-iM.cjs");
|
|
4
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
5
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-
|
|
1
|
+
import { t as _default } from "./as-field-shell.vue-DXubVvFh.cjs";
|
|
2
2
|
export = _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-field-shell.vue-
|
|
1
|
+
import { t as _default } from "./as-field-shell.vue-NyQkFneN.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-field-shell.mjs
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
3
|
-
import { t as as_field_shell_default } from "./as-field-shell-Pdy3sAvr.mjs";
|
|
4
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
5
2
|
export { as_field_shell_default as default };
|
|
@@ -25,7 +25,11 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
} & {
|
|
26
26
|
'after-input'?: (props: typeof __VLS_22) => any;
|
|
27
27
|
};
|
|
28
|
-
declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}
|
|
28
|
+
declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
29
|
+
action: (name: string) => any;
|
|
30
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
onAction?: ((name: string) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
29
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
34
|
declare const _default: typeof __VLS_export;
|
|
31
35
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -25,7 +25,11 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
} & {
|
|
26
26
|
'after-input'?: (props: typeof __VLS_22) => any;
|
|
27
27
|
};
|
|
28
|
-
declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}
|
|
28
|
+
declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
29
|
+
action: (name: string) => any;
|
|
30
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
onAction?: ((name: string) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
29
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
34
|
declare const _default: typeof __VLS_export;
|
|
31
35
|
type __VLS_WithSlots<T, S> = T & {
|
package/dist/as-field.cjs
CHANGED
package/dist/as-field.mjs
CHANGED
package/dist/as-form.cjs
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
require("./use-form-context-Dwr8Ai1v.cjs");
|
|
2
|
-
require("./use-as-nested-sections-store-jdMRxjBE.cjs");
|
|
3
|
-
require("./use-as-value-help-uANI3zWa.cjs");
|
|
4
1
|
const require_as_form = require("./as-form-vgf6YbaG.cjs");
|
|
5
|
-
require("./as-field-wLYoaZnT.cjs");
|
|
6
|
-
require("./use-as-locale-C4z5stwD.cjs");
|
|
7
2
|
module.exports = require_as_form.as_form_default;
|
package/dist/as-form.mjs
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import "./use-form-context-bAj7UoSe.mjs";
|
|
2
|
-
import "./use-as-nested-sections-store-lhi0z5z1.mjs";
|
|
3
|
-
import "./use-as-value-help-CBykDEjZ.mjs";
|
|
4
1
|
import { t as as_form_default } from "./as-form-DQM3KBU0.mjs";
|
|
5
|
-
import "./as-field-CXVjrEPQ.mjs";
|
|
6
|
-
import "./use-as-locale-BrFdAgnU.mjs";
|
|
7
2
|
export { as_form_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
2
2
|
import { t as as_input_control_default } from "./as-input-control-BzELjheN.mjs";
|
|
3
3
|
import { t as as_adornment_shell_default } from "./as-adornment-shell-knFiB7Ct.mjs";
|
|
4
4
|
import { computed, createBlock, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, withCtx } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
2
2
|
const require_as_input_control = require("./as-input-control-C5-DelZT.cjs");
|
|
3
3
|
const require_as_adornment_shell = require("./as-adornment-shell-9UmdNIPR.cjs");
|
|
4
4
|
let vue = require("vue");
|
package/dist/as-input.cjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
3
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
4
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
5
|
-
require("./as-input-control-C5-DelZT.cjs");
|
|
6
|
-
require("./as-adornment-shell-9UmdNIPR.cjs");
|
|
7
|
-
const require_as_input = require("./as-input-CpbV2k3s.cjs");
|
|
1
|
+
const require_as_input = require("./as-input-DBwxoEp7.cjs");
|
|
8
2
|
module.exports = require_as_input.as_input_default;
|
package/dist/as-input.mjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
3
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
4
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
5
|
-
import "./as-input-control-BzELjheN.mjs";
|
|
6
|
-
import "./as-adornment-shell-knFiB7Ct.mjs";
|
|
7
|
-
import { t as as_input_default } from "./as-input-DIa8BzLv.mjs";
|
|
1
|
+
import { t as as_input_default } from "./as-input-CfXuz6cf.mjs";
|
|
8
2
|
export { as_input_default as default };
|
package/dist/as-iterator.cjs
CHANGED
package/dist/as-iterator.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
2
2
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, ref, renderList, toDisplayString, unref, withCtx, withModifiers } from "vue";
|
|
3
3
|
import { optKey, optLabel } from "@atscript/ui";
|
|
4
4
|
import { ComboboxAnchor, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxPortal, ComboboxRoot, ComboboxViewport } from "reka-ui";
|
package/dist/as-multi-select.cjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
3
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
4
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
5
|
-
const require_as_multi_select = require("./as-multi-select-46G-lO3v.cjs");
|
|
1
|
+
const require_as_multi_select = require("./as-multi-select-CjyY453L.cjs");
|
|
6
2
|
module.exports = require_as_multi_select.as_multi_select_default;
|
package/dist/as-multi-select.mjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
3
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
4
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
5
|
-
import { t as as_multi_select_default } from "./as-multi-select-C3es0-Wj.mjs";
|
|
1
|
+
import { t as as_multi_select_default } from "./as-multi-select-CitiQ7iz.mjs";
|
|
6
2
|
export { as_multi_select_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useAsLocale } from "./use-as-locale-BrFdAgnU.mjs";
|
|
2
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
2
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
3
3
|
import { t as as_input_control_default } from "./as-input-control-BzELjheN.mjs";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, ref, toDisplayString, withCtx } from "vue";
|
|
5
5
|
import { getDecimalSeparator, parseDecimalInput } from "@atscript/ui";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_as_locale = require("./use-as-locale-C4z5stwD.cjs");
|
|
2
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
2
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
3
3
|
const require_as_input_control = require("./as-input-control-C5-DelZT.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
let _atscript_ui = require("@atscript/ui");
|
package/dist/as-number.cjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-locale-C4z5stwD.cjs");
|
|
3
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
4
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
5
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
6
|
-
require("./as-input-control-C5-DelZT.cjs");
|
|
7
|
-
const require_as_number = require("./as-number-BarcvMtz.cjs");
|
|
1
|
+
const require_as_number = require("./as-number-ojx4Q8YH.cjs");
|
|
8
2
|
module.exports = require_as_number.as_number_default;
|
package/dist/as-number.mjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-locale-BrFdAgnU.mjs";
|
|
3
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
4
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
5
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
6
|
-
import "./as-input-control-BzELjheN.mjs";
|
|
7
|
-
import { t as as_number_default } from "./as-number-2m6ZT1PN.mjs";
|
|
1
|
+
import { t as as_number_default } from "./as-number-Clq1LMQd.mjs";
|
|
8
2
|
export { as_number_default as default };
|
package/dist/as-object.cjs
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
require("./use-form-context-Dwr8Ai1v.cjs");
|
|
2
|
-
require("./use-as-nested-sections-store-jdMRxjBE.cjs");
|
|
3
|
-
require("./as-field-wLYoaZnT.cjs");
|
|
4
|
-
require("./use-as-locale-C4z5stwD.cjs");
|
|
5
|
-
require("./as-iterator-BYMNe6UJ.cjs");
|
|
6
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
7
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
8
|
-
require("./use-as-optional-add-flow-Dg_2iQ4d.cjs");
|
|
9
|
-
require("./as-collapsible-FN1ksw08.cjs");
|
|
10
1
|
const require_as_object = require("./as-object-DittHqNK.cjs");
|
|
11
2
|
module.exports = require_as_object.as_object_default;
|
package/dist/as-object.mjs
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
import "./use-form-context-bAj7UoSe.mjs";
|
|
2
|
-
import "./use-as-nested-sections-store-lhi0z5z1.mjs";
|
|
3
|
-
import "./as-field-CXVjrEPQ.mjs";
|
|
4
|
-
import "./use-as-locale-BrFdAgnU.mjs";
|
|
5
|
-
import "./as-iterator-CT5y1jyn.mjs";
|
|
6
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
7
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
8
|
-
import "./use-as-optional-add-flow-DzUScp6V.mjs";
|
|
9
|
-
import "./as-collapsible-ChFET8n3.mjs";
|
|
10
1
|
import { t as as_object_default } from "./as-object-DMh4vis7.mjs";
|
|
11
2
|
export { as_object_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
2
2
|
let vue = require("vue");
|
|
3
3
|
let _atscript_ui = require("@atscript/ui");
|
|
4
4
|
//#region src/components/defaults/as-radio.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.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 } from "@atscript/ui";
|
|
4
4
|
//#region src/components/defaults/as-radio.vue?vue&type=script&setup=true&lang.ts
|
package/dist/as-radio.cjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
3
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
4
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
5
|
-
const require_as_radio = require("./as-radio-CFext5YE.cjs");
|
|
1
|
+
const require_as_radio = require("./as-radio-BoS1VhOR.cjs");
|
|
6
2
|
module.exports = require_as_radio.as_radio_default;
|
package/dist/as-radio.mjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
3
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
4
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
5
|
-
import { t as as_radio_default } from "./as-radio-DeL0QScf.mjs";
|
|
1
|
+
import { t as as_radio_default } from "./as-radio-DQry_nv7.mjs";
|
|
6
2
|
export { as_radio_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useAsValueHelp } from "./use-as-value-help-CBykDEjZ.mjs";
|
|
2
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
2
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
3
3
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, normalizeProps, openBlock, ref, renderList, toDisplayString, unref, vModelText, withCtx, withDirectives } from "vue";
|
|
4
4
|
import { ComboboxAnchor, ComboboxCancel, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxRoot, ComboboxViewport } from "reka-ui";
|
|
5
5
|
//#region src/components/defaults/as-ref.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_as_value_help = require("./use-as-value-help-uANI3zWa.cjs");
|
|
2
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
2
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
let reka_ui = require("reka-ui");
|
|
5
5
|
//#region src/components/defaults/as-ref.vue?vue&type=script&setup=true&lang.ts
|
package/dist/as-ref.cjs
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-value-help-uANI3zWa.cjs");
|
|
3
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
4
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
5
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
6
|
-
const require_as_ref = require("./as-ref-J9Sg0jao.cjs");
|
|
1
|
+
const require_as_ref = require("./as-ref-DjMTB-tC.cjs");
|
|
7
2
|
module.exports = require_as_ref.as_ref_default;
|
package/dist/as-ref.mjs
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-value-help-CBykDEjZ.mjs";
|
|
3
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
4
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
5
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
6
|
-
import { t as as_ref_default } from "./as-ref-Qkb_CVfU.mjs";
|
|
1
|
+
import { t as as_ref_default } from "./as-ref-Bq_4z1IA.mjs";
|
|
7
2
|
export { as_ref_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
2
2
|
let vue = require("vue");
|
|
3
3
|
let _atscript_ui = require("@atscript/ui");
|
|
4
4
|
//#region src/components/defaults/as-select.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
2
2
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderList, toDisplayString, unref, vModelSelect, withCtx, withDirectives } from "vue";
|
|
3
3
|
import { optKey, optLabel } from "@atscript/ui";
|
|
4
4
|
//#region src/components/defaults/as-select.vue?vue&type=script&setup=true&lang.ts
|
package/dist/as-select.cjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
3
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
4
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
5
|
-
const require_as_select = require("./as-select-BB3uxACS.cjs");
|
|
1
|
+
const require_as_select = require("./as-select-BrmjjRKU.cjs");
|
|
6
2
|
module.exports = require_as_select.as_select_default;
|
package/dist/as-select.mjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
3
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
4
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
5
|
-
import { t as as_select_default } from "./as-select-UBGCVhku.mjs";
|
|
1
|
+
import { t as as_select_default } from "./as-select-DerYjoLO.mjs";
|
|
6
2
|
export { as_select_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
1
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
2
2
|
import { t as as_adornment_shell_default } from "./as-adornment-shell-knFiB7Ct.mjs";
|
|
3
3
|
import { n as as_date_control_default, t as useAsDate } from "./use-as-date-Bb0Pi1l_.mjs";
|
|
4
4
|
import { computed, createBlock, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, unref, withCtx } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
1
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
2
2
|
const require_as_adornment_shell = require("./as-adornment-shell-9UmdNIPR.cjs");
|
|
3
3
|
const require_use_as_date = require("./use-as-date-v-GFUtrP.cjs");
|
|
4
4
|
let vue = require("vue");
|
package/dist/as-time.cjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
require("./
|
|
2
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
3
|
-
require("./as-field-shell-B2iTn-iM.cjs");
|
|
4
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
5
|
-
require("./as-adornment-shell-9UmdNIPR.cjs");
|
|
6
|
-
require("./use-as-date-v-GFUtrP.cjs");
|
|
7
|
-
const require_as_time = require("./as-time-lal8igWF.cjs");
|
|
1
|
+
const require_as_time = require("./as-time-CNmyhGwd.cjs");
|
|
8
2
|
module.exports = require_as_time.as_time_default;
|
package/dist/as-time.mjs
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
3
|
-
import "./as-field-shell-Pdy3sAvr.mjs";
|
|
4
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
5
|
-
import "./as-adornment-shell-knFiB7Ct.mjs";
|
|
6
|
-
import "./use-as-date-Bb0Pi1l_.mjs";
|
|
7
|
-
import { t as as_time_default } from "./as-time-D8h_kUs2.mjs";
|
|
1
|
+
import { t as as_time_default } from "./as-time-B2zB5xSS.mjs";
|
|
8
2
|
export { as_time_default as default };
|
package/dist/as-tuple.cjs
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
require("./use-form-context-Dwr8Ai1v.cjs");
|
|
2
|
-
require("./use-as-nested-sections-store-jdMRxjBE.cjs");
|
|
3
|
-
require("./as-field-wLYoaZnT.cjs");
|
|
4
|
-
require("./use-as-locale-C4z5stwD.cjs");
|
|
5
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
6
|
-
require("./as-variant-picker-DObQZHmm.cjs");
|
|
7
|
-
require("./use-as-optional-add-flow-Dg_2iQ4d.cjs");
|
|
8
|
-
require("./as-collapsible-FN1ksw08.cjs");
|
|
9
|
-
require("./as-array-clear-btn-Bx60mqmC.cjs");
|
|
10
1
|
const require_as_tuple = require("./as-tuple-BsALfutl.cjs");
|
|
11
2
|
module.exports = require_as_tuple.as_tuple_default;
|
package/dist/as-tuple.mjs
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
import "./use-form-context-bAj7UoSe.mjs";
|
|
2
|
-
import "./use-as-nested-sections-store-lhi0z5z1.mjs";
|
|
3
|
-
import "./as-field-CXVjrEPQ.mjs";
|
|
4
|
-
import "./use-as-locale-BrFdAgnU.mjs";
|
|
5
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
6
|
-
import "./as-variant-picker-BVs0AvjK.mjs";
|
|
7
|
-
import "./use-as-optional-add-flow-DzUScp6V.mjs";
|
|
8
|
-
import "./as-collapsible-ChFET8n3.mjs";
|
|
9
|
-
import "./as-array-clear-btn-BqDJxNWn.mjs";
|
|
10
1
|
import { t as as_tuple_default } from "./as-tuple-DkQcCtgW.mjs";
|
|
11
2
|
export { as_tuple_default as default };
|
package/dist/as-union.cjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
require("./use-form-context-Dwr8Ai1v.cjs");
|
|
2
|
-
require("./use-as-nested-sections-store-jdMRxjBE.cjs");
|
|
3
|
-
require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
4
|
-
require("./use-as-optional-add-flow-Dg_2iQ4d.cjs");
|
|
5
1
|
const require_as_union = require("./as-union-BDqrrIn6.cjs");
|
|
6
2
|
module.exports = require_as_union.as_union_default;
|
package/dist/as-union.mjs
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import "./use-form-context-bAj7UoSe.mjs";
|
|
2
|
-
import "./use-as-nested-sections-store-lhi0z5z1.mjs";
|
|
3
|
-
import "./use-as-dropdown-BMnEm6jF.mjs";
|
|
4
|
-
import "./use-as-optional-add-flow-DzUScp6V.mjs";
|
|
5
1
|
import { t as as_union_default } from "./as-union-vz9dJ3aQ.mjs";
|
|
6
2
|
export { as_union_default as default };
|
package/dist/index.cjs
CHANGED
|
@@ -7,31 +7,26 @@ const require_as_field = require("./as-field-wLYoaZnT.cjs");
|
|
|
7
7
|
const require_use_as_locale = require("./use-as-locale-C4z5stwD.cjs");
|
|
8
8
|
const require_as_iterator = require("./as-iterator-BYMNe6UJ.cjs");
|
|
9
9
|
const require_use_as_dropdown = require("./use-as-dropdown-C-Qy7Vt0.cjs");
|
|
10
|
-
const require_as_field_shell = require("./as-field-shell-
|
|
11
|
-
require("./as-
|
|
12
|
-
require("./as-
|
|
13
|
-
require("./as-
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const require_as_multi_select = require("./as-multi-select-46G-lO3v.cjs");
|
|
17
|
-
const require_as_radio = require("./as-radio-CFext5YE.cjs");
|
|
18
|
-
const require_as_checkbox = require("./as-checkbox-3fTjz65c.cjs");
|
|
10
|
+
const require_as_field_shell = require("./as-field-shell-TH8IrGg9.cjs");
|
|
11
|
+
const require_as_input = require("./as-input-DBwxoEp7.cjs");
|
|
12
|
+
const require_as_select = require("./as-select-BrmjjRKU.cjs");
|
|
13
|
+
const require_as_multi_select = require("./as-multi-select-CjyY453L.cjs");
|
|
14
|
+
const require_as_radio = require("./as-radio-BoS1VhOR.cjs");
|
|
15
|
+
const require_as_checkbox = require("./as-checkbox-Dcqf2Bby.cjs");
|
|
19
16
|
const require_as_paragraph = require("./as-paragraph-DT26249u.cjs");
|
|
20
17
|
const require_as_action = require("./as-action-UtPIV4Cf.cjs");
|
|
21
18
|
const require_use_as_optional_add_flow = require("./use-as-optional-add-flow-Dg_2iQ4d.cjs");
|
|
22
|
-
require("./as-collapsible-FN1ksw08.cjs");
|
|
23
19
|
const require_as_object = require("./as-object-DittHqNK.cjs");
|
|
24
20
|
const require_as_array = require("./as-array-BfFUOUpP.cjs");
|
|
25
|
-
require("./as-array-clear-btn-Bx60mqmC.cjs");
|
|
26
21
|
const require_as_union = require("./as-union-BDqrrIn6.cjs");
|
|
27
22
|
const require_as_tuple = require("./as-tuple-BsALfutl.cjs");
|
|
28
|
-
const require_as_ref = require("./as-ref-
|
|
29
|
-
const require_as_decimal = require("./as-decimal
|
|
30
|
-
const require_as_number = require("./as-number-
|
|
23
|
+
const require_as_ref = require("./as-ref-DjMTB-tC.cjs");
|
|
24
|
+
const require_as_decimal = require("./as-decimal--cEvm1lb.cjs");
|
|
25
|
+
const require_as_number = require("./as-number-ojx4Q8YH.cjs");
|
|
31
26
|
const require_use_as_date = require("./use-as-date-v-GFUtrP.cjs");
|
|
32
|
-
const require_as_date = require("./as-date-
|
|
33
|
-
const require_as_datetime = require("./as-datetime-
|
|
34
|
-
const require_as_time = require("./as-time-
|
|
27
|
+
const require_as_date = require("./as-date-B9g4UlrI.cjs");
|
|
28
|
+
const require_as_datetime = require("./as-datetime-Ds_yQWi6.cjs");
|
|
29
|
+
const require_as_time = require("./as-time-CNmyhGwd.cjs");
|
|
35
30
|
let vue = require("vue");
|
|
36
31
|
let _atscript_ui = require("@atscript/ui");
|
|
37
32
|
//#region src/composables/create-as-form-def.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -8,7 +8,7 @@ import { t as _default$2 } from "./as-checkbox.vue-C1J7GXSV.cjs";
|
|
|
8
8
|
import { t as _default$3 } from "./as-date.vue-Dq-lJ85v.cjs";
|
|
9
9
|
import { t as _default$4 } from "./as-datetime.vue-B3e_uLA3.cjs";
|
|
10
10
|
import { t as _default$5 } from "./as-decimal.vue-C_boWzTP.cjs";
|
|
11
|
-
import { t as _default$7 } from "./as-field-shell.vue-
|
|
11
|
+
import { t as _default$7 } from "./as-field-shell.vue-DXubVvFh.cjs";
|
|
12
12
|
import { t as _default$9 } from "./as-input.vue-BkFMg_PX.cjs";
|
|
13
13
|
import { t as _default$11 } from "./as-number.vue-BSXOv-nz.cjs";
|
|
14
14
|
import { t as _default$12 } from "./as-object.vue-C9Sp3JdQ.cjs";
|
|
@@ -23,7 +23,7 @@ import * as vue from "vue";
|
|
|
23
23
|
import { Component, ComputedRef, MaybeRef, Ref, ShallowRef, WritableComputedRef } from "vue";
|
|
24
24
|
import * as _atscript_ui0 from "@atscript/ui";
|
|
25
25
|
import { ClientFactory, ClientFactory as ClientFactory$1, FormArrayFieldDef, FormDef, FormFieldDef, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, ValueHelpInfo, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
26
|
-
//#region ../../node_modules/.pnpm/@atscript+typescript@0.1.
|
|
26
|
+
//#region ../../node_modules/.pnpm/@atscript+typescript@0.1.58_@atscript+core@0.1.58_@emnapi+core@1.9.2_@emnapi+runtime@1._563f3ec8f0adba385f24cff184defc7d/node_modules/@atscript/typescript/dist/utils.d.ts
|
|
27
27
|
interface TError {
|
|
28
28
|
path: string;
|
|
29
29
|
message: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ import { t as _default$2 } from "./as-checkbox.vue-DbIbeNGB.mjs";
|
|
|
8
8
|
import { t as _default$3 } from "./as-date.vue-DQQ7e1be.mjs";
|
|
9
9
|
import { t as _default$4 } from "./as-datetime.vue-B9J68KLU.mjs";
|
|
10
10
|
import { t as _default$5 } from "./as-decimal.vue-B8-nFo4M.mjs";
|
|
11
|
-
import { t as _default$7 } from "./as-field-shell.vue-
|
|
11
|
+
import { t as _default$7 } from "./as-field-shell.vue-NyQkFneN.mjs";
|
|
12
12
|
import { t as _default$9 } from "./as-input.vue-DBMNi9pA.mjs";
|
|
13
13
|
import { t as _default$11 } from "./as-number.vue-DRE18Wy-.mjs";
|
|
14
14
|
import { t as _default$12 } from "./as-object.vue-I-Blr7wy.mjs";
|
|
@@ -23,7 +23,7 @@ import * as vue from "vue";
|
|
|
23
23
|
import { Component, ComputedRef, MaybeRef, Ref, ShallowRef, WritableComputedRef } from "vue";
|
|
24
24
|
import * as _atscript_ui0 from "@atscript/ui";
|
|
25
25
|
import { ClientFactory, ClientFactory as ClientFactory$1, FormArrayFieldDef, FormDef, FormFieldDef, FormTupleFieldDef, FormUnionFieldDef, FormUnionVariant, ResolvedValueHelp, ValueHelpInfo, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
26
|
-
//#region ../../node_modules/.pnpm/@atscript+typescript@0.1.
|
|
26
|
+
//#region ../../node_modules/.pnpm/@atscript+typescript@0.1.58_@atscript+core@0.1.58_@emnapi+core@1.9.2_@emnapi+runtime@1._563f3ec8f0adba385f24cff184defc7d/node_modules/@atscript/typescript/dist/utils.d.ts
|
|
27
27
|
interface TError {
|
|
28
28
|
path: string;
|
|
29
29
|
message: string;
|
package/dist/index.mjs
CHANGED
|
@@ -6,31 +6,26 @@ import { n as useAsData, r as useAsField, t as as_field_default } from "./as-fie
|
|
|
6
6
|
import { n as useAsLocale, t as provideAsLocale } from "./use-as-locale-BrFdAgnU.mjs";
|
|
7
7
|
import { t as as_iterator_default } from "./as-iterator-CT5y1jyn.mjs";
|
|
8
8
|
import { i as useAsFocusFirstAfter, n as focusFirstAfter, r as focusNewFocusableAfter, t as useAsDropdown } from "./use-as-dropdown-BMnEm6jF.mjs";
|
|
9
|
-
import { t as as_field_shell_default } from "./as-field-shell-
|
|
10
|
-
import "./as-
|
|
11
|
-
import "./as-
|
|
12
|
-
import "./as-
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as as_multi_select_default } from "./as-multi-select-C3es0-Wj.mjs";
|
|
16
|
-
import { t as as_radio_default } from "./as-radio-DeL0QScf.mjs";
|
|
17
|
-
import { n as useAsTriStateCheckbox, t as as_checkbox_default } from "./as-checkbox-BMCjv7QY.mjs";
|
|
9
|
+
import { t as as_field_shell_default } from "./as-field-shell-DEQnfFVJ.mjs";
|
|
10
|
+
import { t as as_input_default } from "./as-input-CfXuz6cf.mjs";
|
|
11
|
+
import { t as as_select_default } from "./as-select-DerYjoLO.mjs";
|
|
12
|
+
import { t as as_multi_select_default } from "./as-multi-select-CitiQ7iz.mjs";
|
|
13
|
+
import { t as as_radio_default } from "./as-radio-DQry_nv7.mjs";
|
|
14
|
+
import { n as useAsTriStateCheckbox, t as as_checkbox_default } from "./as-checkbox-DwGSW968.mjs";
|
|
18
15
|
import { t as as_paragraph_default } from "./as-paragraph-C2kFKwt1.mjs";
|
|
19
16
|
import { t as as_action_default } from "./as-action-DfQE2MA7.mjs";
|
|
20
17
|
import { t as useAsOptionalAddFlow } from "./use-as-optional-add-flow-DzUScp6V.mjs";
|
|
21
|
-
import "./as-collapsible-ChFET8n3.mjs";
|
|
22
18
|
import { t as as_object_default } from "./as-object-DMh4vis7.mjs";
|
|
23
19
|
import { n as useAsArray, t as as_array_default } from "./as-array-w6RKsbKG.mjs";
|
|
24
|
-
import "./as-array-clear-btn-BqDJxNWn.mjs";
|
|
25
20
|
import { n as useAsTypeMap, r as useAsUnion, t as as_union_default } from "./as-union-vz9dJ3aQ.mjs";
|
|
26
21
|
import { n as useAsTuple, t as as_tuple_default } from "./as-tuple-DkQcCtgW.mjs";
|
|
27
|
-
import { t as as_ref_default } from "./as-ref-
|
|
28
|
-
import { n as useAsDualInput, r as useAsDecimal, t as as_decimal_default } from "./as-decimal-
|
|
29
|
-
import { n as useAsNumber, t as as_number_default } from "./as-number-
|
|
22
|
+
import { t as as_ref_default } from "./as-ref-Bq_4z1IA.mjs";
|
|
23
|
+
import { n as useAsDualInput, r as useAsDecimal, t as as_decimal_default } from "./as-decimal-7sV4gfJx.mjs";
|
|
24
|
+
import { n as useAsNumber, t as as_number_default } from "./as-number-Clq1LMQd.mjs";
|
|
30
25
|
import { t as useAsDate } from "./use-as-date-Bb0Pi1l_.mjs";
|
|
31
|
-
import { t as as_date_default } from "./as-date-
|
|
32
|
-
import { t as as_datetime_default } from "./as-datetime-
|
|
33
|
-
import { t as as_time_default } from "./as-time-
|
|
26
|
+
import { t as as_date_default } from "./as-date-9Uwj5MPG.mjs";
|
|
27
|
+
import { t as as_datetime_default } from "./as-datetime-D_sc95ED.mjs";
|
|
28
|
+
import { t as as_time_default } from "./as-time-B2zB5xSS.mjs";
|
|
34
29
|
import { computed, inject, reactive } from "vue";
|
|
35
30
|
import { createFormData, createFormDef, createFormValueResolver, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
36
31
|
//#region src/composables/create-as-form-def.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/vue-form",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.70",
|
|
4
4
|
"description": "Type-driven form rendering for Atscript with Vue 3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -152,29 +152,29 @@
|
|
|
152
152
|
"access": "public"
|
|
153
153
|
},
|
|
154
154
|
"dependencies": {
|
|
155
|
-
"@atscript/ui": "^0.1.
|
|
155
|
+
"@atscript/ui": "^0.1.70"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
|
-
"@atscript/core": "^0.1.
|
|
159
|
-
"@atscript/db-client": "^0.1.
|
|
160
|
-
"@atscript/typescript": "^0.1.
|
|
158
|
+
"@atscript/core": "^0.1.58",
|
|
159
|
+
"@atscript/db-client": "^0.1.82",
|
|
160
|
+
"@atscript/typescript": "^0.1.58",
|
|
161
161
|
"@tsdown/css": "^0.21.4",
|
|
162
162
|
"@vitejs/plugin-vue": "^6",
|
|
163
163
|
"@vue/test-utils": "^2",
|
|
164
164
|
"happy-dom": "^18",
|
|
165
165
|
"reka-ui": "^2.9.2",
|
|
166
|
-
"unplugin-atscript": "^0.1.
|
|
167
|
-
"vitest": "npm:@voidzero-dev/vite-plus-test@
|
|
166
|
+
"unplugin-atscript": "^0.1.58",
|
|
167
|
+
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.14",
|
|
168
168
|
"vue": "^3",
|
|
169
169
|
"vue-tsc": "^3.2.6",
|
|
170
170
|
"vunor": "^0.2",
|
|
171
|
-
"@atscript/ui-fns": "^0.1.
|
|
171
|
+
"@atscript/ui-fns": "^0.1.70"
|
|
172
172
|
},
|
|
173
173
|
"peerDependencies": {
|
|
174
|
-
"@atscript/db-client": "^0.1.
|
|
174
|
+
"@atscript/db-client": "^0.1.82",
|
|
175
175
|
"reka-ui": "^2.9.2",
|
|
176
176
|
"vue": "^3",
|
|
177
|
-
"@atscript/ui-fns": "^0.1.
|
|
177
|
+
"@atscript/ui-fns": "^0.1.70"
|
|
178
178
|
},
|
|
179
179
|
"scripts": {
|
|
180
180
|
"build": "node ../../scripts/gen-exports.mjs && vp pack",
|