@wssto2/vue-core 0.4.15 → 0.4.17
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/{ActionRow.vue_vue_type_script_setup_true_lang-CkvS5W6K.js → ActionRow.vue_vue_type_script_setup_true_lang-DOjn7fqy.js} +1 -1
- package/dist/{Activity-4q26REYj.js → Activity-DnFB6WXf.js} +5 -5
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-B7qSUiee.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-Bm0sxqNz.js} +64 -63
- package/dist/{Changes-CKIuGF8O.js → Changes-DMrQYv2e.js} +4 -4
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-B17cUOzj.js → CollectionPage.vue_vue_type_script_setup_true_lang-CVnZzaBm.js} +5 -5
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-ChS9ULwk.js → DataTable.vue_vue_type_script_setup_true_lang-Wuvo-l_z.js} +1 -1
- package/dist/DateField.vue_vue_type_script_setup_true_lang-BIXzNzYo.js +278 -0
- package/dist/{DeadLetters-DPGcQOz1.js → DeadLetters-BF9PS4mA.js} +3 -3
- package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-noYI9QMk.js → FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js} +1 -1
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-BcIbTMHN.js → FormView.vue_vue_type_script_setup_true_lang-Dz5TZt92.js} +1 -1
- package/dist/{General-CUA9b3ML.js → General-yInbmj6I.js} +8 -8
- package/dist/{NewRolePage-DBfCvDWA.js → NewRolePage-09C3P6fE.js} +3 -3
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-CC8bKyR_.js +150 -0
- package/dist/{ProfilePage-On-eAiJ-.js → ProfilePage-CvV44C0m.js} +8 -8
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-D87Hs75d.js → RecordHeader.vue_vue_type_script_setup_true_lang-DijFQnU6.js} +1 -1
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-Da0M-hen.js → ResourcePage.vue_vue_type_script_setup_true_lang-BpLnmA6n.js} +1 -1
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-fvAf3rQm.js → RoleEditor.vue_vue_type_script_setup_true_lang-BqWoby16.js} +7 -7
- package/dist/{RolePage-B8oul55j.js → RolePage-DuIFjSKH.js} +8 -8
- package/dist/{RolesPage-DsXVivdj.js → RolesPage-BzqBqils.js} +5 -5
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-B0p_8xQG.js → SectionList.vue_vue_type_script_setup_true_lang-D5QWy-c1.js} +1 -1
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-D5Cnb4_O.js → SectionNavigator.vue_vue_type_script_setup_true_lang-CW81A_bn.js} +2 -2
- package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-BMBkEmxr.js +81 -0
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-DedKLLQK.js → SelectField.vue_vue_type_script_setup_true_lang-C1Flb1hA.js} +161 -139
- package/dist/{SessionList.vue_vue_type_script_setup_true_lang-CirlMdHb.js → SessionList.vue_vue_type_script_setup_true_lang-C0XvavBw.js} +3 -3
- package/dist/{Sessions-BTyXDEuY.js → Sessions-_qmODKw2.js} +2 -2
- package/dist/{SettingsPage-DHTmMgif.js → SettingsPage-Bz48sO08.js} +9 -9
- package/dist/{SignIn-DU4DE2wj.js → SignIn-DJsTGQ79.js} +5 -5
- package/dist/{SignInPage-BA22kyOp.js → SignInPage-Bb78MIDk.js} +3 -3
- package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-CIv34nRn.js → SignInTable.vue_vue_type_script_setup_true_lang-7Z9EmLs-.js} +1 -1
- package/dist/{SignIns-C8QAZBaL.js → SignIns-yRjJrf47.js} +2 -2
- package/dist/SwitchField.vue_vue_type_script_setup_true_lang-0weBvsJf.js +87 -0
- package/dist/TextField.vue_vue_type_script_setup_true_lang-D3-R5XXG.js +292 -0
- package/dist/TextareaField.vue_vue_type_script_setup_true_lang-4wC3c0BM.js +91 -0
- package/dist/TimeField.vue_vue_type_script_setup_true_lang-DrLtIexs.js +187 -0
- package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-FVRUr-9y.js → Timestamp.vue_vue_type_script_setup_true_lang-CU2Y5oYl.js} +1 -1
- package/dist/{UserRecord-D1BNmYp9.js → UserRecord-4L0FrCty.js} +9 -9
- package/dist/{UsersList-ltx3G23-.js → UsersList-ww_-FoAq.js} +9 -9
- package/dist/access/index.js +1 -1
- package/dist/app/application.d.ts +1 -1
- package/dist/app/index.js +1 -1
- package/dist/collection/index.js +3 -3
- package/dist/content/index.js +1 -1
- package/dist/{control-CX9BG2UB.js → control-B_Nwtmag.js} +96 -82
- package/dist/{fieldMessages-DV6sESpn.js → fieldMessages-6HVzSDqG.js} +1 -1
- package/dist/form/CardSelectField.vue.d.ts +2 -2
- package/dist/form/ChoiceChips.vue.d.ts +2 -2
- package/dist/form/ComboField.vue.d.ts +2 -2
- package/dist/form/CommandDialog.vue.d.ts +3 -0
- package/dist/form/DateField.vue.d.ts +9 -2
- package/dist/form/DateTimeField.vue.d.ts +9 -2
- package/dist/form/Field.vue.d.ts +1 -1
- package/dist/form/FileField.vue.d.ts +9 -2
- package/dist/form/I18nField.vue.d.ts +9 -2
- package/dist/form/MoneyField.vue.d.ts +9 -2
- package/dist/form/MonthYearField.vue.d.ts +9 -2
- package/dist/form/MultiSelectField.vue.d.ts +2 -2
- package/dist/form/NumberField.vue.d.ts +20 -2
- package/dist/form/PhotoField.vue.d.ts +9 -2
- package/dist/form/SegmentedField.vue.d.ts +2 -2
- package/dist/form/SelectField.vue.d.ts +2 -2
- package/dist/form/SwitchField.vue.d.ts +2 -2
- package/dist/form/TextField.vue.d.ts +9 -2
- package/dist/form/TextareaField.vue.d.ts +9 -2
- package/dist/form/TimeField.vue.d.ts +9 -2
- package/dist/form/field.d.ts +9 -0
- package/dist/form/index.d.ts +1 -1
- package/dist/form/index.js +1176 -977
- package/dist/format/index.js +1 -1
- package/dist/format-D8X4zsx6.js +78 -0
- package/dist/i18n/index.d.ts +1 -0
- package/dist/i18n/index.js +31 -28
- package/dist/identity/index.js +1 -1
- package/dist/{index-BCw_Ki6z.js → index-C6vCe149.js} +3 -3
- package/dist/{index-Chh4z9xW.js → index-DW9gyWL1.js} +8 -8
- package/dist/{index-DwdVrW6q.js → index-JjALCpwi.js} +13 -13
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/intlLocale.d.ts +2 -0
- package/dist/intlLocale-CeRU44qJ.js +4 -0
- package/dist/notifications/index.js +1 -1
- package/dist/page/index.js +5 -5
- package/dist/phone/index.js +112 -111
- package/dist/resource/index.js +1 -1
- package/dist/{rowLayout-D1cYQghV.js → rowLayout-BFz4Kdoy.js} +2 -2
- package/dist/{status-cWCAMAmW.js → status-Cz54-7z7.js} +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/{useCommand-B-N6HJOz.js → useCommand-YN9EMb7s.js} +41 -38
- package/dist/{useTypedEntry-aTfPBAhw.js → useTypedEntry-C7k7Dyl-.js} +237 -236
- package/package.json +1 -1
- package/dist/DateField.vue_vue_type_script_setup_true_lang-DehwWm78.js +0 -256
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-Dm6FfJ2T.js +0 -126
- package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-B2d55hrh.js +0 -59
- package/dist/SwitchField.vue_vue_type_script_setup_true_lang-B2Z2hy_h.js +0 -65
- package/dist/TextField.vue_vue_type_script_setup_true_lang-nqnGG7Zc.js +0 -270
- package/dist/TextareaField.vue_vue_type_script_setup_true_lang-BgIQyYtf.js +0 -69
- package/dist/TimeField.vue_vue_type_script_setup_true_lang-Dr0h-V_8.js +0 -165
- package/dist/format-B8mJm946.js +0 -77
|
@@ -2,7 +2,7 @@ import { defineComponent as $, computed as _, unref as s, openBlock as l, create
|
|
|
2
2
|
import { useI18n as S } from "vue-i18n";
|
|
3
3
|
import { _ as j } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
4
4
|
import { _ as N } from "./Menu.vue_vue_type_script_setup_true_lang-uPmxWvds.js";
|
|
5
|
-
import { _ as V } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as V } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-Bm0sxqNz.js";
|
|
6
6
|
import { a as q } from "./sectionIndex-BS0ic5W7.js";
|
|
7
7
|
const M = {
|
|
8
8
|
class: "dock-safe-area pointer-events-none",
|
|
@@ -6,9 +6,9 @@ import { _ as G } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
|
|
|
6
6
|
import { a as re } from "./mediaQuery-CygcXmFW.js";
|
|
7
7
|
import { u as ie } from "./access-DmAceEo5.js";
|
|
8
8
|
import { u as ce, a as ue } from "./sections-D-kD98vu.js";
|
|
9
|
-
import { p as de } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { p as de } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-Bm0sxqNz.js";
|
|
10
10
|
import { p as me } from "./sectionIndex-BS0ic5W7.js";
|
|
11
|
-
import { _ as K, a as pe } from "./SectionList.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as K, a as pe } from "./SectionList.vue_vue_type_script_setup_true_lang-D5QWy-c1.js";
|
|
12
12
|
const fe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
"data-test": "section-navigator",
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { defineComponent as w, openBlock as a, createBlock as k, mergeProps as x, unref as r, createSlots as V, withCtx as o, createElementVNode as h, normalizeClass as n, createElementBlock as s, Fragment as _, renderList as $, createTextVNode as B, toDisplayString as d, createCommentVNode as C, renderSlot as i, mergeDefaults as L } from "vue";
|
|
2
|
+
import { u as F, a as S, _ as T, f as D, b as N } from "./control-B_Nwtmag.js";
|
|
3
|
+
const E = ["id", "aria-label", "aria-describedby", "aria-invalid"], P = ["disabled", "aria-pressed", "onClick"], H = /* @__PURE__ */ w({
|
|
4
|
+
__name: "SegmentedField",
|
|
5
|
+
props: /* @__PURE__ */ L({
|
|
6
|
+
label: {},
|
|
7
|
+
labelHidden: { type: Boolean },
|
|
8
|
+
hint: {},
|
|
9
|
+
error: {},
|
|
10
|
+
required: { type: Boolean },
|
|
11
|
+
editable: { type: Boolean },
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
lockedReason: {},
|
|
14
|
+
presentation: {},
|
|
15
|
+
name: {},
|
|
16
|
+
modelValue: {},
|
|
17
|
+
options: {},
|
|
18
|
+
rowLayout: {}
|
|
19
|
+
}, { ...N, modelValue: null, rowLayout: "setting" }),
|
|
20
|
+
emits: ["update:modelValue"],
|
|
21
|
+
setup(u, { emit: m }) {
|
|
22
|
+
const e = u, c = m, { editable: f } = F(e), b = !!S(), p = () => e.options.find((t) => t.value === e.modelValue)?.label ?? null;
|
|
23
|
+
return (t, R) => (a(), k(T, x(r(D)(e), {
|
|
24
|
+
value: p(),
|
|
25
|
+
"row-layout": e.rowLayout
|
|
26
|
+
}), V({
|
|
27
|
+
default: o(({ id: y, describedby: g, invalid: v }) => [
|
|
28
|
+
h("div", {
|
|
29
|
+
id: y,
|
|
30
|
+
role: "group",
|
|
31
|
+
"aria-label": e.label,
|
|
32
|
+
"aria-describedby": g,
|
|
33
|
+
"aria-invalid": v || void 0,
|
|
34
|
+
"data-test": "segmented",
|
|
35
|
+
class: n(["max-w-full flex-wrap rounded-control bg-fill p-0.5", [b && e.rowLayout === "stacked" ? "flex w-full" : "inline-flex", e.disabled ? "opacity-45" : ""]])
|
|
36
|
+
}, [
|
|
37
|
+
(a(!0), s(_, null, $(e.options, (l) => (a(), s("button", {
|
|
38
|
+
key: l.value,
|
|
39
|
+
type: "button",
|
|
40
|
+
disabled: e.disabled || !r(f) || l.disabled,
|
|
41
|
+
"aria-pressed": l.value === e.modelValue,
|
|
42
|
+
class: n(["relative min-h-7 min-w-fit flex-1 whitespace-nowrap rounded-control px-3.5 py-1 text-sm transition-colors duration-motion-fast ease-motion-standard focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-border-focus", l.value === e.modelValue ? "bg-segment-selected font-semibold text-content-strong shadow-sm" : "cursor-pointer font-medium text-content hover:text-content-strong"]),
|
|
43
|
+
onClick: (q) => c("update:modelValue", l.value)
|
|
44
|
+
}, [
|
|
45
|
+
B(d(l.label) + " ", 1),
|
|
46
|
+
l.count !== void 0 ? (a(), s("span", {
|
|
47
|
+
key: 0,
|
|
48
|
+
class: n(["ml-1.5 rounded-full px-1.5 text-caption font-semibold tabular-nums", l.value === e.modelValue ? "bg-tint-soft text-content-link" : "bg-fill-strong text-content-muted"])
|
|
49
|
+
}, d(l.count), 3)) : C("", !0)
|
|
50
|
+
], 10, P))), 128))
|
|
51
|
+
], 10, E)
|
|
52
|
+
]),
|
|
53
|
+
_: 2
|
|
54
|
+
}, [
|
|
55
|
+
t.$slots.trailing ? {
|
|
56
|
+
name: "trailing",
|
|
57
|
+
fn: o(() => [
|
|
58
|
+
i(t.$slots, "trailing")
|
|
59
|
+
]),
|
|
60
|
+
key: "0"
|
|
61
|
+
} : void 0,
|
|
62
|
+
t.$slots.labelTrailing ? {
|
|
63
|
+
name: "labelTrailing",
|
|
64
|
+
fn: o(() => [
|
|
65
|
+
i(t.$slots, "labelTrailing")
|
|
66
|
+
]),
|
|
67
|
+
key: "1"
|
|
68
|
+
} : void 0,
|
|
69
|
+
t.$slots.readonly ? {
|
|
70
|
+
name: "readonly",
|
|
71
|
+
fn: o(() => [
|
|
72
|
+
i(t.$slots, "readonly")
|
|
73
|
+
]),
|
|
74
|
+
key: "2"
|
|
75
|
+
} : void 0
|
|
76
|
+
]), 1040, ["value", "row-layout"]));
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
export {
|
|
80
|
+
H as _
|
|
81
|
+
};
|