@turnipxenon/pineapple 5.0.0-alpha.13 → 5.0.0-alpha.14

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.
@@ -0,0 +1,2 @@
1
+ export * from "./util/getParsnipData.remote";
2
+ //# sourceMappingURL=remoteIndex.remote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteIndex.remote.d.ts","sourceRoot":"","sources":["../src/lib/remoteIndex.remote.ts"],"names":[],"mappings":"AAEA,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,2 @@
1
+ // noinspection JSUnusedGlobalSymbols
2
+ export * from "./util/getParsnipData.remote";
@@ -48,7 +48,6 @@
48
48
  let bestMatch: string | null = null;
49
49
 
50
50
  layout.forEach(site => {
51
- console.log(`Current path (${currentPath}) vs layout path (${site.relativeLink})`);
52
51
  const link = site.relativeLink;
53
52
  if (!link) {
54
53
  return;
@@ -1 +1 @@
1
- {"version":3,"file":"NestedNavigation.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/ui/components/NestedNavigation.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAKrC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGrD,KAAK,gBAAgB,GAAI;IACxB,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,UAAU,GAAG,aAAa,GAAG,WAAW,CAAA;CAEvD,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC,CAAC;AAqGhD,QAAA,MAAM,gBAAgB,sDAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"NestedNavigation.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/ui/components/NestedNavigation.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAKrC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGrD,KAAK,gBAAgB,GAAI;IACxB,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,CAAC,EAAE,UAAU,GAAG,aAAa,GAAG,WAAW,CAAA;CAEvD,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC,CAAC;AAoGhD,QAAA,MAAM,gBAAgB,sDAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { page } from "$app/state";
3
- import { menuPageServerLoad, type PageMeta, parsePageMetaNested } from "../../..";
3
+ import { type PageMeta, parsePageMetaNested } from "../../..";
4
4
  import WebThumbnailImage from "../../../assets/placeholder/placeholder_circle.png";
5
5
  import { locales, localizeHref } from "../../../external/paraglide/runtime";
6
6
  import "../../../styles/global.css";
@@ -8,11 +8,11 @@
8
8
  import type { PinyaHead } from "./pinyaBaseRunes.svelte.js";
9
9
  import PineappleBaseContext from "../../../util/context/PineappleBaseContext.svelte";
10
10
  import { setSiteLayout } from "../../../util/context/pineappleBaseContextDefinitions.svelte";
11
+ import { getParsnipDataRemote } from "../../../remoteIndex.remote";
11
12
  import { ModeWatcher } from "mode-watcher";
12
13
  import "../../../styles/app.css";
13
14
  import { onMount, type Snippet } from "svelte";
14
15
  import { Modals } from "svelte-modals";
15
- import { getParsnipDataRemote } from "../../../../routes/(pineapple)/pineapple/getParsnipData.remote";
16
16
 
17
17
  let { children, fileList = {}, jsonList = {}, parsnipBasePath = "/pineapple" }
18
18
  : {
@@ -1 +1 @@
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;AAMhC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAW,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAI9C,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,eAAe,CAAC,EAAE,MAAM,CAAA;CACxB,CAAC;AAoGH,QAAA,MAAM,SAAS,sDAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
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;AAOhC,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,eAAe,CAAC,EAAE,MAAM,CAAA;CACxB,CAAC;AAoGH,QAAA,MAAM,SAAS,sDAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare const getParsnipDataRemote: import("@sveltejs/kit").RemoteQueryFunction<void, {
2
+ parsnipOverall: {
3
+ files: never[];
4
+ tags: never[];
5
+ baseUrl: any;
6
+ };
7
+ } | {
8
+ parsnipOverall: import("../modules/parsnip/ParsnipOverall").ParsnipOverall;
9
+ } | {
10
+ parsnipOverall?: undefined;
11
+ }>;
12
+ //# sourceMappingURL=getParsnipData.remote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getParsnipData.remote.d.ts","sourceRoot":"","sources":["getParsnipData.remote.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;EAA4B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { query } from "$app/server";
2
+ import { menuPageServerLoad } from "..";
3
+ export const getParsnipDataRemote = query(menuPageServerLoad);
package/dist/util/util.js CHANGED
@@ -7,7 +7,7 @@ export const generatedDailySeed = () => {
7
7
  // from https://stackoverflow.com/a/47593316
8
8
  export const mulberry32Generator = (a) => {
9
9
  return function () {
10
- var t = (a += 0x6d2b79f5);
10
+ let t = (a += 0x6d2b79f5);
11
11
  t = Math.imul(t ^ (t >>> 15), t | 1);
12
12
  t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
13
13
  return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
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": "5.0.0-alpha.13",
4
+ "version": "5.0.0-alpha.14",
5
5
  "devDependencies": {
6
6
  "@commitlint/cli": "^19.8.1",
7
7
  "@commitlint/config-conventional": "^19.8.1",
@@ -61,6 +61,12 @@
61
61
  "import": "./dist/index.js",
62
62
  "default": "./dist/index.js"
63
63
  },
64
+ "./remote": {
65
+ "types": "./dist/remoteIndex.remote.d.ts",
66
+ "svelte": "./dist/remoteIndex.remote.js",
67
+ "import": "./dist/remoteIndex.remote.js",
68
+ "default": "./dist/remoteIndex.remote.js"
69
+ },
64
70
  "./components": {
65
71
  "types": "./dist/ui/components/index.d.ts",
66
72
  "svelte": "./dist/ui/components/index.js",