@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.
Files changed (97) hide show
  1. package/dist/{ActionRow.vue_vue_type_script_setup_true_lang-CkvS5W6K.js → ActionRow.vue_vue_type_script_setup_true_lang-DOjn7fqy.js} +1 -1
  2. package/dist/{Activity-4q26REYj.js → Activity-DnFB6WXf.js} +5 -5
  3. package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-B7qSUiee.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-Bm0sxqNz.js} +64 -63
  4. package/dist/{Changes-CKIuGF8O.js → Changes-DMrQYv2e.js} +4 -4
  5. package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-B17cUOzj.js → CollectionPage.vue_vue_type_script_setup_true_lang-CVnZzaBm.js} +5 -5
  6. 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
  7. package/dist/DateField.vue_vue_type_script_setup_true_lang-BIXzNzYo.js +278 -0
  8. package/dist/{DeadLetters-DPGcQOz1.js → DeadLetters-BF9PS4mA.js} +3 -3
  9. package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-noYI9QMk.js → FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js} +1 -1
  10. package/dist/{FormView.vue_vue_type_script_setup_true_lang-BcIbTMHN.js → FormView.vue_vue_type_script_setup_true_lang-Dz5TZt92.js} +1 -1
  11. package/dist/{General-CUA9b3ML.js → General-yInbmj6I.js} +8 -8
  12. package/dist/{NewRolePage-DBfCvDWA.js → NewRolePage-09C3P6fE.js} +3 -3
  13. package/dist/NumberField.vue_vue_type_script_setup_true_lang-CC8bKyR_.js +150 -0
  14. package/dist/{ProfilePage-On-eAiJ-.js → ProfilePage-CvV44C0m.js} +8 -8
  15. package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-D87Hs75d.js → RecordHeader.vue_vue_type_script_setup_true_lang-DijFQnU6.js} +1 -1
  16. 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
  17. package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-fvAf3rQm.js → RoleEditor.vue_vue_type_script_setup_true_lang-BqWoby16.js} +7 -7
  18. package/dist/{RolePage-B8oul55j.js → RolePage-DuIFjSKH.js} +8 -8
  19. package/dist/{RolesPage-DsXVivdj.js → RolesPage-BzqBqils.js} +5 -5
  20. 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
  21. 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
  22. package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-BMBkEmxr.js +81 -0
  23. package/dist/{SelectField.vue_vue_type_script_setup_true_lang-DedKLLQK.js → SelectField.vue_vue_type_script_setup_true_lang-C1Flb1hA.js} +161 -139
  24. package/dist/{SessionList.vue_vue_type_script_setup_true_lang-CirlMdHb.js → SessionList.vue_vue_type_script_setup_true_lang-C0XvavBw.js} +3 -3
  25. package/dist/{Sessions-BTyXDEuY.js → Sessions-_qmODKw2.js} +2 -2
  26. package/dist/{SettingsPage-DHTmMgif.js → SettingsPage-Bz48sO08.js} +9 -9
  27. package/dist/{SignIn-DU4DE2wj.js → SignIn-DJsTGQ79.js} +5 -5
  28. package/dist/{SignInPage-BA22kyOp.js → SignInPage-Bb78MIDk.js} +3 -3
  29. package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-CIv34nRn.js → SignInTable.vue_vue_type_script_setup_true_lang-7Z9EmLs-.js} +1 -1
  30. package/dist/{SignIns-C8QAZBaL.js → SignIns-yRjJrf47.js} +2 -2
  31. package/dist/SwitchField.vue_vue_type_script_setup_true_lang-0weBvsJf.js +87 -0
  32. package/dist/TextField.vue_vue_type_script_setup_true_lang-D3-R5XXG.js +292 -0
  33. package/dist/TextareaField.vue_vue_type_script_setup_true_lang-4wC3c0BM.js +91 -0
  34. package/dist/TimeField.vue_vue_type_script_setup_true_lang-DrLtIexs.js +187 -0
  35. 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
  36. package/dist/{UserRecord-D1BNmYp9.js → UserRecord-4L0FrCty.js} +9 -9
  37. package/dist/{UsersList-ltx3G23-.js → UsersList-ww_-FoAq.js} +9 -9
  38. package/dist/access/index.js +1 -1
  39. package/dist/app/application.d.ts +1 -1
  40. package/dist/app/index.js +1 -1
  41. package/dist/collection/index.js +3 -3
  42. package/dist/content/index.js +1 -1
  43. package/dist/{control-CX9BG2UB.js → control-B_Nwtmag.js} +96 -82
  44. package/dist/{fieldMessages-DV6sESpn.js → fieldMessages-6HVzSDqG.js} +1 -1
  45. package/dist/form/CardSelectField.vue.d.ts +2 -2
  46. package/dist/form/ChoiceChips.vue.d.ts +2 -2
  47. package/dist/form/ComboField.vue.d.ts +2 -2
  48. package/dist/form/CommandDialog.vue.d.ts +3 -0
  49. package/dist/form/DateField.vue.d.ts +9 -2
  50. package/dist/form/DateTimeField.vue.d.ts +9 -2
  51. package/dist/form/Field.vue.d.ts +1 -1
  52. package/dist/form/FileField.vue.d.ts +9 -2
  53. package/dist/form/I18nField.vue.d.ts +9 -2
  54. package/dist/form/MoneyField.vue.d.ts +9 -2
  55. package/dist/form/MonthYearField.vue.d.ts +9 -2
  56. package/dist/form/MultiSelectField.vue.d.ts +2 -2
  57. package/dist/form/NumberField.vue.d.ts +20 -2
  58. package/dist/form/PhotoField.vue.d.ts +9 -2
  59. package/dist/form/SegmentedField.vue.d.ts +2 -2
  60. package/dist/form/SelectField.vue.d.ts +2 -2
  61. package/dist/form/SwitchField.vue.d.ts +2 -2
  62. package/dist/form/TextField.vue.d.ts +9 -2
  63. package/dist/form/TextareaField.vue.d.ts +9 -2
  64. package/dist/form/TimeField.vue.d.ts +9 -2
  65. package/dist/form/field.d.ts +9 -0
  66. package/dist/form/index.d.ts +1 -1
  67. package/dist/form/index.js +1176 -977
  68. package/dist/format/index.js +1 -1
  69. package/dist/format-D8X4zsx6.js +78 -0
  70. package/dist/i18n/index.d.ts +1 -0
  71. package/dist/i18n/index.js +31 -28
  72. package/dist/identity/index.js +1 -1
  73. package/dist/{index-BCw_Ki6z.js → index-C6vCe149.js} +3 -3
  74. package/dist/{index-Chh4z9xW.js → index-DW9gyWL1.js} +8 -8
  75. package/dist/{index-DwdVrW6q.js → index-JjALCpwi.js} +13 -13
  76. package/dist/index.d.ts +1 -1
  77. package/dist/index.js +1 -1
  78. package/dist/internal/intlLocale.d.ts +2 -0
  79. package/dist/intlLocale-CeRU44qJ.js +4 -0
  80. package/dist/notifications/index.js +1 -1
  81. package/dist/page/index.js +5 -5
  82. package/dist/phone/index.js +112 -111
  83. package/dist/resource/index.js +1 -1
  84. package/dist/{rowLayout-D1cYQghV.js → rowLayout-BFz4Kdoy.js} +2 -2
  85. package/dist/{status-cWCAMAmW.js → status-Cz54-7z7.js} +1 -1
  86. package/dist/testing/index.js +1 -1
  87. package/dist/{useCommand-B-N6HJOz.js → useCommand-YN9EMb7s.js} +41 -38
  88. package/dist/{useTypedEntry-aTfPBAhw.js → useTypedEntry-C7k7Dyl-.js} +237 -236
  89. package/package.json +1 -1
  90. package/dist/DateField.vue_vue_type_script_setup_true_lang-DehwWm78.js +0 -256
  91. package/dist/NumberField.vue_vue_type_script_setup_true_lang-Dm6FfJ2T.js +0 -126
  92. package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-B2d55hrh.js +0 -59
  93. package/dist/SwitchField.vue_vue_type_script_setup_true_lang-B2Z2hy_h.js +0 -65
  94. package/dist/TextField.vue_vue_type_script_setup_true_lang-nqnGG7Zc.js +0 -270
  95. package/dist/TextareaField.vue_vue_type_script_setup_true_lang-BgIQyYtf.js +0 -69
  96. package/dist/TimeField.vue_vue_type_script_setup_true_lang-Dr0h-V_8.js +0 -165
  97. package/dist/format-B8mJm946.js +0 -77
