Skip to content

Commit

Permalink
update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Aug 27, 2024
1 parent 7c4ae21 commit e13c118
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"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/",
"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/",
"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/",
"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/",
"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/",
"preview": "vite preview",
"build-only": "vite build -l error",
"type-check": "vue-tsc --noEmit",
Expand Down
5 changes: 3 additions & 2 deletions src/components/SlideOver.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="fixed inset-0 overflow-hidden">
<div @mousedown="close" class="absolute inset-0 overflow-hidden">
<div @mousedown.stop="" class="pointer-events-none fixed inset-y-0 right-0 flex pl-10">
<div :class="['pointer-events-auto w-screen xl:max-w-3xl md:max-w-xl max-w-lg',transition1]">
<div :class="['panel pointer-events-auto w-screen xl:max-w-3xl md:max-w-xl max-w-lg',transition1]">
<div class="flex h-full flex-col bg-white dark:bg-black shadow-xl">
<div class="flex min-h-0 flex-1 flex-col overflow-auto">

Expand All @@ -13,6 +13,7 @@
<div class="bg-gray-50 dark:bg-gray-900 px-4 py-6 sm:px-6">
<div class="flex items-start justify-between space-x-3">
<div class="space-y-1">
<div v-if="$slots['title']"><slot name="title"></slot></div>
<h2 v-if="title" class="text-lg font-medium text-gray-900 dark:text-gray-50" :id="id + '-title'">{{title}}</h2>
<p v-if="$slots['subtitle']" class="text-sm text-gray-500">
<slot name="subtitle"></slot>
Expand All @@ -31,7 +32,7 @@
</div>

<!-- Action buttons -->
<div class="flex-shrink-0 border-t border-gray-200 dark:border-gray-700 px-4 py-5 sm:px-6">
<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">
<slot name="footer"></slot>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/use/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ export function parseJson(json?:string|null) {
export function pushState(args:Record<string,any>, clear?:boolean) {
if (typeof history != 'undefined') {
const url = clear
? setQueryString(location.href, args)
: appendQueryString(lastLeftPart(location.href,'?'), args)
? appendQueryString(lastLeftPart(location.href,'?'), args)
: setQueryString(location.href, args)
history.pushState({}, '', url)
}
}
Expand Down

0 comments on commit e13c118

Please sign in to comment.