File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 24
24
"copy-src" : " shx cp dist/servicestack-vue.min.mjs ../ServiceStack/ServiceStack/src/ServiceStack/js/servicestack-vue.mjs && shx cp dist/servicestack-vue.mjs ../ServiceStack/ServiceStack/tests/NorthwindAuto/wwwroot/lib/mjs/" ,
25
25
"copy-diffusion" : " shx cp dist/servicestack-vue.m* ../../netcore/BlazorDiffusionVue/BlazorDiffusion/wwwroot/lib/mjs/ && shx cp dist/index.d.ts ../../netcore/BlazorDiffusionVue/BlazorDiffusion/wwwroot/lib/typings/@servicestack/vue/" ,
26
26
"copy-creatorkit" : " shx cp dist/servicestack-vue.m* ../../netcore/CreatorKit/CreatorKit/wwwroot/lib/mjs/ && shx cp dist/index.d.ts ../../netcore/CreatorKit/CreatorKit/wwwroot/lib/typings/@servicestack/vue/" ,
27
- "copy-aiserver" : " shx cp dist/servicestack-vue.m* ../../mythz/ ai-server/AiServer/wwwroot/js/ && shx cp dist/index.d.ts ../../mythz /ai-server/AiServer/wwwroot/lib/typings/@servicestack/vue/" ,
27
+ "copy-aiserver" : " shx cp dist/servicestack-vue.m* ../ai-server/AiServer/wwwroot/lib/mjs/ && shx cp dist/index.d.ts ../ai-server/AiServer/wwwroot/lib/typings/@servicestack/vue/" ,
28
28
"preview" : " vite preview" ,
29
29
"build-only" : " vite build -l error" ,
30
30
"type-check" : " vue-tsc --noEmit" ,
Original file line number Diff line number Diff line change 4
4
<div class =" fixed inset-0 overflow-hidden" >
5
5
<div @mousedown =" close" class =" absolute inset-0 overflow-hidden" >
6
6
<div @mousedown.stop =" " class =" pointer-events-none fixed inset-y-0 right-0 flex pl-10" >
7
- <div :class =" ['pointer-events-auto w-screen xl:max-w-3xl md:max-w-xl max-w-lg',transition1]" >
7
+ <div :class =" ['panel pointer-events-auto w-screen xl:max-w-3xl md:max-w-xl max-w-lg',transition1]" >
8
8
<div class =" flex h-full flex-col bg-white dark:bg-black shadow-xl" >
9
9
<div class =" flex min-h-0 flex-1 flex-col overflow-auto" >
10
10
13
13
<div class =" bg-gray-50 dark:bg-gray-900 px-4 py-6 sm:px-6" >
14
14
<div class =" flex items-start justify-between space-x-3" >
15
15
<div class =" space-y-1" >
16
+ <div v-if =" $slots['title']" ><slot name =" title" ></slot ></div >
16
17
<h2 v-if =" title" class =" text-lg font-medium text-gray-900 dark:text-gray-50" :id =" id + '-title'" >{{title}}</h2 >
17
18
<p v-if =" $slots['subtitle']" class =" text-sm text-gray-500" >
18
19
<slot name =" subtitle" ></slot >
31
32
</div >
32
33
33
34
<!-- Action buttons -->
34
- <div class =" flex-shrink-0 border-t border-gray-200 dark:border-gray-700 px-4 py-5 sm:px-6" >
35
+ <div v-if = " $slots['footer'] " class =" flex-shrink-0 border-t border-gray-200 dark:border-gray-700 px-4 py-5 sm:px-6" >
35
36
<slot name =" footer" ></slot >
36
37
</div >
37
38
Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ export function parseJson(json?:string|null) {
142
142
export function pushState ( args :Record < string , any > , clear ?:boolean ) {
143
143
if ( typeof history != 'undefined' ) {
144
144
const url = clear
145
- ? setQueryString ( location . href , args )
146
- : appendQueryString ( lastLeftPart ( location . href , '?' ) , args )
145
+ ? appendQueryString ( lastLeftPart ( location . href , '?' ) , args )
146
+ : setQueryString ( location . href , args )
147
147
history . pushState ( { } , '' , url )
148
148
}
149
149
}
You can’t perform that action at this time.
0 commit comments