@kozou/svelte-ui 1.4.0 → 1.4.1
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/build/client/_app/immutable/chunks/B18MYhkI.js +4 -0
- package/build/client/_app/immutable/chunks/B18MYhkI.js.br +0 -0
- package/build/client/_app/immutable/chunks/B18MYhkI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CrFfElwr.js → CdqGzY-s.js} +1 -1
- package/build/client/_app/immutable/chunks/CdqGzY-s.js.br +0 -0
- package/build/client/_app/immutable/chunks/CdqGzY-s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DHwlcjtp.js → D-3Io3Xp.js} +1 -1
- package/build/client/_app/immutable/chunks/D-3Io3Xp.js.br +0 -0
- package/build/client/_app/immutable/chunks/D-3Io3Xp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DqFR9xzq.js → PpzXWueh.js} +1 -1
- package/build/client/_app/immutable/chunks/PpzXWueh.js.br +0 -0
- package/build/client/_app/immutable/chunks/PpzXWueh.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.DX7U95N5.js → app.hTXrPHEe.js} +2 -2
- package/build/client/_app/immutable/entry/app.hTXrPHEe.js.br +0 -0
- package/build/client/_app/immutable/entry/app.hTXrPHEe.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DRJ6mn95.js +1 -0
- package/build/client/_app/immutable/entry/start.DRJ6mn95.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DRJ6mn95.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.BCx2aLZ9.js → 1.D-eXQsNF.js} +1 -1
- package/build/client/_app/immutable/nodes/1.D-eXQsNF.js.br +1 -0
- package/build/client/_app/immutable/nodes/1.D-eXQsNF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.D_kabCAZ.js → 3.nVf6pSGl.js} +1 -1
- package/build/client/_app/immutable/nodes/3.nVf6pSGl.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.nVf6pSGl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.D1OoUXND.js → 5.A-_8tbYC.js} +1 -1
- package/build/client/_app/immutable/nodes/5.A-_8tbYC.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.A-_8tbYC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.B3cCGwsZ.js → 6.CzngNnZ1.js} +1 -1
- package/build/client/_app/immutable/nodes/6.CzngNnZ1.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CzngNnZ1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.cAEaWzyw.js → 7.M4F1VOf8.js} +1 -1
- package/build/client/_app/immutable/nodes/7.M4F1VOf8.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.M4F1VOf8.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/server/chunks/{1-Dni7ax6A.js → 1-HvpuDSr9.js} +3 -3
- package/build/server/chunks/{1-Dni7ax6A.js.map → 1-HvpuDSr9.js.map} +1 -1
- package/build/server/chunks/{2--1dA0mCa.js → 2-DWDp9L0J.js} +2 -2
- package/build/server/chunks/{2--1dA0mCa.js.map → 2-DWDp9L0J.js.map} +1 -1
- package/build/server/chunks/{3-N0Oe_-32.js → 3-D3TOYjW7.js} +7 -7
- package/build/server/chunks/{3-N0Oe_-32.js.map → 3-D3TOYjW7.js.map} +1 -1
- package/build/server/chunks/{4-BB3nsMwf.js → 4-DfL_8ypg.js} +2 -2
- package/build/server/chunks/{4-BB3nsMwf.js.map → 4-DfL_8ypg.js.map} +1 -1
- package/build/server/chunks/{5-QdpSeSEB.js → 5-PdIKGOry.js} +4 -4
- package/build/server/chunks/{5-QdpSeSEB.js.map → 5-PdIKGOry.js.map} +1 -1
- package/build/server/chunks/{6-DQ9D4Rjj.js → 6-DTP2dgQ4.js} +7 -7
- package/build/server/chunks/{6-DQ9D4Rjj.js.map → 6-DTP2dgQ4.js.map} +1 -1
- package/build/server/chunks/{7-yY-k4F-J.js → 7-BO2wqZFZ.js} +7 -7
- package/build/server/chunks/{7-yY-k4F-J.js.map → 7-BO2wqZFZ.js.map} +1 -1
- package/build/server/chunks/{8-C6Rfqnpk.js → 8-Q9JasCCv.js} +2 -2
- package/build/server/chunks/{8-C6Rfqnpk.js.map → 8-Q9JasCCv.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-6bUnnrWp.js → _page.svelte-BRJFxYD9.js} +3 -3
- package/build/server/chunks/{_page.svelte-6bUnnrWp.js.map → _page.svelte-BRJFxYD9.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-D1coeZL7.js → _page.svelte-ByJgj70z.js} +5 -5
- package/build/server/chunks/{_page.svelte-D1coeZL7.js.map → _page.svelte-ByJgj70z.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-BAaP0Gbn.js → _page.svelte-D5OPNrD6.js} +4 -4
- package/build/server/chunks/{_page.svelte-BAaP0Gbn.js.map → _page.svelte-D5OPNrD6.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-DsOlSzf6.js → _page.svelte-DLZjvC2B.js} +5 -5
- package/build/server/chunks/{_page.svelte-DsOlSzf6.js.map → _page.svelte-DLZjvC2B.js.map} +1 -1
- package/build/server/chunks/{_server.ts-DlnyELsA.js → _server.ts-Bl2Id2sq.js} +2 -2
- package/build/server/chunks/{_server.ts-DlnyELsA.js.map → _server.ts-Bl2Id2sq.js.map} +1 -1
- package/build/server/chunks/{adapter-B1wOda2X.js → adapter-D185EFin.js} +2 -2
- package/build/server/chunks/adapter-D185EFin.js.map +1 -0
- package/build/server/chunks/{client-CF_AG7xO.js → client-DEXFQakh.js} +2 -2
- package/build/server/chunks/{client-CF_AG7xO.js.map → client-DEXFQakh.js.map} +1 -1
- package/build/server/chunks/{composite-form-Khrcy6Jk.js → composite-form-BXkkWWG1.js} +3 -3
- package/build/server/chunks/{composite-form-Khrcy6Jk.js.map → composite-form-BXkkWWG1.js.map} +1 -1
- package/build/server/chunks/{error.svelte-CrnPC1Ez.js → error.svelte-5yVrLvBD.js} +3 -3
- package/build/server/chunks/{error.svelte-CrnPC1Ez.js.map → error.svelte-5yVrLvBD.js.map} +1 -1
- package/build/server/chunks/{hooks.server-Oa_UD2Wo.js → hooks.server-DSFHJrhe.js} +8 -8
- package/build/server/chunks/hooks.server-DSFHJrhe.js.map +1 -0
- package/build/server/chunks/{internal-Z9Jwi6lX.js → internal-B5RB0ss0.js} +3 -3
- package/build/server/chunks/{internal-Z9Jwi6lX.js.map → internal-B5RB0ss0.js.map} +1 -1
- package/build/server/chunks/{relation-select-composite-field-D4LZijR_.js → relation-select-composite-field-DZuvCpmt.js} +2 -2
- package/build/server/chunks/{relation-select-composite-field-D4LZijR_.js.map → relation-select-composite-field-DZuvCpmt.js.map} +1 -1
- package/build/server/index.js +1 -1
- package/build/server/manifest.js +10 -10
- package/build/server/manifest.js.map +1 -1
- package/package.json +4 -4
- package/build/client/_app/immutable/chunks/CrFfElwr.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrFfElwr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DHwlcjtp.js.br +0 -0
- package/build/client/_app/immutable/chunks/DHwlcjtp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DqFR9xzq.js.br +0 -0
- package/build/client/_app/immutable/chunks/DqFR9xzq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/POk9Ad1v.js +0 -4
- package/build/client/_app/immutable/chunks/POk9Ad1v.js.br +0 -0
- package/build/client/_app/immutable/chunks/POk9Ad1v.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DX7U95N5.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DX7U95N5.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CTKpPXDp.js +0 -1
- package/build/client/_app/immutable/entry/start.CTKpPXDp.js.br +0 -1
- package/build/client/_app/immutable/entry/start.CTKpPXDp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BCx2aLZ9.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BCx2aLZ9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.D_kabCAZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.D_kabCAZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.D1OoUXND.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.D1OoUXND.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.B3cCGwsZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.B3cCGwsZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.cAEaWzyw.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.cAEaWzyw.js.gz +0 -0
- package/build/server/chunks/adapter-B1wOda2X.js.map +0 -1
- package/build/server/chunks/hooks.server-Oa_UD2Wo.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'node:module';
|
|
2
2
|
import { q as escape_html, x as getContext } from './dev-yFiAtg5l.js';
|
|
3
|
-
import './client-
|
|
3
|
+
import './client-DEXFQakh.js';
|
|
4
4
|
import 'clsx';
|
|
5
|
-
import './internal-
|
|
5
|
+
import './internal-B5RB0ss0.js';
|
|
6
6
|
import './index-DBqjc0Yf.js';
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
@@ -65,4 +65,4 @@ function Error$1($$renderer, $$props) {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export { Error$1 as default };
|
|
68
|
-
//# sourceMappingURL=error.svelte-
|
|
68
|
+
//# sourceMappingURL=error.svelte-5yVrLvBD.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.svelte-
|
|
1
|
+
{"version":3,"file":"error.svelte-5yVrLvBD.js","sources":["../../../.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js"],"sourcesContent":["import \"../../chunks/environment.js\";\nimport { H as escape_html, tt as getContext } from \"../../chunks/dev.js\";\nimport { c as navigating$1, s as stores } from \"../../chunks/client.js\";\nObject.defineProperty({\n\tget from() {\n\t\treturn navigating$1.current ? navigating$1.current.from : null;\n\t},\n\tget to() {\n\t\treturn navigating$1.current ? navigating$1.current.to : null;\n\t},\n\tget type() {\n\t\treturn navigating$1.current ? navigating$1.current.type : null;\n\t},\n\tget willUnload() {\n\t\treturn navigating$1.current ? navigating$1.current.willUnload : null;\n\t},\n\tget delta() {\n\t\treturn navigating$1.current ? navigating$1.current.delta : null;\n\t},\n\tget complete() {\n\t\treturn navigating$1.current ? navigating$1.current.complete : null;\n\t}\n}, \"current\", { get() {\n\tthrow new Error(\"Replace navigating.current.<prop> with navigating.<prop>\");\n} });\nstores.updated.check;\n//#endregion\n//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_31b35890553a27fb0d8f940d66156f76/node_modules/@sveltejs/kit/src/runtime/app/state/server.js\nfunction context() {\n\treturn getContext(\"__request__\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_31b35890553a27fb0d8f940d66156f76/node_modules/@sveltejs/kit/src/runtime/app/state/index.js\n/**\n* A read-only reactive object with information about the current page, serving several use cases:\n* - retrieving the combined `data` of all pages/layouts anywhere in your component tree (also see [loading data](https://svelte.dev/docs/kit/load))\n* - retrieving the current value of the `form` prop anywhere in your component tree (also see [form actions](https://svelte.dev/docs/kit/form-actions))\n* - retrieving the page state that was set through `goto`, `pushState` or `replaceState` (also see [goto](https://svelte.dev/docs/kit/$app-navigation#goto) and [shallow routing](https://svelte.dev/docs/kit/shallow-routing))\n* - retrieving metadata such as the URL you're on, the current route and its parameters, and whether or not there was an error\n*\n* ```svelte\n* <!--- file: +layout.svelte --->\n* <script>\n* \timport { page } from '$app/state';\n* <\\/script>\n*\n* <p>Currently at {page.url.pathname}</p>\n*\n* {#if page.error}\n* \t<span class=\"red\">Problem detected</span>\n* {:else}\n* \t<span class=\"small\">All systems operational</span>\n* {/if}\n* ```\n*\n* Changes to `page` are available exclusively with runes. (The legacy reactivity syntax will not reflect any changes)\n*\n* ```svelte\n* <!--- file: +page.svelte --->\n* <script>\n* \timport { page } from '$app/state';\n* \tconst id = $derived(page.params.id); // This will correctly update id for usage on this page\n* \t$: badId = page.params.id; // Do not use; will never update after initial load\n* <\\/script>\n* ```\n*\n* On the server, values can only be read during rendering (in other words _not_ in e.g. `load` functions). In the browser, the values can be read at any time.\n*\n* @type {import('@sveltejs/kit').Page}\n*/\nvar page = {\n\tget data() {\n\t\treturn context().page.data;\n\t},\n\tget error() {\n\t\treturn context().page.error;\n\t},\n\tget form() {\n\t\treturn context().page.form;\n\t},\n\tget params() {\n\t\treturn context().page.params;\n\t},\n\tget route() {\n\t\treturn context().page.route;\n\t},\n\tget state() {\n\t\treturn context().page.state;\n\t},\n\tget status() {\n\t\treturn context().page.status;\n\t},\n\tget url() {\n\t\treturn context().page.url;\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_31b35890553a27fb0d8f940d66156f76/node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte\nfunction Error$1($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t$$renderer.push(`<h1>${escape_html(page.status)}</h1> <p>${escape_html(page.error?.message)}</p>`);\n\t});\n}\n//#endregion\nexport { Error$1 as default };\n"],"names":[],"mappings":";;;;;;;AA0BA;AACA;AACA,SAAS,OAAO,GAAG;AACnB,CAAC,OAAO,UAAU,CAAC,aAAa,CAAC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,GAAG;AACX,CAGC,IAAI,KAAK,GAAG;AACb,EAAE,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK;AAC7B,CAAC,CAAC;AACF,CAYC,IAAI,MAAM,GAAG;AACd,EAAE,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM;AAC9B,CAAC,CAID,CAAC;AACD;AACA;AACA,SAAS,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE;AACtC,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACpG,CAAC,CAAC,CAAC;AACH;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __commonJSMin, b as __require } from './internal-
|
|
1
|
+
import { _ as __commonJSMin, b as __require } from './internal-B5RB0ss0.js';
|
|
2
2
|
import { e as encodeResourceId } from './resource-id-PDcQeAnc.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import require$$0$3 from 'events';
|
|
@@ -6756,7 +6756,7 @@ function isInputArg(arg) {
|
|
|
6756
6756
|
}
|
|
6757
6757
|
/** Validate an allowlist: every entry must be a schema-qualified name of
|
|
6758
6758
|
* exactly the form `schema.function`, with both parts non-empty and no extra
|
|
6759
|
-
* dot
|
|
6759
|
+
* dot. A bare name is ambiguous (which schema?); an entry with two+
|
|
6760
6760
|
* dots is ambiguous against a quoted identifier that itself contains a dot, so
|
|
6761
6761
|
* it could authorize the wrong function — both are dropped with a build issue
|
|
6762
6762
|
* rather than matched loosely (fail-closed for the definer / PUBLIC gates).
|
|
@@ -6778,7 +6778,7 @@ function normalizeAllowlist(entries, configKey, issues) {
|
|
|
6778
6778
|
return set;
|
|
6779
6779
|
}
|
|
6780
6780
|
/** The owner-relative safe-search_path predicate for `security definer`
|
|
6781
|
-
* functions
|
|
6781
|
+
* functions. A definer function runs as its owner, so an
|
|
6782
6782
|
* unqualified name resolved through a schema that someone else can write to
|
|
6783
6783
|
* can be hijacked. Safe requires: a declared search_path; `pg_temp` present
|
|
6784
6784
|
* exactly once and last (else the temp schema is searched implicitly first);
|
|
@@ -6893,13 +6893,13 @@ function decideAndBuild(input) {
|
|
|
6893
6893
|
}
|
|
6894
6894
|
if (fn.returns.kind === "unsupported") return skip(`returns "${fn.returns.typeName}", an unsupported return shape in v1 (OUT/INOUT composite, record, or polymorphic); not exposed.`);
|
|
6895
6895
|
if (fn.security === "definer") {
|
|
6896
|
-
if (!allowDefiner.has(qualifiedName)) return skip("is SECURITY DEFINER and tagged @expose: rpc, but is not listed in api.rpc.allowDefiner; not exposed (the operator must opt in to a privilege-bypassing endpoint
|
|
6896
|
+
if (!allowDefiner.has(qualifiedName)) return skip("is SECURITY DEFINER and tagged @expose: rpc, but is not listed in api.rpc.allowDefiner; not exposed (the operator must opt in to a privilege-bypassing endpoint).");
|
|
6897
6897
|
const sp = checkSafeSearchPath(fn);
|
|
6898
|
-
if (!sp.safe) return skip(`is SECURITY DEFINER but its search_path is not owner-safe (${sp.reason}); not exposed. Declare SET search_path with owner-only schemas and a trailing pg_temp
|
|
6898
|
+
if (!sp.safe) return skip(`is SECURITY DEFINER but its search_path is not owner-safe (${sp.reason}); not exposed. Declare SET search_path with owner-only schemas and a trailing pg_temp.`);
|
|
6899
6899
|
}
|
|
6900
6900
|
let publicCallable = false;
|
|
6901
6901
|
if (fn.publicExecute) {
|
|
6902
|
-
if (!(parsed.expose === "rpc-public" || allowPublicExecute.has(qualifiedName))) return skip("still grants EXECUTE to PUBLIC (the CREATE FUNCTION default); not exposed. REVOKE EXECUTE FROM PUBLIC and GRANT it to the intended role, or declare the public endpoint intentional with @expose: rpc public / api.rpc.allowPublicExecute
|
|
6902
|
+
if (!(parsed.expose === "rpc-public" || allowPublicExecute.has(qualifiedName))) return skip("still grants EXECUTE to PUBLIC (the CREATE FUNCTION default); not exposed. REVOKE EXECUTE FROM PUBLIC and GRANT it to the intended role, or declare the public endpoint intentional with @expose: rpc public / api.rpc.allowPublicExecute.");
|
|
6903
6903
|
publicCallable = true;
|
|
6904
6904
|
}
|
|
6905
6905
|
const args = inputArgs.map((arg) => buildArg(arg, parsed, fn.schema, enums));
|
|
@@ -6927,7 +6927,7 @@ function decideAndBuild(input) {
|
|
|
6927
6927
|
};
|
|
6928
6928
|
}
|
|
6929
6929
|
/** Decide which functions are exposed as RPC actions and shape them into
|
|
6930
|
-
* FunctionContexts
|
|
6930
|
+
* FunctionContexts. Skipped-but-tagged functions are pushed
|
|
6931
6931
|
* onto `issues`. Output is sorted by qualified name for stable surfaces. */
|
|
6932
6932
|
function buildFunctionContexts(input) {
|
|
6933
6933
|
const { functions, enums, issues } = input;
|
|
@@ -14867,4 +14867,4 @@ var handle = async ({ event, resolve }) => {
|
|
|
14867
14867
|
};
|
|
14868
14868
|
|
|
14869
14869
|
export { handle };
|
|
14870
|
-
//# sourceMappingURL=hooks.server-
|
|
14870
|
+
//# sourceMappingURL=hooks.server-DSFHJrhe.js.map
|