@player-tools/dsl 0.13.0--canary.221.5662 → 0.13.0--canary.231.5678

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,7 +1,7 @@
1
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/components.tsx
1
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/components.tsx
2
2
  import React4 from "react";
3
3
 
4
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/auto-id.tsx
4
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/auto-id.tsx
5
5
  import React from "react";
6
6
  import { flattenNodes } from "react-json-reconciler";
7
7
  var IDSuffixContext = React.createContext("root");
@@ -74,10 +74,10 @@ var ObjectWithIndexTracking = (props) => {
74
74
  return /* @__PURE__ */ React.createElement(OptionalIDSuffixProvider, { wrapperRef: ref }, /* @__PURE__ */ React.createElement("obj", { ref }, props.children));
75
75
  };
76
76
 
77
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/utils.tsx
77
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/utils.tsx
78
78
  import * as React3 from "react";
79
79
 
80
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/string-templates/index.ts
80
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/string-templates/index.ts
81
81
  import * as React2 from "react";
82
82
  import { parseExpression, isErrorWithLocation } from "@player-ui/player";
83
83
  var OpaqueIdentifier = Symbol("TemplateStringType");
@@ -197,7 +197,7 @@ var isBindingTemplateInstance = (val) => {
197
197
  return val !== null && typeof val === "object" && val[OpaqueIdentifier] === true && val.__type === "binding";
198
198
  };
199
199
 
200
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/utils.tsx
200
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/utils.tsx
201
201
  function toArray(val) {
202
202
  return Array.isArray(val) ? val : [val];
203
203
  }
@@ -318,7 +318,7 @@ function mapExpressionHandlersToFunctions(functions) {
318
318
  return result;
319
319
  }
320
320
 
321
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/components.tsx
321
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/components.tsx
322
322
  var SlotContext = React4.createContext(void 0);
323
323
  var AssetWrapper = React4.forwardRef(function AssetWrapper2(props, ref) {
324
324
  const { children, ...rest } = props;
@@ -415,7 +415,7 @@ function createSlot(options) {
415
415
  };
416
416
  }
417
417
 
418
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/switch.tsx
418
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/switch.tsx
419
419
  import React5 from "react";
420
420
  import { flattenNodes as flattenNodes2 } from "react-json-reconciler";
421
421
  var SwitchContext = React5.createContext({});
@@ -485,7 +485,7 @@ var Case = (props) => {
485
485
  };
486
486
  Switch.Case = Case;
487
487
 
488
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/template.tsx
488
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/template.tsx
489
489
  import React6 from "react";
490
490
  import {
491
491
  ArrayNode,
@@ -638,10 +638,10 @@ var Template = (props) => {
638
638
  ), /* @__PURE__ */ React6.createElement("value", { ref: valueRef, value: void 0 })));
639
639
  };
640
640
 
641
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/index.ts
641
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/index.ts
642
642
  export * from "react-json-reconciler";
643
643
 
644
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/schema.ts
644
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/schema.ts
645
645
  import { dequal } from "dequal";
646
646
  import { SyncWaterfallHook } from "tapable-ts";
647
647
  var bindingSymbol = Symbol("binding");
@@ -811,7 +811,7 @@ var getRefStringFromObject = (obj) => {
811
811
  return getBindingFromObject(obj).toRefString();
812
812
  };
813
813
 
814
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/compiler.ts
814
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/compiler.ts
815
815
  import React8 from "react";
816
816
  import { SourceMapGenerator, SourceMapConsumer } from "source-map-js";
817
817
  import { render } from "react-json-reconciler";
@@ -821,7 +821,7 @@ import {
821
821
  SyncHook
822
822
  } from "tapable-ts";
823
823
 
824
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/utils.ts
824
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/utils.ts
825
825
  import React7 from "react";
