@kozou/svelte-ui 1.1.1 → 1.3.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/{Cn0w88Fq.js → BLwQsTD2.js} +1 -1
- package/build/client/_app/immutable/chunks/BLwQsTD2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLwQsTD2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DPra5YQV.js → DY0oakY5.js} +1 -1
- package/build/client/_app/immutable/chunks/DY0oakY5.js.br +0 -0
- package/build/client/_app/immutable/chunks/DY0oakY5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/rPPoD7Sp.js +4 -0
- package/build/client/_app/immutable/chunks/rPPoD7Sp.js.br +0 -0
- package/build/client/_app/immutable/chunks/rPPoD7Sp.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.DHE9drsq.js → app.G2Y8IfhN.js} +2 -2
- package/build/client/_app/immutable/entry/app.G2Y8IfhN.js.br +0 -0
- package/build/client/_app/immutable/entry/app.G2Y8IfhN.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.sPBaDl_M.js +1 -0
- package/build/client/_app/immutable/entry/start.sPBaDl_M.js.br +1 -0
- package/build/client/_app/immutable/entry/start.sPBaDl_M.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.D560IYiX.js → 1.D09foNRb.js} +1 -1
- package/build/client/_app/immutable/nodes/1.D09foNRb.js.br +2 -0
- package/build/client/_app/immutable/nodes/1.D09foNRb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.5H5WIc-o.js +1 -0
- package/build/client/_app/immutable/nodes/4.5H5WIc-o.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.5H5WIc-o.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.DReWNUeS.js → 5.BR2iBXwV.js} +1 -1
- package/build/client/_app/immutable/nodes/5.BR2iBXwV.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BR2iBXwV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.k15tkojQ.js → 6.ChubZePh.js} +1 -1
- package/build/client/_app/immutable/nodes/6.ChubZePh.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.ChubZePh.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-9vEmRESU.js → 1-BvxsIwwy.js} +3 -3
- package/build/server/chunks/{1-9vEmRESU.js.map → 1-BvxsIwwy.js.map} +1 -1
- package/build/server/chunks/{4-B5b-ipUm.js → 4-1chJCfPL.js} +5 -3
- package/build/server/chunks/4-1chJCfPL.js.map +1 -0
- package/build/server/chunks/{5-CsUNrHuc.js → 5-DUCxshKE.js} +13 -11
- package/build/server/chunks/5-DUCxshKE.js.map +1 -0
- package/build/server/chunks/{6-DDoMrGFt.js → 6-Dh7Tg-XB.js} +13 -11
- package/build/server/chunks/6-Dh7Tg-XB.js.map +1 -0
- package/build/server/chunks/{_page.svelte-DZ2Ayw0S.js → _page.svelte-CBUJNhG1.js} +6 -6
- package/build/server/chunks/{_page.svelte-DZ2Ayw0S.js.map → _page.svelte-CBUJNhG1.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-CDGnOeZp.js → _page.svelte-DI_FY3zW.js} +6 -6
- package/build/server/chunks/{_page.svelte-CDGnOeZp.js.map → _page.svelte-DI_FY3zW.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-BEtFIV7C.js → _page.svelte-DaJwoT9F.js} +9 -4
- package/build/server/chunks/_page.svelte-DaJwoT9F.js.map +1 -0
- package/build/server/chunks/{app-DST8OmzT.js → app-MIcRQ3KA.js} +2 -2
- package/build/server/chunks/{app-DST8OmzT.js.map → app-MIcRQ3KA.js.map} +1 -1
- package/build/server/chunks/{client-DLR5dxwU.js → client-C004jkBy.js} +3 -3
- package/build/server/chunks/{client-DLR5dxwU.js.map → client-C004jkBy.js.map} +1 -1
- package/build/server/chunks/{composite-form-BHZcuFIS.js → composite-form-_tg7iknp.js} +40 -27
- package/build/server/chunks/{composite-form-BHZcuFIS.js.map → composite-form-_tg7iknp.js.map} +1 -1
- package/build/server/chunks/{error.svelte-B3vg3Q2F.js → error.svelte-u8Vsq8vF.js} +6 -6
- package/build/server/chunks/{error.svelte-B3vg3Q2F.js.map → error.svelte-u8Vsq8vF.js.map} +1 -1
- package/build/server/chunks/{hooks.server-VuiVxiIQ.js → hooks.server-DtCXcOVD.js} +148 -7
- package/build/server/chunks/hooks.server-DtCXcOVD.js.map +1 -0
- package/build/server/chunks/index-5kYmxIr9.js.map +1 -1
- package/build/server/chunks/index-DBqjc0Yf.js.map +1 -1
- package/build/server/chunks/{internal-BkKkeKsj.js → internal-fxcuSPWe.js} +13 -13
- package/build/server/chunks/{internal-BkKkeKsj.js.map → internal-fxcuSPWe.js.map} +1 -1
- package/build/server/chunks/{widget-registry-hWgMHMd3.js → widget-registry-BcgMXjkA.js} +2 -2
- package/build/server/chunks/{widget-registry-hWgMHMd3.js.map → widget-registry-BcgMXjkA.js.map} +1 -1
- package/build/server/index.js +31 -31
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +5 -5
- package/build/server/manifest.js.map +1 -1
- package/package.json +4 -4
- package/build/client/_app/immutable/chunks/B1d2TdTR.js +0 -4
- package/build/client/_app/immutable/chunks/B1d2TdTR.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1d2TdTR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cn0w88Fq.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cn0w88Fq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPra5YQV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPra5YQV.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DHE9drsq.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DHE9drsq.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BzGMfeBV.js +0 -1
- package/build/client/_app/immutable/entry/start.BzGMfeBV.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BzGMfeBV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.D560IYiX.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.D560IYiX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.B99LqPAe.js +0 -1
- package/build/client/_app/immutable/nodes/4.B99LqPAe.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.B99LqPAe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DReWNUeS.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DReWNUeS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.k15tkojQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.k15tkojQ.js.gz +0 -0
- package/build/server/chunks/4-B5b-ipUm.js.map +0 -1
- package/build/server/chunks/5-CsUNrHuc.js.map +0 -1
- package/build/server/chunks/6-DDoMrGFt.js.map +0 -1
- package/build/server/chunks/_page.svelte-BEtFIV7C.js.map +0 -1
- package/build/server/chunks/hooks.server-VuiVxiIQ.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as attr, q as escape_html, o as ensure_array_like, e as bind_props, m as derived } from './dev-yFiAtg5l.js';
|
|
2
2
|
import { e as encodeResourceId } from './resource-id-PDcQeAnc.js';
|
|
3
|
-
import { i as isPickableOption, c as compositeParamName, C as COMPOSITE_CLEAR_VALUE } from './composite-form-
|
|
3
|
+
import { i as isPickableOption, c as compositeParamName, C as COMPOSITE_CLEAR_VALUE } from './composite-form-_tg7iknp.js';
|
|
4
4
|
|
|
5
5
|
//#region src/lib/form/relation-options-client.ts
|
|
6
6
|
var RELATION_OPTIONS_PATH = "/relation-options";
|
|
@@ -479,4 +479,4 @@ function resolveWidget(widget) {
|
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
export { Relation_select_composite_field as R, Relation_select_field as a, resolveWidget as r };
|
|
482
|
-
//# sourceMappingURL=widget-registry-
|
|
482
|
+
//# sourceMappingURL=widget-registry-BcgMXjkA.js.map
|
package/build/server/chunks/{widget-registry-hWgMHMd3.js.map → widget-registry-BcgMXjkA.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-registry-hWgMHMd3.js","sources":["../../../.svelte-kit/adapter-node/chunks/widget-registry.js"],"sourcesContent":["import { H as escape_html, V as attr, i as ensure_array_like, n as bind_props, r as derived } from \"./dev.js\";\nimport { t as encodeResourceId } from \"./resource-id.js\";\nimport { i as isPickableOption, n as compositeParamName, t as COMPOSITE_CLEAR_VALUE } from \"./relation-field-config.js\";\n//#region src/lib/form/relation-options-client.ts\nvar RELATION_OPTIONS_PATH = \"/relation-options\";\n/** Build the `/relation-options` query string for a relation search. */\nfunction relationOptionsUrl(resource, params) {\n\tconst query = new URLSearchParams();\n\tquery.set(\"resource\", resource);\n\tquery.set(\"label\", params.labelField);\n\tif (params.searchFields.length > 0) query.set(\"fields\", params.searchFields.join(\",\"));\n\tif (params.query.length > 0) query.set(\"q\", params.query);\n\tif (params.limit !== void 0) query.set(\"limit\", String(params.limit));\n\treturn `${RELATION_OPTIONS_PATH}?${query.toString()}`;\n}\nasync function fetchRelationOptions(fetchFn, resource, params) {\n\tconst response = await fetchFn(relationOptionsUrl(resource, params));\n\tif (!response.ok) return [];\n\tconst body = await response.json();\n\treturn Array.isArray(body.options) ? body.options : [];\n}\n//#endregion\n//#region src/lib/form/relation-search.ts\nvar DEFAULT_DEBOUNCE_MS = 200;\nvar CANCELLED_REASON = \"relation-search:cancelled\";\nvar RelationSearchCancelledError = class extends Error {\n\tconstructor() {\n\t\tsuper(CANCELLED_REASON);\n\t\tthis.name = \"RelationSearchCancelledError\";\n\t}\n};\nfunction createRelationSearch(opts) {\n\tconst debounceMs = opts.debounceMs ?? DEFAULT_DEBOUNCE_MS;\n\tconst setTimeoutFn = opts.setTimeoutFn ?? globalThis.setTimeout;\n\tconst clearTimeoutFn = opts.clearTimeoutFn ?? globalThis.clearTimeout;\n\tlet pendingHandle = null;\n\tlet pendingReject = null;\n\tlet latestSeq = 0;\n\tfunction cancelInternal() {\n\t\tlatestSeq += 1;\n\t\tif (pendingHandle !== null) {\n\t\t\tclearTimeoutFn(pendingHandle);\n\t\t\tpendingHandle = null;\n\t\t}\n\t\tif (pendingReject !== null) {\n\t\t\tpendingReject(new RelationSearchCancelledError());\n\t\t\tpendingReject = null;\n\t\t}\n\t}\n\treturn {\n\t\tsearch(query) {\n\t\t\tcancelInternal();\n\t\t\tconst seq = latestSeq;\n\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\tpendingReject = reject;\n\t\t\t\tpendingHandle = setTimeoutFn(() => {\n\t\t\t\t\tpendingHandle = null;\n\t\t\t\t\tpendingReject = null;\n\t\t\t\t\topts.adapter.searchRelation(opts.resource, {\n\t\t\t\t\t\tquery,\n\t\t\t\t\t\tlabelField: opts.labelField,\n\t\t\t\t\t\tsearchFields: opts.searchFields,\n\t\t\t\t\t\tlimit: opts.limit\n\t\t\t\t\t}).then((rows) => seq === latestSeq ? resolve(rows) : reject(new RelationSearchCancelledError()), (err) => seq === latestSeq ? reject(err) : reject(new RelationSearchCancelledError()));\n\t\t\t\t}, debounceMs);\n\t\t\t});\n\t\t},\n\t\tcancel() {\n\t\t\tcancelInternal();\n\t\t}\n\t};\n}\n//#endregion\n//#region src/lib/form/widgets/relation-select-composite-field.svelte\nfunction Relation_select_composite_field($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** Base for the select's DOM id (the relation's first column). */\n\t\t/** \"schema.table\" the picker searches. */\n\t\t/** Target column shown as each option's label. */\n\t\t/** Target columns the substring search filters on. */\n\t\t/** Server-rendered first page (plus the current value on edit) so the\n\t\t* picker has rows before the browser issues any request. */\n\t\t/** Current component values, in the target's primary-key declaration\n\t\t* order (the order option-id components use). */\n\t\t/** Receives the picked option's components (same order), or `null` when\n\t\t* the operator clears an optional relation. */\n\t\tlet { name, label, resource, labelField, searchFields, initialOptions, values, onpick, required = false, readonly = false, limit = 20 } = $$props;\n\t\tlet options = initialOptions.filter(isPickableOption);\n\t\tlet query = \"\";\n\t\tconst known = /* @__PURE__ */ new Map();\n\t\tfunction remember(option) {\n\t\t\tconst components = Array.isArray(option.id) ? option.id : [option.id];\n\t\t\tknown.set(encodeResourceId(option.id), {\n\t\t\t\tlabel: option.label,\n\t\t\t\tcomponents\n\t\t\t});\n\t\t}\n\t\tfor (const option of initialOptions.filter(isPickableOption)) remember(option);\n\t\tconst selectedKey = derived(() => {\n\t\t\tif (values.length > 0 && values.every((value) => value === \"\")) return COMPOSITE_CLEAR_VALUE;\n\t\t\tconst components = [];\n\t\t\tfor (const value of values) {\n\t\t\t\tif (value === null || value === void 0) return \"\";\n\t\t\t\tif (typeof value !== \"string\" && typeof value !== \"number\") return \"\";\n\t\t\t\tcomponents.push(value);\n\t\t\t}\n\t\t\treturn encodeResourceId(components);\n\t\t});\n\t\tcreateRelationSearch({\n\t\t\tadapter: { searchRelation: (target, params) => fetchRelationOptions((url) => fetch(url), target, params) },\n\t\t\tresource,\n\t\t\tlabelField,\n\t\t\tsearchFields,\n\t\t\tlimit\n\t\t});\n\t\tfunction handleChange(event) {\n\t\t\tconst key = event.target.value;\n\t\t\tif (key === \"__clear__\") {\n\t\t\t\tonpick(null);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (key === \"\") return;\n\t\t\tconst picked = known.get(key);\n\t\t\tif (picked !== void 0) onpick(picked.components);\n\t\t}\n\t\tconst selectId = derived(() => `relation-${name}`);\n\t\t$$renderer.push(`<div class=\"block\"><label${attr(\"for\", selectId())} class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></label> <input type=\"text\" placeholder=\"Search…\"${attr(\"aria-label\", `Search ${label}`)}${attr(\"value\", query)}${attr(\"disabled\", readonly, true)} class=\"mb-2 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/> `);\n\t\t$$renderer.select({\n\t\t\tid: selectId(),\n\t\t\tname: compositeParamName(name),\n\t\t\trequired,\n\t\t\tdisabled: readonly,\n\t\t\tvalue: selectedKey(),\n\t\t\tonchange: handleChange,\n\t\t\tclass: \"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"\n\t\t}, ($$renderer) => {\n\t\t\t$$renderer.option({\n\t\t\t\tvalue: \"\",\n\t\t\t\tdisabled: true\n\t\t\t}, ($$renderer) => {\n\t\t\t\t$$renderer.push(`Select…`);\n\t\t\t});\n\t\t\tif (!required) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.option({ value: COMPOSITE_CLEAR_VALUE }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`--`);\n\t\t\t\t});\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--><!--[-->`);\n\t\t\tconst each_array = ensure_array_like(options);\n\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\tlet option = each_array[$$index];\n\t\t\t\t$$renderer.option({ value: encodeResourceId(option.id) }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`${escape_html(option.label)}`);\n\t\t\t\t});\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t});\n\t\t$$renderer.push(`</div>`);\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/relation-select.svelte\nfunction Relation_select($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, options, value = \"\", required = false, readonly = false, onsearch } = $$props;\n\t\tlet query = \"\";\n\t\tconst selectId = derived(() => `relation-${name}`);\n\t\t$$renderer.push(`<div class=\"block\"><label${attr(\"for\", selectId())} class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></label> `);\n\t\tif (onsearch) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<input type=\"text\" placeholder=\"Search…\"${attr(\"aria-label\", `Search ${label}`)}${attr(\"value\", query)}${attr(\"disabled\", readonly, true)} class=\"mb-2 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--> `);\n\t\t$$renderer.select({\n\t\t\tid: selectId(),\n\t\t\tname,\n\t\t\trequired,\n\t\t\tdisabled: readonly,\n\t\t\tvalue,\n\t\t\tclass: \"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"\n\t\t}, ($$renderer) => {\n\t\t\tif (!required) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.option({ value: \"\" }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`--`);\n\t\t\t\t});\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--><!--[-->`);\n\t\t\tconst each_array = ensure_array_like(options);\n\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\tlet option = each_array[$$index];\n\t\t\t\t$$renderer.option({ value: option.id }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`${escape_html(option.label)}`);\n\t\t\t\t});\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t});\n\t\t$$renderer.push(`</div>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/relation-select-field.svelte\nfunction Relation_select_field($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** \"schema.table\" the picker searches. */\n\t\t/** Target column shown as each option's label. */\n\t\t/** Target columns the substring search filters on. */\n\t\t/** Server-rendered first page (plus the current value on edit) so the\n\t\t* picker has rows before the browser issues any request. */\n\t\tlet { name, label, resource, labelField, searchFields, initialOptions, value = \"\", required = false, readonly = false, limit = 20 } = $$props;\n\t\tlet options = [...initialOptions];\n\t\tconst known = /* @__PURE__ */ new Map();\n\t\tfor (const option of initialOptions) known.set(encodeResourceId(option.id), option.label);\n\t\tconst search = createRelationSearch({\n\t\t\tadapter: { searchRelation: (target, params) => fetchRelationOptions((url) => fetch(url), target, params) },\n\t\t\tresource,\n\t\t\tlabelField,\n\t\t\tsearchFields,\n\t\t\tlimit\n\t\t});\n\t\tfunction withSelected(results) {\n\t\t\tif (value === \"\" || value === null || value === void 0) return results;\n\t\t\tconst selected = value;\n\t\t\tconst selectedKey = encodeResourceId(selected);\n\t\t\tif (results.some((option) => encodeResourceId(option.id) === selectedKey)) return results;\n\t\t\tconst selectedLabel = known.get(selectedKey);\n\t\t\tif (selectedLabel === void 0) return results;\n\t\t\treturn [{\n\t\t\t\tid: selected,\n\t\t\t\tlabel: selectedLabel\n\t\t\t}, ...results];\n\t\t}\n\t\tasync function handleSearch(query) {\n\t\t\ttry {\n\t\t\t\tconst results = await search.search(query);\n\t\t\t\tfor (const option of results) known.set(encodeResourceId(option.id), option.label);\n\t\t\t\toptions = withSelected(results);\n\t\t\t} catch {}\n\t\t}\n\t\tlet $$settled = true;\n\t\tlet $$inner_renderer;\n\t\tfunction $$render_inner($$renderer) {\n\t\t\tRelation_select($$renderer, {\n\t\t\t\tname,\n\t\t\t\tlabel,\n\t\t\t\toptions,\n\t\t\t\trequired,\n\t\t\t\treadonly,\n\t\t\t\tonsearch: handleSearch,\n\t\t\t\tget value() {\n\t\t\t\t\treturn value;\n\t\t\t\t},\n\t\t\t\tset value($$value) {\n\t\t\t\t\tvalue = $$value;\n\t\t\t\t\t$$settled = false;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tdo {\n\t\t\t$$settled = true;\n\t\t\t$$inner_renderer = $$renderer.copy();\n\t\t\t$$render_inner($$inner_renderer);\n\t\t} while (!$$settled);\n\t\t$$renderer.subsume($$inner_renderer);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/boolean.svelte\nfunction Boolean($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = false, readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"flex items-center gap-2\"><input type=\"checkbox\"${attr(\"name\", name)}${attr(\"disabled\", readonly, true)}${attr(\"checked\", value, true)} class=\"h-4 w-4 rounded border border-input bg-background\"/> <span class=\"text-sm font-medium\">${escape_html(label)}</span></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/date.svelte\nfunction Date($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"date\"${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/datetime.svelte\nfunction Datetime($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"datetime-local\"${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/enum-select.svelte\nfunction Enum_select($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, options, value = \"\", required = false, readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> `);\n\t\t$$renderer.select({\n\t\t\tname,\n\t\t\trequired,\n\t\t\tdisabled: readonly,\n\t\t\tvalue,\n\t\t\tclass: \"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"\n\t\t}, ($$renderer) => {\n\t\t\tif (!required) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.option({ value: \"\" }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`--`);\n\t\t\t\t});\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--><!--[-->`);\n\t\t\tconst each_array = ensure_array_like(options);\n\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\tlet option = each_array[$$index];\n\t\t\t\t$$renderer.option({ value: option }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`${escape_html(option)}`);\n\t\t\t\t});\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t});\n\t\t$$renderer.push(`</label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/image-url.svelte\nfunction Image_url($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"https://…\", readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"url\"${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/> `);\n\t\tif (value) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<img${attr(\"src\", value)}${attr(\"alt\", label)} class=\"mt-2 max-h-32 rounded-md border border-border object-contain\" loading=\"lazy\"/>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/json.svelte\nfunction Json($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = void 0, required = false, readonly = false } = $$props;\n\t\tfunction formatInitial(input) {\n\t\t\tif (input === void 0 || input === null) return \"\";\n\t\t\tif (typeof input === \"string\") return input;\n\t\t\ttry {\n\t\t\t\treturn JSON.stringify(input, null, 2);\n\t\t\t} catch {\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t}\n\t\tlet text = formatInitial(value);\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <textarea${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"readonly\", readonly, true)}${attr(\"rows\", 6)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 font-mono text-xs\">`);\n\t\tconst $$body = escape_html(text);\n\t\tif ($$body) $$renderer.push(`${$$body}`);\n\t\t$$renderer.push(`</textarea></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/number.svelte\nfunction Number($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"\", readonly = false, step = \"any\" } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"number\"${attr(\"name\", name)}${attr(\"step\", step)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/text.svelte\nfunction Text($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"\", readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"text\"${attr(\"name\", name)}${attr(\"value\", value)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/textarea.svelte\nfunction Textarea($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"\", readonly = false, rows = 4 } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <textarea${attr(\"name\", name)}${attr(\"rows\", rows)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\">`);\n\t\tconst $$body = escape_html(value);\n\t\tif ($$body) $$renderer.push(`${$$body}`);\n\t\t$$renderer.push(`</textarea></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/uuid.svelte\nfunction Uuid($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"00000000-0000-0000-0000-000000000000\", readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"text\"${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} pattern=\"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\" class=\"w-full rounded-md border border-input bg-background px-3 py-2 font-mono text-xs\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widget-registry.ts\nvar widgetRegistry = {\n\ttext: Text,\n\ttextarea: Textarea,\n\tnumber: Number,\n\tcurrency: Number,\n\tboolean: Boolean,\n\tdate: Date,\n\tdatetime: Datetime,\n\t\"enum-select\": Enum_select,\n\t\"relation-select\": Relation_select,\n\tjson: Json,\n\t\"image-url\": Image_url,\n\tuuid: Uuid\n};\nfunction resolveWidget(widget) {\n\treturn widgetRegistry[widget] ?? Text;\n}\n//#endregion\nexport { Relation_select_field as n, Relation_select_composite_field as r, resolveWidget as t };\n"],"names":[],"mappings":";;;;AAGA;AACA,IAAI,qBAAqB,GAAG,mBAAmB;AAC/C;AACA,SAAS,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE;AAC9C,CAAC,MAAM,KAAK,GAAG,IAAI,eAAe,EAAE;AACpC,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC;AAChC,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC;AACtC,CAAC,IAAI,MAAM,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACvF,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG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AAE,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AACtC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,kCAAkC,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,wLAAwL,CAAC,CAAC;AACpY,EAAE,UAAU,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC,CAAC,CAAC;AACH;AACA;AACA;AACA,IAAI,cAAc,GAAG;AACrB,CAAC,IAAI,EAAE,IAAI;AACX,CAAC,QAAQ,EAAE,QAAQ;AACnB,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,QAAQ,EAAE,MAAM;AACjB,CAAC,OAAO,EAAE,OAAO;AACjB,CAAC,IAAI,EAAE,IAAI;AACX,CAAC,QAAQ,EAAE,QAAQ;AACnB,CAAC,aAAa,EAAE,WAAW;AAC3B,CAAC,iBAAiB,EAAE,eAAe;AACnC,CAAC,IAAI,EAAE,IAAI;AACX,CAAC,WAAW,EAAE,SAAS;AACvB,CAAC,IAAI,EAAE;AACP,CAAC;AACD,SAAS,aAAa,CAAC,MAAM,EAAE;AAC/B,CAAC,OAAO,cAAc,CAAC,MAAM,CAAC,IAAI,IAAI;AACtC;;;;"}
|
|
1
|
+
{"version":3,"file":"widget-registry-BcgMXjkA.js","sources":["../../../.svelte-kit/adapter-node/chunks/widget-registry.js"],"sourcesContent":["import { H as escape_html, V as attr, i as ensure_array_like, n as bind_props, r as derived } from \"./dev.js\";\nimport { t as encodeResourceId } from \"./resource-id.js\";\nimport { i as isPickableOption, n as compositeParamName, t as COMPOSITE_CLEAR_VALUE } from \"./relation-field-config.js\";\n//#region src/lib/form/relation-options-client.ts\nvar RELATION_OPTIONS_PATH = \"/relation-options\";\n/** Build the `/relation-options` query string for a relation search. */\nfunction relationOptionsUrl(resource, params) {\n\tconst query = new URLSearchParams();\n\tquery.set(\"resource\", resource);\n\tquery.set(\"label\", params.labelField);\n\tif (params.searchFields.length > 0) query.set(\"fields\", params.searchFields.join(\",\"));\n\tif (params.query.length > 0) query.set(\"q\", params.query);\n\tif (params.limit !== void 0) query.set(\"limit\", String(params.limit));\n\treturn `${RELATION_OPTIONS_PATH}?${query.toString()}`;\n}\nasync function fetchRelationOptions(fetchFn, resource, params) {\n\tconst response = await fetchFn(relationOptionsUrl(resource, params));\n\tif (!response.ok) return [];\n\tconst body = await response.json();\n\treturn Array.isArray(body.options) ? body.options : [];\n}\n//#endregion\n//#region src/lib/form/relation-search.ts\nvar DEFAULT_DEBOUNCE_MS = 200;\nvar CANCELLED_REASON = \"relation-search:cancelled\";\nvar RelationSearchCancelledError = class extends Error {\n\tconstructor() {\n\t\tsuper(CANCELLED_REASON);\n\t\tthis.name = \"RelationSearchCancelledError\";\n\t}\n};\nfunction createRelationSearch(opts) {\n\tconst debounceMs = opts.debounceMs ?? DEFAULT_DEBOUNCE_MS;\n\tconst setTimeoutFn = opts.setTimeoutFn ?? globalThis.setTimeout;\n\tconst clearTimeoutFn = opts.clearTimeoutFn ?? globalThis.clearTimeout;\n\tlet pendingHandle = null;\n\tlet pendingReject = null;\n\tlet latestSeq = 0;\n\tfunction cancelInternal() {\n\t\tlatestSeq += 1;\n\t\tif (pendingHandle !== null) {\n\t\t\tclearTimeoutFn(pendingHandle);\n\t\t\tpendingHandle = null;\n\t\t}\n\t\tif (pendingReject !== null) {\n\t\t\tpendingReject(new RelationSearchCancelledError());\n\t\t\tpendingReject = null;\n\t\t}\n\t}\n\treturn {\n\t\tsearch(query) {\n\t\t\tcancelInternal();\n\t\t\tconst seq = latestSeq;\n\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\tpendingReject = reject;\n\t\t\t\tpendingHandle = setTimeoutFn(() => {\n\t\t\t\t\tpendingHandle = null;\n\t\t\t\t\tpendingReject = null;\n\t\t\t\t\topts.adapter.searchRelation(opts.resource, {\n\t\t\t\t\t\tquery,\n\t\t\t\t\t\tlabelField: opts.labelField,\n\t\t\t\t\t\tsearchFields: opts.searchFields,\n\t\t\t\t\t\tlimit: opts.limit\n\t\t\t\t\t}).then((rows) => seq === latestSeq ? resolve(rows) : reject(new RelationSearchCancelledError()), (err) => seq === latestSeq ? reject(err) : reject(new RelationSearchCancelledError()));\n\t\t\t\t}, debounceMs);\n\t\t\t});\n\t\t},\n\t\tcancel() {\n\t\t\tcancelInternal();\n\t\t}\n\t};\n}\n//#endregion\n//#region src/lib/form/widgets/relation-select-composite-field.svelte\nfunction Relation_select_composite_field($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** Base for the select's DOM id (the relation's first column). */\n\t\t/** \"schema.table\" the picker searches. */\n\t\t/** Target column shown as each option's label. */\n\t\t/** Target columns the substring search filters on. */\n\t\t/** Server-rendered first page (plus the current value on edit) so the\n\t\t* picker has rows before the browser issues any request. */\n\t\t/** Current component values, in the target's primary-key declaration\n\t\t* order (the order option-id components use). */\n\t\t/** Receives the picked option's components (same order), or `null` when\n\t\t* the operator clears an optional relation. */\n\t\tlet { name, label, resource, labelField, searchFields, initialOptions, values, onpick, required = false, readonly = false, limit = 20 } = $$props;\n\t\tlet options = initialOptions.filter(isPickableOption);\n\t\tlet query = \"\";\n\t\tconst known = /* @__PURE__ */ new Map();\n\t\tfunction remember(option) {\n\t\t\tconst components = Array.isArray(option.id) ? option.id : [option.id];\n\t\t\tknown.set(encodeResourceId(option.id), {\n\t\t\t\tlabel: option.label,\n\t\t\t\tcomponents\n\t\t\t});\n\t\t}\n\t\tfor (const option of initialOptions.filter(isPickableOption)) remember(option);\n\t\tconst selectedKey = derived(() => {\n\t\t\tif (values.length > 0 && values.every((value) => value === \"\")) return COMPOSITE_CLEAR_VALUE;\n\t\t\tconst components = [];\n\t\t\tfor (const value of values) {\n\t\t\t\tif (value === null || value === void 0) return \"\";\n\t\t\t\tif (typeof value !== \"string\" && typeof value !== \"number\") return \"\";\n\t\t\t\tcomponents.push(value);\n\t\t\t}\n\t\t\treturn encodeResourceId(components);\n\t\t});\n\t\tcreateRelationSearch({\n\t\t\tadapter: { searchRelation: (target, params) => fetchRelationOptions((url) => fetch(url), target, params) },\n\t\t\tresource,\n\t\t\tlabelField,\n\t\t\tsearchFields,\n\t\t\tlimit\n\t\t});\n\t\tfunction handleChange(event) {\n\t\t\tconst key = event.target.value;\n\t\t\tif (key === \"__clear__\") {\n\t\t\t\tonpick(null);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (key === \"\") return;\n\t\t\tconst picked = known.get(key);\n\t\t\tif (picked !== void 0) onpick(picked.components);\n\t\t}\n\t\tconst selectId = derived(() => `relation-${name}`);\n\t\t$$renderer.push(`<div class=\"block\"><label${attr(\"for\", selectId())} class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></label> <input type=\"text\" placeholder=\"Search…\"${attr(\"aria-label\", `Search ${label}`)}${attr(\"value\", query)}${attr(\"disabled\", readonly, true)} class=\"mb-2 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/> `);\n\t\t$$renderer.select({\n\t\t\tid: selectId(),\n\t\t\tname: compositeParamName(name),\n\t\t\trequired,\n\t\t\tdisabled: readonly,\n\t\t\tvalue: selectedKey(),\n\t\t\tonchange: handleChange,\n\t\t\tclass: \"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"\n\t\t}, ($$renderer) => {\n\t\t\t$$renderer.option({\n\t\t\t\tvalue: \"\",\n\t\t\t\tdisabled: true\n\t\t\t}, ($$renderer) => {\n\t\t\t\t$$renderer.push(`Select…`);\n\t\t\t});\n\t\t\tif (!required) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.option({ value: COMPOSITE_CLEAR_VALUE }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`--`);\n\t\t\t\t});\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--><!--[-->`);\n\t\t\tconst each_array = ensure_array_like(options);\n\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\tlet option = each_array[$$index];\n\t\t\t\t$$renderer.option({ value: encodeResourceId(option.id) }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`${escape_html(option.label)}`);\n\t\t\t\t});\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t});\n\t\t$$renderer.push(`</div>`);\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/relation-select.svelte\nfunction Relation_select($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, options, value = \"\", required = false, readonly = false, onsearch } = $$props;\n\t\tlet query = \"\";\n\t\tconst selectId = derived(() => `relation-${name}`);\n\t\t$$renderer.push(`<div class=\"block\"><label${attr(\"for\", selectId())} class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></label> `);\n\t\tif (onsearch) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<input type=\"text\" placeholder=\"Search…\"${attr(\"aria-label\", `Search ${label}`)}${attr(\"value\", query)}${attr(\"disabled\", readonly, true)} class=\"mb-2 w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--> `);\n\t\t$$renderer.select({\n\t\t\tid: selectId(),\n\t\t\tname,\n\t\t\trequired,\n\t\t\tdisabled: readonly,\n\t\t\tvalue,\n\t\t\tclass: \"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"\n\t\t}, ($$renderer) => {\n\t\t\tif (!required) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.option({ value: \"\" }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`--`);\n\t\t\t\t});\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--><!--[-->`);\n\t\t\tconst each_array = ensure_array_like(options);\n\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\tlet option = each_array[$$index];\n\t\t\t\t$$renderer.option({ value: option.id }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`${escape_html(option.label)}`);\n\t\t\t\t});\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t});\n\t\t$$renderer.push(`</div>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/relation-select-field.svelte\nfunction Relation_select_field($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t/** \"schema.table\" the picker searches. */\n\t\t/** Target column shown as each option's label. */\n\t\t/** Target columns the substring search filters on. */\n\t\t/** Server-rendered first page (plus the current value on edit) so the\n\t\t* picker has rows before the browser issues any request. */\n\t\tlet { name, label, resource, labelField, searchFields, initialOptions, value = \"\", required = false, readonly = false, limit = 20 } = $$props;\n\t\tlet options = [...initialOptions];\n\t\tconst known = /* @__PURE__ */ new Map();\n\t\tfor (const option of initialOptions) known.set(encodeResourceId(option.id), option.label);\n\t\tconst search = createRelationSearch({\n\t\t\tadapter: { searchRelation: (target, params) => fetchRelationOptions((url) => fetch(url), target, params) },\n\t\t\tresource,\n\t\t\tlabelField,\n\t\t\tsearchFields,\n\t\t\tlimit\n\t\t});\n\t\tfunction withSelected(results) {\n\t\t\tif (value === \"\" || value === null || value === void 0) return results;\n\t\t\tconst selected = value;\n\t\t\tconst selectedKey = encodeResourceId(selected);\n\t\t\tif (results.some((option) => encodeResourceId(option.id) === selectedKey)) return results;\n\t\t\tconst selectedLabel = known.get(selectedKey);\n\t\t\tif (selectedLabel === void 0) return results;\n\t\t\treturn [{\n\t\t\t\tid: selected,\n\t\t\t\tlabel: selectedLabel\n\t\t\t}, ...results];\n\t\t}\n\t\tasync function handleSearch(query) {\n\t\t\ttry {\n\t\t\t\tconst results = await search.search(query);\n\t\t\t\tfor (const option of results) known.set(encodeResourceId(option.id), option.label);\n\t\t\t\toptions = withSelected(results);\n\t\t\t} catch {}\n\t\t}\n\t\tlet $$settled = true;\n\t\tlet $$inner_renderer;\n\t\tfunction $$render_inner($$renderer) {\n\t\t\tRelation_select($$renderer, {\n\t\t\t\tname,\n\t\t\t\tlabel,\n\t\t\t\toptions,\n\t\t\t\trequired,\n\t\t\t\treadonly,\n\t\t\t\tonsearch: handleSearch,\n\t\t\t\tget value() {\n\t\t\t\t\treturn value;\n\t\t\t\t},\n\t\t\t\tset value($$value) {\n\t\t\t\t\tvalue = $$value;\n\t\t\t\t\t$$settled = false;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tdo {\n\t\t\t$$settled = true;\n\t\t\t$$inner_renderer = $$renderer.copy();\n\t\t\t$$render_inner($$inner_renderer);\n\t\t} while (!$$settled);\n\t\t$$renderer.subsume($$inner_renderer);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/boolean.svelte\nfunction Boolean($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = false, readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"flex items-center gap-2\"><input type=\"checkbox\"${attr(\"name\", name)}${attr(\"disabled\", readonly, true)}${attr(\"checked\", value, true)} class=\"h-4 w-4 rounded border border-input bg-background\"/> <span class=\"text-sm font-medium\">${escape_html(label)}</span></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/date.svelte\nfunction Date($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"date\"${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/datetime.svelte\nfunction Datetime($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"datetime-local\"${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/enum-select.svelte\nfunction Enum_select($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, options, value = \"\", required = false, readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> `);\n\t\t$$renderer.select({\n\t\t\tname,\n\t\t\trequired,\n\t\t\tdisabled: readonly,\n\t\t\tvalue,\n\t\t\tclass: \"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"\n\t\t}, ($$renderer) => {\n\t\t\tif (!required) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.option({ value: \"\" }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`--`);\n\t\t\t\t});\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--><!--[-->`);\n\t\t\tconst each_array = ensure_array_like(options);\n\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\tlet option = each_array[$$index];\n\t\t\t\t$$renderer.option({ value: option }, ($$renderer) => {\n\t\t\t\t\t$$renderer.push(`${escape_html(option)}`);\n\t\t\t\t});\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t});\n\t\t$$renderer.push(`</label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/image-url.svelte\nfunction Image_url($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"https://…\", readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"url\"${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/> `);\n\t\tif (value) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<img${attr(\"src\", value)}${attr(\"alt\", label)} class=\"mt-2 max-h-32 rounded-md border border-border object-contain\" loading=\"lazy\"/>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/json.svelte\nfunction Json($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = void 0, required = false, readonly = false } = $$props;\n\t\tfunction formatInitial(input) {\n\t\t\tif (input === void 0 || input === null) return \"\";\n\t\t\tif (typeof input === \"string\") return input;\n\t\t\ttry {\n\t\t\t\treturn JSON.stringify(input, null, 2);\n\t\t\t} catch {\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t}\n\t\tlet text = formatInitial(value);\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <textarea${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"readonly\", readonly, true)}${attr(\"rows\", 6)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 font-mono text-xs\">`);\n\t\tconst $$body = escape_html(text);\n\t\tif ($$body) $$renderer.push(`${$$body}`);\n\t\t$$renderer.push(`</textarea></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/number.svelte\nfunction Number($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"\", readonly = false, step = \"any\" } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"number\"${attr(\"name\", name)}${attr(\"step\", step)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/text.svelte\nfunction Text($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"\", readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"text\"${attr(\"name\", name)}${attr(\"value\", value)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/textarea.svelte\nfunction Textarea($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"\", readonly = false, rows = 4 } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <textarea${attr(\"name\", name)}${attr(\"rows\", rows)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)} class=\"w-full rounded-md border border-input bg-background px-3 py-2 text-sm\">`);\n\t\tconst $$body = escape_html(value);\n\t\tif ($$body) $$renderer.push(`${$$body}`);\n\t\t$$renderer.push(`</textarea></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widgets/uuid.svelte\nfunction Uuid($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { name, label, value = \"\", required = false, placeholder = \"00000000-0000-0000-0000-000000000000\", readonly = false } = $$props;\n\t\t$$renderer.push(`<label class=\"block\"><span class=\"mb-1 block text-sm font-medium\">${escape_html(label)}`);\n\t\tif (required) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<span class=\"text-destructive\" aria-hidden=\"true\">*</span>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]--></span> <input type=\"text\"${attr(\"name\", name)}${attr(\"required\", required, true)}${attr(\"placeholder\", placeholder)}${attr(\"readonly\", readonly, true)}${attr(\"value\", value)} pattern=\"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\" class=\"w-full rounded-md border border-input bg-background px-3 py-2 font-mono text-xs\"/></label>`);\n\t\tbind_props($$props, { value });\n\t});\n}\n//#endregion\n//#region src/lib/form/widget-registry.ts\nvar widgetRegistry = {\n\ttext: Text,\n\ttextarea: Textarea,\n\tnumber: Number,\n\tcurrency: Number,\n\tboolean: Boolean,\n\tdate: Date,\n\tdatetime: Datetime,\n\t\"enum-select\": Enum_select,\n\t\"relation-select\": Relation_select,\n\tjson: Json,\n\t\"image-url\": Image_url,\n\tuuid: Uuid\n};\nfunction resolveWidget(widget) {\n\treturn widgetRegistry[widget] ?? Text;\n}\n//#endregion\nexport { Relation_select_field as n, Relation_select_composite_field as r, resolveWidget as t };\n"],"names":[],"mappings":";;;;AAGA;AACA,IAAI,qBAAqB,GAAG,mBAAmB;AAC/C;AACA,SAAS,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE;AAC9C,CAAC,MAAM,KAAK,GAAG,IAAI,eAAe,EAAE;AACpC,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC;AAChC,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC;AACtC,CAAC,IAAI,MAAM,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACvF,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC;AAC1D,CAAC,IAAI,MAAM,CAAC,KAAK,KAAK,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACtE,CAAC,OAAO,CAAC,EAAE,qBAAqB,CAAC,CAAC,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;AACtD;AACA,eAAe,oBAAoB,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE;AAC/D,CAAC,MAAM,QAAQ,GAAG,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LAAwL,CAAC,CAAC;AACpY,EAAE,UAAU,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC,CAAC,CAAC;AACH;AACA;AACA;AACA,IAAI,cAAc,GAAG;AACrB,CAAC,IAAI,EAAE,IAAI;AACX,CAAC,QAAQ,EAAE,QAAQ;AACnB,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,QAAQ,EAAE,MAAM;AACjB,CAAC,OAAO,EAAE,OAAO;AACjB,CAAC,IAAI,EAAE,IAAI;AACX,CAAC,QAAQ,EAAE,QAAQ;AACnB,CAAC,aAAa,EAAE,WAAW;AAC3B,CAAC,iBAAiB,EAAE,eAAe;AACnC,CAAC,IAAI,EAAE,IAAI;AACX,CAAC,WAAW,EAAE,SAAS;AACvB,CAAC,IAAI,EAAE;AACP,CAAC;AACD,SAAS,aAAa,CAAC,MAAM,EAAE;AAC/B,CAAC,OAAO,cAAc,CAAC,MAAM,CAAC,IAAI,IAAI;AACtC;;;;"}
|
package/build/server/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as coalesce_to_error, s as get_status, q as get_message, a1 as with_request_store, G as parse, _ as __commonJSMin, E as options, N as set_private_env, O as set_public_env, p as get_hooks, y as noop, u as has_resolution_suffix, t as has_data_suffix, h as base, V as strip_resolution_suffix, U as strip_data_suffix, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, m as decode_pathname, d as add_data_suffix, e as add_resolution_suffix, o as find_route, B as normalize_path, n as disable_search, J as public_env, Z as validate_layout_server_exports, Y as validate_layout_exports, a0 as validate_page_server_exports, $ as validate_page_exports, z as noop_span, M as resolve, K as read_implementation, r as get_relative_path, P as set_read_implementation, F as override, g as assets, L as reset, f as app_dir, l as create_remote_key, v as hash, W as text_encoder, k as compact, D as once, A as normalize_error, x as make_trackable, H as parse_remote_arg, R as stringify, S as stringify$1, Q as split_remote_key, i as base64_encode } from './chunks/internal-
|
|
1
|
+
import { j as coalesce_to_error, s as get_status, q as get_message, a1 as with_request_store, G as parse, _ as __commonJSMin, E as options, N as set_private_env, O as set_public_env, p as get_hooks, y as noop, u as has_resolution_suffix, t as has_data_suffix, h as base, V as strip_resolution_suffix, U as strip_data_suffix, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, m as decode_pathname, d as add_data_suffix, e as add_resolution_suffix, o as find_route, B as normalize_path, n as disable_search, J as public_env, Z as validate_layout_server_exports, Y as validate_layout_exports, a0 as validate_page_server_exports, $ as validate_page_exports, z as noop_span, M as resolve, K as read_implementation, r as get_relative_path, P as set_read_implementation, F as override, g as assets, L as reset, f as app_dir, l as create_remote_key, v as hash, W as text_encoder, k as compact, D as once, A as normalize_error, x as make_trackable, H as parse_remote_arg, R as stringify, S as stringify$1, Q as split_remote_key, i as base64_encode } from './chunks/internal-fxcuSPWe.js';
|
|
2
2
|
import { aa as uneval, X as readable, ad as writable } from './chunks/dev-yFiAtg5l.js';
|
|
3
3
|
import { j as json, t as text, i as isRedirect, e as error } from './chunks/index-5kYmxIr9.js';
|
|
4
4
|
import { H as HttpError, S as SvelteKitError, R as Redirect, A as ActionFailure } from './chunks/index-DBqjc0Yf.js';
|
|
5
|
-
import { s as set_app } from './chunks/app-
|
|
5
|
+
import { s as set_app } from './chunks/app-MIcRQ3KA.js';
|
|
6
6
|
import 'node:module';
|
|
7
7
|
import 'clsx';
|
|
8
8
|
|
|
@@ -37,7 +37,7 @@ var PAGE_METHODS = [
|
|
|
37
37
|
"HEAD"
|
|
38
38
|
];
|
|
39
39
|
//#endregion
|
|
40
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
40
|
+
//#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/form-utils.js
|
|
41
41
|
/** @import { RemoteForm } from '@sveltejs/kit' */
|
|
42
42
|
/** @import { BinaryFormMeta, InternalRemoteFormIssue } from 'types' */
|
|
43
43
|
/** @import { StandardSchemaV1 } from '@standard-schema/spec' */
|
|
@@ -349,7 +349,7 @@ function deep_set(object, keys, value) {
|
|
|
349
349
|
current[final_key] = value;
|
|
350
350
|
}
|
|
351
351
|
//#endregion
|
|
352
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
352
|
+
//#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/utils/http.js
|
|
353
353
|
/**
|
|
354
354
|
* Given an Accept header and a list of possible content types, pick
|
|
355
355
|
* the most suitable one to respond with
|
|
@@ -405,10 +405,10 @@ function is_form_content_type(request) {
|
|
|
405
405
|
return is_content_type(request, "application/x-www-form-urlencoded", "multipart/form-data", "text/plain", BINARY_FORM_CONTENT_TYPE);
|
|
406
406
|
}
|
|
407
407
|
//#endregion
|
|
408
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
408
|
+
//#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/utils/misc.js
|
|
409
409
|
var s = JSON.stringify;
|
|
410
410
|
//#endregion
|
|
411
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
411
|
+
//#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/utils/escape.js
|
|
412
412
|
/**
|
|
413
413
|
* When inside a double-quoted attribute value, only `&` and `"` hold special meaning.
|
|
414
414
|
* @see https://html.spec.whatwg.org/multipage/parsing.html#attribute-value-(double-quoted)-state
|
|
@@ -444,7 +444,7 @@ function escape_html(str, is_attr) {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
//#endregion
|
|
447
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
447
|
+
//#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/server/utils.js
|
|
448
448
|
/** @import { ServerHooks } from 'types' */
|
|
449
449
|
/**
|
|
450
450
|
* @param {Partial<Record<import('types').HttpMethod, any>>} mod
|
|
@@ -599,7 +599,7 @@ function create_replacer(transport) {
|
|
|
599
599
|
return replacer;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
602
|
+
//#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/utils/promise.js
|
|
603
603
|
/** @see https://github.com/microsoft/TypeScript/blob/904e7dd97dc8da1352c8e05d70829dff17c73214/src/lib/es2024.promise.d.ts */
|
|
604
604
|
/**
|
|
605
605
|
* @template T
|
|
@@ -628,7 +628,7 @@ function with_resolvers() {
|
|
|
628
628
|
};
|
|
629
629
|
}
|
|
630
630
|
//#endregion
|
|
631
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
631
|
+
//#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/server/constants.js
|
|
632
632
|
var NULL_BODY_STATUS = [
|
|
633
633
|
101,
|
|
634
634
|
103,
|
|
@@ -638,7 +638,7 @@ var NULL_BODY_STATUS = [
|
|
|
638
638
|
];
|
|
639
639
|
var IN_WEBCONTAINER = !!globalThis.process?.versions?.webcontainer;
|
|
640
640
|
//#endregion
|
|
641
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
641
|
+
//#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/server/endpoint.js
|
|
642
642
|
/**
|
|
643
643
|
* @param {import('@sveltejs/kit').RequestEvent} event
|
|
644
644
|
* @param {import('types').RequestState} event_state
|
|
@@ -695,14 +695,14 @@ function is_endpoint_request(event) {
|
|
|
695
695
|
return negotiate(event.request.headers.get("accept") ?? "*/*", ["*", "text/html"]) !== "text/html";
|
|
696
696
|
}
|
|
697
697
|
//#endregion
|
|
698
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
698
|
+
//#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/telemetry/record_span.js
|
|
699
699
|
/** @import { RecordSpan } from 'types' */
|
|
700
700
|
/** @type {RecordSpan} */
|
|
701
701
|
async function record_span({ name, attributes, fn }) {
|
|
702
702
|
return fn(noop_span);
|
|
703
703
|
}
|
|
704
704
|
//#endregion
|
|
705
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
705
|
+
//#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/server/page/actions.js
|
|
706
706
|
/** @import { RequestEvent, ActionResult, Actions } from '@sveltejs/kit' */
|
|
707
707
|
/** @import { SSROptions, SSRNode, ServerNode, ServerHooks } from 'types' */
|
|
708
708
|
/** @param {RequestEvent} event */
|
|
@@ -901,7 +901,7 @@ function try_serialize(data, fn, route_id) {
|
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
903
|
//#endregion
|
|
904
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
904
|
+
//#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/utils/streaming.js
|
|
905
905
|
/**
|
|
906
906
|
* Create an async iterator and a function to push values into it
|
|
907
907
|
* @template T
|
|
@@ -940,7 +940,7 @@ function create_async_iterator() {
|
|
|
940
940
|
};
|
|
941
941
|
}
|
|
942
942
|
//#endregion
|
|
943
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
943
|
+
//#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/server/page/data_serializer.js
|
|
944
944
|
/**
|
|
945
945
|
* If the serialized data contains promises, `chunks` will be an
|
|
946
946
|
* async iterable containing their resolutions
|
|
@@ -1099,7 +1099,7 @@ function server_data_serializer_json(event, event_state, options) {
|
|
|
1099
1099
|
};
|
|
1100
1100
|
}
|
|
1101
1101
|
//#endregion
|
|
1102
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
1102
|
+
//#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/server/page/load_data.js
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Calls the user's server `load` function.
|
|
1105
1105
|
* @param {{
|
|
@@ -1389,7 +1389,7 @@ async function stream_to_string(stream) {
|
|
|
1389
1389
|
return result;
|
|
1390
1390
|
}
|
|
1391
1391
|
//#endregion
|
|
1392
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
1392
|
+
//#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/server/page/serialize_data.js
|
|
1393
1393
|
/**
|
|
1394
1394
|
* Inside a script element, only `<\/script` and `<!--` hold special meaning to the HTML parser.
|
|
1395
1395
|
*
|
|
@@ -1469,7 +1469,7 @@ function serialize_data(fetched, filter, prerendering = false) {
|
|
|
1469
1469
|
return `<script ${attrs.join(" ")}>${safe_payload}<\/script>`;
|
|
1470
1470
|
}
|
|
1471
1471
|
//#endregion
|
|
1472
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
1472
|
+
//#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/server/page/crypto.js
|
|
1473
1473
|
/**
|
|
1474
1474
|
* SHA-256 hashing function adapted from https://bitwiseshiftleft.github.io/sjcl
|
|
1475
1475
|
* modified and redistributed under BSD license
|
|
@@ -1574,7 +1574,7 @@ function encode(str) {
|
|
|
1574
1574
|
return words;
|
|
1575
1575
|
}
|
|
1576
1576
|
//#endregion
|
|
1577
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
1577
|
+
//#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/server/page/csp.js
|
|
1578
1578
|
var array = new Uint8Array(16);
|
|
1579
1579
|
function generate_nonce() {
|
|
1580
1580
|
crypto.getRandomValues(array);
|
|
@@ -1782,7 +1782,7 @@ var Csp = class {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
};
|
|
1784
1784
|
//#endregion
|
|
1785
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
1785
|
+
//#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/server/page/server_routing.js
|
|
1786
1786
|
/**
|
|
1787
1787
|
* @param {import('types').SSRClientRoute} route
|
|
1788
1788
|
* @param {URL} url
|
|
@@ -1877,7 +1877,7 @@ function create_css_import(route, url, manifest) {
|
|
|
1877
1877
|
return `${create_client_import(manifest._.client.start, url)}.then(x => x.load_css([${css}]));`;
|
|
1878
1878
|
}
|
|
1879
1879
|
//#endregion
|
|
1880
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
1880
|
+
//#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/server/page/render.js
|
|
1881
1881
|
var updated = {
|
|
1882
1882
|
...readable(false),
|
|
1883
1883
|
check: () => false
|
|
@@ -2331,7 +2331,7 @@ var Head = class {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
};
|
|
2333
2333
|
//#endregion
|
|
2334
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
2334
|
+
//#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/utils/page_nodes.js
|
|
2335
2335
|
var PageNodes = class {
|
|
2336
2336
|
/** All layout nodes and the page node, if any */
|
|
2337
2337
|
data;
|
|
@@ -2399,7 +2399,7 @@ var PageNodes = class {
|
|
|
2399
2399
|
}
|
|
2400
2400
|
};
|
|
2401
2401
|
//#endregion
|
|
2402
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
2402
|
+
//#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/server/page/respond_with_error.js
|
|
2403
2403
|
/**
|
|
2404
2404
|
* @typedef {import('./types.js').Loaded} Loaded
|
|
2405
2405
|
*/
|
|
@@ -2487,7 +2487,7 @@ async function respond_with_error({ event, event_state, options, manifest, state
|
|
|
2487
2487
|
}
|
|
2488
2488
|
}
|
|
2489
2489
|
//#endregion
|
|
2490
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
2490
|
+
//#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/server/remote.js
|
|
2491
2491
|
/** @import { ActionResult, RemoteForm, RequestEvent, SSRManifest } from '@sveltejs/kit' */
|
|
2492
2492
|
/** @import { RemoteFormInternals, RemoteFunctionResponse, RemoteInternals, RequestState, SSROptions } from 'types' */
|
|
2493
2493
|
/** @type {typeof handle_remote_call_internal} */
|
|
@@ -2770,7 +2770,7 @@ function get_remote_action(url) {
|
|
|
2770
2770
|
return url.searchParams.get("/remote");
|
|
2771
2771
|
}
|
|
2772
2772
|
//#endregion
|
|
2773
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
2773
|
+
//#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/server/page/index.js
|
|
2774
2774
|
/** @import { ActionResult, RequestEvent, SSRManifest } from '@sveltejs/kit' */
|
|
2775
2775
|
/** @import { PageNodeIndexes, RequestState, RequiredResolveOptions, ServerDataNode, SSRComponent, SSRNode, SSROptions, SSRState } from 'types' */
|
|
2776
2776
|
/**
|
|
@@ -3033,7 +3033,7 @@ async function load_error_components(options, ssr, branch, page, manifest) {
|
|
|
3033
3033
|
return error_components;
|
|
3034
3034
|
}
|
|
3035
3035
|
//#endregion
|
|
3036
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
3036
|
+
//#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/server/data/index.js
|
|
3037
3037
|
/**
|
|
3038
3038
|
* @param {import('@sveltejs/kit').RequestEvent} event
|
|
3039
3039
|
* @param {import('types').RequestState} event_state
|
|
@@ -3146,7 +3146,7 @@ function redirect_json_response(redirect) {
|
|
|
3146
3146
|
* MIT Licensed
|
|
3147
3147
|
*/
|
|
3148
3148
|
//#endregion
|
|
3149
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
3149
|
+
//#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/server/cookie.js
|
|
3150
3150
|
var import_cookie = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3151
3151
|
/**
|
|
3152
3152
|
* Module exports.
|
|
@@ -3723,7 +3723,7 @@ parseSetCookie.parse = parseSetCookie;
|
|
|
3723
3723
|
parseSetCookie.parseString = parseString;
|
|
3724
3724
|
parseSetCookie.splitCookiesString = splitCookiesString;
|
|
3725
3725
|
//#endregion
|
|
3726
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
3726
|
+
//#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/server/fetch.js
|
|
3727
3727
|
/**
|
|
3728
3728
|
* @param {{
|
|
3729
3729
|
* event: import('@sveltejs/kit').RequestEvent;
|
|
@@ -3852,7 +3852,7 @@ async function internal_fetch(request, options, manifest, state) {
|
|
|
3852
3852
|
});
|
|
3853
3853
|
}
|
|
3854
3854
|
//#endregion
|
|
3855
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
3855
|
+
//#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/server/env_module.js
|
|
3856
3856
|
/** @type {string} */
|
|
3857
3857
|
var body;
|
|
3858
3858
|
/** @type {string} */
|
|
@@ -3877,7 +3877,7 @@ function get_public_env(request) {
|
|
|
3877
3877
|
return new Response(body, { headers });
|
|
3878
3878
|
}
|
|
3879
3879
|
//#endregion
|
|
3880
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
3880
|
+
//#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/server/respond.js
|
|
3881
3881
|
/** @import { RequestState, SSRNode } from 'types' */
|
|
3882
3882
|
/** @type {import('types').RequiredResolveOptions['transformPageChunk']} */
|
|
3883
3883
|
var default_transform = ({ html }) => html;
|
|
@@ -4334,7 +4334,7 @@ function propagate_context(fn) {
|
|
|
4334
4334
|
};
|
|
4335
4335
|
}
|
|
4336
4336
|
//#endregion
|
|
4337
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
4337
|
+
//#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/utils/env.js
|
|
4338
4338
|
/**
|
|
4339
4339
|
* @param {Record<string, string>} env
|
|
4340
4340
|
* @param {string} allowed
|
|
@@ -4345,7 +4345,7 @@ function filter_env(env, allowed, disallowed) {
|
|
|
4345
4345
|
return Object.fromEntries(Object.entries(env).filter(([k]) => k.startsWith(allowed) && (disallowed === "" || !k.startsWith(disallowed))));
|
|
4346
4346
|
}
|
|
4347
4347
|
//#endregion
|
|
4348
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-
|
|
4348
|
+
//#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/server/index.js
|
|
4349
4349
|
/** @import { PromiseWithResolvers } from '../../utils/promise.js' */
|
|
4350
4350
|
/** @type {Promise<any>} */
|
|
4351
4351
|
var init_promise;
|