@burdenoff/microfe-bigconsole 2026.1008.12 → 2026.1008.13

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.
@@ -6,10 +6,10 @@ import "../components/common/index.js";
6
6
  import te from "../hooks/useDataSinkOperations.js";
7
7
  import { BIGCONSOLE_PERMISSIONS as r } from "../../constants/permissions.js";
8
8
  import { loadBigConsoleSettings as ne } from "../hooks/useBigConsoleSettings.js";
9
- import { isNative as re, nativeCopyText as ie, nativeToast as ae } from "../../utils/nativeBridge.js";
10
- import oe from "../components/datasink/CacheTTLSelector.js";
11
- import se from "../components/datasink/RefreshTypeSelector.js";
12
- import { isDirty as ce } from "../utils/formDirty.js";
9
+ import { isDirty as re } from "../utils/formDirty.js";
10
+ import { isNative as ie, nativeCopyText as ae, nativeToast as oe } from "../../utils/nativeBridge.js";
11
+ import se from "../components/datasink/CacheTTLSelector.js";
12
+ import ce from "../components/datasink/RefreshTypeSelector.js";
13
13
  import { memo as i, useCallback as a, useEffect as o, useMemo as le, useState as s } from "react";
14
14
  import { useParams as ue } from "react-router";
15
15
  import { AccessDenied as de, PermissionButton as fe } from "@burdenoff/fe-libs/shared/components";
@@ -47,7 +47,7 @@ var S = i(function() {
47
47
  ye({
48
48
  id: "datasink-editor",
49
49
  label: C("bigconsole.assistant.unsaved.dataSourceForm", "the data source form"),
50
- dirty: ce(D, k)
50
+ dirty: re(D, k)
51
51
  });
52
52
  let [j, M] = s({}), [N, P] = s(!1), [F, I] = s(!1), [L, R] = s(null), [Te, z] = s(!1), [B, V] = s(!1), [H, U] = s(null), [W, G] = s(null), { loading: Ee, error: K, dataSinks: De, fetchDataSink: q, createDataSink: J, updateDataSink: Y, getDataSinkData: X } = te({ skipFetch: !0 }), Z = w ? De.find((e) => e.id === i) : null;
53
53
  o(() => {
@@ -146,7 +146,7 @@ var S = i(function() {
146
146
  }));
147
147
  }
148
148
  }, [D.data, C]), Ie = a(async () => {
149
- D.key && (await ie(D.key), z(!0), re() && ae(C("bigconsole.dataSinks.builder.toolbar.keyCopied", "Key copied")), setTimeout(() => z(!1), 2e3));
149
+ D.key && (await ae(D.key), z(!0), ie() && oe(C("bigconsole.dataSinks.builder.toolbar.keyCopied", "Key copied")), setTimeout(() => z(!1), 2e3));
150
150
  }, [D.key, C]), $ = a(() => {
151
151
  S("/datasinks");
152
152
  }, [S]), Le = a(async () => {
@@ -403,7 +403,7 @@ var S = i(function() {
403
403
  className: "space-y-2",
404
404
  children: [
405
405
  /* @__PURE__ */ b(_, { children: C("bigconsole.dataSinks.builder.config.cacheDurationLabel", "Cache Duration") }),
406
- /* @__PURE__ */ b(oe, {
406
+ /* @__PURE__ */ b(se, {
407
407
  value: D.ttl,
408
408
  onChange: Me,
409
409
  hideLabel: !0
@@ -413,7 +413,7 @@ var S = i(function() {
413
413
  children: C("bigconsole.dataSinks.builder.config.cacheDurationHelp", "How long cached data remains valid before requiring refresh.")
414
414
  })
415
415
  ]
416
- }), /* @__PURE__ */ b(se, {
416
+ }), /* @__PURE__ */ b(ce, {
417
417
  value: D.refresh,
418
418
  onChange: Ne
419
419
  })] })
@@ -1 +1 @@
1
- {"version":3,"file":"InsightsPage.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/pages/InsightsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAsB,KAAK,EAAE,EAA0C,MAAM,OAAO,CAAC;AAU5F,OAAO,4BAA4B,CAAC;AAugBpC,eAAO,MAAM,YAAY,EAAE,EAw2CzB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"InsightsPage.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/pages/InsightsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAsB,KAAK,EAAE,EAA0C,MAAM,OAAO,CAAC;AAY5F,OAAO,4BAA4B,CAAC;AAugBpC,eAAO,MAAM,YAAY,EAAE,EAs3CzB,CAAC;AAEH,eAAe,YAAY,CAAC"}