@kozou/svelte-ui 1.4.1 → 1.5.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/build/client/_app/immutable/chunks/{D-3Io3Xp.js → BFuWH13K.js} +1 -1
- package/build/client/_app/immutable/chunks/BFuWH13K.js.br +0 -0
- package/build/client/_app/immutable/chunks/BFuWH13K.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{PpzXWueh.js → CRJrt025.js} +1 -1
- package/build/client/_app/immutable/chunks/CRJrt025.js.br +0 -0
- package/build/client/_app/immutable/chunks/CRJrt025.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CdqGzY-s.js → Dl027Kde.js} +1 -1
- package/build/client/_app/immutable/chunks/Dl027Kde.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dl027Kde.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DqdNHUxA.js +4 -0
- package/build/client/_app/immutable/chunks/DqdNHUxA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DqdNHUxA.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.hTXrPHEe.js → app.CdddEyDZ.js} +2 -2
- package/build/client/_app/immutable/entry/app.CdddEyDZ.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CdddEyDZ.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.gombcUYG.js +1 -0
- package/build/client/_app/immutable/entry/start.gombcUYG.js.br +1 -0
- package/build/client/_app/immutable/entry/start.gombcUYG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.D-eXQsNF.js → 1.D3Y82hzN.js} +1 -1
- package/build/client/_app/immutable/nodes/1.D3Y82hzN.js.br +3 -0
- package/build/client/_app/immutable/nodes/1.D3Y82hzN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.nVf6pSGl.js → 3.C4h8oXl6.js} +1 -1
- package/build/client/_app/immutable/nodes/3.C4h8oXl6.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.C4h8oXl6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.A-_8tbYC.js → 5.7HzG0Gvg.js} +1 -1
- package/build/client/_app/immutable/nodes/5.7HzG0Gvg.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.7HzG0Gvg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.CzngNnZ1.js → 6.C3LTMa5_.js} +1 -1
- package/build/client/_app/immutable/nodes/6.C3LTMa5_.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.C3LTMa5_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.M4F1VOf8.js → 7.DldHIW0X.js} +1 -1
- package/build/client/_app/immutable/nodes/7.DldHIW0X.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.DldHIW0X.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-HvpuDSr9.js → 1-C2qrOdUN.js} +3 -3
- package/build/server/chunks/{1-HvpuDSr9.js.map → 1-C2qrOdUN.js.map} +1 -1
- package/build/server/chunks/{3-D3TOYjW7.js → 3-CcjaT_R_.js} +6 -6
- package/build/server/chunks/{3-D3TOYjW7.js.map → 3-CcjaT_R_.js.map} +1 -1
- package/build/server/chunks/{5-PdIKGOry.js → 5-CcofT6l7.js} +3 -3
- package/build/server/chunks/{5-PdIKGOry.js.map → 5-CcofT6l7.js.map} +1 -1
- package/build/server/chunks/{6-DTP2dgQ4.js → 6-C2kgga9r.js} +6 -6
- package/build/server/chunks/{6-DTP2dgQ4.js.map → 6-C2kgga9r.js.map} +1 -1
- package/build/server/chunks/{7-BO2wqZFZ.js → 7-B2zechk1.js} +6 -6
- package/build/server/chunks/{7-BO2wqZFZ.js.map → 7-B2zechk1.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-D5OPNrD6.js → _page.svelte-B5NxUsYI.js} +4 -4
- package/build/server/chunks/{_page.svelte-D5OPNrD6.js.map → _page.svelte-B5NxUsYI.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-ByJgj70z.js → _page.svelte-BSC7WnBM.js} +5 -5
- package/build/server/chunks/{_page.svelte-ByJgj70z.js.map → _page.svelte-BSC7WnBM.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-BRJFxYD9.js → _page.svelte-Cuo9oW3y.js} +3 -3
- package/build/server/chunks/{_page.svelte-BRJFxYD9.js.map → _page.svelte-Cuo9oW3y.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-DLZjvC2B.js → _page.svelte-DYO2whbz.js} +5 -5
- package/build/server/chunks/{_page.svelte-DLZjvC2B.js.map → _page.svelte-DYO2whbz.js.map} +1 -1
- package/build/server/chunks/{client-DEXFQakh.js → client-DNUYuGZE.js} +2 -2
- package/build/server/chunks/{client-DEXFQakh.js.map → client-DNUYuGZE.js.map} +1 -1
- package/build/server/chunks/{composite-form-BXkkWWG1.js → composite-form-BmiupC54.js} +3 -3
- package/build/server/chunks/{composite-form-BXkkWWG1.js.map → composite-form-BmiupC54.js.map} +1 -1
- package/build/server/chunks/{error.svelte-5yVrLvBD.js → error.svelte-CWVKfYwP.js} +3 -3
- package/build/server/chunks/{error.svelte-5yVrLvBD.js.map → error.svelte-CWVKfYwP.js.map} +1 -1
- package/build/server/chunks/{hooks.server-DSFHJrhe.js → hooks.server-DC4psUWU.js} +31 -3
- package/build/server/chunks/hooks.server-DC4psUWU.js.map +1 -0
- package/build/server/chunks/{internal-B5RB0ss0.js → internal-DhSW2-v_.js} +3 -3
- package/build/server/chunks/{internal-B5RB0ss0.js.map → internal-DhSW2-v_.js.map} +1 -1
- package/build/server/chunks/{relation-select-composite-field-DZuvCpmt.js → relation-select-composite-field-CnjXIpau.js} +2 -2
- package/build/server/chunks/{relation-select-composite-field-DZuvCpmt.js.map → relation-select-composite-field-CnjXIpau.js.map} +1 -1
- package/build/server/index.js +1 -1
- package/build/server/manifest.js +6 -6
- package/build/server/manifest.js.map +1 -1
- package/package.json +4 -4
- package/build/client/_app/immutable/chunks/B18MYhkI.js +0 -4
- 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/CdqGzY-s.js.br +0 -0
- package/build/client/_app/immutable/chunks/CdqGzY-s.js.gz +0 -0
- 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/PpzXWueh.js.br +0 -0
- package/build/client/_app/immutable/chunks/PpzXWueh.js.gz +0 -0
- 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 +0 -1
- 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.D-eXQsNF.js.br +0 -1
- package/build/client/_app/immutable/nodes/1.D-eXQsNF.js.gz +0 -0
- 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.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.CzngNnZ1.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CzngNnZ1.js.gz +0 -0
- 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/server/chunks/hooks.server-DSFHJrhe.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-DNUYuGZE.js';
|
|
4
4
|
import 'clsx';
|
|
5
|
-
import './internal-
|
|
5
|
+
import './internal-DhSW2-v_.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-CWVKfYwP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.svelte-
|
|
1
|
+
{"version":3,"file":"error.svelte-CWVKfYwP.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-DhSW2-v_.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';
|
|
@@ -6515,6 +6515,10 @@ function midlineKnownTag(line) {
|
|
|
6515
6515
|
function warnMidlineTag(token) {
|
|
6516
6516
|
console.warn(`[@kozou/core] parseCommentTags: mid-line "${token}" is not parsed (tags are recognized at line start only; the text stays in the description verbatim)`);
|
|
6517
6517
|
}
|
|
6518
|
+
function startsWithKnownTag(line) {
|
|
6519
|
+
const m = TAG_RE.exec(line);
|
|
6520
|
+
return m !== null && KNOWN_TAGS.has(m[1].toLowerCase());
|
|
6521
|
+
}
|
|
6518
6522
|
function isWidgetType(value) {
|
|
6519
6523
|
return KNOWN_WIDGETS.has(value);
|
|
6520
6524
|
}
|
|
@@ -6599,7 +6603,7 @@ function parseCommentTags(comment) {
|
|
|
6599
6603
|
for (const line of lines) {
|
|
6600
6604
|
if (pending !== null) {
|
|
6601
6605
|
if (pending.kind === "example") {
|
|
6602
|
-
if (line.length === 0 || INDENT_RE.test(line)) {
|
|
6606
|
+
if ((line.length === 0 || INDENT_RE.test(line)) && !startsWithKnownTag(line)) {
|
|
6603
6607
|
pending.sqlLines.push(line);
|
|
6604
6608
|
continue;
|
|
6605
6609
|
}
|
|
@@ -7066,6 +7070,7 @@ function buildColumn(input) {
|
|
|
7066
7070
|
return {
|
|
7067
7071
|
name: column.name,
|
|
7068
7072
|
dataType: column.dataType,
|
|
7073
|
+
effectiveType: column.effectiveType ?? column.dataType,
|
|
7069
7074
|
nullable: column.nullable,
|
|
7070
7075
|
defaultExpr: column.defaultExpr,
|
|
7071
7076
|
isPrimaryKey,
|
|
@@ -7199,6 +7204,7 @@ function buildViewContext(input) {
|
|
|
7199
7204
|
return {
|
|
7200
7205
|
name: c.name,
|
|
7201
7206
|
dataType: c.dataType,
|
|
7207
|
+
effectiveType: c.effectiveType ?? c.dataType,
|
|
7202
7208
|
nullable: c.nullable,
|
|
7203
7209
|
defaultExpr: c.defaultExpr,
|
|
7204
7210
|
isPrimaryKey: false,
|
|
@@ -13982,6 +13988,16 @@ async function fetchTables(client, schemas) {
|
|
|
13982
13988
|
a.attname AS name,
|
|
13983
13989
|
format_type(a.atttypid, a.atttypmod) AS data_type,
|
|
13984
13990
|
t.typname AS udt_name,
|
|
13991
|
+
-- Resolve one level of DOMAIN to its base type, carrying the domain's own
|
|
13992
|
+
-- typmod (so a domain over numeric(12,2) yields 'numeric(12,2)'), so value
|
|
13993
|
+
-- pre-flight sees the base type rather than the opaque domain name
|
|
13994
|
+
-- (issue #85). A domain over a domain stays a domain name here and is
|
|
13995
|
+
-- left unchecked downstream (fail-open for that exotic nesting).
|
|
13996
|
+
CASE
|
|
13997
|
+
WHEN t.typtype = 'd' AND t.typbasetype <> 0
|
|
13998
|
+
THEN format_type(t.typbasetype, t.typtypmod)
|
|
13999
|
+
ELSE format_type(a.atttypid, a.atttypmod)
|
|
14000
|
+
END AS effective_type,
|
|
13985
14001
|
NOT a.attnotnull AS is_nullable,
|
|
13986
14002
|
pg_get_expr(ad.adbin, ad.adrelid) AS column_default,
|
|
13987
14003
|
d.description AS comment,
|
|
@@ -14037,6 +14053,7 @@ async function fetchTables(client, schemas) {
|
|
|
14037
14053
|
columnsByTable.get(key).push({
|
|
14038
14054
|
name: row.name,
|
|
14039
14055
|
dataType: row.data_type,
|
|
14056
|
+
effectiveType: row.effective_type,
|
|
14040
14057
|
udtName: row.udt_name,
|
|
14041
14058
|
nullable: row.is_nullable,
|
|
14042
14059
|
defaultExpr: row.column_default,
|
|
@@ -14195,6 +14212,16 @@ async function fetchViews(client, schemas) {
|
|
|
14195
14212
|
a.attname AS name,
|
|
14196
14213
|
format_type(a.atttypid, a.atttypmod) AS data_type,
|
|
14197
14214
|
t.typname AS udt_name,
|
|
14215
|
+
-- Resolve one level of DOMAIN to its base type, carrying the domain's own
|
|
14216
|
+
-- typmod (so a domain over numeric(12,2) yields 'numeric(12,2)'), so value
|
|
14217
|
+
-- pre-flight sees the base type rather than the opaque domain name
|
|
14218
|
+
-- (issue #85). A domain over a domain stays a domain name here and is
|
|
14219
|
+
-- left unchecked downstream (fail-open for that exotic nesting).
|
|
14220
|
+
CASE
|
|
14221
|
+
WHEN t.typtype = 'd' AND t.typbasetype <> 0
|
|
14222
|
+
THEN format_type(t.typbasetype, t.typtypmod)
|
|
14223
|
+
ELSE format_type(a.atttypid, a.atttypmod)
|
|
14224
|
+
END AS effective_type,
|
|
14198
14225
|
NOT a.attnotnull AS is_nullable,
|
|
14199
14226
|
pg_get_expr(ad.adbin, ad.adrelid) AS column_default,
|
|
14200
14227
|
d.description AS comment,
|
|
@@ -14234,6 +14261,7 @@ async function fetchViews(client, schemas) {
|
|
|
14234
14261
|
columnsByView.get(key).push({
|
|
14235
14262
|
name: row.name,
|
|
14236
14263
|
dataType: row.data_type,
|
|
14264
|
+
effectiveType: row.effective_type,
|
|
14237
14265
|
udtName: row.udt_name,
|
|
14238
14266
|
nullable: row.is_nullable,
|
|
14239
14267
|
defaultExpr: row.column_default,
|
|
@@ -14867,4 +14895,4 @@ var handle = async ({ event, resolve }) => {
|
|
|
14867
14895
|
};
|
|
14868
14896
|
|
|
14869
14897
|
export { handle };
|
|
14870
|
-
//# sourceMappingURL=hooks.server-
|
|
14898
|
+
//# sourceMappingURL=hooks.server-DC4psUWU.js.map
|