fix(products): fix breadcrumbs and product filtering (backport from main)
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled

This commit is contained in:
2026-02-24 16:04:21 +01:00
parent 915eb61613
commit 5397309103
43805 changed files with 4324295 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
/**
* @license lucide-react v0.441.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
export { default } from './arrow-down-1-0.js';
//# sourceMappingURL=arrow-down-10.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"navigation-2-off.js","sources":["../../../src/icons/navigation-2-off.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name Navigation2Off\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNOS4zMSA5LjMxIDUgMjFsNy00IDcgNC0xLjE3LTMuMTciIC8+CiAgPHBhdGggZD0iTTE0LjUzIDguODggMTIgMmwtMS4xNyAzLjE3IiAvPgogIDxsaW5lIHgxPSIyIiB4Mj0iMjIiIHkxPSIyIiB5Mj0iMjIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/navigation-2-off\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Navigation2Off = createLucideIcon('Navigation2Off', [\n ['path', { d: 'M9.31 9.31 5 21l7-4 7 4-1.17-3.17', key: 'qoq2o2' }],\n ['path', { d: 'M14.53 8.88 12 2l-1.17 3.17', key: 'k3sjzy' }],\n ['line', { x1: '2', x2: '22', y1: '2', y2: '22', key: 'a6p6uj' }],\n]);\n\nexport default Navigation2Off;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAiB,iBAAiB,gBAAkB,CAAA,CAAA,CAAA;AAAA,CAAA,CACxD,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAqC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CAClE,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAA+B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAC5D,CAAA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAE,CAAA,CAAA,CAAA,EAAI,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAI,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAM,EAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA;AAClE,CAAC,CAAA,CAAA;;"}

View File

@@ -0,0 +1 @@
Prism.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},Prism.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:Prism.languages.rescript}},string:/[\s\S]+/}}}),Prism.languages.res=Prism.languages.rescript;

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","names":["React","useState","v4","uuid","DefaultBlockImage","patternID","_jsxs","fill","height","preserveAspectRatio","viewBox","width","xmlns","clipPath","_jsx","rx","transform","x","y","cx","cy","r","id"],"sources":["../../../src/graphics/DefaultBlockImage/index.tsx"],"sourcesContent":["import React, { useState } from 'react'\nimport { v4 as uuid } from 'uuid'\n\nexport const DefaultBlockImage: React.FC = () => {\n const [patternID] = useState(() => `pattern${uuid()}`)\n\n return (\n <svg\n fill=\"none\"\n height=\"151\"\n preserveAspectRatio=\"xMidYMid slice\"\n viewBox=\"0 0 231 151\"\n width=\"231\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clipPath={`url(#${patternID})`}>\n <rect fill=\"#D9D9D9\" height=\"100%\" rx=\"2\" width=\"100%\" />\n <rect\n fill=\"#BCBCBC\"\n height=\"116.063\"\n transform=\"rotate(52.0687 33.7051 79.3051)\"\n width=\"85.8593\"\n x=\"33.7051\"\n y=\"79.3051\"\n />\n <rect\n fill=\"#BCBCBC\"\n height=\"116.063\"\n transform=\"rotate(52.0687 86.1219 92.6272)\"\n width=\"85.8593\"\n x=\"86.1219\"\n y=\"92.6272\"\n />\n <circle cx=\"189\" cy=\"45\" fill=\"#BCBCBC\" r=\"19\" />\n <rect fill=\"#B8B8B8\" height=\"5\" rx=\"2.5\" width=\"98\" x=\"66\" y=\"70\" />\n <rect fill=\"#B8B8B8\" height=\"5\" rx=\"2.5\" width=\"76\" x=\"77\" y=\"82\" />\n </g>\n <defs>\n <clipPath id={`${patternID}`}>\n <rect fill=\"white\" height=\"151\" width=\"231\" />\n </clipPath>\n </defs>\n </svg>\n )\n}\n"],"mappings":";AAAA,OAAOA,KAAA,IAASC,QAAQ,QAAQ;AAChC,SAASC,EAAA,IAAMC,IAAI,QAAQ;AAE3B,OAAO,MAAMC,iBAAA,GAA8BA,CAAA;EACzC,MAAM,CAACC,SAAA,CAAU,GAAGJ,QAAA,CAAS,MAAM,UAAUE,IAAA,IAAQ;EAErD,oBACEG,KAAA,CAAC;IACCC,IAAA,EAAK;IACLC,MAAA,EAAO;IACPC,mBAAA,EAAoB;IACpBC,OAAA,EAAQ;IACRC,KAAA,EAAM;IACNC,KAAA,EAAM;4BAENN,KAAA,CAAC;MAAEO,QAAA,EAAU,QAAQR,SAAA,GAAY;8BAC/BS,IAAA,CAAC;QAAKP,IAAA,EAAK;QAAUC,MAAA,EAAO;QAAOO,EAAA,EAAG;QAAIJ,KAAA,EAAM;uBAChDG,IAAA,CAAC;QACCP,IAAA,EAAK;QACLC,MAAA,EAAO;QACPQ,SAAA,EAAU;QACVL,KAAA,EAAM;QACNM,CAAA,EAAE;QACFC,CAAA,EAAE;uBAEJJ,IAAA,CAAC;QACCP,IAAA,EAAK;QACLC,MAAA,EAAO;QACPQ,SAAA,EAAU;QACVL,KAAA,EAAM;QACNM,CAAA,EAAE;QACFC,CAAA,EAAE;uBAEJJ,IAAA,CAAC;QAAOK,EAAA,EAAG;QAAMC,EAAA,EAAG;QAAKb,IAAA,EAAK;QAAUc,CAAA,EAAE;uBAC1CP,IAAA,CAAC;QAAKP,IAAA,EAAK;QAAUC,MAAA,EAAO;QAAIO,EAAA,EAAG;QAAMJ,KAAA,EAAM;QAAKM,CAAA,EAAE;QAAKC,CAAA,EAAE;uBAC7DJ,IAAA,CAAC;QAAKP,IAAA,EAAK;QAAUC,MAAA,EAAO;QAAIO,EAAA,EAAG;QAAMJ,KAAA,EAAM;QAAKM,CAAA,EAAE;QAAKC,CAAA,EAAE;;qBAE/DJ,IAAA,CAAC;gBACC,aAAAA,IAAA,CAAC;QAASQ,EAAA,EAAI,GAAGjB,SAAA,EAAW;kBAC1B,aAAAS,IAAA,CAAC;UAAKP,IAAA,EAAK;UAAQC,MAAA,EAAO;UAAMG,KAAA,EAAM;;;;;AAKhD","ignoreList":[]}

View File

@@ -0,0 +1,3 @@
'use strict';
module.exports = require('./async').mapValuesLimit;

View File

@@ -0,0 +1,33 @@
"use strict";
exports.subHours = subHours;
var _index = require("./addHours.cjs");
/**
* The {@link subHours} function options.
*/
/**
* @name subHours
* @category Hour Helpers
* @summary Subtract the specified number of hours from the given date.
*
* @description
* Subtract the specified number of hours from the given date.
*
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
* @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
*
* @param date - The date to be changed
* @param amount - The amount of hours to be subtracted.
* @param options - The options
*
* @returns The new date with the hours subtracted
*
* @example
* // Subtract 2 hours from 11 July 2014 01:00:00:
* const result = subHours(new Date(2014, 6, 11, 1, 0), 2)
* //=> Thu Jul 10 2014 23:00:00
*/
function subHours(date, amount, options) {
return (0, _index.addHours)(date, -amount, options);
}

View File

