@turnipxenon/pineapple 2.4.48 → 2.4.50
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/workspace.xml +34 -34
- package/.svelte-kit/__package__/template/seaweed/SeaweedTemplate.svelte +8 -2
- package/.svelte-kit/ambient.d.ts +0 -2
- package/.svelte-kit/generated/server/internal.js +1 -1
- package/dist/template/seaweed/SeaweedTemplate.svelte +8 -2
- package/package.json +1 -1
- package/src/lib/template/seaweed/SeaweedTemplate.svelte +11 -2
package/.idea/workspace.xml
CHANGED
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" afterDir="false" />
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplateData.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplateData.ts" afterDir="false" />
|
|
10
|
-
</list>
|
|
7
|
+
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Put parseQTTerms in afterUpdate instead of onMount" />
|
|
11
8
|
<option name="SHOW_DIALOG" value="false" />
|
|
12
9
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
13
10
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -323,31 +320,10 @@
|
|
|
323
320
|
<workItem from="1712469166120" duration="5613000" />
|
|
324
321
|
<workItem from="1712474982019" duration="1446000" />
|
|
325
322
|
<workItem from="1712476456680" duration="329000" />
|
|
326
|
-
<workItem from="1712476890510" duration="
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
<
|
|
330
|
-
<created>1711498416272</created>
|
|
331
|
-
<option name="number" value="00112" />
|
|
332
|
-
<option name="presentableId" value="LOCAL-00112" />
|
|
333
|
-
<option name="project" value="LOCAL" />
|
|
334
|
-
<updated>1711498416272</updated>
|
|
335
|
-
</task>
|
|
336
|
-
<task id="LOCAL-00113" summary="Fix default page sorting">
|
|
337
|
-
<option name="closed" value="true" />
|
|
338
|
-
<created>1711499848251</created>
|
|
339
|
-
<option name="number" value="00113" />
|
|
340
|
-
<option name="presentableId" value="LOCAL-00113" />
|
|
341
|
-
<option name="project" value="LOCAL" />
|
|
342
|
-
<updated>1711499848251</updated>
|
|
343
|
-
</task>
|
|
344
|
-
<task id="LOCAL-00114" summary="Fix double dor parsing issue in NavigationComponent">
|
|
345
|
-
<option name="closed" value="true" />
|
|
346
|
-
<created>1711587709413</created>
|
|
347
|
-
<option name="number" value="00114" />
|
|
348
|
-
<option name="presentableId" value="LOCAL-00114" />
|
|
349
|
-
<option name="project" value="LOCAL" />
|
|
350
|
-
<updated>1711587709414</updated>
|
|
323
|
+
<workItem from="1712476890510" duration="1084000" />
|
|
324
|
+
<workItem from="1712532951966" duration="51000" />
|
|
325
|
+
<workItem from="1712533167568" duration="339000" />
|
|
326
|
+
<workItem from="1712533592123" duration="650000" />
|
|
351
327
|
</task>
|
|
352
328
|
<task id="LOCAL-00115" summary="Layout adjustments to PineappleBaseLayout">
|
|
353
329
|
<option name="closed" value="true" />
|
|
@@ -717,7 +693,31 @@
|
|
|
717
693
|
<option name="project" value="LOCAL" />
|
|
718
694
|
<updated>1712477348736</updated>
|
|
719
695
|
</task>
|
|
720
|
-
<
|
|
696
|
+
<task id="LOCAL-00161" summary="Add back gameSectionFirst behaviour">
|
|
697
|
+
<option name="closed" value="true" />
|
|
698
|
+
<created>1712477820038</created>
|
|
699
|
+
<option name="number" value="00161" />
|
|
700
|
+
<option name="presentableId" value="LOCAL-00161" />
|
|
701
|
+
<option name="project" value="LOCAL" />
|
|
702
|
+
<updated>1712477820038</updated>
|
|
703
|
+
</task>
|
|
704
|
+
<task id="LOCAL-00162" summary="Delay parsing for query terms after page transformation">
|
|
705
|
+
<option name="closed" value="true" />
|
|
706
|
+
<created>1712533399159</created>
|
|
707
|
+
<option name="number" value="00162" />
|
|
708
|
+
<option name="presentableId" value="LOCAL-00162" />
|
|
709
|
+
<option name="project" value="LOCAL" />
|
|
710
|
+
<updated>1712533399160</updated>
|
|
711
|
+
</task>
|
|
712
|
+
<task id="LOCAL-00163" summary="Put parseQTTerms in afterUpdate instead of onMount">
|
|
713
|
+
<option name="closed" value="true" />
|
|
714
|
+
<created>1712533946790</created>
|
|
715
|
+
<option name="number" value="00163" />
|
|
716
|
+
<option name="presentableId" value="LOCAL-00163" />
|
|
717
|
+
<option name="project" value="LOCAL" />
|
|
718
|
+
<updated>1712533946790</updated>
|
|
719
|
+
</task>
|
|
720
|
+
<option name="localTasksCounter" value="164" />
|
|
721
721
|
<servers />
|
|
722
722
|
</component>
|
|
723
723
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -775,9 +775,6 @@
|
|
|
775
775
|
</option>
|
|
776
776
|
</component>
|
|
777
777
|
<component name="VcsManagerConfiguration">
|
|
778
|
-
<MESSAGE value="Add kudos to 0gust1 Add kudos to 0gust1 for documenting how to deploy sveltekit app on Azure App service" />
|
|
779
|
-
<MESSAGE value="Correct app_build_command in Azure SWA GithubActions app_build_command by default runs npm install when it should be running yarn install" />
|
|
780
|
-
<MESSAGE value="Add resolutions to use Node 20 in Azure SWA GithubActions" />
|
|
781
778
|
<MESSAGE value="Add resolutions to use Node 20 in Azure SWA GithubActions Reference: https://github.com/Azure/static-web-apps-cli/issues/756#issuecomment-1775748572" />
|
|
782
779
|
<MESSAGE value="Migrate from azure swa adapter to node adapter" />
|
|
783
780
|
<MESSAGE value="Add cdktf" />
|
|
@@ -800,6 +797,9 @@
|
|
|
800
797
|
<MESSAGE value="Remove unneeded script check in yarn build" />
|
|
801
798
|
<MESSAGE value="Fix yarn dependencies" />
|
|
802
799
|
<MESSAGE value="Support swappable group for backwards compatibility" />
|
|
803
|
-
<
|
|
800
|
+
<MESSAGE value="Add back gameSectionFirst behaviour" />
|
|
801
|
+
<MESSAGE value="Delay parsing for query terms after page transformation" />
|
|
802
|
+
<MESSAGE value="Put parseQTTerms in afterUpdate instead of onMount" />
|
|
803
|
+
<option name="LAST_COMMIT_MESSAGE" value="Put parseQTTerms in afterUpdate instead of onMount" />
|
|
804
804
|
</component>
|
|
805
805
|
</project>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script>import { onMount } from "svelte";
|
|
1
|
+
<script>import { afterUpdate, onMount } from "svelte";
|
|
2
2
|
import EntryOrderConfig from "./entry_order_config/EntryOrderConfig.svelte";
|
|
3
3
|
import { runChaos } from "./RunChaos";
|
|
4
4
|
import SocialSection from "../../components/SocialSection.svelte";
|
|
@@ -66,7 +66,6 @@ const parseQTTerms = async () => {
|
|
|
66
66
|
qtSet.forEach((t) => seaweedTemplateData.queryTermMap.set(t, true));
|
|
67
67
|
syncQT();
|
|
68
68
|
};
|
|
69
|
-
parseQTTerms();
|
|
70
69
|
const filterSearchParams = (searchParams) => {
|
|
71
70
|
const isFunOn = searchParams.get("fun")?.trim();
|
|
72
71
|
if (isFunOn === "true") {
|
|
@@ -126,6 +125,13 @@ onMount(async () => {
|
|
|
126
125
|
chaosDone = true;
|
|
127
126
|
}
|
|
128
127
|
});
|
|
128
|
+
let isParsed = false;
|
|
129
|
+
afterUpdate(async () => {
|
|
130
|
+
if (!letChaos && !isParsed) {
|
|
131
|
+
isParsed = true;
|
|
132
|
+
await parseQTTerms();
|
|
133
|
+
}
|
|
134
|
+
});
|
|
129
135
|
const toggleTerm = (term) => {
|
|
130
136
|
seaweedTemplateData.queryTermMap.set(term, !seaweedTemplateData.queryTermMap.get(term));
|
|
131
137
|
seaweedTemplateData.queryTermMap = seaweedTemplateData.queryTermMap;
|
package/.svelte-kit/ambient.d.ts
CHANGED
|
@@ -165,7 +165,6 @@ declare module '$env/static/private' {
|
|
|
165
165
|
export const PUBLIC: string;
|
|
166
166
|
export const PWD: string;
|
|
167
167
|
export const PyCharm: string;
|
|
168
|
-
export const SESSIONNAME: string;
|
|
169
168
|
export const SHLVL: string;
|
|
170
169
|
export const SYSTEMDRIVE: string;
|
|
171
170
|
export const SYSTEMROOT: string;
|
|
@@ -358,7 +357,6 @@ declare module '$env/dynamic/private' {
|
|
|
358
357
|
PUBLIC: string;
|
|
359
358
|
PWD: string;
|
|
360
359
|
PyCharm: string;
|
|
361
|
-
SESSIONNAME: string;
|
|
362
360
|
SHLVL: string;
|
|
363
361
|
SYSTEMDRIVE: string;
|
|
364
362
|
SYSTEMROOT: 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: "193d8c0"
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export async function get_hooks() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script>import { onMount } from "svelte";
|
|
1
|
+
<script>import { afterUpdate, onMount } from "svelte";
|
|
2
2
|
import EntryOrderConfig from "./entry_order_config/EntryOrderConfig.svelte";
|
|
3
3
|
import { runChaos } from "./RunChaos";
|
|
4
4
|
import SocialSection from "../../components/SocialSection.svelte";
|
|
@@ -66,7 +66,6 @@ const parseQTTerms = async () => {
|
|
|
66
66
|
qtSet.forEach((t) => seaweedTemplateData.queryTermMap.set(t, true));
|
|
67
67
|
syncQT();
|
|
68
68
|
};
|
|
69
|
-
parseQTTerms();
|
|
70
69
|
const filterSearchParams = (searchParams) => {
|
|
71
70
|
const isFunOn = searchParams.get("fun")?.trim();
|
|
72
71
|
if (isFunOn === "true") {
|
|
@@ -126,6 +125,13 @@ onMount(async () => {
|
|
|
126
125
|
chaosDone = true;
|
|
127
126
|
}
|
|
128
127
|
});
|
|
128
|
+
let isParsed = false;
|
|
129
|
+
afterUpdate(async () => {
|
|
130
|
+
if (!letChaos && !isParsed) {
|
|
131
|
+
isParsed = true;
|
|
132
|
+
await parseQTTerms();
|
|
133
|
+
}
|
|
134
|
+
});
|
|
129
135
|
const toggleTerm = (term) => {
|
|
130
136
|
seaweedTemplateData.queryTermMap.set(term, !seaweedTemplateData.queryTermMap.get(term));
|
|
131
137
|
seaweedTemplateData.queryTermMap = seaweedTemplateData.queryTermMap;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { type ComponentType, onMount } from "svelte";
|
|
2
|
+
import { afterUpdate, type ComponentType, onMount } from "svelte";
|
|
3
3
|
import EntryOrderConfig from "$pkg/template/seaweed/entry_order_config/EntryOrderConfig.svelte";
|
|
4
4
|
import { runChaos } from "$pkg/template/seaweed/RunChaos";
|
|
5
5
|
import SocialSection from "$pkg/components/SocialSection.svelte";
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
qtSet.forEach(t => seaweedTemplateData.queryTermMap.set(t, true));
|
|
94
94
|
syncQT();
|
|
95
95
|
};
|
|
96
|
-
parseQTTerms();
|
|
97
96
|
|
|
98
97
|
/** qt values and what they mean:
|
|
99
98
|
* undefined: set all qt terms to font-weight: bold
|
|
@@ -188,6 +187,16 @@
|
|
|
188
187
|
}
|
|
189
188
|
});
|
|
190
189
|
|
|
190
|
+
// the page may not yet be updated in onMount, so let's wait for the page to render according to what we
|
|
191
|
+
// want before proceeding the parsing the page
|
|
192
|
+
let isParsed = false;
|
|
193
|
+
afterUpdate(async () => {
|
|
194
|
+
if (!letChaos && !isParsed) {
|
|
195
|
+
isParsed = true;
|
|
196
|
+
await parseQTTerms();
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
|
|
191
200
|
const toggleTerm = (term: string) => {
|
|
192
201
|
seaweedTemplateData.queryTermMap.set(term, !seaweedTemplateData.queryTermMap.get(term));
|
|
193
202
|
seaweedTemplateData.queryTermMap = seaweedTemplateData.queryTermMap;
|