@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.
- package/dist/{chunk-E2IVBAW3.js → chunk-4KX6YTLW.js} +293 -104
- package/dist/chunk-4KX6YTLW.js.map +1 -0
- package/dist/{chunk-TID7ZN63.js → chunk-CM4KVG53.js} +13 -10
- package/dist/chunk-CM4KVG53.js.map +1 -0
- package/dist/chunk-V7T4DM63.js +125 -0
- package/dist/chunk-V7T4DM63.js.map +1 -0
- package/dist/{chunk-4JQAJT7C.js → chunk-VS5JMFUV.js} +25 -38
- package/dist/chunk-VS5JMFUV.js.map +1 -0
- package/dist/core/index.d.ts +2 -1
- package/dist/core/index.js +3 -2
- package/dist/core/native-content.d.ts +6 -1
- package/dist/core/native-content.js +1 -1
- package/dist/core/save-plan.d.ts +136 -0
- package/dist/core/save-plan.js +6 -0
- package/dist/core/save-plan.js.map +1 -0
- package/dist/core/stuff-files.d.ts +19 -2
- package/dist/core/stuff-files.js +2 -2
- package/dist/generative/index.js +7 -5
- package/dist/generative/index.js.map +1 -1
- package/dist/react/index.d.ts +173 -108
- package/dist/react/index.js +4 -3
- package/package.json +1 -1
- package/dist/chunk-4JQAJT7C.js.map +0 -1
- package/dist/chunk-E2IVBAW3.js.map +0 -1
- package/dist/chunk-TID7ZN63.js.map +0 -1
package/dist/core/stuff-files.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { collectStuffFiles } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
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
|
package/dist/generative/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { cn, fieldControlClass, ResultField, FieldRenderer, ToggleGroup, ToggleGroupItem, Switch, Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import
|
|
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
|
-
|
|
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(
|