@@ -0,0 +1,62 @@
'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import React, { useEffect, useRef, useState } from 'react';
import { useDebounce } from '../../hooks/useDebounce.js';
import './index.scss';
const baseClass = 'search-filter';
export function SearchFilter(props) {
const {
handleChange,
initialParams,
label,
searchQueryParam
} = props;
const searchParam = initialParams?.search || searchQueryParam;
const [search, setSearch] = useState(typeof searchParam === 'string' ? searchParam : undefined);
/**
* Tracks whether the state should be updated based on the search value.
* If the value is updated from the URL, we don't want to update the state as it causes additional renders.
*/
const shouldUpdateState = useRef(true);
/**
* Tracks the previous search value to compare with the current debounced search value.
*/
const previousSearch = useRef(typeof searchParam === 'string' ? searchParam : undefined);
const debouncedSearch = useDebounce(search, 300);
useEffect(() => {
if (searchParam !== previousSearch.current) {
shouldUpdateState.current = false;
setSearch(searchParam);
previousSearch.current = searchParam;
}
return () => {
shouldUpdateState.current = true;
previousSearch.current = undefined;
};
}, [searchParam]);
useEffect(() => {
if (debouncedSearch !== previousSearch.current && shouldUpdateState.current) {
if (handleChange) {
handleChange(debouncedSearch);
}
previousSearch.current = debouncedSearch;
}
}, [debouncedSearch, handleChange]);
return /*#__PURE__*/_jsx("div", {
className: baseClass,
children: /*#__PURE__*/_jsx("input", {
"aria-label": label,
className: `${baseClass}__input`,
id: "search-filter-input",
onChange: e => {
shouldUpdateState.current = true;
setSearch(e.target.value);
},
placeholder: label,
type: "text",
value: search || ''
})
});
}
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1,24 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = rng;
var _crypto = _interopRequireDefault(require("crypto"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
let poolPtr = rnds8Pool.length;
function rng() {
if (poolPtr > rnds8Pool.length - 16) {
_crypto.default.randomFillSync(rnds8Pool);
poolPtr = 0;
}
return rnds8Pool.slice(poolPtr, poolPtr += 16);
}

View File

@@ -0,0 +1,11 @@
# @esbuild-kit/core-utils
Core utility functions used by [@esbuild-kit/cjs-loader](https://github.com/esbuild-kit/cjs-loader) and [@esbuild-kit/esm-loader](https://github.com/esbuild-kit/esm-loader).
## Library
### esbuild
Transform defaults, caching, and source-map handling.
### Source map support
Uses [native source-map](https://nodejs.org/api/process.html#processsetsourcemapsenabledval) if available, fallsback to [source-map-support](https://www.npmjs.com/package/source-map-support).

View File

@@ -0,0 +1,74 @@
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const makeSerializable = require("../util/makeSerializable");
const ImportDependency = require("./ImportDependency");
/** @typedef {import("webpack-sources").ReplaceSource} ReplaceSource */
/** @typedef {import("../Dependency")} Dependency */
/** @typedef {import("../DependencyTemplate").DependencyTemplateContext} DependencyTemplateContext */
/** @typedef {import("../Module")} Module */
/** @typedef {import("../Module").BuildMeta} BuildMeta */
/** @typedef {import("../javascript/JavascriptParser").ImportAttributes} ImportAttributes */
/** @typedef {import("../javascript/JavascriptParser").Range} Range */
/** @typedef {ImportDependency.RawReferencedExports} RawReferencedExports */
/** @typedef {import("./ImportPhase").ImportPhaseType} ImportPhaseType */
class ImportWeakDependency extends ImportDependency {
/**
* @param {string} request the request
* @param {Range} range expression range
* @param {RawReferencedExports | null} referencedExports list of referenced exports
* @param {ImportPhaseType} phase import phase
* @param {ImportAttributes=} attributes import attributes
*/
constructor(request, range, referencedExports, phase, attributes) {
super(request, range, referencedExports, phase, attributes);
this.weak = true;
}
get type() {
return "import() weak";
}
}
makeSerializable(
ImportWeakDependency,
"webpack/lib/dependencies/ImportWeakDependency"
);
ImportWeakDependency.Template = class ImportDependencyTemplate extends (
ImportDependency.Template
) {
/**
* @param {Dependency} dependency the dependency for which the template should be applied
* @param {ReplaceSource} source the current replace source which can be modified
* @param {DependencyTemplateContext} templateContext the context object
* @returns {void}
*/
apply(
dependency,
source,
{ runtimeTemplate, module, moduleGraph, chunkGraph, runtimeRequirements }
) {
const dep = /** @type {ImportWeakDependency} */ (dependency);
const content = runtimeTemplate.moduleNamespacePromise({
chunkGraph,
module: /** @type {Module} */ (moduleGraph.getModule(dep)),
request: dep.request,
strict: /** @type {BuildMeta} */ (module.buildMeta).strictHarmonyModule,
message: "import() weak",
weak: true,
dependency: dep,
runtimeRequirements
});
source.replace(dep.range[0], dep.range[1] - 1, content);
}
};
module.exports = ImportWeakDependency;

View File

@@ -0,0 +1,158 @@
"use strict";
exports.localize = void 0;
var _index = require("../../_lib/buildLocalizeFn.js");
const eraValues = {
narrow: ["пр.н.е.", "н.е."],
abbreviated: ["преди н. е.", "н. е."],
wide: ["преди новата ера", "новата ера"],
};
const quarterValues = {
narrow: ["1", "2", "3", "4"],
abbreviated: ["1-во тримес.", "2-ро тримес.", "3-то тримес.", "4-то тримес."],
wide: [
"1-во тримесечие",
"2-ро тримесечие",
"3-то тримесечие",
"4-то тримесечие",
],
};
const monthValues = {
abbreviated: [
"яну",
"фев",
"мар",
"апр",
"май",
"юни",
"юли",
"авг",
"сеп",
"окт",
"ное",
"дек",
],
wide: [
"януари",
"февруари",
"март",
"април",
"май",
"юни",
"юли",
"август",
"септември",
"октомври",
"ноември",
"декември",
],
};
const dayValues = {
narrow: ["Н", "П", "В", "С", "Ч", "П", "С"],
short: ["нд", "пн", "вт", "ср", "чт", "пт", "сб"],
abbreviated: ["нед", "пон", "вто", "сря", "чет", "пет", "съб"],
wide: [
"неделя",
"понеделник",
"вторник",
"сряда",
"четвъртък",
"петък",
"събота",
],
};
const dayPeriodValues = {
wide: {
am: "преди обяд",
pm: "след обяд",
midnight: "в полунощ",
noon: "на обяд",
morning: "сутринта",
afternoon: "следобед",
evening: "вечерта",
night: "през нощта",
},
};
function isFeminine(unit) {
return (
unit === "year" || unit === "week" || unit === "minute" || unit === "second"
);
}
function isNeuter(unit) {
return unit === "quarter";
}
function numberWithSuffix(number, unit, masculine, feminine, neuter) {
const suffix = isNeuter(unit)
? neuter
: isFeminine(unit)
? feminine
: masculine;
return number + "-" + suffix;
}
const ordinalNumber = (dirtyNumber, options) => {
const number = Number(dirtyNumber);
const unit = options?.unit;
if (number === 0) {
return numberWithSuffix(0, unit, "ев", "ева", "ево");
} else if (number % 1000 === 0) {
return numberWithSuffix(number, unit, "ен", "на", "но");
} else if (number % 100 === 0) {
return numberWithSuffix(number, unit, "тен", "тна", "тно");
}
const rem100 = number % 100;
if (rem100 > 20 || rem100 < 10) {
switch (rem100 % 10) {
case 1:
return numberWithSuffix(number, unit, "ви", "ва", "во");
case 2:
return numberWithSuffix(number, unit, "ри", "ра", "ро");
case 7:
case 8:
return numberWithSuffix(number, unit, "ми", "ма", "мо");
}
}
return numberWithSuffix(number, unit, "ти", "та", "то");
};
const localize = (exports.localize = {
ordinalNumber,
era: (0, _index.buildLocalizeFn)({
values: eraValues,
defaultWidth: "wide",
}),
quarter: (0, _index.buildLocalizeFn)({
values: quarterValues,
defaultWidth: "wide",
argumentCallback: (quarter) => quarter - 1,
}),
month: (0, _index.buildLocalizeFn)({
values: monthValues,
defaultWidth: "wide",
}),
day: (0, _index.buildLocalizeFn)({
values: dayValues,
defaultWidth: "wide",
}),
dayPeriod: (0, _index.buildLocalizeFn)({
values: dayPeriodValues,
defaultWidth: "wide",
}),
});

View File

@@ -0,0 +1,45 @@
import type {CodeKeywordDefinition, KeywordCxt, JSONSchemaType, Name} from "ajv"
import {_} from "ajv/dist/compile/codegen"
import {usePattern} from "./_util"
interface RegexpSchema {
pattern: string
flags?: string
}
const regexpMetaSchema: JSONSchemaType<RegexpSchema> = {
type: "object",
properties: {
pattern: {type: "string"},
flags: {type: "string", nullable: true},
},
required: ["pattern"],
additionalProperties: false,
}
const metaRegexp = /^\/(.*)\/([gimuy]*)$/
export default function getDef(): CodeKeywordDefinition {
return {
keyword: "regexp",
type: "string",
schemaType: ["string", "object"],
code(cxt: KeywordCxt) {
const {data, schema} = cxt
const regx = getRegExp(schema)
cxt.pass(_`${regx}.test(${data})`)
function getRegExp(sch: string | RegexpSchema): Name {
if (typeof sch == "object") return usePattern(cxt, sch.pattern, sch.flags)
const rx = metaRegexp.exec(sch)
if (rx) return usePattern(cxt, rx[1], rx[2])
throw new Error("cannot parse string into RegExp")
}
},
metaSchema: {
anyOf: [{type: "string"}, regexpMetaSchema],
},
}
}
module.exports = getDef

View File

@@ -0,0 +1,173 @@
export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, AnyValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
export { SchemaCxt, SchemaObjCxt } from "./compile";
export interface Plugin<Opts> {
(ajv: Ajv, options?: Opts): Ajv;
[prop: string]: any;
}
export { KeywordCxt } from "./compile/validate";
export { DefinedError } from "./vocabularies/errors";
export { JSONType } from "./compile/rules";
export { JSONSchemaType } from "./types/json-schema";
export { JTDSchemaType, SomeJTDSchemaType, JTDDataType } from "./types/jtd-schema";
export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen";
import type { Schema, AnySchema, AnySchemaObject, SchemaObject, AsyncSchema, Vocabulary, KeywordDefinition, AddedKeywordDefinition, AnyValidateFunction, ValidateFunction, AsyncValidateFunction, ErrorObject, Format, AddedFormat, RegExpEngine, UriResolver } from "./types";
import type { JSONSchemaType } from "./types/json-schema";
import type { JTDSchemaType, SomeJTDSchemaType, JTDDataType } from "./types/jtd-schema";
import ValidationError from "./runtime/validation_error";
import MissingRefError from "./compile/ref_error";
import { ValidationRules } from "./compile/rules";
import { SchemaEnv } from "./compile";
import { Code, ValueScope } from "./compile/codegen";
export type Options = CurrentOptions & DeprecatedOptions;
export interface CurrentOptions {
strict?: boolean | "log";
strictSchema?: boolean | "log";
strictNumbers?: boolean | "log";
strictTypes?: boolean | "log";
strictTuples?: boolean | "log";
strictRequired?: boolean | "log";
allowMatchingProperties?: boolean;
allowUnionTypes?: boolean;
validateFormats?: boolean;
$data?: boolean;
allErrors?: boolean;
verbose?: boolean;
discriminator?: boolean;
unicodeRegExp?: boolean;
timestamp?: "string" | "date";
parseDate?: boolean;
allowDate?: boolean;
$comment?: true | ((comment: string, schemaPath?: string, rootSchema?: AnySchemaObject) => unknown);
formats?: {
[Name in string]?: Format;
};
keywords?: Vocabulary;
schemas?: AnySchema[] | {
[Key in string]?: AnySchema;
};
logger?: Logger | false;
loadSchema?: (uri: string) => Promise<AnySchemaObject>;
removeAdditional?: boolean | "all" | "failing";
useDefaults?: boolean | "empty";
coerceTypes?: boolean | "array";
next?: boolean;
unevaluated?: boolean;
dynamicRef?: boolean;
schemaId?: "id" | "$id";
jtd?: boolean;
meta?: SchemaObject | boolean;
defaultMeta?: string | AnySchemaObject;
validateSchema?: boolean | "log";
addUsedSchema?: boolean;
inlineRefs?: boolean | number;
passContext?: boolean;
loopRequired?: number;
loopEnum?: number;
ownProperties?: boolean;
multipleOfPrecision?: number;
int32range?: boolean;
messages?: boolean;
code?: CodeOptions;
uriResolver?: UriResolver;
}
export interface CodeOptions {
es5?: boolean;
esm?: boolean;
lines?: boolean;
optimize?: boolean | number;
formats?: Code;
source?: boolean;
process?: (code: string, schema?: SchemaEnv) => string;
regExp?: RegExpEngine;
}
interface InstanceCodeOptions extends CodeOptions {
regExp: RegExpEngine;
optimize: number;
}
interface DeprecatedOptions {
/** @deprecated */
ignoreKeywordsWithRef?: boolean;
/** @deprecated */
jsPropertySyntax?: boolean;
/** @deprecated */
unicode?: boolean;
}
type RequiredInstanceOptions = {
[K in "strictSchema" | "strictNumbers" | "strictTypes" | "strictTuples" | "strictRequired" | "inlineRefs" | "loopRequired" | "loopEnum" | "meta" | "messages" | "schemaId" | "addUsedSchema" | "validateSchema" | "validateFormats" | "int32range" | "unicodeRegExp" | "uriResolver"]: NonNullable<Options[K]>;
} & {
code: InstanceCodeOptions;
};
export type InstanceOptions = Options & RequiredInstanceOptions;
export interface Logger {
log(...args: unknown[]): unknown;
warn(...args: unknown[]): unknown;
error(...args: unknown[]): unknown;
}
export default class Ajv {
opts: InstanceOptions;
errors?: ErrorObject[] | null;
logger: Logger;
readonly scope: ValueScope;
readonly schemas: {
[Key in string]?: SchemaEnv;
};
readonly refs: {
[Ref in string]?: SchemaEnv | string;
};
readonly formats: {
[Name in string]?: AddedFormat;
};
readonly RULES: ValidationRules;
readonly _compilations: Set<SchemaEnv>;
private readonly _loading;
private readonly _cache;
private readonly _metaOpts;
static ValidationError: typeof ValidationError;
static MissingRefError: typeof MissingRefError;
constructor(opts?: Options);
_addVocabularies(): void;
_addDefaultMetaSchema(): void;
defaultMeta(): string | AnySchemaObject | undefined;
validate(schema: Schema | string, data: unknown): boolean;
validate(schemaKeyRef: AnySchema | string, data: unknown): boolean | Promise<unknown>;
validate<T>(schema: Schema | JSONSchemaType<T> | string, data: unknown): data is T;
validate<T>(schema: JTDSchemaType<T>, data: unknown): data is T;
validate<N extends never, T extends SomeJTDSchemaType>(schema: T, data: unknown): data is JTDDataType<T>;
validate<T>(schema: AsyncSchema, data: unknown | T): Promise<T>;
validate<T>(schemaKeyRef: AnySchema | string, data: unknown): data is T | Promise<T>;
compile<T = unknown>(schema: Schema | JSONSchemaType<T>, _meta?: boolean): ValidateFunction<T>;
compile<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): ValidateFunction<T>;
compile<N extends never, T extends SomeJTDSchemaType>(schema: T, _meta?: boolean): ValidateFunction<JTDDataType<T>>;
compile<T = unknown>(schema: AsyncSchema, _meta?: boolean): AsyncValidateFunction<T>;
compile<T = unknown>(schema: AnySchema, _meta?: boolean): AnyValidateFunction<T>;
compileAsync<T = unknown>(schema: SchemaObject | JSONSchemaType<T>, _meta?: boolean): Promise<ValidateFunction<T>>;
compileAsync<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): Promise<ValidateFunction<T>>;
compileAsync<T = unknown>(schema: AsyncSchema, meta?: boolean): Promise<AsyncValidateFunction<T>>;
compileAsync<T = unknown>(schema: AnySchemaObject, meta?: boolean): Promise<AnyValidateFunction<T>>;
addSchema(schema: AnySchema | AnySchema[], // If array is passed, `key` will be ignored
key?: string, // Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.
_meta?: boolean, // true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.
_validateSchema?: boolean | "log"): Ajv;
addMetaSchema(schema: AnySchemaObject, key?: string, // schema key
_validateSchema?: boolean | "log"): Ajv;
validateSchema(schema: AnySchema, throwOrLogError?: boolean): boolean | Promise<unknown>;
getSchema<T = unknown>(keyRef: string): AnyValidateFunction<T> | undefined;
removeSchema(schemaKeyRef?: AnySchema | string | RegExp): Ajv;
addVocabulary(definitions: Vocabulary): Ajv;
addKeyword(kwdOrDef: string | KeywordDefinition, def?: KeywordDefinition): Ajv;
getKeyword(keyword: string): AddedKeywordDefinition | boolean;
removeKeyword(keyword: string): Ajv;
addFormat(name: string, format: Format): Ajv;
errorsText(errors?: ErrorObject[] | null | undefined, // optional array of validation errors
{ separator, dataVar }?: ErrorsTextOptions): string;
$dataMetaSchema(metaSchema: AnySchemaObject, keywordsJsonPointers: string[]): AnySchemaObject;
private _removeAllSchemas;
_addSchema(schema: AnySchema, meta?: boolean, baseId?: string, validateSchema?: boolean | "log", addSchema?: boolean): SchemaEnv;
private _checkUnique;
private _compileSchemaEnv;
private _compileMetaSchema;
}
export interface ErrorsTextOptions {
separator?: string;
dataVar?: string;
}

View File

@@ -0,0 +1,99 @@
{
"name": "@rollup/pluginutils",
"version": "5.3.0",
"publishConfig": {
"access": "public"
},
"description": "A set of utility functions commonly used by Rollup plugins",
"license": "MIT",
"repository": {
"url": "rollup/plugins",
"directory": "packages/pluginutils"
},
"author": "Rich Harris <richard.a.harris@gmail.com>",
"homepage": "https://github.com/rollup/plugins/tree/master/packages/pluginutils#readme",
"bugs": {
"url": "https://github.com/rollup/plugins/issues"
},
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"type": "commonjs",
"exports": {
"types": "./types/index.d.ts",
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
"engines": {
"node": ">=14.0.0"
},
"files": [
"dist",
"!dist/**/*.map",
"types",
"README.md",
"LICENSE"
],
"keywords": [
"rollup",
"plugin",
"utils"
],
"peerDependencies": {
"rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
},
"peerDependenciesMeta": {
"rollup": {
"optional": true
}
},
"dependencies": {
"@types/estree": "^1.0.0",
"estree-walker": "^2.0.2",
"picomatch": "^4.0.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^23.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^9.0.1",
"@types/node": "^14.18.30",
"@types/picomatch": "^2.3.0",
"acorn": "^8.8.0",
"rollup": "^4.0.0-24",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"workerThreads": false,
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"nyc": {
"extension": [
".js",
".ts"
]
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prerelease": "pnpm build",
"pretest": "pnpm build --sourcemap",
"release": "pnpm --workspace-root package:release $(pwd)",
"test": "ava",
"test:ts": "tsc --noEmit"
}
}

View File

@@ -0,0 +1 @@
{"version":3,"file":"file-chart-column.js","sources":["../../../src/icons/file-chart-column.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name FileChartColumn\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTUgMkg2YTIgMiAwIDAgMC0yIDJ2MTZhMiAyIDAgMCAwIDIgMmgxMmEyIDIgMCAwIDAgMi0yVjdaIiAvPgogIDxwYXRoIGQ9Ik0xNCAydjRhMiAyIDAgMCAwIDIgMmg0IiAvPgogIDxwYXRoIGQ9Ik04IDE4di0xIiAvPgogIDxwYXRoIGQ9Ik0xMiAxOHYtNiIgLz4KICA8cGF0aCBkPSJNMTYgMTh2LTMiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/file-chart-column\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FileChartColumn = createLucideIcon('FileChartColumn', [\n ['path', { d: 'M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z', key: '1rqfz7' }],\n ['path', { d: 'M14 2v4a2 2 0 0 0 2 2h4', key: 'tnqrlb' }],\n ['path', { d: 'M8 18v-1', key: 'zg0ygc' }],\n ['path', { d: 'M12 18v-6', key: '17g6i2' }],\n ['path', { d: 'M16 18v-3', key: 'j5jt4h' }],\n]);\n\nexport default FileChartColumn;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAkB,iBAAiB,iBAAmB,CAAA,CAAA,CAAA;AAAA,CAAA,CAC1D,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAA8D,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CAC3F,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAA2B,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACxD,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACzC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CAC1C,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA;AAC5C,CAAC,CAAA,CAAA;;"}

View File

@@ -0,0 +1,54 @@
import { entityKind } from "../entity.js";
import { TableName } from "../table.utils.js";
function unique(name) {
return new UniqueOnConstraintBuilder(name);
}
function uniqueKeyName(table, columns) {
return `${table[TableName]}_${columns.join("_")}_unique`;
}
class UniqueConstraintBuilder {
constructor(columns, name) {
this.name = name;
this.columns = columns;
}
static [entityKind] = "SingleStoreUniqueConstraintBuilder";
/** @internal */
columns;
/** @internal */
build(table) {
return new UniqueConstraint(table, this.columns, this.name);
}
}
class UniqueOnConstraintBuilder {
static [entityKind] = "SingleStoreUniqueOnConstraintBuilder";
/** @internal */
name;
constructor(name) {
this.name = name;
}
on(...columns) {
return new UniqueConstraintBuilder(columns, this.name);
}
}
class UniqueConstraint {
constructor(table, columns, name) {
this.table = table;
this.columns = columns;
this.name = name ?? uniqueKeyName(this.table, this.columns.map((column) => column.name));
}
static [entityKind] = "SingleStoreUniqueConstraint";
columns;
name;
nullsNotDistinct = false;
getName() {
return this.name;
}
}
export {
UniqueConstraint,
UniqueConstraintBuilder,
UniqueOnConstraintBuilder,
unique,
uniqueKeyName
};
//# sourceMappingURL=unique-constraint.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/bin/generateImportMap/iterateCollections.ts"],"sourcesContent":["import type { SanitizedCollectionConfig } from '../../collections/config/types.js'\nimport type { SanitizedConfig } from '../../config/types.js'\nimport type { AddToImportMap, Imports, InternalImportMap } from './index.js'\n\nimport { genImportMapIterateFields } from './iterateFields.js'\n\nexport function iterateCollections({\n addToImportMap,\n baseDir,\n collections,\n config,\n importMap,\n imports,\n}: {\n addToImportMap: AddToImportMap\n baseDir: string\n collections: SanitizedCollectionConfig[]\n config: SanitizedConfig\n importMap: InternalImportMap\n imports: Imports\n}) {\n for (const collection of collections) {\n genImportMapIterateFields({\n addToImportMap,\n baseDir,\n config,\n fields: collection.fields,\n importMap,\n imports,\n })\n\n addToImportMap(collection.admin?.components?.afterList)\n addToImportMap(collection.admin?.components?.listMenuItems)\n addToImportMap(collection.admin?.components?.afterListTable)\n addToImportMap(collection.admin?.components?.beforeList)\n addToImportMap(collection.admin?.components?.beforeListTable)\n addToImportMap(collection.admin?.components?.Description)\n\n addToImportMap(collection.admin?.components?.edit?.beforeDocumentControls)\n addToImportMap(collection.admin?.components?.edit?.editMenuItems)\n addToImportMap(collection.admin?.components?.edit?.PreviewButton)\n addToImportMap(collection.admin?.components?.edit?.PublishButton)\n addToImportMap(collection.admin?.components?.edit?.SaveButton)\n addToImportMap(collection.admin?.components?.edit?.SaveDraftButton)\n addToImportMap(collection.admin?.components?.edit?.Status)\n addToImportMap(collection.admin?.components?.edit?.UnpublishButton)\n addToImportMap(collection.admin?.components?.edit?.Upload)\n\n if (collection.upload?.admin?.components?.controls) {\n addToImportMap(collection.upload?.admin?.components?.controls)\n }\n\n if (collection.admin?.components?.views?.edit) {\n for (const editViewConfig of Object.values(collection.admin?.components?.views?.edit)) {\n if ('Component' in editViewConfig) {\n addToImportMap(editViewConfig?.Component)\n }\n\n if ('actions' in editViewConfig) {\n addToImportMap(editViewConfig?.actions)\n }\n\n if ('tab' in editViewConfig) {\n addToImportMap(editViewConfig?.tab?.Component)\n addToImportMap(editViewConfig?.tab?.Pill)\n }\n }\n }\n\n addToImportMap(collection.admin?.components?.views?.list?.Component)\n addToImportMap(collection.admin?.components?.views?.list?.actions)\n }\n}\n"],"names":["genImportMapIterateFields","iterateCollections","addToImportMap","baseDir","collections","config","importMap","imports","collection","fields","admin","components","afterList","listMenuItems","afterListTable","beforeList","beforeListTable","Description","edit","beforeDocumentControls","editMenuItems","PreviewButton","PublishButton","SaveButton","SaveDraftButton","Status","UnpublishButton","Upload","upload","controls","views","editViewConfig","Object","values","Component","actions","tab","Pill","list"],"mappings":"AAIA,SAASA,yBAAyB,QAAQ,qBAAoB;AAE9D,OAAO,SAASC,mBAAmB,EACjCC,cAAc,EACdC,OAAO,EACPC,WAAW,EACXC,MAAM,EACNC,SAAS,EACTC,OAAO,EAQR;IACC,KAAK,MAAMC,cAAcJ,YAAa;QACpCJ,0BAA0B;YACxBE;YACAC;YACAE;YACAI,QAAQD,WAAWC,MAAM;YACzBH;YACAC;QACF;QAEAL,eAAeM,WAAWE,KAAK,EAAEC,YAAYC;QAC7CV,eAAeM,WAAWE,KAAK,EAAEC,YAAYE;QAC7CX,eAAeM,WAAWE,KAAK,EAAEC,YAAYG;QAC7CZ,eAAeM,WAAWE,KAAK,EAAEC,YAAYI;QAC7Cb,eAAeM,WAAWE,KAAK,EAAEC,YAAYK;QAC7Cd,eAAeM,WAAWE,KAAK,EAAEC,YAAYM;QAE7Cf,eAAeM,WAAWE,KAAK,EAAEC,YAAYO,MAAMC;QACnDjB,eAAeM,WAAWE,KAAK,EAAEC,YAAYO,MAAME;QACnDlB,eAAeM,WAAWE,KAAK,EAAEC,YAAYO,MAAMG;QACnDnB,eAAeM,WAAWE,KAAK,EAAEC,YAAYO,MAAMI;QACnDpB,eAAeM,WAAWE,KAAK,EAAEC,YAAYO,MAAMK;QACnDrB,eAAeM,WAAWE,KAAK,EAAEC,YAAYO,MAAMM;QACnDtB,eAAeM,WAAWE,KAAK,EAAEC,YAAYO,MAAMO;QACnDvB,eAAeM,WAAWE,KAAK,EAAEC,YAAYO,MAAMQ;QACnDxB,eAAeM,WAAWE,KAAK,EAAEC,YAAYO,MAAMS;QAEnD,IAAInB,WAAWoB,MAAM,EAAElB,OAAOC,YAAYkB,UAAU;YAClD3B,eAAeM,WAAWoB,MAAM,EAAElB,OAAOC,YAAYkB;QACvD;QAEA,IAAIrB,WAAWE,KAAK,EAAEC,YAAYmB,OAAOZ,MAAM;YAC7C,KAAK,MAAMa,kBAAkBC,OAAOC,MAAM,CAACzB,WAAWE,KAAK,EAAEC,YAAYmB,OAAOZ,MAAO;gBACrF,IAAI,eAAea,gBAAgB;oBACjC7B,eAAe6B,gBAAgBG;gBACjC;gBAEA,IAAI,aAAaH,gBAAgB;oBAC/B7B,eAAe6B,gBAAgBI;gBACjC;gBAEA,IAAI,SAASJ,gBAAgB;oBAC3B7B,eAAe6B,gBAAgBK,KAAKF;oBACpChC,eAAe6B,gBAAgBK,KAAKC;gBACtC;YACF;QACF;QAEAnC,eAAeM,WAAWE,KAAK,EAAEC,YAAYmB,OAAOQ,MAAMJ;QAC1DhC,eAAeM,WAAWE,KAAK,EAAEC,YAAYmB,OAAOQ,MAAMH;IAC5D;AACF"}

View File

@@ -0,0 +1,52 @@
@import '../../scss/styles.scss';
@layer payload-default {
.field-type.row {
margin-bottom: 0;
.row__fields {
display: flex;
flex-wrap: wrap;
row-gap: calc(var(--base) * 0.8);
> * {
flex: 0 1 var(--field-width);
display: flex;
flex-direction: column;
justify-content: flex-start;
}
// add margin if the row has children
&:has(> *:nth-child(1)) {
margin-bottom: var(--base);
}
// If there is more than one child, add inline-margins to space them out.
&:has(> *:nth-child(2)) {
margin-inline: calc(var(--base) / -4); // add negative margin to counteract the gap.
> * {
flex: 0 1 calc(var(--field-width) - var(--base) * 0.5);
margin-inline: calc(var(--base) / 4);
}
}
}
@include mid-break {
.row__fields {
display: block;
margin-left: 0;
margin-right: 0;
width: 100%;
> * {
margin-left: 0;
margin-right: 0;
width: 100% !important;
padding-left: 0;
padding-right: 0;
}
}
}
}
}

View File

@@ -0,0 +1,8 @@
// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
import { parseJSON as fn } from "../parseJSON.mjs";
import { convertToFP } from "./_lib/convertToFP.mjs";
export const parseJSON = convertToFP(fn, 1);
// Fallback for modularized imports:
export default parseJSON;

View File

@@ -0,0 +1 @@
!function(t){var e="\\bvoid\\b|<org>|\\b(?:complex|numeric|pointer(?:\\s*\\([^()]*\\))?|real|string|(?:class|struct)\\s+\\w+|transmorphic)(?:\\s*<org>)?".replace(/<org>/g,"\\b(?:(?:col|row)?vector|matrix|scalar)\\b");t.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[`']".*?"[`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(e),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#`']/,punctuation:/[()[\]{},;.]/}}(Prism);

View File

@@ -0,0 +1,19 @@
Prism.languages.idris = Prism.languages.extend('haskell', {
'comment': {
pattern: /(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m,
},
'keyword': /\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,
'builtin': undefined
});
Prism.languages.insertBefore('idris', 'keyword', {
'import-statement': {
pattern: /(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,
lookbehind: true,
inside: {
'punctuation': /\./
}
}
});
Prism.languages.idr = Prism.languages.idris;

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../src/drizzle-proxy/relations.ts"],"sourcesContent":["export * from 'drizzle-orm/relations'\n"],"names":[],"mappings":"AAAA,cAAc,wBAAuB"}

View File

@@ -0,0 +1,40 @@
import { entityKind } from "../../entity.js";
import type { GelDialectConfig } from "../dialect.js";
import { GelDialect } from "../dialect.js";
import type { TypedQueryBuilder } from "../../query-builders/query-builder.js";
import type { ColumnsSelection, SQLWrapper } from "../../sql/sql.js";
import { WithSubquery } from "../../subquery.js";
import type { GelColumn } from "../columns/index.js";
import type { WithSubqueryWithSelection } from "../subquery.js";
import { GelSelectBuilder } from "./select.js";
import type { SelectedFields } from "./select.types.js";
export declare class QueryBuilder {
static readonly [entityKind]: string;
private dialect;
private dialectConfig;
constructor(dialect?: GelDialect | GelDialectConfig);
$with<TAlias extends string>(alias: TAlias): {
as<TSelection extends ColumnsSelection>(qb: TypedQueryBuilder<TSelection> | ((qb: QueryBuilder) => TypedQueryBuilder<TSelection>)): WithSubqueryWithSelection<TSelection, TAlias>;
};
with(...queries: WithSubquery[]): {
select: {
(): GelSelectBuilder<undefined, "qb">;
<TSelection extends SelectedFields>(fields: TSelection): GelSelectBuilder<TSelection, "qb">;
};
selectDistinct: {
(): GelSelectBuilder<undefined, "qb">;
<TSelection extends SelectedFields>(fields: TSelection): GelSelectBuilder<TSelection, "qb">;
};
selectDistinctOn: {
(on: (GelColumn | SQLWrapper)[]): GelSelectBuilder<undefined, "qb">;
<TSelection extends SelectedFields>(on: (GelColumn | SQLWrapper)[], fields: TSelection): GelSelectBuilder<TSelection, "qb">;
};
};
select(): GelSelectBuilder<undefined, 'qb'>;
select<TSelection extends SelectedFields>(fields: TSelection): GelSelectBuilder<TSelection, 'qb'>;
selectDistinct(): GelSelectBuilder<undefined>;
selectDistinct<TSelection extends SelectedFields>(fields: TSelection): GelSelectBuilder<TSelection>;
selectDistinctOn(on: (GelColumn | SQLWrapper)[]): GelSelectBuilder<undefined>;
selectDistinctOn<TSelection extends SelectedFields>(on: (GelColumn | SQLWrapper)[], fields: TSelection): GelSelectBuilder<TSelection>;
private getDialect;
}

View File

@@ -0,0 +1,3 @@
export declare const PACKAGE_VERSION = "0.59.0";
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-express";
//# sourceMappingURL=version.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"versions.cjs","names":[],"sources":["../../../../src/rest/commands/utils/versions.ts"],"sourcesContent":["import type { DirectusVersion } from '../../../schema/version.js';\nimport type { NestedPartial, UnpackList } from '../../../types/index.js';\nimport type { RestCommand } from '../../types.js';\nimport { throwIfEmpty } from '../../utils/index.js';\n\n/**\n * Save item changes to an existing Content Version.\n *\n * @param id Primary key of the Content Version.\n * @param item The item changes to save to the specified Content Version.\n *\n * @returns State of the item after save.\n */\nexport const saveToContentVersion =\n\t<Schema, Collection extends keyof Schema, Item = UnpackList<Schema[Collection]>>(\n\t\tid: DirectusVersion<Schema>['id'],\n\t\titem: NestedPartial<Item>,\n\t): RestCommand<Item, Schema> =>\n\t() => {\n\t\tthrowIfEmpty(id, 'ID cannot be empty');\n\n\t\treturn {\n\t\t\tpath: `/versions/${id}/save`,\n\t\t\tmethod: 'POST',\n\t\t\tbody: JSON.stringify(item),\n\t\t};\n\t};\n\n/**\n * Compare an existing Content Version with the main version of the item.\n *\n * @param id Primary key of the Content Version.\n *\n * @returns All fields with different values, along with the hash of the main version of the item and the information\nwhether the Content Version is outdated (i.e. main version of the item has been updated since the creation of the\nContent Version)\n */\nexport const compareContentVersion =\n\t<Schema, Collection extends keyof Schema, Item = UnpackList<Schema[Collection]>>(\n\t\tid: DirectusVersion<Schema>['id'],\n\t): RestCommand<\n\t\t{\n\t\t\toutdated: boolean;\n\t\t\tmainHash: string;\n\t\t\tcurrent: Partial<Item>;\n\t\t\tmain: Item;\n\t\t},\n\t\tSchema\n\t> =>\n\t() => {\n\t\tthrowIfEmpty(id, 'ID cannot be empty');\n\n\t\treturn {\n\t\t\tpath: `/versions/${id}/compare`,\n\t\t\tmethod: 'GET',\n\t\t};\n\t};\n\n/**\n * Promote an existing Content Version to become the new main version of the item.\n *\n * @param id Primary key of the version.\n * @param mainHash The current hash of the main version of the item (obtained from the `compare` endpoint).\n * @param fields Optional array of field names of which the values are to be promoted. By default, all fields are selected.\n *\n * @returns The primary key of the promoted item.\n */\nexport const promoteContentVersion =\n\t<Schema, Collection extends keyof Schema, Item = UnpackList<Schema[Collection]>>(\n\t\tid: DirectusVersion<Schema>['id'],\n\t\tmainHash: string,\n\t\tfields?: (keyof UnpackList<Item>)[],\n\t): RestCommand<string | number, Schema> =>\n\t() => {\n\t\tthrowIfEmpty(id, 'ID cannot be empty');\n\n\t\treturn {\n\t\t\tpath: `/versions/${id}/promote`,\n\t\t\tmethod: 'POST',\n\t\t\tbody: JSON.stringify(fields ? { mainHash, fields } : { mainHash }),\n\t\t};\n\t};\n"],"mappings":"kDAaa,GAEX,EACA,SAGA,EAAA,aAAa,EAAI,qBAAqB,CAE/B,CACN,KAAM,aAAa,EAAG,OACtB,OAAQ,OACR,KAAM,KAAK,UAAU,EAAK,CAC1B,EAYU,EAEX,QAWA,EAAA,aAAa,EAAI,qBAAqB,CAE/B,CACN,KAAM,aAAa,EAAG,UACtB,OAAQ,MACR,EAYU,GAEX,EACA,EACA,SAGA,EAAA,aAAa,EAAI,qBAAqB,CAE/B,CACN,KAAM,aAAa,EAAG,UACtB,OAAQ,OACR,KAAM,KAAK,UAAU,EAAS,CAAE,WAAU,SAAQ,CAAG,CAAE,WAAU,CAAC,CAClE"}

View File

@@ -0,0 +1,8 @@
// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
import { lastDayOfQuarter as fn } from "../lastDayOfQuarter.mjs";
import { convertToFP } from "./_lib/convertToFP.mjs";
export const lastDayOfQuarter = convertToFP(fn, 1);
// Fallback for modularized imports:
export default lastDayOfQuarter;

View File

@@ -0,0 +1,2 @@
import{throwIfEmpty as e}from"../../utils/throw-if-empty.js";const t=(t,n,r,i)=>()=>(e(t,`Collection cannot be empty`),e(n,`Field cannot be empty`),{path:`/relations/${t}/${n}`,params:i??{},body:JSON.stringify(r),method:`PATCH`});export{t as updateRelation};
//# sourceMappingURL=relations.js.map

View File

@@ -0,0 +1,18 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rawColumnToInternalColumn = exports.objIfExists = void 0;
const table_constants_1 = require("../utils/table-constants");
const objIfExists = (key, val) => {
if (!val) {
return {};
}
return {
[key]: val,
};
};
exports.objIfExists = objIfExists;
const rawColumnToInternalColumn = (column) => {
var _a;
return (Object.assign(Object.assign(Object.assign(Object.assign({ name: column.name, title: (_a = column.title) !== null && _a !== void 0 ? _a : column.name }, (0, exports.objIfExists)('color', column.color)), (0, exports.objIfExists)('maxLen', column.maxLen)), (0, exports.objIfExists)('minLen', column.minLen)), { alignment: column.alignment || table_constants_1.DEFAULT_ROW_ALIGNMENT }));
};
exports.rawColumnToInternalColumn = rawColumnToInternalColumn;

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../src/libsql/http/index.ts"],"sourcesContent":["import { type Client, type Config, createClient } from '@libsql/client/http';\nimport { type DrizzleConfig, isConfig } from '~/utils.ts';\nimport { construct, type LibSQLDatabase } from '../driver-core.ts';\n\nexport function drizzle<\n\tTSchema extends Record<string, unknown> = Record<string, never>,\n\tTClient extends Client = Client,\n>(\n\t...params: [\n\t\tTClient | string,\n\t] | [\n\t\tTClient | string,\n\t\tDrizzleConfig<TSchema>,\n\t] | [\n\t\t(\n\t\t\t& DrizzleConfig<TSchema>\n\t\t\t& ({\n\t\t\t\tconnection: string | Config;\n\t\t\t} | {\n\t\t\t\tclient: TClient;\n\t\t\t})\n\t\t),\n\t]\n): LibSQLDatabase<TSchema> & {\n\t$client: TClient;\n} {\n\tif (typeof params[0] === 'string') {\n\t\tconst instance = createClient({\n\t\t\turl: params[0],\n\t\t});\n\n\t\treturn construct(instance, params[1]) as any;\n\t}\n\n\tif (isConfig(params[0])) {\n\t\tconst { connection, client, ...drizzleConfig } = params[0] as\n\t\t\t& { connection?: Config; client?: TClient }\n\t\t\t& DrizzleConfig<TSchema>;\n\n\t\tif (client) return construct(client, drizzleConfig) as any;\n\n\t\tconst instance = typeof connection === 'string' ? createClient({ url: connection }) : createClient(connection!);\n\n\t\treturn construct(instance, drizzleConfig) as any;\n\t}\n\n\treturn construct(params[0] as TClient, params[1] as DrizzleConfig<TSchema> | undefined) as any;\n}\n\nexport namespace drizzle {\n\texport function mock<TSchema extends Record<string, unknown> = Record<string, never>>(\n\t\tconfig?: DrizzleConfig<TSchema>,\n\t): LibSQLDatabase<TSchema> & {\n\t\t$client: '$client is not available on drizzle.mock()';\n\t} {\n\t\treturn construct({} as any, config) as any;\n\t}\n}\n"],"mappings":"AAAA,SAAmC,oBAAoB;AACvD,SAA6B,gBAAgB;AAC7C,SAAS,iBAAsC;AAExC,SAAS,WAIZ,QAiBF;AACD,MAAI,OAAO,OAAO,CAAC,MAAM,UAAU;AAClC,UAAM,WAAW,aAAa;AAAA,MAC7B,KAAK,OAAO,CAAC;AAAA,IACd,CAAC;AAED,WAAO,UAAU,UAAU,OAAO,CAAC,CAAC;AAAA,EACrC;AAEA,MAAI,SAAS,OAAO,CAAC,CAAC,GAAG;AACxB,UAAM,EAAE,YAAY,QAAQ,GAAG,cAAc,IAAI,OAAO,CAAC;AAIzD,QAAI,OAAQ,QAAO,UAAU,QAAQ,aAAa;AAElD,UAAM,WAAW,OAAO,eAAe,WAAW,aAAa,EAAE,KAAK,WAAW,CAAC,IAAI,aAAa,UAAW;AAE9G,WAAO,UAAU,UAAU,aAAa;AAAA,EACzC;AAEA,SAAO,UAAU,OAAO,CAAC,GAAc,OAAO,CAAC,CAAuC;AACvF;AAAA,CAEO,CAAUA,aAAV;AACC,WAAS,KACf,QAGC;AACD,WAAO,UAAU,CAAC,GAAU,MAAM;AAAA,EACnC;AANO,EAAAA,SAAS;AAAA,GADA;","names":["drizzle"]}

View File

@@ -0,0 +1,34 @@
{
"name": "@formatjs/ecma402-abstract",
"description": "A collection of implementation for ECMAScript abstract operations",
"version": "3.1.1",
"license": "MIT",
"author": "Long Ho <holevietlong@gmail.com",
"type": "module",
"sideEffects": false,
"types": "index.d.ts",
"exports": {
".": "./index.js"
},
"dependencies": {
"decimal.js": "^10.6.0",
"tslib": "^2.8.1",
"@formatjs/fast-memoize": "3.1.0",
"@formatjs/intl-localematcher": "0.8.1"
},
"bugs": "https://github.com/formatjs/formatjs/issues",
"gitHead": "a7842673d8ad205171ad7c8cb8bb2f318b427c0c",
"homepage": "https://github.com/formatjs/formatjs",
"keywords": [
"abstract",
"ecma262",
"ecma402",
"es",
"format",
"i18n",
"intl",
"javascript",
"relative"
],
"repository": "git@github.com:formatjs/formatjs.git"
}

View File

@@ -0,0 +1,158 @@
'use client';
import { c as _c } from "react/compiler-runtime";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { getTranslation } from '@payloadcms/translations';
import React from 'react';
import { useLoadingOverlay } from '../../elements/LoadingOverlay/index.js';
import { useFormProcessing } from '../../forms/Form/context.js';
import { useTranslation } from '../../providers/Translation/index.js';
import './index.scss';
const baseClass = 'loading-overlay';
export const LoadingOverlay = t0 => {
const $ = _c(8);
const {
animationDuration,
loadingText,
overlayType,
show: t1
} = t0;
const show = t1 === undefined ? true : t1;
const {
t
} = useTranslation();
const t2 = show ? `${baseClass}--entering` : `${baseClass}--exiting`;
const t3 = overlayType ? `${baseClass}--${overlayType}` : "";
let t4;
if ($[0] !== t2 || $[1] !== t3) {
t4 = [baseClass, t2, t3].filter(Boolean);
$[0] = t2;
$[1] = t3;
$[2] = t4;
} else {
t4 = $[2];
}
const t5 = t4.join(" ");
const t6 = animationDuration || "500ms";
let t7;
if ($[3] !== loadingText || $[4] !== t || $[5] !== t5 || $[6] !== t6) {
t7 = _jsxs("div", {
className: t5,
style: {
animationDuration: t6
},
children: [_jsxs("div", {
className: `${baseClass}__bars`,
children: [_jsx("div", {
className: `${baseClass}__bar`
}), _jsx("div", {
className: `${baseClass}__bar`
}), _jsx("div", {
className: `${baseClass}__bar`
}), _jsx("div", {
className: `${baseClass}__bar`
}), _jsx("div", {
className: `${baseClass}__bar`
})]
}), _jsx("span", {
className: `${baseClass}__text`,
children: loadingText || t("general:loading")
})]
});
$[3] = loadingText;
$[4] = t;
$[5] = t5;
$[6] = t6;
$[7] = t7;
} else {
t7 = $[7];
}
return t7;
};
export const LoadingOverlayToggle = t0 => {
const $ = _c(7);
const {
name: key,
type: t1,
loadingText,
show
} = t0;
const type = t1 === undefined ? "fullscreen" : t1;
const {
toggleLoadingOverlay
} = useLoadingOverlay();
let t2;
let t3;
if ($[0] !== key || $[1] !== loadingText || $[2] !== show || $[3] !== toggleLoadingOverlay || $[4] !== type) {
t2 = () => {
toggleLoadingOverlay({
type,
isLoading: show,
key,
loadingText: loadingText || undefined
});
return () => {
toggleLoadingOverlay({
type,
isLoading: false,
key
});
};
};
t3 = [show, toggleLoadingOverlay, key, type, loadingText];
$[0] = key;
$[1] = loadingText;
$[2] = show;
$[3] = toggleLoadingOverlay;
$[4] = type;
$[5] = t2;
$[6] = t3;
} else {
t2 = $[5];
t3 = $[6];
}
React.useEffect(t2, t3);
return null;
};
export const FormLoadingOverlayToggle = t0 => {
const $ = _c(6);
const {
name,
type: t1,
action,
formIsLoading: t2,
loadingSuffix
} = t0;
const type = t1 === undefined ? "fullscreen" : t1;
const formIsLoading = t2 === undefined ? false : t2;
const isProcessing = useFormProcessing();
const {
i18n,
t
} = useTranslation();
const labels = {
create: t("general:creating"),
loading: t("general:loading"),
update: t("general:updating")
};
const t3 = `${labels[action]} ${loadingSuffix ? getTranslation(loadingSuffix, i18n) : ""}`;
let t4;
if ($[0] !== formIsLoading || $[1] !== isProcessing || $[2] !== name || $[3] !== t3 || $[4] !== type) {
t4 = _jsx(LoadingOverlayToggle, {
loadingText: t3.trim(),
name,
show: formIsLoading || isProcessing,
type
});
$[0] = formIsLoading;
$[1] = isProcessing;
$[2] = name;
$[3] = t3;
$[4] = type;
$[5] = t4;
} else {
t4 = $[5];
}
return t4;
};
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1,65 @@
# po-parser
Parses and serializes `.po` file content.
Zero-dependency. ~2kb minified & gzipped.
## Usage
### Parse
```typescript
import POParser from 'po-parser';
const content = `
msgid ""
msgstr ""
"POT-Creation-Date: 2025-10-27 16:00+0000\n"
#: src/Greeting.tsx
#. Greets the user
msgid "+YJVTi"
msgstr "Hey"
`;
const result = POParser.parse(content);
```
### Serialize
```typescript
import POParser from 'po-parser';
const catalog = {
meta: {
'POT-Creation-Date': '2025-10-27 16:00+0000'
},
messages: [
{
msgid: '+YJVTi',
msgstr: 'Hey',
extractedComments: ['Greets the user'],
references: [{path: 'src/Greeting.tsx', line: 10}]
}
]
};
const result = POParser.serialize(catalog);
```
## Supported features
- `msgid` and `msgstr` (message entries)
- `msgctxt` (message context for namespacing)
- References (`#:` comments, with optional line numbers)
- Extracted comments (`#.` comments)
- Flag comments (`#,` comments, e.g. `#, fuzzy`)
- Metadata (from empty `msgid`/`msgstr` entry at the beginning)
- Single-line quoted strings
## Unsupported features
- Translator comments (`#` comments)
- Previous string key comments (`#|` comments)
- Plural forms (`msgid_plural`)
- Multi-line strings

View File

@@ -0,0 +1,6 @@
import * as React from 'react';
type ContainerProps = Readonly<React.ComponentPropsWithoutRef<"table">>;
declare const Container: React.ForwardRefExoticComponent<Readonly<Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref">> & React.RefAttributes<HTMLTableElement>>;
export { Container, type ContainerProps };

View File

@@ -0,0 +1 @@
{"version":3,"file":"music-3.js","sources":["../../../src/icons/music-3.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name Music3\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjE4IiByPSI0IiAvPgogIDxwYXRoIGQ9Ik0xNiAxOFYyIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/music-3\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Music3 = createLucideIcon('Music3', [\n ['circle', { cx: '12', cy: '18', r: '4', key: 'm3r9ws' }],\n ['path', { d: 'M16 18V2', key: '40x2m5' }],\n]);\n\nexport default Music3;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAS,iBAAiB,QAAU,CAAA,CAAA,CAAA;AAAA,CACxC,CAAA,CAAC,QAAU,CAAA,CAAA,CAAA,CAAE,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAM,CAAI,CAAA,CAAA,CAAA,IAAA,CAAM,CAAA,CAAG,EAAA,CAAA,CAAA,CAAA,CAAA,CAAK,GAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA;AAAA,CAAA,CACxD,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA;AAC3C,CAAC,CAAA,CAAA;;"}

View File

@@ -0,0 +1,35 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeJwt = decodeJwt;
const base64url_js_1 = require("./base64url.js");
const buffer_utils_js_1 = require("../lib/buffer_utils.js");
const is_object_js_1 = require("../lib/is_object.js");
const errors_js_1 = require("./errors.js");
function decodeJwt(jwt) {
if (typeof jwt !== 'string')
throw new errors_js_1.JWTInvalid('JWTs must use Compact JWS serialization, JWT must be a string');
const { 1: payload, length } = jwt.split('.');
if (length === 5)
throw new errors_js_1.JWTInvalid('Only JWTs using Compact JWS serialization can be decoded');
if (length !== 3)
throw new errors_js_1.JWTInvalid('Invalid JWT');
if (!payload)
throw new errors_js_1.JWTInvalid('JWTs must contain a payload');
let decoded;
try {
decoded = (0, base64url_js_1.decode)(payload);
}
catch {
throw new errors_js_1.JWTInvalid('Failed to base64url decode the payload');
}
let result;
try {
result = JSON.parse(buffer_utils_js_1.decoder.decode(decoded));
}
catch {
throw new errors_js_1.JWTInvalid('Failed to parse the decoded payload as JSON');
}
if (!(0, is_object_js_1.default)(result))
throw new errors_js_1.JWTInvalid('Invalid JWT Claims Set');
return result;
}

View File

@@ -0,0 +1,92 @@
'use client';
import { c as _c } from "react/compiler-runtime";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// TODO: abstract the `next/navigation` dependency out from this component
import { collectionDefaults, isNumber } from 'payload/shared';
import React from 'react';
import { ChevronIcon } from '../../icons/Chevron/index.js';
import { useTranslation } from '../../providers/Translation/index.js';
import { Popup, PopupList } from '../Popup/index.js';
import './index.scss';
const baseClass = 'per-page';
const defaultLimits = collectionDefaults.admin.pagination.limits;
export const PerPage = t0 => {
const $ = _c(9);
const {
defaultLimit: t1,
handleChange,
limit,
limits: t2
} = t0;
const defaultLimit = t1 === undefined ? 10 : t1;
const limits = t2 === undefined ? defaultLimits : t2;
const {
t
} = useTranslation();
const limitToUse = isNumber(limit) ? limit : defaultLimit;
let t3;
if ($[0] !== handleChange || $[1] !== limitToUse || $[2] !== limits || $[3] !== t) {
let t4;
if ($[5] !== handleChange || $[6] !== limitToUse || $[7] !== limits) {
t4 = t5 => {
const {
close
} = t5;
return _jsx(PopupList.ButtonGroup, {
children: limits.map((limitNumber, i) => _jsxs(PopupList.Button, {
className: [`${baseClass}__button`, limitNumber === limitToUse && `${baseClass}__button-active`].filter(Boolean).join(" "),
onClick: () => {
close();
if (handleChange) {
handleChange(limitNumber);
}
},
children: [limitNumber === limitToUse && _jsx("div", {
className: `${baseClass}__chevron`,
children: _jsx(ChevronIcon, {
direction: "right",
size: "small"
})
}), "\xA0", _jsx("span", {
children: limitNumber
})]
}, i))
});
};
$[5] = handleChange;
$[6] = limitToUse;
$[7] = limits;
$[8] = t4;
} else {
t4 = $[8];
}
t3 = _jsx("div", {
className: baseClass,
children: _jsx(Popup, {
button: _jsxs("div", {
className: `${baseClass}__base-button`,
children: [_jsx("span", {
children: t("general:perPage", {
limit: limitToUse
})
}), "\xA0", _jsx(ChevronIcon, {
className: `${baseClass}__icon`
})]
}),
horizontalAlign: "right",
render: t4,
size: "small"
})
});
$[0] = handleChange;
$[1] = limitToUse;
$[2] = limits;
$[3] = t;
$[4] = t3;
} else {
t3 = $[4];
}
return t3;
};
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1,22 @@
import * as React from 'react';
import { EmotionJSX } from "./jsx-namespace.js";
export declare const jsx: typeof React.createElement;
export declare namespace jsx {
namespace JSX {
type ElementType = EmotionJSX.ElementType;
interface Element extends EmotionJSX.Element {
}
interface ElementClass extends EmotionJSX.ElementClass {
}
interface ElementAttributesProperty extends EmotionJSX.ElementAttributesProperty {
}
interface ElementChildrenAttribute extends EmotionJSX.ElementChildrenAttribute {
}
type LibraryManagedAttributes<C, P> = EmotionJSX.LibraryManagedAttributes<C, P>;
interface IntrinsicAttributes extends EmotionJSX.IntrinsicAttributes {
}
interface IntrinsicClassAttributes<T> extends EmotionJSX.IntrinsicClassAttributes<T> {
}
type IntrinsicElements = EmotionJSX.IntrinsicElements;
}
}

View File

@@ -0,0 +1,27 @@
import type { TFunction } from '@payloadcms/translations';
import type { LabelFunction, StaticLabel } from '../config/types.js';
import type { PayloadRequest } from '../types/index.js';
import { APIError } from './APIError.js';
export declare let ValidationErrorName: string;
export type ValidationFieldError = {
label?: LabelFunction | StaticLabel;
message: string;
path: string;
};
export declare class ValidationError extends APIError<{
collection?: string;
errors: ValidationFieldError[];
global?: string;
}> {
constructor(results: {
collection?: string;
errors: ValidationFieldError[];
global?: string;
id?: number | string;
/**
* req needs to be passed through (if you have one) in order to resolve label functions that may be part of the errors array
*/
req?: Partial<PayloadRequest>;
}, t?: TFunction);
}
//# sourceMappingURL=ValidationError.d.ts.map

View File

@@ -0,0 +1,260 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import { $insertDataTransferForPlainText, $getHtmlContent } from '@lexical/clipboard';
import { $shouldOverrideDefaultCharacterSelection, $moveCharacter } from '@lexical/selection';
import { mergeRegister, objectKlassEquals } from '@lexical/utils';
import { DELETE_CHARACTER_COMMAND, $getSelection, $isRangeSelection, COMMAND_PRIORITY_EDITOR, DELETE_WORD_COMMAND, DELETE_LINE_COMMAND, CONTROLLED_TEXT_INSERTION_COMMAND, REMOVE_TEXT_COMMAND, INSERT_LINE_BREAK_COMMAND, INSERT_PARAGRAPH_COMMAND, KEY_ARROW_LEFT_COMMAND, KEY_ARROW_RIGHT_COMMAND, KEY_BACKSPACE_COMMAND, KEY_DELETE_COMMAND, KEY_ENTER_COMMAND, SELECT_ALL_COMMAND, $selectAll, COPY_COMMAND, CUT_COMMAND, PASTE_COMMAND, DROP_COMMAND, DRAGSTART_COMMAND, PASTE_TAG } from 'lexical';
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
const CAN_USE_DOM = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined';
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
const documentMode = CAN_USE_DOM && 'documentMode' in document ? document.documentMode : null;
const CAN_USE_BEFORE_INPUT = CAN_USE_DOM && 'InputEvent' in window && !documentMode ? 'getTargetRanges' in new window.InputEvent('input') : false;
const IS_SAFARI = CAN_USE_DOM && /Version\/[\d.]+.*Safari/.test(navigator.userAgent);
const IS_IOS = CAN_USE_DOM && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
// Keep these in case we need to use them in the future.
// export const IS_WINDOWS: boolean = CAN_USE_DOM && /Win/.test(navigator.platform);
const IS_CHROME = CAN_USE_DOM && /^(?=.*Chrome).*/i.test(navigator.userAgent);
const IS_APPLE_WEBKIT = CAN_USE_DOM && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !IS_CHROME;
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
function onCopyForPlainText(event, editor) {
editor.update(() => {
if (event !== null) {
const clipboardData = objectKlassEquals(event, KeyboardEvent) ? null : event.clipboardData;
const selection = $getSelection();
if (selection !== null && clipboardData != null) {
event.preventDefault();
const htmlString = $getHtmlContent(editor);
if (htmlString !== null) {
clipboardData.setData('text/html', htmlString);
}
clipboardData.setData('text/plain', selection.getTextContent());
}
}
});
}
function onPasteForPlainText(event, editor) {
event.preventDefault();
editor.update(() => {
const selection = $getSelection();
const clipboardData = objectKlassEquals(event, ClipboardEvent) ? event.clipboardData : null;
if (clipboardData != null && $isRangeSelection(selection)) {
$insertDataTransferForPlainText(clipboardData, selection);
}
}, {
tag: PASTE_TAG
});
}
function onCutForPlainText(event, editor) {
onCopyForPlainText(event, editor);
editor.update(() => {
const selection = $getSelection();
if ($isRangeSelection(selection)) {
selection.removeText();
}
});
}
function registerPlainText(editor) {
const removeListener = mergeRegister(editor.registerCommand(DELETE_CHARACTER_COMMAND, isBackward => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
selection.deleteCharacter(isBackward);
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(DELETE_WORD_COMMAND, isBackward => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
selection.deleteWord(isBackward);
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(DELETE_LINE_COMMAND, isBackward => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
selection.deleteLine(isBackward);
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(CONTROLLED_TEXT_INSERTION_COMMAND, eventOrText => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
if (typeof eventOrText === 'string') {
selection.insertText(eventOrText);
} else {
const dataTransfer = eventOrText.dataTransfer;
if (dataTransfer != null) {
$insertDataTransferForPlainText(dataTransfer, selection);
} else {
const data = eventOrText.data;
if (data) {
selection.insertText(data);
}
}
}
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(REMOVE_TEXT_COMMAND, () => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
selection.removeText();
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(INSERT_LINE_BREAK_COMMAND, selectStart => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
selection.insertLineBreak(selectStart);
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(INSERT_PARAGRAPH_COMMAND, () => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
selection.insertLineBreak();
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(KEY_ARROW_LEFT_COMMAND, payload => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
const event = payload;
const isHoldingShift = event.shiftKey;
if ($shouldOverrideDefaultCharacterSelection(selection, true)) {
event.preventDefault();
$moveCharacter(selection, isHoldingShift, true);
return true;
}
return false;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(KEY_ARROW_RIGHT_COMMAND, payload => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
const event = payload;
const isHoldingShift = event.shiftKey;
if ($shouldOverrideDefaultCharacterSelection(selection, false)) {
event.preventDefault();
$moveCharacter(selection, isHoldingShift, false);
return true;
}
return false;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(KEY_BACKSPACE_COMMAND, event => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
// Exception handling for iOS native behavior instead of Lexical's behavior when using Korean on iOS devices.
// more details - https://github.com/facebook/lexical/issues/5841
if (IS_IOS && navigator.language === 'ko-KR') {
return false;
}
event.preventDefault();
return editor.dispatchCommand(DELETE_CHARACTER_COMMAND, true);
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(KEY_DELETE_COMMAND, event => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
event.preventDefault();
return editor.dispatchCommand(DELETE_CHARACTER_COMMAND, false);
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(KEY_ENTER_COMMAND, event => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
if (event !== null) {
// If we have beforeinput, then we can avoid blocking
// the default behavior. This ensures that the iOS can
// intercept that we're actually inserting a paragraph,
// and autocomplete, autocapitalize etc work as intended.
// This can also cause a strange performance issue in
// Safari, where there is a noticeable pause due to
// preventing the key down of enter.
if ((IS_IOS || IS_SAFARI || IS_APPLE_WEBKIT) && CAN_USE_BEFORE_INPUT) {
return false;
}
event.preventDefault();
}
return editor.dispatchCommand(INSERT_LINE_BREAK_COMMAND, false);
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(SELECT_ALL_COMMAND, () => {
$selectAll();
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(COPY_COMMAND, event => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
onCopyForPlainText(event, editor);
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(CUT_COMMAND, event => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
onCutForPlainText(event, editor);
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(PASTE_COMMAND, event => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
onPasteForPlainText(event, editor);
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(DROP_COMMAND, event => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
// TODO: Make drag and drop work at some point.
event.preventDefault();
return true;
}, COMMAND_PRIORITY_EDITOR), editor.registerCommand(DRAGSTART_COMMAND, event => {
const selection = $getSelection();
if (!$isRangeSelection(selection)) {
return false;
}
// TODO: Make drag and drop work at some point.
event.preventDefault();
return true;
}, COMMAND_PRIORITY_EDITOR));
return removeListener;
}
export { registerPlainText };

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Dany Castillo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,526 @@
function createClientTranslationKeys(keys) {
return keys;
}
export const clientTranslationKeys = createClientTranslationKeys([
'authentication:account',
'authentication:accountOfCurrentUser',
'authentication:accountVerified',
'authentication:alreadyActivated',
'authentication:alreadyLoggedIn',
'authentication:apiKey',
'authentication:authenticated',
'authentication:backToLogin',
'authentication:beginCreateFirstUser',
'authentication:changePassword',
'authentication:checkYourEmailForPasswordReset',
'authentication:confirmGeneration',
'authentication:confirmPassword',
'authentication:createFirstUser',
'authentication:emailNotValid',
'authentication:usernameNotValid',
'authentication:emailOrUsername',
'authentication:emailSent',
'authentication:emailVerified',
'authentication:enableAPIKey',
'authentication:failedToUnlock',
'authentication:forceUnlock',
'authentication:forgotPassword',
'authentication:forgotPasswordEmailInstructions',
'authentication:forgotPasswordUsernameInstructions',
'authentication:forgotPasswordQuestion',
'authentication:generate',
'authentication:generateNewAPIKey',
'authentication:generatingNewAPIKeyWillInvalidate',
'authentication:logBackIn',
'authentication:loggedOutInactivity',
'authentication:loggedOutSuccessfully',
'authentication:loggingOut',
'authentication:login',
'authentication:logOut',
'authentication:loggedIn',
'authentication:loggedInChangePassword',
'authentication:logout',
'authentication:logoutUser',
'authentication:logoutSuccessful',
'authentication:newAPIKeyGenerated',
'authentication:newPassword',
'authentication:passed',
'authentication:passwordResetSuccessfully',
'authentication:resetPassword',
'authentication:stayLoggedIn',
'authentication:successfullyRegisteredFirstUser',
'authentication:successfullyUnlocked',
'authentication:username',
'authentication:unableToVerify',
'authentication:tokenRefreshSuccessful',
'authentication:verified',
'authentication:verifiedSuccessfully',
'authentication:verify',
'authentication:verifyUser',
'authentication:youAreInactive',
'dashboard:addWidget',
'dashboard:deleteWidget',
'dashboard:searchWidgets',
'error:autosaving',
'error:correctInvalidFields',
'error:deletingTitle',
'error:documentNotFound',
'error:emailOrPasswordIncorrect',
'error:usernameOrPasswordIncorrect',
'error:loadingDocument',
'error:insufficientClipboardPermissions',
'error:invalidClipboardData',
'error:invalidRequestArgs',
'error:invalidFileType',
'error:logoutFailed',
'error:noMatchedField',
'error:notAllowedToAccessPage',
'error:notAllowedToPerformAction',
'error:previewing',
'error:unableToCopy',
'error:unableToDeleteCount',
'error:unableToReindexCollection',
'error:unableToUpdateCount',
'error:unauthorized',
'error:unauthorizedAdmin',
'error:unknown',
'error:unspecific',
'error:unverifiedEmail',
'error:userEmailAlreadyRegistered',
'error:usernameAlreadyRegistered',
'error:tokenNotProvided',
'error:unPublishingDocument',
'error:revertingDocument',
'error:problemUploadingFile',
'error:restoringTitle',
'fields:addLabel',
'fields:addLink',
'fields:addNew',
'fields:addNewLabel',
'fields:addRelationship',
'fields:addUpload',
'fields:block',
'fields:blocks',
'fields:blockType',
'fields:chooseBetweenCustomTextOrDocument',
'fields:customURL',
'fields:chooseDocumentToLink',
'fields:openInNewTab',
'fields:enterURL',
'fields:internalLink',
'fields:chooseFromExisting',
'fields:linkType',
'fields:textToDisplay',
'fields:searchForLanguage',
'fields:collapseAll',
'fields:editLink',
'fields:editRelationship',
'fields:itemsAndMore',
'fields:labelRelationship',
'fields:latitude',
'fields:linkedTo',
'fields:longitude',
'fields:passwordsDoNotMatch',
'fields:removeRelationship',
'fields:removeUpload',
'fields:saveChanges',
'fields:searchForBlock',
'fields:selectFieldsToEdit',
'fields:showAll',
'fields:swapRelationship',
'fields:swapUpload',
'fields:toggleBlock',
'fields:uploadNewLabel',
'folder:byFolder',
'folder:browseByFolder',
'folder:deleteFolder',
'folder:folders',
'folder:folderTypeDescription',
'folder:folderName',
'folder:itemsMovedToFolder',
'folder:itemsMovedToRoot',
'folder:itemHasBeenMoved',
'folder:itemHasBeenMovedToRoot',
'folder:moveFolder',
'folder:movingFromFolder',
'folder:moveItemsToFolderConfirmation',
'folder:moveItemsToRootConfirmation',
'folder:moveItemToFolderConfirmation',
'folder:moveItemToRootConfirmation',
'folder:noFolder',
'folder:newFolder',
'folder:renameFolder',
'folder:searchByNameInFolder',
'folder:selectFolderForItem',
'general:all',
'general:aboutToDeleteCount',
'general:aboutToDelete',
'general:aboutToPermanentlyDelete',
'general:aboutToPermanentlyDeleteTrash',
'general:aboutToRestore',
'general:aboutToRestoreAsDraft',
'general:aboutToRestoreAsDraftCount',
'general:aboutToRestoreCount',
'general:aboutToTrash',
'general:aboutToTrashCount',
'general:addBelow',
'general:addFilter',
'general:adminTheme',
'general:allCollections',
'general:and',
'general:anotherUser',
'general:anotherUserTakenOver',
'general:applyChanges',
'general:ascending',
'general:automatic',
'general:backToDashboard',
'general:cancel',
'general:changesNotSaved',
'general:close',
'general:collapse',
'general:collections',
'general:confirmMove',
'general:yes',
'general:no',
'general:columns',
'general:columnToSort',
'general:confirm',
'general:confirmCopy',
'general:confirmDeletion',
'general:confirmDuplication',
'general:confirmReindex',
'general:confirmReindexAll',
'general:confirmReindexDescription',
'general:confirmReindexDescriptionAll',
'general:confirmRestoration',
'general:copied',
'general:clear',
'general:clearAll',
'general:copy',
'general:copyField',
'general:copyRow',
'general:copyWarning',
'general:copying',
'general:create',
'general:created',
'general:createdAt',
'general:createNew',
'general:createNewLabel',
'general:creating',
'general:creatingNewLabel',
'general:currentlyEditing',
'general:custom',
'general:dark',
'general:dashboard',
'general:delete',
'general:deleted',
'general:deletedAt',
'general:deletePermanently',
'general:deleteLabel',
'general:deletedSuccessfully',
'general:deletedCountSuccessfully',
'general:deleting',
'general:descending',
'general:depth',
'general:deselectAllRows',
'general:document',
'general:documentIsTrashed',
'general:documentLocked',
'general:documents',
'general:duplicate',
'general:duplicateWithoutSaving',
'general:edit',
'general:editAll',
'general:editing',
'general:editingLabel',
'general:editingTakenOver',
'general:editLabel',
'general:editedSince',
'general:email',
'general:emailAddress',
'general:emptyTrash',
'general:emptyTrashLabel',
'general:enterAValue',
'general:error',
'general:errors',
'general:fallbackToDefaultLocale',
'general:false',
'general:filters',
'general:filterWhere',
'general:globals',
'general:goBack',
'general:groupByLabel',
'general:isEditing',
'general:item',
'general:items',
'general:language',
'general:lastModified',
'general:layout',
'general:leaveAnyway',
'general:leaveWithoutSaving',
'general:light',
'general:livePreview',
'general:lock',
'general:exitLivePreview',
'general:loading',
'general:locale',
'general:locales',
'general:menu',
'general:moreOptions',
'general:move',
'general:moveConfirm',
'general:moveCount',
'general:moveDown',
'general:moveUp',
'general:moving',
'general:movingCount',
'general:name',
'general:next',
'general:newLabel',
'general:noDateSelected',
'general:noFiltersSet',
'general:noLabel',
'general:none',
'general:noOptions',
'general:noResults',
'general:noResultsDescription',
'general:noResultsFound',
'general:notFound',
'general:nothingFound',
'general:noTrashResults',
'general:noUpcomingEventsScheduled',
'general:noValue',
'general:of',
'general:open',
'general:only',
'general:or',
'general:order',
'general:overwriteExistingData',
'general:pageNotFound',
'general:password',
'general:pasteField',
'general:pasteRow',
'general:payloadSettings',
'general:permanentlyDelete',
'general:permanentlyDeletedCountSuccessfully',
'general:perPage',
'general:previous',
'general:reindex',
'general:reindexingAll',
'general:remove',
'general:rename',
'general:reset',
'general:resetPreferences',
'general:resetPreferencesDescription',
'general:resettingPreferences',
'general:restore',
'general:restoreAsPublished',
'general:restoredCountSuccessfully',
'general:restoring',
'general:row',
'general:rows',
'general:save',
'general:saveChanges',
'general:schedulePublishFor',
'general:saving',
'general:searchBy',
'general:select',
'general:selectAll',
'general:selectAllRows',
'general:selectedCount',
'general:selectLabel',
'general:selectValue',
'general:showAllLabel',
'general:sorryNotFound',
'general:sort',
'general:sortByLabelDirection',
'general:stayOnThisPage',
'general:submissionSuccessful',
'general:submit',
'general:submitting',
'general:success',
'general:successfullyCreated',
'general:successfullyDuplicated',
'general:successfullyReindexed',
'general:takeOver',
'general:thisLanguage',
'general:time',
'general:timezone',
'general:titleDeleted',
'general:titleTrashed',
'general:titleRestored',
'general:trash',
'general:trashedCountSuccessfully',
'general:import',
'general:export',
'general:allLocales',
'general:true',
'general:upcomingEvents',
'general:users',
'general:user',
'general:username',
'general:unauthorized',
'general:unlock',
'general:unsavedChanges',
'general:unsavedChangesDuplicate',
'general:untitled',
'general:updatedAt',
'general:updatedLabelSuccessfully',
'general:updatedCountSuccessfully',
'general:updateForEveryone',
'general:updatedSuccessfully',
'general:updating',
'general:value',
'general:viewing',
'general:viewReadOnly',
'general:uploading',
'general:uploadingBulk',
'general:welcome',
'localization:localeToPublish',
'localization:copyToLocale',
'localization:copyFromTo',
'localization:selectedLocales',
'localization:selectLocaleToCopy',
'localization:selectLocaleToDuplicate',
'localization:cannotCopySameLocale',
'localization:copyFrom',
'localization:copyTo',
'operators:equals',
'operators:exists',
'operators:isNotIn',
'operators:isIn',
'operators:contains',
'operators:isLike',
'operators:isNotLike',
'operators:isNotEqualTo',
'operators:near',
'operators:isGreaterThan',
'operators:isLessThan',
'operators:isGreaterThanOrEqualTo',
'operators:isLessThanOrEqualTo',
'operators:within',
'operators:intersects',
'upload:addFile',
'upload:addFiles',
'upload:bulkUpload',
'upload:crop',
'upload:cropToolDescription',
'upload:dragAndDrop',
'upload:editImage',
'upload:fileToUpload',
'upload:filesToUpload',
'upload:focalPoint',
'upload:focalPointDescription',
'upload:height',
'upload:pasteURL',
'upload:previewSizes',
'upload:selectCollectionToBrowse',
'upload:selectFile',
'upload:setCropArea',
'upload:setFocalPoint',
'upload:sizesFor',
'upload:sizes',
'upload:width',
'upload:fileName',
'upload:fileSize',
'upload:noFile',
'upload:download',
'validation:emailAddress',
'validation:enterNumber',
'validation:fieldHasNo',
'validation:greaterThanMax',
'validation:invalidInput',
'validation:invalidSelection',
'validation:invalidSelections',
'validation:latitudeOutOfBounds',
'validation:lessThanMin',
'validation:limitReached',
'validation:longitudeOutOfBounds',
'validation:invalidBlock',
'validation:invalidBlocks',
'validation:longerThanMin',
'validation:notValidDate',
'validation:required',
'validation:requiresAtLeast',
'validation:requiresNoMoreThan',
'validation:requiresTwoNumbers',
'validation:shorterThanMax',
'validation:trueOrFalse',
'validation:timezoneRequired',
'validation:username',
'validation:validUploadID',
'version:aboutToPublishSelection',
'version:aboutToRestore',
'version:aboutToRestoreGlobal',
'version:aboutToRevertToPublished',
'version:aboutToUnpublish',
'version:aboutToUnpublishIn',
'version:aboutToUnpublishSelection',
'version:autosave',
'version:autosavedSuccessfully',
'version:autosavedVersion',
'version:versionAgo',
'version:moreVersions',
'version:changed',
'version:changedFieldsCount',
'version:confirmRevertToSaved',
'version:compareVersions',
'version:comparingAgainst',
'version:currentlyViewing',
'version:confirmPublish',
'version:confirmUnpublish',
'version:confirmVersionRestoration',
'version:currentDraft',
'version:currentPublishedVersion',
'version:currentlyPublished',
'version:draft',
'version:draftHasPublishedVersion',
'version:draftSavedSuccessfully',
'version:lastSavedAgo',
'version:modifiedOnly',
'version:noFurtherVersionsFound',
'version:noLabelGroup',
'version:noRowsFound',
'version:noRowsSelected',
'version:preview',
'version:previouslyDraft',
'version:previouslyPublished',
'version:previousVersion',
'version:problemRestoringVersion',
'version:publish',
'version:publishAllLocales',
'version:publishChanges',
'version:published',
'version:publishIn',
'version:publishing',
'version:restoreAsDraft',
'version:restoredSuccessfully',
'version:restoreThisVersion',
'version:restoring',
'version:reverting',
'version:revertUnsuccessful',
'version:revertToPublished',
'version:saveDraft',
'version:scheduledSuccessfully',
'version:schedulePublish',
'version:selectLocales',
'version:selectVersionToCompare',
'version:showLocales',
'version:specificVersion',
'version:status',
'version:type',
'version:unpublish',
'version:unpublished',
'version:unpublishIn',
'version:unpublishing',
'version:unpublishedSuccessfully',
'version:versionID',
'version:version',
'version:versions',
'version:viewingVersion',
'version:viewingVersionGlobal',
'version:viewingVersions',
'version:viewingVersionsGlobal'
]);
//# sourceMappingURL=clientKeys.js.map

View File

@@ -0,0 +1,9 @@
/**
* @license lucide-react v0.441.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
export { default } from './square-arrow-right.js';
//# sourceMappingURL=arrow-right-square.js.map

View File

@@ -0,0 +1,45 @@
# Installation
> `npm install --save @types/pg-pool`
# Summary
This package contains type definitions for pg-pool (https://github.com/brianc/node-pg-pool).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-pool.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg-pool/index.d.ts)
````ts
import * as pg from "pg";
declare class Pool<T extends pg.Client> extends pg.Pool {
readonly Client: Pool.ClientLikeCtr<T>;
constructor(config?: Pool.Config<T>, client?: Pool.ClientLikeCtr<T>);
connect(): Promise<T & pg.PoolClient>;
connect(callback: (err?: Error, client?: T & pg.PoolClient, done?: (release?: any) => void) => void): void;
on<K extends "error" | "release" | "connect" | "acquire" | "remove">(
event: K,
listener: K extends "error" | "release" ? (err: Error, client: T & pg.PoolClient) => void
: (client: T & pg.PoolClient) => void,
): this;
}
declare namespace Pool {
type ClientLikeCtr<T extends pg.Client> = new(config?: string | pg.ClientConfig) => T;
interface Config<T extends pg.Client> extends pg.PoolConfig {
Client?: ClientLikeCtr<T> | undefined;
}
}
export = Pool;
````
### Additional Details
* Last updated: Wed, 10 Dec 2025 20:02:11 GMT
* Dependencies: [@types/pg](https://npmjs.com/package/@types/pg)
# Credits
These definitions were written by [Leo Liang](https://github.com/aleung), and [Nikita Tokarchuk](https://github.com/mainnika).

View File

@@ -0,0 +1,20 @@
/**
* @license lucide-react v0.441.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const SquareScissors = createLucideIcon("SquareScissors", [
["rect", { width: "20", height: "20", x: "2", y: "2", rx: "2", key: "1btzen" }],
["circle", { cx: "8", cy: "8", r: "2", key: "14cg06" }],
["path", { d: "M9.414 9.414 12 12", key: "qz4lzr" }],
["path", { d: "M14.8 14.8 18 18", key: "11flf1" }],
["circle", { cx: "8", cy: "16", r: "2", key: "1acxsx" }],
["path", { d: "m18 6-8.586 8.586", key: "11kzk1" }]
]);
export { SquareScissors as default };
//# sourceMappingURL=square-scissors.js.map

View File

@@ -0,0 +1,7 @@
'use strict'
const SemVer = require('../classes/semver')
const compare = (a, b, loose) =>
new SemVer(a, loose).compare(new SemVer(b, loose))
module.exports = compare

View File

@@ -0,0 +1 @@
{"version":3,"file":"execAsync.js","sourceRoot":"","sources":["../../../../../../src/detectors/platform/node/machine-id/execAsync.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,+CAA+C;AAC/C,6BAA6B;AAEhB,QAAA,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport * as child_process from 'child_process';\nimport * as util from 'util';\n\nexport const execAsync = util.promisify(child_process.exec);\n"]}

View File

@@ -0,0 +1,8 @@
import type { Span } from '@opentelemetry/api';
import type { ReadableSpan } from '@opentelemetry/sdk-trace-base';
import type { SanitizedRequestData } from '@sentry/core';
/**
* Get sanitizied request data from an OTEL span.
*/
export declare function getRequestSpanData(span: Span | ReadableSpan): Partial<SanitizedRequestData>;
//# sourceMappingURL=getRequestSpanData.d.ts.map

View File

@@ -0,0 +1,24 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TargetNames = void 0;
const TargetNames = exports.TargetNames = {
node: "node",
deno: "deno",
chrome: "chrome",
opera: "opera",
edge: "edge",
firefox: "firefox",
safari: "safari",
ie: "ie",
ios: "ios",
android: "android",
electron: "electron",
samsung: "samsung",
rhino: "rhino",
opera_mobile: "opera_mobile"
};
//# sourceMappingURL=options.js.map

View File

@@ -0,0 +1,48 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const core = require('@sentry/core');
/**
* Sentry integration for capturing feature flag evaluations from the Statsig js-client SDK.
*
* See the [feature flag documentation](https://develop.sentry.dev/sdk/expected-features/#feature-flags) for more information.
*
* @example
* ```
* import { StatsigClient } from '@statsig/js-client';
* import * as Sentry from '@sentry/browser';
*
* const statsigClient = new StatsigClient();
*
* Sentry.init({
* dsn: '___PUBLIC_DSN___',
* integrations: [Sentry.statsigIntegration({featureFlagClient: statsigClient})],
* });
*
* await statsigClient.initializeAsync(); // or statsigClient.initializeSync();
*
* const result = statsigClient.checkGate('my-feature-gate');
* Sentry.captureException(new Error('something went wrong'));
* ```
*/
const statsigIntegration = core.defineIntegration(
({ featureFlagClient: statsigClient }) => {
return {
name: 'Statsig',
setup(_client) {
statsigClient.on('gate_evaluation', (event) => {
core._INTERNAL_insertFlagToScope(event.gate.name, event.gate.value);
core._INTERNAL_addFeatureFlagToActiveSpan(event.gate.name, event.gate.value);
});
},
processEvent(event, _hint, _client) {
return core._INTERNAL_copyFlagsFromScopeToEvent(event);
},
};
},
) ;
exports.statsigIntegration = statsigIntegration;
//# sourceMappingURL=integration.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"thenElse.js","sourceRoot":"","sources":["../../../lib/vocabularies/applicator/thenElse.ts"],"names":[],"mappings":";;AAEA,6CAAkD;AAElD,MAAM,GAAG,GAA0B;IACjC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IACjC,IAAI,CAAC,EAAC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAa;QAC1C,IAAI,YAAY,CAAC,EAAE,KAAK,SAAS;YAAE,IAAA,sBAAe,EAAC,EAAE,EAAE,IAAI,OAAO,2BAA2B,CAAC,CAAA;IAChG,CAAC;CACF,CAAA;AAED,kBAAe,GAAG,CAAA"}

View File

@@ -0,0 +1,7 @@
export declare const isSameISOWeekYearWithOptions: import("./types.js").FPFn3<
boolean,
| import("../isSameISOWeekYear.js").IsSameISOWeekYearOptions
| undefined,
string | number | Date,
string | number | Date
>;

View File

@@ -0,0 +1,10 @@
"use strict";
exports.subMinutes = void 0;
var _index = require("../subMinutes.cjs");
var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
const subMinutes = (exports.subMinutes = (0, _index2.convertToFP)(
_index.subMinutes,
2,
));

View File

@@ -0,0 +1 @@
{"version":3,"file":"flows.cjs","names":[],"sources":["../../../../src/rest/commands/read/flows.ts"],"sourcesContent":["import type { DirectusFlow } from '../../../schema/flow.js';\nimport type { ApplyQueryFields, Query } from '../../../types/index.js';\nimport type { RestCommand } from '../../types.js';\nimport { throwIfEmpty } from '../../utils/index.js';\n\nexport type ReadFlowOutput<\n\tSchema,\n\tTQuery extends Query<Schema, Item>,\n\tItem extends object = DirectusFlow<Schema>,\n> = ApplyQueryFields<Schema, Item, TQuery['fields']>;\n\n/**\n * List all flows that exist in Directus.\n * @param query The query parameters\n * @returns An array of up to limit flow objects. If no items are available, data will be an empty array.\n */\nexport const readFlows =\n\t<Schema, const TQuery extends Query<Schema, DirectusFlow<Schema>>>(\n\t\tquery?: TQuery,\n\t): RestCommand<ReadFlowOutput<Schema, TQuery>[], Schema> =>\n\t() => ({\n\t\tpath: `/flows`,\n\t\tparams: query ?? {},\n\t\tmethod: 'GET',\n\t});\n\n/**\n * List an existing flow by primary key.\n * @param key The primary key of the dashboard\n * @param query The query parameters\n * @returns Returns the requested flow object.\n * @throws Will throw if key is empty\n */\nexport const readFlow =\n\t<Schema, const TQuery extends Query<Schema, DirectusFlow<Schema>>>(\n\t\tkey: DirectusFlow<Schema>['id'],\n\t\tquery?: TQuery,\n\t): RestCommand<ReadFlowOutput<Schema, TQuery>, Schema> =>\n\t() => {\n\t\tthrowIfEmpty(String(key), 'Key cannot be empty');\n\n\t\treturn {\n\t\t\tpath: `/flows/${key}`,\n\t\t\tparams: query ?? {},\n\t\t\tmethod: 'GET',\n\t\t};\n\t};\n"],"mappings":"kDAgBa,EAEX,QAEM,CACN,KAAM,SACN,OAAQ,GAAS,EAAE,CACnB,OAAQ,MACR,EASW,GAEX,EACA,SAGA,EAAA,aAAa,OAAO,EAAI,CAAE,sBAAsB,CAEzC,CACN,KAAM,UAAU,IAChB,OAAQ,GAAS,EAAE,CACnB,OAAQ,MACR"}

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"K D E F A B zC"},B:{"1":"0 1 2 3 4 5 6 7 8 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB I","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 xB yB zB 0B 1B 2B 3B 4B 5B WC 6B XC 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC Q H R YC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB I ZC aC OC 1C 2C 3C","2":"0C VC J bB K D E F A B C L 4C 5C","33":"9 M G N O P cB AB BB CB DB EB FB GB HB IB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},D:{"1":"0 1 2 3 4 5 6 7 8 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B WC 6B XC 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB I ZC aC OC","2":"J bB K D E F A B C L M G","33":"BB CB DB EB FB GB HB IB dB eB fB gB hB iB jB","66":"9 N O P cB AB"},E:{"1":"B C L M G cC PC QC BD CD DD dC eC RC ED SC fC gC hC iC jC FD TC kC lC mC nC oC GD UC pC qC rC sC HD tC uC vC wC ID","2":"J bB K D E F A 6C bC 7C 8C 9C AD"},F:{"1":"0 1 2 3 4 5 6 7 8 DB EB FB GB HB IB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC Q H R YC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z","2":"F B C JD KD LD MD PC xC ND QC","33":"9 G N O P cB AB BB CB"},G:{"2":"E bC OD yC PD QD RD SD TD UD VD WD XD YD ZD aD bD cD dD eD fD gD hD dC eC RC iD SC fC gC hC iC jC jD TC kC lC mC nC oC kD UC pC qC rC sC lD tC uC vC wC"},H:{"2":"mD"},I:{"2":"VC J I nD oD pD qD yC rD sD"},J:{"2":"D A"},K:{"2":"A B C PC xC QC","16":"H"},L:{"2":"I"},M:{"1":"OC"},N:{"2":"A B"},O:{"16":"RC"},P:{"2":"9 J AB BB CB DB EB FB GB HB IB tD uD vD wD xD cC yD zD 0D 1D 2D SC TC UC 3D"},Q:{"16":"4D"},R:{"1":"5D"},S:{"1":"6D 7D"}},B:2,C:"Pointer Lock API",D:true};

View File

@@ -0,0 +1,10 @@
"use strict";
exports.startOfISOWeek = void 0;
var _index = require("../startOfISOWeek.cjs");
var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
const startOfISOWeek = (exports.startOfISOWeek = (0, _index2.convertToFP)(
_index.startOfISOWeek,
1,
));

View File

@@ -0,0 +1 @@
module.exports={C:{"4":0.00303,"5":0.01514,"34":0.00303,"52":0.00605,"59":0.00303,"78":0.00303,"115":0.03632,"124":0.00303,"128":0.00303,"132":0.00303,"133":0.00303,"136":0.00303,"137":0.00303,"140":0.01514,"141":0.00303,"142":0.00605,"143":0.00303,"144":0.00908,"145":0.15438,"146":0.21492,"147":0.00303,_:"2 3 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 120 121 122 123 125 126 127 129 130 131 134 135 138 139 148 149 3.5 3.6"},D:{"39":0.00605,"40":0.00605,"41":0.00605,"42":0.00605,"43":0.00605,"44":0.00605,"45":0.00605,"46":0.00605,"47":0.00605,"48":0.00605,"49":0.00605,"50":0.00605,"51":0.00605,"52":0.07265,"53":0.00605,"54":0.00605,"55":0.00908,"56":0.00908,"57":0.00605,"58":0.00605,"59":0.00605,"60":0.00605,"65":0.00303,"66":0.00605,"69":0.01816,"70":0.00605,"74":0.00303,"75":0.00303,"78":0.00303,"79":0.00908,"81":0.00303,"83":0.00303,"86":0.00303,"87":0.00908,"88":0.01211,"90":0.00303,"91":0.00303,"94":0.00303,"98":0.37838,"100":0.00303,"101":0.00303,"102":0.00303,"103":0.06054,"104":0.05449,"105":0.05449,"106":0.05449,"107":0.05449,"108":0.05751,"109":0.31784,"110":0.05449,"111":0.08476,"112":2.3762,"114":0.0333,"116":0.12411,"117":0.06054,"118":0.00303,"119":0.01514,"120":0.06054,"121":0.00605,"122":0.03027,"123":0.00303,"124":0.06357,"125":0.11503,"126":1.02313,"127":0.00303,"128":0.01816,"129":0.00303,"130":0.02422,"131":0.12713,"132":0.02724,"133":0.13622,"134":0.00908,"135":0.01514,"136":0.02119,"137":0.01514,"138":0.08778,"139":0.1907,"140":0.05751,"141":0.16043,"142":3.15716,"143":3.50829,"144":0.00303,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 61 62 63 64 67 68 71 72 73 76 77 80 84 85 89 92 93 95 96 97 99 113 115 145 146"},F:{"46":0.00303,"86":0.00605,"90":0.00908,"91":0.00303,"92":0.03027,"93":0.15135,"94":0.00303,"95":0.01514,"109":0.00303,"122":0.00303,"123":0.00605,"124":0.20886,"125":0.0787,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 114 115 116 117 118 119 120 121 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"18":0.00303,"92":0.00605,"109":0.01211,"114":0.00303,"118":0.01816,"122":0.00303,"133":0.00303,"135":0.00303,"136":0.00303,"137":0.00605,"138":0.00605,"139":0.00303,"140":0.00605,"141":0.03632,"142":0.6054,"143":1.17448,_:"12 13 14 15 16 17 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 119 120 121 123 124 125 126 127 128 129 130 131 132 134"},E:{"14":0.00303,"15":0.00303,_:"0 4 5 6 7 8 9 10 11 12 13 3.1 3.2 5.1 6.1 7.1 9.1 10.1 12.1 15.1 15.2-15.3 15.4 17.0","11.1":0.00303,"13.1":0.00605,"14.1":0.00605,"15.5":0.00303,"15.6":0.03935,"16.0":0.00303,"16.1":0.00303,"16.2":0.00303,"16.3":0.00605,"16.4":0.00303,"16.5":0.00303,"16.6":0.05751,"17.1":0.03027,"17.2":0.00303,"17.3":0.00303,"17.4":0.00605,"17.5":0.00605,"17.6":0.03027,"18.0":0.00303,"18.1":0.00908,"18.2":0.00303,"18.3":0.01514,"18.4":0.00605,"18.5-18.6":0.03632,"26.0":0.01816,"26.1":0.13319,"26.2":0.03632,"26.3":0.00303},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00186,"5.0-5.1":0,"6.0-6.1":0.00373,"7.0-7.1":0.0028,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.00745,"10.0-10.2":0.00093,"10.3":0.01304,"11.0-11.2":0.16026,"11.3-11.4":0.00466,"12.0-12.1":0.00373,"12.2-12.5":0.04193,"13.0-13.1":0.00093,"13.2":0.00652,"13.3":0.00186,"13.4-13.7":0.00652,"14.0-14.4":0.01304,"14.5-14.8":0.01398,"15.0-15.1":0.01491,"15.2-15.3":0.01118,"15.4":0.01211,"15.5":0.01304,"15.6-15.8":0.20218,"16.0":0.02329,"16.1":0.04472,"16.2":0.02329,"16.3":0.04193,"16.4":0.01025,"16.5":0.0177,"16.6-16.7":0.26275,"17.0":0.01491,"17.1":0.02422,"17.2":0.0177,"17.3":0.02702,"17.4":0.04565,"17.5":0.08945,"17.6-17.7":0.20684,"18.0":0.04659,"18.1":0.0969,"18.2":0.05124,"18.3":0.16678,"18.4":0.08572,"18.5-18.7":6.15498,"26.0":0.12019,"26.1":0.99974,"26.2":0.19007,"26.3":0.00839},P:{"4":0.04044,"20":0.01011,"21":0.01011,"22":0.02022,"23":0.03033,"24":0.1011,"25":0.06066,"26":0.06066,"27":0.11121,"28":0.37408,"29":6.00552,_:"5.0-5.4 6.2-6.4 9.2 10.1 12.0 13.0 15.0 16.0 18.0","7.2-7.4":0.14154,"8.2":0.01011,"11.1-11.2":0.01011,"14.0":0.02022,"17.0":0.01011,"19.0":0.02022},I:{"0":0.02785,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.00001,"4.4":0,"4.4.3-4.4.4":0.00002},A:{"11":0.03632,_:"6 7 8 9 10 5.5"},K:{"0":2.73078,_:"10 11 12 11.1 11.5 12.1"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},Q:{"14.9":0.00697},O:{"0":0.04882},H:{"0":0.01},L:{"0":63.05488},R:{_:"0"},M:{"0":0.5091}};

View File

@@ -0,0 +1,19 @@
import { RestCommand } from "../../types.js";
//#region src/rest/commands/server/health.d.ts
type ServerHealthOutput = {
status: 'ok' | 'warn' | 'error';
releaseId?: string;
serviceId?: string;
checks?: {
[name: string]: Record<string, any>[];
};
};
/**
* Get the current health status of the server.
* @returns The current health status of the server.
*/
declare const serverHealth: <Schema>() => RestCommand<ServerHealthOutput, Schema>;
//#endregion
export { ServerHealthOutput, serverHealth };
//# sourceMappingURL=health.d.ts.map

View File

@@ -0,0 +1,3 @@
import type { CreatedAtCellProps } from '../../../Versions/cells/CreatedAt/index.js';
export declare const VersionDrawerCreatedAtCell: React.FC<CreatedAtCellProps>;
//# sourceMappingURL=CreatedAtCell.d.ts.map

View File

@@ -0,0 +1,16 @@
"use strict";
exports.__esModule = true;
exports.default = isInput;
var regExpInputs = /^(?:input|select|textarea|button)$/i;
/**
* Checks if a given element is an input (input, select, textarea or button).
*
* @param node the element to check
*/
function isInput(node) {
return node ? regExpInputs.test(node.nodeName) : false;
}
module.exports = exports["default"];

View File

@@ -0,0 +1,7 @@
/**
* Parse Date time skeleton into Intl.DateTimeFormatOptions
* Ref: https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
* @public
* @param skeleton skeleton string
*/
export declare function parseDateTimeSkeleton(skeleton: string): Intl.DateTimeFormatOptions;

View File

@@ -0,0 +1,20 @@
/**
* @license lucide-react v0.441.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const Antenna = createLucideIcon("Antenna", [
["path", { d: "M2 12 7 2", key: "117k30" }],
["path", { d: "m7 12 5-10", key: "1tvx22" }],
["path", { d: "m12 12 5-10", key: "ev1o1a" }],
["path", { d: "m17 12 5-10", key: "1e4ti3" }],
["path", { d: "M4.5 7h15", key: "vlsxkz" }],
["path", { d: "M12 16v6", key: "c8a4gj" }]
]);
export { Antenna as default };
//# sourceMappingURL=antenna.js.map

View File

@@ -0,0 +1,6 @@
import * as React from 'react';
import { EmotionCache } from '@emotion/cache';
export declare let CacheProvider: React.Provider<EmotionCache | null>;
export declare let __unsafe_useEmotionCache: () => EmotionCache | null;
declare let withEmotionCache: <Props, RefType = any>(func: (props: React.PropsWithoutRef<Props>, context: EmotionCache, ref?: React.ForwardedRef<RefType>) => React.ReactNode) => React.FC<React.PropsWithoutRef<Props> & React.RefAttributes<RefType>> | React.ForwardRefExoticComponent<React.PropsWithoutRef<Props> & React.RefAttributes<RefType>>;
export { withEmotionCache };

View File

@@ -0,0 +1,69 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var binary_exports = {};
__export(binary_exports, {
SingleStoreBinary: () => SingleStoreBinary,
SingleStoreBinaryBuilder: () => SingleStoreBinaryBuilder,
binary: () => binary
});
module.exports = __toCommonJS(binary_exports);
var import_entity = require("../../entity.cjs");
var import_utils = require("../../utils.cjs");
var import_common = require("./common.cjs");
class SingleStoreBinaryBuilder extends import_common.SingleStoreColumnBuilder {
static [import_entity.entityKind] = "SingleStoreBinaryBuilder";
constructor(name, length) {
super(name, "string", "SingleStoreBinary");
this.config.length = length;
}
/** @internal */
build(table) {
return new SingleStoreBinary(
table,
this.config
);
}
}
class SingleStoreBinary extends import_common.SingleStoreColumn {
static [import_entity.entityKind] = "SingleStoreBinary";
length = this.config.length;
mapFromDriverValue(value) {
if (typeof value === "string") return value;
if (Buffer.isBuffer(value)) return value.toString();
const str = [];
for (const v of value) {
str.push(v === 49 ? "1" : "0");
}
return str.join("");
}
getSQLType() {
return this.length === void 0 ? `binary` : `binary(${this.length})`;
}
}
function binary(a, b = {}) {
const { name, config } = (0, import_utils.getColumnNameAndConfig)(a, b);
return new SingleStoreBinaryBuilder(name, config.length);
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
SingleStoreBinary,
SingleStoreBinaryBuilder,
binary
});
//# sourceMappingURL=binary.cjs.map

View File

@@ -0,0 +1,43 @@
import "../types/number.js";
import { invariant } from "../utils.js";
import { CollapseNumberRange } from "./CollapseNumberRange.js";
import { FormatApproximately } from "./FormatApproximately.js";
import { FormatNumeric } from "./FormatNumeric.js";
import { PartitionNumberPattern } from "./PartitionNumberPattern.js";
/**
* https://tc39.es/ecma402/#sec-partitionnumberrangepattern
*/
export function PartitionNumberRangePattern(numberFormat, x, y, { getInternalSlots }) {
// 1. Assert: x and y are both mathematical values.
invariant(!x.isNaN() && !y.isNaN(), "Input must be a number", RangeError);
const internalSlots = getInternalSlots(numberFormat);
// 3. Let xResult be ? PartitionNumberPattern(numberFormat, x).
const xResult = PartitionNumberPattern(internalSlots, x);
// 4. Let yResult be ? PartitionNumberPattern(numberFormat, y).
const yResult = PartitionNumberPattern(internalSlots, y);
if (FormatNumeric(internalSlots, x) === FormatNumeric(internalSlots, y)) {
const appxResult = FormatApproximately(internalSlots, xResult);
appxResult.forEach((el) => {
el.source = "shared";
});
return appxResult;
}
let result = [];
xResult.forEach((el) => {
el.source = "startRange";
result.push(el);
});
// 9. Let symbols be internalSlots.[[dataLocaleData]].[[numbers]].[[symbols]][internalSlots.[[numberingSystem]]].
const rangeSeparator = internalSlots.dataLocaleData.numbers.symbols[internalSlots.numberingSystem].rangeSign;
result.push({
type: "literal",
value: rangeSeparator,
source: "shared"
});
yResult.forEach((el) => {
el.source = "endRange";
result.push(el);
});
// 13. Return ? CollapseNumberRange(numberFormat, result).
return CollapseNumberRange(numberFormat, result, { getInternalSlots });
}

View File

@@ -0,0 +1,25 @@
import native from './native.js';
import rng from './rng.js';
import { unsafeStringify } from './stringify.js';
function v4(options, buf, offset) {
if (native.randomUUID && !buf && !options) {
return native.randomUUID();
}
options = options || {};
var rnds = options.random || (options.rng || rng)();
// Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
rnds[6] = rnds[6] & 0x0f | 0x40;
rnds[8] = rnds[8] & 0x3f | 0x80;
// Copy bytes to buffer, if provided
if (buf) {
offset = offset || 0;
for (var i = 0; i < 16; ++i) {
buf[offset + i] = rnds[i];
}
return buf;
}
return unsafeStringify(rnds);
}
export default v4;

View File

@@ -0,0 +1,89 @@
import { is } from "../entity.js";
import { PgTable } from "./table.js";
import { SQL } from "../sql/sql.js";
import { Subquery } from "../subquery.js";
import { Schema, Table } from "../table.js";
import { ViewBaseConfig } from "../view-common.js";
import { CheckBuilder } from "./checks.js";
import { ForeignKeyBuilder } from "./foreign-keys.js";
import { IndexBuilder } from "./indexes.js";
import { PgPolicy } from "./policies.js";
import { PrimaryKeyBuilder } from "./primary-keys.js";
import { UniqueConstraintBuilder } from "./unique-constraint.js";
import { PgViewConfig } from "./view-common.js";
import { PgMaterializedViewConfig } from "./view.js";
function getTableConfig(table) {
const columns = Object.values(table[Table.Symbol.Columns]);
const indexes = [];
const checks = [];
const primaryKeys = [];
const foreignKeys = Object.values(table[PgTable.Symbol.InlineForeignKeys]);
const uniqueConstraints = [];
const name = table[Table.Symbol.Name];
const schema = table[Table.Symbol.Schema];
const policies = [];
const enableRLS = table[PgTable.Symbol.EnableRLS];
const extraConfigBuilder = table[PgTable.Symbol.ExtraConfigBuilder];
if (extraConfigBuilder !== void 0) {
const extraConfig = extraConfigBuilder(table[Table.Symbol.ExtraConfigColumns]);
const extraValues = Array.isArray(extraConfig) ? extraConfig.flat(1) : Object.values(extraConfig);
for (const builder of extraValues) {
if (is(builder, IndexBuilder)) {
indexes.push(builder.build(table));
} else if (is(builder, CheckBuilder)) {
checks.push(builder.build(table));
} else if (is(builder, UniqueConstraintBuilder)) {
uniqueConstraints.push(builder.build(table));
} else if (is(builder, PrimaryKeyBuilder)) {
primaryKeys.push(builder.build(table));
} else if (is(builder, ForeignKeyBuilder)) {
foreignKeys.push(builder.build(table));
} else if (is(builder, PgPolicy)) {
policies.push(builder);
}
}
}
return {
columns,
indexes,
foreignKeys,
checks,
primaryKeys,
uniqueConstraints,
name,
schema,
policies,
enableRLS
};
}
function extractUsedTable(table) {
if (is(table, PgTable)) {
return [table[Schema] ? `${table[Schema]}.${table[Table.Symbol.BaseName]}` : table[Table.Symbol.BaseName]];
}
if (is(table, Subquery)) {
return table._.usedTables ?? [];
}
if (is(table, SQL)) {
return table.usedTables ?? [];
}
return [];
}
function getViewConfig(view) {
return {
...view[ViewBaseConfig],
...view[PgViewConfig]
};
}
function getMaterializedViewConfig(view) {
return {
...view[ViewBaseConfig],
...view[PgMaterializedViewConfig]
};
}
export {
extractUsedTable,
getMaterializedViewConfig,
getTableConfig,
getViewConfig
};
//# sourceMappingURL=utils.js.map

View File

@@ -0,0 +1,224 @@
@layer payload-default, payload;
@import 'styles';
@import './toasts.scss';
@import './colors.scss';
@layer payload-default {
:root {
--base-px: 20;
--base-body-size: 13;
--base: calc((var(--base-px) / var(--base-body-size)) * 1rem);
--breakpoint-xs-width: #{$breakpoint-xs-width};
--breakpoint-s-width: #{$breakpoint-s-width};
--breakpoint-m-width: #{$breakpoint-m-width};
--breakpoint-l-width: #{$breakpoint-l-width};
--scrollbar-width: 17px;
--theme-bg: var(--theme-elevation-0);
--theme-input-bg: var(--theme-elevation-0);
--theme-text: var(--theme-elevation-800);
--theme-overlay: rgba(5, 5, 5, 0.5);
--theme-baseline: #{$baseline-px};
--theme-baseline-body-size: #{$baseline-body-size};
--font-body:
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
--font-serif: 'Georgia', 'Bitstream Charter', 'Charis SIL', Utopia, 'URW Bookman L', serif;
--font-mono: 'SF Mono', Menlo, Consolas, Monaco, monospace;
--style-radius-s: #{$style-radius-s};
--style-radius-m: #{$style-radius-m};
--style-radius-l: #{$style-radius-l};
// --z-popup needs to be higher than --z-modal to ensure the popup is displayed when modal is open
--z-popup: 60;
--z-nav: 20;
--z-modal: 30;
--z-status: 40;
--accessibility-outline: 2px solid var(--theme-text);
--accessibility-outline-offset: 2px;
--gutter-h: #{base(3)};
--spacing-view-bottom: var(--gutter-h);
--doc-controls-height: calc(var(--base) * 2.8);
--app-header-height: calc(var(--base) * 2.8);
--nav-width: 275px;
--nav-trans-time: 150ms;
@include mid-break {
--gutter-h: #{base(2)};
--app-header-height: calc(var(--base) * 2.4);
--doc-controls-height: calc(var(--base) * 2.4);
}
@include small-break {
--gutter-h: #{base(0.8)};
--spacing-view-bottom: calc(var(--base) * 2);
--nav-width: 100vw;
}
}
/////////////////////////////
// GLOBAL STYLES
/////////////////////////////
* {
box-sizing: border-box;
}
html {
@extend %body;
background: var(--theme-bg);
-webkit-font-smoothing: antialiased;
&[data-theme='dark'] {
--theme-bg: var(--theme-elevation-0);
--theme-text: var(--theme-elevation-1000);
--theme-input-bg: var(--theme-elevation-50);
--theme-overlay: rgba(5, 5, 5, 0.75);
color-scheme: dark;
::selection {
color: var(--color-base-1000);
}
::-moz-selection {
color: var(--color-base-1000);
}
}
@include mid-break {
font-size: 12px;
}
}
html,
body,
#app {
height: 100%;
}
body {
font-family: var(--font-body);
font-weight: 400;
color: var(--theme-text);
margin: 0;
// this is for the nav to be able to push the document over
overflow-x: hidden;
}
::selection {
background: var(--color-success-250);
color: var(--theme-base-800);
}
::-moz-selection {
background: var(--color-success-250);
color: var(--theme-base-800);
}
img {
max-width: 100%;
height: auto;
display: block;
}
h1 {
@extend %h1;
}
h2 {
@extend %h2;
}
h3 {
@extend %h3;
}
h4 {
@extend %h4;
}
h5 {
@extend %h5;
}
h6 {
@extend %h6;
}
p {
margin: 0;
}
ul,
ol {
padding-left: $baseline;
margin: 0;
}
:focus-visible {
outline: var(--accessibility-outline);
}
a {
color: currentColor;
&:focus {
&:not(:focus-visible) {
opacity: 0.8;
}
outline: none;
}
&:active {
opacity: 0.7;
outline: none;
}
}
svg {
vertical-align: middle;
}
dialog {
width: 100%;
border: 0;
padding: 0;
color: currentColor;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
.payload__modal-item {
min-height: 100%;
background: transparent;
}
.payload__modal-container--enterDone {
overflow: auto;
}
.payload__modal-item--enter,
.payload__modal-item--enterDone {
z-index: var(--z-modal);
}
button {
font: var(--font-body);
}
// @import '~payload-user-css'; TODO: re-enable this
}

View File

@@ -0,0 +1,24 @@
import type { ColumnBuilderBaseConfig } from "../../column-builder.cjs";
import type { ColumnBaseConfig } from "../../column.cjs";
import { entityKind } from "../../entity.cjs";
import { PgColumn } from "./common.cjs";
import { PgIntColumnBaseBuilder } from "./int.common.cjs";
export type PgIntegerBuilderInitial<TName extends string> = PgIntegerBuilder<{
name: TName;
dataType: 'number';
columnType: 'PgInteger';
data: number;
driverParam: number | string;
enumValues: undefined;
}>;
export declare class PgIntegerBuilder<T extends ColumnBuilderBaseConfig<'number', 'PgInteger'>> extends PgIntColumnBaseBuilder<T> {
static readonly [entityKind]: string;
constructor(name: T['name']);
}
export declare class PgInteger<T extends ColumnBaseConfig<'number', 'PgInteger'>> extends PgColumn<T> {
static readonly [entityKind]: string;
getSQLType(): string;
mapFromDriverValue(value: number | string): number;
}
export declare function integer(): PgIntegerBuilderInitial<''>;
export declare function integer<TName extends string>(name: TName): PgIntegerBuilderInitial<TName>;

View File

@@ -0,0 +1,23 @@
declare module 'emoji-regex' {
function emojiRegex(): RegExp;
export default emojiRegex;
}
declare module 'emoji-regex/text' {
function emojiRegex(): RegExp;
export default emojiRegex;
}
declare module 'emoji-regex/es2015' {
function emojiRegex(): RegExp;
export default emojiRegex;
}
declare module 'emoji-regex/es2015/text' {
function emojiRegex(): RegExp;
export default emojiRegex;
}

View File

@@ -0,0 +1,18 @@
import type { GraphQLSchema } from '../type/schema';
import type {
IntrospectionOptions,
IntrospectionQuery,
} from './getIntrospectionQuery';
/**
* Build an IntrospectionQuery from a GraphQLSchema
*
* IntrospectionQuery is useful for utilities that care about type and field
* relationships, but do not need to traverse through those relationships.
*
* This is the inverse of buildClientSchema. The primary use case is outside
* of the server context, for instance when doing schema comparisons.
*/
export declare function introspectionFromSchema(
schema: GraphQLSchema,
options?: IntrospectionOptions,
): IntrospectionQuery;

View File

@@ -0,0 +1,24 @@
/**
* Copyright (c) 2017, Dirk-Jan Rutten
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import { GraphQLScalarType } from 'graphql';
import type { GraphQLScalarTypeConfig } from 'graphql';
export declare const GraphQLDateTimeConfig: GraphQLScalarTypeConfig<Date, Date>;
/**
* An RFC 3339 compliant date-time scalar.
*
* Input:
* This scalar takes an RFC 3339 date-time string as input and
* parses it to a javascript Date.
*
* Output:
* This scalar serializes javascript Dates,
* RFC 3339 date-time strings and unix timestamps
* to RFC 3339 UTC date-time strings.
*/
export declare const GraphQLDateTime: GraphQLScalarType<Date, Date>;

View File

@@ -0,0 +1 @@
export declare function isHTMLElement(node: Node | Window): node is HTMLElement;

View File

@@ -0,0 +1,9 @@
import type { Validate } from 'payload';
import React from 'react';
export type LoginFieldProps = {
readonly required?: boolean;
readonly type: 'email' | 'emailOrUsername' | 'username';
readonly validate?: Validate;
};
export declare const LoginField: React.FC<LoginFieldProps>;
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"table-of-contents.js","sources":["../../../src/icons/table-of-contents.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name TableOfContents\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTYgMTJIMyIgLz4KICA8cGF0aCBkPSJNMTYgMThIMyIgLz4KICA8cGF0aCBkPSJNMTYgNkgzIiAvPgogIDxwYXRoIGQ9Ik0yMSAxMmguMDEiIC8+CiAgPHBhdGggZD0iTTIxIDE4aC4wMSIgLz4KICA8cGF0aCBkPSJNMjEgNmguMDEiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/table-of-contents\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TableOfContents = createLucideIcon('TableOfContents', [\n ['path', { d: 'M16 12H3', key: '1a2rj7' }],\n ['path', { d: 'M16 18H3', key: '12xzn7' }],\n ['path', { d: 'M16 6H3', key: '1wxfjs' }],\n ['path', { d: 'M21 12h.01', key: 'msek7k' }],\n ['path', { d: 'M21 18h.01', key: '1e8rq1' }],\n ['path', { d: 'M21 6h.01', key: '1koanj' }],\n]);\n\nexport default TableOfContents;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAkB,iBAAiB,iBAAmB,CAAA,CAAA,CAAA;AAAA,CAAA,CAC1D,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACzC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACzC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACxC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CAC3C,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CAC3C,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA;AAC5C,CAAC,CAAA,CAAA;;"}

View File

@@ -0,0 +1 @@
import e from"./useConfig.js";function o(){return e("useTimeZone").timeZone}export{o as default};

View File

@@ -0,0 +1,9 @@
import { StackLineParser } from '@sentry/core';
export declare const chromeStackLineParser: StackLineParser;
export declare const geckoStackLineParser: StackLineParser;
export declare const winjsStackLineParser: StackLineParser;
export declare const opera10StackLineParser: StackLineParser;
export declare const opera11StackLineParser: StackLineParser;
export declare const defaultStackLineParsers: StackLineParser[];
export declare const defaultStackParser: import("@sentry/core").StackParser;
//# sourceMappingURL=stack-parsers.d.ts.map

View File

@@ -0,0 +1,8 @@
// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
import { compareAsc as fn } from "../compareAsc.mjs";
import { convertToFP } from "./_lib/convertToFP.mjs";
export const compareAsc = convertToFP(fn, 2);
// Fallback for modularized imports:
export default compareAsc;

View File

@@ -0,0 +1 @@
!function(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}(Prism);

View File

@@ -0,0 +1 @@
{"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../src/languages/nl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtE,eAAO,MAAM,cAAc,EAAE,yBAsoB5B,CAAA;AAED,eAAO,MAAM,EAAE,EAAE,QAGhB,CAAA"}

View File

@@ -0,0 +1,69 @@
import { addDays } from "./addDays.js";
import { addMonths } from "./addMonths.js";
import { constructFrom } from "./constructFrom.js";
import { toDate } from "./toDate.js";
/**
* The {@link add} function options.
*/
/**
* @name add
* @category Common Helpers
* @summary Add the specified years, months, weeks, days, hours, minutes, and seconds to the given date.
*
* @description
* Add the specified years, months, weeks, days, hours, minutes, and seconds to the given date.
*
* @typeParam DateType - The `Date` type the function operates on. Gets inferred from passed arguments. Allows using extensions like [`UTCDate`](https://github.com/date-fns/utc).
* @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
*
* @param date - The date to be changed
* @param duration - The object with years, months, weeks, days, hours, minutes, and seconds to be added.
* @param options - An object with options
*
* @returns The new date with the seconds added
*
* @example
* // Add the following duration to 1 September 2014, 10:19:50
* const result = add(new Date(2014, 8, 1, 10, 19, 50), {
* years: 2,
* months: 9,
* weeks: 1,
* days: 7,
* hours: 5,
* minutes: 9,
* seconds: 30,
* })
* //=> Thu Jun 15 2017 15:29:20
*/
export function add(date, duration, options) {
const {
years = 0,
months = 0,
weeks = 0,
days = 0,
hours = 0,
minutes = 0,
seconds = 0,
} = duration;
// Add years and months
const _date = toDate(date, options?.in);
const dateWithMonths =
months || years ? addMonths(_date, months + years * 12) : _date;
// Add weeks and days
const dateWithDays =
days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths;
// Add days, hours, minutes, and seconds
const minutesToAdd = minutes + hours * 60;
const secondsToAdd = seconds + minutesToAdd * 60;
const msToAdd = secondsToAdd * 1000;
return constructFrom(options?.in || date, +dateWithDays + msToAdd);
}
// Fallback for modularized imports:
export default add;

View File

@@ -0,0 +1,17 @@
import { DirectusPolicy } from "./policy.cjs";
import { MergeCoreCollection } from "../types/schema.cjs";
//#region src/schema/permission.d.ts
type DirectusPermission<Schema = any> = MergeCoreCollection<Schema, 'directus_permissions', {
id: number;
policy: DirectusPolicy<Schema> | string | null;
collection: string;
action: string;
permissions: Record<string, any> | null;
validation: Record<string, any> | null;
presets: Record<string, any> | null;
fields: string[] | null;
}>;
//#endregion
export { DirectusPermission };
//# sourceMappingURL=permission.d.cts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"panels.cjs","names":[],"sources":["../../../../src/rest/commands/update/panels.ts"],"sourcesContent":["import type { DirectusPanel } from '../../../schema/panel.js';\nimport type { ApplyQueryFields, NestedPartial, Query } from '../../../types/index.js';\nimport type { RestCommand } from '../../types.js';\nimport { throwIfEmpty } from '../../utils/index.js';\n\nexport type UpdatePanelOutput<\n\tSchema,\n\tTQuery extends Query<Schema, Item>,\n\tItem extends object = DirectusPanel<Schema>,\n> = ApplyQueryFields<Schema, Item, TQuery['fields']>;\n\n/**\n * Update multiple existing panels.\n * @param keys\n * @param item\n * @param query\n * @returns Returns the panel objects for the updated panels.\n * @throws Will throw if keys is empty\n */\nexport const updatePanels =\n\t<Schema, const TQuery extends Query<Schema, DirectusPanel<Schema>>>(\n\t\tkeys: DirectusPanel<Schema>['id'][],\n\t\titem: NestedPartial<DirectusPanel<Schema>>,\n\t\tquery?: TQuery,\n\t): RestCommand<UpdatePanelOutput<Schema, TQuery>[], Schema> =>\n\t() => {\n\t\tthrowIfEmpty(keys, 'Keys cannot be empty');\n\n\t\treturn {\n\t\t\tpath: `/panels`,\n\t\t\tparams: query ?? {},\n\t\t\tbody: JSON.stringify({ keys, data: item }),\n\t\t\tmethod: 'PATCH',\n\t\t};\n\t};\n\n/**\n * Update multiple panels as batch.\n * @param items\n * @param query\n * @returns Returns the panel objects for the updated panels.\n */\nexport const updatePanelsBatch =\n\t<Schema, const TQuery extends Query<Schema, DirectusPanel<Schema>>>(\n\t\titems: NestedPartial<DirectusPanel<Schema>>[],\n\t\tquery?: TQuery,\n\t): RestCommand<UpdatePanelOutput<Schema, TQuery>[], Schema> =>\n\t() => ({\n\t\tpath: `/panels`,\n\t\tparams: query ?? {},\n\t\tbody: JSON.stringify(items),\n\t\tmethod: 'PATCH',\n\t});\n\n/**\n * Update an existing panel.\n * @param key\n * @param item\n * @param query\n * @returns Returns the panel object for the updated panel.\n * @throws Will throw if key is empty\n */\nexport const updatePanel =\n\t<Schema, const TQuery extends Query<Schema, DirectusPanel<Schema>>>(\n\t\tkey: DirectusPanel<Schema>['id'],\n\t\titem: NestedPartial<DirectusPanel<Schema>>,\n\t\tquery?: TQuery,\n\t): RestCommand<UpdatePanelOutput<Schema, TQuery>, Schema> =>\n\t() => {\n\t\tthrowIfEmpty(key, 'Key cannot be empty');\n\n\t\treturn {\n\t\t\tpath: `/panels/${key}`,\n\t\t\tparams: query ?? {},\n\t\t\tbody: JSON.stringify(item),\n\t\t\tmethod: 'PATCH',\n\t\t};\n\t};\n"],"mappings":"kDAmBa,GAEX,EACA,EACA,SAGA,EAAA,aAAa,EAAM,uBAAuB,CAEnC,CACN,KAAM,UACN,OAAQ,GAAS,EAAE,CACnB,KAAM,KAAK,UAAU,CAAE,OAAM,KAAM,EAAM,CAAC,CAC1C,OAAQ,QACR,EASU,GAEX,EACA,SAEM,CACN,KAAM,UACN,OAAQ,GAAS,EAAE,CACnB,KAAM,KAAK,UAAU,EAAM,CAC3B,OAAQ,QACR,EAUW,GAEX,EACA,EACA,SAGA,EAAA,aAAa,EAAK,sBAAsB,CAEjC,CACN,KAAM,WAAW,IACjB,OAAQ,GAAS,EAAE,CACnB,KAAM,KAAK,UAAU,EAAK,CAC1B,OAAQ,QACR"}

View File

@@ -0,0 +1,12 @@
# The BSD 2-Clause License
Copyright (c) 2014, Domenic Denicola
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const code_1 = require("../code");
const def = {
keyword: "union",
schemaType: "array",
trackErrors: true,
code: code_1.validateUnion,
error: { message: "must match a schema in union" },
};
exports.default = def;
//# sourceMappingURL=union.js.map

View File

@@ -0,0 +1,35 @@
import validate from './validate.js';
function parse(uuid) {
if (!validate(uuid)) {
throw TypeError('Invalid UUID');
}
let v;
const arr = new Uint8Array(16); // Parse ########-....-....-....-............
arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
arr[1] = v >>> 16 & 0xff;
arr[2] = v >>> 8 & 0xff;
arr[3] = v & 0xff; // Parse ........-####-....-....-............
arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
arr[5] = v & 0xff; // Parse ........-....-####-....-............
arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
arr[7] = v & 0xff; // Parse ........-....-....-####-............
arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
arr[9] = v & 0xff; // Parse ........-....-....-....-############
// (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;
arr[11] = v / 0x100000000 & 0xff;
arr[12] = v >>> 24 & 0xff;
arr[13] = v >>> 16 & 0xff;
arr[14] = v >>> 8 & 0xff;
arr[15] = v & 0xff;
return arr;
}
export default parse;

View File

@@ -0,0 +1,22 @@
import type { ColumnBuilderBaseConfig, HasDefault, NotNull } from "../../column-builder.js";
import type { ColumnBaseConfig } from "../../column.js";
import { entityKind } from "../../entity.js";
import { PgColumn, PgColumnBuilder } from "./common.js";
export type PgSmallSerialBuilderInitial<TName extends string> = NotNull<HasDefault<PgSmallSerialBuilder<{
name: TName;
dataType: 'number';
columnType: 'PgSmallSerial';
data: number;
driverParam: number;
enumValues: undefined;
}>>>;
export declare class PgSmallSerialBuilder<T extends ColumnBuilderBaseConfig<'number', 'PgSmallSerial'>> extends PgColumnBuilder<T> {
static readonly [entityKind]: string;
constructor(name: T['name']);
}
export declare class PgSmallSerial<T extends ColumnBaseConfig<'number', 'PgSmallSerial'>> extends PgColumn<T> {
static readonly [entityKind]: string;
getSQLType(): string;
}
export declare function smallserial(): PgSmallSerialBuilderInitial<''>;
export declare function smallserial<TName extends string>(name: TName): PgSmallSerialBuilderInitial<TName>;

View File

@@ -0,0 +1 @@
module.exports={A:{A:{"2":"K D E F A zC","132":"B"},B:{"132":"C L M G N O P","1028":"0 1 2 3 4 5 6 7 8 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB I"},C:{"2":"0 1 2 9 0C VC J bB K D E F A B C L M G N O P cB AB BB CB DB EB FB GB HB IB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B WC 6B XC 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC Q H R YC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 4C 5C","4098":"3","8258":"4 5 6 7 8 JB KB LB MB NB OB PB QB RB SB TB","16388":"UB VB WB XB YB ZB aB I ZC aC OC 1C 2C 3C"},D:{"2":"9 J bB K D E F A B C L M G N O P cB AB BB CB DB EB FB GB HB IB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B WC 6B XC 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p","2052":"0 1 2 3 4 5 6 7 8 q r s t u v w x y z JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB I ZC aC OC"},E:{"1":"L M G BD CD DD dC eC RC ED SC fC gC hC iC jC FD TC kC lC mC nC oC GD UC pC qC rC sC HD tC uC vC wC ID","2":"J bB K D E F A 6C bC 7C 8C 9C AD cC","516":"B C PC QC"},F:{"2":"9 F B C G N O P cB AB BB CB DB EB FB GB HB IB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC JC KC LC MC NC Q H R YC S T U V W X Y Z a b c JD KD LD MD PC xC ND QC","2052":"0 1 2 3 4 5 6 7 8 d e f g h i j k l m n o p q r s t u v w x y z"},G:{"1":"XD YD ZD aD bD cD dD eD fD gD hD dC eC RC iD SC fC gC hC iC jC jD TC kC lC mC nC oC kD UC pC qC rC sC lD tC uC vC wC","2":"E bC OD yC PD QD RD SD TD UD VD WD"},H:{"2":"mD"},I:{"2":"VC J nD oD pD qD yC rD sD","2052":"I"},J:{"2":"D A"},K:{"2":"A B C PC xC QC","258":"H"},L:{"2052":"I"},M:{"16388":"OC"},N:{"2":"A B"},O:{"2":"RC"},P:{"1":"AB BB CB DB EB FB GB HB IB","2":"J","258":"9 tD uD vD wD xD cC yD zD 0D 1D 2D SC TC UC 3D"},Q:{"2":"4D"},R:{"1":"5D"},S:{"2":"6D 7D"}},B:6,C:"HEVC/H.265 video format",D:true};

View File

@@ -0,0 +1,5 @@
import { IImage } from './interface.js';
declare const JP2: IImage;
export { JP2 };

Some files were not shown because too many files have changed in this diff Show More