twenty-sdk 2.16.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{catalog-sync-w6yKppKP.js → catalog-sync-CgKswjsE.js} +1 -1
- package/dist/{catalog-sync-BYM3GqZl.mjs → catalog-sync-YxvEEHz5.mjs} +1 -1
- package/dist/cli/commands/dev/i18n-extract.d.ts +7 -0
- package/dist/cli/utilities/build/common/front-component-build/css-injection-plugin.d.ts +2 -0
- package/dist/cli/utilities/i18n/collect-translatable-strings.d.ts +2 -0
- package/dist/cli/utilities/i18n/compile-application-translations.d.ts +1 -0
- package/dist/cli/utilities/i18n/constants.d.ts +1 -0
- package/dist/cli/utilities/i18n/extract-application-translations.d.ts +10 -0
- package/dist/cli/utilities/i18n/generate-message-id.d.ts +1 -0
- package/dist/cli.cjs +17 -15
- package/dist/cli.mjs +995 -935
- package/dist/define/index.cjs +2 -2
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +14 -5
- package/dist/define/index.mjs +28 -71
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +42 -12
- package/dist/front-component/index.mjs +134 -143
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/front-component-renderer/build.cjs +1 -1
- package/dist/front-component-renderer/build.mjs +1 -1
- package/dist/{get-front-component-build-plugins-DBupR4cF.js → get-front-component-build-plugins-Dqpyup2W.js} +9 -5
- package/dist/get-front-component-build-plugins-taotEFOp.mjs +126 -0
- package/dist/{get-function-input-schema-GNk3NRLJ-zQkANyT3.mjs → get-function-input-schema-GNk3NRLJ-CfeAvjEl.mjs} +1 -1
- package/dist/{login-D7nyXinY.js → login-BOrzi4Z0.js} +50 -50
- package/dist/{login-rU5te3B6.mjs → login-Dg4Ap-uo.mjs} +3983 -3993
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +1 -1
- package/package.json +3 -12
- package/dist/AllIcons-CdbaxNyc-CJcUHQBl.mjs +0 -66238
- package/dist/AllIcons-CdbaxNyc-DR-8e_UM.js +0 -1
- package/dist/get-front-component-build-plugins-BuE2QdIr.mjs +0 -113
- package/dist/icon-DMT-YeKi-C9-AduNa.mjs +0 -10168
- package/dist/icon-DMT-YeKi-Cz0W5sJA.js +0 -1
- package/dist/ui/index.cjs +0 -26
- package/dist/ui/index.d.ts +0 -18
- package/dist/ui/index.mjs +0 -15562
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../get-front-component-build-plugins-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../get-front-component-build-plugins-Dqpyup2W.js");exports.getFrontComponentBuildPlugins=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../get-front-component-build-plugins-
|
|
1
|
+
import { t as e } from "../get-front-component-build-plugins-taotEFOp.mjs";
|
|
2
2
|
export { e as getFrontComponentBuildPlugins };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let u=require("path");u=l(u);let d=require("node:fs/promises");var f
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let u=require("path");u=l(u);let d=require("node:fs/promises");var f=e=>`if (typeof document !== 'undefined') {
|
|
2
|
+
const styleElement = document.createElement('style');
|
|
3
|
+
document.head.appendChild(styleElement);
|
|
4
|
+
styleElement.textContent = ${JSON.stringify(e)};
|
|
5
|
+
}`,p={name:`css-injection`,setup:e=>{e.onLoad({filter:/\.css$/},async({path:e})=>({contents:f(await(0,d.readFile)(e,`utf8`)),loader:`js`}))}},m=`export var customElementMap = globalThis.__HTML_TAG_TO_CUSTOM_ELEMENT_TAG__ || {};
|
|
2
6
|
|
|
3
7
|
var _injectedStyleKeys = {};
|
|
4
8
|
|
|
@@ -73,7 +77,7 @@ export function makeEventRef(events, userRef) {
|
|
|
73
77
|
if (typeof userRef === 'function') userRef(el);
|
|
74
78
|
else if (userRef != null && typeof userRef === 'object') userRef.current = el;
|
|
75
79
|
};
|
|
76
|
-
}`,
|
|
80
|
+
}`,h=`import {
|
|
77
81
|
jsx as _originalJsx,
|
|
78
82
|
jsxs as _originalJsxs,
|
|
79
83
|
Fragment,
|
|
@@ -116,7 +120,7 @@ function _wrapJsxFactory(originalFactory) {
|
|
|
116
120
|
|
|
117
121
|
export var jsx = _wrapJsxFactory(_originalJsx);
|
|
118
122
|
export var jsxs = _wrapJsxFactory(_originalJsxs);
|
|
119
|
-
export { Fragment };`,
|
|
123
|
+
export { Fragment };`,g=`export * from '__real_react__';
|
|
120
124
|
import _React from '__real_react__';
|
|
121
125
|
|
|
122
126
|
import {
|
|
@@ -163,6 +167,6 @@ function createElement(type) {
|
|
|
163
167
|
}
|
|
164
168
|
|
|
165
169
|
export { createElement };
|
|
166
|
-
export default Object.assign({}, _React, { createElement: createElement });`,
|
|
170
|
+
export default Object.assign({}, _React, { createElement: createElement });`,_=e=>{let t=e?.usePreact??!1,n=t?`preact/jsx-runtime`:`react/jsx-runtime`,r=t?`preact/compat`:`react`;return{name:`jsx-runtime-remote-wrapper`,setup:e=>{let t,i;e.onResolve({filter:/^__jsx_shared_helpers__$/},()=>({path:`__jsx_shared_helpers__`,namespace:`jsx-shared-helpers`})),e.onLoad({filter:/.*/,namespace:`jsx-shared-helpers`},()=>({contents:m,loader:`js`})),e.onResolve({filter:/^react\/jsx-runtime$/},async r=>{if(!r.pluginData?.skipJsxWrapper)return t||=(await e.resolve(n,{kind:r.kind,resolveDir:r.resolveDir,pluginData:{skipJsxWrapper:!0}})).path,{path:`react/jsx-runtime`,namespace:`jsx-runtime-wrapper`}}),e.onResolve({filter:/^__real_react_jsx_runtime__$/},()=>{if(!t)throw Error(`jsx-runtime-remote-wrapper: real jsx-runtime path not resolved yet`);return{path:t}}),e.onLoad({filter:/.*/,namespace:`jsx-runtime-wrapper`},()=>({contents:h,loader:`js`})),e.onResolve({filter:/^react$/},async t=>{if(!t.pluginData?.skipJsxWrapper)return i||=(await e.resolve(r,{kind:t.kind,resolveDir:t.resolveDir,pluginData:{skipJsxWrapper:!0}})).path,{path:`react`,namespace:`react-wrapper`}}),e.onResolve({filter:/^__real_react__$/},()=>{if(!i)throw Error(`jsx-runtime-remote-wrapper: real react path not resolved yet`);return{path:i}}),e.onLoad({filter:/.*/,namespace:`react-wrapper`},()=>({contents:g,loader:`js`}))}}},v=/import\s*\{\s*defineFrontComponent\s*\}\s*from\s*['"][^'"]+['"];?\n?/g,y=/export\s+default\s+defineFrontComponent\s*\(\s*\{[\s\S]*?component\s*:\s*(\w+)[\s\S]*?\}\s*\)\s*;?/s,b=e=>{let t=e.replace(v,``),n=t.match(y);if(n){let e=n[1],r=RegExp(`export\\s+(const|function)\\s+${e}\\b`);t=t.replace(r,`$1 ${e}`),t=`import { createRoot as __createRoot } from 'react-dom/client';
|
|
167
171
|
import { jsx as __frontComponentJsx } from 'react/jsx-runtime';
|
|
168
|
-
`+t,t=t.replace(
|
|
172
|
+
`+t,t=t.replace(y,`export default function __renderFrontComponent(__container) { __createRoot(__container).render(__frontComponentJsx(${e}, {})); }`)}return t},x={name:`jsx-transform-to-remote-dom-worker-format-plugin`,setup:e=>{e.onLoad({filter:/\.tsx$/},async({path:e})=>{try{return{contents:b(await(0,d.readFile)(e,`utf8`)),loader:`tsx`}}catch(t){return{errors:[{text:`Failed to transform front component: ${t instanceof Error?t.message:String(t)}`,location:{file:e}}]}}})}},S=()=>({name:`preact-alias`,setup:e=>{let t;e.onResolve({filter:/^react-dom\/client$/},async n=>(t||=(await e.resolve(`preact/compat/client`,{kind:n.kind,resolveDir:n.resolveDir})).path,{path:t})),e.onResolve({filter:/^react-dom$/},async t=>({path:(await e.resolve(`preact/compat`,{kind:t.kind,resolveDir:t.resolveDir})).path}))}}),C=/^\/\/.*$\n/gm,w={name:`strip-comments`,setup:e=>{e.onEnd(async e=>{if(e.errors.length>0)return;let t=Object.keys(e.metafile?.outputs??{}).filter(e=>e.endsWith(`.mjs`));for(let e of t){let t=u.default.resolve(e),n=await(0,d.readFile)(t,`utf-8`),r=n.replace(C,``);r!==n&&await(0,d.writeFile)(t,r,`utf-8`)}})}},T=e=>[_(e?.usePreact?{usePreact:!0}:void 0),...e?.usePreact?[S()]:[],x,p,w];Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return T}});
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import e from "path";
|
|
2
|
+
import { readFile as t, writeFile as n } from "node:fs/promises";
|
|
3
|
+
//#region src/cli/utilities/build/common/front-component-build/css-injection-plugin.ts
|
|
4
|
+
var r = (e) => `if (typeof document !== 'undefined') {
|
|
5
|
+
const styleElement = document.createElement('style');
|
|
6
|
+
document.head.appendChild(styleElement);
|
|
7
|
+
styleElement.textContent = ${JSON.stringify(e)};
|
|
8
|
+
}`, i = {
|
|
9
|
+
name: "css-injection",
|
|
10
|
+
setup: (e) => {
|
|
11
|
+
e.onLoad({ filter: /\.css$/ }, async ({ path: e }) => ({
|
|
12
|
+
contents: r(await t(e, "utf8")),
|
|
13
|
+
loader: "js"
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
}, a = "export var customElementMap = globalThis.__HTML_TAG_TO_CUSTOM_ELEMENT_TAG__ || {};\n\nvar _injectedStyleKeys = {};\n\nexport function injectStyleViaHead(cssText) {\n if (!cssText) return;\n var hash = 0;\n for (var i = 0; i < cssText.length; i++) {\n hash = ((hash << 5) - hash + cssText.charCodeAt(i)) | 0;\n }\n var key = 'jsx-style-' + hash;\n if (_injectedStyleKeys[key]) return;\n _injectedStyleKeys[key] = true;\n var el = document.createElement('style');\n el.setAttribute('data-jsx-style', key);\n el.textContent = cssText;\n document.head.appendChild(el);\n}\n\nexport function extractCssText(children) {\n if (typeof children === 'string') return children;\n if (Array.isArray(children))\n return children\n .filter(function (c) { return typeof c === 'string'; })\n .join('');\n return '';\n}\n\nvar _reactToDomEvent = {\n ondoubleclick: 'ondblclick',\n};\n\nfunction _isEventProp(name) {\n return (\n name.length > 2 &&\n name.charCodeAt(0) === 111 &&\n name.charCodeAt(1) === 110 &&\n name.charCodeAt(2) >= 65 &&\n name.charCodeAt(2) <= 90\n );\n}\n\nexport function splitEventProps(props) {\n if (!props) return { cleanProps: props, events: null };\n var events = null;\n var cleanProps = null;\n for (var k in props) {\n if (_isEventProp(k) && typeof props[k] === 'function') {\n if (!events) {\n events = {};\n cleanProps = {};\n for (var j in props) {\n if (j === k) break;\n cleanProps[j] = props[j];\n }\n }\n events[k] = props[k];\n } else if (events) {\n cleanProps[k] = props[k];\n }\n }\n return { cleanProps: cleanProps || props, events: events };\n}\n\nexport function makeEventRef(events, userRef) {\n return function(el) {\n if (el) {\n for (var name in events) {\n var domName = _reactToDomEvent[name.toLowerCase()] || name.toLowerCase();\n el[domName] = events[name];\n }\n }\n if (typeof userRef === 'function') userRef(el);\n else if (userRef != null && typeof userRef === 'object') userRef.current = el;\n };\n}", o = "import {\n jsx as _originalJsx,\n jsxs as _originalJsxs,\n Fragment,\n} from '__real_react_jsx_runtime__';\n\nimport {\n customElementMap,\n injectStyleViaHead,\n extractCssText,\n splitEventProps,\n makeEventRef,\n} from '__jsx_shared_helpers__';\n\nfunction _wrapJsxFactory(originalFactory) {\n return function wrappedJsx(type, props, key) {\n if (typeof type === 'string') {\n if (type === 'style') {\n var css =\n props && props.dangerouslySetInnerHTML\n ? props.dangerouslySetInnerHTML.__html || ''\n : extractCssText(props && props.children);\n injectStyleViaHead(css);\n return null;\n }\n\n var customTag = customElementMap[type];\n if (customTag) {\n var split = splitEventProps(props);\n if (split.events) {\n var cp = split.cleanProps;\n cp.ref = makeEventRef(split.events, cp.ref);\n return originalFactory(customTag, cp, key);\n }\n return originalFactory(customTag, props, key);\n }\n }\n return originalFactory(type, props, key);\n };\n}\n\nexport var jsx = _wrapJsxFactory(_originalJsx);\nexport var jsxs = _wrapJsxFactory(_originalJsxs);\nexport { Fragment };", s = "export * from '__real_react__';\nimport _React from '__real_react__';\n\nimport {\n customElementMap,\n injectStyleViaHead,\n extractCssText,\n splitEventProps,\n makeEventRef,\n} from '__jsx_shared_helpers__';\n\nvar _originalCreateElement = _React.createElement;\n\nfunction createElement(type) {\n var args = arguments;\n if (typeof type === 'string') {\n if (type === 'style') {\n var props = args.length > 1 ? args[1] : null;\n if (props) {\n var css = props.dangerouslySetInnerHTML\n ? props.dangerouslySetInnerHTML.__html || ''\n : extractCssText(props.children);\n injectStyleViaHead(css);\n }\n return null;\n }\n\n var customTag = customElementMap[type];\n if (customTag) {\n var ceProps = args.length > 1 ? args[1] : null;\n var split = splitEventProps(ceProps);\n if (split.events) {\n var cp = split.cleanProps || {};\n cp.ref = makeEventRef(split.events, cp.ref);\n var newArgs = [customTag, cp];\n for (var i = 2; i < args.length; i++) newArgs.push(args[i]);\n return _originalCreateElement.apply(null, newArgs);\n }\n var newArgs2 = [customTag];\n for (var i2 = 1; i2 < args.length; i2++) newArgs2.push(args[i2]);\n return _originalCreateElement.apply(null, newArgs2);\n }\n }\n return _originalCreateElement.apply(null, args);\n}\n\nexport { createElement };\nexport default Object.assign({}, _React, { createElement: createElement });", c = (e) => {
|
|
17
|
+
let t = e?.usePreact ?? !1, n = t ? "preact/jsx-runtime" : "react/jsx-runtime", r = t ? "preact/compat" : "react";
|
|
18
|
+
return {
|
|
19
|
+
name: "jsx-runtime-remote-wrapper",
|
|
20
|
+
setup: (e) => {
|
|
21
|
+
let t, i;
|
|
22
|
+
e.onResolve({ filter: /^__jsx_shared_helpers__$/ }, () => ({
|
|
23
|
+
path: "__jsx_shared_helpers__",
|
|
24
|
+
namespace: "jsx-shared-helpers"
|
|
25
|
+
})), e.onLoad({
|
|
26
|
+
filter: /.*/,
|
|
27
|
+
namespace: "jsx-shared-helpers"
|
|
28
|
+
}, () => ({
|
|
29
|
+
contents: a,
|
|
30
|
+
loader: "js"
|
|
31
|
+
})), e.onResolve({ filter: /^react\/jsx-runtime$/ }, async (r) => {
|
|
32
|
+
if (!r.pluginData?.skipJsxWrapper) return t ||= (await e.resolve(n, {
|
|
33
|
+
kind: r.kind,
|
|
34
|
+
resolveDir: r.resolveDir,
|
|
35
|
+
pluginData: { skipJsxWrapper: !0 }
|
|
36
|
+
})).path, {
|
|
37
|
+
path: "react/jsx-runtime",
|
|
38
|
+
namespace: "jsx-runtime-wrapper"
|
|
39
|
+
};
|
|
40
|
+
}), e.onResolve({ filter: /^__real_react_jsx_runtime__$/ }, () => {
|
|
41
|
+
if (!t) throw Error("jsx-runtime-remote-wrapper: real jsx-runtime path not resolved yet");
|
|
42
|
+
return { path: t };
|
|
43
|
+
}), e.onLoad({
|
|
44
|
+
filter: /.*/,
|
|
45
|
+
namespace: "jsx-runtime-wrapper"
|
|
46
|
+
}, () => ({
|
|
47
|
+
contents: o,
|
|
48
|
+
loader: "js"
|
|
49
|
+
})), e.onResolve({ filter: /^react$/ }, async (t) => {
|
|
50
|
+
if (!t.pluginData?.skipJsxWrapper) return i ||= (await e.resolve(r, {
|
|
51
|
+
kind: t.kind,
|
|
52
|
+
resolveDir: t.resolveDir,
|
|
53
|
+
pluginData: { skipJsxWrapper: !0 }
|
|
54
|
+
})).path, {
|
|
55
|
+
path: "react",
|
|
56
|
+
namespace: "react-wrapper"
|
|
57
|
+
};
|
|
58
|
+
}), e.onResolve({ filter: /^__real_react__$/ }, () => {
|
|
59
|
+
if (!i) throw Error("jsx-runtime-remote-wrapper: real react path not resolved yet");
|
|
60
|
+
return { path: i };
|
|
61
|
+
}), e.onLoad({
|
|
62
|
+
filter: /.*/,
|
|
63
|
+
namespace: "react-wrapper"
|
|
64
|
+
}, () => ({
|
|
65
|
+
contents: s,
|
|
66
|
+
loader: "js"
|
|
67
|
+
}));
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}, l = /import\s*\{\s*defineFrontComponent\s*\}\s*from\s*['"][^'"]+['"];?\n?/g, u = /export\s+default\s+defineFrontComponent\s*\(\s*\{[\s\S]*?component\s*:\s*(\w+)[\s\S]*?\}\s*\)\s*;?/s, d = (e) => {
|
|
71
|
+
let t = e.replace(l, ""), n = t.match(u);
|
|
72
|
+
if (n) {
|
|
73
|
+
let e = n[1], r = RegExp(`export\\s+(const|function)\\s+${e}\\b`);
|
|
74
|
+
t = t.replace(r, `$1 ${e}`), t = "import { createRoot as __createRoot } from 'react-dom/client';\nimport { jsx as __frontComponentJsx } from 'react/jsx-runtime';\n" + t, t = t.replace(u, `export default function __renderFrontComponent(__container) { __createRoot(__container).render(__frontComponentJsx(${e}, {})); }`);
|
|
75
|
+
}
|
|
76
|
+
return t;
|
|
77
|
+
}, f = {
|
|
78
|
+
name: "jsx-transform-to-remote-dom-worker-format-plugin",
|
|
79
|
+
setup: (e) => {
|
|
80
|
+
e.onLoad({ filter: /\.tsx$/ }, async ({ path: e }) => {
|
|
81
|
+
try {
|
|
82
|
+
return {
|
|
83
|
+
contents: d(await t(e, "utf8")),
|
|
84
|
+
loader: "tsx"
|
|
85
|
+
};
|
|
86
|
+
} catch (t) {
|
|
87
|
+
return { errors: [{
|
|
88
|
+
text: `Failed to transform front component: ${t instanceof Error ? t.message : String(t)}`,
|
|
89
|
+
location: { file: e }
|
|
90
|
+
}] };
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}, p = () => ({
|
|
95
|
+
name: "preact-alias",
|
|
96
|
+
setup: (e) => {
|
|
97
|
+
let t;
|
|
98
|
+
e.onResolve({ filter: /^react-dom\/client$/ }, async (n) => (t ||= (await e.resolve("preact/compat/client", {
|
|
99
|
+
kind: n.kind,
|
|
100
|
+
resolveDir: n.resolveDir
|
|
101
|
+
})).path, { path: t })), e.onResolve({ filter: /^react-dom$/ }, async (t) => ({ path: (await e.resolve("preact/compat", {
|
|
102
|
+
kind: t.kind,
|
|
103
|
+
resolveDir: t.resolveDir
|
|
104
|
+
})).path }));
|
|
105
|
+
}
|
|
106
|
+
}), m = /^\/\/.*$\n/gm, h = {
|
|
107
|
+
name: "strip-comments",
|
|
108
|
+
setup: (r) => {
|
|
109
|
+
r.onEnd(async (r) => {
|
|
110
|
+
if (r.errors.length > 0) return;
|
|
111
|
+
let i = Object.keys(r.metafile?.outputs ?? {}).filter((e) => e.endsWith(".mjs"));
|
|
112
|
+
for (let r of i) {
|
|
113
|
+
let i = e.resolve(r), a = await t(i, "utf-8"), o = a.replace(m, "");
|
|
114
|
+
o !== a && await n(i, o, "utf-8");
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
}, g = (e) => [
|
|
119
|
+
c(e?.usePreact ? { usePreact: !0 } : void 0),
|
|
120
|
+
...e?.usePreact ? [p()] : [],
|
|
121
|
+
f,
|
|
122
|
+
i,
|
|
123
|
+
h
|
|
124
|
+
];
|
|
125
|
+
//#endregion
|
|
126
|
+
export { g as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { xt as e } from "./login-Dg4Ap-uo.mjs";
|
|
2
2
|
import { ScriptTarget as t, SyntaxKind as n, createSourceFile as r } from "typescript";
|
|
3
3
|
//#region ../twenty-shared/dist/get-function-input-schema-GNk3NRLJ.mjs
|
|
4
4
|
var i = "TwentyRecord", a = (t) => {
|