@turnipxenon/pineapple 2.4.37 → 2.4.39
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/.idea/shelf/Changes1/shelved.patch +250 -0
- package/.idea/shelf/Changes1.xml +4 -0
- package/.idea/shelf/yarn_scripts/shelved.patch +20 -0
- package/.idea/shelf/yarn_scripts.xml +4 -0
- package/.idea/workspace.xml +33 -31
- package/.svelte-kit/__package__/components/Card.svelte +3 -1
- package/.svelte-kit/__package__/components/Card.svelte.d.ts +1 -0
- package/.svelte-kit/__package__/components/dialog_overlay/DialogOverlay.svelte +9 -11
- package/.svelte-kit/__package__/components/navigation_component/NavigationComponent.svelte +246 -239
- package/.svelte-kit/__package__/components/navigation_component/NavigationComponent.svelte.d.ts +2 -1
- package/.svelte-kit/__package__/components/navigation_component/NavigationControl.svelte +89 -89
- package/.svelte-kit/__package__/components/pineapple/PineappleBaseLayout.svelte +4 -4
- package/.svelte-kit/ambient.d.ts +2 -2
- package/.svelte-kit/generated/server/internal.js +1 -1
- package/dist/components/Card.svelte +3 -1
- package/dist/components/Card.svelte.d.ts +1 -0
- package/dist/components/dialog_overlay/DialogOverlay.svelte +9 -11
- package/dist/components/navigation_component/NavigationComponent.svelte +246 -239
- package/dist/components/navigation_component/NavigationComponent.svelte.d.ts +2 -1
- package/dist/components/navigation_component/NavigationControl.svelte +89 -89
- package/dist/components/pineapple/PineappleBaseLayout.svelte +4 -4
- package/package.json +3 -2
- package/src/lib/components/Card.svelte +4 -1
- package/src/lib/components/dialog_overlay/DialogOverlay.svelte +11 -12
- package/src/lib/components/navigation_component/NavigationComponent.svelte +150 -143
- package/src/lib/components/navigation_component/NavigationControl.svelte +60 -60
- package/src/lib/components/navigation_component/PageMeta.ts +205 -205
- package/src/lib/components/pineapple/PineappleBaseLayout.svelte +4 -4
- package/src/routes/(pineapple)/+layout.svelte +1 -1
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page1/+page.svelte +7 -7
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page1/meta.json +23 -23
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page2/+page.svelte +7 -7
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page2/meta.json +7 -7
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page3/+page.svelte +7 -7
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page5/+page.svelte +7 -7
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page5/meta.json +6 -6
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page6/+page.svelte +7 -7
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page7/(test_layout)/page8/+page.svelte +7 -7
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page7/(test_layout)/page8/meta.json +6 -6
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page3/page7/+page.svelte +7 -7
- package/src/routes/(pineapple)/pineapple/(extra-pages)/page4/+page.svelte +6 -6
- package/src/routes/(pineapple)/pineapple/(pineapple)/+page.svelte +25 -29
- package/src/routes/(pineapple)/pineapple/{(extra-pages) → (pineapple)}/ImageMap.ts +5 -5
|
@@ -29,93 +29,93 @@ onMount(() => {
|
|
|
29
29
|
query.set("pageSize", pageSize.toString());
|
|
30
30
|
goto(`?${query.toString()}`);
|
|
31
31
|
});
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<div class="navigation-control-container">
|
|
35
|
-
<button class="navigation-control-button"
|
|
36
|
-
disabled={currentIndex <= 0}
|
|
37
|
-
on:click={() => {movePage(false)}}>{"<"}</button>
|
|
38
|
-
<Card marginBottom="0"><p slot="content" style="margin: 1em">Page {currentIndex + 1}</p></Card>
|
|
39
|
-
<button class="navigation-control-button"
|
|
40
|
-
disabled={(currentIndex + 1) * pageSize >= contentLength}
|
|
41
|
-
on:click={() => {movePage(true)}}>{">"}</button>
|
|
42
|
-
</div>
|
|
43
|
-
|
|
44
|
-
<style>
|
|
45
|
-
.navigation-control-container {
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: space-between;
|
|
48
|
-
margin: 1lh 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
:is(.dark .navigation-control-button) {
|
|
52
|
-
--tw-bg-opacity: 1;
|
|
53
|
-
background-color: rgb(var(--color-secondary-500) / var(--tw-bg-opacity));
|
|
54
|
-
color: rgb(var(--on-secondary));
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.navigation-control-button:disabled {
|
|
58
|
-
cursor: not-allowed;
|
|
59
|
-
opacity: 0.5;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.navigation-control-button:disabled:hover {
|
|
63
|
-
--tw-brightness: brightness(1);
|
|
64
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.navigation-control-button:disabled:active {
|
|
68
|
-
--tw-scale-x: 1;
|
|
69
|
-
--tw-scale-y: 1;
|
|
70
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.navigation-control-button {
|
|
74
|
-
font-size: 1rem;
|
|
75
|
-
line-height: 1.5rem;
|
|
76
|
-
padding-left: 1.25rem;
|
|
77
|
-
padding-right: 1.25rem;
|
|
78
|
-
padding-top: 9px;
|
|
79
|
-
padding-bottom: 9px;
|
|
80
|
-
white-space: nowrap;
|
|
81
|
-
text-align: center;
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
justify-content: center;
|
|
85
|
-
transition-property: all;
|
|
86
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
87
|
-
transition-duration: 150ms;
|
|
88
|
-
border-radius: var(--theme-rounded-base);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.navigation-control-button > :not([hidden]) ~ :not([hidden]) {
|
|
92
|
-
--tw-space-x-reverse: 0;
|
|
93
|
-
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
94
|
-
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.navigation-control-button:hover {
|
|
98
|
-
--tw-brightness: brightness(1.15);
|
|
99
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.navigation-control-button:active {
|
|
103
|
-
--tw-scale-x: 95%;
|
|
104
|
-
--tw-scale-y: 95%;
|
|
105
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
106
|
-
--tw-brightness: brightness(.9);
|
|
107
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.navigation-control-button {
|
|
111
|
-
--tw-bg-opacity: 1;
|
|
112
|
-
background-color: rgb(var(--color-secondary-500) / var(--tw-bg-opacity));
|
|
113
|
-
color: rgb(var(--on-secondary));
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
:is(.dark .navigation-control-button) {
|
|
117
|
-
--tw-bg-opacity: 1;
|
|
118
|
-
background-color: rgb(var(--color-secondary-500) / var(--tw-bg-opacity));
|
|
119
|
-
color: rgb(var(--on-secondary));
|
|
120
|
-
}
|
|
32
|
+
</script>
|
|
33
|
+
|
|
34
|
+
<div class="navigation-control-container">
|
|
35
|
+
<button class="navigation-control-button"
|
|
36
|
+
disabled={currentIndex <= 0}
|
|
37
|
+
on:click={() => {movePage(false)}}>{"<"}</button>
|
|
38
|
+
<Card marginBottom="0"><p slot="content" style="margin: 1em">Page {currentIndex + 1}</p></Card>
|
|
39
|
+
<button class="navigation-control-button"
|
|
40
|
+
disabled={(currentIndex + 1) * pageSize >= contentLength}
|
|
41
|
+
on:click={() => {movePage(true)}}>{">"}</button>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<style>
|
|
45
|
+
.navigation-control-container {
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
margin: 1lh 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:is(.dark .navigation-control-button) {
|
|
52
|
+
--tw-bg-opacity: 1;
|
|
53
|
+
background-color: rgb(var(--color-secondary-500) / var(--tw-bg-opacity));
|
|
54
|
+
color: rgb(var(--on-secondary));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.navigation-control-button:disabled {
|
|
58
|
+
cursor: not-allowed;
|
|
59
|
+
opacity: 0.5;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.navigation-control-button:disabled:hover {
|
|
63
|
+
--tw-brightness: brightness(1);
|
|
64
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.navigation-control-button:disabled:active {
|
|
68
|
+
--tw-scale-x: 1;
|
|
69
|
+
--tw-scale-y: 1;
|
|
70
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.navigation-control-button {
|
|
74
|
+
font-size: 1rem;
|
|
75
|
+
line-height: 1.5rem;
|
|
76
|
+
padding-left: 1.25rem;
|
|
77
|
+
padding-right: 1.25rem;
|
|
78
|
+
padding-top: 9px;
|
|
79
|
+
padding-bottom: 9px;
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
text-align: center;
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
transition-property: all;
|
|
86
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
87
|
+
transition-duration: 150ms;
|
|
88
|
+
border-radius: var(--theme-rounded-base);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.navigation-control-button > :not([hidden]) ~ :not([hidden]) {
|
|
92
|
+
--tw-space-x-reverse: 0;
|
|
93
|
+
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
94
|
+
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.navigation-control-button:hover {
|
|
98
|
+
--tw-brightness: brightness(1.15);
|
|
99
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.navigation-control-button:active {
|
|
103
|
+
--tw-scale-x: 95%;
|
|
104
|
+
--tw-scale-y: 95%;
|
|
105
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
106
|
+
--tw-brightness: brightness(.9);
|
|
107
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.navigation-control-button {
|
|
111
|
+
--tw-bg-opacity: 1;
|
|
112
|
+
background-color: rgb(var(--color-secondary-500) / var(--tw-bg-opacity));
|
|
113
|
+
color: rgb(var(--on-secondary));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:is(.dark .navigation-control-button) {
|
|
117
|
+
--tw-bg-opacity: 1;
|
|
118
|
+
background-color: rgb(var(--color-secondary-500) / var(--tw-bg-opacity));
|
|
119
|
+
color: rgb(var(--on-secondary));
|
|
120
|
+
}
|
|
121
121
|
</style>
|
|
@@ -134,8 +134,8 @@ enableDialogueOverlay.set(showDialogByDefault);
|
|
|
134
134
|
display: flex;
|
|
135
135
|
align-items: center;
|
|
136
136
|
justify-content: center;
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
width: 100%;
|
|
138
|
+
padding: 1lh clamp(8px, 10vw, 2em);
|
|
139
139
|
flex-direction: column;
|
|
140
140
|
z-index: 0;
|
|
141
141
|
}
|
|
@@ -269,7 +269,7 @@ enableDialogueOverlay.set(showDialogByDefault);
|
|
|
269
269
|
bottom: var(--fab-margin);
|
|
270
270
|
width: 4em;
|
|
271
271
|
border-radius: 50%;
|
|
272
|
-
|
|
272
|
+
z-index: 100;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
.fab > img {
|
|
@@ -285,6 +285,6 @@ enableDialogueOverlay.set(showDialogByDefault);
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
.turnip-icon {
|
|
288
|
-
|
|
288
|
+
margin: 4px;
|
|
289
289
|
}
|
|
290
290
|
</style>
|
package/.svelte-kit/ambient.d.ts
CHANGED
|
@@ -46,7 +46,6 @@ declare module '$env/static/private' {
|
|
|
46
46
|
export const HOMEDRIVE: string;
|
|
47
47
|
export const HOMEPATH: string;
|
|
48
48
|
export const IDEA_INITIAL_DIRECTORY: string;
|
|
49
|
-
export const IJ_RESTARTER_LOG: string;
|
|
50
49
|
export const INIT_CWD: string;
|
|
51
50
|
export const JAVA_HOME: string;
|
|
52
51
|
export const LOCALAPPDATA: string;
|
|
@@ -141,6 +140,7 @@ declare module '$env/static/private' {
|
|
|
141
140
|
export const npm_package_scripts_package: string;
|
|
142
141
|
export const npm_package_scripts_prepublishOnly: string;
|
|
143
142
|
export const npm_package_scripts_preview: string;
|
|
143
|
+
export const npm_package_scripts_to_dev: string;
|
|
144
144
|
export const npm_package_svelte: string;
|
|
145
145
|
export const npm_package_type: string;
|
|
146
146
|
export const npm_package_types: string;
|
|
@@ -240,7 +240,6 @@ declare module '$env/dynamic/private' {
|
|
|
240
240
|
HOMEDRIVE: string;
|
|
241
241
|
HOMEPATH: string;
|
|
242
242
|
IDEA_INITIAL_DIRECTORY: string;
|
|
243
|
-
IJ_RESTARTER_LOG: string;
|
|
244
243
|
INIT_CWD: string;
|
|
245
244
|
JAVA_HOME: string;
|
|
246
245
|
LOCALAPPDATA: string;
|
|
@@ -335,6 +334,7 @@ declare module '$env/dynamic/private' {
|
|
|
335
334
|
npm_package_scripts_package: string;
|
|
336
335
|
npm_package_scripts_prepublishOnly: string;
|
|
337
336
|
npm_package_scripts_preview: string;
|
|
337
|
+
npm_package_scripts_to_dev: string;
|
|
338
338
|
npm_package_svelte: string;
|
|
339
339
|
npm_package_type: string;
|
|
340
340
|
npm_package_types: string;
|
|
@@ -21,7 +21,7 @@ export const options = {
|
|
|
21
21
|
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width\" />\n\t\t" + head + "\n\t</head>\n\n\t<body data-sveltekit-preload-data=\"hover\" data-theme=\"crimson\">\n\t\t<div style=\"display: contents\" class=\"h-full overflow-hidden\">" + body + "</div>\n\t</body>\n</html>\n",
|
|
22
22
|
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
23
23
|
},
|
|
24
|
-
version_hash: "
|
|
24
|
+
version_hash: "85sq1n"
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export async function get_hooks() {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export let marginBottom = "2lh";
|
|
3
3
|
export let overrideStyle = "";
|
|
4
4
|
export let includeDataNoSnippet = true;
|
|
5
|
+
export let additionalClass = [];
|
|
5
6
|
const style = `
|
|
6
7
|
--turnip-card-margin: ${margin};
|
|
7
8
|
--turnip-card-margin-bottom: ${marginBottom};
|
|
@@ -10,10 +11,11 @@ const style = `
|
|
|
10
11
|
if (!$$slots.content) {
|
|
11
12
|
console.error("Missing content slot in card. No content will be displayed.");
|
|
12
13
|
}
|
|
14
|
+
const classes = ["card", "turnip-card"].concat(additionalClass).join(" ");
|
|
13
15
|
</script>
|
|
14
16
|
|
|
15
17
|
{#if (includeDataNoSnippet)}
|
|
16
|
-
<div class=
|
|
18
|
+
<div class={classes} style={style} data-no-snippet>
|
|
17
19
|
<slot name="content" class="card" />
|
|
18
20
|
</div>
|
|
19
21
|
{:else }
|
|
@@ -12,19 +12,17 @@ dialogManager.currentPortrait.subscribe((value) => {
|
|
|
12
12
|
currentPortrait = value;
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
onMount(() => {
|
|
16
|
-
dialogManager.update(0);
|
|
17
|
-
});
|
|
18
15
|
let hidePercent = 100;
|
|
19
16
|
let isHidden = true;
|
|
20
|
-
|
|
21
|
-
hidePercent
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
17
|
+
onMount(() => {
|
|
18
|
+
dialogManager.hidePercent.subscribe((value) => {
|
|
19
|
+
hidePercent = value * 0.4;
|
|
20
|
+
isHidden = false;
|
|
21
|
+
});
|
|
22
|
+
dialogManager.currentReadableState.subscribe((value) => {
|
|
23
|
+
isHidden = value === DialogState.Invisible;
|
|
24
|
+
});
|
|
25
|
+
dialogManager.update(0);
|
|
28
26
|
});
|
|
29
27
|
const onDialogClick = () => {
|
|
30
28
|
dialogManager.skipAnimation();
|