@fuma-content/studio 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/assets/{QueryClientProvider-DqiXnN2L.js → QueryClientProvider-BFSUF51X.js} +1 -1
- package/build/client/assets/actions-ByenKsIt.js +1 -0
- package/build/client/assets/actions-ClHPL1CP.js +1 -0
- package/build/client/assets/badge-BnhEE6iu.js +1 -0
- package/build/client/assets/{client-OSVRoCKH.js → client-BEKU4RIg.js} +148 -146
- package/build/client/assets/client-DBU2dkUR.js +1 -0
- package/build/client/assets/client-DvwvjHta.js +1 -0
- package/build/client/assets/client-wd2sce2I.js +8 -0
- package/build/client/assets/dropdown-menu-By_XeFX4.js +1 -0
- package/build/client/assets/entry.rsc-J_U0YQEr.js +1 -0
- package/build/client/assets/{index-BdrDVoE8.js → index-B5GacMxj.js} +1 -1
- package/build/client/assets/index-BTaHNKf7.js +1 -0
- package/build/client/assets/index-BgFxGtat.js +1 -0
- package/build/client/assets/index-CG_0cSZQ.js +1 -0
- package/build/client/assets/index-CfCSvolS.js +1 -0
- package/build/client/assets/{index-Bx93mXy1.js → index-D8KuzOxG.js} +1 -1
- package/build/client/assets/index-DrT4Adhh.js +41 -0
- package/build/client/assets/{index-BpILsqFO.js → index-El_a1Yhs.js} +1 -1
- package/build/client/assets/index-QYLIz8qa.js +1 -0
- package/build/client/assets/layout-BPVd8vtW.js +1 -0
- package/build/client/assets/{mdx-BNErtsK6.js → mdx-DBJIR6uw.js} +1 -1
- package/build/client/assets/page-BJL5nvn-.js +1 -0
- package/build/client/assets/page-eyuUZvVn.js +1 -0
- package/build/client/assets/popover-BowiFsDm.js +1 -0
- package/build/client/assets/{react-B8--K7an.js → react-CzFdRS7Y.js} +7 -7
- package/build/client/assets/root-7fvd-0uP.js +1 -0
- package/build/client/assets/root-B0B6-NU5.css +1 -0
- package/build/client/assets/{root-B_CXTQpA.js → root-jg-0qm8s.js} +1 -1
- package/build/client/assets/route-BLLsZ_zO.js +1 -0
- package/build/client/assets/{router-a9jyj9wf.js → router-QEl8O8lm.js} +1 -1
- package/build/client/assets/select-BI356bZ1.js +1 -0
- package/build/client/assets/separator-0kwG7IIM.js +1 -0
- package/build/client/assets/sidebar-ByyQE2QS.js +12 -0
- package/build/client/assets/{site-header-DQkKe-WA.js → site-header-iBpA4Sim.js} +1 -1
- package/build/client/assets/spinner-D35u7i0p.js +1 -0
- package/build/client/assets/tooltip-v-_I4rCw.js +16 -0
- package/build/client/assets/use-sync-yCWvjE_m.js +2 -0
- package/build/client/assets/{yaml-Cloe7OVn.js → yaml-BnQf_2Zt.js} +1 -1
- package/build/server/__ssr_build/__vite_rsc_assets_manifest.js +213 -133
- package/build/server/__ssr_build/assets/{actions-BFtCTvOL.js → actions-C5Kv8XYU.js} +2 -2
- package/build/server/__ssr_build/assets/{actions-B50-3n-a.js → actions-DQIBBM15.js} +4 -4
- package/build/server/__ssr_build/assets/{badge-DYFvBSp8.js → badge-B48L9yYO.js} +1 -1
- package/build/server/__ssr_build/assets/{client-CU90j0R8.js → client-AuWNsacU.js} +3 -3
- package/build/server/__ssr_build/assets/client-BHaLyky8.js +1162 -0
- package/build/server/__ssr_build/assets/{client--HXec13w.js → client-BogEWrwz.js} +10 -6
- package/build/server/__ssr_build/assets/{client-BqW9rGyi.js → client-DXOHI3cC.js} +2994 -4866
- package/build/server/__ssr_build/assets/{dropdown-menu-D2YyT3lP.js → dropdown-menu-CnDgV_JY.js} +7 -10
- package/build/server/__ssr_build/assets/{entry.rsc-Cg_DxYkh.js → entry.rsc-aOU-YPkj.js} +1 -1
- package/build/server/__ssr_build/assets/{index-PpqpVA51.js → index-B6ajh-UP.js} +1 -1
- package/build/server/__ssr_build/assets/index-BPd5y8T-.js +76 -0
- package/build/server/__ssr_build/assets/{button-C_-b_vqm.js → index-By9m5mBe.js} +3295 -3195
- package/build/server/__ssr_build/assets/index-Ch7b9Ofo.js +37 -0
- package/build/server/__ssr_build/assets/{index-B-gno69w.js → index-Cw6b1mnl.js} +8 -7
- package/build/server/__ssr_build/assets/{index-DBc0nhEL.js → index-kCa2P0Xn.js} +4 -75
- package/build/server/__ssr_build/assets/{index-Dtw6X3NW.js → index-tFzyztyE.js} +2 -2
- package/build/server/__ssr_build/assets/{layout-CPnSx9PI.js → layout-CC-HJHWR.js} +13 -11
- package/build/server/__ssr_build/assets/{mdx-bmeV1kyx.js → mdx-D9VFmsYC.js} +1 -1
- package/build/server/__ssr_build/assets/{page-BwoghW3K.js → page-BVUd9aDy.js} +10 -8
- package/build/server/__ssr_build/assets/{page-HxttullC.js → page-C_wQzy3_.js} +13 -11
- package/build/server/__ssr_build/assets/popover-CzQgoguQ.js +321 -0
- package/build/server/__ssr_build/assets/{root-CS7F-km4.js → root-BmMc6_zA.js} +1 -1
- package/build/server/__ssr_build/assets/route-CNYc37pV.js +860 -0
- package/build/server/__ssr_build/assets/{spinner-BXcLlTNs.js → select-B8QQSB6X.js} +10 -25
- package/build/server/__ssr_build/assets/{separator-8UA_ceSq.js → separator-C601eKPH.js} +2 -2
- package/build/server/__ssr_build/assets/{sidebar-BzNOZeBO.js → sidebar-C6fHDjcx.js} +237 -65
- package/build/server/__ssr_build/assets/{site-header-CXHKSzqk.js → site-header-Bmsr3a30.js} +2 -2
- package/build/server/__ssr_build/assets/spinner-D5zAJQcS.js +19 -0
- package/build/server/__ssr_build/assets/{tooltip-DZ4WdJt-.js → tooltip-B3A57zPO.js} +1211 -1214
- package/build/server/__ssr_build/assets/{use-sync-TRS0zL-Y.js → use-sync-DTZgOM1O.js} +259 -1498
- package/build/server/__ssr_build/assets/{yaml-BEdFfhvc.js → yaml-xJU1Ur4O.js} +1 -1
- package/build/server/__ssr_build/index.js +31 -15
- package/build/server/__vite_rsc_assets_manifest.js +213 -133
- package/build/server/assets/{actions-C92yn6jE.js → actions-BbMzIy5J.js} +2 -2
- package/build/server/assets/{actions-CWWFIcb1.js → actions-CjWBMAed.js} +2 -2
- package/build/server/assets/{actions-DZdN0IBq.js → actions-cRzXiMyR.js} +2 -2
- package/build/server/assets/{config-Cb909uq6.js → config-Dka4Bvz4.js} +10 -10
- package/build/server/assets/{layout-CRw_6FCt.js → layout-CIIfFN0v.js} +2 -2
- package/build/server/assets/{page-zlF_Ew1s.js → page-pyqagPXb.js} +2 -2
- package/build/server/assets/root-B0B6-NU5.css +1 -0
- package/build/server/assets/{root-CVOXO6T9.js → root-D1ebFoST.js} +1 -1
- package/build/server/assets/{route-o-6k10r9.js → route-C7QEArEP.js} +12571 -4431
- package/build/server/index.js +40 -15
- package/dist/bin.mjs +4 -4
- package/dist/package.mjs +1 -1
- package/package.json +36 -18
- package/build/client/assets/actions-DkbV2Z0p.js +0 -1
- package/build/client/assets/actions-DpkI7OTF.js +0 -1
- package/build/client/assets/badge-CZkdLoIP.js +0 -1
- package/build/client/assets/button-Bm94vje1.js +0 -41
- package/build/client/assets/client-BWBqEatf.js +0 -1
- package/build/client/assets/client-Crg-pMcu.js +0 -1
- package/build/client/assets/dropdown-menu-EF-sTINr.js +0 -1
- package/build/client/assets/entry.rsc-D51PwnQL.js +0 -1
- package/build/client/assets/index-CQRgqbuL.js +0 -1
- package/build/client/assets/index-DOs5iMXj.js +0 -1
- package/build/client/assets/index-DTzAH5JX.js +0 -1
- package/build/client/assets/layout-CnpYRqF0.js +0 -1
- package/build/client/assets/page-DOzl4Kpa.js +0 -1
- package/build/client/assets/page-uNpJU_rv.js +0 -1
- package/build/client/assets/root-D3NoAGI1.js +0 -1
- package/build/client/assets/root-z8crlXSh.css +0 -1
- package/build/client/assets/separator-tWFpvpUX.js +0 -1
- package/build/client/assets/sidebar-BBYit8gY.js +0 -12
- package/build/client/assets/spinner-BdPhtfsc.js +0 -1
- package/build/client/assets/tooltip-Dvh-iHDG.js +0 -16
- package/build/client/assets/use-sync-ZgcwUdu_.js +0 -9
- package/build/server/assets/root-z8crlXSh.css +0 -1
- /package/build/server/__ssr_build/assets/{root-D-Y-rGw5.js → root-S8l7oX7x.js} +0 -0
- /package/build/server/assets/{root-dGb6ch_9.js → root-DRYtk85G.js} +0 -0
package/build/server/index.js
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
import require$$0, { AsyncLocalStorage as AsyncLocalStorage$1 } from "node:async_hooks";
|
|
2
2
|
import __vite_rsc_assets_manifest__ from "./__vite_rsc_assets_manifest.js";
|
|
3
|
+
function _mergeNamespaces(n, m) {
|
|
4
|
+
for (var i = 0; i < m.length; i++) {
|
|
5
|
+
const e = m[i];
|
|
6
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const k in e) {
|
|
8
|
+
if (k !== "default" && !(k in n)) {
|
|
9
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
+
if (d) {
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
21
|
+
}
|
|
3
22
|
function tinyassert(value, message) {
|
|
4
23
|
if (value) return;
|
|
5
24
|
if (message instanceof Error) throw message;
|
|
@@ -1020,7 +1039,7 @@ var hasRequiredReactDom_reactServer_production;
|
|
|
1020
1039
|
function requireReactDom_reactServer_production() {
|
|
1021
1040
|
if (hasRequiredReactDom_reactServer_production) return reactDom_reactServer_production;
|
|
1022
1041
|
hasRequiredReactDom_reactServer_production = 1;
|
|
1023
|
-
var
|
|
1042
|
+
var React2 = requireReact_reactServer();
|
|
1024
1043
|
function noop() {
|
|
1025
1044
|
}
|
|
1026
1045
|
var Internals = {
|
|
@@ -1042,7 +1061,7 @@ function requireReactDom_reactServer_production() {
|
|
|
1042
1061
|
p: 0,
|
|
1043
1062
|
findDOMNode: null
|
|
1044
1063
|
};
|
|
1045
|
-
if (!
|
|
1064
|
+
if (!React2.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)
|
|
1046
1065
|
throw Error(
|
|
1047
1066
|
'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
|
1048
1067
|
);
|
|
@@ -1142,7 +1161,7 @@ function requireReactDom_reactServer_development() {
|
|
|
1142
1161
|
function getValueDescriptorExpectingEnumForWarning(thing) {
|
|
1143
1162
|
return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : "string" === typeof thing ? JSON.stringify(thing) : "number" === typeof thing ? "`" + thing + "`" : 'something with type "' + typeof thing + '"';
|
|
1144
1163
|
}
|
|
1145
|
-
var
|
|
1164
|
+
var React2 = requireReact_reactServer(), Internals = {
|
|
1146
1165
|
d: {
|
|
1147
1166
|
f: noop,
|
|
1148
1167
|
r: function() {
|
|
@@ -1161,7 +1180,7 @@ function requireReactDom_reactServer_development() {
|
|
|
1161
1180
|
p: 0,
|
|
1162
1181
|
findDOMNode: null
|
|
1163
1182
|
};
|
|
1164
|
-
if (!
|
|
1183
|
+
if (!React2.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)
|
|
1165
1184
|
throw Error(
|
|
1166
1185
|
'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
|
1167
1186
|
);
|
|
@@ -1327,7 +1346,7 @@ function requireReactServerDomWebpackServer_edge_production() {
|
|
|
1327
1346
|
hasRequiredReactServerDomWebpackServer_edge_production = 1;
|
|
1328
1347
|
const __viteRscAsyncHooks = require$$0;
|
|
1329
1348
|
globalThis.AsyncLocalStorage = __viteRscAsyncHooks.AsyncLocalStorage;
|
|
1330
|
-
var ReactDOM = requireReactDom_reactServer(),
|
|
1349
|
+
var ReactDOM = requireReactDom_reactServer(), React2 = requireReact_reactServer(), REACT_LEGACY_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element"), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_MEMO_CACHE_SENTINEL = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel");
|
|
1331
1350
|
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
1332
1351
|
function getIteratorFn(maybeIterable) {
|
|
1333
1352
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -1871,7 +1890,7 @@ function requireReactServerDomWebpackServer_edge_production() {
|
|
|
1871
1890
|
var request = resolveRequest();
|
|
1872
1891
|
return request ? request.cacheController.signal : null;
|
|
1873
1892
|
}
|
|
1874
|
-
}, ReactSharedInternalsServer =
|
|
1893
|
+
}, ReactSharedInternalsServer = React2.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
1875
1894
|
if (!ReactSharedInternalsServer)
|
|
1876
1895
|
throw Error(
|
|
1877
1896
|
'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
|
@@ -7761,7 +7780,7 @@ function requireReactServerDomWebpackServer_edge_development() {
|
|
|
7761
7780
|
var reader = stream.getReader(), stringDecoder = new TextDecoder(), stringBuffer = "";
|
|
7762
7781
|
reader.read().then(progress).catch(error);
|
|
7763
7782
|
}
|
|
7764
|
-
var ReactDOM = requireReactDom_reactServer(),
|
|
7783
|
+
var ReactDOM = requireReactDom_reactServer(), React2 = requireReact_reactServer(), REACT_LEGACY_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element"), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_MEMO_CACHE_SENTINEL = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel");
|
|
7765
7784
|
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator, ASYNC_ITERATOR = Symbol.asyncIterator, LocalPromise = Promise, scheduleMicrotask = "function" === typeof queueMicrotask ? queueMicrotask : function(callback) {
|
|
7766
7785
|
LocalPromise.resolve(null).then(callback).catch(handleErrorInNextTick);
|
|
7767
7786
|
}, currentView = null, writtenBytes = 0, textEncoder = new TextEncoder(), CLIENT_REFERENCE_TAG$1 = /* @__PURE__ */ Symbol.for("react.client.reference"), SERVER_REFERENCE_TAG = /* @__PURE__ */ Symbol.for("react.server.reference"), FunctionBind = Function.prototype.bind, ArraySlice = Array.prototype.slice, serverReferenceToString = {
|
|
@@ -8006,7 +8025,7 @@ function requireReactServerDomWebpackServer_edge_development() {
|
|
|
8006
8025
|
}
|
|
8007
8026
|
};
|
|
8008
8027
|
DefaultAsyncDispatcher.getOwner = resolveOwner;
|
|
8009
|
-
var ReactSharedInternalsServer =
|
|
8028
|
+
var ReactSharedInternalsServer = React2.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
8010
8029
|
if (!ReactSharedInternalsServer)
|
|
8011
8030
|
throw Error(
|
|
8012
8031
|
'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
|
@@ -13406,10 +13425,10 @@ function requireReactServerDomWebpackClient_edge_development() {
|
|
|
13406
13425
|
var streamState = createStreamState(response$jscomp$0, debugValue), reader = stream.getReader();
|
|
13407
13426
|
reader.read().then(progress).catch(error);
|
|
13408
13427
|
}
|
|
13409
|
-
var ReactDOM = requireReactDom_reactServer(),
|
|
13428
|
+
var ReactDOM = requireReactDom_reactServer(), React2 = requireReact_reactServer(), decoderOptions = { stream: true }, bind$1 = Function.prototype.bind, hasOwnProperty = Object.prototype.hasOwnProperty, chunkCache = /* @__PURE__ */ new Map(), ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, ASYNC_ITERATOR = Symbol.asyncIterator, isArrayImpl = Array.isArray, getPrototypeOf = Object.getPrototypeOf, jsxPropsParents = /* @__PURE__ */ new WeakMap(), jsxChildrenParents = /* @__PURE__ */ new WeakMap(), CLIENT_REFERENCE_TAG = /* @__PURE__ */ Symbol.for("react.client.reference"), ObjectPrototype = Object.prototype, knownServerReferences = /* @__PURE__ */ new WeakMap(), boundCache = /* @__PURE__ */ new WeakMap(), fakeServerFunctionIdx = 0, FunctionBind = Function.prototype.bind, ArraySlice = Array.prototype.slice, v8FrameRegExp = /^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/, jscSpiderMonkeyFrameRegExp = /(?:(.*)@)?(.*):(\d+):(\d+)/, REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp && "undefined" !== typeof performance && "function" === typeof performance.measure, trackNames = "Primary Parallel Parallel Parallel Parallel Parallel Parallel Parallel Parallel Parallel".split(
|
|
13410
13429
|
" "
|
|
13411
13430
|
), prefix, suffix;
|
|
13412
|
-
var ReactSharedInteralsServer =
|
|
13431
|
+
var ReactSharedInteralsServer = React2.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ReactSharedInternals = React2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE || ReactSharedInteralsServer;
|
|
13413
13432
|
ReactPromise.prototype = Object.create(Promise.prototype);
|
|
13414
13433
|
ReactPromise.prototype.then = function(resolve, reject) {
|
|
13415
13434
|
var _this = this;
|
|
@@ -13642,15 +13661,15 @@ function decodeFormState(actionResult, body) {
|
|
|
13642
13661
|
const createTemporaryReferenceSet = server_edgeExports.createTemporaryReferenceSet;
|
|
13643
13662
|
const serverReferences = {
|
|
13644
13663
|
"07328c8ae0c7": async () => {
|
|
13645
|
-
const { deleteDocumentAction, getCollectionItems, getDocumentItems } = await import("./assets/actions-
|
|
13664
|
+
const { deleteDocumentAction, getCollectionItems, getDocumentItems } = await import("./assets/actions-CjWBMAed.js");
|
|
13646
13665
|
return { deleteDocumentAction, getCollectionItems, getDocumentItems };
|
|
13647
13666
|
},
|
|
13648
13667
|
"77357e96e60e": async () => {
|
|
13649
|
-
const { createMDXDocument, saveMDXDocument } = await import("./assets/actions-
|
|
13668
|
+
const { createMDXDocument, saveMDXDocument } = await import("./assets/actions-cRzXiMyR.js");
|
|
13650
13669
|
return { createMDXDocument, saveMDXDocument };
|
|
13651
13670
|
},
|
|
13652
13671
|
"8d1aa9feba58": async () => {
|
|
13653
|
-
const { createDataDocument, saveDataDocument } = await import("./assets/actions-
|
|
13672
|
+
const { createDataDocument, saveDataDocument } = await import("./assets/actions-BbMzIy5J.js");
|
|
13654
13673
|
return { createDataDocument, saveDataDocument };
|
|
13655
13674
|
}
|
|
13656
13675
|
};
|
|
@@ -13671,6 +13690,10 @@ function renderToReadableStream(data, options, extraOptions) {
|
|
|
13671
13690
|
}
|
|
13672
13691
|
var react_reactServerExports = requireReact_reactServer();
|
|
13673
13692
|
const __vite_rsc_react__ = /* @__PURE__ */ getDefaultExportFromCjs(react_reactServerExports);
|
|
13693
|
+
const React = /* @__PURE__ */ _mergeNamespaces({
|
|
13694
|
+
__proto__: null,
|
|
13695
|
+
default: __vite_rsc_react__
|
|
13696
|
+
}, [react_reactServerExports]);
|
|
13674
13697
|
var setCookie = { exports: {} };
|
|
13675
13698
|
var hasRequiredSetCookie;
|
|
13676
13699
|
function requireSetCookie() {
|
|
@@ -16980,7 +17003,7 @@ function canDecodeWithFormData(contentType) {
|
|
|
16980
17003
|
if (!contentType) return false;
|
|
16981
17004
|
return contentType.match(/\bapplication\/x-www-form-urlencoded\b/) || contentType.match(/\bmultipart\/form-data\b/);
|
|
16982
17005
|
}
|
|
16983
|
-
const routes = [{ lazy: () => import("./assets/root-
|
|
17006
|
+
const routes = [{ lazy: () => import("./assets/root-D1ebFoST.js"), id: "root", path: "", children: [{ lazy: () => import("./assets/layout-CIIfFN0v.js"), id: "../routes/layout", children: [{ lazy: () => import("./assets/index-X49ifkk3.js"), id: "../routes/index", index: true }, { lazy: () => import("./assets/page-BcrsPZbM.js"), id: "../routes/collection/page", path: "collection/:name" }, { lazy: () => import("./assets/page-pyqagPXb.js"), id: "../routes/collection/document/page", path: "collection/:name/:id" }, { lazy: () => import("./assets/route-C7QEArEP.js"), id: "../routes/api/ai/command/route", path: "api/ai/command" }, { lazy: () => import("./assets/route-Ds0B4hTo.js"), id: "../routes/api/ai/copilot/route", path: "api/ai/copilot" }, { lazy: () => import("./assets/route-DvwlfKZg.js"), id: "../routes/api/uploadthing/route", path: "api/uploadthing" }] }] }];
|
|
16984
17007
|
const basename = "/";
|
|
16985
17008
|
const reactRouterServeConfig = { "assetsBuildDirectory": "../client", "publicPath": "/" };
|
|
16986
17009
|
function fetchServer(request, requestContext) {
|
|
@@ -17019,12 +17042,14 @@ const entry_rsc = {
|
|
|
17019
17042
|
}
|
|
17020
17043
|
};
|
|
17021
17044
|
export {
|
|
17045
|
+
React as R,
|
|
17022
17046
|
__vite_rsc_react__ as _,
|
|
17023
17047
|
requireReact_reactServer as a,
|
|
17024
17048
|
react_reactServerExports as b,
|
|
17025
17049
|
commonjsGlobal as c,
|
|
17026
|
-
|
|
17050
|
+
requireReactDom_reactServer as d,
|
|
17027
17051
|
entry_rsc as default,
|
|
17052
|
+
registerServerReference as e,
|
|
17028
17053
|
fetchServer,
|
|
17029
17054
|
getDefaultExportFromCjs as g,
|
|
17030
17055
|
registerClientReference as r,
|
package/dist/bin.mjs
CHANGED
|
@@ -46,13 +46,13 @@ async function main() {
|
|
|
46
46
|
});
|
|
47
47
|
for await (const message of serverProcess) {
|
|
48
48
|
if (message.includes(`[react-router-serve]`) && !isCI) {
|
|
49
|
-
const url
|
|
50
|
-
log.success(`Started studio at ${url
|
|
49
|
+
const url = `http://${HOST}:${PORT}`;
|
|
50
|
+
log.success(`Started studio at ${url}`);
|
|
51
51
|
const shouldOpen = await confirm({ message: "Do you want to open on browser?" });
|
|
52
52
|
if (isCancel(shouldOpen)) process.exit();
|
|
53
53
|
if (shouldOpen) {
|
|
54
|
-
log.message(`Opening browser at ${url
|
|
55
|
-
open(url
|
|
54
|
+
log.message(`Opening browser at ${url}`, { spacing: 0 });
|
|
55
|
+
open(url);
|
|
56
56
|
}
|
|
57
57
|
continue;
|
|
58
58
|
}
|
package/dist/package.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fuma-content/studio",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "The studio integration of Fuma Content",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Contentlayer",
|
|
@@ -22,12 +22,13 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ai-sdk/gateway": "^3.0.
|
|
26
|
-
"@ai-sdk/react": "3.0.
|
|
25
|
+
"@ai-sdk/gateway": "^3.0.39",
|
|
26
|
+
"@ai-sdk/react": "3.0.79",
|
|
27
27
|
"@base-ui/react": "^1.1.0",
|
|
28
28
|
"@base-ui/utils": "^0.2.4",
|
|
29
29
|
"@clack/prompts": "^1.0.0",
|
|
30
30
|
"@emoji-mart/data": "1.2.1",
|
|
31
|
+
"@fumari/stf": "^0.0.1",
|
|
31
32
|
"@mjackson/node-fetch-server": "^0.7.0",
|
|
32
33
|
"@monaco-editor/react": "^4.7.0",
|
|
33
34
|
"@platejs/ai": "^52.1.0",
|
|
@@ -55,24 +56,39 @@
|
|
|
55
56
|
"@platejs/slash-command": "^52.0.15",
|
|
56
57
|
"@platejs/suggestion": "^52.0.11",
|
|
57
58
|
"@platejs/table": "^52.0.11",
|
|
59
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
60
|
+
"@radix-ui/react-avatar": "^1.1.11",
|
|
61
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
62
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
63
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
64
|
+
"@radix-ui/react-label": "^2.1.8",
|
|
65
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
66
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
67
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
68
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
69
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
70
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
71
|
+
"@radix-ui/react-toolbar": "^1.1.11",
|
|
72
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
58
73
|
"@react-router/express": "^7.13.0",
|
|
59
74
|
"@react-router/node": "^7.13.0",
|
|
60
75
|
"@standard-schema/spec": "^1.1.0",
|
|
61
|
-
"@tanstack/query-db-collection": "^1.0.
|
|
62
|
-
"@tanstack/react-db": "^0.1.
|
|
76
|
+
"@tanstack/query-db-collection": "^1.0.22",
|
|
77
|
+
"@tanstack/react-db": "^0.1.69",
|
|
63
78
|
"@tanstack/react-query": "^5.90.20",
|
|
64
79
|
"@uploadthing/react": "7.3.3",
|
|
65
|
-
"ai": "6.0.
|
|
80
|
+
"ai": "6.0.77",
|
|
66
81
|
"ajv": "^8.17.1",
|
|
67
82
|
"class-variance-authority": "^0.7.1",
|
|
68
83
|
"clsx": "^2.1.1",
|
|
69
84
|
"cmdk": "^1.1.1",
|
|
70
|
-
"commander": "^14.0.
|
|
85
|
+
"commander": "^14.0.3",
|
|
71
86
|
"date-fns": "^4.1.0",
|
|
72
87
|
"express": "^5.2.1",
|
|
73
88
|
"gray-matter": "^4.0.3",
|
|
74
89
|
"highlight.js": "^11.11.1",
|
|
75
90
|
"isbot": "^5.1.34",
|
|
91
|
+
"jotai": "^2.17.1",
|
|
76
92
|
"js-yaml": "^4.1.1",
|
|
77
93
|
"lodash.debounce": "^4.0.8",
|
|
78
94
|
"lowlight": "^3.3.0",
|
|
@@ -80,9 +96,8 @@
|
|
|
80
96
|
"next-themes": "^0.4.6",
|
|
81
97
|
"open": "^11.0.0",
|
|
82
98
|
"platejs": "^52.0.17",
|
|
83
|
-
"radix-ui": "^1.4.3",
|
|
84
99
|
"react": "19.2.4",
|
|
85
|
-
"react-day-picker": "^9.13.
|
|
100
|
+
"react-day-picker": "^9.13.1",
|
|
86
101
|
"react-dnd": "^16.0.1",
|
|
87
102
|
"react-dnd-html5-backend": "^16.0.1",
|
|
88
103
|
"react-dom": "19.2.4",
|
|
@@ -94,6 +109,7 @@
|
|
|
94
109
|
"sonner": "^2.0.7",
|
|
95
110
|
"tailwind-merge": "^3.4.0",
|
|
96
111
|
"tinyexec": "^1.0.2",
|
|
112
|
+
"unist-util-visit": "^5.1.0",
|
|
97
113
|
"uploadthing": "7.7.4",
|
|
98
114
|
"vaul": "^1.1.2",
|
|
99
115
|
"zod": "^4.3.6"
|
|
@@ -103,30 +119,32 @@
|
|
|
103
119
|
"@tailwindcss/vite": "^4.1.18",
|
|
104
120
|
"@types/express": "^5.0.6",
|
|
105
121
|
"@types/lodash.debounce": "^4.0.9",
|
|
106
|
-
"@types/
|
|
107
|
-
"@types/
|
|
122
|
+
"@types/mdast": "^4.0.4",
|
|
123
|
+
"@types/node": "^25.2.1",
|
|
124
|
+
"@types/react": "^19.2.13",
|
|
108
125
|
"@types/react-dom": "^19",
|
|
109
|
-
"@vitejs/plugin-rsc": "^0.5.
|
|
126
|
+
"@vitejs/plugin-rsc": "^0.5.19",
|
|
110
127
|
"babel-plugin-react-compiler": "1.0.0",
|
|
111
128
|
"dedent": "^1.7.1",
|
|
112
129
|
"json-schema-typed": "^8.0.2",
|
|
113
|
-
"shadcn": "^3.
|
|
130
|
+
"shadcn": "^3.8.4",
|
|
114
131
|
"tailwindcss": "^4",
|
|
115
|
-
"tsdown": "^0.
|
|
132
|
+
"tsdown": "^0.20.3",
|
|
116
133
|
"tw-animate-css": "^1.4.0",
|
|
117
134
|
"typescript": "^5",
|
|
135
|
+
"unified": "^11.0.5",
|
|
118
136
|
"vite": "^7.3.1",
|
|
119
|
-
"vite-tsconfig-paths": "^6.0
|
|
120
|
-
"fuma-content": "^1.1.
|
|
137
|
+
"vite-tsconfig-paths": "^6.1.0",
|
|
138
|
+
"fuma-content": "^1.1.2"
|
|
121
139
|
},
|
|
122
140
|
"peerDependencies": {
|
|
123
|
-
"fuma-content": "^1.1.
|
|
141
|
+
"fuma-content": "^1.1.2"
|
|
124
142
|
},
|
|
125
143
|
"scripts": {
|
|
126
144
|
"dev": "tsdown --watch",
|
|
127
145
|
"dev:app": "react-router dev",
|
|
128
146
|
"build": "tsdown && react-router build",
|
|
129
|
-
"preview": "
|
|
147
|
+
"preview": "node dist/bin.mjs",
|
|
130
148
|
"types:check": "tsc --noEmit"
|
|
131
149
|
}
|
|
132
150
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./react-B8--K7an.js";import{T as i,D as d,a as u,E as x,b as p,d as f}from"./dropdown-menu-EF-sTINr.js";import{B as m}from"./button-Bm94vje1.js";import{d as h,e as j,f as C,h as D}from"./tooltip-Dvh-iHDG.js";import{d as s}from"./sidebar-BBYit8gY.js";import{e as r,u as a}from"./router-a9jyj9wf.js";function l(e,n,o=!1){return!!(e===n||o&&e.startsWith(n+"/"))}function A({document:e}){const n=r(),o=a().pathname;return t.jsxs(d,{children:[t.jsx(m,{variant:"ghost",size:"icon",className:"text-muted-foreground ms-auto",asChild:!0,children:t.jsx(u,{"aria-label":"More Actions",children:t.jsx(x,{})})}),t.jsx(p,{children:e.permissions.delete&&t.jsxs(f,{variant:"destructive",onClick:()=>{s.delete(`${e.collectionId}-${e.id}`),l(o,`/collection/${e.collectionId}/${e.id}`,!0)&&n(`/collection/${e.collectionId}`)},children:[t.jsx(i,{}),"Delete Item"]})})]})}function T({document:e,children:n}){const o=r(),c=a().pathname;return t.jsxs(h,{children:[t.jsx(j,{render:n}),t.jsx(C,{children:e.permissions.delete&&t.jsxs(D,{variant:"destructive",onClick:()=>{s.delete(`${e.collectionId}-${e.id}`),l(c,`/collection/${e.collectionId}/${e.id}`,!0)&&o(`/collection/${e.collectionId}`)},children:[t.jsx(i,{}),"Delete Item"]})})]})}export{A as D,T as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./react-B8--K7an.js";import{d as s,e as i,f as c,h as x}from"./tooltip-Dvh-iHDG.js";import{u as a,F as l}from"./client-Crg-pMcu.js";function d({collection:o,children:r}){const t=a(o);let n=e.jsxs(s,{children:[e.jsx(i,{render:r}),e.jsx(c,{children:t&&e.jsx(t.trigger,{asChild:!0,children:e.jsxs(x,{children:[e.jsx(l,{}),"Create Document"]})})})]});return t&&(n=e.jsx(t.component,{children:n})),n}export{d as C};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as n}from"./react-B8--K7an.js";import{S as o,t as s,v as d}from"./button-Bm94vje1.js";const u=d("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-colors overflow-hidden group/badge",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 [a]:hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 text-destructive dark:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground bg-input/30",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function c({className:r,variant:e="default",asChild:t=!1,...i}){const a=t?o:"span";return n.jsx(a,{"data-slot":"badge","data-variant":e,className:s(u({variant:e}),r),...i})}export{c as B};
|