@@ -1,41 +1,41 @@
1
- import { defineComponent as M, ref as U, useId as K, useTemplateRef as j, computed as g, watch as T, nextTick as W, openBlock as l, createElementBlock as f, normalizeClass as b, createElementVNode as r, createVNode as D, unref as o, withDirectives as J, vModelText as Q, createCommentVNode as v, toDisplayString as $, createBlock as S, Fragment as P, renderList as R, onScopeDispose as X, mergeProps as H, withCtx as z, createSlots as Y, createTextVNode as Z, mergeDefaults as ee } from "vue";
2
- import { useI18n as G } from "vue-i18n";
3
- import { _ as te } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
4
- import { _ as q } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
5
- import { u as oe } from "./mediaQuery-CygcXmFW.js";
6
- import { _ as N } from "./ToneDot.vue_vue_type_script_setup_true_lang-99rNn-L5.js";
7
- import { _ as le } from "./Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
8
- import { _ as ae } from "./Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
9
- import { a as ne, c as se, _ as re, f as ie, b as ue } from "./control-CX9BG2UB.js";
10
- import { g as de, m as ce } from "./options-Ba_0uLWN.js";
11
- import { a as pe } from "./suggestions-BxMm6MQA.js";
12
- const me = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill px-2.5 text-content-muted focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-border-focus" }, fe = ["aria-label", "placeholder"], ve = ["aria-multiselectable", "aria-busy"], be = {
1
+ import { defineComponent as G, ref as N, useId as J, useTemplateRef as K, computed as g, watch as B, nextTick as Q, openBlock as a, createElementBlock as f, normalizeClass as b, createElementVNode as r, createVNode as q, unref as o, withDirectives as X, vModelText as Y, createCommentVNode as v, toDisplayString as $, createBlock as V, Fragment as R, renderList as H, onScopeDispose as Z, mergeProps as I, createSlots as M, withCtx as S, createTextVNode as ee, renderSlot as U, mergeDefaults as te } from "vue";
2
+ import { useI18n as W } from "vue-i18n";
3
+ import { _ as oe } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
4
+ import { _ as z } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
5
+ import { u as le } from "./mediaQuery-CygcXmFW.js";
6
+ import { _ as P } from "./ToneDot.vue_vue_type_script_setup_true_lang-99rNn-L5.js";
7
+ import { _ as ae } from "./Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
8
+ import { _ as ne } from "./Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
9
+ import { a as se, c as re, _ as ie, f as ue, b as de } from "./control-B_Nwtmag.js";
10
+ import { g as ce, m as pe } from "./options-Ba_0uLWN.js";
11
+ import { a as me } from "./suggestions-BxMm6MQA.js";
12
+ const fe = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill px-2.5 text-content-muted focus-within:outline-2 focus-within:outline-offset-2 focus-within:outline-border-focus" }, ve = ["aria-label", "placeholder"], be = ["aria-multiselectable", "aria-busy"], ge = {
13
13
  key: 0,
