@shwfed/nuxt 0.11.0 → 0.11.2

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 (41) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/button.d.vue.ts +20 -18
  3. package/dist/runtime/components/button.vue +1 -0
  4. package/dist/runtime/components/button.vue.d.ts +20 -18
  5. package/dist/runtime/components/fields.d.vue.ts +10 -10
  6. package/dist/runtime/components/fields.vue.d.ts +10 -10
  7. package/dist/runtime/components/markdown.d.vue.ts +2 -2
  8. package/dist/runtime/components/markdown.vue.d.ts +2 -2
  9. package/dist/runtime/components/menu-tabs.d.vue.ts +2 -2
  10. package/dist/runtime/components/menu-tabs.vue.d.ts +2 -2
  11. package/dist/runtime/components/ui/app/OverlayHost.vue +17 -2
  12. package/dist/runtime/components/ui/button-configurator/ButtonConfiguratorDialog.d.vue.ts +18 -18
  13. package/dist/runtime/components/ui/button-configurator/ButtonConfiguratorDialog.vue.d.ts +18 -18
  14. package/dist/runtime/components/ui/buttons/Buttons.d.vue.ts +20 -18
  15. package/dist/runtime/components/ui/buttons/Buttons.vue +59 -4
  16. package/dist/runtime/components/ui/buttons/Buttons.vue.d.ts +20 -18
  17. package/dist/runtime/components/ui/buttons/schema.d.ts +138 -138
  18. package/dist/runtime/components/ui/fields/Fields.d.vue.ts +20 -20
  19. package/dist/runtime/components/ui/fields/Fields.vue.d.ts +20 -20
  20. package/dist/runtime/components/ui/fields/schema.d.ts +60 -60
  21. package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.d.vue.ts +10 -10
  22. package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.vue.d.ts +10 -10
  23. package/dist/runtime/components/ui/locale/Locale.d.vue.ts +2 -2
  24. package/dist/runtime/components/ui/locale/Locale.vue.d.ts +2 -2
  25. package/dist/runtime/components/ui/markdown/Markdown.d.vue.ts +2 -2
  26. package/dist/runtime/components/ui/markdown/Markdown.vue.d.ts +2 -2
  27. package/dist/runtime/components/ui/markdown/schema.d.ts +8 -8
  28. package/dist/runtime/components/ui/markdown-configurator/MarkdownConfiguratorDialog.d.vue.ts +2 -2
  29. package/dist/runtime/components/ui/markdown-configurator/MarkdownConfiguratorDialog.vue.d.ts +2 -2
  30. package/dist/runtime/components/ui/menu-tabs/MenuTabs.d.vue.ts +2 -2
  31. package/dist/runtime/components/ui/menu-tabs/MenuTabs.vue.d.ts +2 -2
  32. package/dist/runtime/components/ui/menu-tabs/schema.d.ts +10 -10
  33. package/dist/runtime/components/ui/menu-tabs-configurator/MenuTabsConfiguratorDialog.d.vue.ts +2 -2
  34. package/dist/runtime/components/ui/menu-tabs-configurator/MenuTabsConfiguratorDialog.vue.d.ts +2 -2
  35. package/dist/runtime/composables/useButtonAction.d.ts +21 -0
  36. package/dist/runtime/composables/useButtonAction.js +6 -0
  37. package/dist/runtime/composables/useOverlay.d.ts +4 -1
  38. package/dist/runtime/composables/useOverlay.js +38 -4
  39. package/dist/runtime/plugins/toast/index.d.ts +2 -2
  40. package/dist/runtime/utils/coders.d.ts +7 -7
  41. package/package.json +1 -1
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shwfed/nuxt",
3
3
  "configKey": "shwfed",
4
- "version": "0.11.0",
4
+ "version": "0.11.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -2,6 +2,8 @@ import { Effect } from 'effect';
2
2
  import type { ButtonConfigInput } from './ui/buttons/schema.js';
