@pubinfo-pr/core 0.222.4 → 0.224.1
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/{AppSetting-BWVulLPM.js → AppSetting-7jlhUzze.js} +40 -40
- package/dist/{HCheckList-Bb4GvZ2_.js → HCheckList-cPBgATmv.js} +1 -1
- package/dist/HSlideover-DVQDc9q6.js +3151 -0
- package/dist/{HToggle-Bnr5k93p.js → HToggle-Ce_2-yhZ.js} +2 -2
- package/dist/PreferencesContent-BAIH81yS.js +701 -0
- package/dist/{SettingBreadcrumb-DKCK6V-n.js → SettingBreadcrumb-O9-PhAFT.js} +7 -6
- package/dist/{SettingCopyright-C5Pc0I1w.js → SettingCopyright-DIKsWTuf.js} +4 -4
- package/dist/{SettingEnableTransition-D2FDj0oR.js → SettingEnableTransition-61O7W00b.js} +6 -6
- package/dist/{SettingHome-1Y1rYeQb.js → SettingHome-Sv65TPH8.js} +6 -6
- package/dist/{SettingMenu-DWtNX8Ti.js → SettingMenu-BvwJOUZV.js} +9 -8
- package/dist/{SettingMode-CZV84QeW.js → SettingMode-B8H_eQc8.js} +5 -5
- package/dist/{SettingNavSearch-CrMpbXFg.js → SettingNavSearch-BHsmYBA7.js} +5 -5
- package/dist/{SettingOther-D6gGuQJw.js → SettingOther-CyyNnaDX.js} +6 -6
- package/dist/{SettingPage-DuN13bXO.js → SettingPage-B82lW41P.js} +3 -3
- package/dist/{SettingTabbar-BhJxcU35.js → SettingTabbar-Bky2xvH-.js} +11 -10
- package/dist/{SettingThemes-BjkWfY1C.js → SettingThemes-CkdzS1xt.js} +13 -12
- package/dist/{SettingToolbar-BYOxXAXL.js → SettingToolbar-CD4qns1J.js} +5 -5
- package/dist/{SettingTopbar-CxKsnIRK.js → SettingTopbar-1shjoe3s.js} +9 -8
- package/dist/{SettingWidthMode-dM88qSol.js → SettingWidthMode-DlG6lXjA.js} +6 -6
- package/dist/auth-BLGKOyc5.js +4432 -0
- package/dist/built-in/layout-component/index.d.ts +2 -6
- package/dist/{change-organization-BXl4ZC7j.js → change-organization-hsqeSzDu.js} +25 -25
- package/dist/{change-password-P4SGdvdU.js → change-password-EtccCDRX.js} +74 -65
- package/dist/chunk-CD4vhpVs.js +18 -0
- package/dist/components-DFNyaAb9.js +5238 -0
- package/dist/{core-D2ocBD0r.js → core-DJIGzMMM.js} +51 -57
- package/dist/dist-7OjQvlya.js +468 -0
- package/dist/form-C3VHofnN.js +2768 -0
- package/dist/index.js +8391 -2411
- package/dist/modal-Bl5xHbxa.js +43824 -0
- package/dist/{not-found-C-1699o2.js → not-found-BCjngLzt.js} +5 -4
- package/dist/{not-permission-CZGJzlSF.js → not-permission-C26vTMvf.js} +5 -4
- package/dist/profile-BVXIFuBG.js +19269 -0
- package/dist/{question-line-B4oDBb2H.js → question-line-BG__Ycfv.js} +2 -2
- package/dist/{right-BTHgfOSp.js → right-BxBlFUwj.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/tree-select-B8cTcGLa.js +12497 -0
- package/dist/watchDiff-CPZFtaOC.js +655 -0
- package/package.json +7 -7
- package/src/built-in/authentication/pages/change-organization/index.vue +5 -22
- package/src/built-in/authentication/pages/change-password/index.vue +3 -30
- package/src/built-in/layout-component/Layout.vue +30 -81
- package/src/built-in/layout-component/components/Copyright/index.vue +3 -29
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +6 -17
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +7 -18
- package/src/built-in/layout-component/components/Header/index.vue +22 -119
- package/src/built-in/layout-component/components/Logo/index.vue +1 -4
- package/src/built-in/layout-component/components/Menu/item.vue +6 -29
- package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +13 -33
- package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +25 -113
- package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +4 -57
- package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +20 -123
- package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +25 -102
- package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +16 -100
- package/src/built-in/layout-component/components/SettingBar/index.vue +10 -64
- package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +22 -76
- package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +10 -16
- package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +4 -26
- package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +51 -404
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +13 -68
- package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +49 -177
- package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +12 -45
- package/src/built-in/layout-component/components/ui/HToggle.vue +9 -55
- package/src/built-in/layout-component/index.ts +2 -4
- package/src/features/components/PassStrengthValidator/index.vue +10 -36
- package/src/features/components/PassStrengthValidator/rule.vue +4 -17
- package/dist/HSlideover-DoCRa4dK.js +0 -152
- package/dist/HeaderFullMenu--AOcAS-6.js +0 -251
- package/dist/HeaderThinMenu-CRPVfGgM.js +0 -438
- package/dist/PreferencesContent-DW9HAzpr.js +0 -486
- package/dist/auth-DILNNEQ8.js +0 -1230
- package/dist/components-C9kcavB4.js +0 -2768
- package/dist/core-CKIhF3Vi.js +0 -270
- package/dist/profile-B3Q7hRgl.js +0 -123
- /package/dist/{HButton-BPbXqVbA.js → HButton-Dt6qGhhR.js} +0 -0
- /package/dist/{HDivider-BSENlYnI.js → HDivider-BwvBr5OE.js} +0 -0
- /package/dist/{HInput-DbvnkEO7.js → HInput-KJ5nFBpF.js} +0 -0
- /package/dist/{HTooltip-tCnNrJUE.js → HTooltip-DjAU-Evn.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-BBf_fmJ_.js → _plugin-vue_export-helper-sUTDUeGO.js} +0 -0
- /package/dist/{engine-oniguruma-Bl7ZtyDI.js → engine-oniguruma-CaNXwGSv.js} +0 -0
- /package/dist/{json-BuUwnwNo.js → json-Bu_Zprin.js} +0 -0
- /package/dist/{reload-DWTXo9r2.js → reload-DHx5Vwus.js} +0 -0
- /package/dist/{useContext-mDF2-tXy.js → useContext-DLtu9F7E.js} +0 -0
- /package/dist/{vitesse-dark-j0hKJETh.js → vitesse-dark-CTe40QT_.js} +0 -0
- /package/dist/{vitesse-light-BfgKNo3X.js → vitesse-light-BWXC_WeB.js} +0 -0
- /package/dist/{wasm-tXaxAgz9.js → wasm-2zDVqo-C.js} +0 -0
|
@@ -34,88 +34,42 @@ const enabled = computed({
|
|
|
34
34
|
|
|
35
35
|
<style scoped lang="css">
|
|
36
36
|
.switch {
|
|
37
|
-
|
|
38
|
-
transform: scaleX(0.75) scaleY(0.75);
|
|
37
|
+
--at-apply: cursor-pointer scale-75;
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
.switch input {
|
|
42
|
-
|
|
41
|
+
--at-apply: hidden;
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
.switch input + span {
|
|
46
|
-
|
|
47
|
-
display: block;
|
|
48
|
-
width: 3rem; /* 48px */
|
|
49
|
-
height: 1.75rem; /* 28px */
|
|
50
|
-
border-radius: 14px;
|
|
51
|
-
transition-property: all;
|
|
52
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
53
|
-
transition-duration: 150ms;
|
|
54
|
-
transition-duration: 300ms;
|
|
55
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
45
|
+
--at-apply: relative block w-12 h-7 rounded-14px transition-all duration-300 ease;
|
|
56
46
|
}
|
|
57
47
|
|
|
58
48
|
.switch input + span::before,
|
|
59
49
|
.switch input + span::after {
|
|
60
|
-
|
|
61
|
-
display: block;
|
|
62
|
-
content: "";
|
|
63
|
-
transition-property: all;
|
|
64
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
65
|
-
transition-duration: 150ms;
|
|
66
|
-
transition-duration: 300ms;
|
|
67
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
50
|
+
--at-apply: absolute block content-empty transition-all duration-300 ease;
|
|
68
51
|
}
|
|
69
52
|
|
|
70
53
|
.switch input + span::before {
|
|
71
|
-
top:
|
|
72
|
-
left: 5px;
|
|
73
|
-
width: 18px;
|
|
74
|
-
height: 18px;
|
|
75
|
-
border-width: 5px;
|
|
76
|
-
border-style: solid;
|
|
77
|
-
border-color: rgb(255 255 255);
|
|
78
|
-
border-radius: 9px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.dark .switch input + span::before {
|
|
82
|
-
border-color: rgb(34 34 34);
|
|
54
|
+
--at-apply: top-5px left-5px size-18px border-5px border-solid border-white dark:border-dark rounded-9px;
|
|
83
55
|
}
|
|
84
56
|
|
|
85
57
|
.switch input + span::after {
|
|
86
|
-
|
|
87
|
-
left: 32px;
|
|
88
|
-
width: 6px;
|
|
89
|
-
height: 18px;
|
|
90
|
-
background-color: #FFFFFF;
|
|
91
|
-
border-radius: 40%;
|
|
92
|
-
opacity: 0;
|
|
58
|
+
--at-apply: top-5px left-32px w-6px h-18px bg-white rounded-4/10 op-0 dark:bg-stone-7;
|
|
93
59
|
transform-origin: 50% 50%;
|
|
94
60
|
}
|
|
95
61
|
|
|
96
|
-
.dark .switch input + span::after {
|
|
97
|
-
background-color: #44403c;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
62
|
.switch input + span:active {
|
|
101
|
-
|
|
63
|
+
--at-apply: scale-92;
|
|
102
64
|
}
|
|
103
65
|
|
|
104
66
|
.switch input:checked + span {
|
|
105
|
-
|
|
67
|
+
--at-apply: bg-ui-primary;
|
|
106
68
|
box-shadow: 0 8px 16px -1px rgba(var(--ui-primary), 0.2);
|
|
107
69
|
}
|
|
108
70
|
|
|
109
71
|
.switch input:checked + span::before {
|
|
110
|
-
|
|
111
|
-
margin-left: 27px;
|
|
112
|
-
background-color: #FFFFFF;
|
|
113
|
-
border-width: 3px;
|
|
114
|
-
border-radius: 3px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.dark .switch input:checked + span::before {
|
|
118
|
-
background-color: #44403c;
|
|
72
|
+
--at-apply: w-0 ml-27px bg-white dark:bg-stone-7 border-3px rounded-3px;
|
|
119
73
|
}
|
|
120
74
|
|
|
121
75
|
.switch input:checked + span::after {
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/* eslint-disable perfectionist/sort-named-exports */
|
|
3
3
|
import type { ModuleOptions } from '@/core';
|
|
4
4
|
import { defineSystemRoutes } from '@/features';
|
|
5
|
-
import { defineAsyncComponent } from 'vue';
|
|
6
5
|
|
|
7
6
|
import { Provider as LayoutProvider } from './provider';
|
|
8
7
|
import Layout from './Layout.vue';
|
|
@@ -10,6 +9,8 @@ import LayoutContent from './components/Content/index.vue';
|
|
|
10
9
|
|
|
11
10
|
import LayoutHeader from './components/Header/index.vue';
|
|
12
11
|
import LayoutHeaderMenu from './components/Header/HeaderMenu.vue';
|
|
12
|
+
import LayoutHeaderFullMenu from './components/Header/HeaderFullMenu/index.vue';
|
|
13
|
+
import LayoutHeaderThinMenu from './components/Header/HeaderThinMenu.vue';
|
|
13
14
|
|
|
14
15
|
import LayoutSidebar from './components/Sidebar/index.vue';
|
|
15
16
|
import LayoutTopbar from './components/Topbar/index.vue';
|
|
@@ -28,9 +29,6 @@ import Message from 'vue-m-message';
|
|
|
28
29
|
import 'vue-m-message/dist/style.css';
|
|
29
30
|
import 'floating-vue/dist/style.css';
|
|
30
31
|
|
|
31
|
-
const LayoutHeaderFullMenu = defineAsyncComponent(() => import('./components/Header/HeaderFullMenu/index.vue'));
|
|
32
|
-
const LayoutHeaderThinMenu = defineAsyncComponent(() => import('./components/Header/HeaderThinMenu.vue'));
|
|
33
|
-
|
|
34
32
|
/**
|
|
35
33
|
* 布局组件
|
|
36
34
|
*/
|
|
@@ -154,67 +154,41 @@ watchEffect(() => {
|
|
|
154
154
|
|
|
155
155
|
<style scoped>
|
|
156
156
|
.pass-strength-validator {
|
|
157
|
-
|
|
157
|
+
--at-apply: p-15px;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.pass-strength-validator .title-wrap {
|
|
161
|
-
|
|
162
|
-
line-height: 2rem; /* 32px */
|
|
163
|
-
font-weight: 600;
|
|
164
|
-
color: #1677ff;
|
|
165
|
-
margin-bottom: 2.5rem; /* 40px */
|
|
161
|
+
--at-apply: text-2xl font-semibold text-[#1677ff] mb-10;
|
|
166
162
|
}
|
|
167
163
|
|
|
168
164
|
.pass-strength-validator .rules-title {
|
|
169
|
-
|
|
170
|
-
line-height: 1.5rem; /* 24px */
|
|
171
|
-
font-weight: 500;
|
|
172
|
-
margin-bottom: 15px;
|
|
165
|
+
--at-apply: text-base font-medium mb-[15px];
|
|
173
166
|
}
|
|
174
167
|
|
|
175
168
|
.pass-strength-validator.vertical {
|
|
176
|
-
|
|
177
|
-
padding-top: 18px;
|
|
178
|
-
padding-bottom: 1.5rem; /* 24px */
|
|
179
|
-
padding-left: 2rem; /* 32px */
|
|
180
|
-
padding-right: 2rem; /* 32px */
|
|
169
|
+
--at-apply: w-[1130px] pt-[18px] pb-6 px-8;
|
|
181
170
|
}
|
|
182
171
|
.pass-strength-validator.vertical .title-wrap {
|
|
183
|
-
|
|
184
|
-
line-height: 1.5rem; /* 24px */
|
|
185
|
-
margin-bottom: 1rem; /* 16px */
|
|
172
|
+
--at-apply: text-base mb-4;
|
|
186
173
|
}
|
|
187
174
|
.pass-strength-validator.vertical .rules-wrap {
|
|
188
|
-
|
|
175
|
+
--at-apply: flex;
|
|
189
176
|
}
|
|
190
177
|
.pass-strength-validator.vertical .basic-rules,
|
|
191
178
|
.pass-strength-validator.vertical .advanced-rules {
|
|
192
|
-
|
|
193
|
-
flex: 1 1 0%;
|
|
179
|
+
--at-apply: relative flex-1;
|
|
194
180
|
}
|
|
195
181
|
.pass-strength-validator.vertical .basic-rules::after {
|
|
196
|
-
|
|
197
|
-
width: 1px;
|
|
198
|
-
height: auto;
|
|
199
|
-
content: "";
|
|
200
|
-
right: 35px;
|
|
201
|
-
top: 11px;
|
|
202
|
-
bottom: 11px;
|
|
182
|
+
--at-apply: absolute w-px h-auto content-[""] right-[35px] inset-y-[11px];
|
|
203
183
|
background: #e5e6eb;
|
|
204
184
|
}
|
|
205
185
|
.pass-strength-validator.vertical .rules-title {
|
|
206
|
-
|
|
207
|
-
line-height: 1.25rem; /* 20px */
|
|
208
|
-
font-family: bold;
|
|
209
|
-
margin-bottom: 0.875rem; /* 14px */
|
|
186
|
+
--at-apply: text-sm font-[bold] mb-3.5;
|
|
210
187
|
}
|
|
211
188
|
|
|
212
189
|
/* 样式穿透,用于覆盖 ant-design-vue 组件样式 */
|
|
213
190
|
.pass-strength-validator :deep(.ant-divider) {
|
|
214
|
-
|
|
215
|
-
margin-right: 0;
|
|
216
|
-
margin-top: 1rem; /* 16px */
|
|
217
|
-
margin-bottom: 1rem; /* 16px */
|
|
191
|
+
--at-apply: mx-0 my-4;
|
|
218
192
|
}
|
|
219
193
|
|
|
220
194
|
/* 暗色主题支持 */
|
|
@@ -25,28 +25,15 @@ const props = defineProps<{
|
|
|
25
25
|
|
|
26
26
|
<style scoped>
|
|
27
27
|
.rule-item {
|
|
28
|
-
|
|
29
|
-
flex-direction: row;
|
|
30
|
-
font-size: 0.875rem; /* 14px */
|
|
31
|
-
line-height: 1.25rem; /* 20px */
|
|
32
|
-
line-height: 19px;
|
|
33
|
-
padding-left: 0;
|
|
34
|
-
padding-right: 0;
|
|
35
|
-
padding-top: 0.625rem; /* 10px */
|
|
36
|
-
padding-bottom: 0.625rem; /* 10px */
|
|
28
|
+
--at-apply: flex flex-row text-sm leading-[19px] px-0 py-2.5;
|
|
37
29
|
}
|
|
38
30
|
.rule-item .icon {
|
|
39
|
-
|
|
40
|
-
margin-right: 0.625rem; /* 10px */
|
|
31
|
+
--at-apply: leading-[23px] mr-2.5;
|
|
41
32
|
}
|
|
42
33
|
.rule-item.vertical {
|
|
43
|
-
|
|
44
|
-
color: #86909c;
|
|
45
|
-
margin-bottom: 0.375rem; /* 6px */
|
|
46
|
-
padding: 0;
|
|
34
|
+
--at-apply: leading-[18px] text-[#86909c] mb-1.5 p-0;
|
|
47
35
|
}
|
|
48
36
|
.rule-item.vertical .icon {
|
|
49
|
-
|
|
50
|
-
margin-right: 0.375rem; /* 6px */
|
|
37
|
+
--at-apply: leading-[18px] mr-1.5;
|
|
51
38
|
}
|
|
52
39
|
</style>
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, markRaw, mergeProps, normalizeClass, openBlock, ref, renderSlot, toDisplayString, unref, useSlots, withCtx } from "vue";
|
|
2
|
-
import { Dialog, DialogDescription, DialogPanel, DialogTitle, TransitionChild, TransitionRoot } from "@headlessui/vue";
|
|
3
|
-
import { OverlayScrollbarsComponent } from "overlayscrollbars-vue";
|
|
4
|
-
var _hoisted_1$1 = {
|
|
5
|
-
viewBox: "0 0 32 32",
|
|
6
|
-
width: "1.2em",
|
|
7
|
-
height: "1.2em"
|
|
8
|
-
};
|
|
9
|
-
function render(e, t) {
|
|
10
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$1, [...t[0] ||= [createElementVNode("path", {
|
|
11
|
-
fill: "currentColor",
|
|
12
|
-
d: "M17.414 16L24 9.414L22.586 8L16 14.586L9.414 8L8 9.414L14.586 16L8 22.586L9.414 24L16 17.414L22.586 24L24 22.586z"
|
|
13
|
-
}, null, -1)]]);
|
|
14
|
-
}
|
|
15
|
-
var close_default = markRaw({
|
|
16
|
-
name: "carbon-close",
|
|
17
|
-
render
|
|
18
|
-
}), _hoisted_1 = {
|
|
19
|
-
flex: "~ items-center justify-between",
|
|
20
|
-
"p-4": "",
|
|
21
|
-
"border-b": "~ solid stone/15",
|
|
22
|
-
"text-6": ""
|
|
23
|
-
}, _hoisted_2 = {
|
|
24
|
-
key: 0,
|
|
25
|
-
flex: "~ items-center justify-end",
|
|
26
|
-
"px-3": "",
|
|
27
|
-
"py-2": "",
|
|
28
|
-
"border-t": "~ solid stone/15"
|
|
29
|
-
}, HSlideover_default = /* @__PURE__ */ defineComponent({
|
|
30
|
-
__name: "HSlideover",
|
|
31
|
-
props: {
|
|
32
|
-
modelValue: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: !1
|
|
35
|
-
},
|
|
36
|
-
appear: {
|
|
37
|
-
type: Boolean,
|
|
38
|
-
default: !1
|
|
39
|
-
},
|
|
40
|
-
side: { default: "right" },
|
|
41
|
-
title: {},
|
|
42
|
-
preventClose: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: !1
|
|
45
|
-
},
|
|
46
|
-
overlay: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
default: !1
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
emits: ["update:modelValue", "close"],
|
|
52
|
-
setup(n, { emit: r }) {
|
|
53
|
-
let i = n, a = r, o = useSlots(), s = ref({
|
|
54
|
-
enter: "ease-in-out duration-500",
|
|
55
|
-
enterFrom: "opacity-0",
|
|
56
|
-
enterTo: "opacity-100",
|
|
57
|
-
leave: "ease-in-out duration-500",
|
|
58
|
-
leaveFrom: "opacity-100",
|
|
59
|
-
leaveTo: "opacity-0"
|
|
60
|
-
}), c = computed(() => ({
|
|
61
|
-
enter: "transform transition ease-in-out duration-300",
|
|
62
|
-
leave: "transform transition ease-in-out duration-200",
|
|
63
|
-
enterFrom: i.side === "left" ? "-translate-x-full" : "translate-x-full",
|
|
64
|
-
enterTo: "translate-x-0",
|
|
65
|
-
leaveFrom: "translate-x-0",
|
|
66
|
-
leaveTo: i.side === "left" ? "-translate-x-full" : "translate-x-full"
|
|
67
|
-
})), l = computed({
|
|
68
|
-
get() {
|
|
69
|
-
return i.modelValue;
|
|
70
|
-
},
|
|
71
|
-
set(e) {
|
|
72
|
-
a("update:modelValue", e);
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
function u() {
|
|
76
|
-
l.value = !1, a("close");
|
|
77
|
-
}
|
|
78
|
-
return (e, r) => (openBlock(), createBlock(unref(TransitionRoot), {
|
|
79
|
-
as: "template",
|
|
80
|
-
appear: n.appear,
|
|
81
|
-
show: unref(l)
|
|
82
|
-
}, {
|
|
83
|
-
default: withCtx(() => [createVNode(unref(Dialog), {
|
|
84
|
-
class: normalizeClass(["fixed inset-0 z-1000 flex", { "justify-end": n.side === "right" }]),
|
|
85
|
-
onClose: r[0] ||= (e) => !n.preventClose && u()
|
|
86
|
-
}, {
|
|
87
|
-
default: withCtx(() => [createVNode(unref(TransitionChild), mergeProps({
|
|
88
|
-
as: "template",
|
|
89
|
-
appear: n.appear
|
|
90
|
-
}, unref(s)), {
|
|
91
|
-
default: withCtx(() => [createElementVNode("div", { class: normalizeClass(["fixed inset-0 bg-stone-2/75 transition-opacity dark:bg-stone-8/75", { "backdrop-blur-sm": n.overlay }]) }, null, 2)]),
|
|
92
|
-
_: 1
|
|
93
|
-
}, 16, ["appear"]), createVNode(unref(TransitionChild), mergeProps({
|
|
94
|
-
as: "template",
|
|
95
|
-
appear: n.appear
|
|
96
|
-
}, unref(c)), {
|
|
97
|
-
default: withCtx(() => [createVNode(unref(DialogPanel), {
|
|
98
|
-
relative: "",
|
|
99
|
-
"max-w-md": "",
|
|
100
|
-
"w-full": "",
|
|
101
|
-
"w-screen": "",
|
|
102
|
-
flex: "",
|
|
103
|
-
"flex-1": "",
|
|
104
|
-
"flex-col": "",
|
|
105
|
-
"bg-white": "",
|
|
106
|
-
"dark:bg-stone-8": "",
|
|
107
|
-
"focus:outline-none": ""
|
|
108
|
-
}, {
|
|
109
|
-
default: withCtx(() => [
|
|
110
|
-
createElementVNode("div", _hoisted_1, [createVNode(unref(DialogTitle), {
|
|
111
|
-
"m-0": "",
|
|
112
|
-
"text-lg": "",
|
|
113
|
-
"text-dark": "",
|
|
114
|
-
"dark:text-white": ""
|
|
115
|
-
}, {
|
|
116
|
-
default: withCtx(() => [createTextVNode(toDisplayString(n.title), 1)]),
|
|
117
|
-
_: 1
|
|
118
|
-
}), createVNode(unref(close_default), {
|
|
119
|
-
"cursor-pointer": "",
|
|
120
|
-
onClick: u
|
|
121
|
-
})]),
|
|
122
|
-
createVNode(unref(DialogDescription), {
|
|
123
|
-
"m-0": "",
|
|
124
|
-
"flex-1": "",
|
|
125
|
-
"of-y-hidden": ""
|
|
126
|
-
}, {
|
|
127
|
-
default: withCtx(() => [createVNode(unref(OverlayScrollbarsComponent), {
|
|
128
|
-
options: { scrollbars: {
|
|
129
|
-
autoHide: "leave",
|
|
130
|
-
autoHideDelay: 300
|
|
131
|
-
} },
|
|
132
|
-
defer: "",
|
|
133
|
-
class: "h-full p-4"
|
|
134
|
-
}, {
|
|
135
|
-
default: withCtx(() => [renderSlot(e.$slots, "default")]),
|
|
136
|
-
_: 3
|
|
137
|
-
})]),
|
|
138
|
-
_: 3
|
|
139
|
-
}),
|
|
140
|
-
o.footer ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(e.$slots, "footer")])) : createCommentVNode("", !0)
|
|
141
|
-
]),
|
|
142
|
-
_: 3
|
|
143
|
-
})]),
|
|
144
|
-
_: 3
|
|
145
|
-
}, 16, ["appear"])]),
|
|
146
|
-
_: 3
|
|
147
|
-
}, 8, ["class"])]),
|
|
148
|
-
_: 3
|
|
149
|
-
}, 8, ["appear", "show"]));
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
export { close_default as n, HSlideover_default as t };
|