@dovetail-v2/refine 0.0.0 → 0.0.1

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,4 +1,4 @@
1
- import { j as jsxRuntime } from "./index.cbb145c9.js";
1
+ import { j as jsxRuntime } from "./index.2546b518.js";
2
2
  import * as monaco from "monaco-editor";
3
3
  import { useRef, useEffect } from "react";
4
4
  import "@refinedev/core";
@@ -7274,7 +7274,7 @@ const ErrorMsgStyle = "eh2qjnl";
7274
7274
  const ErrorWrapperStyle = "e19q2bnp";
7275
7275
  const YamlEditorStyle = "y16u5v3w";
7276
7276
  const MonacoYamlEditor$2 = React.lazy(() => Promise.resolve().then(() => MonacoYamlEditor$1));
7277
- const MonacoYamlDiffEditor = React.lazy(() => import("./MonacoYamlDiffEditor.15cce01f.js"));
7277
+ const MonacoYamlDiffEditor = React.lazy(() => import("./MonacoYamlDiffEditor.28aa268a.js"));
7278
7278
  const YamlEditorComponent = forwardRef(
7279
7279
  function YamlEditorComponent2(props, ref) {
7280
7280
  const {
@@ -9762,7 +9762,7 @@ const globalStore = new GlobalStore({
9762
9762
  prefix: "default"
9763
9763
  });
9764
9764
  const Dovetail = (props) => {
9765
- const { resourcesConfig } = props;
9765
+ const { resourcesConfig, urlPrefix } = props;
9766
9766
  return /* @__PURE__ */ jsxRuntime.exports.jsx(BrowserRouter, { children: /* @__PURE__ */ jsxRuntime.exports.jsx(
9767
9767
  Refine,
9768
9768
  {
@@ -9792,7 +9792,7 @@ const Dovetail = (props) => {
9792
9792
  }),
9793
9793
  children: /* @__PURE__ */ jsxRuntime.exports.jsx(Layout, { children: /* @__PURE__ */ jsxRuntime.exports.jsxs(Switch, { children: [
9794
9794
  props.children,
9795
- /* @__PURE__ */ jsxRuntime.exports.jsx(ResourceCRUD, { configs: resourcesConfig })
9795
+ /* @__PURE__ */ jsxRuntime.exports.jsx(ResourceCRUD, { configs: resourcesConfig, urlPrefix })
9796
9796
  ] }) })
9797
9797
  }
9798
9798
  ) });
package/dist/refine.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D, K, M, N, c, e, R, d, n, b, a, r, u } from "./index.cbb145c9.js";
1
+ import { D, K, M, N, c, e, R, d, n, b, a, r, u } from "./index.2546b518.js";
2
2
  import "@cloudtower/eagle";
3
3
  import "@refinedev/core";
4
4
  import "js-yaml";
@@ -9777,7 +9777,7 @@ var __publicField = (obj, key, value) => {
9777
9777
  prefix: "default"
9778
9778
  });
9779
9779
  const Dovetail = (props) => {
9780
- const { resourcesConfig } = props;
9780
+ const { resourcesConfig, urlPrefix } = props;
9781
9781
  return /* @__PURE__ */ jsxRuntime.exports.jsx(reactRouterDom.BrowserRouter, { children: /* @__PURE__ */ jsxRuntime.exports.jsx(
9782
9782
  core.Refine,
9783
9783
  {
@@ -9807,7 +9807,7 @@ var __publicField = (obj, key, value) => {
9807
9807
  }),
9808
9808
  children: /* @__PURE__ */ jsxRuntime.exports.jsx(Layout, { children: /* @__PURE__ */ jsxRuntime.exports.jsxs(reactRouterDom.Switch, { children: [
9809
9809
  props.children,
9810
- /* @__PURE__ */ jsxRuntime.exports.jsx(ResourceCRUD, { configs: resourcesConfig })
9810
+ /* @__PURE__ */ jsxRuntime.exports.jsx(ResourceCRUD, { configs: resourcesConfig, urlPrefix })
9811
9811
  ] }) })
9812
9812
  }
9813
9813
  ) });
@@ -5,6 +5,7 @@ import '@cloudtower/eagle/dist/style.css';
5
5
  import { ResourceConfig } from './types';
6
6
  type Props = {
7
7
  resourcesConfig: ResourceConfig[];
8
+ urlPrefix: string;
8
9
  };
9
10
  export declare const Dovetail: React.FC<Props>;
10
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",