3
3
  export { ButtonActionC, ButtonBodyC, ButtonBodyInputC, ButtonConfigC, ButtonConfigInputC, ButtonDropdownC, ButtonGroupC, ButtonModalC, ButtonsStyleC, CURRENT_COMPATIBILITY_DATE, KIND, SUPPORTED_COMPATIBILITY_DATES, createButtonConfig, } from './ui/buttons/schema.js';
4
4
  export type { ButtonAction, ButtonBody, ButtonBodyInput, ButtonConfig, ButtonConfigInput, ButtonDropdown, ButtonDropdownAction, ButtonGroup, ButtonGroupItem, ButtonModal, } from './ui/buttons/schema.js';
5
+ export type { ButtonActionEffect, ButtonActionEffectFactory, ButtonActionRuntime } from '../composables/useButtonAction.js';
6
+ export { ButtonActionService, currentButtonAction } from '../composables/useButtonAction.js';
5
7
  declare const _default: typeof __VLS_export;
6
8
  export default _default;
7
9
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
@@ -13,11 +15,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
13
15
  items: readonly (Readonly<{
14
16
  id: string;
15
17
  title: readonly {
16
- locale: "zh" | "ja" | "en" | "ko";
18
+ locale: "en" | "ja" | "ko" | "zh";
17
19
  message: string;
18
20
  }[];
19
21
  tooltip?: readonly {
20
- locale: "zh" | "ja" | "en" | "ko";
22
+ locale: "en" | "ja" | "ko" | "zh";
21
23
  message: string;
22
24
  }[] | undefined;
23
25
  icon?: string | undefined;
@@ -25,11 +27,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
25
27
  hideTitle?: boolean | undefined;
26
28
  modal?: Readonly<{
27
29
  title?: readonly {
28
- locale: "zh" | "ja" | "en" | "ko";
30
+ locale: "en" | "ja" | "ko" | "zh";
29
31
  message: string;
30
32
  }[] | undefined;
31
33
  description?: readonly {
32
- locale: "zh" | "ja" | "en" | "ko";
34
+ locale: "en" | "ja" | "ko" | "zh";
33
35
  message: string;
34
36
  }[] | undefined;
35
37
  showCloseButton?: boolean | undefined;
@@ -39,28 +41,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
39
41
  }> | Readonly<{
40
42
  id: string;
41
43
  title: readonly {
42
- locale: "zh" | "ja" | "en" | "ko";
44
+ locale: "en" | "ja" | "ko" | "zh";
43
45
  message: string;
44
46
  }[];
45
47
  items: readonly Readonly<{
46
48
  id: string;
47
49
  title: readonly {
48
- locale: "zh" | "ja" | "en" | "ko";
50
+ locale: "en" | "ja" | "ko" | "zh";
49
51
  message: string;
50
52
  }[];
51
53
  tooltip?: readonly {
52
- locale: "zh" | "ja" | "en" | "ko";
54
+ locale: "en" | "ja" | "ko" | "zh";
53
55
  message: string;
54
56
  }[] | undefined;
55
57
  icon?: string | undefined;
56
58
  variant?: "default" | "destructive" | "primary" | "ghost" | undefined;
57
59
  modal?: Readonly<{
58
60
  title?: readonly {
59
- locale: "zh" | "ja" | "en" | "ko";
61
+ locale: "en" | "ja" | "ko" | "zh";
60
62
  message: string;
61
63
  }[] | undefined;
62
64
  description?: readonly {
63
- locale: "zh" | "ja" | "en" | "ko";
65
+ locale: "en" | "ja" | "ko" | "zh";
64
66
  message: string;
65
67
  }[] | undefined;
66
68
  showCloseButton?: boolean | undefined;
@@ -85,11 +87,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
85
87
  items: readonly (Readonly<{
86
88
  id: string;
87
89
  title: readonly {
88
- locale: "zh" | "ja" | "en" | "ko";
90
+ locale: "en" | "ja" | "ko" | "zh";
89
91
  message: string;
90
92
  }[];
91
93
  tooltip?: readonly {
92
- locale: "zh" | "ja" | "en" | "ko";
94
+ locale: "en" | "ja" | "ko" | "zh";
93
95
  message: string;
94
96
  }[] | undefined;
95
97
  icon?: string | undefined;
@@ -97,11 +99,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
97
99
  hideTitle?: boolean | undefined;
98
100
  modal?: Readonly<{
99
101
  title?: readonly {
100
- locale: "zh" | "ja" | "en" | "ko";
102
+ locale: "en" | "ja" | "ko" | "zh";
101
103
  message: string;
102
104
  }[] | undefined;
103
105
  description?: readonly {
104
- locale: "zh" | "ja" | "en" | "ko";
106
+ locale: "en" | "ja" | "ko" | "zh";
105
107
  message: string;
106
108
  }[] | undefined;
107
109
  showCloseButton?: boolean | undefined;
@@ -111,28 +113,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
111
113
  }> | Readonly<{
112
114
  id: string;
113
115
  title: readonly {
114
- locale: "zh" | "ja" | "en" | "ko";
116
+ locale: "en" | "ja" | "ko" | "zh";
115
117
  message: string;
116
118
  }[];
117
119
  items: readonly Readonly<{
118
120
  id: string;
119
121
  title: readonly {
120
- locale: "zh" | "ja" | "en" | "ko";
122
+ locale: "en" | "ja" | "ko" | "zh";
121
123
  message: string;
122
124
  }[];
123
125
  tooltip?: readonly {
124
- locale: "zh" | "ja" | "en" | "ko";
126
+ locale: "en" | "ja" | "ko" | "zh";
125
127
  message: string;
126
128
  }[] | undefined;
127
129
  icon?: string | undefined;
128
130
  variant?: "default" | "destructive" | "primary" | "ghost" | undefined;
129
131
  modal?: Readonly<{
130
132
  title?: readonly {
131
- locale: "zh" | "ja" | "en" | "ko";
133
+ locale: "en" | "ja" | "ko" | "zh";
132
134
  message: string;
133
135
  }[] | undefined;
134
136
  description?: readonly {
135
- locale: "zh" | "ja" | "en" | "ko";
137
+ locale: "en" | "ja" | "ko" | "zh";
136
138
  message: string;
137
139
  }[] | undefined;
138
140
  showCloseButton?: boolean | undefined;
@@ -43,6 +43,7 @@ export {
43
43
  SUPPORTED_COMPATIBILITY_DATES,
44
44
  createButtonConfig
45
45
  } from "./ui/buttons/schema";
46
+ export { ButtonActionService, currentButtonAction } from "../composables/useButtonAction";
46
47
  </script>
47
48
 
48
49
  <template>
@@ -2,6 +2,8 @@ import { Effect } from 'effect';
2
2
  import type { ButtonConfigInput } from './ui/buttons/schema.js';
3
3
  export { ButtonActionC, ButtonBodyC, ButtonBodyInputC, ButtonConfigC, ButtonConfigInputC, ButtonDropdownC, ButtonGroupC, ButtonModalC, ButtonsStyleC, CURRENT_COMPATIBILITY_DATE, KIND, SUPPORTED_COMPATIBILITY_DATES, createButtonConfig, } from './ui/buttons/schema.js';
4
4
  export type { ButtonAction, ButtonBody, ButtonBodyInput, ButtonConfig, ButtonConfigInput, ButtonDropdown, ButtonDropdownAction, ButtonGroup, ButtonGroupItem, ButtonModal, } from './ui/buttons/schema.js';
5
+ export type { ButtonActionEffect, ButtonActionEffectFactory, ButtonActionRuntime } from '../composables/useButtonAction.js';
6
+ export { ButtonActionService, currentButtonAction } from '../composables/useButtonAction.js';
5
7
  declare const _default: typeof __VLS_export;
6
8
  export default _default;
7
9
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
@@ -13,11 +15,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
13
15
  items: readonly (Readonly<{
14
16
  id: string;
15
17
  title: readonly {
16
- locale: "zh" | "ja" | "en" | "ko";
18
+ locale: "en" | "ja" | "ko" | "zh";
17
19
  message: string;
18
20
  }[];
19
21
  tooltip?: readonly {
20
- locale: "zh" | "ja" | "en" | "ko";
22
+ locale: "en" | "ja" | "ko" | "zh";
21
23
  message: string;
22
24
  }[] | undefined;
23
25
  icon?: string | undefined;
@@ -25,11 +27,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
25
27
  hideTitle?: boolean | undefined;
26
28
  modal?: Readonly<{
27
29
  title?: readonly {
28
- locale: "zh" | "ja" | "en" | "ko";
30
+ locale: "en" | "ja" | "ko" | "zh";
29
31
  message: string;
30
32
  }[] | undefined;
31
33
  description?: readonly {
32
- locale: "zh" | "ja" | "en" | "ko";
34
+ locale: "en" | "ja" | "ko" | "zh";
33
35
  message: string;
34
36
  }[] | undefined;
35
37
  showCloseButton?: boolean | undefined;
@@ -39,28 +41,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
39
41
  }> | Readonly<{
40
42
  id: string;
41
43
  title: readonly {
42
- locale: "zh" | "ja" | "en" | "ko";
44
+ locale: "en" | "ja" | "ko" | "zh";
43
45
  message: string;
44
46
  }[];
45
47
  items: readonly Readonly<{
46
48
  id: string;
47
49
  title: readonly {
48
- locale: "zh" | "ja" | "en" | "ko";
50
+ locale: "en" | "ja" | "ko" | "zh";
49
51
  message: string;
50
52
  }[];
51
53
  tooltip?: readonly {
52
- locale: "zh" | "ja" | "en" | "ko";
54
+ locale: "en" | "ja" | "ko" | "zh";
53
55
  message: string;
54
56
  }[] | undefined;
55
57
  icon?: string | undefined;
56
58
  variant?: "default" | "destructive" | "primary" | "ghost" | undefined;
57
59
  modal?: Readonly<{
58
60
  title?: readonly {
59
- locale: "zh" | "ja" | "en" | "ko";
61
+ locale: "en" | "ja" | "ko" | "zh";
60
62
  message: string;
61
63
  }[] | undefined;
62
64
  description?: readonly {
63
- locale: "zh" | "ja" | "en" | "ko";
65
+ locale: "en" | "ja" | "ko" | "zh";
64
66
  message: string;
65
67
  }[] | undefined;
66
68
  showCloseButton?: boolean | undefined;
@@ -85,11 +87,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
85
87
  items: readonly (Readonly<{
86
88
  id: string;
87
89
  title: readonly {
88
- locale: "zh" | "ja" | "en" | "ko";
90
+ locale: "en" | "ja" | "ko" | "zh";
89
91
  message: string;
90
92
  }[];
91
93
  tooltip?: readonly {
92
- locale: "zh" | "ja" | "en" | "ko";
94
+ locale: "en" | "ja" | "ko" | "zh";
93
95
  message: string;
94
96
  }[] | undefined;
95
97
  icon?: string | undefined;
@@ -97,11 +99,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
97
99
  hideTitle?: boolean | undefined;
98
100
  modal?: Readonly<{
99
101
  title?: readonly {
100
- locale: "zh" | "ja" | "en" | "ko";
102
+ locale: "en" | "ja" | "ko" | "zh";
101
103
  message: string;
102
104
  }[] | undefined;
103
105
  description?: readonly {
104
- locale: "zh" | "ja" | "en" | "ko";
106
+ locale: "en" | "ja" | "ko" | "zh";
105
107
  message: string;
106
108
  }[] | undefined;
107
109
  showCloseButton?: boolean | undefined;
@@ -111,28 +113,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
111
113
  }> | Readonly<{
112
114
  id: string;
113
115
  title: readonly {
114
- locale: "zh" | "ja" | "en" | "ko";
116
+ locale: "en" | "ja" | "ko" | "zh";
115
117
  message: string;
116
118
  }[];
117
119
  items: readonly Readonly<{
118
120
  id: string;
119
121
  title: readonly {
120
- locale: "zh" | "ja" | "en" | "ko";
122
+ locale: "en" | "ja" | "ko" | "zh";
121
123
  message: string;
122
124
  }[];
123
125
  tooltip?: readonly {
124
- locale: "zh" | "ja" | "en" | "ko";
126
+ locale: "en" | "ja" | "ko" | "zh";
125
127
  message: string;
126
128
  }[] | undefined;
127
129
  icon?: string | undefined;
128
130
  variant?: "default" | "destructive" | "primary" | "ghost" | undefined;
129
131
  modal?: Readonly<{
130
132
  title?: readonly {
131
- locale: "zh" | "ja" | "en" | "ko";
133
+ locale: "en" | "ja" | "ko" | "zh";
132
134
  message: string;
133
135
  }[] | undefined;
134
136
  description?: readonly {
135
- locale: "zh" | "ja" | "en" | "ko";
137
+ locale: "en" | "ja" | "ko" | "zh";
136
138
  message: string;
137
139
  }[] | undefined;
138
140
  showCloseButton?: boolean | undefined;
@@ -16,7 +16,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
16
16
  type: "string";
17
17
  path: string;
18
18
  title: readonly {
19
- locale: "zh" | "ja" | "en" | "ko";
19
+ locale: "en" | "ja" | "ko" | "zh";
20
20
  message: string;
21
21
  }[];
22
22
  required?: boolean | undefined;
@@ -36,7 +36,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
36
36
  type: "textarea";
37
37
  path: string;
38
38
  title: readonly {
39
- locale: "zh" | "ja" | "en" | "ko";
39
+ locale: "en" | "ja" | "ko" | "zh";
40
40
  message: string;
41
41
  }[];
42
42
  required?: boolean | undefined;
@@ -56,7 +56,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
56
56
  type: "number";
57
57
  path: string;
58
58
  title: readonly {
59
- locale: "zh" | "ja" | "en" | "ko";
59
+ locale: "en" | "ja" | "ko" | "zh";
60
60
  message: string;
61
61
  }[];
62
62
  required?: boolean | undefined;
@@ -77,7 +77,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
77
77
  type: "select";
78
78
  path: string;
79
79
  title: readonly {
80
- locale: "zh" | "ja" | "en" | "ko";
80
+ locale: "en" | "ja" | "ko" | "zh";
81
81
  message: string;
82
82
  }[];
83
83
  options: string;
@@ -99,7 +99,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
99
99
  type: "calendar";
100
100
  path: string;
101
101
  title: readonly {
102
- locale: "zh" | "ja" | "en" | "ko";
102
+ locale: "en" | "ja" | "ko" | "zh";
103
103
  message: string;
104
104
  }[];
105
105
  mode: "month" | "year" | "date";
@@ -143,7 +143,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
143
143
  type: "string";
144
144
  path: string;
145
145
  title: readonly {
146
- locale: "zh" | "ja" | "en" | "ko";
146
+ locale: "en" | "ja" | "ko" | "zh";
147
147
  message: string;
148
148
  }[];
149
149
  required?: boolean | undefined;
@@ -163,7 +163,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
163
163
  type: "textarea";
164
164
  path: string;
165
165
  title: readonly {
166
- locale: "zh" | "ja" | "en" | "ko";
166
+ locale: "en" | "ja" | "ko" | "zh";
167
167
  message: string;
168
168
  }[];
169
169
  required?: boolean | undefined;
@@ -183,7 +183,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
183
183
  type: "number";
184
184
  path: string;
185
185
  title: readonly {
186
- locale: "zh" | "ja" | "en" | "ko";
186
+ locale: "en" | "ja" | "ko" | "zh";
187
187
  message: string;
188
188
  }[];
189
189
  required?: boolean | undefined;
@@ -204,7 +204,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
204
204
  type: "select";
205
205
  path: string;
206
206
  title: readonly {
207
- locale: "zh" | "ja" | "en" | "ko";
207
+ locale: "en" | "ja" | "ko" | "zh";
208
208
  message: string;
209
209
  }[];
210
210
  options: string;
@@ -226,7 +226,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
226
226
  type: "calendar";
227
227
  path: string;
228
228
  title: readonly {
229
- locale: "zh" | "ja" | "en" | "ko";
229
+ locale: "en" | "ja" | "ko" | "zh";
230
230
  message: string;
231
231
  }[];
232
232
  mode: "month" | "year" | "date";
@@ -16,7 +16,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
16
16
  type: "string";
17
17
  path: string;
18
18
  title: readonly {
19
- locale: "zh" | "ja" | "en" | "ko";
19
+ locale: "en" | "ja" | "ko" | "zh";
20
20
  message: string;
21
21
  }[];
22
22
  required?: boolean | undefined;
@@ -36,7 +36,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
36
36
  type: "textarea";
37
37
  path: string;
38
38
  title: readonly {
39
- locale: "zh" | "ja" | "en" | "ko";
39
+ locale: "en" | "ja" | "ko" | "zh";
40
40
  message: string;
41
41
  }[];
42
42
  required?: boolean | undefined;
@@ -56,7 +56,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
56
56
  type: "number";
57
57
  path: string;
58
58
  title: readonly {
59
- locale: "zh" | "ja" | "en" | "ko";
59
+ locale: "en" | "ja" | "ko" | "zh";
60
60
  message: string;
61
61
  }[];
62
62
  required?: boolean | undefined;
@@ -77,7 +77,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
77
77
  type: "select";
78
78
  path: string;
79
79
  title: readonly {
80
- locale: "zh" | "ja" | "en" | "ko";
80
+ locale: "en" | "ja" | "ko" | "zh";
81
81
  message: string;
82
82
  }[];
83
83
  options: string;
@@ -99,7 +99,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
99
99
  type: "calendar";
100
100
  path: string;
101
101
  title: readonly {
102
- locale: "zh" | "ja" | "en" | "ko";
102
+ locale: "en" | "ja" | "ko" | "zh";
103
103
  message: string;
104
104
  }[];
105
105
  mode: "month" | "year" | "date";
@@ -143,7 +143,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
143
143
  type: "string";
144
144
  path: string;
145
145
  title: readonly {
146
- locale: "zh" | "ja" | "en" | "ko";
146
+ locale: "en" | "ja" | "ko" | "zh";
147
147
  message: string;
148
148
  }[];
149
149
  required?: boolean | undefined;
@@ -163,7 +163,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
163
163
  type: "textarea";
164
164
  path: string;
165
165
  title: readonly {
166
- locale: "zh" | "ja" | "en" | "ko";
166
+ locale: "en" | "ja" | "ko" | "zh";
167
167
  message: string;
168
168
  }[];
169
169
  required?: boolean | undefined;
@@ -183,7 +183,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
183
183
  type: "number";
184
184
  path: string;
185
185
  title: readonly {
186
- locale: "zh" | "ja" | "en" | "ko";
186
+ locale: "en" | "ja" | "ko" | "zh";
187
187
  message: string;
188
188
  }[];
189
189
  required?: boolean | undefined;
@@ -204,7 +204,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
204
204
  type: "select";
205
205
  path: string;
206
206
  title: readonly {
207
- locale: "zh" | "ja" | "en" | "ko";
207
+ locale: "en" | "ja" | "ko" | "zh";
208
208
  message: string;
209
209
  }[];
210
210
  options: string;
@@ -226,7 +226,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
226
226
  type: "calendar";
227
227
  path: string;
228
228
  title: readonly {
229
- locale: "zh" | "ja" | "en" | "ko";
229
+ locale: "en" | "ja" | "ko" | "zh";
230
230
  message: string;
231
231
  }[];
232
232
  mode: "month" | "year" | "date";
@@ -12,7 +12,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
12
12
  kind: string;
13
13
  compatibilityDate: string;
14
14
  locale?: readonly {
15
- locale: "zh" | "ja" | "en" | "ko";
15
+ locale: "en" | "ja" | "ko" | "zh";
16
16
  message: string;
17
17
  }[] | undefined;
18
18
  inline?: boolean | undefined;
@@ -26,7 +26,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
26
26
  kind: string;
27
27
  compatibilityDate: string;
28
28
  locale?: readonly {
29
- locale: "zh" | "ja" | "en" | "ko";
29
+ locale: "en" | "ja" | "ko" | "zh";
30
30
  message: string;
31
31
  }[] | undefined;
32
32
  inline?: boolean | undefined;
@@ -12,7 +12,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
12
12
  kind: string;
13
13
  compatibilityDate: string;
14
14
  locale?: readonly {
15
- locale: "zh" | "ja" | "en" | "ko";
15
+ locale: "en" | "ja" | "ko" | "zh";
16
16
  message: string;
17
17
  }[] | undefined;
18
18
  inline?: boolean | undefined;
@@ -26,7 +26,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
26
26
  kind: string;
27
27
  compatibilityDate: string;
28
28
  locale?: readonly {
29
- locale: "zh" | "ja" | "en" | "ko";
29
+ locale: "en" | "ja" | "ko" | "zh";
30
30
  message: string;
31
31
  }[] | undefined;
32
32
  inline?: boolean | undefined;
@@ -12,7 +12,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
12
12
  menus: readonly Readonly<{
13
13
  id: string;
14
14
  title: readonly {
15
- locale: "zh" | "ja" | "en" | "ko";
15
+ locale: "en" | "ja" | "ko" | "zh";
16
16
  message: string;
17
17
  }[];
18
18
  to: string;
@@ -28,7 +28,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
28
28
  menus: readonly Readonly<{
29
29
  id: string;
30
30
  title: readonly {
31
- locale: "zh" | "ja" | "en" | "ko";
31
+ locale: "en" | "ja" | "ko" | "zh";
32
32
  message: string;
33
33
  }[];
34
34
  to: string;
@@ -12,7 +12,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
12
12
  menus: readonly Readonly<{
13
13
  id: string;
14
14
  title: readonly {
15
- locale: "zh" | "ja" | "en" | "ko";
15
+ locale: "en" | "ja" | "ko" | "zh";
16
16
  message: string;
17
17
  }[];
18
18
  to: string;
@@ -28,7 +28,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
28
28
  menus: readonly Readonly<{
29
29
  id: string;
30
30
  title: readonly {
31
- locale: "zh" | "ja" | "en" | "ko";
31
+ locale: "en" | "ja" | "ko" | "zh";
32
32
  message: string;
33
33
  }[];
34
34
  to: string;
@@ -38,7 +38,14 @@ const renderedSessions = computed(() => {
38
38
  nextSessions.push({
39
39
  sessionId: session.sessionId,
40
40
  definitionId: session.definitionId,
41
- shell: session.shell,
41
+ shell: {
42
+ title: session.shell.title,
43
+ description: session.shell.description,
44
+ showCloseButton: session.shell.showCloseButton,
45
+ breakpoint: session.shell.breakpoint,
46
+ dismissible: session.shell.dismissible
47
+ },
48
+ descriptionSrOnly: session.shell.descriptionSrOnly,
42
49
  props: session.props,
43
50
  definition
44
51
  });
@@ -70,7 +77,15 @@ const renderedSessions = computed(() => {
70
77
  v-if="session.shell.description"
71
78
  #description
72
79
  >
73
- {{ session.shell.description }}
80
+ <span
81
+ v-if="session.descriptionSrOnly"
82
+ class="sr-only"
83
+ >
84
+ {{ session.shell.description }}
85
+ </span>
86
+ <template v-else>
87
+ {{ session.shell.description }}
88
+ </template>
74
89
  </template>
75
90
 
76
91
  <template #default="modalSlotProps">