@shwfed/nuxt 0.11.1 → 0.11.3
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/module.json +1 -1
- package/dist/runtime/components/button.d.vue.ts +18 -18
- package/dist/runtime/components/button.vue.d.ts +18 -18
- package/dist/runtime/components/fields.d.vue.ts +10 -10
- package/dist/runtime/components/fields.vue.d.ts +10 -10
- package/dist/runtime/components/markdown.d.vue.ts +2 -2
- package/dist/runtime/components/markdown.vue.d.ts +2 -2
- package/dist/runtime/components/menu-tabs.d.vue.ts +2 -2
- package/dist/runtime/components/menu-tabs.vue.d.ts +2 -2
- package/dist/runtime/components/ui/app/OverlayHost.vue +51 -2
- package/dist/runtime/components/ui/button-configurator/ButtonConfiguratorDialog.d.vue.ts +18 -18
- package/dist/runtime/components/ui/button-configurator/ButtonConfiguratorDialog.vue.d.ts +18 -18
- package/dist/runtime/components/ui/buttons/Buttons.d.vue.ts +18 -18
- package/dist/runtime/components/ui/buttons/Buttons.vue +9 -25
- package/dist/runtime/components/ui/buttons/Buttons.vue.d.ts +18 -18
- package/dist/runtime/components/ui/buttons/schema.d.ts +138 -138
- package/dist/runtime/components/ui/fields/Fields.d.vue.ts +20 -20
- package/dist/runtime/components/ui/fields/Fields.vue.d.ts +20 -20
- package/dist/runtime/components/ui/fields/schema.d.ts +60 -60
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.d.vue.ts +10 -10
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.vue.d.ts +10 -10
- package/dist/runtime/components/ui/locale/Locale.d.vue.ts +2 -2
- package/dist/runtime/components/ui/locale/Locale.vue.d.ts +2 -2
- package/dist/runtime/components/ui/markdown/Markdown.d.vue.ts +2 -2
- package/dist/runtime/components/ui/markdown/Markdown.vue.d.ts +2 -2
- package/dist/runtime/components/ui/markdown/schema.d.ts +8 -8
- package/dist/runtime/components/ui/markdown-configurator/MarkdownConfiguratorDialog.d.vue.ts +2 -2
- package/dist/runtime/components/ui/markdown-configurator/MarkdownConfiguratorDialog.vue.d.ts +2 -2
- package/dist/runtime/components/ui/menu-tabs/MenuTabs.d.vue.ts +2 -2
- package/dist/runtime/components/ui/menu-tabs/MenuTabs.vue.d.ts +2 -2
- package/dist/runtime/components/ui/menu-tabs/schema.d.ts +10 -10
- package/dist/runtime/components/ui/menu-tabs-configurator/MenuTabsConfiguratorDialog.d.vue.ts +2 -2
- package/dist/runtime/components/ui/menu-tabs-configurator/MenuTabsConfiguratorDialog.vue.d.ts +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +14 -1
- package/dist/runtime/composables/useOverlay.js +59 -4
- package/dist/runtime/utils/coders.d.ts +7 -7
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -15,11 +15,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
items: readonly (Readonly<{
|
|
16
16
|
id: string;
|
|
17
17
|
title: readonly {
|
|
18
|
-
locale: "
|
|
18
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
19
19
|
message: string;
|
|
20
20
|
}[];
|
|
21
21
|
tooltip?: readonly {
|
|
22
|
-
locale: "
|
|
22
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
23
23
|
message: string;
|
|
24
24
|
}[] | undefined;
|
|
25
25
|
icon?: string | undefined;
|
|
@@ -27,11 +27,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
hideTitle?: boolean | undefined;
|
|
28
28
|
modal?: Readonly<{
|
|
29
29
|
title?: readonly {
|
|
30
|
-
locale: "
|
|
30
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
31
31
|
message: string;
|
|
32
32
|
}[] | undefined;
|
|
33
33
|
description?: readonly {
|
|
34
|
-
locale: "
|
|
34
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
35
35
|
message: string;
|
|
36
36
|
}[] | undefined;
|
|
37
37
|
showCloseButton?: boolean | undefined;
|
|
@@ -41,28 +41,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
41
41
|
}> | Readonly<{
|
|
42
42
|
id: string;
|
|
43
43
|
title: readonly {
|
|
44
|
-
locale: "
|
|
44
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
45
45
|
message: string;
|
|
46
46
|
}[];
|
|
47
47
|
items: readonly Readonly<{
|
|
48
48
|
id: string;
|
|
49
49
|
title: readonly {
|
|
50
|
-
locale: "
|
|
50
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
51
51
|
message: string;
|
|
52
52
|
}[];
|
|
53
53
|
tooltip?: readonly {
|
|
54
|
-
locale: "
|
|
54
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
55
55
|
message: string;
|
|
56
56
|
}[] | undefined;
|
|
57
57
|
icon?: string | undefined;
|
|
58
58
|
variant?: "default" | "destructive" | "primary" | "ghost" | undefined;
|
|
59
59
|
modal?: Readonly<{
|
|
60
60
|
title?: readonly {
|
|
61
|
-
locale: "
|
|
61
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
62
62
|
message: string;
|
|
63
63
|
}[] | undefined;
|
|
64
64
|
description?: readonly {
|
|
65
|
-
locale: "
|
|
65
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
66
66
|
message: string;
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
showCloseButton?: boolean | undefined;
|
|
@@ -87,11 +87,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
87
87
|
items: readonly (Readonly<{
|
|
88
88
|
id: string;
|
|
89
89
|
title: readonly {
|
|
90
|
-
locale: "
|
|
90
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
91
91
|
message: string;
|
|
92
92
|
}[];
|
|
93
93
|
tooltip?: readonly {
|
|
94
|
-
locale: "
|
|
94
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
95
95
|
message: string;
|
|
96
96
|
}[] | undefined;
|
|
97
97
|
icon?: string | undefined;
|
|
@@ -99,11 +99,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
99
99
|
hideTitle?: boolean | undefined;
|
|
100
100
|
modal?: Readonly<{
|
|
101
101
|
title?: readonly {
|
|
102
|
-
locale: "
|
|
102
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
103
103
|
message: string;
|
|
104
104
|
}[] | undefined;
|
|
105
105
|
description?: readonly {
|
|
106
|
-
locale: "
|
|
106
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
107
107
|
message: string;
|
|
108
108
|
}[] | undefined;
|
|
109
109
|
showCloseButton?: boolean | undefined;
|
|
@@ -113,28 +113,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
113
113
|
}> | Readonly<{
|
|
114
114
|
id: string;
|
|
115
115
|
title: readonly {
|
|
116
|
-
locale: "
|
|
116
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
117
117
|
message: string;
|
|
118
118
|
}[];
|
|
119
119
|
items: readonly Readonly<{
|
|
120
120
|
id: string;
|
|
121
121
|
title: readonly {
|
|
122
|
-
locale: "
|
|
122
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
123
123
|
message: string;
|
|
124
124
|
}[];
|
|
125
125
|
tooltip?: readonly {
|
|
126
|
-
locale: "
|
|
126
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
127
127
|
message: string;
|
|
128
128
|
}[] | undefined;
|
|
129
129
|
icon?: string | undefined;
|
|
130
130
|
variant?: "default" | "destructive" | "primary" | "ghost" | undefined;
|
|
131
131
|
modal?: Readonly<{
|
|
132
132
|
title?: readonly {
|
|
133
|
-
locale: "
|
|
133
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
134
134
|
message: string;
|
|
135
135
|
}[] | undefined;
|
|
136
136
|
description?: readonly {
|
|
137
|
-
locale: "
|
|
137
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
138
138
|
message: string;
|
|
139
139
|
}[] | undefined;
|
|
140
140
|
showCloseButton?: boolean | undefined;
|
|
@@ -15,11 +15,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
items: readonly (Readonly<{
|
|
16
16
|
id: string;
|
|
17
17
|
title: readonly {
|
|
18
|
-
locale: "
|
|
18
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
19
19
|
message: string;
|
|
20
20
|
}[];
|
|
21
21
|
tooltip?: readonly {
|
|
22
|
-
locale: "
|
|
22
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
23
23
|
message: string;
|
|
24
24
|
}[] | undefined;
|
|
25
25
|
icon?: string | undefined;
|
|
@@ -27,11 +27,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
hideTitle?: boolean | undefined;
|
|
28
28
|
modal?: Readonly<{
|
|
29
29
|
title?: readonly {
|
|
30
|
-
locale: "
|
|
30
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
31
31
|
message: string;
|
|
32
32
|
}[] | undefined;
|
|
33
33
|
description?: readonly {
|
|
34
|
-
locale: "
|
|
34
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
35
35
|
message: string;
|
|
36
36
|
}[] | undefined;
|
|
37
37
|
showCloseButton?: boolean | undefined;
|
|
@@ -41,28 +41,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
41
41
|
}> | Readonly<{
|
|
42
42
|
id: string;
|
|
43
43
|
title: readonly {
|
|
44
|
-
locale: "
|
|
44
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
45
45
|
message: string;
|
|
46
46
|
}[];
|
|
47
47
|
items: readonly Readonly<{
|
|
48
48
|
id: string;
|
|
49
49
|
title: readonly {
|
|
50
|
-
locale: "
|
|
50
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
51
51
|
message: string;
|
|
52
52
|
}[];
|
|
53
53
|
tooltip?: readonly {
|
|
54
|
-
locale: "
|
|
54
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
55
55
|
message: string;
|
|
56
56
|
}[] | undefined;
|
|
57
57
|
icon?: string | undefined;
|
|
58
58
|
variant?: "default" | "destructive" | "primary" | "ghost" | undefined;
|
|
59
59
|
modal?: Readonly<{
|
|
60
60
|
title?: readonly {
|
|
61
|
-
locale: "
|
|
61
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
62
62
|
message: string;
|
|
63
63
|
}[] | undefined;
|
|
64
64
|
description?: readonly {
|
|
65
|
-
locale: "
|
|
65
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
66
66
|
message: string;
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
showCloseButton?: boolean | undefined;
|
|
@@ -87,11 +87,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
87
87
|
items: readonly (Readonly<{
|
|
88
88
|
id: string;
|
|
89
89
|
title: readonly {
|
|
90
|
-
locale: "
|
|
90
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
91
91
|
message: string;
|
|
92
92
|
}[];
|
|
93
93
|
tooltip?: readonly {
|
|
94
|
-
locale: "
|
|
94
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
95
95
|
message: string;
|
|
96
96
|
}[] | undefined;
|
|
97
97
|
icon?: string | undefined;
|
|
@@ -99,11 +99,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
99
99
|
hideTitle?: boolean | undefined;
|
|
100
100
|
modal?: Readonly<{
|
|
101
101
|
title?: readonly {
|
|
102
|
-
locale: "
|
|
102
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
103
103
|
message: string;
|
|
104
104
|
}[] | undefined;
|
|
105
105
|
description?: readonly {
|
|
106
|
-
locale: "
|
|
106
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
107
107
|
message: string;
|
|
108
108
|
}[] | undefined;
|
|
109
109
|
showCloseButton?: boolean | undefined;
|
|
@@ -113,28 +113,28 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
113
113
|
}> | Readonly<{
|
|
114
114
|
id: string;
|
|
115
115
|
title: readonly {
|
|
116
|
-
locale: "
|
|
116
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
117
117
|
message: string;
|
|
118
118
|
}[];
|
|
119
119
|
items: readonly Readonly<{
|
|
120
120
|
id: string;
|
|
121
121
|
title: readonly {
|
|
122
|
-
locale: "
|
|
122
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
123
123
|
message: string;
|
|
124
124
|
}[];
|
|
125
125
|
tooltip?: readonly {
|
|
126
|
-
locale: "
|
|
126
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
127
127
|
message: string;
|
|
128
128
|
}[] | undefined;
|
|
129
129
|
icon?: string | undefined;
|
|
130
130
|
variant?: "default" | "destructive" | "primary" | "ghost" | undefined;
|
|
131
131
|
modal?: Readonly<{
|
|
132
132
|
title?: readonly {
|
|
133
|
-
locale: "
|
|
133
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
134
134
|
message: string;
|
|
135
135
|
}[] | undefined;
|
|
136
136
|
description?: readonly {
|
|
137
|
-
locale: "
|
|
137
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
138
138
|
message: string;
|
|
139
139
|
}[] | undefined;
|
|
140
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
31
|
+
locale: "en" | "ja" | "ko" | "zh";
|
|
32
32
|
message: string;
|
|
33
33
|
}[];
|
|
34
34
|
to: string;
|
|
@@ -28,6 +28,17 @@ function handleOpenUpdate(sessionId, open) {
|
|
|
28
28
|
reason: "dismiss"
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
+
function patchFooter(sessionId, definitionId, nextProps) {
|
|
32
|
+
if (!definitionId) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
overlay.patchSync(sessionId, {
|
|
36
|
+
footer: {
|
|
37
|
+
id: definitionId,
|
|
38
|
+
props: nextProps
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
31
42
|
const renderedSessions = computed(() => {
|
|
32
43
|
const nextSessions = [];
|
|
33
44
|
for (const session of overlay.sessions) {
|
|
@@ -35,11 +46,24 @@ const renderedSessions = computed(() => {
|
|
|
35
46
|
if (!definition) {
|
|
36
47
|
continue;
|
|
37
48
|
}
|
|
49
|
+
const footerDefinition = session.footer ? overlay.definitions[session.footer.id] : void 0;
|
|
38
50
|
nextSessions.push({
|
|
39
51
|
sessionId: session.sessionId,
|
|
40
52
|
definitionId: session.definitionId,
|
|
41
|
-
shell:
|
|
53
|
+
shell: {
|
|
54
|
+
title: session.shell.title,
|
|
55
|
+
description: session.shell.description,
|
|
56
|
+
showCloseButton: session.shell.showCloseButton,
|
|
57
|
+
breakpoint: session.shell.breakpoint,
|
|
58
|
+
dismissible: session.shell.dismissible
|
|
59
|
+
},
|
|
60
|
+
descriptionSrOnly: session.shell.descriptionSrOnly,
|
|
42
61
|
props: session.props,
|
|
62
|
+
footer: session.footer && footerDefinition ? {
|
|
63
|
+
definitionId: session.footer.id,
|
|
64
|
+
props: session.footer.props,
|
|
65
|
+
definition: footerDefinition
|
|
66
|
+
} : void 0,
|
|
43
67
|
definition
|
|
44
68
|
});
|
|
45
69
|
}
|
|
@@ -70,7 +94,15 @@ const renderedSessions = computed(() => {
|
|
|
70
94
|
v-if="session.shell.description"
|
|
71
95
|
#description
|
|
72
96
|
>
|
|
73
|
-
|
|
97
|
+
<span
|
|
98
|
+
v-if="session.descriptionSrOnly"
|
|
99
|
+
class="sr-only"
|
|
100
|
+
>
|
|
101
|
+
{{ session.shell.description }}
|
|
102
|
+
</span>
|
|
103
|
+
<template v-else>
|
|
104
|
+
{{ session.shell.description }}
|
|
105
|
+
</template>
|
|
74
106
|
</template>
|
|
75
107
|
|
|
76
108
|
<template #default="modalSlotProps">
|
|
@@ -83,6 +115,23 @@ const renderedSessions = computed(() => {
|
|
|
83
115
|
close: (value) => overlay.closeSync(session.sessionId, value),
|
|
84
116
|
patch: (nextProps) => overlay.patchSync(session.sessionId, { props: nextProps }),
|
|
85
117
|
isDesktop: modalSlotProps.isDesktop
|
|
118
|
+
}"
|
|
119
|
+
/>
|
|
120
|
+
</template>
|
|
121
|
+
|
|
122
|
+
<template
|
|
123
|
+
v-if="session.footer"
|
|
124
|
+
#footer="modalSlotProps"
|
|
125
|
+
>
|
|
126
|
+
<OverlayBody
|
|
127
|
+
:render="session.footer.definition.render"
|
|
128
|
+
:slot-props="{
|
|
129
|
+
props: session.footer.props,
|
|
130
|
+
shell: session.shell,
|
|
131
|
+
sessionId: session.sessionId,
|
|
132
|
+
close: (value) => overlay.closeSync(session.sessionId, value),
|
|
133
|
+
patch: (nextProps) => patchFooter(session.sessionId, session.footer?.definitionId, nextProps),
|
|
134
|
+
isDesktop: modalSlotProps.isDesktop
|
|
86
135
|
}"
|
|
87
136
|
/>
|
|
88
137
|
</template>
|