@pipelex/mthds-form 0.11.0 → 0.12.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.
@@ -1,5 +1,5 @@
1
- export { collectStuffFiles } from '../chunk-4JQAJT7C.js';
2
- import '../chunk-TID7ZN63.js';
1
+ export { collectStuffFiles, readStuffFile } from '../chunk-VS5JMFUV.js';
2
+ import '../chunk-CM4KVG53.js';
3
3
  import '../chunk-V3OV2XQT.js';
4
4
  //# sourceMappingURL=stuff-files.js.map
5
5
  //# sourceMappingURL=stuff-files.js.map
@@ -1,7 +1,8 @@
1
1
  "use client";
2
- import { cn, fieldControlClass, ResultField, FieldRenderer, ToggleGroup, ToggleGroupItem, Switch, Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from '../chunk-E2IVBAW3.js';
3
- import '../chunk-4JQAJT7C.js';
4
- import { isNativeValueNode, readDateContent, formatDateContent, isNativeHtmlNode, isNativeDateNode, isNativeCompositeNode } from '../chunk-TID7ZN63.js';
2
+ import { cn, fieldControlClass, ResultRoot, ResultField, FieldRenderer, ToggleGroup, ToggleGroupItem, Switch, Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from '../chunk-4KX6YTLW.js';
3
+ import '../chunk-V7T4DM63.js';
4
+ import '../chunk-VS5JMFUV.js';
5
+ import { isNativeValueNode, readDateContent, formatDateContent, isNativeHtmlNode, isNativeDateNode, isNativeCompositeNode } from '../chunk-CM4KVG53.js';
5
6
  import '../chunk-FABY3DEY.js';
6
7
  import '../chunk-XCO6GTEC.js';
7
8
  import '../chunk-PM55AHRO.js';
@@ -2292,8 +2293,9 @@ function MthdsResult({ props }) {
2292
2293
  const path = useAbsolutePath(props.path) ?? "";
2293
2294
  const field = scope.result && path ? resultFieldAtPath(scope.result, path) : void 0;
2294
2295
  const value = useStateValue(path);
2295
- if (!field) return /* @__PURE__ */ jsx(Unresolved, { path: props.path, side: "result" });
2296
- return /* @__PURE__ */ jsx(ResultField, { field, value, hideLabel: props.hideLabel ?? false });
2296
+ if (!field || !scope.result) return /* @__PURE__ */ jsx(Unresolved, { path: props.path, side: "result" });
2297
+ const place = [scope.result.name, ...segmentsUnder(RESULT_ROOT, path) ?? []];
2298
+ return /* @__PURE__ */ jsx(ResultRoot, { baseName: scope.result.name, path: place, children: /* @__PURE__ */ jsx(ResultField, { field, value, hideLabel: props.hideLabel ?? false }) });
2297
2299
  }
2298
2300
  function AccessibleSelect({ props, bindings, emit }) {
2299
2301
  const [boundValue, setBoundValue] = useBoundProp(