@turnipxenon/pineapple 5.0.0-alpha.9 → 5.1.0
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/README.md +11 -11
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/remoteIndex.remote.d.ts +2 -0
- package/dist/remoteIndex.remote.d.ts.map +1 -0
- package/dist/remoteIndex.remote.js +2 -0
- package/dist/styles/app.css +0 -82
- package/dist/styles/tailwind.css +0 -12
- package/dist/styles/turnip-theme.css +1 -0
- package/dist/ui/components/FourPartCard.svelte +9 -0
- package/dist/ui/components/MeltToaster/MeltToaster.svelte +4 -1
- package/dist/ui/components/MeltToaster/MeltToaster.svelte.d.ts.map +1 -1
- package/dist/ui/components/NestedNavigation.svelte +0 -1
- package/dist/ui/components/NestedNavigation.svelte.d.ts.map +1 -1
- package/dist/ui/components/SortDropdown.svelte +50 -0
- package/dist/ui/components/SortDropdown.svelte.d.ts +9 -0
- package/dist/ui/components/SortDropdown.svelte.d.ts.map +1 -0
- package/dist/ui/components/TagFilter.svelte +32 -0
- package/dist/ui/components/TagFilter.svelte.d.ts +9 -0
- package/dist/ui/components/TagFilter.svelte.d.ts.map +1 -0
- package/dist/ui/components/accordion/PinyaAccordion.svelte +5 -3
- package/dist/ui/components/accordion/PinyaAccordion.svelte.d.ts.map +1 -1
- package/dist/ui/elements/CodeBlock/CodeBlock.svelte +167 -18
- package/dist/ui/elements/CodeBlock/CodeBlock.svelte.d.ts.map +1 -1
- package/dist/ui/elements/PineappleSwitch.svelte +2 -2
- package/dist/ui/elements/PineappleSwitch.svelte.d.ts +1 -1
- package/dist/ui/elements/PineappleSwitch.svelte.d.ts.map +1 -1
- package/dist/ui/elements/pinya-combobox/PinyaCombobox.svelte +170 -27
- package/dist/ui/elements/pinya-combobox/PinyaCombobox.svelte.d.ts.map +1 -1
- package/dist/ui/elements/pinya-combobox/PinyaComboboxProps.d.ts +6 -7
- package/dist/ui/elements/pinya-combobox/PinyaComboboxProps.d.ts.map +1 -1
- package/dist/ui/modules/experience/ExampleJob1.svelte +79 -0
- package/dist/ui/modules/experience/ExampleJob1.svelte.d.ts +26 -0
- package/dist/ui/modules/experience/ExampleJob1.svelte.d.ts.map +1 -0
- package/dist/ui/modules/experience/ExampleJob2.svelte +74 -0
- package/dist/ui/modules/experience/ExampleJob2.svelte.d.ts +25 -0
- package/dist/ui/modules/experience/ExampleJob2.svelte.d.ts.map +1 -0
- package/dist/ui/modules/experience/index.d.ts +3 -0
- package/dist/ui/modules/experience/index.d.ts.map +1 -0
- package/dist/ui/modules/experience/index.js +2 -0
- package/dist/ui/modules/modals/general-settings/LanguagePicker.svelte +7 -9
- package/dist/ui/modules/modals/general-settings/LanguagePicker.svelte.d.ts.map +1 -1
- package/dist/ui/modules/projects/Hepcat.svelte +5 -1
- package/dist/ui/modules/projects/Hepcat.svelte.d.ts +4 -1
- package/dist/ui/modules/projects/Hepcat.svelte.d.ts.map +1 -1
- package/dist/ui/modules/projects/Pengi.svelte +4 -1
- package/dist/ui/modules/projects/Pengi.svelte.d.ts +4 -1
- package/dist/ui/modules/projects/Pengi.svelte.d.ts.map +1 -1
- package/dist/ui/modules/projects/Soulwork.svelte +4 -1
- package/dist/ui/modules/projects/Soulwork.svelte.d.ts +4 -1
- package/dist/ui/modules/projects/Soulwork.svelte.d.ts.map +1 -1
- package/dist/ui/modules/projects/ThisWebpage.svelte +13 -2
- package/dist/ui/modules/projects/ThisWebpage.svelte.d.ts +3 -1
- package/dist/ui/modules/projects/ThisWebpage.svelte.d.ts.map +1 -1
- package/dist/ui/modules/universal-overlay/SettingsPanel.svelte +29 -24
- package/dist/ui/modules/universal-overlay/SettingsPanel.svelte.d.ts.map +1 -1
- package/dist/ui/modules/universal-overlay/UniversalOverlay.svelte +6 -2
- package/dist/ui/templates/PinyaPageLayout/PinyaPageLayout.svelte +32 -21
- package/dist/ui/templates/PinyaPageLayout/PinyaPageLayout.svelte.d.ts +1 -1
- package/dist/ui/templates/PinyaPageLayout/PinyaPageLayout.svelte.d.ts.map +1 -1
- package/dist/ui/templates/PinyaPageLayout/pinyaPageLayoutRunes.svelte.d.ts.map +1 -1
- package/dist/ui/templates/SeaweedLayout/EntryGroup.svelte +177 -29
- package/dist/ui/templates/SeaweedLayout/EntryGroup.svelte.d.ts.map +1 -1
- package/dist/ui/templates/SeaweedLayout/ProjectGroupConfig.svelte +1 -3
- package/dist/ui/templates/SeaweedLayout/SeaweedLayout.svelte +188 -44
- package/dist/ui/templates/SeaweedLayout/SeaweedLayout.svelte.d.ts.map +1 -1
- package/dist/ui/templates/SeaweedLayout/props.d.ts +18 -2
- package/dist/ui/templates/SeaweedLayout/props.d.ts.map +1 -1
- package/dist/ui/templates/SeaweedLayout/props.js +8 -1
- package/dist/ui/templates/blog_template/BlogTemplate.svelte +5 -2
- package/dist/ui/templates/blog_template/BlogTemplate.svelte.d.ts.map +1 -1
- package/dist/ui/templates/pinya-base/PinyaBase.svelte +45 -4
- package/dist/ui/templates/pinya-base/PinyaBase.svelte.d.ts +15 -3
- package/dist/ui/templates/pinya-base/PinyaBase.svelte.d.ts.map +1 -1
- package/dist/ui/templates/pinya-base/menuPageServerLoadRemote.remote.svelte +1 -0
- package/dist/ui/templates/pinya-base/menuPageServerLoadRemote.remote.svelte.d.ts +27 -0
- package/dist/ui/templates/pinya-base/menuPageServerLoadRemote.remote.svelte.d.ts.map +1 -0
- package/dist/util/context/PineappleBaseContext.svelte +20 -8
- package/dist/util/context/PineappleBaseContext.svelte.d.ts.map +1 -1
- package/dist/util/context/pineappleBaseContextDefinitions.svelte.d.ts +21 -13
- package/dist/util/context/pineappleBaseContextDefinitions.svelte.d.ts.map +1 -1
- package/dist/util/context/pineappleBaseContextDefinitions.svelte.js +21 -19
- package/dist/util/getParsnipData.remote.d.ts +12 -0
- package/dist/util/getParsnipData.remote.d.ts.map +1 -0
- package/dist/util/getParsnipData.remote.js +3 -0
- package/dist/util/localStore.svelte.d.ts +10 -3
- package/dist/util/localStore.svelte.d.ts.map +1 -1
- package/dist/util/localStore.svelte.js +56 -38
- package/dist/util/util.js +1 -1
- package/package.json +17 -8
- package/src/lib/styles/app.css +0 -82
|
@@ -1,32 +1,35 @@
|
|
|
1
1
|
<!-- TODO: Documentation: consider documentation showcase -->
|
|
2
2
|
|
|
3
3
|
<script lang="ts">
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import ChumBucket from "./ChumBucket.svelte";
|
|
7
|
-
import { default as PinyaPageLayout } from "../PinyaPageLayout/PinyaPageLayout.svelte";
|
|
4
|
+
import { browser } from "$app/environment";
|
|
5
|
+
import { page } from "$app/state";
|
|
8
6
|
import { default as SocialSection } from "../../components/SocialSection.svelte";
|
|
9
|
-
import EntryGroup from "./EntryGroup.svelte";
|
|
10
|
-
import PineappleSwitch from "../../elements/PineappleSwitch.svelte";
|
|
11
7
|
import { CodeBlock } from "../../elements/CodeBlock";
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
8
|
+
import PineappleSwitch from "../../elements/PineappleSwitch.svelte";
|
|
9
|
+
import { default as PinyaPageLayout } from "../PinyaPageLayout/PinyaPageLayout.svelte";
|
|
10
|
+
import ChumBucket from "./ChumBucket.svelte";
|
|
11
|
+
import EntryGroup from "./EntryGroup.svelte";
|
|
14
12
|
import EntryOrderConfig from "./EntryOrderConfig.svelte";
|
|
13
|
+
import { onDestroy, onMount } from "svelte";
|
|
14
|
+
import { SvelteMap } from "svelte/reactivity";
|
|
15
|
+
import { fly } from "svelte/transition";
|
|
16
|
+
import { TextChip } from "../../elements/TextChip";
|
|
15
17
|
import CreateUrlForm from "./CreateUrlForm.svelte";
|
|
16
|
-
import {
|
|
17
|
-
import { page } from "$app/state";
|
|
18
|
+
import type { ProjectGroup, SeaweedLayoutProps } from "./props";
|
|
18
19
|
|
|
19
20
|
let {
|
|
20
|
-
email,
|
|
21
|
-
linkedinSlug,
|
|
22
|
-
children,
|
|
23
|
-
sideSection,
|
|
21
|
+
email = "",
|
|
22
|
+
linkedinSlug = "",
|
|
23
|
+
children = undefined,
|
|
24
|
+
sideSection = undefined,
|
|
24
25
|
entryList, // todo
|
|
25
26
|
layout, // todo
|
|
26
27
|
domain = "http://localhost:5173/seaweed2",
|
|
27
28
|
queryTerms,
|
|
28
29
|
showMiniSocial = false,
|
|
29
|
-
serverParams = ""
|
|
30
|
+
serverParams = "",
|
|
31
|
+
emailRemoteQuery,
|
|
32
|
+
linkedinRemoteQuery
|
|
30
33
|
}: SeaweedLayoutProps = $props();
|
|
31
34
|
|
|
32
35
|
let actualLayout = $state(layout);
|
|
@@ -64,15 +67,29 @@
|
|
|
64
67
|
termList.push(qtTerm);
|
|
65
68
|
chipList.push(`.text-chip${qtTerm}`);
|
|
66
69
|
});
|
|
70
|
+
// language=HTML
|
|
67
71
|
styleStr = `<style>
|
|
68
72
|
${termList.join(", ")} {
|
|
69
73
|
font-weight: bolder;
|
|
70
|
-
|
|
74
|
+
|
|
75
|
+
&:not(.chip) {
|
|
76
|
+
color: var(--color-secondary-500);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
html.dark {
|
|
81
|
+
${termList.join(", ")} {
|
|
82
|
+
font-weight: bolder;
|
|
83
|
+
|
|
84
|
+
&:not(.chip) {
|
|
85
|
+
color: var(--color-secondary-200);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
71
88
|
}
|
|
72
89
|
|
|
73
90
|
${chipList.join(", ")} {
|
|
74
91
|
background-color: var(--color-secondary-500) /* oklch(55.6% 0 0deg) = #737373 */;
|
|
75
|
-
color:
|
|
92
|
+
color: #FFF5EFFF /* var(--color-secondary-contrast-light) */;
|
|
76
93
|
}
|
|
77
94
|
</style>`;
|
|
78
95
|
});
|
|
@@ -150,12 +167,57 @@
|
|
|
150
167
|
// endregion Bold terms
|
|
151
168
|
};
|
|
152
169
|
|
|
170
|
+
let upperSectionWrapper: HTMLDivElement | undefined = $state();
|
|
171
|
+
let resizeObserver: ResizeObserver | undefined = $state();
|
|
172
|
+
let isMobile = $state(false);
|
|
173
|
+
let isVeryNarrow = $state(false);
|
|
174
|
+
|
|
153
175
|
onMount(() => {
|
|
154
176
|
if (serverParams) {
|
|
155
177
|
filterSearchParams(new URLSearchParams(serverParams));
|
|
156
178
|
} else if (page.url.searchParams.size) {
|
|
157
179
|
filterSearchParams(page.url.searchParams);
|
|
158
180
|
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Get the computed font size of an element in pixels.
|
|
184
|
+
* @param {HTMLElement} element The DOM element to check.
|
|
185
|
+
* @returns {number} The font size in pixels as a number.
|
|
186
|
+
*/
|
|
187
|
+
function getElementFontSize(element) {
|
|
188
|
+
// Use window.getComputedStyle() to get all resolved CSS properties.
|
|
189
|
+
const computedStyle = window.getComputedStyle(element);
|
|
190
|
+
// Get the 'font-size' property value (which will be in 'px').
|
|
191
|
+
const fontSizeInPx = computedStyle.getPropertyValue("font-size");
|
|
192
|
+
// Parse the pixel value string (e.g., "16px") to a floating-point number.
|
|
193
|
+
return parseFloat(fontSizeInPx);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// code has to be below filterSearchParams!
|
|
197
|
+
if (browser && document.body) {
|
|
198
|
+
// Create a new ResizeObserver instance
|
|
199
|
+
resizeObserver = new ResizeObserver(entries => {
|
|
200
|
+
for (const entry of entries) {
|
|
201
|
+
// Log the new dimensions or perform other actions
|
|
202
|
+
const { width } = entry.contentRect; // or entry.borderBoxSize
|
|
203
|
+
const emWidth = width / getElementFontSize(document.body);
|
|
204
|
+
|
|
205
|
+
// 26em (about) + 50em (experience) + 2em (margin)
|
|
206
|
+
isMobile = emWidth < 79;
|
|
207
|
+
// magic number
|
|
208
|
+
isVeryNarrow = emWidth < 44;
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
// Start observing the target element
|
|
213
|
+
resizeObserver.observe(document.body);
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
onDestroy(() => {
|
|
218
|
+
if (browser && resizeObserver) {
|
|
219
|
+
resizeObserver.disconnect();
|
|
220
|
+
}
|
|
159
221
|
});
|
|
160
222
|
</script>
|
|
161
223
|
|
|
@@ -165,10 +227,7 @@
|
|
|
165
227
|
|
|
166
228
|
|
|
167
229
|
{#snippet socialSection()}
|
|
168
|
-
<SocialSection
|
|
169
|
-
email={email}
|
|
170
|
-
linkedinSlug={linkedinSlug}
|
|
171
|
-
/>
|
|
230
|
+
<SocialSection {emailRemoteQuery} {linkedinRemoteQuery} />
|
|
172
231
|
{/snippet}
|
|
173
232
|
<PinyaPageLayout appBardEndStyle="classic">
|
|
174
233
|
{#snippet appBarLead()}
|
|
@@ -179,29 +238,46 @@
|
|
|
179
238
|
>
|
|
180
239
|
<SocialSection
|
|
181
240
|
isSmallVersion={true}
|
|
182
|
-
|
|
183
|
-
|
|
241
|
+
{emailRemoteQuery}
|
|
242
|
+
{linkedinRemoteQuery}
|
|
184
243
|
/>
|
|
185
244
|
</div>
|
|
186
245
|
{/if}
|
|
187
246
|
{/snippet}
|
|
188
247
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
{
|
|
248
|
+
{#if sideSection || children}
|
|
249
|
+
<div
|
|
250
|
+
id="upper-section"
|
|
251
|
+
bind:this={upperSectionWrapper}
|
|
252
|
+
class="upper-section-style"
|
|
253
|
+
class:is-mobile={isMobile}
|
|
254
|
+
class:is-very-narrow={isVeryNarrow}
|
|
255
|
+
>
|
|
256
|
+
{#if sideSection}
|
|
257
|
+
<div class="upper-section-start">
|
|
258
|
+
{@render sideSection(socialSection)}
|
|
259
|
+
</div>
|
|
260
|
+
{/if}
|
|
261
|
+
|
|
262
|
+
{#if children}
|
|
263
|
+
<div class="upper-section-end">
|
|
264
|
+
{@render children()}
|
|
265
|
+
</div>
|
|
266
|
+
{/if}
|
|
267
|
+
|
|
268
|
+
{#if actualLayout.length > 0}
|
|
269
|
+
<EntryGroup {...actualLayout[0]} />
|
|
270
|
+
{/if}
|
|
193
271
|
</div>
|
|
194
|
-
|
|
195
|
-
<div class="upper-section-end">
|
|
196
|
-
{@render children()}
|
|
197
|
-
</div>
|
|
198
|
-
</div>
|
|
272
|
+
{/if}
|
|
199
273
|
|
|
200
274
|
<!--todo: render list #migration-->
|
|
201
|
-
{#each actualLayout as group (group.title)}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
275
|
+
{#each actualLayout as group, idx (group.title)}
|
|
276
|
+
{#if idx !== 0}
|
|
277
|
+
<EntryGroup
|
|
278
|
+
{...group}
|
|
279
|
+
/>
|
|
280
|
+
{/if}
|
|
205
281
|
{/each}
|
|
206
282
|
|
|
207
283
|
{#snippet footer()}
|
|
@@ -274,12 +350,80 @@
|
|
|
274
350
|
border-top: 2px solid var(--color-footer-border);
|
|
275
351
|
}
|
|
276
352
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
353
|
+
:global {
|
|
354
|
+
#upper-section {
|
|
355
|
+
display: flex;
|
|
356
|
+
flex-direction: row;
|
|
357
|
+
flex-wrap: wrap;
|
|
358
|
+
gap: 2rem;
|
|
359
|
+
justify-content: center;
|
|
360
|
+
|
|
361
|
+
&.is-mobile {
|
|
362
|
+
justify-content: stretch;
|
|
363
|
+
|
|
364
|
+
.upper-section-start, .entry-group-wrapper {
|
|
365
|
+
width: 100%;
|
|
366
|
+
max-width: 64em;
|
|
367
|
+
margin: auto;
|
|
368
|
+
flex: unset;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.normal-project-container {
|
|
372
|
+
justify-content: stretch;
|
|
373
|
+
|
|
374
|
+
> .pinya-card {
|
|
375
|
+
max-width: calc(60em);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.upper-section-start {
|
|
381
|
+
flex-basis: 26em;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.entry-group-wrapper {
|
|
385
|
+
width: unset;
|
|
386
|
+
max-width: 64em;
|
|
387
|
+
flex: 1;
|
|
388
|
+
|
|
389
|
+
.group-header {
|
|
390
|
+
max-width: 64em;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.normal-project-container {
|
|
394
|
+
justify-content: stretch;
|
|
395
|
+
flex-direction: column;
|
|
396
|
+
|
|
397
|
+
> .pinya-card {
|
|
398
|
+
max-width: 64em;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
> .pinya-four-part-card > section {
|
|
402
|
+
.card-header-cover {
|
|
403
|
+
flex: 1 1 12em;
|
|
404
|
+
|
|
405
|
+
& > * {
|
|
406
|
+
border-radius: var(--radius-xl);
|
|
407
|
+
border-bottom-left-radius: var(--radius-xl);
|
|
408
|
+
border-top-left-radius: var(--radius-xl);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.card-content {
|
|
413
|
+
padding-bottom: 1lh;
|
|
414
|
+
flex: 9999 1 26em;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
display: flex;
|
|
418
|
+
flex-direction: row;
|
|
419
|
+
flex-wrap: wrap;
|
|
420
|
+
justify-content: stretch;
|
|
421
|
+
align-items: stretch;
|
|
422
|
+
margin: 0;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
283
427
|
}
|
|
284
428
|
|
|
285
429
|
.query-term-grid {
|
|
@@ -290,7 +434,7 @@
|
|
|
290
434
|
}
|
|
291
435
|
|
|
292
436
|
.advanced-setting {
|
|
293
|
-
|
|
294
|
-
|
|
437
|
+
margin-left: 1em;
|
|
438
|
+
margin-right: 1em;
|
|
295
439
|
}
|
|
296
440
|
</style>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SeaweedLayout.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/SeaweedLayout/SeaweedLayout.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SeaweedLayout.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/SeaweedLayout/SeaweedLayout.svelte.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAgB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA0ThE,QAAA,MAAM,aAAa,wDAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
|
|
@@ -1,28 +1,44 @@
|
|
|
1
|
+
import type { RevealInfoRecord } from "../../../components/reveal-info/RevealInfoCollection";
|
|
1
2
|
import type { Snippet } from "svelte";
|
|
2
3
|
import type { ProjectComponentProps } from "./";
|
|
4
|
+
import type { SvelteSet } from "svelte/reactivity";
|
|
3
5
|
type ComponentSnippet = Snippet<[ProjectComponentProps]>;
|
|
6
|
+
export declare enum SectionType {
|
|
7
|
+
Experience = "experience",
|
|
8
|
+
Projects = "projects"
|
|
9
|
+
}
|
|
4
10
|
export interface SnippetMeta {
|
|
5
11
|
key: string;
|
|
6
12
|
component: ComponentSnippet;
|
|
13
|
+
dateStarted?: Date | string;
|
|
14
|
+
dateFinished?: Date | string;
|
|
15
|
+
tags?: string[];
|
|
7
16
|
}
|
|
8
17
|
export interface ProjectGroup {
|
|
9
18
|
key: string;
|
|
10
19
|
title: string;
|
|
11
20
|
entryList: SnippetMeta[];
|
|
12
21
|
projectComponentProps?: ProjectComponentProps;
|
|
22
|
+
sectionType?: SectionType;
|
|
23
|
+
showFilter?: boolean;
|
|
24
|
+
showSort?: boolean;
|
|
25
|
+
showMoreLimit?: number;
|
|
13
26
|
}
|
|
14
27
|
export interface SeaweedLayoutProps {
|
|
15
28
|
name: string;
|
|
16
29
|
email: string;
|
|
17
30
|
linkedinSlug: string;
|
|
18
31
|
domain: string;
|
|
19
|
-
sideSection
|
|
20
|
-
children
|
|
32
|
+
sideSection?: Snippet<[Snippet]>;
|
|
33
|
+
children?: Snippet;
|
|
21
34
|
entryList: SnippetMeta[];
|
|
22
35
|
layout: ProjectGroup[];
|
|
23
36
|
queryTerms: string[];
|
|
24
37
|
showMiniSocial?: boolean;
|
|
25
38
|
serverParams?: string;
|
|
39
|
+
emailRemoteQuery?: RevealInfoRecord;
|
|
40
|
+
linkedinRemoteQuery?: RevealInfoRecord;
|
|
26
41
|
}
|
|
42
|
+
export declare const getQueryTermContext: () => SvelteSet<string>, setQueryTermContext: (context: SvelteSet<string>) => SvelteSet<string>;
|
|
27
43
|
export {};
|
|
28
44
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/SeaweedLayout/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,KAAK,gBAAgB,GAAG,OAAO,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAEzD,MAAM,WAAW,WAAW;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/SeaweedLayout/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,KAAK,gBAAgB,GAAG,OAAO,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAEzD,oBAAY,WAAW;IACtB,UAAU,eAAe;IACzB,QAAQ,aAAa;CACrB;AAED,MAAM,WAAW,WAAW;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,gBAAgB,CAAC;IAE5B,WAAW,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,WAAW,EAAE,CAAC;IACzB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAE9C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,SAAS,EAAE,WAAW,EAAE,CAAC;IACzB,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,mBAAmB,CAAC,EAAE,gBAAgB,CAAC;CACvC;AAGD,eAAO,MAAO,mBAAmB,2BAAE,mBAAmB,mDAAsC,CAAC"}
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { createContext } from 'svelte';
|
|
2
|
+
export var SectionType;
|
|
3
|
+
(function (SectionType) {
|
|
4
|
+
SectionType["Experience"] = "experience";
|
|
5
|
+
SectionType["Projects"] = "projects";
|
|
6
|
+
})(SectionType || (SectionType = {}));
|
|
7
|
+
/* A list of terms to be prepended with qt- later */
|
|
8
|
+
export const [getQueryTermContext, setQueryTermContext] = createContext();
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<script lang="ts">
|
|
4
4
|
import "./blog-template.css";
|
|
5
|
+
import { browser } from "$app/environment";
|
|
5
6
|
import { setIgnoreOverlayOverride } from "../../../util/context/pineappleBaseContextDefinitions.svelte";
|
|
6
7
|
import { onDestroy, onMount, type Snippet } from "svelte";
|
|
7
8
|
import BlogTemplateInner from "./BlogTemplateInner.svelte";
|
|
@@ -37,8 +38,10 @@
|
|
|
37
38
|
});
|
|
38
39
|
|
|
39
40
|
onDestroy(() => {
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
if (browser) {
|
|
42
|
+
appState.bgOpacity = 1;
|
|
43
|
+
enableUniversalOverlaySvelte4.set(initialDialogState);
|
|
44
|
+
}
|
|
42
45
|
});
|
|
43
46
|
|
|
44
47
|
appState.bgOpacity = shouldFillWholePage ? 0.2 : 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlogTemplate.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/blog_template/BlogTemplate.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"BlogTemplate.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/blog_template/BlogTemplate.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,CAAC;AAG7B,OAAO,EAAsB,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAO1E,UAAU,KAAK;IACd,QAAQ,EAAE,cAAc,CAAC;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AA4DF,QAAA,MAAM,YAAY,2CAAwC,CAAC;AAC3D,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AACpD,eAAe,YAAY,CAAC"}
|
|
@@ -1,23 +1,39 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { page } from "$app/state";
|
|
3
|
+
import { type PageMeta, parsePageMetaNested } from "../../..";
|
|
3
4
|
import WebThumbnailImage from "../../../assets/placeholder/placeholder_circle.png";
|
|
4
5
|
import { locales, localizeHref } from "../../../external/paraglide/runtime";
|
|
5
6
|
import "../../../styles/global.css";
|
|
7
|
+
import type { ParsnipOverall } from "../../../modules/parsnip/ParsnipOverall";
|
|
6
8
|
import MeltToaster from "../../components/MeltToaster/MeltToaster.svelte";
|
|
7
9
|
import type { PinyaHead } from "./pinyaBaseRunes.svelte.js";
|
|
8
10
|
import PineappleBaseContext from "../../../util/context/PineappleBaseContext.svelte";
|
|
11
|
+
import { setSiteLayout } from "../../../util/context/pineappleBaseContextDefinitions.svelte";
|
|
12
|
+
import type { RemoteQueryFunction } from "@sveltejs/kit";
|
|
9
13
|
import { ModeWatcher } from "mode-watcher";
|
|
10
14
|
import "../../../styles/app.css";
|
|
15
|
+
import { onMount, type Snippet } from "svelte";
|
|
11
16
|
import { Modals } from "svelte-modals";
|
|
12
17
|
|
|
13
|
-
let { children } =
|
|
18
|
+
let { children, fileList = {}, jsonList = {}, parsnipBasePath = "/pineapple", getParsnipDataRemote }
|
|
19
|
+
: {
|
|
20
|
+
children: Snippet,
|
|
21
|
+
fileList?: Record<string, () => Promise<unknown>>,
|
|
22
|
+
jsonList?: Record<string, unknown>,
|
|
23
|
+
getParsnipDataRemote?: RemoteQueryFunction<void, {
|
|
24
|
+
parsnipOverall: ParsnipOverall
|
|
25
|
+
} | {
|
|
26
|
+
parsnipOverall?: undefined
|
|
27
|
+
}>,
|
|
28
|
+
parsnipBasePath?: string
|
|
29
|
+
} = $props();
|
|
14
30
|
|
|
15
31
|
// https://github.com/sveltejs/kit/issues/1540#issuecomment-2029016082
|
|
16
32
|
const meta: PinyaHead = ({
|
|
17
33
|
rootUrl: "http://localhost:5173",
|
|
18
|
-
title: "
|
|
19
|
-
ogTitle: "
|
|
20
|
-
ogDescription: "
|
|
34
|
+
title: "Pineapple",
|
|
35
|
+
ogTitle: "Pineapple",
|
|
36
|
+
ogDescription: "Pineapple is my personal UI component library",
|
|
21
37
|
ogImage: [WebThumbnailImage],
|
|
22
38
|
...(page.data?.meta ?? []) // override
|
|
23
39
|
});
|
|
@@ -31,6 +47,31 @@
|
|
|
31
47
|
|
|
32
48
|
return img;
|
|
33
49
|
}) ?? []);
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
let fileBasedList = $state<PageMeta[]>([]);
|
|
53
|
+
setSiteLayout(fileBasedList);
|
|
54
|
+
|
|
55
|
+
onMount(() => {
|
|
56
|
+
getParsnipDataRemote?.().then(data => {
|
|
57
|
+
fileBasedList.push(...parsePageMetaNested({
|
|
58
|
+
fileList,
|
|
59
|
+
jsonList,
|
|
60
|
+
imageMap: new Map<string, string>(),
|
|
61
|
+
parsnipOverall: data.parsnipOverall,
|
|
62
|
+
parsnipBasePath
|
|
63
|
+
}));
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
if (!getParsnipDataRemote) {
|
|
67
|
+
fileBasedList.push(...parsePageMetaNested({
|
|
68
|
+
fileList,
|
|
69
|
+
jsonList,
|
|
70
|
+
imageMap: new Map<string, string>(),
|
|
71
|
+
parsnipBasePath
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
});
|
|
34
75
|
</script>
|
|
35
76
|
|
|
36
77
|
<PineappleBaseContext>
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import "../../../styles/global.css";
|
|
2
|
+
import type { ParsnipOverall } from "../../../modules/parsnip/ParsnipOverall";
|
|
3
|
+
import type { RemoteQueryFunction } from "@sveltejs/kit";
|
|
2
4
|
import "../../../styles/app.css";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
import { type Snippet } from "svelte";
|
|
6
|
+
type $$ComponentProps = {
|
|
7
|
+
children: Snippet;
|
|
8
|
+
fileList?: Record<string, () => Promise<unknown>>;
|
|
9
|
+
jsonList?: Record<string, unknown>;
|
|
10
|
+
getParsnipDataRemote?: RemoteQueryFunction<void, {
|
|
11
|
+
parsnipOverall: ParsnipOverall;
|
|
12
|
+
} | {
|
|
13
|
+
parsnipOverall?: undefined;
|
|
14
|
+
}>;
|
|
15
|
+
parsnipBasePath?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const PinyaBase: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
18
|
type PinyaBase = ReturnType<typeof PinyaBase>;
|
|
7
19
|
export default PinyaBase;
|
|
8
20
|
//# sourceMappingURL=PinyaBase.svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PinyaBase.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/pinya-base/PinyaBase.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PinyaBase.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/pinya-base/PinyaBase.svelte.ts"],"names":[],"mappings":"AAOA,OAAO,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAK1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAW,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAG9C,KAAK,gBAAgB,GAAI;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,oBAAoB,CAAC,EAAE,mBAAmB,CAAC,IAAI,EAAE;QAChD,cAAc,EAAE,cAAc,CAAA;KAC9B,GAAG;QACH,cAAc,CAAC,EAAE,SAAS,CAAA;KAC1B,CAAC,CAAC;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;CACxB,CAAC;AA8GH,QAAA,MAAM,SAAS,sDAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const menuPageServerLoadRemote =
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default MenuPageServerLoadRemote;
|
|
2
|
+
type MenuPageServerLoadRemote = SvelteComponent<{
|
|
3
|
+
[x: string]: never;
|
|
4
|
+
}, {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
declare const MenuPageServerLoadRemote: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
[x: string]: never;
|
|
11
|
+
}, {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
}, {}, {}, string>;
|
|
14
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
15
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
16
|
+
$$bindings?: Bindings;
|
|
17
|
+
} & Exports;
|
|
18
|
+
(internal: unknown, props: {
|
|
19
|
+
$$events?: Events;
|
|
20
|
+
$$slots?: Slots;
|
|
21
|
+
}): Exports & {
|
|
22
|
+
$set?: any;
|
|
23
|
+
$on?: any;
|
|
24
|
+
};
|
|
25
|
+
z_$$bindings?: Bindings;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=menuPageServerLoadRemote.remote.svelte.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menuPageServerLoadRemote.remote.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/ui/templates/pinya-base/menuPageServerLoadRemote.remote.svelte.js"],"names":[],"mappings":";;;;;;;;AAeA;;;;mBAAoI;6CATvF,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAAQ,OAAO,OAAO,QAAQ;IAC3L,cAAc,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,WAAW,OAAO,SAAS;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IACtG,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { enableUniversalOverlaySvelte4 } from "../..";
|
|
3
|
+
import { appState } from "../../ui/templates/index";
|
|
3
4
|
import {
|
|
4
|
-
getIgnoreOverlayOverride,
|
|
5
5
|
setEnableDialogOverlayContext,
|
|
6
6
|
setEnableDialogPreferenceContext,
|
|
7
7
|
setEnablePortraitContext,
|
|
@@ -34,17 +34,29 @@
|
|
|
34
34
|
const enableDialogPrefStore = createLocalStore("enable-dialog-preference");
|
|
35
35
|
setEnableDialogPreferenceContext(enableDialogPrefStore);
|
|
36
36
|
|
|
37
|
-
let enableDialog = $state({ value:
|
|
37
|
+
let enableDialog = $state({ value: enableDialogPrefStore.value });
|
|
38
38
|
setEnableDialogOverlayContext(enableDialog);
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
let ignoreOverlaySet = $state({ value: true });
|
|
40
|
+
setIgnoreOverlayOverride(ignoreOverlaySet);
|
|
41
41
|
onMount(() => {
|
|
42
42
|
enableUniversalOverlaySvelte4.subscribe((value) => {
|
|
43
|
-
if (
|
|
44
|
-
|
|
43
|
+
if (appState.allowDialog === false && value) {
|
|
44
|
+
// force disable if appState allowDialog = false
|
|
45
|
+
enableUniversalOverlaySvelte4.set(false);
|
|
46
|
+
enableDialog.value = false;
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (appState.enableDialogOnByDefault === false) {
|
|
51
|
+
enableDialog.value = false;
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (ignoreOverlaySet.value) {
|
|
56
|
+
ignoreOverlaySet.value = false;
|
|
45
57
|
// force initial value?
|
|
46
|
-
enableUniversalOverlaySvelte4.set(
|
|
47
|
-
enableDialog.value =
|
|
58
|
+
enableUniversalOverlaySvelte4.set(enableDialogPrefStore.value);
|
|
59
|
+
enableDialog.value = enableDialogPrefStore.value;
|
|
48
60
|
} else {
|
|
49
61
|
enableDialog.value = value;
|
|
50
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PineappleBaseContext.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/util/context/PineappleBaseContext.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PineappleBaseContext.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/util/context/PineappleBaseContext.svelte.ts"],"names":[],"mappings":"AAiFA,QAAA,MAAM,oBAAoB;cA7D8B,GAAG;UA6DO,CAAC;AACnE,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACpE,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,21 +1,29 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
3
|
-
export declare const getEnablePortraitContext: () => LocalStore<boolean>;
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const getEnableDialogPreferenceContext: () => LocalStore<boolean>;
|
|
6
|
-
export declare const setEnableDialogPreferenceContext: (value: LocalStore<boolean>) => LocalStore<boolean>;
|
|
1
|
+
import { type OverlayType, type PageMeta } from "../..";
|
|
2
|
+
import { type LocalStore } from "../localStore.svelte";
|
|
3
|
+
export declare const getEnablePortraitContext: () => LocalStore<boolean>, setEnablePortraitContext: (context: LocalStore<boolean>) => LocalStore<boolean>;
|
|
4
|
+
export declare const getEnableDialogPreferenceContext: () => LocalStore<boolean>, setEnableDialogPreferenceContext: (context: LocalStore<boolean>) => LocalStore<boolean>;
|
|
7
5
|
export declare const getEnableDialogOverlayContext: () => {
|
|
8
6
|
value: boolean;
|
|
7
|
+
}, setEnableDialogOverlayContext: (context: {
|
|
8
|
+
value: boolean;
|
|
9
|
+
}) => {
|
|
10
|
+
value: boolean;
|
|
9
11
|
};
|
|
10
|
-
export declare const
|
|
12
|
+
export declare const getOverlayTypeContext: () => LocalStore<OverlayType>, setOverlayTypeContext: (context: LocalStore<OverlayType>) => LocalStore<OverlayType>;
|
|
13
|
+
export declare const getIgnoreOverlayOverride: () => {
|
|
14
|
+
value: boolean;
|
|
15
|
+
}, setIgnoreOverlayOverride: (context: {
|
|
11
16
|
value: boolean;
|
|
12
17
|
}) => {
|
|
13
18
|
value: boolean;
|
|
14
19
|
};
|
|
15
|
-
export declare const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
export declare const getSiteLayout: () => PageMeta[], setSiteLayout: (context: PageMeta[]) => PageMeta[];
|
|
21
|
+
/**
|
|
22
|
+
* useful for on-start dialog appearance
|
|
23
|
+
*
|
|
24
|
+
* use on onMount
|
|
25
|
+
*
|
|
26
|
+
* @param value
|
|
27
|
+
*/
|
|
28
|
+
export declare const forceSetDialog: (value: boolean) => void;
|
|
21
29
|
//# sourceMappingURL=pineappleBaseContextDefinitions.svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pineappleBaseContextDefinitions.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/util/context/pineappleBaseContextDefinitions.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"pineappleBaseContextDefinitions.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/util/context/pineappleBaseContextDefinitions.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,MAAM,CAAC;AACtF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D,eAAO,MAAO,wBAAwB,6BAAE,wBAAwB,uDAAwC,CAAC;AACzG,eAAO,MAAO,gCAAgC,6BAAE,gCAAgC,uDAAwC,CAAC;AAIzH,eAAO,MAAO,6BAA6B;WAAyD,OAAO;GAA9D,6BAA6B;WAA0B,OAAO;;WAAP,OAAO;CAAI,CAAC;AAEhH,eAAO,MAAO,qBAAqB,iCAAE,qBAAqB,+DAA4C,CAAC;AACvG,eAAO,MAAO,wBAAwB;WAAqD,OAAO;GAA1D,wBAAwB;WAA2B,OAAO;;WAAP,OAAO;CAAK,CAAC;AACxG,eAAO,MAAO,aAAa,oBAAE,aAAa,qCAA+B,CAAC;AAE1E;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,SAI5C,CAAA"}
|