@typespec/html-program-viewer 0.82.0-dev.3 → 0.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/emitter/index.js +39 -42
- package/dist/{manifest-B4npFrfu.js → manifest-ByghcWwF.js} +2 -2
- package/dist/react/index.js +102 -116
- package/package.json +16 -16
package/dist/emitter/index.js
CHANGED
|
@@ -608,7 +608,7 @@ function __styles(classesMapBySlot, cssRules, factory = insertionFactory) {
|
|
|
608
608
|
return computeClasses;
|
|
609
609
|
}
|
|
610
610
|
//#endregion
|
|
611
|
-
//#region ../../node_modules/.pnpm/@griffel+react@1.6.1_react@19.2.
|
|
611
|
+
//#region ../../node_modules/.pnpm/@griffel+react@1.6.1_react@19.2.5/node_modules/@griffel/react/RendererContext.esm.js
|
|
612
612
|
/**
|
|
613
613
|
* @private
|
|
614
614
|
*/
|
|
@@ -622,7 +622,7 @@ function useRenderer() {
|
|
|
622
622
|
return React.useContext(RendererContext);
|
|
623
623
|
}
|
|
624
624
|
//#endregion
|
|
625
|
-
//#region ../../node_modules/.pnpm/@griffel+react@1.6.1_react@19.2.
|
|
625
|
+
//#region ../../node_modules/.pnpm/@griffel+react@1.6.1_react@19.2.5/node_modules/@griffel/react/TextDirectionContext.esm.js
|
|
626
626
|
/**
|
|
627
627
|
* @private
|
|
628
628
|
*/
|
|
@@ -634,7 +634,7 @@ var TextDirectionProvider = ({ children, dir }) => {
|
|
|
634
634
|
return /* @__PURE__ */ React.createElement(TextDirectionContext.Provider, { value: dir }, children);
|
|
635
635
|
};
|
|
636
636
|
//#endregion
|
|
637
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
637
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._4942f6154b51c3194d4114596007c551/node_modules/@fluentui/react-provider/lib/components/FluentProvider/createCSSRuleFromTheme.js
|
|
638
638
|
var CSS_ESCAPE_MAP = {
|
|
639
639
|
"<": "\\3C ",
|
|
640
640
|
">": "\\3E "
|
|
@@ -658,7 +658,7 @@ var CSS_ESCAPE_MAP = {
|
|
|
658
658
|
return `${selector} {}`;
|
|
659
659
|
}
|
|
660
660
|
//#endregion
|
|
661
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
661
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/compose/constants.js
|
|
662
662
|
/**
|
|
663
663
|
* @internal
|
|
664
664
|
* Internal reference for the render function
|
|
@@ -672,7 +672,7 @@ var CSS_ESCAPE_MAP = {
|
|
|
672
672
|
* Internal cache of the original className prop for the slot, before being modified by the useStyles hook.
|
|
673
673
|
*/ var SLOT_CLASS_NAME_PROP_SYMBOL = Symbol.for("fui.slotClassNameProp");
|
|
674
674
|
//#endregion
|
|
675
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
675
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/compose/slot.js
|
|
676
676
|
/**
|
|
677
677
|
* Creates a slot from a slot shorthand or properties (`props.SLOT_NAME` or `props` itself)
|
|
678
678
|
* @param value - the value of the slot, it can be a slot shorthand, a slot component or a slot properties
|
|
@@ -714,7 +714,7 @@ Slot shorthands can be strings, numbers, arrays or JSX elements`);
|
|
|
714
714
|
}
|
|
715
715
|
var isIterable = (value) => typeof value === "object" && value !== null && Symbol.iterator in value;
|
|
716
716
|
//#endregion
|
|
717
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
717
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/compose/isSlot.js
|
|
718
718
|
/**
|
|
719
719
|
* Guard method to ensure a given element is a slot.
|
|
720
720
|
* This is mainly used internally to ensure a slot is being used as a component.
|
|
@@ -722,7 +722,7 @@ var isIterable = (value) => typeof value === "object" && value !== null && Symbo
|
|
|
722
722
|
return Boolean(element === null || element === void 0 ? void 0 : element.hasOwnProperty(SLOT_ELEMENT_TYPE_SYMBOL));
|
|
723
723
|
}
|
|
724
724
|
//#endregion
|
|
725
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
725
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/compose/assertSlots.js
|
|
726
726
|
/**
|
|
727
727
|
* @internal
|
|
728
728
|
* Assertion method to ensure state slots properties are properly declared.
|
|
@@ -769,7 +769,7 @@ Be sure to create slots properly by using "slot.always" or "slot.optional" with
|
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
771
|
//#endregion
|
|
772
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
772
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/utils/properties.js
|
|
773
773
|
var toObjectMap = (...items) => {
|
|
774
774
|
const result = {};
|
|
775
775
|
for (const item of items) {
|
|
@@ -1136,7 +1136,7 @@ var colProperties = toObjectMap(htmlElementProperties, ["span"]);
|
|
|
1136
1136
|
return result;
|
|
1137
1137
|
}
|
|
1138
1138
|
//#endregion
|
|
1139
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1139
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/utils/getNativeElementProps.js
|
|
1140
1140
|
var nativeElementMap = {
|
|
1141
1141
|
label: labelProperties,
|
|
1142
1142
|
audio: audioProperties,
|
|
@@ -1176,7 +1176,7 @@ var nativeElementMap = {
|
|
|
1176
1176
|
return getNativeProps(props, allowedPropNames, excludedPropNames);
|
|
1177
1177
|
}
|
|
1178
1178
|
//#endregion
|
|
1179
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1179
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/compose/getIntrinsicElementProps.js
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Given an element tagname and user props, filters the props to only allowed props for the given
|
|
1182
1182
|
* element type.
|
|
@@ -1191,7 +1191,7 @@ var nativeElementMap = {
|
|
|
1191
1191
|
return getNativeElementProps((_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : tagName, props, excludedPropNames);
|
|
1192
1192
|
};
|
|
1193
1193
|
//#endregion
|
|
1194
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-shared-
|
|
1194
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-shared-cont_8bda8370fa9c9696999ee0a23faa49e6/node_modules/@fluentui/react-shared-contexts/lib/ThemeContext/ThemeContext.js
|
|
1195
1195
|
/**
|
|
1196
1196
|
* @internal
|
|
1197
1197
|
*/ var ThemeContext = React.createContext(void 0);
|
|
@@ -1203,7 +1203,7 @@ var ThemeClassNameProvider = React.createContext(void 0).Provider;
|
|
|
1203
1203
|
* @internal
|
|
1204
1204
|
*/ var TooltipVisibilityProvider = React.createContext(void 0).Provider;
|
|
1205
1205
|
//#endregion
|
|
1206
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-shared-
|
|
1206
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-shared-cont_8bda8370fa9c9696999ee0a23faa49e6/node_modules/@fluentui/react-shared-contexts/lib/ProviderContext/ProviderContext.js
|
|
1207
1207
|
/**
|
|
1208
1208
|
* @internal
|
|
1209
1209
|
*/ var ProviderContext = React.createContext(void 0);
|
|
@@ -1219,7 +1219,7 @@ function useFluent() {
|
|
|
1219
1219
|
return (_React_useContext = React.useContext(ProviderContext)) !== null && _React_useContext !== void 0 ? _React_useContext : providerContextDefaultValue;
|
|
1220
1220
|
}
|
|
1221
1221
|
//#endregion
|
|
1222
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-shared-
|
|
1222
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-shared-cont_8bda8370fa9c9696999ee0a23faa49e6/node_modules/@fluentui/react-shared-contexts/lib/OverridesContext/OverridesContext.js
|
|
1223
1223
|
/**
|
|
1224
1224
|
* @internal
|
|
1225
1225
|
*/ var OverridesContext = React.createContext(void 0);
|
|
@@ -1231,7 +1231,7 @@ function useOverrides() {
|
|
|
1231
1231
|
return (_React_useContext = React.useContext(OverridesContext)) !== null && _React_useContext !== void 0 ? _React_useContext : {};
|
|
1232
1232
|
}
|
|
1233
1233
|
//#endregion
|
|
1234
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-shared-
|
|
1234
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-shared-cont_8bda8370fa9c9696999ee0a23faa49e6/node_modules/@fluentui/react-shared-contexts/lib/CustomStyleHooksContext/CustomStyleHooksContext.js
|
|
1235
1235
|
/**
|
|
1236
1236
|
* @internal
|
|
1237
1237
|
*/ var CustomStyleHooksContext = React.createContext(void 0);
|
|
@@ -1239,14 +1239,14 @@ function useOverrides() {
|
|
|
1239
1239
|
* @internal
|
|
1240
1240
|
*/ var CustomStyleHooksProvider = CustomStyleHooksContext.Provider;
|
|
1241
1241
|
//#endregion
|
|
1242
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1242
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/ssr/canUseDOM.js
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Verifies if an application can use DOM.
|
|
1245
1245
|
*/ function canUseDOM() {
|
|
1246
1246
|
return typeof window !== "undefined" && !!(window.document && window.document.createElement);
|
|
1247
1247
|
}
|
|
1248
1248
|
//#endregion
|
|
1249
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1249
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/ssr/SSRContext.js
|
|
1250
1250
|
/**
|
|
1251
1251
|
* Default context value to use in case there is no SSRProvider. This is fine for client-only apps.
|
|
1252
1252
|
*
|
|
@@ -1260,7 +1260,7 @@ var SSRContext = /* @__PURE__ */ React.createContext(void 0);
|
|
|
1260
1260
|
return (_React_useContext = React.useContext(SSRContext)) !== null && _React_useContext !== void 0 ? _React_useContext : defaultSSRContextValue;
|
|
1261
1261
|
}
|
|
1262
1262
|
//#endregion
|
|
1263
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1263
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/hooks/useIsomorphicLayoutEffect.js
|
|
1264
1264
|
/**
|
|
1265
1265
|
* React currently throws a warning when using useLayoutEffect on the server. To get around it, we can conditionally
|
|
1266
1266
|
* useEffect on the server (no-op) and useLayoutEffect in the browser. We occasionally need useLayoutEffect to
|
|
@@ -1271,7 +1271,7 @@ var SSRContext = /* @__PURE__ */ React.createContext(void 0);
|
|
|
1271
1271
|
* https://github.com/reduxjs/react-redux/blob/master/src/utils/useIsomorphicLayoutEffect.js
|
|
1272
1272
|
*/ var useIsomorphicLayoutEffect = canUseDOM() ? React.useLayoutEffect : React.useEffect;
|
|
1273
1273
|
//#endregion
|
|
1274
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1274
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/hooks/useId.js
|
|
1275
1275
|
var IdPrefixContext = React.createContext(void 0);
|
|
1276
1276
|
IdPrefixContext.Provider;
|
|
1277
1277
|
function useIdPrefix() {
|
|
@@ -1305,7 +1305,7 @@ function useIdPrefix() {
|
|
|
1305
1305
|
]);
|
|
1306
1306
|
}
|
|
1307
1307
|
//#endregion
|
|
1308
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1308
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/hooks/useMergedRefs.js
|
|
1309
1309
|
/**
|
|
1310
1310
|
* React hook to merge multiple React refs (either MutableRefObjects or ref callbacks) into a single ref callback that
|
|
1311
1311
|
* updates all provided refs
|
|
@@ -1328,7 +1328,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
1328
1328
|
return mergedCallback;
|
|
1329
1329
|
}
|
|
1330
1330
|
//#endregion
|
|
1331
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@
|
|
1331
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-utilities@9_a4269a14c6e5e3251a31d6808775b455/node_modules/@fluentui/react-utilities/lib/utils/isHTMLElement.js
|
|
1332
1332
|
/**
|
|
1333
1333
|
* Verifies if a given node is an HTMLElement,
|
|
1334
1334
|
* this method works seamlessly with frames and elements from different documents
|
|
@@ -1349,7 +1349,7 @@ For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upg
|
|
|
1349
1349
|
return Boolean((typedElement === null || typedElement === void 0 ? void 0 : (_typedElement_ownerDocument = typedElement.ownerDocument) === null || _typedElement_ownerDocument === void 0 ? void 0 : _typedElement_ownerDocument.defaultView) && typedElement instanceof typedElement.ownerDocument.defaultView[(_options_constructorName = options === null || options === void 0 ? void 0 : options.constructorName) !== null && _options_constructorName !== void 0 ? _options_constructorName : "HTMLElement"]);
|
|
1350
1350
|
}
|
|
1351
1351
|
//#endregion
|
|
1352
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1352
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_b0b40ca7e87c7cae82b6e54fdc7eecf8/node_modules/@fluentui/react-jsx-runtime/lib/utils/createCompatSlotComponent.js
|
|
1353
1353
|
function createCompatSlotComponent(type, props) {
|
|
1354
1354
|
return {
|
|
1355
1355
|
...props,
|
|
@@ -1357,7 +1357,7 @@ function createCompatSlotComponent(type, props) {
|
|
|
1357
1357
|
};
|
|
1358
1358
|
}
|
|
1359
1359
|
//#endregion
|
|
1360
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1360
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_b0b40ca7e87c7cae82b6e54fdc7eecf8/node_modules/@fluentui/react-jsx-runtime/lib/utils/warnIfElementTypeIsInvalid.js
|
|
1361
1361
|
function warnIfElementTypeIsInvalid(type) {
|
|
1362
1362
|
if (process.env.NODE_ENV === "development" && typeof type === "object" && type !== null && type["$$typeof"] === void 0) console.error(`@fluentui/react-jsx-runtime:
|
|
1363
1363
|
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${type}.
|
|
@@ -1367,7 +1367,7 @@ Please make sure you don't have multiple versions of "@fluentui/react-utilities"
|
|
|
1367
1367
|
You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`);
|
|
1368
1368
|
}
|
|
1369
1369
|
//#endregion
|
|
1370
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1370
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_b0b40ca7e87c7cae82b6e54fdc7eecf8/node_modules/@fluentui/react-jsx-runtime/lib/jsx/createJSX.js
|
|
1371
1371
|
function createJSX(runtime, slotRuntime) {
|
|
1372
1372
|
return function jsx(type, overrideProps, key, source, self) {
|
|
1373
1373
|
if (isSlot(overrideProps)) return slotRuntime(createCompatSlotComponent(type, overrideProps), null, key, source, self);
|
|
@@ -1377,7 +1377,7 @@ function createJSX(runtime, slotRuntime) {
|
|
|
1377
1377
|
};
|
|
1378
1378
|
}
|
|
1379
1379
|
//#endregion
|
|
1380
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1380
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_b0b40ca7e87c7cae82b6e54fdc7eecf8/node_modules/@fluentui/react-jsx-runtime/lib/utils/getMetadataFromSlotComponent.js
|
|
1381
1381
|
/**
|
|
1382
1382
|
* @internal
|
|
1383
1383
|
*/ function getMetadataFromSlotComponent(type) {
|
|
@@ -1392,7 +1392,7 @@ function createJSX(runtime, slotRuntime) {
|
|
|
1392
1392
|
};
|
|
1393
1393
|
}
|
|
1394
1394
|
//#endregion
|
|
1395
|
-
//#region ../../node_modules/.pnpm/react@19.2.
|
|
1395
|
+
//#region ../../node_modules/.pnpm/react@19.2.5/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
1396
1396
|
/**
|
|
1397
1397
|
* @license React
|
|
1398
1398
|
* react-jsx-runtime.production.js
|
|
@@ -1426,7 +1426,7 @@ var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
1426
1426
|
exports.jsxs = jsxProd;
|
|
1427
1427
|
}));
|
|
1428
1428
|
//#endregion
|
|
1429
|
-
//#region ../../node_modules/.pnpm/react@19.2.
|
|
1429
|
+
//#region ../../node_modules/.pnpm/react@19.2.5/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
1430
1430
|
/**
|
|
1431
1431
|
* @license React
|
|
1432
1432
|
* react-jsx-runtime.development.js
|
|
@@ -1625,14 +1625,14 @@ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((expo
|
|
|
1625
1625
|
})();
|
|
1626
1626
|
}));
|
|
1627
1627
|
//#endregion
|
|
1628
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1628
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_b0b40ca7e87c7cae82b6e54fdc7eecf8/node_modules/@fluentui/react-jsx-runtime/lib/utils/Runtime.js
|
|
1629
1629
|
var import_jsx_runtime = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1630
1630
|
if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
|
|
1631
1631
|
else module.exports = require_react_jsx_runtime_development();
|
|
1632
1632
|
})))());
|
|
1633
1633
|
var Runtime = import_jsx_runtime;
|
|
1634
1634
|
//#endregion
|
|
1635
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1635
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_b0b40ca7e87c7cae82b6e54fdc7eecf8/node_modules/@fluentui/react-jsx-runtime/lib/jsx/jsxSlot.js
|
|
1636
1636
|
var jsxSlot = (type, overrideProps, key) => {
|
|
1637
1637
|
const { elementType, renderFunction, props: slotProps } = getMetadataFromSlotComponent(type);
|
|
1638
1638
|
const props = {
|
|
@@ -1643,7 +1643,7 @@ var jsxSlot = (type, overrideProps, key) => {
|
|
|
1643
1643
|
return Runtime.jsx(elementType, props, key);
|
|
1644
1644
|
};
|
|
1645
1645
|
//#endregion
|
|
1646
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1646
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_b0b40ca7e87c7cae82b6e54fdc7eecf8/node_modules/@fluentui/react-jsx-runtime/lib/jsx/jsxsSlot.js
|
|
1647
1647
|
var jsxsSlot = (type, overrideProps, key) => {
|
|
1648
1648
|
const { elementType, renderFunction, props: slotProps } = getMetadataFromSlotComponent(type);
|
|
1649
1649
|
const props = {
|
|
@@ -1662,12 +1662,12 @@ var jsxsSlot = (type, overrideProps, key) => {
|
|
|
1662
1662
|
return Runtime.jsxs(elementType, props, key);
|
|
1663
1663
|
};
|
|
1664
1664
|
//#endregion
|
|
1665
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-
|
|
1665
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-jsx-runtime_b0b40ca7e87c7cae82b6e54fdc7eecf8/node_modules/@fluentui/react-jsx-runtime/lib/jsx-runtime.js
|
|
1666
1666
|
var jsx = createJSX(Runtime.jsx, jsxSlot);
|
|
1667
1667
|
var jsxs = createJSX(Runtime.jsxs, jsxsSlot);
|
|
1668
1668
|
var IconDirectionContextProvider = React.createContext(void 0).Provider;
|
|
1669
1669
|
//#endregion
|
|
1670
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
1670
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._4942f6154b51c3194d4114596007c551/node_modules/@fluentui/react-provider/lib/components/FluentProvider/renderFluentProvider.js
|
|
1671
1671
|
/**
|
|
1672
1672
|
* Render the final JSX of FluentProvider
|
|
1673
1673
|
*/ var renderFluentProvider_unstable = (state, contextValues) => {
|
|
@@ -2049,7 +2049,7 @@ function disposeKeyborg(instance) {
|
|
|
2049
2049
|
* @internal
|
|
2050
2050
|
*/ var FOCUS_VISIBLE_ATTR = "data-fui-focus-visible";
|
|
2051
2051
|
//#endregion
|
|
2052
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-tabster@9.
|
|
2052
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-tabster@9.2_3af048685736281217b4acf806a2e008/node_modules/@fluentui/react-tabster/lib/focus/focusVisiblePolyfill.js
|
|
2053
2053
|
/**
|
|
2054
2054
|
* @internal
|
|
2055
2055
|
* @param scope - Applies the ponyfill to all DOM children
|
|
@@ -2100,7 +2100,7 @@ function alreadyInScope(el) {
|
|
|
2100
2100
|
return alreadyInScope(el === null || el === void 0 ? void 0 : el.parentElement);
|
|
2101
2101
|
}
|
|
2102
2102
|
//#endregion
|
|
2103
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-tabster@9.
|
|
2103
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-tabster@9.2_3af048685736281217b4acf806a2e008/node_modules/@fluentui/react-tabster/lib/hooks/useFocusVisible.js
|
|
2104
2104
|
function useFocusVisible(options = {}) {
|
|
2105
2105
|
const contextValue = useFluent();
|
|
2106
2106
|
const scopeRef = React.useRef(null);
|
|
@@ -3213,7 +3213,7 @@ var webLightTheme = createLightTheme({
|
|
|
3213
3213
|
160: `#ebf3fc`
|
|
3214
3214
|
});
|
|
3215
3215
|
//#endregion
|
|
3216
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3216
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._4942f6154b51c3194d4114596007c551/node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProviderStyles.styles.js
|
|
3217
3217
|
var fluentProviderClassNames = { root: "fui-FluentProvider" };
|
|
3218
3218
|
var useStyles = /* @__PURE__ */ __styles({ root: {
|
|
3219
3219
|
sj55zd: "f19n0e5",
|
|
@@ -3245,7 +3245,7 @@ var useFluentProviderStyles_unstable = (state) => {
|
|
|
3245
3245
|
return state;
|
|
3246
3246
|
};
|
|
3247
3247
|
//#endregion
|
|
3248
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3248
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._4942f6154b51c3194d4114596007c551/node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProviderThemeStyleTag.js
|
|
3249
3249
|
var useInsertionEffect = React["useInsertionEffect"] ? React["useInsertionEffect"] : useIsomorphicLayoutEffect;
|
|
3250
3250
|
var createStyleTag = (target, elementAttributes) => {
|
|
3251
3251
|
if (!(target === null || target === void 0 ? void 0 : target.head)) return;
|
|
@@ -3337,7 +3337,7 @@ function useHandleSSRStyleElements(targetDocument, styleTagId) {
|
|
|
3337
3337
|
});
|
|
3338
3338
|
}
|
|
3339
3339
|
//#endregion
|
|
3340
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3340
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._4942f6154b51c3194d4114596007c551/node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProvider.js
|
|
3341
3341
|
var DEFAULT_STYLE_HOOKS = {};
|
|
3342
3342
|
var DEFAULT_RENDERER_ATTRIBUTES = {};
|
|
3343
3343
|
/**
|
|
@@ -3407,7 +3407,7 @@ function useTheme() {
|
|
|
3407
3407
|
return React.useContext(ThemeContext);
|
|
3408
3408
|
}
|
|
3409
3409
|
//#endregion
|
|
3410
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3410
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._4942f6154b51c3194d4114596007c551/node_modules/@fluentui/react-provider/lib/components/FluentProvider/useFluentProviderContextValues.js
|
|
3411
3411
|
function useFluentProviderContextValues_unstable(state) {
|
|
3412
3412
|
const { applyStylesToPortals, customStyleHooks_unstable, dir, root, targetDocument, theme, themeClassName, overrides_unstable } = state;
|
|
3413
3413
|
const provider = React.useMemo(() => ({
|
|
@@ -3427,7 +3427,7 @@ function useFluentProviderContextValues_unstable(state) {
|
|
|
3427
3427
|
};
|
|
3428
3428
|
}
|
|
3429
3429
|
//#endregion
|
|
3430
|
-
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9.
|
|
3430
|
+
//#region ../../node_modules/.pnpm/@fluentui+react-provider@9._4942f6154b51c3194d4114596007c551/node_modules/@fluentui/react-provider/lib/components/FluentProvider/FluentProvider.js
|
|
3431
3431
|
var FluentProvider = /* @__PURE__ */ React.forwardRef((props, ref) => {
|
|
3432
3432
|
const state = useFluentProvider_unstable(props, ref);
|
|
3433
3433
|
useFluentProviderStyles_unstable(state);
|
|
@@ -3665,15 +3665,12 @@ var TreeNavigatorContext = createContext(void 0);
|
|
|
3665
3665
|
function useTreeNavigatorOptional() {
|
|
3666
3666
|
return useContext(TreeNavigatorContext);
|
|
3667
3667
|
}
|
|
3668
|
-
//#endregion
|
|
3669
|
-
//#region src/react/inspect-type/inspect-type.module.css
|
|
3670
|
-
var property = "_property_pmg7n_35";
|
|
3671
3668
|
var inspect_type_module_default = {
|
|
3672
3669
|
"inspect-type": "_inspect-type_pmg7n_1",
|
|
3673
3670
|
"type-ui": "_type-ui_pmg7n_19",
|
|
3674
3671
|
"type-ui-header": "_type-ui-header_pmg7n_22",
|
|
3675
3672
|
"type-name": "_type-name_pmg7n_31",
|
|
3676
|
-
property,
|
|
3673
|
+
property: "_property_pmg7n_35",
|
|
3677
3674
|
"named-type-ref": "_named-type-ref_pmg7n_39",
|
|
3678
3675
|
"js-value": "_js-value_pmg7n_49"
|
|
3679
3676
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region ../compiler/dist/manifest.js
|
|
2
2
|
var manifest_default = {
|
|
3
|
-
"version": "1.
|
|
4
|
-
"commit": "
|
|
3
|
+
"version": "1.12.0",
|
|
4
|
+
"commit": "efeedc42a9fb908c64751d97fea2ae3d7dfeb4ee"
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
7
|
export { manifest_default as default };
|
package/dist/react/index.js
CHANGED
|
@@ -67,21 +67,19 @@ function Pane({ children, ...props }) {
|
|
|
67
67
|
children
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
var sash = "_sash_v2eo6_20";
|
|
71
|
-
var pane = "_pane_v2eo6_70";
|
|
72
70
|
var split_pane_module_default = {
|
|
73
71
|
"split-pane": "_split-pane_v2eo6_1",
|
|
74
72
|
"split-disabled": "_split-disabled_v2eo6_8",
|
|
75
73
|
"split-pane-dragging": "_split-pane-dragging_v2eo6_12",
|
|
76
74
|
"react-split-vertical": "_react-split-vertical_v2eo6_12",
|
|
77
75
|
"react-split-horizontal": "_react-split-horizontal_v2eo6_16",
|
|
78
|
-
sash,
|
|
76
|
+
sash: "_sash_v2eo6_20",
|
|
79
77
|
"sash-disabled": "_sash-disabled_v2eo6_29",
|
|
80
78
|
"sash-vertical": "_sash-vertical_v2eo6_33",
|
|
81
79
|
"sash-horizontal": "_sash-horizontal_v2eo6_37",
|
|
82
80
|
"sash-content": "_sash-content_v2eo6_41",
|
|
83
81
|
"sash-content-dragging": "_sash-content-dragging_v2eo6_47",
|
|
84
|
-
pane
|
|
82
|
+
pane: "_pane_v2eo6_70"
|
|
85
83
|
};
|
|
86
84
|
var SashContent = ({ className, children, dragging, ...others }) => {
|
|
87
85
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -353,25 +351,18 @@ function useTreeControls({ onSetExpanded }) {
|
|
|
353
351
|
rerender
|
|
354
352
|
]);
|
|
355
353
|
}
|
|
356
|
-
var tree = "_tree_16t0l_1";
|
|
357
|
-
var focus$1 = "_focus_16t0l_18";
|
|
358
|
-
var active = "_active_16t0l_22";
|
|
359
|
-
var caret = "_caret_16t0l_26";
|
|
360
|
-
var icon = "_icon_16t0l_33";
|
|
361
|
-
var label$1 = "_label_16t0l_40";
|
|
362
|
-
var column = "_column_16t0l_44";
|
|
363
354
|
var tree_module_default = {
|
|
364
|
-
tree,
|
|
355
|
+
tree: "_tree_16t0l_1",
|
|
365
356
|
"tree-row": "_tree-row_16t0l_4",
|
|
366
|
-
focus:
|
|
367
|
-
active,
|
|
368
|
-
caret,
|
|
369
|
-
icon,
|
|
370
|
-
label:
|
|
371
|
-
column
|
|
357
|
+
focus: "_focus_16t0l_18",
|
|
358
|
+
active: "_active_16t0l_22",
|
|
359
|
+
caret: "_caret_16t0l_26",
|
|
360
|
+
icon: "_icon_16t0l_33",
|
|
361
|
+
label: "_label_16t0l_40",
|
|
362
|
+
column: "_column_16t0l_44"
|
|
372
363
|
};
|
|
373
364
|
var INDENT_SIZE = 8;
|
|
374
|
-
function TreeViewRow({ id, row, active, focussed, activate, icon: Icon }) {
|
|
365
|
+
function TreeViewRow({ id, row, active, focussed, activate, icon: Icon, label: Label }) {
|
|
375
366
|
const paddingLeft = row.depth * INDENT_SIZE;
|
|
376
367
|
const onClick = useCallback(() => activate(row), [activate, row]);
|
|
377
368
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -396,7 +387,7 @@ function TreeViewRow({ id, row, active, focussed, activate, icon: Icon }) {
|
|
|
396
387
|
/* @__PURE__ */ jsx("span", {
|
|
397
388
|
className: "label",
|
|
398
389
|
title: row.item.name,
|
|
399
|
-
children: row.item.name
|
|
390
|
+
children: Label ? /* @__PURE__ */ jsx(Label, { node: row.item }) : row.item.name
|
|
400
391
|
})
|
|
401
392
|
]
|
|
402
393
|
});
|
|
@@ -409,7 +400,7 @@ var Caret = ({ row }) => {
|
|
|
409
400
|
if (row.hasChildren) return row.expanded ? /* @__PURE__ */ jsx(ChevronDownRegular, { onClick: toggleExpand }) : /* @__PURE__ */ jsx(ChevronRightRegular, { onClick: toggleExpand });
|
|
410
401
|
else return null;
|
|
411
402
|
};
|
|
412
|
-
function Tree({ tree, selected, onSelect, onSetExpanded, nodeIcon, selectionMode = "none" }) {
|
|
403
|
+
function Tree({ tree, selected, onSelect, onSetExpanded, nodeIcon, nodeLabel, selectionMode = "none" }) {
|
|
413
404
|
const id = useId();
|
|
414
405
|
const { expanded, toggleExpand, expand, collapse } = useTreeControls({ onSetExpanded });
|
|
415
406
|
const [focusedIndex, setFocusedIndex] = useState(-1);
|
|
@@ -499,6 +490,7 @@ function Tree({ tree, selected, onSelect, onSetExpanded, nodeIcon, selectionMode
|
|
|
499
490
|
return /* @__PURE__ */ jsx(TreeViewRow, {
|
|
500
491
|
id: `${id}-${row.index}`,
|
|
501
492
|
icon: nodeIcon,
|
|
493
|
+
label: nodeLabel,
|
|
502
494
|
focussed: focusedIndex === row.index,
|
|
503
495
|
row,
|
|
504
496
|
active: selectionMode === "single" && row.id === selectedKey,
|
|
@@ -1018,6 +1010,14 @@ var { createDiagnostic, reportDiagnostic } = createDiagnosticCreator({
|
|
|
1018
1010
|
topLevel: "Imports must be top-level and come prior to namespaces or other declarations."
|
|
1019
1011
|
}
|
|
1020
1012
|
},
|
|
1013
|
+
"duplicate-import": {
|
|
1014
|
+
severity: "warning",
|
|
1015
|
+
messages: { default: paramMessage`Duplicate import of "${"importPath"}"` }
|
|
1016
|
+
},
|
|
1017
|
+
"self-import": {
|
|
1018
|
+
severity: "warning",
|
|
1019
|
+
messages: { default: "A file cannot import itself." }
|
|
1020
|
+
},
|
|
1021
1021
|
"token-expected": {
|
|
1022
1022
|
severity: "error",
|
|
1023
1023
|
messages: {
|
|
@@ -1495,6 +1495,10 @@ var { createDiagnostic, reportDiagnostic } = createDiagnosticCreator({
|
|
|
1495
1495
|
severity: "error",
|
|
1496
1496
|
messages: { default: paramMessage`Rule "${"ruleName"}" has been enabled and disabled in the same ruleset.` }
|
|
1497
1497
|
},
|
|
1498
|
+
"invalid-rule-options": {
|
|
1499
|
+
severity: "error",
|
|
1500
|
+
messages: { default: paramMessage`Invalid options for rule "${"ruleName"}": ${"details"}` }
|
|
1501
|
+
},
|
|
1498
1502
|
"format-failed": {
|
|
1499
1503
|
severity: "error",
|
|
1500
1504
|
messages: { default: paramMessage`File '${"file"}' failed to format. ${"details"}` }
|
|
@@ -4865,31 +4869,28 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4865
4869
|
parse: wsParse,
|
|
4866
4870
|
serialize: wsSerialize
|
|
4867
4871
|
};
|
|
4868
|
-
var wss = {
|
|
4869
|
-
scheme: "wss",
|
|
4870
|
-
domainHost: ws.domainHost,
|
|
4871
|
-
parse: ws.parse,
|
|
4872
|
-
serialize: ws.serialize
|
|
4873
|
-
};
|
|
4874
|
-
var urn = {
|
|
4875
|
-
scheme: "urn",
|
|
4876
|
-
parse: urnParse,
|
|
4877
|
-
serialize: urnSerialize,
|
|
4878
|
-
skipNormalize: true
|
|
4879
|
-
};
|
|
4880
|
-
var urnuuid = {
|
|
4881
|
-
scheme: "urn:uuid",
|
|
4882
|
-
parse: urnuuidParse,
|
|
4883
|
-
serialize: urnuuidSerialize,
|
|
4884
|
-
skipNormalize: true
|
|
4885
|
-
};
|
|
4886
4872
|
var SCHEMES = {
|
|
4887
4873
|
http,
|
|
4888
4874
|
https,
|
|
4889
4875
|
ws,
|
|
4890
|
-
wss
|
|
4891
|
-
|
|
4892
|
-
|
|
4876
|
+
wss: {
|
|
4877
|
+
scheme: "wss",
|
|
4878
|
+
domainHost: ws.domainHost,
|
|
4879
|
+
parse: ws.parse,
|
|
4880
|
+
serialize: ws.serialize
|
|
4881
|
+
},
|
|
4882
|
+
urn: {
|
|
4883
|
+
scheme: "urn",
|
|
4884
|
+
parse: urnParse,
|
|
4885
|
+
serialize: urnSerialize,
|
|
4886
|
+
skipNormalize: true
|
|
4887
|
+
},
|
|
4888
|
+
"urn:uuid": {
|
|
4889
|
+
scheme: "urn:uuid",
|
|
4890
|
+
parse: urnuuidParse,
|
|
4891
|
+
serialize: urnuuidSerialize,
|
|
4892
|
+
skipNormalize: true
|
|
4893
|
+
}
|
|
4893
4894
|
};
|
|
4894
4895
|
Object.setPrototypeOf(SCHEMES, null);
|
|
4895
4896
|
/**
|
|
@@ -7423,7 +7424,7 @@ var init_json_schema_draft_07 = __esmMin((() => {
|
|
|
7423
7424
|
};
|
|
7424
7425
|
}));
|
|
7425
7426
|
//#endregion
|
|
7426
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
7427
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/identity.js
|
|
7427
7428
|
var import_ajv = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7428
7429
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7429
7430
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
@@ -7545,7 +7546,7 @@ function isNode(node) {
|
|
|
7545
7546
|
}
|
|
7546
7547
|
var hasAnchor = (node) => (isScalar(node) || isCollection(node)) && !!node.anchor;
|
|
7547
7548
|
//#endregion
|
|
7548
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
7549
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/visit.js
|
|
7549
7550
|
var BREAK$1 = Symbol("break visit");
|
|
7550
7551
|
var SKIP$1 = Symbol("skip children");
|
|
7551
7552
|
var REMOVE$1 = Symbol("remove node");
|
|
@@ -7730,7 +7731,7 @@ function replaceNode(key, path, node) {
|
|
|
7730
7731
|
}
|
|
7731
7732
|
}
|
|
7732
7733
|
//#endregion
|
|
7733
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
7734
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/doc/directives.js
|
|
7734
7735
|
var escapeChars = {
|
|
7735
7736
|
"!": "%21",
|
|
7736
7737
|
",": "%2C",
|
|
@@ -7890,7 +7891,7 @@ Directives.defaultYaml = {
|
|
|
7890
7891
|
};
|
|
7891
7892
|
Directives.defaultTags = { "!!": "tag:yaml.org,2002:" };
|
|
7892
7893
|
//#endregion
|
|
7893
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
7894
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/doc/anchors.js
|
|
7894
7895
|
/**
|
|
7895
7896
|
* Verify that the input string is a valid anchor.
|
|
7896
7897
|
*
|
|
@@ -7904,7 +7905,7 @@ function anchorIsValid(anchor) {
|
|
|
7904
7905
|
return true;
|
|
7905
7906
|
}
|
|
7906
7907
|
//#endregion
|
|
7907
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
7908
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/doc/applyReviver.js
|
|
7908
7909
|
/**
|
|
7909
7910
|
* Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
|
|
7910
7911
|
* in section 24.5.1.1 "Runtime Semantics: InternalizeJSONProperty" of the
|
|
@@ -7941,7 +7942,7 @@ function applyReviver(reviver, obj, key, val) {
|
|
|
7941
7942
|
return reviver.call(obj, key, val);
|
|
7942
7943
|
}
|
|
7943
7944
|
//#endregion
|
|
7944
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
7945
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/toJS.js
|
|
7945
7946
|
/**
|
|
7946
7947
|
* Recursively convert any node or its contents to native JavaScript
|
|
7947
7948
|
*
|
|
@@ -7974,7 +7975,7 @@ function toJS(value, arg, ctx) {
|
|
|
7974
7975
|
return value;
|
|
7975
7976
|
}
|
|
7976
7977
|
//#endregion
|
|
7977
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
7978
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Node.js
|
|
7978
7979
|
var NodeBase = class {
|
|
7979
7980
|
constructor(type) {
|
|
7980
7981
|
Object.defineProperty(this, NODE_TYPE, { value: type });
|
|
@@ -8002,7 +8003,7 @@ var NodeBase = class {
|
|
|
8002
8003
|
}
|
|
8003
8004
|
};
|
|
8004
8005
|
//#endregion
|
|
8005
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8006
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Alias.js
|
|
8006
8007
|
var Alias = class extends NodeBase {
|
|
8007
8008
|
constructor(source) {
|
|
8008
8009
|
super(ALIAS);
|
|
@@ -8087,7 +8088,7 @@ function getAliasCount(doc, node, anchors) {
|
|
|
8087
8088
|
return 1;
|
|
8088
8089
|
}
|
|
8089
8090
|
//#endregion
|
|
8090
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8091
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Scalar.js
|
|
8091
8092
|
var isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object";
|
|
8092
8093
|
var Scalar = class extends NodeBase {
|
|
8093
8094
|
constructor(value) {
|
|
@@ -8107,7 +8108,7 @@ Scalar.PLAIN = "PLAIN";
|
|
|
8107
8108
|
Scalar.QUOTE_DOUBLE = "QUOTE_DOUBLE";
|
|
8108
8109
|
Scalar.QUOTE_SINGLE = "QUOTE_SINGLE";
|
|
8109
8110
|
//#endregion
|
|
8110
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8111
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/doc/createNode.js
|
|
8111
8112
|
var defaultTagPrefix = "tag:yaml.org,2002:";
|
|
8112
8113
|
function findTagObject(value, tagName, tags) {
|
|
8113
8114
|
if (tagName) {
|
|
@@ -8164,7 +8165,7 @@ function createNode(value, tagName, ctx) {
|
|
|
8164
8165
|
return node;
|
|
8165
8166
|
}
|
|
8166
8167
|
//#endregion
|
|
8167
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8168
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Collection.js
|
|
8168
8169
|
function collectionFromPath(schema, path, value) {
|
|
8169
8170
|
let v = value;
|
|
8170
8171
|
for (let i = path.length - 1; i >= 0; --i) {
|
|
@@ -8277,7 +8278,7 @@ var Collection = class extends NodeBase {
|
|
|
8277
8278
|
}
|
|
8278
8279
|
};
|
|
8279
8280
|
//#endregion
|
|
8280
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8281
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyComment.js
|
|
8281
8282
|
/**
|
|
8282
8283
|
* Stringifies a comment.
|
|
8283
8284
|
*
|
|
@@ -8292,7 +8293,7 @@ function indentComment(comment, indent) {
|
|
|
8292
8293
|
}
|
|
8293
8294
|
var lineComment = (str, indent, comment) => str.endsWith("\n") ? indentComment(comment, indent) : comment.includes("\n") ? "\n" + indentComment(comment, indent) : (str.endsWith(" ") ? "" : " ") + comment;
|
|
8294
8295
|
//#endregion
|
|
8295
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8296
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/foldFlowLines.js
|
|
8296
8297
|
var FOLD_FLOW = "flow";
|
|
8297
8298
|
var FOLD_BLOCK = "block";
|
|
8298
8299
|
var FOLD_QUOTED = "quoted";
|
|
@@ -8402,7 +8403,7 @@ function consumeMoreIndentedLines(text, i, indent) {
|
|
|
8402
8403
|
return end;
|
|
8403
8404
|
}
|
|
8404
8405
|
//#endregion
|
|
8405
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8406
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyString.js
|
|
8406
8407
|
var getFoldOptions = (ctx, isBlock) => ({
|
|
8407
8408
|
indentAtStart: isBlock ? ctx.indent.length : ctx.indentAtStart,
|
|
8408
8409
|
lineWidth: ctx.options.lineWidth,
|
|
@@ -8621,7 +8622,7 @@ function stringifyString(item, ctx, onComment, onChompKeep) {
|
|
|
8621
8622
|
return res;
|
|
8622
8623
|
}
|
|
8623
8624
|
//#endregion
|
|
8624
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8625
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringify.js
|
|
8625
8626
|
function createStringifyContext(doc, options) {
|
|
8626
8627
|
const opt = Object.assign({
|
|
8627
8628
|
blockQuote: true,
|
|
@@ -8639,6 +8640,7 @@ function createStringifyContext(doc, options) {
|
|
|
8639
8640
|
nullStr: "null",
|
|
8640
8641
|
simpleKeys: false,
|
|
8641
8642
|
singleQuote: null,
|
|
8643
|
+
trailingComma: false,
|
|
8642
8644
|
trueStr: "true",
|
|
8643
8645
|
verifyAliasOrder: true
|
|
8644
8646
|
}, doc.schema.toStringOptions, options);
|
|
@@ -8720,7 +8722,7 @@ function stringify$1(item, ctx, onComment, onChompKeep) {
|
|
|
8720
8722
|
return isScalar(node) || str[0] === "{" || str[0] === "[" ? `${props} ${str}` : `${props}\n${ctx.indent}${str}`;
|
|
8721
8723
|
}
|
|
8722
8724
|
//#endregion
|
|
8723
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8725
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyPair.js
|
|
8724
8726
|
function stringifyPair({ key, value }, ctx, onComment, onChompKeep) {
|
|
8725
8727
|
const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;
|
|
8726
8728
|
let keyComment = isNode(key) && key.comment || null;
|
|
@@ -8810,12 +8812,12 @@ function stringifyPair({ key, value }, ctx, onComment, onChompKeep) {
|
|
|
8810
8812
|
return str;
|
|
8811
8813
|
}
|
|
8812
8814
|
//#endregion
|
|
8813
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8815
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/log.js
|
|
8814
8816
|
function warn(logLevel, warning) {
|
|
8815
8817
|
if (logLevel === "debug" || logLevel === "warn") console.warn(warning);
|
|
8816
8818
|
}
|
|
8817
8819
|
//#endregion
|
|
8818
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8820
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js
|
|
8819
8821
|
var MERGE_KEY = "<<";
|
|
8820
8822
|
var merge = {
|
|
8821
8823
|
identify: (value) => value === MERGE_KEY || typeof value === "symbol" && value.description === MERGE_KEY,
|
|
@@ -8848,7 +8850,7 @@ function mergeValue(ctx, map, value) {
|
|
|
8848
8850
|
return map;
|
|
8849
8851
|
}
|
|
8850
8852
|
//#endregion
|
|
8851
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8853
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js
|
|
8852
8854
|
function addPairToJSMap(ctx, map, { key, value }) {
|
|
8853
8855
|
if (isNode(key) && key.addToJSMap) key.addToJSMap(ctx, map, value);
|
|
8854
8856
|
else if (isMergeKey(ctx, key)) addMergeToJSMap(ctx, map, value);
|
|
@@ -8891,7 +8893,7 @@ function stringifyKey(key, jsKey, ctx) {
|
|
|
8891
8893
|
return JSON.stringify(jsKey);
|
|
8892
8894
|
}
|
|
8893
8895
|
//#endregion
|
|
8894
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8896
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/Pair.js
|
|
8895
8897
|
function createPair(key, value, ctx) {
|
|
8896
8898
|
return new Pair(createNode(key, void 0, ctx), createNode(value, void 0, ctx));
|
|
8897
8899
|
}
|
|
@@ -8915,7 +8917,7 @@ var Pair = class Pair {
|
|
|
8915
8917
|
}
|
|
8916
8918
|
};
|
|
8917
8919
|
//#endregion
|
|
8918
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
8920
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/stringify/stringifyCollection.js
|
|
8919
8921
|
function stringifyCollection(collection, ctx, options) {
|
|
8920
8922
|
return (ctx.inFlow ?? collection.flow ? stringifyFlowCollection : stringifyBlockCollection)(collection, ctx, options);
|
|
8921
8923
|
}
|
|
@@ -8995,9 +8997,13 @@ function stringifyFlowCollection({ items }, ctx, { flowChars, itemIndent }) {
|
|
|
8995
8997
|
}
|
|
8996
8998
|
if (comment) reqNewline = true;
|
|
8997
8999
|
let str = stringify$1(item, itemCtx, () => comment = null);
|
|
9000
|
+
reqNewline || (reqNewline = lines.length > linesAtValue || str.includes("\n"));
|
|
8998
9001
|
if (i < items.length - 1) str += ",";
|
|
9002
|
+
else if (ctx.options.trailingComma) {
|
|
9003
|
+
if (ctx.options.lineWidth > 0) reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth);
|
|
9004
|
+
if (reqNewline) str += ",";
|
|
9005
|
+
}
|
|
8999
9006
|
if (comment) str += lineComment(str, itemIndent, commentString(comment));
|
|
9000
|
-
if (!reqNewline && (lines.length > linesAtValue || str.includes("\n"))) reqNewline = true;
|
|
9001
9007
|
lines.push(str);
|
|
9002
9008
|
linesAtValue = lines.length;
|
|
9003
9009
|
}
|
|
@@ -9023,7 +9029,7 @@ function addCommentBefore({ indent, options: { commentString } }, lines, comment
|
|
|
9023
9029
|
}
|
|
9024
9030
|
}
|
|
9025
9031
|
//#endregion
|
|
9026
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
9032
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/YAMLMap.js
|
|
9027
9033
|
function findPair(items, key) {
|
|
9028
9034
|
const k = isScalar(key) ? key.value : key;
|
|
9029
9035
|
for (const it of items) if (isPair(it)) {
|
|
@@ -9122,7 +9128,7 @@ var YAMLMap = class extends Collection {
|
|
|
9122
9128
|
}
|
|
9123
9129
|
};
|
|
9124
9130
|
//#endregion
|
|
9125
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
9131
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/common/map.js
|
|
9126
9132
|
var map = {
|
|
9127
9133
|
collection: "map",
|
|
9128
9134
|
default: true,
|
|
@@ -9135,7 +9141,7 @@ var map = {
|
|
|
9135
9141
|
createNode: (schema, obj, ctx) => YAMLMap.from(schema, obj, ctx)
|
|
9136
9142
|
};
|
|
9137
9143
|
//#endregion
|
|
9138
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
9144
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/nodes/YAMLSeq.js
|
|
9139
9145
|
var YAMLSeq = class extends Collection {
|
|
9140
9146
|
static get tagName() {
|
|
9141
9147
|
return "tag:yaml.org,2002:seq";
|
|
@@ -9232,7 +9238,7 @@ function asItemIndex(key) {
|
|
|
9232
9238
|
return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null;
|
|
9233
9239
|
}
|
|
9234
9240
|
//#endregion
|
|
9235
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
9241
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/common/seq.js
|
|
9236
9242
|
var seq = {
|
|
9237
9243
|
collection: "seq",
|
|
9238
9244
|
default: true,
|
|
@@ -9245,7 +9251,7 @@ var seq = {
|
|
|
9245
9251
|
createNode: (schema, obj, ctx) => YAMLSeq.from(schema, obj, ctx)
|
|
9246
9252
|
};
|
|
9247
9253
|
//#endregion
|
|
9248
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
9254
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/json/schema.js
|
|
9249
9255
|
function intIdentify(value) {
|
|
9250
9256
|
return typeof value === "bigint" || Number.isInteger(value);
|
|
9251
9257
|
}
|
|
@@ -9302,7 +9308,7 @@ var jsonScalars = [
|
|
|
9302
9308
|
}
|
|
9303
9309
|
});
|
|
9304
9310
|
//#endregion
|
|
9305
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
9311
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
|
|
9306
9312
|
function createPairs(schema, iterable, ctx) {
|
|
9307
9313
|
const { replacer } = ctx;
|
|
9308
9314
|
const pairs = new YAMLSeq(schema);
|
|
@@ -9327,7 +9333,7 @@ function createPairs(schema, iterable, ctx) {
|
|
|
9327
9333
|
return pairs;
|
|
9328
9334
|
}
|
|
9329
9335
|
//#endregion
|
|
9330
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
9336
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js
|
|
9331
9337
|
var YAMLOMap = class YAMLOMap extends YAMLSeq {
|
|
9332
9338
|
constructor() {
|
|
9333
9339
|
super();
|
|
@@ -9366,7 +9372,7 @@ var YAMLOMap = class YAMLOMap extends YAMLSeq {
|
|
|
9366
9372
|
};
|
|
9367
9373
|
YAMLOMap.tag = "tag:yaml.org,2002:omap";
|
|
9368
9374
|
//#endregion
|
|
9369
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
9375
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js
|
|
9370
9376
|
var YAMLSet = class YAMLSet extends YAMLMap {
|
|
9371
9377
|
constructor(schema) {
|
|
9372
9378
|
super(schema);
|
|
@@ -9413,7 +9419,7 @@ var YAMLSet = class YAMLSet extends YAMLMap {
|
|
|
9413
9419
|
};
|
|
9414
9420
|
YAMLSet.tag = "tag:yaml.org,2002:set";
|
|
9415
9421
|
//#endregion
|
|
9416
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.
|
|
9422
|
+
//#region ../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/browser/dist/parse/cst-visit.js
|
|
9417
9423
|
var BREAK = Symbol("break visit");
|
|
9418
9424
|
var SKIP = Symbol("skip children");
|
|
9419
9425
|
var REMOVE = Symbol("remove item");
|
|
@@ -9903,17 +9909,6 @@ function parseJsonPointer(pointer) {
|
|
|
9903
9909
|
function unescape$1(str) {
|
|
9904
9910
|
return str.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
9905
9911
|
}
|
|
9906
|
-
//#endregion
|
|
9907
|
-
//#region ../compiler/dist/src/config/config-schema.js
|
|
9908
|
-
var emitterOptionsSchema = {
|
|
9909
|
-
type: "object",
|
|
9910
|
-
additionalProperties: true,
|
|
9911
|
-
required: [],
|
|
9912
|
-
properties: { "emitter-output-dir": {
|
|
9913
|
-
type: "string",
|
|
9914
|
-
nullable: true
|
|
9915
|
-
} }
|
|
9916
|
-
};
|
|
9917
9912
|
var TypeSpecConfigJsonSchema = {
|
|
9918
9913
|
type: "object",
|
|
9919
9914
|
additionalProperties: false,
|
|
@@ -9970,7 +9965,15 @@ var TypeSpecConfigJsonSchema = {
|
|
|
9970
9965
|
type: "object",
|
|
9971
9966
|
nullable: true,
|
|
9972
9967
|
required: [],
|
|
9973
|
-
additionalProperties:
|
|
9968
|
+
additionalProperties: {
|
|
9969
|
+
type: "object",
|
|
9970
|
+
additionalProperties: true,
|
|
9971
|
+
required: [],
|
|
9972
|
+
properties: { "emitter-output-dir": {
|
|
9973
|
+
type: "string",
|
|
9974
|
+
nullable: true
|
|
9975
|
+
} }
|
|
9976
|
+
}
|
|
9974
9977
|
},
|
|
9975
9978
|
linter: {
|
|
9976
9979
|
type: "object",
|
|
@@ -9987,7 +9990,7 @@ var TypeSpecConfigJsonSchema = {
|
|
|
9987
9990
|
type: "object",
|
|
9988
9991
|
required: [],
|
|
9989
9992
|
nullable: true,
|
|
9990
|
-
additionalProperties: { type: "boolean" }
|
|
9993
|
+
additionalProperties: { oneOf: [{ type: "boolean" }, { type: "object" }] }
|
|
9991
9994
|
},
|
|
9992
9995
|
disable: {
|
|
9993
9996
|
type: "object",
|
|
@@ -20833,7 +20836,7 @@ globalThis[globalLibraryUrlsLoadedSym];
|
|
|
20833
20836
|
//#region ../compiler/dist/src/manifest.js
|
|
20834
20837
|
var manifest;
|
|
20835
20838
|
try {
|
|
20836
|
-
manifest = (await import("../manifest-
|
|
20839
|
+
manifest = (await import("../manifest-ByghcWwF.js")).default;
|
|
20837
20840
|
} catch {
|
|
20838
20841
|
manifest = (await import(["../dist", "manifest.js"].join("/"))).default;
|
|
20839
20842
|
}
|
|
@@ -23743,7 +23746,7 @@ var main_exports = /* @__PURE__ */ __exportAll({
|
|
|
23743
23746
|
AnnotatedTextEdit: () => AnnotatedTextEdit,
|
|
23744
23747
|
ChangeAnnotation: () => ChangeAnnotation,
|
|
23745
23748
|
ChangeAnnotationIdentifier: () => ChangeAnnotationIdentifier,
|
|
23746
|
-
CodeAction: () => CodeAction
|
|
23749
|
+
CodeAction: () => CodeAction,
|
|
23747
23750
|
CodeActionContext: () => CodeActionContext,
|
|
23748
23751
|
CodeActionKind: () => CodeActionKind$1,
|
|
23749
23752
|
CodeActionTriggerKind: () => CodeActionTriggerKind,
|
|
@@ -23822,7 +23825,7 @@ var main_exports = /* @__PURE__ */ __exportAll({
|
|
|
23822
23825
|
integer: () => integer,
|
|
23823
23826
|
uinteger: () => uinteger
|
|
23824
23827
|
});
|
|
23825
|
-
var DocumentUri, URI, integer, uinteger, Position$2, Range$6, Location, LocationLink, Color, ColorInformation, ColorPresentation, FoldingRangeKind, FoldingRange, DiagnosticRelatedInformation, DiagnosticSeverity$3, DiagnosticTag$1, CodeDescription, Diagnostic, Command, TextEdit$4, ChangeAnnotation, ChangeAnnotationIdentifier, AnnotatedTextEdit, TextDocumentEdit, CreateFile, RenameFile, DeleteFile, WorkspaceEdit, TextEditChangeImpl, ChangeAnnotations, WorkspaceChange, TextDocumentIdentifier, VersionedTextDocumentIdentifier, OptionalVersionedTextDocumentIdentifier, TextDocumentItem, MarkupKind$2, MarkupContent, CompletionItemKind$2, InsertTextFormat, CompletionItemTag, InsertReplaceEdit, InsertTextMode, CompletionItemLabelDetails, CompletionItem, CompletionList$1, MarkedString, Hover, ParameterInformation, SignatureInformation, DocumentHighlightKind$1, DocumentHighlight, SymbolKind$1, SymbolTag, SymbolInformation, WorkspaceSymbol, DocumentSymbol$1, CodeActionKind$1, CodeActionTriggerKind, CodeActionContext, CodeAction
|
|
23828
|
+
var DocumentUri, URI, integer, uinteger, Position$2, Range$6, Location, LocationLink, Color, ColorInformation, ColorPresentation, FoldingRangeKind, FoldingRange, DiagnosticRelatedInformation, DiagnosticSeverity$3, DiagnosticTag$1, CodeDescription, Diagnostic, Command, TextEdit$4, ChangeAnnotation, ChangeAnnotationIdentifier, AnnotatedTextEdit, TextDocumentEdit, CreateFile, RenameFile, DeleteFile, WorkspaceEdit, TextEditChangeImpl, ChangeAnnotations, WorkspaceChange, TextDocumentIdentifier, VersionedTextDocumentIdentifier, OptionalVersionedTextDocumentIdentifier, TextDocumentItem, MarkupKind$2, MarkupContent, CompletionItemKind$2, InsertTextFormat, CompletionItemTag, InsertReplaceEdit, InsertTextMode, CompletionItemLabelDetails, CompletionItem, CompletionList$1, MarkedString, Hover, ParameterInformation, SignatureInformation, DocumentHighlightKind$1, DocumentHighlight, SymbolKind$1, SymbolTag, SymbolInformation, WorkspaceSymbol, DocumentSymbol$1, CodeActionKind$1, CodeActionTriggerKind, CodeActionContext, CodeAction, CodeLens, FormattingOptions, DocumentLink, SelectionRange, SemanticTokenTypes, SemanticTokenModifiers, SemanticTokens, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineValueContext, InlayHintKind, InlayHintLabelPart, InlayHint, StringValue, InlineCompletionItem, InlineCompletionList, InlineCompletionTriggerKind, SelectedCompletionInfo, InlineCompletionContext, WorkspaceFolder, EOL, TextDocument, FullTextDocument, Is;
|
|
23826
23829
|
var init_main = __esmMin((() => {
|
|
23827
23830
|
(function(DocumentUri) {
|
|
23828
23831
|
function is(value) {
|
|
@@ -25126,7 +25129,7 @@ var init_main = __esmMin((() => {
|
|
|
25126
25129
|
return candidate && Is.string(candidate.title) && (candidate.diagnostics === void 0 || Is.typedArray(candidate.diagnostics, Diagnostic.is)) && (candidate.kind === void 0 || Is.string(candidate.kind)) && (candidate.edit !== void 0 || candidate.command !== void 0) && (candidate.command === void 0 || Command.is(candidate.command)) && (candidate.isPreferred === void 0 || Is.boolean(candidate.isPreferred)) && (candidate.edit === void 0 || WorkspaceEdit.is(candidate.edit));
|
|
25127
25130
|
}
|
|
25128
25131
|
CodeAction.is = is;
|
|
25129
|
-
})(CodeAction
|
|
25132
|
+
})(CodeAction || (CodeAction = {}));
|
|
25130
25133
|
(function(CodeLens) {
|
|
25131
25134
|
/**
|
|
25132
25135
|
* Creates a new CodeLens literal.
|
|
@@ -31079,17 +31082,12 @@ var NodeIcon = ({ node }) => {
|
|
|
31079
31082
|
case "list": return /* @__PURE__ */ jsx(AppsListRegular, {});
|
|
31080
31083
|
}
|
|
31081
31084
|
};
|
|
31082
|
-
//#endregion
|
|
31083
|
-
//#region src/react/current-path/current-path.module.css
|
|
31084
|
-
var focus = "_focus_x1yb7_6";
|
|
31085
|
-
var option = "_option_x1yb7_19";
|
|
31086
|
-
var doc$1 = "_doc_x1yb7_23";
|
|
31087
31085
|
var current_path_module_default = {
|
|
31088
31086
|
"current-path": "_current-path_x1yb7_1",
|
|
31089
|
-
focus,
|
|
31087
|
+
focus: "_focus_x1yb7_6",
|
|
31090
31088
|
"breadcrumb-search": "_breadcrumb-search_x1yb7_9",
|
|
31091
|
-
option,
|
|
31092
|
-
doc:
|
|
31089
|
+
option: "_option_x1yb7_19",
|
|
31090
|
+
doc: "_doc_x1yb7_23",
|
|
31093
31091
|
"flex-gap": "_flex-gap_x1yb7_32",
|
|
31094
31092
|
"search-placeholder": "_search-placeholder_x1yb7_36"
|
|
31095
31093
|
};
|
|
@@ -31314,15 +31312,12 @@ var JsValue = ({ value }) => {
|
|
|
31314
31312
|
default: return /* @__PURE__ */ jsx("span", {});
|
|
31315
31313
|
}
|
|
31316
31314
|
};
|
|
31317
|
-
//#endregion
|
|
31318
|
-
//#region src/react/inspect-type/inspect-type.module.css
|
|
31319
|
-
var property = "_property_pmg7n_35";
|
|
31320
31315
|
var inspect_type_module_default = {
|
|
31321
31316
|
"inspect-type": "_inspect-type_pmg7n_1",
|
|
31322
31317
|
"type-ui": "_type-ui_pmg7n_19",
|
|
31323
31318
|
"type-ui-header": "_type-ui-header_pmg7n_22",
|
|
31324
31319
|
"type-name": "_type-name_pmg7n_31",
|
|
31325
|
-
property,
|
|
31320
|
+
property: "_property_pmg7n_35",
|
|
31326
31321
|
"named-type-ref": "_named-type-ref_pmg7n_39",
|
|
31327
31322
|
"js-value": "_js-value_pmg7n_49"
|
|
31328
31323
|
};
|
|
@@ -31480,15 +31475,11 @@ var ItemList = (props) => {
|
|
|
31480
31475
|
} else if (props.items.size === 0) return /* @__PURE__ */ jsx(Fragment, { children: "{}" });
|
|
31481
31476
|
return /* @__PURE__ */ jsx("ul", { children: [...props.items.entries()].map(([k, v], i) => /* @__PURE__ */ jsx("li", { children: props.render(v) }, typeof k === "symbol" ? i : k)) });
|
|
31482
31477
|
};
|
|
31483
|
-
//#endregion
|
|
31484
|
-
//#region src/react/js-inspector/object-inspector.module.css
|
|
31485
|
-
var preview = "_preview_1mqr2_5";
|
|
31486
|
-
var dimmed = "_dimmed_1mqr2_13";
|
|
31487
31478
|
var object_inspector_module_default = {
|
|
31488
31479
|
"object-description": "_object-description_1mqr2_1",
|
|
31489
|
-
preview,
|
|
31480
|
+
preview: "_preview_1mqr2_5",
|
|
31490
31481
|
"object-name": "_object-name_1mqr2_9",
|
|
31491
|
-
dimmed
|
|
31482
|
+
dimmed: "_dimmed_1mqr2_13"
|
|
31492
31483
|
};
|
|
31493
31484
|
//#endregion
|
|
31494
31485
|
//#region src/react/js-inspector/object-name.tsx
|
|
@@ -31766,20 +31757,15 @@ var NodeWithTspType = (props) => {
|
|
|
31766
31757
|
function isTypeSpecType(data) {
|
|
31767
31758
|
return typeof data === "object" && data !== null && "entityKind" in data && data.entityKind === "Type" && "kind" in data;
|
|
31768
31759
|
}
|
|
31769
|
-
//#endregion
|
|
31770
|
-
//#region src/react/type-view/type-view.module.css
|
|
31771
|
-
var main = "_main_12y74_7";
|
|
31772
|
-
var header = "_header_12y74_11";
|
|
31773
|
-
var doc = "_doc_12y74_35";
|
|
31774
31760
|
var type_view_module_default = {
|
|
31775
31761
|
"type-view": "_type-view_12y74_1",
|
|
31776
|
-
main,
|
|
31762
|
+
main: "_main_12y74_7",
|
|
31777
31763
|
"header-section": "_header-section_12y74_11",
|
|
31778
31764
|
"inspect-section": "_inspect-section_12y74_15",
|
|
31779
|
-
header,
|
|
31765
|
+
header: "_header_12y74_11",
|
|
31780
31766
|
"header-left": "_header-left_12y74_25",
|
|
31781
31767
|
"header-spacer": "_header-spacer_12y74_31",
|
|
31782
|
-
doc
|
|
31768
|
+
doc: "_doc_12y74_35"
|
|
31783
31769
|
};
|
|
31784
31770
|
//#endregion
|
|
31785
31771
|
//#region src/react/type-view/type-view.tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/html-program-viewer",
|
|
3
|
-
"version": "0.82.0
|
|
3
|
+
"version": "0.82.0",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting an html view of the program.",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"!dist/test/**"
|
|
37
37
|
],
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@typespec/compiler": "^1.
|
|
39
|
+
"@typespec/compiler": "^1.12.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@fluentui/react-components": "
|
|
42
|
+
"@fluentui/react-components": "^9.73.7",
|
|
43
43
|
"@fluentui/react-icons": "^2.0.323",
|
|
44
|
-
"@fluentui/react-list": "^9.6.
|
|
45
|
-
"react": "
|
|
46
|
-
"react-dom": "
|
|
44
|
+
"@fluentui/react-list": "^9.6.13",
|
|
45
|
+
"react": "^19.2.5",
|
|
46
|
+
"react-dom": "^19.2.5",
|
|
47
47
|
"react-hotkeys-hook": "^5.2.4"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -51,19 +51,19 @@
|
|
|
51
51
|
"@testing-library/dom": "^10.4.1",
|
|
52
52
|
"@testing-library/jest-dom": "^6.9.1",
|
|
53
53
|
"@testing-library/react": "^16.3.2",
|
|
54
|
-
"@types/node": "
|
|
55
|
-
"@types/react": "
|
|
56
|
-
"@types/react-dom": "
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@vitest/
|
|
60
|
-
"
|
|
61
|
-
"rimraf": "~6.1.3",
|
|
54
|
+
"@types/node": "^25.5.2",
|
|
55
|
+
"@types/react": "^19.2.14",
|
|
56
|
+
"@types/react-dom": "^19.2.3",
|
|
57
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
58
|
+
"@vitest/coverage-v8": "^4.1.3",
|
|
59
|
+
"@vitest/ui": "^4.1.3",
|
|
60
|
+
"rimraf": "^6.1.3",
|
|
62
61
|
"typescript": "~6.0.2",
|
|
63
|
-
"vite": "^8.0.
|
|
62
|
+
"vite": "^8.0.8",
|
|
64
63
|
"vite-plugin-checker": "^0.12.0",
|
|
65
64
|
"vite-plugin-dts": "4.5.4",
|
|
66
|
-
"vitest": "^4.1.
|
|
65
|
+
"vitest": "^4.1.3",
|
|
66
|
+
"@typespec/compiler": "^1.12.0",
|
|
67
67
|
"@typespec/react-components": "^0.57.0"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|