sanity 3.74.2-corel.18 → 3.74.2-coreui.20
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/lib/_chunks-cjs/runtime.js +8 -4
- package/lib/_chunks-cjs/runtime.js.map +1 -1
- package/lib/_chunks-cjs/version.js +1 -1
- package/lib/_chunks-es/version.mjs +1 -1
- package/lib/_legacy/version.esm.js +1 -1
- package/package.json +10 -11
- package/src/_internal/cli/server/renderDocument.tsx +12 -0
- package/src/_internal/cli/server/runtime.ts +13 -10
- package/src/_internal/cli/server/vite/plugin-sanity-build-entries.ts +14 -12
- package/dist/BroadcastDisplayedDocument-BHYI8o6u.mjs +0 -19
- package/dist/BroadcastDisplayedDocument-BHYI8o6u.mjs.map +0 -1
- package/dist/DisplayedDocumentBroadcaster-DfHPxc7C.mjs +0 -58
- package/dist/DisplayedDocumentBroadcaster-DfHPxc7C.mjs.map +0 -1
- package/dist/LiveQueries-sYvgBCKh.mjs +0 -267
- package/dist/LiveQueries-sYvgBCKh.mjs.map +0 -1
- package/dist/LoaderQueries-AQneabiG.mjs +0 -581
- package/dist/LoaderQueries-AQneabiG.mjs.map +0 -1
- package/dist/Observable-wwWYwtkh.mjs +0 -551
- package/dist/Observable-wwWYwtkh.mjs.map +0 -1
- package/dist/PostMessageDocuments-DLMdHDk6.mjs +0 -75
- package/dist/PostMessageDocuments-DLMdHDk6.mjs.map +0 -1
- package/dist/PostMessageFeatures-CazMQz3f.mjs +0 -21
- package/dist/PostMessageFeatures-CazMQz3f.mjs.map +0 -1
- package/dist/PostMessagePerspective-m4uZ6sI5.mjs +0 -23
- package/dist/PostMessagePerspective-m4uZ6sI5.mjs.map +0 -1
- package/dist/PostMessagePreviewSnapshots-Dr7CEAiM.mjs +0 -66
- package/dist/PostMessagePreviewSnapshots-Dr7CEAiM.mjs.map +0 -1
- package/dist/PostMessageRefreshMutations-CWb9UqSy.mjs +0 -66
- package/dist/PostMessageRefreshMutations-CWb9UqSy.mjs.map +0 -1
- package/dist/PostMessageSchema-BVFyZOH1.mjs +0 -514
- package/dist/PostMessageSchema-BVFyZOH1.mjs.map +0 -1
- package/dist/PostMessageTelemetry-CSluBvcC.mjs +0 -51
- package/dist/PostMessageTelemetry-CSluBvcC.mjs.map +0 -1
- package/dist/PresentationToolGrantsCheck-4zo266wj.mjs +0 -3919
- package/dist/PresentationToolGrantsCheck-4zo266wj.mjs.map +0 -1
- package/dist/QRCodeSVG-D6VfGEbM.mjs +0 -648
- package/dist/QRCodeSVG-D6VfGEbM.mjs.map +0 -1
- package/dist/SourceContext-T8zcpOpp.mjs +0 -33
- package/dist/SourceContext-T8zcpOpp.mjs.map +0 -1
- package/dist/StructureToolProvider-BMLps71e.mjs +0 -13815
- package/dist/StructureToolProvider-BMLps71e.mjs.map +0 -1
- package/dist/Subject-DP0DoUP_.mjs +0 -108
- package/dist/Subject-DP0DoUP_.mjs.map +0 -1
- package/dist/ViteDevServerStopped-DdibXNvO.mjs +0 -44
- package/dist/ViteDevServerStopped-DdibXNvO.mjs.map +0 -1
- package/dist/_createContext.mjs +0 -36
- package/dist/_createContext.mjs.map +0 -1
- package/dist/_singletons.mjs +0 -195
- package/dist/_singletons.mjs.map +0 -1
- package/dist/browser-BzDH2pyp.mjs +0 -455
- package/dist/browser-BzDH2pyp.mjs.map +0 -1
- package/dist/browser-DWCoWoiH.mjs +0 -3988
- package/dist/browser-DWCoWoiH.mjs.map +0 -1
- package/dist/debounceTime-BeoKrERE.mjs +0 -130
- package/dist/debounceTime-BeoKrERE.mjs.map +0 -1
- package/dist/desk.mjs +0 -52
- package/dist/desk.mjs.map +0 -1
- package/dist/first-Di4GZDIY.mjs +0 -42
- package/dist/first-Di4GZDIY.mjs.map +0 -1
- package/dist/get-psIoeD-z.mjs +0 -327
- package/dist/get-psIoeD-z.mjs.map +0 -1
- package/dist/hooks-4sgcd521.mjs +0 -90
- package/dist/hooks-4sgcd521.mjs.map +0 -1
- package/dist/index-9PJcXUTv.mjs +0 -87
- package/dist/index-9PJcXUTv.mjs.map +0 -1
- package/dist/index-ByFK-IwD.mjs +0 -528
- package/dist/index-ByFK-IwD.mjs.map +0 -1
- package/dist/index-C2OAo3To.mjs +0 -7079
- package/dist/index-C2OAo3To.mjs.map +0 -1
- package/dist/index-C3OvVLVP.mjs +0 -4636
- package/dist/index-C3OvVLVP.mjs.map +0 -1
- package/dist/index-DBPVDKJN.mjs +0 -1198
- package/dist/index-DBPVDKJN.mjs.map +0 -1
- package/dist/index-DkvUNBNf.mjs +0 -73
- package/dist/index-DkvUNBNf.mjs.map +0 -1
- package/dist/index-Sp9w8lMg.mjs +0 -118
- package/dist/index-Sp9w8lMg.mjs.map +0 -1
- package/dist/index.browser-BxT2qp9y.mjs +0 -104
- package/dist/index.browser-BxT2qp9y.mjs.map +0 -1
- package/dist/index.mjs +0 -129019
- package/dist/index.mjs.map +0 -1
- package/dist/isObservable-ByOheaM8.mjs +0 -8
- package/dist/isObservable-ByOheaM8.mjs.map +0 -1
- package/dist/never-ChKjLemk.mjs +0 -6
- package/dist/never-ChKjLemk.mjs.map +0 -1
- package/dist/pane-C4tskUPg.mjs +0 -5
- package/dist/pane-C4tskUPg.mjs.map +0 -1
- package/dist/pane-Dhx8FvsK.mjs +0 -5
- package/dist/pane-Dhx8FvsK.mjs.map +0 -1
- package/dist/presentation-CSS9GR9X.mjs +0 -984
- package/dist/presentation-CSS9GR9X.mjs.map +0 -1
- package/dist/presentation.mjs +0 -14
- package/dist/presentation.mjs.map +0 -1
- package/dist/resources-4cbq8YlR.mjs +0 -124
- package/dist/resources-4cbq8YlR.mjs.map +0 -1
- package/dist/resources-BVETz6Ur.mjs +0 -57
- package/dist/resources-BVETz6Ur.mjs.map +0 -1
- package/dist/resources-D4AaU75F.mjs +0 -434
- package/dist/resources-D4AaU75F.mjs.map +0 -1
- package/dist/resources-Dc-6ZcPg.mjs +0 -157
- package/dist/resources-Dc-6ZcPg.mjs.map +0 -1
- package/dist/resources-DgU0prBM.mjs +0 -179
- package/dist/resources-DgU0prBM.mjs.map +0 -1
- package/dist/resources-MD8RsYhH.mjs +0 -288
- package/dist/resources-MD8RsYhH.mjs.map +0 -1
- package/dist/router.mjs +0 -689
- package/dist/router.mjs.map +0 -1
- package/dist/share-bcOpIdQz.mjs +0 -71
- package/dist/share-bcOpIdQz.mjs.map +0 -1
- package/dist/shareReplay-Dj1O6fKV.mjs +0 -43
- package/dist/shareReplay-Dj1O6fKV.mjs.map +0 -1
- package/dist/stegaEncodeSourceMap-DXdUZQye.mjs +0 -342
- package/dist/stegaEncodeSourceMap-DXdUZQye.mjs.map +0 -1
- package/dist/structure.mjs +0 -56
- package/dist/structure.mjs.map +0 -1
- package/dist/takeUntil-CgZP1bze.mjs +0 -111
- package/dist/takeUntil-CgZP1bze.mjs.map +0 -1
- package/dist/v4-C78sE4Gb.mjs +0 -27082
- package/dist/v4-C78sE4Gb.mjs.map +0 -1
- package/dist/version-D7UZEoYI.mjs +0 -5
- package/dist/version-D7UZEoYI.mjs.map +0 -1
@@ -1,108 +0,0 @@
|
|
1
|
-
import { c as b, _ as f, E as d, S as v, a as _, O as l, e as a, b as y } from "./Observable-wwWYwtkh.mjs";
|
2
|
-
var S = b(function(o) {
|
3
|
-
return function() {
|
4
|
-
o(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
5
|
-
};
|
6
|
-
}), w = function(o) {
|
7
|
-
f(n, o);
|
8
|
-
function n() {
|
9
|
-
var e = o.call(this) || this;
|
10
|
-
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
11
|
-
}
|
12
|
-
return n.prototype.lift = function(e) {
|
13
|
-
var r = new c(this, this);
|
14
|
-
return r.operator = e, r;
|
15
|
-
}, n.prototype._throwIfClosed = function() {
|
16
|
-
if (this.closed)
|
17
|
-
throw new S();
|
18
|
-
}, n.prototype.next = function(e) {
|
19
|
-
var r = this;
|
20
|
-
a(function() {
|
21
|
-
var t, u;
|
22
|
-
if (r._throwIfClosed(), !r.isStopped) {
|
23
|
-
r.currentObservers || (r.currentObservers = Array.from(r.observers));
|
24
|
-
try {
|
25
|
-
for (var s = y(r.currentObservers), i = s.next(); !i.done; i = s.next()) {
|
26
|
-
var h = i.value;
|
27
|
-
h.next(e);
|
28
|
-
}
|
29
|
-
} catch (p) {
|
30
|
-
t = { error: p };
|
31
|
-
} finally {
|
32
|
-
try {
|
33
|
-
i && !i.done && (u = s.return) && u.call(s);
|
34
|
-
} finally {
|
35
|
-
if (t) throw t.error;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
});
|
40
|
-
}, n.prototype.error = function(e) {
|
41
|
-
var r = this;
|
42
|
-
a(function() {
|
43
|
-
if (r._throwIfClosed(), !r.isStopped) {
|
44
|
-
r.hasError = r.isStopped = !0, r.thrownError = e;
|
45
|
-
for (var t = r.observers; t.length; )
|
46
|
-
t.shift().error(e);
|
47
|
-
}
|
48
|
-
});
|
49
|
-
}, n.prototype.complete = function() {
|
50
|
-
var e = this;
|
51
|
-
a(function() {
|
52
|
-
if (e._throwIfClosed(), !e.isStopped) {
|
53
|
-
e.isStopped = !0;
|
54
|
-
for (var r = e.observers; r.length; )
|
55
|
-
r.shift().complete();
|
56
|
-
}
|
57
|
-
});
|
58
|
-
}, n.prototype.unsubscribe = function() {
|
59
|
-
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
60
|
-
}, Object.defineProperty(n.prototype, "observed", {
|
61
|
-
get: function() {
|
62
|
-
var e;
|
63
|
-
return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
|
64
|
-
},
|
65
|
-
enumerable: !1,
|
66
|
-
configurable: !0
|
67
|
-
}), n.prototype._trySubscribe = function(e) {
|
68
|
-
return this._throwIfClosed(), o.prototype._trySubscribe.call(this, e);
|
69
|
-
}, n.prototype._subscribe = function(e) {
|
70
|
-
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
71
|
-
}, n.prototype._innerSubscribe = function(e) {
|
72
|
-
var r = this, t = this, u = t.hasError, s = t.isStopped, i = t.observers;
|
73
|
-
return u || s ? d : (this.currentObservers = null, i.push(e), new v(function() {
|
74
|
-
r.currentObservers = null, _(i, e);
|
75
|
-
}));
|
76
|
-
}, n.prototype._checkFinalizedStatuses = function(e) {
|
77
|
-
var r = this, t = r.hasError, u = r.thrownError, s = r.isStopped;
|
78
|
-
t ? e.error(u) : s && e.complete();
|
79
|
-
}, n.prototype.asObservable = function() {
|
80
|
-
var e = new l();
|
81
|
-
return e.source = this, e;
|
82
|
-
}, n.create = function(e, r) {
|
83
|
-
return new c(e, r);
|
84
|
-
}, n;
|
85
|
-
}(l), c = function(o) {
|
86
|
-
f(n, o);
|
87
|
-
function n(e, r) {
|
88
|
-
var t = o.call(this) || this;
|
89
|
-
return t.destination = e, t.source = r, t;
|
90
|
-
}
|
91
|
-
return n.prototype.next = function(e) {
|
92
|
-
var r, t;
|
93
|
-
(t = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || t === void 0 || t.call(r, e);
|
94
|
-
}, n.prototype.error = function(e) {
|
95
|
-
var r, t;
|
96
|
-
(t = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || t === void 0 || t.call(r, e);
|
97
|
-
}, n.prototype.complete = function() {
|
98
|
-
var e, r;
|
99
|
-
(r = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || r === void 0 || r.call(e);
|
100
|
-
}, n.prototype._subscribe = function(e) {
|
101
|
-
var r, t;
|
102
|
-
return (t = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e)) !== null && t !== void 0 ? t : d;
|
103
|
-
}, n;
|
104
|
-
}(w);
|
105
|
-
export {
|
106
|
-
w as S
|
107
|
-
};
|
108
|
-
//# sourceMappingURL=Subject-DP0DoUP_.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Subject-DP0DoUP_.mjs","sources":["../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js","../../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subject.js"],"sourcesContent":["import { createErrorClass } from './createErrorClass';\nexport var ObjectUnsubscribedError = createErrorClass(function (_super) {\n return function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n };\n});\n//# sourceMappingURL=ObjectUnsubscribedError.js.map","import { __extends, __values } from \"tslib\";\nimport { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nvar Subject = (function (_super) {\n __extends(Subject, _super);\n function Subject() {\n var _this = _super.call(this) || this;\n _this.closed = false;\n _this.currentObservers = null;\n _this.observers = [];\n _this.isStopped = false;\n _this.hasError = false;\n _this.thrownError = null;\n return _this;\n }\n Subject.prototype.lift = function (operator) {\n var subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n };\n Subject.prototype._throwIfClosed = function () {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n };\n Subject.prototype.next = function (value) {\n var _this = this;\n errorContext(function () {\n var e_1, _a;\n _this._throwIfClosed();\n if (!_this.isStopped) {\n if (!_this.currentObservers) {\n _this.currentObservers = Array.from(_this.observers);\n }\n try {\n for (var _b = __values(_this.currentObservers), _c = _b.next(); !_c.done; _c = _b.next()) {\n var observer = _c.value;\n observer.next(value);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n });\n };\n Subject.prototype.error = function (err) {\n var _this = this;\n errorContext(function () {\n _this._throwIfClosed();\n if (!_this.isStopped) {\n _this.hasError = _this.isStopped = true;\n _this.thrownError = err;\n var observers = _this.observers;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n };\n Subject.prototype.complete = function () {\n var _this = this;\n errorContext(function () {\n _this._throwIfClosed();\n if (!_this.isStopped) {\n _this.isStopped = true;\n var observers = _this.observers;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n };\n Subject.prototype.unsubscribe = function () {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n };\n Object.defineProperty(Subject.prototype, \"observed\", {\n get: function () {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n },\n enumerable: false,\n configurable: true\n });\n Subject.prototype._trySubscribe = function (subscriber) {\n this._throwIfClosed();\n return _super.prototype._trySubscribe.call(this, subscriber);\n };\n Subject.prototype._subscribe = function (subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n };\n Subject.prototype._innerSubscribe = function (subscriber) {\n var _this = this;\n var _a = this, hasError = _a.hasError, isStopped = _a.isStopped, observers = _a.observers;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(function () {\n _this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n };\n Subject.prototype._checkFinalizedStatuses = function (subscriber) {\n var _a = this, hasError = _a.hasError, thrownError = _a.thrownError, isStopped = _a.isStopped;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n };\n Subject.prototype.asObservable = function () {\n var observable = new Observable();\n observable.source = this;\n return observable;\n };\n Subject.create = function (destination, source) {\n return new AnonymousSubject(destination, source);\n };\n return Subject;\n}(Observable));\nexport { Subject };\nvar AnonymousSubject = (function (_super) {\n __extends(AnonymousSubject, _super);\n function AnonymousSubject(destination, source) {\n var _this = _super.call(this) || this;\n _this.destination = destination;\n _this.source = source;\n return _this;\n }\n AnonymousSubject.prototype.next = function (value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n };\n AnonymousSubject.prototype.error = function (err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n };\n AnonymousSubject.prototype.complete = function () {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n };\n AnonymousSubject.prototype._subscribe = function (subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n };\n return AnonymousSubject;\n}(Subject));\nexport { AnonymousSubject };\n//# sourceMappingURL=Subject.js.map"],"names":["ObjectUnsubscribedError","createErrorClass","_super","Subject","__extends","_this","operator","subject","AnonymousSubject","value","errorContext","e_1","_a","_b","__values","_c","observer","e_1_1","err","observers","subscriber","hasError","isStopped","EMPTY_SUBSCRIPTION","Subscription","arrRemove","thrownError","observable","Observable","destination","source"],"mappings":";AACO,IAAIA,IAA0BC,EAAiB,SAAUC,GAAQ;AACpE,SAAO,WAAuC;AAC1C,IAAAA,EAAO,IAAI,GACX,KAAK,OAAO,2BACZ,KAAK,UAAU;AAAA,EAClB;AACL,CAAC,GCDGC,IAAW,SAAUD,GAAQ;AAC7B,EAAAE,EAAUD,GAASD,CAAM;AACzB,WAASC,IAAU;AACf,QAAIE,IAAQH,EAAO,KAAK,IAAI,KAAK;AACjC,WAAAG,EAAM,SAAS,IACfA,EAAM,mBAAmB,MACzBA,EAAM,YAAY,CAAE,GACpBA,EAAM,YAAY,IAClBA,EAAM,WAAW,IACjBA,EAAM,cAAc,MACbA;AAAA,EACf;AACI,SAAAF,EAAQ,UAAU,OAAO,SAAUG,GAAU;AACzC,QAAIC,IAAU,IAAIC,EAAiB,MAAM,IAAI;AAC7C,WAAAD,EAAQ,WAAWD,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AAKU;AAAA,EACnI,GACMf;AACX,EAAEL,CAAO;","x_google_ignoreList":[0,1]}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
var f = Object.defineProperty;
|
2
|
-
var m = (e, r, o) => r in e ? f(e, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[r] = o;
|
3
|
-
var a = (e, r, o) => m(e, typeof r != "symbol" ? r + "" : r, o);
|
4
|
-
import { jsx as t, jsxs as u } from "react/jsx-runtime";
|
5
|
-
import { c as D } from "./index-DkvUNBNf.mjs";
|
6
|
-
import { C as v, a as E, S, H as w, T as V } from "./v4-C78sE4Gb.mjs";
|
7
|
-
import { useState as g, useEffect as R } from "react";
|
8
|
-
const l = "Dev server stopped", T = "The development server has stopped. You may need to restart it to continue working.";
|
9
|
-
class _ extends Error {
|
10
|
-
constructor() {
|
11
|
-
super(l);
|
12
|
-
a(this, "ViteDevServerStoppedError");
|
13
|
-
this.name = "ViteDevServerStoppedError", this.ViteDevServerStoppedError = !0;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
const d = void 0, h = (e) => !!e, x = () => {
|
17
|
-
const e = D(5), [r, o] = g(!1);
|
18
|
-
let n;
|
19
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = () => o(!0), e[0] = n) : n = e[0];
|
20
|
-
const p = n;
|
21
|
-
let s, i;
|
22
|
-
e[1] === Symbol.for("react.memo_cache_sentinel") ? (s = () => {
|
23
|
-
h(d) && d.on("vite:ws:disconnect", p);
|
24
|
-
}, i = [p], e[1] = s, e[2] = i) : (s = e[1], i = e[2]), R(s, i);
|
25
|
-
let c;
|
26
|
-
return e[3] !== r ? (c = {
|
27
|
-
devServerStopped: r
|
28
|
-
}, e[3] = r, e[4] = c) : c = e[4], c;
|
29
|
-
}, b = () => {
|
30
|
-
const {
|
31
|
-
devServerStopped: e
|
32
|
-
} = x();
|
33
|
-
if (e)
|
34
|
-
throw new _();
|
35
|
-
return null;
|
36
|
-
}, O = () => h(d) ? /* @__PURE__ */ t(b, {}) : null, j = () => /* @__PURE__ */ t(v, { height: "fill", overflow: "auto", paddingY: [4, 5, 6, 7], paddingX: 4, sizing: "border", tone: "critical", children: /* @__PURE__ */ t(E, { width: 3, children: /* @__PURE__ */ u(S, { space: 4, children: [
|
37
|
-
/* @__PURE__ */ t(w, { children: l }),
|
38
|
-
/* @__PURE__ */ t(v, { border: !0, radius: 2, overflow: "auto", padding: 4, tone: "inherit", children: /* @__PURE__ */ t(S, { space: 4, children: /* @__PURE__ */ t(V, { size: 2, children: T }) }) })
|
39
|
-
] }) }) });
|
40
|
-
export {
|
41
|
-
O as DetectViteDevServerStopped,
|
42
|
-
j as DevServerStoppedErrorScreen
|
43
|
-
};
|
44
|
-
//# sourceMappingURL=ViteDevServerStopped-DdibXNvO.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ViteDevServerStopped-DdibXNvO.mjs","sources":["../src/core/studio/ViteDevServerStopped.tsx"],"sourcesContent":["/* eslint-disable i18next/no-literal-string -- will not support i18n in error boundaries */\nimport {Card, Container, Heading, Stack, Text} from '@sanity/ui'\nimport {type ReactNode, useCallback, useEffect, useState} from 'react'\nimport {type ViteHotContext} from 'vite/types/hot.js'\n\nconst ERROR_TITLE = 'Dev server stopped'\nconst ERROR_DESCRIPTION =\n 'The development server has stopped. You may need to restart it to continue working.'\n\nclass ViteDevServerStoppedError extends Error {\n ViteDevServerStoppedError: boolean\n\n constructor() {\n super(ERROR_TITLE)\n this.name = 'ViteDevServerStoppedError'\n this.ViteDevServerStoppedError = true\n }\n}\nconst serverHot = import.meta.hot\nconst isViteServer = (hot: unknown): hot is ViteHotContext => Boolean(hot)\n\nconst useDetectViteDevServerStopped = () => {\n const [devServerStopped, setDevServerStopped] = useState(false)\n\n const markDevServerStopped = useCallback(() => setDevServerStopped(true), [])\n\n useEffect(() => {\n // no early return to optimize tree-shaking\n if (isViteServer(serverHot)) {\n serverHot.on('vite:ws:disconnect', markDevServerStopped)\n }\n }, [markDevServerStopped])\n\n return {devServerStopped}\n}\n\nconst ThrowViteServerStopped = () => {\n const {devServerStopped} = useDetectViteDevServerStopped()\n\n if (devServerStopped) throw new ViteDevServerStoppedError()\n\n return null\n}\n\nexport const DetectViteDevServerStopped = (): ReactNode =>\n isViteServer(serverHot) ? <ThrowViteServerStopped /> : null\n\nexport const DevServerStoppedErrorScreen = (): ReactNode => (\n <Card\n height=\"fill\"\n overflow=\"auto\"\n paddingY={[4, 5, 6, 7]}\n paddingX={4}\n sizing=\"border\"\n tone=\"critical\"\n >\n <Container width={3}>\n <Stack space={4}>\n <Heading>{ERROR_TITLE}</Heading>\n\n <Card border radius={2} overflow=\"auto\" padding={4} tone=\"inherit\">\n <Stack space={4}>\n <Text size={2}>{ERROR_DESCRIPTION}</Text>\n </Stack>\n </Card>\n </Stack>\n </Container>\n </Card>\n)\n"],"names":["ERROR_TITLE","ERROR_DESCRIPTION","ViteDevServerStoppedError","Error","constructor","name","serverHot","import","isViteServer","hot","Boolean","useDetectViteDevServerStopped","$","_c","devServerStopped","setDevServerStopped","useState","t0","Symbol","for","markDevServerStopped","t1","t2","on","useEffect","t3","ThrowViteServerStopped","DetectViteDevServerStopped","jsx","DevServerStoppedErrorScreen","Card","Container","jsxs","Stack","Heading","Text"],"mappings":";;;;;;;AAKA,MAAMA,IAAc,sBACdC,IACJ;AAEF,MAAMC,UAAkCC,MAAM;AAAA,EAG5CC,cAAc;AACZ,UAAMJ,CAAW;AAHnBE,IAAAA,EAAAA;AAIE,SAAKG,OAAO,6BACZ,KAAKH,4BAA4B;AAAA,EAAA;AAErC;AACA,MAAMI,IAAYC,QACZC,IAAeA,CAACC,MAAwCC,EAAQD,GAEhEE,IAAgCA,MAAA;AAAAC,QAAAA,IAAAC,EAAA,CAAA,GACpC,CAAAC,GAAAC,CAAA,IAAgDC,IAAc;AAACC,MAAAA;AAAA,EAAAL,EAAA,CAAA,MAAAM,OAAAC,IAAA,2BAAA,KAEtBF,IAAAA,MAAMF,IAAwB,GAACH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,EACF,CAAA;AAAA,EACF,CAAA,EACF,CAAA,EACF,CAAA;"}
|
package/dist/_createContext.mjs
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
import { createContext as r } from "react";
|
2
|
-
import { S as o } from "./version-D7UZEoYI.mjs";
|
3
|
-
const s = "https://www.sanity.io/help/missing-context-error";
|
4
|
-
function d(n, i) {
|
5
|
-
const e = Symbol.for(n);
|
6
|
-
if (typeof document > "u")
|
7
|
-
return r(i);
|
8
|
-
if (!t[e])
|
9
|
-
t[e] = {
|
10
|
-
context: r(i),
|
11
|
-
version: o
|
12
|
-
};
|
13
|
-
else {
|
14
|
-
if (t[e].version !== o)
|
15
|
-
throw new TypeError(`Duplicate instances of context "${n}" with incompatible versions detected: Expected ${o} but got ${t[e].version}.
|
16
|
-
|
17
|
-
For more information, please visit ${s}`);
|
18
|
-
a.has(o) || (console.warn(`Duplicate instances of context "${n}" detected. This is likely a mistake and may cause unexpected behavior.
|
19
|
-
|
20
|
-
For more information, please visit ${s}`), a.add(o));
|
21
|
-
}
|
22
|
-
return t[e].context;
|
23
|
-
}
|
24
|
-
const a = /* @__PURE__ */ new Set();
|
25
|
-
function c() {
|
26
|
-
if (typeof globalThis < "u") return globalThis;
|
27
|
-
if (typeof window < "u") return window;
|
28
|
-
if (typeof self < "u") return self;
|
29
|
-
if (typeof global < "u") return global;
|
30
|
-
throw new Error("sanity: could not locate global scope");
|
31
|
-
}
|
32
|
-
const t = c();
|
33
|
-
export {
|
34
|
-
d as createContext
|
35
|
-
};
|
36
|
-
//# sourceMappingURL=_createContext.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_createContext.mjs","sources":["../src/_createContext/createGlobalScopedContext.ts"],"sourcesContent":["import {type Context, createContext} from 'react'\n\nimport {SANITY_VERSION} from '../core/version'\n\nconst MISSING_CONTEXT_HELP_URL = 'https://www.sanity.io/help/missing-context-error'\n\n/**\n * @internal\n * @hidden\n */\nexport function createGlobalScopedContext<ContextType, const T extends ContextType = ContextType>(\n /**\n * It's important to prefix these keys as they are global\n */\n key: `sanity/_singletons/context/${string}`,\n defaultValue: T,\n): Context<ContextType> {\n const symbol = Symbol.for(key)\n\n /**\n * Prevent errors about re-renders on React SSR on Next.js App Router\n */\n if (typeof document === 'undefined') {\n return createContext<ContextType>(defaultValue)\n }\n\n if (!globalScope[symbol]) {\n globalScope[symbol] = {context: createContext<T>(defaultValue), version: SANITY_VERSION}\n } else if (globalScope[symbol].version !== SANITY_VERSION) {\n throw new TypeError(\n `Duplicate instances of context \"${key}\" with incompatible versions detected: Expected ${SANITY_VERSION} but got ${globalScope[symbol].version}.\\n\\n` +\n `For more information, please visit ${MISSING_CONTEXT_HELP_URL}`,\n )\n } else if (!warned.has(SANITY_VERSION)) {\n console.warn(\n `Duplicate instances of context \"${key}\" detected. This is likely a mistake and may cause unexpected behavior.\\n\\n` +\n `For more information, please visit ${MISSING_CONTEXT_HELP_URL}`,\n )\n warned.add(SANITY_VERSION)\n }\n\n return globalScope[symbol].context\n}\n\nconst warned = new Set<typeof SANITY_VERSION>()\n\n/**\n * Gets the global scope instance in a given environment.\n *\n * The strategy is to return the most modern, and if not, the most common:\n * - The `globalThis` variable is the modern approach to accessing the global scope\n * - The `window` variable is the global scope in a web browser\n * - The `self` variable is the global scope in workers and others\n * - The `global` variable is the global scope in Node.js\n */\nfunction getGlobalScope() {\n if (typeof globalThis !== 'undefined') return globalThis\n if (typeof window !== 'undefined') return window\n if (typeof self !== 'undefined') return self\n if (typeof global !== 'undefined') return global\n\n throw new Error('sanity: could not locate global scope')\n}\n\nconst globalScope = getGlobalScope() as any\n"],"names":["MISSING_CONTEXT_HELP_URL","createGlobalScopedContext","key","defaultValue","symbol","Symbol","for","document","createContext","globalScope","context","version","SANITY_VERSION","TypeError","warned","has","warn","add","Set","getGlobalScope","globalThis","window","self","global","Error"],"mappings":";;AAIA,MAAMA,IAA2B;AAMjBC,SAAAA,EAIdC,GACAC,GACsB;AAChBC,QAAAA,IAASC,OAAOC,IAAIJ,CAAG;AAKzB,MAAA,OAAOK,WAAa;AACtB,WAAOC,EAA2BL,CAAY;AAG5C,MAAA,CAACM,EAAYL,CAAM;AACrBK,IAAAA,EAAYL,CAAM,IAAI;AAAA,MAACM,SAASF,EAAiBL,CAAY;AAAA,MAAGQ,SAASC;AAAAA,IAAc;AAAA,OAC9EH;AAAAA,QAAAA,EAAYL,CAAM,EAAEO,YAAYC;AACnC,YAAA,IAAIC,UACR,mCAAmCX,CAAG,mDAAmDU,CAAc,YAAYH,EAAYL,CAAM,EAAEO,OAAO;AAAA;AAAA,qCACtGX,CAAwB,EAClE;AACS,IAACc,EAAOC,IAAIH,CAAc,MAC3BI,QAAAA,KACN,mCAAmCd,CAAG;AAAA;AAAA,qCACEF,CAAwB,EAClE,GACAc,EAAOG,IAAIL,CAAc;AAAA;AAGpBH,SAAAA,EAAYL,CAAM,EAAEM;AAC7B;AAEA,MAAMI,wBAAaI,IAA2B;AAW9C,SAASC,IAAiB;AACpB,MAAA,OAAOC,aAAe,IAAoBA,QAAAA;AAC1C,MAAA,OAAOC,SAAW,IAAoBA,QAAAA;AACtC,MAAA,OAAOC,OAAS,IAAoBA,QAAAA;AACpC,MAAA,OAAOC,SAAW,IAAoBA,QAAAA;AAEpC,QAAA,IAAIC,MAAM,uCAAuC;AACzD;AAEA,MAAMf,IAAcU,EAAe;"}
|
package/dist/_singletons.mjs
DELETED
@@ -1,195 +0,0 @@
|
|
1
|
-
import { createContext as n } from "sanity/_createContext";
|
2
|
-
import { B as e } from "./SourceContext-T8zcpOpp.mjs";
|
3
|
-
import { S as En } from "./SourceContext-T8zcpOpp.mjs";
|
4
|
-
const a = n("sanity/_singletons/context/active-workspace-matcher", null), i = n("sanity/_singletons/context/addon-dataset", null), c = n("sanity/_singletons/context/calendar", void 0), r = n("sanity/_singletons/context/change-indicator-tracker-store", null), x = n("sanity/_singletons/context/change-indicator-tracker-get-snapshot", null), u = n("sanity/_singletons/context/color-scheme-set-value", null), d = n("sanity/_singletons/context/color-scheme-value", null), g = n("sanity/_singletons/context/comment-input", null), C = n("sanity/_singletons/context/comments-authoring-path", null), m = n("sanity/_singletons/context/comments", null), y = n("sanity/_singletons/context/comments-enabled", {
|
5
|
-
enabled: !1,
|
6
|
-
mode: null
|
7
|
-
}), p = n("sanity/_singletons/context/comments-intent", void 0), _ = n("sanity/_singletons/context/comments-onboarding", null), f = n("sanity/_singletons/context/comments-selected-path", null), h = n("sanity/_singletons/context/comments-upsell", null), b = n("sanity/_singletons/context/connector", {
|
8
|
-
isReviewChangesOpen: !1,
|
9
|
-
onOpenReviewChanges: () => {
|
10
|
-
},
|
11
|
-
onSetFocus: () => {
|
12
|
-
}
|
13
|
-
}), k = n("sanity/_singletons/context/copy-paste", null), v = n("sanity/_singletons/context/diff", {
|
14
|
-
path: []
|
15
|
-
}), P = n("sanity/_singletons/context/document-action-props", void 0), S = n("sanity/_singletons/context/document-change", null), I = n("sanity/_singletons/context/document-field-actions", null), w = n("sanity/_singletons/context/document-id", null), F = n("sanity/_singletons/context/document-pane", null), D = n("sanity/_singletons/context/document-sheet-list", void 0), E = n("sanity/_singletons/context/events", null), R = n("sanity/_singletons/context/field-actions", {
|
16
|
-
actions: [],
|
17
|
-
focused: !1,
|
18
|
-
hovered: !1,
|
19
|
-
onMouseEnter: () => {
|
20
|
-
},
|
21
|
-
onMouseLeave: () => {
|
22
|
-
}
|
23
|
-
}), T = n("sanity/_singletons/context/form-builder", null), L = n("sanity/_singletons/context/form-callbacks", null), M = n("sanity/_singletons/context/form-field-presence", []), A = n("sanity/_singletons/context/form-value", null), O = n("sanity/_singletons/context/free-trial", void 0), V = n("sanity/_singletons/context/get-form-value", null), z = n("sanity/_singletons/context/hovered-field", {
|
24
|
-
store: {
|
25
|
-
subscribe: () => () => {
|
26
|
-
},
|
27
|
-
getSnapshot: () => []
|
28
|
-
},
|
29
|
-
onMouseEnter: () => {
|
30
|
-
},
|
31
|
-
onMouseLeave: () => {
|
32
|
-
}
|
33
|
-
}), B = n("sanity/_singletons/context/is-last-pane", !1), U = n("sanity/_singletons/context/locale", void 0), G = n("sanity/_singletons/context/mention-user", null), W = n("sanity/_singletons/context/navbar", {
|
34
|
-
onSearchFullscreenOpenChange: () => "",
|
35
|
-
onSearchOpenChange: () => "",
|
36
|
-
searchFullscreenOpen: !1,
|
37
|
-
searchFullscreenPortalEl: null,
|
38
|
-
searchOpen: !1
|
39
|
-
}), H = n("sanity/_singletons/context/pane", null), N = n("sanity/_singletons/context/pane-layout", null);
|
40
|
-
function t() {
|
41
|
-
throw new Error("Pane is missing router context");
|
42
|
-
}
|
43
|
-
const j = n("sanity/_singletons/context/pane-router", {
|
44
|
-
index: 0,
|
45
|
-
groupIndex: 0,
|
46
|
-
siblingIndex: 0,
|
47
|
-
payload: void 0,
|
48
|
-
params: {},
|
49
|
-
hasGroupSiblings: !1,
|
50
|
-
groupLength: 0,
|
51
|
-
routerPanesState: [],
|
52
|
-
BackLink: () => t(),
|
53
|
-
ChildLink: () => t(),
|
54
|
-
ReferenceChildLink: () => t(),
|
55
|
-
handleEditReference: () => t(),
|
56
|
-
ParameterizedLink: () => t(),
|
57
|
-
replaceCurrent: () => t(),
|
58
|
-
closeCurrentAndAfter: () => t(),
|
59
|
-
closeCurrent: () => t(),
|
60
|
-
duplicateCurrent: () => t(),
|
61
|
-
setView: () => t(),
|
62
|
-
setParams: () => t(),
|
63
|
-
setPayload: () => t(),
|
64
|
-
navigateIntent: () => t(),
|
65
|
-
createPathWithParams: () => t()
|
66
|
-
}), Z = n("sanity/_singletons/context/portable-text-markers", []), q = n("sanity/_singletons/context/portable-text-member-item-element-refs", new e({})), J = n("sanity/_singletons/context/portable-text-member-items", []), K = n("sanity/_singletons/context/presence", []), Q = n("sanity/_singletons/context/presence-tracker-store", null), X = n("sanity/_singletons/context/presence-tracker-get-snapshot", null), Y = n("sanity/_singletons/context/preview-card", {
|
67
|
-
selected: !1
|
68
|
-
}), $ = n("sanity/_singletons/context/reference-input-options", {}), nn = n("sanity/_singletons/context/reference-item-ref", null), tn = n("sanity/_singletons/context/releases-metadata", null), en = n("sanity/_singletons/context/releases-table", null), on = n("sanity/_singletons/context/resource-cache", null), sn = n("sanity/_singletons/context/review-changes", null), ln = n("sanity/_singletons/context/router", null), an = n("sanity/_singletons/context/router-history", null), cn = n("sanity/_singletons/context/start-in-create-enabled", {
|
69
|
-
startInCreateEnabled: !1
|
70
|
-
}), rn = n("sanity/_singletons/context/scheduled-publishing-enabled", null), xn = n("sanity/_singletons/context/schedule-publish-upsell", {
|
71
|
-
upsellData: null,
|
72
|
-
handleOpenDialog: () => null,
|
73
|
-
upsellDialogOpen: !1,
|
74
|
-
telemetryLogs: {
|
75
|
-
dialogSecondaryClicked: () => null,
|
76
|
-
dialogPrimaryClicked: () => null,
|
77
|
-
panelViewed: () => null,
|
78
|
-
panelDismissed: () => null,
|
79
|
-
panelPrimaryClicked: () => null,
|
80
|
-
panelSecondaryClicked: () => null
|
81
|
-
}
|
82
|
-
}), un = n("sanity/_singletons/context/schedules", void 0), dn = n("sanity/_singletons/context/scroll", null), gn = n("sanity/_singletons/context/search", void 0), Cn = n("sanity/_singletons/context/sortable-item-id", null), mn = n("sanity/_singletons/context/structure-tool", null), yn = n("sanity/_singletons/context/studioAnnouncements", void 0), pn = n("sanity/_singletons/context/tasks", null), _n = n("sanity/_singletons/context/tasks-enabled", {
|
83
|
-
enabled: !1,
|
84
|
-
mode: null
|
85
|
-
}), fn = n("sanity/_singletons/context/tasks-navigation", null), hn = n("sanity/_singletons/context/tasks-upsell", null), bn = n("sanity/_singletons/context/tree-editing-enabled", {
|
86
|
-
enabled: !1,
|
87
|
-
legacyEditing: !1
|
88
|
-
}), kn = n("sanity/_singletons/context/user-color-manager", null), vn = n("sanity/_singletons/context/validation", []), Pn = n("sanity/_singletons/context/virtualizer-scroll-instance", null), Sn = n("sanity/_singletons/context/workspace", null), In = n("sanity/_singletons/context/workspaces", null), o = {
|
89
|
-
navbar: 200,
|
90
|
-
navbarPopover: 5e5,
|
91
|
-
navbarDialog: 500001,
|
92
|
-
// pane
|
93
|
-
pane: 100,
|
94
|
-
paneHeader: [110, 15e3],
|
95
|
-
paneFooter: [120, 2e4],
|
96
|
-
paneResizer: [130, 25e3],
|
97
|
-
paneDialog: [140, 5e3],
|
98
|
-
//
|
99
|
-
popover: 200,
|
100
|
-
modal: 200,
|
101
|
-
movingItem: 1e4,
|
102
|
-
drawershade: 1e6,
|
103
|
-
drawer: 1000001,
|
104
|
-
fullscreen: 12e5,
|
105
|
-
toast: [100, 11e3],
|
106
|
-
// NOT IN USE
|
107
|
-
portal: 200,
|
108
|
-
dropdown: 200,
|
109
|
-
navbarFixed: 1010,
|
110
|
-
fullscreenEdit: 1050,
|
111
|
-
popoverBackground: 1060,
|
112
|
-
tooltip: 200,
|
113
|
-
modalBackground: 2e3,
|
114
|
-
spinner: 3e3
|
115
|
-
}, wn = n("sanity/_singletons/context/z-index", o);
|
116
|
-
export {
|
117
|
-
a as ActiveWorkspaceMatcherContext,
|
118
|
-
i as AddonDatasetContext,
|
119
|
-
c as CalendarContext,
|
120
|
-
x as ChangeIndicatorTrackerContextGetSnapshot,
|
121
|
-
r as ChangeIndicatorTrackerContextStore,
|
122
|
-
u as ColorSchemeSetValueContext,
|
123
|
-
d as ColorSchemeValueContext,
|
124
|
-
g as CommentInputContext,
|
125
|
-
C as CommentsAuthoringPathContext,
|
126
|
-
m as CommentsContext,
|
127
|
-
y as CommentsEnabledContext,
|
128
|
-
p as CommentsIntentContext,
|
129
|
-
_ as CommentsOnboardingContext,
|
130
|
-
f as CommentsSelectedPathContext,
|
131
|
-
h as CommentsUpsellContext,
|
132
|
-
b as ConnectorContext,
|
133
|
-
k as CopyPasteContext,
|
134
|
-
v as DiffContext,
|
135
|
-
P as DocumentActionPropsContext,
|
136
|
-
S as DocumentChangeContext,
|
137
|
-
I as DocumentFieldActionsContext,
|
138
|
-
w as DocumentIdContext,
|
139
|
-
F as DocumentPaneContext,
|
140
|
-
D as DocumentSheetListContext,
|
141
|
-
E as EventsContext,
|
142
|
-
R as FieldActionsContext,
|
143
|
-
T as FormBuilderContext,
|
144
|
-
L as FormCallbacksContext,
|
145
|
-
M as FormFieldPresenceContext,
|
146
|
-
A as FormValueContext,
|
147
|
-
O as FreeTrialContext,
|
148
|
-
V as GetFormValueContext,
|
149
|
-
z as HoveredFieldContext,
|
150
|
-
B as IsLastPaneContext,
|
151
|
-
U as LocaleContext,
|
152
|
-
G as MentionUserContext,
|
153
|
-
W as NavbarContext,
|
154
|
-
H as PaneContext,
|
155
|
-
N as PaneLayoutContext,
|
156
|
-
j as PaneRouterContext,
|
157
|
-
Z as PortableTextMarkersContext,
|
158
|
-
q as PortableTextMemberItemElementRefsContext,
|
159
|
-
J as PortableTextMemberItemsContext,
|
160
|
-
K as PresenceContext,
|
161
|
-
X as PresenceTrackerContextGetSnapshot,
|
162
|
-
Q as PresenceTrackerContextStore,
|
163
|
-
Y as PreviewCardContext,
|
164
|
-
$ as ReferenceInputOptionsContext,
|
165
|
-
nn as ReferenceItemRefContext,
|
166
|
-
tn as ReleasesMetadataContext,
|
167
|
-
on as ResourceCacheContext,
|
168
|
-
sn as ReviewChangesContext,
|
169
|
-
ln as RouterContext,
|
170
|
-
an as RouterHistoryContext,
|
171
|
-
cn as SanityCreateConfigContext,
|
172
|
-
xn as SchedulePublishUpsellContext,
|
173
|
-
rn as ScheduledPublishingEnabledContext,
|
174
|
-
un as SchedulesContext,
|
175
|
-
dn as ScrollContext,
|
176
|
-
gn as SearchContext,
|
177
|
-
Cn as SortableItemIdContext,
|
178
|
-
En as SourceContext,
|
179
|
-
mn as StructureToolContext,
|
180
|
-
yn as StudioAnnouncementContext,
|
181
|
-
en as TableContext,
|
182
|
-
pn as TasksContext,
|
183
|
-
_n as TasksEnabledContext,
|
184
|
-
fn as TasksNavigationContext,
|
185
|
-
hn as TasksUpsellContext,
|
186
|
-
bn as TreeEditingEnabledContext,
|
187
|
-
kn as UserColorManagerContext,
|
188
|
-
vn as ValidationContext,
|
189
|
-
Pn as VirtualizerScrollInstanceContext,
|
190
|
-
Sn as WorkspaceContext,
|
191
|
-
In as WorkspacesContext,
|
192
|
-
wn as ZIndexContext,
|
193
|
-
o as zIndexContextDefaults
|
194
|
-
};
|
195
|
-
//# sourceMappingURL=_singletons.mjs.map
|
package/dist/_singletons.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_singletons.mjs","sources":["../src/_singletons/context/ActiveWorkspaceMatcherContext.ts","../src/_singletons/context/AddonDatasetContext.ts","../src/_singletons/context/CalendarContext.ts","../src/_singletons/context/ChangeIndicatorTrackerContexts.ts","../src/_singletons/context/ColorSchemeSetValueContext.ts","../src/_singletons/context/ColorSchemeValueContext.ts","../src/_singletons/context/CommentInputContext.ts","../src/_singletons/context/CommentsAuthoringPathContext.ts","../src/_singletons/context/CommentsContext.ts","../src/_singletons/context/CommentsEnabledContext.ts","../src/_singletons/context/CommentsIntentContext.ts","../src/_singletons/context/CommentsOnboardingContext.ts","../src/_singletons/context/CommentsSelectedPathContext.ts","../src/_singletons/context/CommentsUpsellContext.ts","../src/_singletons/context/ConnectorContext.ts","../src/_singletons/context/CopyPasteContext.ts","../src/_singletons/context/DiffContext.ts","../src/_singletons/context/DocumentActionPropsContext.ts","../src/_singletons/context/DocumentChangeContext.ts","../src/_singletons/context/DocumentFieldActionsContext.ts","../src/_singletons/context/DocumentIdContext.ts","../src/_singletons/context/DocumentPaneContext.ts","../src/_singletons/context/DocumentSheetListContext.ts","../src/_singletons/context/EventsContext.ts","../src/_singletons/context/FieldActionsContext.ts","../src/_singletons/context/FormBuilderContext.ts","../src/_singletons/context/FormCallbacksContext.ts","../src/_singletons/context/FormFieldPresenceContext.ts","../src/_singletons/context/FormValueContext.ts","../src/_singletons/context/FreeTrialContext.ts","../src/_singletons/context/GetFormValueContext.ts","../src/_singletons/context/HoveredFieldContext.ts","../src/_singletons/context/IsLastPaneContext.ts","../src/_singletons/context/LocaleContext.ts","../src/_singletons/context/MentionUserContext.ts","../src/_singletons/context/NavbarContext.ts","../src/_singletons/context/PaneContext.ts","../src/_singletons/context/PaneLayoutContext.ts","../src/_singletons/context/PaneRouterContext.tsx","../src/_singletons/context/PortableTextMarkersContext.ts","../src/_singletons/context/PortableTextMemberItemElementRefsContext.ts","../src/_singletons/context/PortableTextMemberItemsContext.ts","../src/_singletons/context/PresenceContext.ts","../src/_singletons/context/PresenceTrackerContexts.ts","../src/_singletons/context/PreviewCardContext.ts","../src/_singletons/context/ReferenceInputOptionsContext.ts","../src/_singletons/context/ReferenceItemRefContext.ts","../src/_singletons/context/ReleasesMetadataContext.ts","../src/_singletons/context/ReleasesTableContext.ts","../src/_singletons/context/ResourceCacheContext.ts","../src/_singletons/context/ReviewChangesContext.ts","../src/_singletons/context/RouterContext.ts","../src/_singletons/context/RouterHistoryContext.ts","../src/_singletons/context/SanityCreateConfigContext.tsx","../src/_singletons/context/ScheduledPublishingEnabledContext.ts","../src/_singletons/context/SchedulePublishingUpsellContext.ts","../src/_singletons/context/Schedules.ts","../src/_singletons/context/ScrollContext.ts","../src/_singletons/context/SearchContext.ts","../src/_singletons/context/SortableItemIdContext.ts","../src/_singletons/context/StructureToolContext.ts","../src/_singletons/context/StudioAnnouncementsContext.ts","../src/_singletons/context/TasksContext.ts","../src/_singletons/context/TasksEnabledContext.ts","../src/_singletons/context/TasksNavigationContext.ts","../src/_singletons/context/TasksUpsellContext.ts","../src/_singletons/context/TreeEditingEnabledContext.ts","../src/_singletons/context/UserColorManagerContext.ts","../src/_singletons/context/ValidationContext.ts","../src/_singletons/context/VirtualizerScrollInstanceContext.ts","../src/_singletons/context/WorkspaceContext.ts","../src/_singletons/context/WorkspacesContext.ts","../src/_singletons/context/ZIndexContext.ts"],"sourcesContent":["import {createContext} from 'sanity/_createContext'\n\nimport type {ActiveWorkspaceMatcherContextValue} from '../../core/studio/activeWorkspaceMatcher/ActiveWorkspaceMatcherContext'\n\n/** @internal */\nexport const ActiveWorkspaceMatcherContext =\n createContext<ActiveWorkspaceMatcherContextValue | null>(\n 'sanity/_singletons/context/active-workspace-matcher',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {AddonDatasetContextValue} from '../../core/studio/addonDataset/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const AddonDatasetContext = createContext<AddonDatasetContextValue | null>(\n 'sanity/_singletons/context/addon-dataset',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CalendarContextValue} from '../../core/studio/components/navbar/search/components/filters/filter/inputs/date/datePicker/calendar/contexts/CalendarContext'\n\n/**\n * @internal\n */\nexport const CalendarContext = createContext<CalendarContextValue | undefined>(\n 'sanity/_singletons/context/calendar',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {\n ChangeIndicatorTrackerContextStoreType,\n ChangeIndicatorTrackerGetSnapshotType,\n} from '../../core/changeIndicators/ChangeIndicatorTrackerContexts'\n\n/** @internal */\nexport const ChangeIndicatorTrackerContextStore =\n createContext<ChangeIndicatorTrackerContextStoreType>(\n 'sanity/_singletons/context/change-indicator-tracker-store',\n null,\n )\n\n/** @internal */\nexport const ChangeIndicatorTrackerContextGetSnapshot =\n createContext<ChangeIndicatorTrackerGetSnapshotType>(\n 'sanity/_singletons/context/change-indicator-tracker-get-snapshot',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StudioThemeColorSchemeKey} from '../../core/theme/types'\n\n/**\n * The setter for ColorSchemeValueContext, in a separate context to avoid unnecessary re-renders\n * If set to false then the UI should adjust to reflect that the Studio can't change the color scheme\n * @internal\n */\nexport const ColorSchemeSetValueContext = createContext<\n ((nextScheme: StudioThemeColorSchemeKey) => void) | false | null\n>('sanity/_singletons/context/color-scheme-set-value', null)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StudioThemeColorSchemeKey} from '../../core/theme/types'\n\n/**\n * Used to keep track of the internal value, which can be \"system\" in addition to \"light\" and \"dark\"\n * @internal\n */\nexport const ColorSchemeValueContext = createContext<StudioThemeColorSchemeKey | null>(\n 'sanity/_singletons/context/color-scheme-value',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentInputContextValue} from '../../core/comments/components/pte/comment-input/CommentInputProvider'\n\n/**\n * @internal\n */\nexport const CommentInputContext = createContext<CommentInputContextValue | null>(\n 'sanity/_singletons/context/comment-input',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsAuthoringPathContextValue} from '../../core/comments/context/authoring-path/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const CommentsAuthoringPathContext = createContext<CommentsAuthoringPathContextValue | null>(\n 'sanity/_singletons/context/comments-authoring-path',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsContextValue} from '../../core/comments/context/comments/types'\n\n/**\n * @internal\n */\nexport const CommentsContext = createContext<CommentsContextValue | null>(\n 'sanity/_singletons/context/comments',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsEnabledContextValue} from '../../core/comments/context/enabled/types'\n\n// NOTE: We initialize this context with a default value (`enabled: false`)\n// rather than `null` to handle cases where the comments feature's availability\n// isn't explicitly provided by a surrounding provider component. Typically,\n// comments functionality is included by default in all new studio\n// configurations. Therefore, in the absence of a specific provider\n// (CommentsEnabledProvider), we assume that the feature is disabled.\n/**\n * @internal\n */\nexport const CommentsEnabledContext = createContext<CommentsEnabledContextValue>(\n 'sanity/_singletons/context/comments-enabled',\n {\n enabled: false,\n mode: null,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsIntentContextValue} from '../../core/comments/context/intent/types'\n\n/**\n * @internal\n */\nexport const CommentsIntentContext = createContext<CommentsIntentContextValue | undefined>(\n 'sanity/_singletons/context/comments-intent',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsOnboardingContextValue} from '../../core/comments/context/onboarding/types'\n\n/**\n * @internal\n */\nexport const CommentsOnboardingContext = createContext<CommentsOnboardingContextValue | null>(\n 'sanity/_singletons/context/comments-onboarding',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsSelectedPathContextValue} from '../../core/comments/context/selected-path/types'\n\n/**\n * @internal\n */\nexport const CommentsSelectedPathContext = createContext<CommentsSelectedPathContextValue | null>(\n 'sanity/_singletons/context/comments-selected-path',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsUpsellContextValue} from '../../core/comments/context/upsell/types'\n\n/**\n * @internal\n */\nexport const CommentsUpsellContext = createContext<CommentsUpsellContextValue | null>(\n 'sanity/_singletons/context/comments-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ConnectorContextValue} from '../../core/changeIndicators/ConnectorContext'\n\n/** @internal */\nexport const ConnectorContext = createContext<ConnectorContextValue>(\n 'sanity/_singletons/context/connector',\n {\n isReviewChangesOpen: false,\n onOpenReviewChanges: () => undefined,\n onSetFocus: () => undefined,\n } as ConnectorContextValue,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CopyPasteContextType} from '../../core/studio/copyPaste'\n\n/**\n * @beta\n * @hidden\n */\nexport const CopyPasteContext = createContext<CopyPasteContextType | null>(\n 'sanity/_singletons/context/copy-paste',\n null,\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/** @internal */\nexport const DiffContext = createContext<{\n path: Path\n}>('sanity/_singletons/context/diff', {\n path: [],\n})\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentActionProps} from '../../core/config/document/actions'\n\n/**\n * @internal\n */\nexport const DocumentActionPropsContext = createContext<DocumentActionProps | undefined>(\n 'sanity/_singletons/context/document-action-props',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentChangeContextInstance} from '../../core/field/diff/contexts/DocumentChangeContext'\n\n/** @internal */\nexport const DocumentChangeContext = createContext<DocumentChangeContextInstance | null>(\n 'sanity/_singletons/context/document-change',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentFieldAction} from '../../core/config/document/fieldActions/types'\n\n/**\n * @internal\n */\nexport interface DocumentFieldActionsContextValue {\n actions: DocumentFieldAction[]\n}\n\n/**\n * @internal\n */\nexport const DocumentFieldActionsContext = createContext<DocumentFieldActionsContextValue | null>(\n 'sanity/_singletons/context/document-field-actions',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport interface DocumentIdContextValue {\n id: string\n}\n\n/**\n * @internal\n */\nexport const DocumentIdContext = createContext<DocumentIdContextValue | null>(\n 'sanity/_singletons/context/document-id',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentPaneContextValue} from '../../structure/panes/document/DocumentPaneContext'\n\n/** @internal */\nexport const DocumentPaneContext = createContext<DocumentPaneContextValue | null>(\n 'sanity/_singletons/context/document-pane',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentSheetListContextValue} from '../../structure/panes/documentList/sheetList/DocumentSheetListProvider'\n\n/** @internal */\nexport const DocumentSheetListContext = createContext<DocumentSheetListContextValue | undefined>(\n 'sanity/_singletons/context/document-sheet-list',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {EventsStore} from '../../core/store/events/types'\n\n/**\n * @internal\n */\nexport const EventsContext = createContext<EventsStore | null>(\n 'sanity/_singletons/context/events',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentFieldActionNode} from '../../core/config/document/fieldActions/types'\n\n/** @internal */\nexport interface FieldActionsContextValue {\n actions: DocumentFieldActionNode[]\n focused?: boolean\n hovered: boolean\n onMouseEnter: () => void\n onMouseLeave: () => void\n}\n\n/** @internal */\nexport const FieldActionsContext = createContext<FieldActionsContextValue>(\n 'sanity/_singletons/context/field-actions',\n {\n actions: [],\n focused: false,\n hovered: false,\n onMouseEnter: () => undefined,\n onMouseLeave: () => undefined,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormBuilderContextValue} from '../../core/form/FormBuilderContext'\n\n/**\n * @internal\n */\nexport const FormBuilderContext = createContext<FormBuilderContextValue | null>(\n 'sanity/_singletons/context/form-builder',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormCallbacksValue} from '../../core/form/studio/contexts/FormCallbacks'\n\n/**\n * @internal\n */\nexport const FormCallbacksContext = createContext<FormCallbacksValue | null>(\n 'sanity/_singletons/context/form-callbacks',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormNodePresence} from '../../core/presence/types'\n\n/** @internal */\nexport const FormFieldPresenceContext = createContext<FormNodePresence[]>(\n 'sanity/_singletons/context/form-field-presence',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormValueContextValue} from '../../core/form/contexts/FormValue'\n\n/**\n * @internal\n */\nexport const FormValueContext = createContext<FormValueContextValue | null>(\n 'sanity/_singletons/context/form-value',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FreeTrialContextProps} from '../../core/studio/components/navbar/free-trial/FreeTrialContext'\n\n/**\n * @internal\n */\nexport const FreeTrialContext = createContext<FreeTrialContextProps | undefined>(\n 'sanity/_singletons/context/free-trial',\n undefined,\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n * @hidden\n */\nexport type GetFormValueContextValue = (path: Path) => unknown\n\n/**\n * @internal\n */\nexport const GetFormValueContext = createContext<GetFormValueContextValue | null>(\n 'sanity/_singletons/context/get-form-value',\n null,\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/** @internal */\nexport interface HoveredFieldContextValue {\n store: {\n subscribe: (onStoreCallback: () => void) => () => void\n getSnapshot: () => string[]\n }\n onMouseEnter: (path: Path) => void\n onMouseLeave: (path: Path) => void\n}\n\n/** @internal */\nexport const HoveredFieldContext = createContext<HoveredFieldContextValue>(\n 'sanity/_singletons/context/hovered-field',\n {\n store: {\n subscribe: () => () => undefined,\n getSnapshot: () => [],\n },\n onMouseEnter: () => undefined,\n onMouseLeave: () => undefined,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * TODO: remove this context when alternate document-specific context are\n * introduced.\n *\n * The following context is used in the structure tool to set the active\n * document if it's the last pane open in the structure tool. This is a\n * temporary context provider that was introduced when the comments and tasks\n * plugins were refactor and decoupled from the structure tool. ideally this\n * should be removed and replaced with a document-specific context that gives\n * plugin authors access to what the `usePane`, `usePaneRouter`, and\n * `useDocumentPane` provides without exposing specifics from the structure tool\n */\n/**\n * @internal\n */\nexport const IsLastPaneContext = createContext<boolean>(\n 'sanity/_singletons/context/is-last-pane',\n false,\n)\n","import type {i18n} from 'i18next'\nimport {createContext} from 'sanity/_createContext'\n\nimport type {Locale} from '../../core/i18n/types'\n\n/**\n * @internal\n * @hidden\n */\nexport interface LocaleContextValue {\n locales: Locale[]\n currentLocale: Locale\n __internal: {\n i18next: i18n\n }\n changeLocale: (newLocale: string) => Promise<void>\n}\n\n/**\n * @internal\n * @hidden\n */\nexport const LocaleContext = createContext<LocaleContextValue | undefined>(\n 'sanity/_singletons/context/locale',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {MentionUserContextValue} from '../../core/tasks/context/mentionUser/types'\n\n/**\n * @internal\n */\nexport const MentionUserContext = createContext<MentionUserContextValue | null>(\n 'sanity/_singletons/context/mention-user',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {NavbarContextValue} from '../../core/studio/StudioLayout'\n\n/** @internal */\nexport const NavbarContext = createContext<NavbarContextValue>(\n 'sanity/_singletons/context/navbar',\n {\n onSearchFullscreenOpenChange: () => '',\n onSearchOpenChange: () => '',\n searchFullscreenOpen: false,\n searchFullscreenPortalEl: null,\n searchOpen: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PaneContextValue} from '../../structure/components/pane/types'\n\n/**\n * @internal\n */\nexport const PaneContext = createContext<PaneContextValue | null>(\n 'sanity/_singletons/context/pane',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PaneLayoutContextValue} from '../../structure/components/pane/types'\n\n/**\n * @internal\n */\nexport const PaneLayoutContext = createContext<PaneLayoutContextValue | null>(\n 'sanity/_singletons/context/pane-layout',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PaneRouterContextValue} from '../../structure/components/paneRouter/types'\n\nfunction missingContext<T = unknown>(): T {\n throw new Error('Pane is missing router context')\n}\n\n/**\n *\n * @hidden\n * @beta\n */\nexport const PaneRouterContext = createContext<PaneRouterContextValue>(\n 'sanity/_singletons/context/pane-router',\n {\n index: 0,\n groupIndex: 0,\n siblingIndex: 0,\n payload: undefined,\n params: {},\n hasGroupSiblings: false,\n groupLength: 0,\n routerPanesState: [],\n BackLink: () => missingContext(),\n ChildLink: () => missingContext(),\n ReferenceChildLink: () => missingContext(),\n handleEditReference: () => missingContext(),\n ParameterizedLink: () => missingContext(),\n replaceCurrent: () => missingContext(),\n closeCurrentAndAfter: () => missingContext(),\n closeCurrent: () => missingContext(),\n duplicateCurrent: () => missingContext(),\n setView: () => missingContext(),\n setParams: () => missingContext(),\n setPayload: () => missingContext(),\n navigateIntent: () => missingContext(),\n createPathWithParams: () => missingContext(),\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PortableTextMarker} from '../../core/form/types/_transitional'\n\n/**\n * @internal\n */\nexport const PortableTextMarkersContext = createContext<PortableTextMarker[]>(\n 'sanity/_singletons/context/portable-text-markers',\n [],\n)\n","import {BehaviorSubject} from 'rxjs'\nimport {createContext} from 'sanity/_createContext'\n\n/** @internal */\nexport type PortableTextEditorElement = HTMLDivElement | HTMLSpanElement\n\n/**\n * @internal\n */\nexport const PortableTextMemberItemElementRefsContext = createContext<\n BehaviorSubject<Record<string, PortableTextEditorElement | null | undefined>>\n>('sanity/_singletons/context/portable-text-member-item-element-refs', new BehaviorSubject({}))\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PortableTextMemberItem} from '../../core/form/inputs/PortableText/PortableTextInput'\n\n/**\n * @internal\n */\nexport const PortableTextMemberItemsContext = createContext<PortableTextMemberItem[]>(\n 'sanity/_singletons/context/portable-text-member-items',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormNodePresence} from '../../core/presence/types'\n\n/**\n * @internal\n */\nexport const PresenceContext = createContext<FormNodePresence[]>(\n 'sanity/_singletons/context/presence',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {\n PresenceTrackerContextStoreType,\n PresenceTrackerGetSnapshotType,\n} from '../../core/presence/overlay/PresenceTrackerContexts'\n\n/** @internal */\nexport const PresenceTrackerContextStore = createContext<PresenceTrackerContextStoreType>(\n 'sanity/_singletons/context/presence-tracker-store',\n null,\n)\n\n/** @internal */\nexport const PresenceTrackerContextGetSnapshot = createContext<PresenceTrackerGetSnapshotType>(\n 'sanity/_singletons/context/presence-tracker-get-snapshot',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PreviewCardContextValue} from '../../core/components/previewCard/PreviewCard'\n\n/**\n * @internal\n */\nexport const PreviewCardContext = createContext<PreviewCardContextValue>(\n 'sanity/_singletons/context/preview-card',\n {\n selected: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ReferenceInputOptions} from '../../core/form/studio/contexts/ReferenceInputOptions'\n\n/**\n * @internal\n */\nexport const ReferenceInputOptionsContext = createContext<ReferenceInputOptions>(\n 'sanity/_singletons/context/reference-input-options',\n {},\n)\n","/* eslint-disable import/no-duplicates */\nimport type {MutableRefObject} from 'react'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport interface ReferenceItemRef {\n menuRef: MutableRefObject<HTMLDivElement | null>\n menuButtonRef: MutableRefObject<HTMLButtonElement | null>\n containerRef: MutableRefObject<HTMLDivElement | null>\n}\n\n/**\n * This is a way to store ref of the menu as well as the container of the ReferenceItem\n * so it can be used down the tree for clickOutside handling\n * @internal\n */\nexport const ReferenceItemRefContext = createContext<ReferenceItemRef | null>(\n 'sanity/_singletons/context/reference-item-ref',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ReleasesMetadataContextValue} from '../../core/releases/contexts/ReleasesMetadataProvider'\n\n/**\n * @internal\n * @hidden\n */\nexport const ReleasesMetadataContext = createContext<ReleasesMetadataContextValue | null>(\n 'sanity/_singletons/context/releases-metadata',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TableContextValue} from '../../core/releases/tool/components/Table/TableProvider'\n\n/**\n * @internal\n */\nexport const TableContext = createContext<TableContextValue | null>(\n 'sanity/_singletons/context/releases-table',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ResourceCache} from '../../core/store/_legacy/ResourceCacheProvider'\n\n/**\n * @internal\n */\nexport const ResourceCacheContext = createContext<ResourceCache | null>(\n 'sanity/_singletons/context/resource-cache',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ReviewChangesContextValue} from '../../core/form/studio/contexts/reviewChanges/types'\n\n/**\n * @internal\n */\nexport const ReviewChangesContext = createContext<ReviewChangesContextValue | null>(\n 'sanity/_singletons/context/review-changes',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {RouterContextValue} from '../../router/types'\n\n/**\n * @internal\n */\nexport const RouterContext = createContext<RouterContextValue | null>(\n 'sanity/_singletons/context/router',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {RouterHistory} from '../../core/studio/router'\n\n/**\n * Internal use only. Userland should leverage the public `useRouter` APIs.\n * @internal\n */\nexport const RouterHistoryContext = createContext<RouterHistory | null>(\n 'sanity/_singletons/context/router-history',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {SanityCreateConfigContextValue} from '../../core'\n\n/**\n * @internal\n */\nexport const SanityCreateConfigContext = createContext<SanityCreateConfigContextValue>(\n 'sanity/_singletons/context/start-in-create-enabled',\n {\n startInCreateEnabled: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ScheduledPublishingEnabledContextValue} from '../../core/scheduledPublishing/tool/contexts/ScheduledPublishingEnabledProvider'\n\n/**\n * @internal\n */\nexport const ScheduledPublishingEnabledContext =\n createContext<ScheduledPublishingEnabledContextValue | null>(\n 'sanity/_singletons/context/scheduled-publishing-enabled',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {SchedulePublishUpsellContextValue} from '../../core/scheduledPublishing/tool/contexts/SchedulePublishingUpsellProvider'\n\n/**\n * @internal\n */\nexport const SchedulePublishUpsellContext = createContext<SchedulePublishUpsellContextValue>(\n 'sanity/_singletons/context/schedule-publish-upsell',\n {\n upsellData: null,\n handleOpenDialog: () => null,\n upsellDialogOpen: false,\n telemetryLogs: {\n dialogSecondaryClicked: () => null,\n dialogPrimaryClicked: () => null,\n panelViewed: () => null,\n panelDismissed: () => null,\n panelPrimaryClicked: () => null,\n panelSecondaryClicked: () => null,\n },\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {SchedulesContextValue} from '../../core/scheduledPublishing/tool/contexts/schedules'\n\n/**\n * @internal\n */\nexport const SchedulesContext = createContext<SchedulesContextValue | undefined>(\n 'sanity/_singletons/context/schedules',\n undefined,\n)\n","import type {PubSub} from 'nano-pubsub'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport const ScrollContext = createContext<null | PubSub<Event>>(\n 'sanity/_singletons/context/scroll',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {SearchContextValue} from '../../core/studio/components/navbar/search/contexts/search/SearchContext'\n\n/**\n * @internal\n */\nexport const SearchContext = createContext<SearchContextValue | undefined>(\n 'sanity/_singletons/context/search',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport const SortableItemIdContext = createContext<string | null>(\n 'sanity/_singletons/context/sortable-item-id',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StructureToolContextValue} from '../../structure/types'\n\n/**\n * @internal\n */\nexport const StructureToolContext = createContext<StructureToolContextValue | null>(\n 'sanity/_singletons/context/structure-tool',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StudioAnnouncementsContextValue} from '../../core/studio/studioAnnouncements/types'\n\n/**\n * @internal\n */\nexport const StudioAnnouncementContext = createContext<StudioAnnouncementsContextValue | undefined>(\n 'sanity/_singletons/context/studioAnnouncements',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksContextValue} from '../../core/tasks/context/tasks/types'\n\n/**\n * @internal\n */\nexport const TasksContext = createContext<TasksContextValue | null>(\n 'sanity/_singletons/context/tasks',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksEnabledContextValue} from '../../core/tasks/context/enabled/types'\n\n// NOTE: We initialize this context with a default value (`enabled: false`)\n// rather than `null` to handle cases where the tasks feature's availability\n// isn't explicitly provided by a surrounding provider component. Typically,\n// Tasks are included by default in all new Studio configurations. Therefore,\n// in the absence of a specific provider (TasksEnabledProvider), we assume that\n// the feature is disabled.\n/**\n * @internal\n */\nexport const TasksEnabledContext = createContext<TasksEnabledContextValue>(\n 'sanity/_singletons/context/tasks-enabled',\n {\n enabled: false,\n mode: null,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksNavigationContextValue} from '../../core/tasks/context/navigation/types'\n\n/**\n * @internal\n */\nexport const TasksNavigationContext = createContext<TasksNavigationContextValue | null>(\n 'sanity/_singletons/context/tasks-navigation',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksUpsellContextValue} from '../../core/tasks/context/upsell/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const TasksUpsellContext = createContext<TasksUpsellContextValue | null>(\n 'sanity/_singletons/context/tasks-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TreeEditingEnabledContextValue} from '../../core/form/studio/tree-editing/context/enabled/useTreeEditingEnabled'\n\n/**\n * @internal\n */\nexport const TreeEditingEnabledContext = createContext<TreeEditingEnabledContextValue>(\n 'sanity/_singletons/context/tree-editing-enabled',\n {\n enabled: false,\n legacyEditing: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UserColorManager} from '../../core/user-color/types'\n\n/**\n * @internal\n */\nexport const UserColorManagerContext = createContext<UserColorManager | null>(\n 'sanity/_singletons/context/user-color-manager',\n null,\n)\n","import type {ValidationMarker} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport const ValidationContext = createContext<ValidationMarker[]>(\n 'sanity/_singletons/context/validation',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {VirtualizerScrollInstance} from '../../core/form/inputs/arrays/ArrayOfObjectsInput/List/useVirtualizerScrollInstance'\n\n/**\n * This is used to store the reference to the scroll element for virtualizer\n * @internal\n */\nexport const VirtualizerScrollInstanceContext = createContext<VirtualizerScrollInstance | null>(\n 'sanity/_singletons/context/virtualizer-scroll-instance',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {Workspace} from '../../core/config/types'\n\n/**\n * @internal\n */\nexport const WorkspaceContext = createContext<Workspace | null>(\n 'sanity/_singletons/context/workspace',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {WorkspacesContextValue} from '../../core/studio/workspaces/WorkspacesContext'\n\n/** @internal */\nexport const WorkspacesContext = createContext<WorkspacesContextValue | null>(\n 'sanity/_singletons/context/workspaces',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ZIndexContextValue} from '../../core/components/zOffsets/types'\n\n/**\n * @internal\n */\nexport const zIndexContextDefaults: ZIndexContextValue = {\n navbar: 200,\n navbarPopover: 500000,\n navbarDialog: 500001,\n // pane\n pane: 100,\n paneHeader: [110, 15000],\n paneFooter: [120, 20000],\n paneResizer: [130, 25000],\n paneDialog: [140, 5000],\n //\n popover: 200,\n modal: 200,\n movingItem: 10000,\n drawershade: 1000000,\n drawer: 1000001,\n fullscreen: 1200000,\n toast: [100, 11000],\n // NOT IN USE\n portal: 200,\n dropdown: 200,\n navbarFixed: 1010,\n fullscreenEdit: 1050,\n popoverBackground: 1060,\n tooltip: 200,\n modalBackground: 2000,\n spinner: 3000,\n}\n\n/**\n * TODO: Rename to `ZOffsetsContext`\n *\n * @internal\n */\nexport const ZIndexContext = createContext<ZIndexContextValue>(\n 'sanity/_singletons/context/z-index',\n zIndexContextDefaults,\n)\n"],"names":["ActiveWorkspaceMatcherContext","createContext","AddonDatasetContext","CalendarContext","undefined","ChangeIndicatorTrackerContextStore","ChangeIndicatorTrackerContextGetSnapshot","ColorSchemeSetValueContext","ColorSchemeValueContext","CommentInputContext","CommentsAuthoringPathContext","CommentsContext","CommentsEnabledContext","enabled","mode","CommentsIntentContext","CommentsOnboardingContext","CommentsSelectedPathContext","CommentsUpsellContext","ConnectorContext","isReviewChangesOpen","onOpenReviewChanges","onSetFocus","CopyPasteContext","DiffContext","path","DocumentActionPropsContext","DocumentChangeContext","DocumentFieldActionsContext","DocumentIdContext","DocumentPaneContext","DocumentSheetListContext","EventsContext","FieldActionsContext","actions","focused","hovered","onMouseEnter","onMouseLeave","FormBuilderContext","FormCallbacksContext","FormFieldPresenceContext","FormValueContext","FreeTrialContext","GetFormValueContext","HoveredFieldContext","store","subscribe","getSnapshot","IsLastPaneContext","LocaleContext","MentionUserContext","NavbarContext","onSearchFullscreenOpenChange","onSearchOpenChange","searchFullscreenOpen","searchFullscreenPortalEl","searchOpen","PaneContext","PaneLayoutContext","missingContext","Error","PaneRouterContext","index","groupIndex","siblingIndex","payload","params","hasGroupSiblings","groupLength","routerPanesState","BackLink","ChildLink","ReferenceChildLink","handleEditReference","ParameterizedLink","replaceCurrent","closeCurrentAndAfter","closeCurrent","duplicateCurrent","setView","setParams","setPayload","navigateIntent","createPathWithParams","PortableTextMarkersContext","PortableTextMemberItemElementRefsContext","BehaviorSubject","PortableTextMemberItemsContext","PresenceContext","PresenceTrackerContextStore","PresenceTrackerContextGetSnapshot","PreviewCardContext","selected","ReferenceInputOptionsContext","ReferenceItemRefContext","ReleasesMetadataContext","TableContext","ResourceCacheContext","ReviewChangesContext","RouterContext","RouterHistoryContext","SanityCreateConfigContext","startInCreateEnabled","ScheduledPublishingEnabledContext","SchedulePublishUpsellContext","upsellData","handleOpenDialog","upsellDialogOpen","telemetryLogs","dialogSecondaryClicked","dialogPrimaryClicked","panelViewed","panelDismissed","panelPrimaryClicked","panelSecondaryClicked","SchedulesContext","ScrollContext","SearchContext","SortableItemIdContext","StructureToolContext","StudioAnnouncementContext","TasksContext","TasksEnabledContext","TasksNavigationContext","TasksUpsellContext","TreeEditingEnabledContext","legacyEditing","UserColorManagerContext","ValidationContext","VirtualizerScrollInstanceContext","WorkspaceContext","WorkspacesContext","zIndexContextDefaults","navbar","navbarPopover","navbarDialog","pane","paneHeader","paneFooter","paneResizer","paneDialog","popover","modal","movingItem","drawershade","drawer","fullscreen","toast","portal","dropdown","navbarFixed","fullscreenEdit","popoverBackground","tooltip","modalBackground","spinner","ZIndexContext"],"mappings":";;;AAKaA,MAAAA,IACXC,EACE,uDACA,IACF,GCDWC,IAAsBD,EACjC,4CACA,IACF,GCJaE,IAAkBF,EAC7B,uCACAG,MACF,GCFaC,IACXJ,EACE,6DACA,IACF,GAGWK,IACXL,EACE,oEACA,IACF,GCVWM,IAA6BN,EAExC,qDAAqD,IAAI,GCH9CO,IAA0BP,EACrC,iDACA,IACF,GCJaQ,IAAsBR,EACjC,4CACA,IACF,GCFaS,IAA+BT,EAC1C,sDACA,IACF,GCJaU,IAAkBV,EAC7B,uCACA,IACF,GCGaW,IAAyBX,EACpC,+CACA;AAAA,EACEY,SAAS;AAAA,EACTC,MAAM;AACR,CACF,GCZaC,IAAwBd,EACnC,8CACAG,MACF,GCHaY,IAA4Bf,EACvC,kDACA,IACF,GCHagB,IAA8BhB,EACzC,qDACA,IACF,GCHaiB,IAAwBjB,EACnC,8CACA,IACF,GCLakB,IAAmBlB,EAC9B,wCACA;AAAA,EACEmB,qBAAqB;AAA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