@turnipxenon/pineapple 2.4.43 → 2.4.44
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
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
7
|
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Adjust description">
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
9
8
|
<change beforePath="$PROJECT_DIR$/src/routes/(seaweed)/portfolio/+page.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/routes/(seaweed)/portfolio/+page.svelte" afterDir="false" />
|
|
10
9
|
</list>
|
|
11
10
|
<option name="SHOW_DIALOG" value="false" />
|
|
@@ -85,33 +84,33 @@
|
|
|
85
84
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
86
85
|
<option name="showLibraryContents" value="true" />
|
|
87
86
|
</component>
|
|
88
|
-
<component name="PropertiesComponent"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
87
|
+
<component name="PropertiesComponent">{
|
|
88
|
+
"keyToString": {
|
|
89
|
+
"DefaultHtmlFileTemplate": "HTML File",
|
|
90
|
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
91
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
92
|
+
"WebServerToolWindowFactoryState": "false",
|
|
93
|
+
"git-widget-placeholder": "turnip/adjust-description",
|
|
94
|
+
"ignore.virus.scanning.warn.message": "true",
|
|
95
|
+
"last_opened_file_path": "C:/Users/Pumpkin/Projects/Web/pineapple/src/lib/template/seaweed/entries",
|
|
96
|
+
"list.type.of.created.stylesheet": "CSS",
|
|
97
|
+
"node.js.detected.package.eslint": "true",
|
|
98
|
+
"node.js.detected.package.tslint": "true",
|
|
99
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
100
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
101
|
+
"nodejs_interpreter_path": "node",
|
|
102
|
+
"nodejs_package_manager_path": "yarn",
|
|
103
|
+
"npm.build.executor": "Run",
|
|
104
|
+
"npm.dev (1).executor": "Run",
|
|
105
|
+
"npm.dev --open.executor": "Run",
|
|
106
|
+
"npm.dev offline.executor": "Run",
|
|
107
|
+
"npm.dev-offline.executor": "Run",
|
|
108
|
+
"npm.dev.executor": "Run",
|
|
109
|
+
"settings.editor.selected.configurable": "preferences.editor",
|
|
110
|
+
"ts.external.directory.path": "C:\\Users\\Pumpkin\\Projects\\Web\\pineapple\\node_modules\\typescript\\lib",
|
|
111
|
+
"vue.rearranger.settings.migration": "true"
|
|
113
112
|
}
|
|
114
|
-
}
|
|
113
|
+
}</component>
|
|
115
114
|
<component name="RecentsManager">
|
|
116
115
|
<key name="CopyFile.RECENT_KEYS">
|
|
117
116
|
<recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\lib\template\seaweed\entries" />
|
|
@@ -267,7 +266,8 @@
|
|
|
267
266
|
<workItem from="1711910783501" duration="388000" />
|
|
268
267
|
<workItem from="1711930835848" duration="1753000" />
|
|
269
268
|
<workItem from="1711933293449" duration="16410000" />
|
|
270
|
-
<workItem from="1711990899017" duration="
|
|
269
|
+
<workItem from="1711990899017" duration="1418000" />
|
|
270
|
+
<workItem from="1712175800853" duration="256000" />
|
|
271
271
|
</task>
|
|
272
272
|
<task id="LOCAL-00079" summary="Refactor all util functions into util/util">
|
|
273
273
|
<option name="closed" value="true" />
|
|
@@ -57,6 +57,10 @@ let gameSectionFirst = true;
|
|
|
57
57
|
let qtfontWeight = "normal";
|
|
58
58
|
let additionalFontWeight = "";
|
|
59
59
|
const filterSearchParams = (searchParams) => {
|
|
60
|
+
const isFunOn = searchParams.get("fun")?.trim();
|
|
61
|
+
if (isFunOn === "true") {
|
|
62
|
+
shouldAddFunNote = true;
|
|
63
|
+
}
|
|
60
64
|
const gameSectionFirstParam = searchParams.get("game-section-first")?.trim();
|
|
61
65
|
if (gameSectionFirstParam === "false") {
|
|
62
66
|
gameSectionFirst = false;
|
|
@@ -143,6 +147,9 @@ const updateUrl = () => {
|
|
|
143
147
|
} else if (qtMap.size !== qtList.length) {
|
|
144
148
|
queryParams.push(`qt=${qtList.map((t) => t.slice(3, t.length)).join(",")}`);
|
|
145
149
|
}
|
|
150
|
+
if (shouldAddFunNote) {
|
|
151
|
+
queryParams.push("fun=true");
|
|
152
|
+
}
|
|
146
153
|
if (!gameSectionFirst) {
|
|
147
154
|
queryParams.push("game-section-first=false");
|
|
148
155
|
}
|
|
@@ -153,7 +160,7 @@ const updateUrl = () => {
|
|
|
153
160
|
}
|
|
154
161
|
};
|
|
155
162
|
$:
|
|
156
|
-
gameSectionFirst, qtMap, updateUrl();
|
|
163
|
+
gameSectionFirst, qtMap, shouldAddFunNote, updateUrl();
|
|
157
164
|
</script>
|
|
158
165
|
|
|
159
166
|
<SeaweedBaseLayout bind:shouldDisplayLeadingIcons={isSocialsGone}>
|
|
@@ -57,6 +57,10 @@ let gameSectionFirst = true;
|
|
|
57
57
|
let qtfontWeight = "normal";
|
|
58
58
|
let additionalFontWeight = "";
|
|
59
59
|
const filterSearchParams = (searchParams) => {
|
|
60
|
+
const isFunOn = searchParams.get("fun")?.trim();
|
|
61
|
+
if (isFunOn === "true") {
|
|
62
|
+
shouldAddFunNote = true;
|
|
63
|
+
}
|
|
60
64
|
const gameSectionFirstParam = searchParams.get("game-section-first")?.trim();
|
|
61
65
|
if (gameSectionFirstParam === "false") {
|
|
62
66
|
gameSectionFirst = false;
|
|
@@ -143,6 +147,9 @@ const updateUrl = () => {
|
|
|
143
147
|
} else if (qtMap.size !== qtList.length) {
|
|
144
148
|
queryParams.push(`qt=${qtList.map((t) => t.slice(3, t.length)).join(",")}`);
|
|
145
149
|
}
|
|
150
|
+
if (shouldAddFunNote) {
|
|
151
|
+
queryParams.push("fun=true");
|
|
152
|
+
}
|
|
146
153
|
if (!gameSectionFirst) {
|
|
147
154
|
queryParams.push("game-section-first=false");
|
|
148
155
|
}
|
|
@@ -153,7 +160,7 @@ const updateUrl = () => {
|
|
|
153
160
|
}
|
|
154
161
|
};
|
|
155
162
|
$:
|
|
156
|
-
gameSectionFirst, qtMap, updateUrl();
|
|
163
|
+
gameSectionFirst, qtMap, shouldAddFunNote, updateUrl();
|
|
157
164
|
</script>
|
|
158
165
|
|
|
159
166
|
<SeaweedBaseLayout bind:shouldDisplayLeadingIcons={isSocialsGone}>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turnipxenon/pineapple",
|
|
3
3
|
"description": "personal package for base styling for other personal projects",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.44",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev",
|
|
7
7
|
"build": "npm run check-requirements && vite build && yarn package",
|
|
@@ -94,6 +94,11 @@
|
|
|
94
94
|
* ONLY CALL INSIDE onMount()
|
|
95
95
|
**/
|
|
96
96
|
const filterSearchParams = (searchParams: URLSearchParams) => {
|
|
97
|
+
const isFunOn = searchParams.get("fun")?.trim();
|
|
98
|
+
if (isFunOn === "true") {
|
|
99
|
+
shouldAddFunNote = true;
|
|
100
|
+
}
|
|
101
|
+
|
|
97
102
|
const gameSectionFirstParam = searchParams.get("game-section-first")?.trim();
|
|
98
103
|
if (gameSectionFirstParam === "false") {
|
|
99
104
|
gameSectionFirst = false;
|
|
@@ -211,6 +216,10 @@
|
|
|
211
216
|
queryParams.push(`qt=${qtList.map(t => t.slice(3, t.length)).join(",")}`);
|
|
212
217
|
}
|
|
213
218
|
|
|
219
|
+
if (shouldAddFunNote) {
|
|
220
|
+
queryParams.push("fun=true");
|
|
221
|
+
}
|
|
222
|
+
|
|
214
223
|
if (!gameSectionFirst) {
|
|
215
224
|
queryParams.push("game-section-first=false");
|
|
216
225
|
}
|
|
@@ -220,10 +229,9 @@
|
|
|
220
229
|
} else {
|
|
221
230
|
advancedUrl = domain;
|
|
222
231
|
}
|
|
223
|
-
// advancedUrl = `${domain}?${q}`;
|
|
224
232
|
};
|
|
225
233
|
$: // noinspection CommaExpressionJS
|
|
226
|
-
gameSectionFirst, qtMap, updateUrl();
|
|
234
|
+
gameSectionFirst, qtMap, shouldAddFunNote, updateUrl();
|
|
227
235
|
// $: gameSectionQuery = gameSectionFirst ? "" : "game-section-first=false";
|
|
228
236
|
</script>
|
|
229
237
|
|