14
14
  role: "presentation"
15
- }, ge = ["aria-selected"], he = { class: "flex-1 py-2" }, ye = {
15
+ }, he = ["aria-selected"], ye = { class: "flex-1 py-2" }, xe = {
16
16
  key: 1,
17
17
  role: "presentation",
18
18
  class: "flex items-center gap-2.5 px-row-inset py-4 text-subheadline text-content-muted",
19
19
  "data-test": "options-loading"
20
- }, xe = { role: "status" }, ke = {
20
+ }, ke = { role: "status" }, _e = {
21
21
  key: 2,
22
22
  role: "presentation",
23
23
  class: "flex flex-col items-start gap-1 px-row-inset py-3",
24
24
  "data-test": "options-failed"
25
- }, _e = {
25
+ }, we = {
26
26
  role: "alert",
27
27
  class: "text-subheadline text-content-destructive"
28
- }, we = ["id"], $e = ["aria-labelledby"], Ce = ["aria-selected"], Se = ["disabled", "onClick"], Ve = {
28
+ }, $e = ["id"], Ce = ["aria-labelledby"], Se = ["aria-selected"], Ve = ["disabled", "onClick"], Le = {
29
29
  key: 0,
30
30
  "aria-hidden": "true",
31
31
  class: "flex shrink-0 items-center"
32
- }, Le = { class: "min-w-0 flex-1 text-content-strong" }, De = {
32
+ }, De = { class: "min-w-0 flex-1 text-content-strong" }, qe = {
33
33
  key: 1,
34
34
  class: "shrink-0 text-footnote text-content-muted"
35
- }, qe = {
35
+ }, ze = {
36
36
  key: 3,
37
37
  class: "px-4 py-6 text-center text-subheadline text-content-muted"
38
- }, I = /* @__PURE__ */ M({
38
+ }, j = /* @__PURE__ */ G({
39
39
  __name: "OptionList",
40
40
  props: {
41
41
  options: {},
@@ -48,7 +48,7 @@ const me = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill p
48
48
  },
49
49
  emits: ["select", "retry"],
50
50
  setup(i, { emit: h }) {
51
- const e = i, y = h, { t: m } = G(), a = U(""), c = K(), x = j("root"), n = g(() => e.options.length >= e.searchFrom), C = g(() => de(ce(e.options, a.value))), V = (p) => e.multiple ? Array.isArray(e.modelValue) && e.modelValue.includes(p.value) : e.modelValue === p.value, u = g(() => e.multiple ? !1 : e.modelValue === null);
51
+ const e = i, y = h, { t: m } = W(), n = N(""), c = J(), x = K("root"), s = g(() => e.options.length >= e.searchFrom), C = g(() => ce(pe(e.options, n.value))), L = (p) => e.multiple ? Array.isArray(e.modelValue) && e.modelValue.includes(p.value) : e.modelValue === p.value, u = g(() => e.multiple ? !1 : e.modelValue === null);
52
52
  function w(p) {
53
53
  if (!["ArrowDown", "ArrowUp", "Home", "End"].includes(p.key)) return;
54
54
  const t = [...x.value?.querySelectorAll("[data-option]:not([disabled])") ?? []];
@@ -56,30 +56,30 @@ const me = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill p
56
56
  const _ = t.indexOf(document.activeElement), d = p.key === "Home" ? 0 : p.key === "End" ? t.length - 1 : p.key === "ArrowDown" ? Math.min(_ + 1, t.length - 1) : Math.max(_ - 1, 0);
57
57
  p.key === "ArrowUp" && _ <= 0 ? x.value?.querySelector("[data-option-search]")?.focus() : t[_ === -1 && p.key === "ArrowDown" ? 0 : d]?.focus(), p.preventDefault();
58
58
  }
59
- const k = g(() => e.presentation === "grouped"), O = g(() => e.status === "loading"), F = g(() => e.status === "failed");
60
- return T(() => e.status, (p, s) => {
61
- s !== "loading" || p === "loading" || W(() => {
59
+ const k = g(() => e.presentation === "grouped"), O = g(() => e.status === "loading"), T = g(() => e.status === "failed");
60
+ return B(() => e.status, (p, l) => {
61
+ l !== "loading" || p === "loading" || Q(() => {
62
62
  const t = document.activeElement;
63
63
  (!t || t === document.body || t.getAttribute("role") === "dialog" && !!x.value && t.contains(x.value)) && x.value?.querySelector("[data-option-search], [data-option]:not([disabled])")?.focus({ preventScroll: !0 });
64
64
  });
65
- }), (p, s) => (l(), f("div", {
65
+ }), (p, l) => (a(), f("div", {
66
66
  ref_key: "root",
67
67
  ref: x,
68
68
  "data-test": "option-list",
69
69
  onKeydown: w
70
70
  }, [
71
- n.value ? (l(), f("div", {
71
+ s.value ? (a(), f("div", {
72
72
  key: 0,
73
73
  class: b(["sticky top-0 z-10 pb-2", k.value ? "bg-surface-page pt-1" : "bg-surface-cell"])
74
74
  }, [
75
- r("label", me, [
76
- D(o(q), {
75
+ r("label", fe, [
76
+ q(o(z), {
77
77
  name: "search",
78
78
  size: 16,
79
79
  class: "shrink-0"
80
80
  }),
81
- J(r("input", {
82
- "onUpdate:modelValue": s[0] || (s[0] = (t) => a.value = t),
81
+ X(r("input", {
82
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => n.value = t),
83
83
  "data-option-search": "",
84
84
  type: "search",
85
85
  enterkeyhint: "search",
@@ -89,8 +89,8 @@ const me = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill p
89
89
  "aria-label": o(m)("core.form.select.search"),
90
90
  placeholder: o(m)("core.form.select.search"),
91
91
  class: "min-w-0 flex-1 border-0 bg-transparent p-0 text-body text-content-strong outline-none placeholder:text-content-disabled focus:ring-0"
92
- }, null, 8, fe), [
93
- [Q, a.value]
92
+ }, null, 8, ve), [
93
+ [Y, n.value]
94
94
  ])
95
95
  ])
96
96
  ], 2)) : v("", !0),
@@ -100,7 +100,7 @@ const me = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill p
100
100
  "aria-multiselectable": e.multiple || void 0,
101
101
  "aria-busy": O.value || void 0
102
102
  }, [
103
- e.noneLabel && a.value === "" ? (l(), f("li", be, [
103
+ e.noneLabel && n.value === "" ? (a(), f("li", ge, [
104
104
  r("ul", {
105
105
  role: "group",
106
106
  class: b(k.value ? "rounded-group bg-surface-cell shadow-group" : "")
@@ -113,54 +113,54 @@ const me = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill p
113
113
  type: "button",
114
114
  "data-option": "",
115
115
  class: b(["flex min-h-row w-full cursor-pointer items-center gap-3 px-row-inset text-left text-body hover:bg-fill focus-visible:bg-fill focus-visible:outline-none active:bg-fill", [u.value ? "text-content-strong" : "text-content-muted", k.value ? "rounded-group" : "rounded-control"]]),
116
- onClick: s[1] || (s[1] = (t) => y("select", null))
116
+ onClick: l[1] || (l[1] = (t) => y("select", null))
117
117
  }, [
118
- r("span", he, $(e.noneLabel), 1),
119
- u.value ? (l(), S(o(q), {
118
+ r("span", ye, $(e.noneLabel), 1),
119
+ u.value ? (a(), V(o(z), {
120
120
  key: 0,
121
121
  name: "checkCustom",
122
122
  size: 18,
123
123
  class: "shrink-0 text-content-link"
124
124
  })) : v("", !0)
125
125
  ], 2)
126
- ], 8, ge)
126
+ ], 8, he)
127
127
  ], 2)
128
128
  ])) : v("", !0),
129
- O.value ? (l(), f("li", ye, [
130
- D(o(q), {
129
+ O.value ? (a(), f("li", xe, [
130
+ q(o(z), {
131
131
  name: "loader4Line",
132
132
  size: 16,
133
133
  class: "shrink-0 animate-spin text-content-link"
134
134
  }),
135
- r("span", xe, $(o(m)("core.form.select.loading")), 1)
136
- ])) : F.value ? (l(), f("li", ke, [
137
- r("span", _e, $(o(m)("core.form.select.load_failed")), 1),
135
+ r("span", ke, $(o(m)("core.form.select.loading")), 1)
136
+ ])) : T.value ? (a(), f("li", _e, [
137
+ r("span", we, $(o(m)("core.form.select.load_failed")), 1),
138
138
  r("button", {
139
139
  type: "button",
140
140
  "data-option": "",
141
141
  "data-test": "options-retry",
142
142
  class: "-ml-2 cursor-pointer rounded-control px-2 py-1 text-subheadline font-medium text-content-link hover:bg-fill focus-visible:bg-fill focus-visible:outline-none",
143
- onClick: s[2] || (s[2] = (t) => y("retry"))
143
+ onClick: l[2] || (l[2] = (t) => y("retry"))
144
144
  }, $(o(m)("core.actions.retry")), 1)
145
145
  ])) : v("", !0),
146
- (l(!0), f(P, null, R(C.value, (t, _) => (l(), f("li", {
146
+ (a(!0), f(R, null, H(C.value, (t, _) => (a(), f("li", {
147
147
  key: t.title ?? _,
148
148
  role: "presentation"
149
149
  }, [
150
- t.title ? (l(), f("p", {
150
+ t.title ? (a(), f("p", {
151
151
  key: 0,
152
152
  id: `${o(c)}-${_}`,
153
153
  class: "px-row-inset pb-1.5 text-footnote uppercase tracking-wide text-content-muted"
154
- }, $(t.title), 9, we)) : v("", !0),
154
+ }, $(t.title), 9, $e)) : v("", !0),
155
155
  r("ul", {
156
156
  role: "group",
157
157
  "aria-labelledby": t.title ? `${o(c)}-${_}` : void 0,
158
158
  class: b(k.value ? "rounded-group bg-surface-cell shadow-group" : "")
159
159
  }, [
160
- (l(!0), f(P, null, R(t.options, (d) => (l(), f("li", {
160
+ (a(!0), f(R, null, H(t.options, (d) => (a(), f("li", {
161
161
  key: String(d.value),
162
162
  role: "option",
163
- "aria-selected": V(d),
163
+ "aria-selected": L(d),
164
164
  class: "group/option"
165
165
  }, [
166
166
  r("button", {
@@ -171,11 +171,11 @@ const me = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill p
171
171
  class: b(["flex w-full cursor-pointer items-stretch gap-3 pl-row-inset text-left text-body hover:bg-fill focus-visible:bg-fill focus-visible:outline-none active:bg-fill disabled:cursor-not-allowed disabled:opacity-45", k.value ? "group-first/option:rounded-t-group group-last/option:rounded-b-group" : "rounded-control"]),
172
172
  onClick: (E) => y("select", d.value)
173
173
  }, [
174
- e.multiple ? (l(), f("span", Ve, [
174
+ e.multiple ? (a(), f("span", Le, [
175
175
  r("span", {
176
- class: b(["flex size-5.5 items-center justify-center rounded-full border", V(d) ? "border-control-on bg-control-on text-white" : "border-border-control"])
176
+ class: b(["flex size-5.5 items-center justify-center rounded-full border", L(d) ? "border-control-on bg-control-on text-white" : "border-border-control"])
177
177
  }, [
178
- V(d) ? (l(), S(o(q), {
178
+ L(d) ? (a(), V(o(z), {
179
179
  key: 0,
180
180
  name: "checkCustom",
181
181
  size: 12
@@ -185,49 +185,49 @@ const me = { class: "flex min-h-9 items-center gap-1.5 rounded-control bg-fill p
185
185
  r("span", {
186
186
  class: b(["flex min-h-row min-w-0 flex-1 items-center gap-3 py-2 pr-row-inset", k.value ? "border-t border-border-separator group-first/option:border-t-0" : ""])
187
187
  }, [
188
- d.dot ? (l(), S(N, {
188
+ d.dot ? (a(), V(P, {
189
189
  key: 0,
190
190
  tone: d.dot,
191
191
  class: "-mr-1.5"
192
192
  }, null, 8, ["tone"])) : v("", !0),
193
- r("span", Le, $(d.label), 1),
194
- d.description ? (l(), f("span", De, $(d.description), 1)) : v("", !0),
195
- !e.multiple && V(d) ? (l(), S(o(q), {
193
+ r("span", De, $(d.label), 1),
194
+ d.description ? (a(), f("span", qe, $(d.description), 1)) : v("", !0),
195
+ !e.multiple && L(d) ? (a(), V(o(z), {
196
196
  key: 2,
197
197
  name: "checkCustom",
198
198
  size: 18,
199
199
  class: "shrink-0 text-content-link"
200
200
  })) : v("", !0)
201
201
  ], 2)
202
- ], 10, Se)
203
- ], 8, Ce))), 128))
204
- ], 10, $e)
202
+ ], 10, Ve)
203
+ ], 8, Se))), 128))
204
+ ], 10, Ce)
205
205
  ]))), 128)),
206
- C.value.length === 0 && !O.value && !F.value ? (l(), f("li", qe, $(o(m)("core.form.select.no_matches")), 1)) : v("", !0)
207
- ], 10, ve)
206
+ C.value.length === 0 && !O.value && !T.value ? (a(), f("li", ze, $(o(m)("core.form.select.no_matches")), 1)) : v("", !0)
207
+ ], 10, be)
208
208
  ], 544));
209
209
  }
210
210
  });
211
- function Ke(i) {
212
- const h = pe(), e = i.for !== void 0;
211
+ function We(i) {
212
+ const h = me(), e = i.for !== void 0;
213
213
  let y = 0;
214
214
  function m() {
215
- const a = i.for?.();
216
- if (e && a == null) {
215
+ const n = i.for?.();
216
+ if (e && n == null) {
217
217
  h.cancel(), h.items.value = [], h.status.value = "idle";
218
218
  return;
219
219
  }
220
220
  h.run(
221
- (c) => e ? i.load(a, { signal: c }) : i.load({ signal: c })
221
+ (c) => e ? i.load(n, { signal: c }) : i.load({ signal: c })
222
222
  );
223
223
  }
224
- return T(
224
+ return B(
225
225
  () => i.for?.(),
226
- (a, c) => {
226
+ (n, c) => {
227
227
  c != null && y++, m();
228
228
  },
229
229
  { immediate: !0 }
230
- ), X(h.cancel), {
230
+ ), Z(h.cancel), {
231
231
  get status() {
232
232
  return h.status.value;
233
233
  },
@@ -240,33 +240,33 @@ function Ke(i) {
240
240
  reload: m
241
241
  };
242
242
  }
243
- const A = (i) => Array.isArray(i), ze = [];
244
- function Ae(i, h) {
243
+ const A = (i) => Array.isArray(i), Ae = [];
244
+ function Oe(i, h) {
245
245
  const e = g(() => {
246
- const n = i();
247
- return A(n) ? n : n.options;
246
+ const s = i();
247
+ return A(s) ? s : s.options;
248
248
  }), y = g(() => {
249
- const n = i();
250
- return A(n) ? "loaded" : n.status;
251
- }), m = g(() => y.value === "loading" || y.value === "failed" ? ze : e.value), a = g(() => y.value === "loading"), c = i();
249
+ const s = i();
250
+ return A(s) ? "loaded" : s.status;
251
+ }), m = g(() => y.value === "loading" || y.value === "failed" ? Ae : e.value), n = g(() => y.value === "loading"), c = i();
252
252
  let x = A(c) ? 0 : c.generation;
253
- return T(
253
+ return B(
254
254
  () => {
255
- const n = i();
256
- return A(n) ? null : n.status === "loaded" || n.status === "idle" ? n.options : null;
255
+ const s = i();
256
+ return A(s) ? null : s.status === "loaded" || s.status === "idle" ? s.options : null;
257
257
  },
258
- (n) => {
258
+ (s) => {
259
259
  const C = i();
260
- n === null || A(C) || C.generation === x || (x = C.generation, h(n));
260
+ s === null || A(C) || C.generation === x || (x = C.generation, h(s));
261
261
  }
262
- ), { known: e, rows: m, status: y, loading: a, reload: () => {
263
- const n = i();
264
- A(n) || n.reload();
262
+ ), { known: e, rows: m, status: y, loading: n, reload: () => {
263
+ const s = i();
264
+ A(s) || s.reload();
265
265
  } };
266
266
  }
267
- const Oe = ["id", "disabled", "aria-expanded", "aria-required", "aria-invalid", "aria-describedby", "aria-busy"], Fe = ["id", "disabled", "aria-required", "aria-invalid", "aria-describedby", "aria-busy", "onClick"], Be = { class: "max-h-72 overflow-y-auto" }, We = /* @__PURE__ */ M({
267
+ const Te = ["id", "disabled", "aria-expanded", "aria-required", "aria-invalid", "aria-describedby", "aria-busy"], Fe = ["id", "disabled", "aria-required", "aria-invalid", "aria-describedby", "aria-busy", "onClick"], Be = { class: "max-h-72 overflow-y-auto" }, Je = /* @__PURE__ */ G({
268
268
  __name: "SelectField",
269
- props: /* @__PURE__ */ ee({
269
+ props: /* @__PURE__ */ te({
270
270
  label: {},
271
271
  labelHidden: { type: Boolean },
272
272
  hint: {},
@@ -283,61 +283,61 @@ const Oe = ["id", "disabled", "aria-expanded", "aria-required", "aria-invalid",
283
283
  clearable: {},
284
284
  modelValue: {},
285
285
  searchFrom: {}
286
- }, { ...ue, selected: null, placeholder: void 0, clearable: void 0, modelValue: void 0, searchFrom: 9 }),
286
+ }, { ...de, selected: null, placeholder: void 0, clearable: void 0, modelValue: void 0, searchFrom: 9 }),
287
287
  emits: ["update:modelValue"],
288
288
  setup(i, { emit: h }) {
289
- const e = i, y = h, m = U(e.modelValue ?? null);
290
- T(() => e.modelValue, (s) => m.value = s ?? null);
291
- const a = g({
289
+ const e = i, y = h, m = N(e.modelValue ?? null);
290
+ B(() => e.modelValue, (l) => m.value = l ?? null);
291
+ const n = g({
292
292
  get: () => m.value,
293
- set: (s) => {
294
- m.value = s, y("update:modelValue", s);
293
+ set: (l) => {
294
+ m.value = l, y("update:modelValue", l);
295
295
  }
296
- }), { t: c } = G(), x = oe(), n = !!ne(), C = j("sheet"), V = U(!1), u = Ae(() => e.options, (s) => {
297
- a.value !== null && !s.some((t) => t.value === a.value) && (a.value = null);
298
- }), w = g(() => u.known.value.find((s) => s.value === a.value) ?? (e.selected?.value === a.value ? e.selected : null)), k = g(() => e.placeholder ?? c("core.form.select.choose")), O = se("popup", () => e.error ? "error" : e.disabled ? "locked" : "rest");
299
- function F(s) {
300
- a.value = s, C.value?.dismiss();
296
+ }), { t: c } = W(), x = le(), s = !!se(), C = K("sheet"), L = N(!1), u = Oe(() => e.options, (l) => {
297
+ n.value !== null && !l.some((t) => t.value === n.value) && (n.value = null);
298
+ }), w = g(() => u.known.value.find((l) => l.value === n.value) ?? (e.selected?.value === n.value ? e.selected : null)), k = g(() => e.placeholder ?? c("core.form.select.choose")), O = re("popup", () => e.error ? "error" : e.disabled ? "locked" : "rest");
299
+ function T(l) {
300
+ n.value = l, C.value?.dismiss();
301
301
  }
302
302
  const p = g(() => [
303
303
  "flex max-w-full min-w-0 items-center gap-1.5 py-1 pl-2.5 pr-2 text-body focus-visible:outline-none",
304
- n ? "compact:pl-0 compact:pr-0" : "",
304
+ s ? "compact:pl-0 compact:pr-0" : "",
305
305
  e.disabled ? "cursor-not-allowed" : "cursor-pointer"
306
306
  ]);
307
- return (s, t) => (l(), S(re, H(o(ie)(e), {
307
+ return (l, t) => (a(), V(ie, I(o(ue)(e), {
308
308
  value: w.value?.label ?? null
309
- }), {
310
- default: z(({ id: _, describedby: d, invalid: E }) => [
309
+ }), M({
310
+ default: S(({ id: _, describedby: d, invalid: E }) => [
311
311
  r("div", {
312
312
  class: b(["inline-flex max-w-full min-w-0", o(O)])
313
313
  }, [
314
- o(x) ? (l(), f("button", {
314
+ o(x) ? (a(), f("button", {
315
315
  key: 0,
316
316
  id: _,
317
317
  type: "button",
318
318
  disabled: e.disabled,
319
319
  "aria-haspopup": "dialog",
320
- "aria-expanded": V.value,
320
+ "aria-expanded": L.value,
321
321
  "aria-required": e.required || void 0,
322
322
  "aria-invalid": E || void 0,
323
323
  "aria-describedby": d,
324
324
  "aria-busy": o(u).loading.value || void 0,
325
325
  class: b(p.value),
326
- onClick: t[0] || (t[0] = (L) => C.value?.present())
326
+ onClick: t[0] || (t[0] = (D) => C.value?.present())
327
327
  }, [
328
- w.value?.dot ? (l(), S(N, {
328
+ w.value?.dot ? (a(), V(P, {
329
329
  key: 0,
330
330
  tone: w.value.dot
331
331
  }, null, 8, ["tone"])) : v("", !0),
332
332
  r("span", {
333
- class: b(["min-w-0 truncate", w.value ? n ? "text-content-strong compact:text-content-muted" : "text-content-strong" : "text-content-disabled"])
333
+ class: b(["min-w-0 truncate", w.value ? s ? "text-content-strong compact:text-content-muted" : "text-content-strong" : "text-content-disabled"])
334
334
  }, $(w.value?.label ?? k.value), 3),
335
- D(o(q), {
335
+ q(o(z), {
336
336
  name: o(u).loading.value ? "loader4Line" : "expandUpDownLine",
337
337
  size: 14,
338
338
  class: b(["shrink-0 text-content-muted", o(u).loading.value ? "animate-spin" : ""])
339
339
  }, null, 8, ["name", "class"])
340
- ], 10, Oe)) : (l(), S(ae, {
340
+ ], 10, Te)) : (a(), V(ne, {
341
341
  key: 1,
342
342
  label: e.label ?? k.value,
343
343
  width: "md",
@@ -345,11 +345,11 @@ const Oe = ["id", "disabled", "aria-expanded", "aria-required", "aria-invalid",
345
345
  placement: "bottom-start",
346
346
  arrow: !1
347
347
  }, {
348
- trigger: z(({ toggle: L, attrs: B }) => [
349
- r("button", H({
348
+ trigger: S(({ toggle: D, attrs: F }) => [
349
+ r("button", I({
350
350
  id: _,
351
351
  type: "button"
352
- }, B, {
352
+ }, F, {
353
353
  "aria-haspopup": "listbox",
354
354
  disabled: e.disabled,
355
355
  "aria-required": e.required || void 0,
@@ -357,72 +357,72 @@ const Oe = ["id", "disabled", "aria-expanded", "aria-required", "aria-invalid",
357
357
  "aria-describedby": d,
358
358
  "aria-busy": o(u).loading.value || void 0,
359
359
  class: p.value,
360
- onClick: L
360
+ onClick: D
361
361
  }), [
362
- w.value?.dot ? (l(), S(N, {
362
+ w.value?.dot ? (a(), V(P, {
363
363
  key: 0,
364
364
  tone: w.value.dot
365
365
  }, null, 8, ["tone"])) : v("", !0),
366
366
  r("span", {
367
367
  class: b(["min-w-0 truncate", w.value ? "text-content-strong" : "text-content-disabled"])
368
368
  }, $(w.value?.label ?? k.value), 3),
369
- D(o(q), {
369
+ q(o(z), {
370
370
  name: o(u).loading.value ? "loader4Line" : "expandUpDownLine",
371
371
  size: 14,
372
372
  class: b(["shrink-0 text-content-muted", o(u).loading.value ? "animate-spin" : ""])
373
373
  }, null, 8, ["name", "class"])
374
374
  ], 16, Fe)
375
375
  ]),
376
- default: z(({ dismiss: L }) => [
376
+ default: S(({ dismiss: D }) => [
377
377
  r("div", Be, [
378
- D(I, {
378
+ q(j, {
379
379
  options: o(u).rows.value,
380
380
  status: o(u).status.value,
381
- "model-value": a.value,
381
+ "model-value": n.value,
382
382
  "search-from": e.searchFrom,
383
383
  "none-label": e.clearable ? o(c)("core.form.select.clear") : void 0,
384
384
  presentation: "plain",
385
- onSelect: (B) => {
386
- a.value = B, L();
385
+ onSelect: (F) => {
386
+ n.value = F, D();
387
387
  },
388
- onRetry: t[1] || (t[1] = (B) => o(u).reload())
388
+ onRetry: t[1] || (t[1] = (F) => o(u).reload())
389
389
  }, null, 8, ["options", "status", "model-value", "search-from", "none-label", "onSelect"])
390
390
  ])
391
391
  ]),
392
392
  _: 2
393
393
  }, 1032, ["label"]))
394
394
  ], 2),
395
- o(x) ? (l(), S(le, {
395
+ o(x) ? (a(), V(ae, {
396
396
  key: 0,
397
397
  ref_key: "sheet",
398
398
  ref: C,
399
399
  title: e.label ?? k.value,
400
400
  grouped: "",
401
- onPresented: t[4] || (t[4] = (L) => V.value = !0),
402
- onDismissed: t[5] || (t[5] = (L) => V.value = !1)
403
- }, Y({
404
- default: z(() => [
405
- D(I, {
401
+ onPresented: t[4] || (t[4] = (D) => L.value = !0),
402
+ onDismissed: t[5] || (t[5] = (D) => L.value = !1)
403
+ }, M({
404
+ default: S(() => [
405
+ q(j, {
406
406
  options: o(u).rows.value,
407
407
  status: o(u).status.value,
408
- "model-value": a.value,
408
+ "model-value": n.value,
409
409
  "search-from": e.searchFrom,
410
410
  "none-label": e.clearable ? o(c)("core.form.select.clear") : void 0,
411
- onSelect: F,
412
- onRetry: t[2] || (t[2] = (L) => o(u).reload())
411
+ onSelect: T,
412
+ onRetry: t[2] || (t[2] = (D) => o(u).reload())
413
413
  }, null, 8, ["options", "status", "model-value", "search-from", "none-label"])
414
414
  ]),
415
415
  _: 2
416
416
  }, [
417
- e.clearable && a.value !== null ? {
417
+ e.clearable && n.value !== null ? {
418
418
  name: "footer",
419
- fn: z(() => [
420
- D(te, {
419
+ fn: S(() => [
420
+ q(oe, {
421
421
  prominence: "plain",
422
- onClick: t[3] || (t[3] = (L) => F(null))
422
+ onClick: t[3] || (t[3] = (D) => T(null))
423
423
  }, {
424
- default: z(() => [
425
- Z($(o(c)("core.form.select.clear")), 1)
424
+ default: S(() => [
425
+ ee($(o(c)("core.form.select.clear")), 1)
426
426
  ]),
427
427
  _: 1
428
428
  })
@@ -431,13 +431,35 @@ const Oe = ["id", "disabled", "aria-expanded", "aria-required", "aria-invalid",
431
431
  } : void 0
432
432
  ]), 1032, ["title"])) : v("", !0)
433
433
  ]),
434
- _: 1
435
- }, 16, ["value"]));
434
+ _: 2
435
+ }, [
436
+ l.$slots.trailing ? {
437
+ name: "trailing",
438
+ fn: S(() => [
439
+ U(l.$slots, "trailing")
440
+ ]),
441
+ key: "0"
442
+ } : void 0,
443
+ l.$slots.labelTrailing ? {
444
+ name: "labelTrailing",
445
+ fn: S(() => [
446
+ U(l.$slots, "labelTrailing")
447
+ ]),
448
+ key: "1"
449
+ } : void 0,
450
+ l.$slots.readonly ? {
451
+ name: "readonly",
452
+ fn: S(() => [
453
+ U(l.$slots, "readonly")
454
+ ]),
455
+ key: "2"
456
+ } : void 0
457
+ ]), 1040, ["value"]));
436
458
  }
437
459
  });
438
460
  export {
439
- We as _,
440
- I as a,
441
- Ke as b,
442
- Ae as u
461
+ Je as _,
462
+ j as a,
463
+ We as b,
464
+ Oe as u
443
465
  };
@@ -2,9 +2,9 @@ import { defineComponent as g, openBlock as n, createBlock as i, unref as t, wit
2
2
  import { useI18n as $ } from "vue-i18n";
3
3
  import { _ as C } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
4
4
  import { _ as B } from "./IconTile.vue_vue_type_script_setup_true_lang-_FXvaj93.js";
5
- import { u as E } from "./format-B8mJm946.js";
6
- import { _ as N } from "./FormGroup.vue_vue_type_script_setup_true_lang-noYI9QMk.js";
7
- import { e as f } from "./control-CX9BG2UB.js";
5
+ import { u as E } from "./format-D8X4zsx6.js";
6
+ import { _ as N } from "./FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js";
7
+ import { e as f } from "./control-B_Nwtmag.js";
8
8
  import { _ as y } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
9
9
  const V = { class: "flex flex-wrap items-center gap-x-1.5 gap-y-0.5" }, L = {
10
10
  key: 0,
@@ -2,14 +2,14 @@ import { defineComponent as x, useTemplateRef as v, computed as w, ref as $, ope
2
2
  import { useI18n as N } from "vue-i18n";
3
3
  import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
4
4
  import { u as A } from "./describeError-B-NMa--w.js";
5
- import { P as D, b as L, e as O, i as g, d as T } from "./index-DwdVrW6q.js";
5
+ import { P as D, b as L, e as O, i as g, d as T } from "./index-JjALCpwi.js";
6
6
  import { _ as k } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
7
7
  import { t as b } from "./toast-CqSDTWRX.js";
8
8
  import { u as V } from "./platform-q3cjODLx.js";
9
9
  import { b as I } from "./routeResource-DlTsGTg_.js";
10
10
  import { _ as j } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
11
11
  import { _ as z } from "./SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js";
12
- import { _ as F } from "./SessionList.vue_vue_type_script_setup_true_lang-CirlMdHb.js";
12
+ import { _ as F } from "./SessionList.vue_vue_type_script_setup_true_lang-C0XvavBw.js";
13
13
  const G = {
14
14
  class: "flex min-w-0 flex-col gap-group-gap",
15
15
  "data-person-sessions": ""
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as w, openBlock as u, createBlock as b, unref as e, withCtx as p, createElementBlock as g, toDisplayString as y, Fragment as $, renderList as Q, createElementVNode as P, createVNode as d, createTextVNode as U, createCommentVNode as S, computed as V, mergeProps as h, ref as D } from "vue";
2
2
  import { useI18n as v } from "vue-i18n";
3
3
  import { useRouter as I } from "vue-router";
4
- import { a as j } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-B7qSUiee.js";
4
+ import { a as j } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-Bm0sxqNz.js";
5
5
  import { t as T } from "./toast-CqSDTWRX.js";
6
- import { u as N } from "./fieldMessages-DV6sESpn.js";
6
+ import { u as N } from "./fieldMessages-6HVzSDqG.js";
7
7
  import { _ as A } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
8
8
  import { _ as O } from "./Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js";
9
- import { _ as R } from "./FormGroup.vue_vue_type_script_setup_true_lang-noYI9QMk.js";
10
- import { e as G } from "./control-CX9BG2UB.js";
11
- import { _ as Z } from "./SwitchField.vue_vue_type_script_setup_true_lang-B2Z2hy_h.js";
9
+ import { _ as R } from "./FormGroup.vue_vue_type_script_setup_true_lang-BokxZ7LU.js";
10
+ import { e as G } from "./control-B_Nwtmag.js";
11
+ import { _ as Z } from "./SwitchField.vue_vue_type_script_setup_true_lang-0weBvsJf.js";
12
12
  import { _ as J } from "./Icon.vue_vue_type_script_lang-D7oC-d-S.js";
13
13
  import { u as K } from "./FormErrors.vue_vue_type_script_setup_true_lang-DWcVKZM3.js";
14
- import { _ as W } from "./FormView.vue_vue_type_script_setup_true_lang-BcIbTMHN.js";
15
- import { _ as E } from "./TimeField.vue_vue_type_script_setup_true_lang-Dr0h-V_8.js";
16
- import { a as k, n as X } from "./useTypedEntry-aTfPBAhw.js";
14
+ import { _ as W } from "./FormView.vue_vue_type_script_setup_true_lang-Dz5TZt92.js";
15
+ import { _ as E } from "./TimeField.vue_vue_type_script_setup_true_lang-DrLtIexs.js";
16
+ import { a as k, n as X } from "./useTypedEntry-C7k7Dyl-.js";
17
17
  import { _ as Y } from "./PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js";
18
- import { n as q } from "./index-BCw_Ki6z.js";
18
+ import { n as q } from "./index-C6vCe149.js";
19
19
  import { u as ee } from "./platform-q3cjODLx.js";
20
20
  import { u as te } from "./useLoad-M7V-AVwR.js";
21
21
  function ne() {