826
826
  var fingerprintContent = (content, filename) => {
827
827
  if (content !== null || content !== void 0) {
@@ -837,7 +837,7 @@ var fingerprintContent = (content, filename) => {
837
837
  }
838
838
  };
839
839
 
840
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/compiler.ts
840
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/compiler.ts
841
841
  var parseNavigationExpressions = (nav) => {
842
842
  function replaceExpWithStr(obj) {
843
843
  function convExp(value) {
@@ -990,13 +990,13 @@ var DSLCompiler = class {
990
990
  }
991
991
  };
992
992
 
993
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/types.ts
993
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/types.ts
994
994
  var DefaultCompilerContentTypes = ["view", "flow", "schema"];
995
995
  function isDefaultCompilerContentType(t) {
996
996
  return DefaultCompilerContentTypes.includes(t);
997
997
  }
998
998
 
999
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/expressions/native.ts
999
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/expressions/native.ts
1000
1000
  var escapePrimitive = (val) => {
1001
1001
  switch (typeof val) {
1002
1002
  case "string": {
@@ -1042,7 +1042,7 @@ var nand = (...values) => {
1042
1042
  return not(and(...values));
1043
1043
  };
1044
1044
 
1045
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/expressions/testing.ts
1045
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/expressions/testing.ts
1046
1046
  import {
1047
1047
  BindingParser,
1048
1048
  ExpressionEvaluator,
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/components.tsx
1
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/components.tsx
2
2
  import React4 from "react";
3
3
 
4
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/auto-id.tsx
4
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/auto-id.tsx
5
5
  import React from "react";
6
6
  import { flattenNodes } from "react-json-reconciler";
7
7
  var IDSuffixContext = React.createContext("root");
@@ -74,10 +74,10 @@ var ObjectWithIndexTracking = (props) => {
74
74
  return /* @__PURE__ */ React.createElement(OptionalIDSuffixProvider, { wrapperRef: ref }, /* @__PURE__ */ React.createElement("obj", { ref }, props.children));
75
75
  };
76
76
 
77
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/utils.tsx
77
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/utils.tsx
78
78
  import * as React3 from "react";
79
79
 
80
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/string-templates/index.ts
80
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/string-templates/index.ts
81
81
  import * as React2 from "react";
82
82
  import { parseExpression, isErrorWithLocation } from "@player-ui/player";
83
83
  var OpaqueIdentifier = Symbol("TemplateStringType");
@@ -197,7 +197,7 @@ var isBindingTemplateInstance = (val) => {
197
197
  return val !== null && typeof val === "object" && val[OpaqueIdentifier] === true && val.__type === "binding";
198
198
  };
199
199
 
200
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/utils.tsx
200
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/utils.tsx
201
201
  function toArray(val) {
202
202
  return Array.isArray(val) ? val : [val];
203
203
  }
@@ -318,7 +318,7 @@ function mapExpressionHandlersToFunctions(functions) {
318
318
  return result;
319
319
  }
320
320
 
321
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/components.tsx
321
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/components.tsx
322
322
  var SlotContext = React4.createContext(void 0);
323
323
  var AssetWrapper = React4.forwardRef(function AssetWrapper2(props, ref) {
324
324
  const { children, ...rest } = props;
@@ -415,7 +415,7 @@ function createSlot(options) {
415
415
  };
416
416
  }
417
417
 
418
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/switch.tsx
418
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/switch.tsx
419
419
  import React5 from "react";
420
420
  import { flattenNodes as flattenNodes2 } from "react-json-reconciler";
421
421
  var SwitchContext = React5.createContext({});
@@ -485,7 +485,7 @@ var Case = (props) => {
485
485
  };
486
486
  Switch.Case = Case;
487
487
 
488
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/template.tsx
488
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/template.tsx
489
489
  import React6 from "react";
490
490
  import {
491
491
  ArrayNode,
@@ -638,10 +638,10 @@ var Template = (props) => {
638
638
  ), /* @__PURE__ */ React6.createElement("value", { ref: valueRef, value: void 0 })));
639
639
  };
640
640
 
641
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/index.ts
641
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/index.ts
642
642
  export * from "react-json-reconciler";
643
643
 
644
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/schema.ts
644
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/schema.ts
645
645
  import { dequal } from "dequal";
646
646
  import { SyncWaterfallHook } from "tapable-ts";
647
647
  var bindingSymbol = Symbol("binding");
@@ -811,7 +811,7 @@ var getRefStringFromObject = (obj) => {
811
811
  return getBindingFromObject(obj).toRefString();
812
812
  };
813
813
 
814
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/compiler.ts
814
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/compiler.ts
815
815
  import React8 from "react";
816
816
  import { SourceMapGenerator, SourceMapConsumer } from "source-map-js";
817
817
  import { render } from "react-json-reconciler";
@@ -821,7 +821,7 @@ import {
821
821
  SyncHook
822
822
  } from "tapable-ts";
823
823
 
824
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/utils.ts
824
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/utils.ts
825
825
  import React7 from "react";
826
826
  var fingerprintContent = (content, filename) => {
827
827
  if (content !== null || content !== void 0) {
@@ -837,7 +837,7 @@ var fingerprintContent = (content, filename) => {
837
837
  }
838
838
  };
839
839
 
840
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/compiler.ts
840
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/compiler.ts
841
841
  var parseNavigationExpressions = (nav) => {
842
842
  function replaceExpWithStr(obj) {
843
843
  function convExp(value) {
@@ -990,13 +990,13 @@ var DSLCompiler = class {
990
990
  }
991
991
  };
992
992
 
993
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/compiler/types.ts
993
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/compiler/types.ts
994
994
  var DefaultCompilerContentTypes = ["view", "flow", "schema"];
995
995
  function isDefaultCompilerContentType(t) {
996
996
  return DefaultCompilerContentTypes.includes(t);
997
997
  }
998
998
 
999
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/expressions/native.ts
999
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/expressions/native.ts
1000
1000
  var escapePrimitive = (val) => {
1001
1001
  switch (typeof val) {
1002
1002
  case "string": {
@@ -1042,7 +1042,7 @@ var nand = (...values) => {
1042
1042
  return not(and(...values));
1043
1043
  };
1044
1044
 
1045
- // ../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/src/expressions/testing.ts
1045
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/language/dsl/react/src/expressions/testing.ts
1046
1046
  import {
1047
1047
  BindingParser,
1048
1048
  ExpressionEvaluator,