@superblocksteam/library 2.0.3 → 2.0.4

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.
Files changed (51) hide show
  1. package/dist/{allPaths-CROgh4Wr.js → allPaths-B2t0JFsE.js} +2 -2
  2. package/dist/{allPaths-CROgh4Wr.js.map → allPaths-B2t0JFsE.js.map} +1 -1
  3. package/dist/{allPaths-Va1k8Bn4.js → allPaths-Ds8PViwH.js} +2 -2
  4. package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-Ds8PViwH.js.map} +1 -1
  5. package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-BwDYmyS1.js} +3 -3
  6. package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-BwDYmyS1.js.map} +1 -1
  7. package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-l2CC2ZRN.js} +3 -3
  8. package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-l2CC2ZRN.js.map} +1 -1
  9. package/dist/{index-CJuRwhWz.js → index-DV7VPZc1.js} +471 -1115
  10. package/dist/{index-CJuRwhWz.js.map → index-DV7VPZc1.js.map} +1 -1
  11. package/dist/index.css +1 -172
  12. package/dist/index.js +149 -149
  13. package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-BsO5Qoxp.js} +2 -2
  14. package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-BsO5Qoxp.js.map} +1 -1
  15. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-CTv2UfGL.js} +2 -2
  16. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-CTv2UfGL.js.map} +1 -1
  17. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +23 -23
  18. package/dist-types/edit-mode/properties.d.ts +1 -1
  19. package/dist-types/internal-testing/components/modal.d.ts +1 -3
  20. package/dist-types/lib/internal-details/lib/devtools.d.ts +1 -0
  21. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +1 -2
  22. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -1
  23. package/dist-types/lib/internal-details/sb-wrapper.d.ts +0 -1
  24. package/dist-types/lib/internal-details/scope/global.d.ts +1 -2
  25. package/dist-types/lib/sb-trigger.d.ts +4 -0
  26. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -4
  27. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +8 -4
  28. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +8 -4
  29. package/dist-types/lib/triggers/registry.d.ts +14 -6
  30. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
  31. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
  32. package/dist-types/lib/user-facing/components/date-picker/types.d.ts +1 -1
  33. package/dist-types/lib/user-facing/components/grid/index.d.ts +1 -2
  34. package/dist-types/lib/user-facing/components/page/index.d.ts +0 -3
  35. package/dist-types/lib/user-facing/components/page/props.d.ts +0 -3
  36. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +9 -12
  37. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
  38. package/dist-types/lib/user-facing/components/table/index.d.ts +9 -12
  39. package/dist-types/lib/user-facing/components/table/props.d.ts +9 -12
  40. package/dist-types/lib/user-facing/components/text/utils.d.ts +1 -2
  41. package/dist-types/lib/user-facing/sb-event-flow.d.ts +2 -4
  42. package/dist-types/lib/user-facing/themes/constants.d.ts +2 -7
  43. package/package.json +4 -3
  44. package/dist/devtools-consolidated-Ck9KuyGf.js +0 -590
  45. package/dist/devtools-consolidated-Ck9KuyGf.js.map +0 -1
  46. package/dist-types/edit-mode/extended-clickable-area.d.ts +0 -8
  47. package/dist-types/lib/internal-details/lib/devtools/devtools-consolidated.d.ts +0 -5
  48. package/dist-types/lib/internal-details/lib/devtools/index.d.ts +0 -4
  49. package/dist-types/lib/internal-details/lib/devtools/serialize-store-data.d.ts +0 -1
  50. package/dist-types/lib/internal-details/scope/types.d.ts +0 -57
  51. package/dist-types/lib/utils/children.d.ts +0 -3
@@ -48,7 +48,7 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
48
48
  var __privateMethod = (obj, member, method4) => (__accessCheck(obj, member, "access private method"), method4);
49
49
  var _removeSourceIdElement_dec, _setSourceIdElement_dec, _setActiveRootInstanceId_dec, _init, _cancelApi_dec, _runApi_dec, _init2, _renameWidget_dec, _setWidgetProperty_dec, _setWidgetProperties_dec, _writeRuntimeProperties_dec, _deleteComponents_dec, _dropComponent_dec, _createComponent_dec, _batchUpdate_dec, _clearPendingTransactions_dec, _addPendingTransaction_dec, _executeOrAddToBatch_dec, _init3, _addOptimisticCreateWidget_dec, _processRootWidget_dec, _init4, _refreshPositionsAndGetDropConstraints_dec, _init5, _updateChildPositions_dec, _setWidgetPosition_dec, _setActiveTargetRect_dec, _setActiveDragRect_dec, _setDropTargetId_dec, _setInvalidDropTarget_dec, _setValidRootIds_dec, _cancelNewComponentDrag_dec, _startNewComponentDrag_dec, _setIsDragging_dec, _setWidgetFeatures_dec, _init6;
50
50
  import * as React from "react";
51
- import React__default, { isValidElement as isValidElement$1, version as version$2, createContext, useContext, useEffect, useRef, useLayoutEffect as useLayoutEffect$2, Component, useState, useMemo as useMemo$2, useCallback, forwardRef, useImperativeHandle, cloneElement as cloneElement$1, createElement, Suspense, Children, memo, useReducer, PureComponent, useSyncExternalStore, createRef } from "react";
51
+ import React__default, { isValidElement as isValidElement$1, version as version$2, createContext, useContext, useEffect, useRef, useLayoutEffect as useLayoutEffect$2, Component, useState, useMemo as useMemo$2, useCallback, forwardRef, useImperativeHandle, cloneElement as cloneElement$1, createElement, Children, memo, useReducer, PureComponent, useSyncExternalStore, Suspense, createRef } from "react";
52
52
  import { S as SvgClose, a as SvgSystemDanger, b as SvgSystemInfo, c as SvgSystemError, d as SvgSystemSuccess, e as SvgPlus, f as SvgHide, g as SvgChevronDown, h as SvgEmptyCheckbox, i as SvgMinus, j as SvgCheckmark, k as SvgCopy, l as SvgExternalLink, m as SvgPlay, n as SvgDownload, o as SvgTrash, p as SvgFilter, q as SvgFreeze, r as SvgSort, s as SvgEllipsis, t as SvgCrossXs, u as SvgClark } from "./icons-NrNO8p_u.js";
53
53
  import * as ReactDOM from "react-dom";
54
54
  import ReactDOM__default, { unstable_batchedUpdates, flushSync, createPortal } from "react-dom";
@@ -5917,11 +5917,18 @@ if (typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === "object") {
5917
5917
  $mobx
5918
5918
  });
5919
5919
  }
5920
+ let internalStores = {};
5921
+ function registerStores(stores) {
5922
+ internalStores = { ...internalStores, ...stores };
5923
+ }
5920
5924
  class ConnectionManager {
5921
5925
  // The status of the connection to the remote dev server
5922
5926
  constructor() {
5923
5927
  __publicField(this, "connectionStatus", "pre-init");
5924
5928
  makeAutoObservable(this);
5929
+ registerStores({
5930
+ ConnectionManager: this
5931
+ });
5925
5932
  }
5926
5933
  initializeSocket() {
5927
5934
  this.connectionStatus = "connecting";
@@ -6031,7 +6038,7 @@ const isDimension = (value) => {
6031
6038
  var Dim;
6032
6039
  (function(Dim2) {
6033
6040
  function isEqual2(a3, b3) {
6034
- return Object.is(a3.mode, b3.mode) && Object.is(a3.value, b3.value);
6041
+ return a3.mode === b3.mode && a3.value === b3.value;
6035
6042
  }
6036
6043
  Dim2.isEqual = isEqual2;
6037
6044
  function build(value, mode) {
@@ -43041,6 +43048,9 @@ class InteractionLayerManager {
43041
43048
  __publicField(this, "activeRootInstanceId");
43042
43049
  __publicField(this, "sourceIdElements", /* @__PURE__ */ new Map());
43043
43050
  makeAutoObservable(this);
43051
+ registerStores({
43052
+ InteractionLayerManager: this
43053
+ });
43044
43054
  }
43045
43055
  setActiveRootInstanceId(rootInstanceId) {
43046
43056
  this.activeRootInstanceId = rootInstanceId;
@@ -43161,14 +43171,10 @@ const RunApisTrigger = {
43161
43171
  const ControlModalTrigger = {
43162
43172
  type: TriggerStepType.CONTROL_MODAL,
43163
43173
  async execute(context2, step) {
43164
- if (step.name === void 0) {
43165
- return;
43166
- }
43167
43174
  context2.rootStore.entityManager.runCode({
43168
43175
  scopeId: context2.scopeId,
43169
43176
  name: context2.name,
43170
43177
  func: (state, step2) => {
43171
- if (!state || !step2.name) return;
43172
43178
  if (step2.direction === "open") {
43173
43179
  state[step2.name].isOpen = true;
43174
43180
  } else {
@@ -43178,11 +43184,10 @@ const ControlModalTrigger = {
43178
43184
  args: [step]
43179
43185
  });
43180
43186
  },
43181
- create(modal, direction) {
43182
- const meta = getBindingIdentifier(modal);
43187
+ create(name, direction) {
43183
43188
  return {
43184
43189
  type: TriggerStepType.CONTROL_MODAL,
43185
- name: meta == null ? void 0 : meta.entityName,
43190
+ name,
43186
43191
  direction
43187
43192
  };
43188
43193
  }
@@ -43656,8 +43661,8 @@ function findDOMNode(node2) {
43656
43661
  }
43657
43662
  return null;
43658
43663
  }
43659
- var reactIs$2 = { exports: {} };
43660
- var reactIs_production_min$2 = {};
43664
+ var reactIs$1 = { exports: {} };
43665
+ var reactIs_production_min$1 = {};
43661
43666
  /**
43662
43667
  * @license React
43663
43668
  * react-is.production.min.js
@@ -43667,10 +43672,10 @@ var reactIs_production_min$2 = {};
43667
43672
  * This source code is licensed under the MIT license found in the
43668
43673
  * LICENSE file in the root directory of this source tree.
43669
43674
  */
43670
- var hasRequiredReactIs_production_min$2;
43671
- function requireReactIs_production_min$2() {
43672
- if (hasRequiredReactIs_production_min$2) return reactIs_production_min$2;
43673
- hasRequiredReactIs_production_min$2 = 1;
43675
+ var hasRequiredReactIs_production_min$1;
43676
+ function requireReactIs_production_min$1() {
43677
+ if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
43678
+ hasRequiredReactIs_production_min$1 = 1;
43674
43679
  var b3 = Symbol.for("react.element"), c3 = Symbol.for("react.portal"), d3 = Symbol.for("react.fragment"), e3 = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g2 = Symbol.for("react.provider"), h3 = Symbol.for("react.context"), k2 = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m4 = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q3 = Symbol.for("react.lazy"), t3 = Symbol.for("react.offscreen"), u2;
43675
43680
  u2 = Symbol.for("react.module.reference");
43676
43681
  function v2(a3) {
@@ -43703,71 +43708,71 @@ function requireReactIs_production_min$2() {
43703
43708
  }
43704
43709
  }
43705
43710
  }
43706
- reactIs_production_min$2.ContextConsumer = h3;
43707
- reactIs_production_min$2.ContextProvider = g2;
43708
- reactIs_production_min$2.Element = b3;
43709
- reactIs_production_min$2.ForwardRef = l;
43710
- reactIs_production_min$2.Fragment = d3;
43711
- reactIs_production_min$2.Lazy = q3;
43712
- reactIs_production_min$2.Memo = p;
43713
- reactIs_production_min$2.Portal = c3;
43714
- reactIs_production_min$2.Profiler = f;
43715
- reactIs_production_min$2.StrictMode = e3;
43716
- reactIs_production_min$2.Suspense = m4;
43717
- reactIs_production_min$2.SuspenseList = n2;
43718
- reactIs_production_min$2.isAsyncMode = function() {
43711
+ reactIs_production_min$1.ContextConsumer = h3;
43712
+ reactIs_production_min$1.ContextProvider = g2;
43713
+ reactIs_production_min$1.Element = b3;
43714
+ reactIs_production_min$1.ForwardRef = l;
43715
+ reactIs_production_min$1.Fragment = d3;
43716
+ reactIs_production_min$1.Lazy = q3;
43717
+ reactIs_production_min$1.Memo = p;
43718
+ reactIs_production_min$1.Portal = c3;
43719
+ reactIs_production_min$1.Profiler = f;
43720
+ reactIs_production_min$1.StrictMode = e3;
43721
+ reactIs_production_min$1.Suspense = m4;
43722
+ reactIs_production_min$1.SuspenseList = n2;
43723
+ reactIs_production_min$1.isAsyncMode = function() {
43719
43724
  return false;
43720
43725
  };
43721
- reactIs_production_min$2.isConcurrentMode = function() {
43726
+ reactIs_production_min$1.isConcurrentMode = function() {
43722
43727
  return false;
43723
43728
  };
43724
- reactIs_production_min$2.isContextConsumer = function(a3) {
43729
+ reactIs_production_min$1.isContextConsumer = function(a3) {
43725
43730
  return v2(a3) === h3;
43726
43731
  };
43727
- reactIs_production_min$2.isContextProvider = function(a3) {
43732
+ reactIs_production_min$1.isContextProvider = function(a3) {
43728
43733
  return v2(a3) === g2;
43729
43734
  };
43730
- reactIs_production_min$2.isElement = function(a3) {
43735
+ reactIs_production_min$1.isElement = function(a3) {
43731
43736
  return "object" === typeof a3 && null !== a3 && a3.$$typeof === b3;
43732
43737
  };
43733
- reactIs_production_min$2.isForwardRef = function(a3) {
43738
+ reactIs_production_min$1.isForwardRef = function(a3) {
43734
43739
  return v2(a3) === l;
43735
43740
  };
43736
- reactIs_production_min$2.isFragment = function(a3) {
43741
+ reactIs_production_min$1.isFragment = function(a3) {
43737
43742
  return v2(a3) === d3;
43738
43743
  };
43739
- reactIs_production_min$2.isLazy = function(a3) {
43744
+ reactIs_production_min$1.isLazy = function(a3) {
43740
43745
  return v2(a3) === q3;
43741
43746
  };
43742
- reactIs_production_min$2.isMemo = function(a3) {
43747
+ reactIs_production_min$1.isMemo = function(a3) {
43743
43748
  return v2(a3) === p;
43744
43749
  };
43745
- reactIs_production_min$2.isPortal = function(a3) {
43750
+ reactIs_production_min$1.isPortal = function(a3) {
43746
43751
  return v2(a3) === c3;
43747
43752
  };
43748
- reactIs_production_min$2.isProfiler = function(a3) {
43753
+ reactIs_production_min$1.isProfiler = function(a3) {
43749
43754
  return v2(a3) === f;
43750
43755
  };
43751
- reactIs_production_min$2.isStrictMode = function(a3) {
43756
+ reactIs_production_min$1.isStrictMode = function(a3) {
43752
43757
  return v2(a3) === e3;
43753
43758
  };
43754
- reactIs_production_min$2.isSuspense = function(a3) {
43759
+ reactIs_production_min$1.isSuspense = function(a3) {
43755
43760
  return v2(a3) === m4;
43756
43761
  };
43757
- reactIs_production_min$2.isSuspenseList = function(a3) {
43762
+ reactIs_production_min$1.isSuspenseList = function(a3) {
43758
43763
  return v2(a3) === n2;
43759
43764
  };
43760
- reactIs_production_min$2.isValidElementType = function(a3) {
43765
+ reactIs_production_min$1.isValidElementType = function(a3) {
43761
43766
  return "string" === typeof a3 || "function" === typeof a3 || a3 === d3 || a3 === f || a3 === e3 || a3 === m4 || a3 === n2 || a3 === t3 || "object" === typeof a3 && null !== a3 && (a3.$$typeof === q3 || a3.$$typeof === p || a3.$$typeof === g2 || a3.$$typeof === h3 || a3.$$typeof === l || a3.$$typeof === u2 || void 0 !== a3.getModuleId) ? true : false;
43762
43767
  };
43763
- reactIs_production_min$2.typeOf = v2;
43764
- return reactIs_production_min$2;
43768
+ reactIs_production_min$1.typeOf = v2;
43769
+ return reactIs_production_min$1;
43765
43770
  }
43766
- var reactIs_development$2 = {};
43767
- var hasRequiredReactIs_development$2;
43768
- function requireReactIs_development$2() {
43769
- if (hasRequiredReactIs_development$2) return reactIs_development$2;
43770
- hasRequiredReactIs_development$2 = 1;
43771
+ var reactIs_development$1 = {};
43772
+ var hasRequiredReactIs_development$1;
43773
+ function requireReactIs_development$1() {
43774
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
43775
+ hasRequiredReactIs_development$1 = 1;
43771
43776
  var define_process_env_default2 = {};
43772
43777
  /**
43773
43778
  * @license React
@@ -43922,51 +43927,51 @@ function requireReactIs_development$2() {
43922
43927
  function isSuspenseList(object4) {
43923
43928
  return typeOf(object4) === REACT_SUSPENSE_LIST_TYPE;
43924
43929
  }
43925
- reactIs_development$2.ContextConsumer = ContextConsumer;
43926
- reactIs_development$2.ContextProvider = ContextProvider;
43927
- reactIs_development$2.Element = Element3;
43928
- reactIs_development$2.ForwardRef = ForwardRef;
43929
- reactIs_development$2.Fragment = Fragment;
43930
- reactIs_development$2.Lazy = Lazy;
43931
- reactIs_development$2.Memo = Memo;
43932
- reactIs_development$2.Portal = Portal2;
43933
- reactIs_development$2.Profiler = Profiler;
43934
- reactIs_development$2.StrictMode = StrictMode;
43935
- reactIs_development$2.Suspense = Suspense2;
43936
- reactIs_development$2.SuspenseList = SuspenseList;
43937
- reactIs_development$2.isAsyncMode = isAsyncMode;
43938
- reactIs_development$2.isConcurrentMode = isConcurrentMode;
43939
- reactIs_development$2.isContextConsumer = isContextConsumer;
43940
- reactIs_development$2.isContextProvider = isContextProvider;
43941
- reactIs_development$2.isElement = isElement2;
43942
- reactIs_development$2.isForwardRef = isForwardRef;
43943
- reactIs_development$2.isFragment = isFragment2;
43944
- reactIs_development$2.isLazy = isLazy;
43945
- reactIs_development$2.isMemo = isMemo;
43946
- reactIs_development$2.isPortal = isPortal;
43947
- reactIs_development$2.isProfiler = isProfiler;
43948
- reactIs_development$2.isStrictMode = isStrictMode;
43949
- reactIs_development$2.isSuspense = isSuspense;
43950
- reactIs_development$2.isSuspenseList = isSuspenseList;
43951
- reactIs_development$2.isValidElementType = isValidElementType;
43952
- reactIs_development$2.typeOf = typeOf;
43930
+ reactIs_development$1.ContextConsumer = ContextConsumer;
43931
+ reactIs_development$1.ContextProvider = ContextProvider;
43932
+ reactIs_development$1.Element = Element3;
43933
+ reactIs_development$1.ForwardRef = ForwardRef;
43934
+ reactIs_development$1.Fragment = Fragment;
43935
+ reactIs_development$1.Lazy = Lazy;
43936
+ reactIs_development$1.Memo = Memo;
43937
+ reactIs_development$1.Portal = Portal2;
43938
+ reactIs_development$1.Profiler = Profiler;
43939
+ reactIs_development$1.StrictMode = StrictMode;
43940
+ reactIs_development$1.Suspense = Suspense2;
43941
+ reactIs_development$1.SuspenseList = SuspenseList;
43942
+ reactIs_development$1.isAsyncMode = isAsyncMode;
43943
+ reactIs_development$1.isConcurrentMode = isConcurrentMode;
43944
+ reactIs_development$1.isContextConsumer = isContextConsumer;
43945
+ reactIs_development$1.isContextProvider = isContextProvider;
43946
+ reactIs_development$1.isElement = isElement2;
43947
+ reactIs_development$1.isForwardRef = isForwardRef;
43948
+ reactIs_development$1.isFragment = isFragment2;
43949
+ reactIs_development$1.isLazy = isLazy;
43950
+ reactIs_development$1.isMemo = isMemo;
43951
+ reactIs_development$1.isPortal = isPortal;
43952
+ reactIs_development$1.isProfiler = isProfiler;
43953
+ reactIs_development$1.isStrictMode = isStrictMode;
43954
+ reactIs_development$1.isSuspense = isSuspense;
43955
+ reactIs_development$1.isSuspenseList = isSuspenseList;
43956
+ reactIs_development$1.isValidElementType = isValidElementType;
43957
+ reactIs_development$1.typeOf = typeOf;
43953
43958
  })();
43954
43959
  }
43955
- return reactIs_development$2;
43960
+ return reactIs_development$1;
43956
43961
  }
43957
- var hasRequiredReactIs$2;
43958
- function requireReactIs$2() {
43959
- if (hasRequiredReactIs$2) return reactIs$2.exports;
43960
- hasRequiredReactIs$2 = 1;
43962
+ var hasRequiredReactIs$1;
43963
+ function requireReactIs$1() {
43964
+ if (hasRequiredReactIs$1) return reactIs$1.exports;
43965
+ hasRequiredReactIs$1 = 1;
43961
43966
  var define_process_env_default2 = {};
43962
43967
  if (define_process_env_default2.NODE_ENV === "production") {
43963
- reactIs$2.exports = requireReactIs_production_min$2();
43968
+ reactIs$1.exports = requireReactIs_production_min$1();
43964
43969
  } else {
43965
- reactIs$2.exports = requireReactIs_development$2();
43970
+ reactIs$1.exports = requireReactIs_development$1();
43966
43971
  }
43967
- return reactIs$2.exports;
43972
+ return reactIs$1.exports;
43968
43973
  }
43969
- var reactIsExports$1 = requireReactIs$2();
43974
+ var reactIsExports = requireReactIs$1();
43970
43975
  function useMemo$1(getValue2, condition, shouldUpdate) {
43971
43976
  var cacheRef = React.useRef({});
43972
43977
  if (!("value" in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {
@@ -44017,11 +44022,11 @@ var supportRef = function supportRef2(nodeOrComponent) {
44017
44022
  if (isReactElement$2(nodeOrComponent) && ReactMajorVersion >= 19) {
44018
44023
  return true;
44019
44024
  }
44020
- var type5 = reactIsExports$1.isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
44021
- if (typeof type5 === "function" && !((_type$prototype = type5.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type5.$$typeof !== reactIsExports$1.ForwardRef) {
44025
+ var type5 = reactIsExports.isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
44026
+ if (typeof type5 === "function" && !((_type$prototype = type5.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render) && type5.$$typeof !== reactIsExports.ForwardRef) {
44022
44027
  return false;
44023
44028
  }
44024
- if (typeof nodeOrComponent === "function" && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== reactIsExports$1.ForwardRef) {
44029
+ if (typeof nodeOrComponent === "function" && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== reactIsExports.ForwardRef) {
44025
44030
  return false;
44026
44031
  }
44027
44032
  return true;
@@ -76408,317 +76413,6 @@ function requireCopyToClipboard() {
76408
76413
  }
76409
76414
  var copyToClipboardExports = requireCopyToClipboard();
76410
76415
  const copy$1 = /* @__PURE__ */ getDefaultExportFromCjs(copyToClipboardExports);
76411
- var reactIs$1 = { exports: {} };
76412
- var reactIs_production_min$1 = {};
76413
- /**
76414
- * @license React
76415
- * react-is.production.min.js
76416
- *
76417
- * Copyright (c) Facebook, Inc. and its affiliates.
76418
- *
76419
- * This source code is licensed under the MIT license found in the
76420
- * LICENSE file in the root directory of this source tree.
76421
- */
76422
- var hasRequiredReactIs_production_min$1;
76423
- function requireReactIs_production_min$1() {
76424
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
76425
- hasRequiredReactIs_production_min$1 = 1;
76426
- var b3 = Symbol.for("react.element"), c3 = Symbol.for("react.portal"), d3 = Symbol.for("react.fragment"), e3 = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g2 = Symbol.for("react.provider"), h3 = Symbol.for("react.context"), k2 = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m4 = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q3 = Symbol.for("react.lazy"), t3 = Symbol.for("react.offscreen"), u2;
76427
- u2 = Symbol.for("react.module.reference");
76428
- function v2(a3) {
76429
- if ("object" === typeof a3 && null !== a3) {
76430
- var r2 = a3.$$typeof;
76431
- switch (r2) {
76432
- case b3:
76433
- switch (a3 = a3.type, a3) {
76434
- case d3:
76435
- case f:
76436
- case e3:
76437
- case m4:
76438
- case n2:
76439
- return a3;
76440
- default:
76441
- switch (a3 = a3 && a3.$$typeof, a3) {
76442
- case k2:
76443
- case h3:
76444
- case l:
76445
- case q3:
76446
- case p:
76447
- case g2:
76448
- return a3;
76449
- default:
76450
- return r2;
76451
- }
76452
- }
76453
- case c3:
76454
- return r2;
76455
- }
76456
- }
76457
- }
76458
- reactIs_production_min$1.ContextConsumer = h3;
76459
- reactIs_production_min$1.ContextProvider = g2;
76460
- reactIs_production_min$1.Element = b3;
76461
- reactIs_production_min$1.ForwardRef = l;
76462
- reactIs_production_min$1.Fragment = d3;
76463
- reactIs_production_min$1.Lazy = q3;
76464
- reactIs_production_min$1.Memo = p;
76465
- reactIs_production_min$1.Portal = c3;
76466
- reactIs_production_min$1.Profiler = f;
76467
- reactIs_production_min$1.StrictMode = e3;
76468
- reactIs_production_min$1.Suspense = m4;
76469
- reactIs_production_min$1.SuspenseList = n2;
76470
- reactIs_production_min$1.isAsyncMode = function() {
76471
- return false;
76472
- };
76473
- reactIs_production_min$1.isConcurrentMode = function() {
76474
- return false;
76475
- };
76476
- reactIs_production_min$1.isContextConsumer = function(a3) {
76477
- return v2(a3) === h3;
76478
- };
76479
- reactIs_production_min$1.isContextProvider = function(a3) {
76480
- return v2(a3) === g2;
76481
- };
76482
- reactIs_production_min$1.isElement = function(a3) {
76483
- return "object" === typeof a3 && null !== a3 && a3.$$typeof === b3;
76484
- };
76485
- reactIs_production_min$1.isForwardRef = function(a3) {
76486
- return v2(a3) === l;
76487
- };
76488
- reactIs_production_min$1.isFragment = function(a3) {
76489
- return v2(a3) === d3;
76490
- };
76491
- reactIs_production_min$1.isLazy = function(a3) {
76492
- return v2(a3) === q3;
76493
- };
76494
- reactIs_production_min$1.isMemo = function(a3) {
76495
- return v2(a3) === p;
76496
- };
76497
- reactIs_production_min$1.isPortal = function(a3) {
76498
- return v2(a3) === c3;
76499
- };
76500
- reactIs_production_min$1.isProfiler = function(a3) {
76501
- return v2(a3) === f;
76502
- };
76503
- reactIs_production_min$1.isStrictMode = function(a3) {
76504
- return v2(a3) === e3;
76505
- };
76506
- reactIs_production_min$1.isSuspense = function(a3) {
76507
- return v2(a3) === m4;
76508
- };
76509
- reactIs_production_min$1.isSuspenseList = function(a3) {
76510
- return v2(a3) === n2;
76511
- };
76512
- reactIs_production_min$1.isValidElementType = function(a3) {
76513
- return "string" === typeof a3 || "function" === typeof a3 || a3 === d3 || a3 === f || a3 === e3 || a3 === m4 || a3 === n2 || a3 === t3 || "object" === typeof a3 && null !== a3 && (a3.$$typeof === q3 || a3.$$typeof === p || a3.$$typeof === g2 || a3.$$typeof === h3 || a3.$$typeof === l || a3.$$typeof === u2 || void 0 !== a3.getModuleId) ? true : false;
76514
- };
76515
- reactIs_production_min$1.typeOf = v2;
76516
- return reactIs_production_min$1;
76517
- }
76518
- var reactIs_development$1 = {};
76519
- var hasRequiredReactIs_development$1;
76520
- function requireReactIs_development$1() {
76521
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
76522
- hasRequiredReactIs_development$1 = 1;
76523
- var define_process_env_default2 = {};
76524
- /**
76525
- * @license React
76526
- * react-is.development.js
76527
- *
76528
- * Copyright (c) Facebook, Inc. and its affiliates.
76529
- *
76530
- * This source code is licensed under the MIT license found in the
76531
- * LICENSE file in the root directory of this source tree.
76532
- */
76533
- if (define_process_env_default2.NODE_ENV !== "production") {
76534
- (function() {
76535
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
76536
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
76537
- var REACT_FRAGMENT_TYPE2 = Symbol.for("react.fragment");
76538
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
76539
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
76540
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
76541
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
76542
- var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
76543
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
76544
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
76545
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
76546
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
76547
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
76548
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
76549
- var enableScopeAPI = false;
76550
- var enableCacheElement = false;
76551
- var enableTransitionTracing = false;
76552
- var enableLegacyHidden = false;
76553
- var enableDebugTracing = false;
76554
- var REACT_MODULE_REFERENCE;
76555
- {
76556
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
76557
- }
76558
- function isValidElementType(type5) {
76559
- if (typeof type5 === "string" || typeof type5 === "function") {
76560
- return true;
76561
- }
76562
- if (type5 === REACT_FRAGMENT_TYPE2 || type5 === REACT_PROFILER_TYPE || enableDebugTracing || type5 === REACT_STRICT_MODE_TYPE || type5 === REACT_SUSPENSE_TYPE || type5 === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type5 === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
76563
- return true;
76564
- }
76565
- if (typeof type5 === "object" && type5 !== null) {
76566
- if (type5.$$typeof === REACT_LAZY_TYPE || type5.$$typeof === REACT_MEMO_TYPE || type5.$$typeof === REACT_PROVIDER_TYPE || type5.$$typeof === REACT_CONTEXT_TYPE || type5.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
76567
- // types supported by any Flight configuration anywhere since
76568
- // we don't know which Flight build this will end up being used
76569
- // with.
76570
- type5.$$typeof === REACT_MODULE_REFERENCE || type5.getModuleId !== void 0) {
76571
- return true;
76572
- }
76573
- }
76574
- return false;
76575
- }
76576
- function typeOf(object4) {
76577
- if (typeof object4 === "object" && object4 !== null) {
76578
- var $$typeof = object4.$$typeof;
76579
- switch ($$typeof) {
76580
- case REACT_ELEMENT_TYPE:
76581
- var type5 = object4.type;
76582
- switch (type5) {
76583
- case REACT_FRAGMENT_TYPE2:
76584
- case REACT_PROFILER_TYPE:
76585
- case REACT_STRICT_MODE_TYPE:
76586
- case REACT_SUSPENSE_TYPE:
76587
- case REACT_SUSPENSE_LIST_TYPE:
76588
- return type5;
76589
- default:
76590
- var $$typeofType = type5 && type5.$$typeof;
76591
- switch ($$typeofType) {
76592
- case REACT_SERVER_CONTEXT_TYPE:
76593
- case REACT_CONTEXT_TYPE:
76594
- case REACT_FORWARD_REF_TYPE:
76595
- case REACT_LAZY_TYPE:
76596
- case REACT_MEMO_TYPE:
76597
- case REACT_PROVIDER_TYPE:
76598
- return $$typeofType;
76599
- default:
76600
- return $$typeof;
76601
- }
76602
- }
76603
- case REACT_PORTAL_TYPE:
76604
- return $$typeof;
76605
- }
76606
- }
76607
- return void 0;
76608
- }
76609
- var ContextConsumer = REACT_CONTEXT_TYPE;
76610
- var ContextProvider = REACT_PROVIDER_TYPE;
76611
- var Element3 = REACT_ELEMENT_TYPE;
76612
- var ForwardRef = REACT_FORWARD_REF_TYPE;
76613
- var Fragment = REACT_FRAGMENT_TYPE2;
76614
- var Lazy = REACT_LAZY_TYPE;
76615
- var Memo = REACT_MEMO_TYPE;
76616
- var Portal2 = REACT_PORTAL_TYPE;
76617
- var Profiler = REACT_PROFILER_TYPE;
76618
- var StrictMode = REACT_STRICT_MODE_TYPE;
76619
- var Suspense2 = REACT_SUSPENSE_TYPE;
76620
- var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
76621
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
76622
- var hasWarnedAboutDeprecatedIsConcurrentMode = false;
76623
- function isAsyncMode(object4) {
76624
- {
76625
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
76626
- hasWarnedAboutDeprecatedIsAsyncMode = true;
76627
- console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
76628
- }
76629
- }
76630
- return false;
76631
- }
76632
- function isConcurrentMode(object4) {
76633
- {
76634
- if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
76635
- hasWarnedAboutDeprecatedIsConcurrentMode = true;
76636
- console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
76637
- }
76638
- }
76639
- return false;
76640
- }
76641
- function isContextConsumer(object4) {
76642
- return typeOf(object4) === REACT_CONTEXT_TYPE;
76643
- }
76644
- function isContextProvider(object4) {
76645
- return typeOf(object4) === REACT_PROVIDER_TYPE;
76646
- }
76647
- function isElement2(object4) {
76648
- return typeof object4 === "object" && object4 !== null && object4.$$typeof === REACT_ELEMENT_TYPE;
76649
- }
76650
- function isForwardRef(object4) {
76651
- return typeOf(object4) === REACT_FORWARD_REF_TYPE;
76652
- }
76653
- function isFragment2(object4) {
76654
- return typeOf(object4) === REACT_FRAGMENT_TYPE2;
76655
- }
76656
- function isLazy(object4) {
76657
- return typeOf(object4) === REACT_LAZY_TYPE;
76658
- }
76659
- function isMemo(object4) {
76660
- return typeOf(object4) === REACT_MEMO_TYPE;
76661
- }
76662
- function isPortal(object4) {
76663
- return typeOf(object4) === REACT_PORTAL_TYPE;
76664
- }
76665
- function isProfiler(object4) {
76666
- return typeOf(object4) === REACT_PROFILER_TYPE;
76667
- }
76668
- function isStrictMode(object4) {
76669
- return typeOf(object4) === REACT_STRICT_MODE_TYPE;
76670
- }
76671
- function isSuspense(object4) {
76672
- return typeOf(object4) === REACT_SUSPENSE_TYPE;
76673
- }
76674
- function isSuspenseList(object4) {
76675
- return typeOf(object4) === REACT_SUSPENSE_LIST_TYPE;
76676
- }
76677
- reactIs_development$1.ContextConsumer = ContextConsumer;
76678
- reactIs_development$1.ContextProvider = ContextProvider;
76679
- reactIs_development$1.Element = Element3;
76680
- reactIs_development$1.ForwardRef = ForwardRef;
76681
- reactIs_development$1.Fragment = Fragment;
76682
- reactIs_development$1.Lazy = Lazy;
76683
- reactIs_development$1.Memo = Memo;
76684
- reactIs_development$1.Portal = Portal2;
76685
- reactIs_development$1.Profiler = Profiler;
76686
- reactIs_development$1.StrictMode = StrictMode;
76687
- reactIs_development$1.Suspense = Suspense2;
76688
- reactIs_development$1.SuspenseList = SuspenseList;
76689
- reactIs_development$1.isAsyncMode = isAsyncMode;
76690
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
76691
- reactIs_development$1.isContextConsumer = isContextConsumer;
76692
- reactIs_development$1.isContextProvider = isContextProvider;
76693
- reactIs_development$1.isElement = isElement2;
76694
- reactIs_development$1.isForwardRef = isForwardRef;
76695
- reactIs_development$1.isFragment = isFragment2;
76696
- reactIs_development$1.isLazy = isLazy;
76697
- reactIs_development$1.isMemo = isMemo;
76698
- reactIs_development$1.isPortal = isPortal;
76699
- reactIs_development$1.isProfiler = isProfiler;
76700
- reactIs_development$1.isStrictMode = isStrictMode;
76701
- reactIs_development$1.isSuspense = isSuspense;
76702
- reactIs_development$1.isSuspenseList = isSuspenseList;
76703
- reactIs_development$1.isValidElementType = isValidElementType;
76704
- reactIs_development$1.typeOf = typeOf;
76705
- })();
76706
- }
76707
- return reactIs_development$1;
76708
- }
76709
- var hasRequiredReactIs$1;
76710
- function requireReactIs$1() {
76711
- if (hasRequiredReactIs$1) return reactIs$1.exports;
76712
- hasRequiredReactIs$1 = 1;
76713
- var define_process_env_default2 = {};
76714
- if (define_process_env_default2.NODE_ENV === "production") {
76715
- reactIs$1.exports = requireReactIs_production_min$1();
76716
- } else {
76717
- reactIs$1.exports = requireReactIs_development$1();
76718
- }
76719
- return reactIs$1.exports;
76720
- }
76721
- var reactIsExports = requireReactIs$1();
76722
76416
  function stylis_min(W2) {
76723
76417
  function M4(d3, c3, e3, h3, a3) {
76724
76418
  for (var m4 = 0, b3 = 0, v2 = 0, n2 = 0, q3, g2, x3 = 0, K3 = 0, k2, u2 = k2 = q3 = 0, l = 0, r2 = 0, I3 = 0, t3 = 0, B4 = e3.length, J2 = B4 - 1, y4, f = "", p = "", F3 = "", G4 = "", C2; l < B4; ) {
@@ -78414,33 +78108,38 @@ const ShowAlertTrigger = {
78414
78108
  };
78415
78109
  const ResetStateVarTrigger = {
78416
78110
  type: TriggerStepType.RESET_STATE_VAR,
78417
- async execute(context2, step) {
78418
- if (step.state === void 0) {
78111
+ async execute(context2, _step) {
78112
+ if (_step.state === void 0) {
78419
78113
  return;
78420
78114
  }
78115
+ const step = _step;
78421
78116
  context2.rootStore.entityManager.runCode({
78422
78117
  scopeId: context2.scopeId,
78423
78118
  name: context2.name,
78424
- func: () => {
78425
- var _a2;
78426
- return (_a2 = step.state) == null ? void 0 : _a2.set(step.state.defaultValue);
78427
- },
78428
- args: []
78119
+ func: (state, step2) => state[step2.state.name].value = state[step2.state.name].defaultValue,
78120
+ args: [step]
78429
78121
  });
78430
78122
  },
78431
78123
  create(stateVar) {
78124
+ const meta = getBindingIdentifier(stateVar);
78125
+ const state = meta ? {
78126
+ name: meta.entityName,
78127
+ scopeId: stateVar == null ? void 0 : stateVar.scopeId,
78128
+ scope: stateVar == null ? void 0 : stateVar.scope
78129
+ } : void 0;
78432
78130
  return {
78433
78131
  type: TriggerStepType.RESET_STATE_VAR,
78434
- state: stateVar
78132
+ state
78435
78133
  };
78436
78134
  }
78437
78135
  };
78438
78136
  const SetStateVarTrigger = {
78439
78137
  type: TriggerStepType.SET_STATE_VAR,
78440
- async execute(context2, step) {
78441
- if (step.state === void 0) {
78138
+ async execute(context2, _step) {
78139
+ if (_step.state === void 0) {
78442
78140
  return;
78443
78141
  }
78142
+ const step = _step;
78444
78143
  const value = context2.rootStore.entityManager.computeValue({
78445
78144
  scopeId: context2.scopeId,
78446
78145
  name: context2.name,
@@ -78449,18 +78148,22 @@ const SetStateVarTrigger = {
78449
78148
  context2.rootStore.entityManager.runCode({
78450
78149
  scopeId: context2.scopeId,
78451
78150
  name: context2.name,
78452
- func: (state, value2) => {
78453
- var _a2;
78151
+ func: (state, value2, step2) => {
78454
78152
  if (!state) return;
78455
- (_a2 = step.state) == null ? void 0 : _a2.set(value2);
78153
+ state[step2.state.name].value = value2;
78456
78154
  },
78457
- args: [value]
78155
+ args: [value, step]
78458
78156
  });
78459
78157
  },
78460
78158
  create(stateVar, value) {
78159
+ const meta = getBindingIdentifier(stateVar);
78461
78160
  return {
78462
78161
  type: TriggerStepType.SET_STATE_VAR,
78463
- state: stateVar,
78162
+ state: meta ? {
78163
+ name: meta.entityName,
78164
+ scopeId: stateVar == null ? void 0 : stateVar.scopeId,
78165
+ scope: stateVar == null ? void 0 : stateVar.scope
78166
+ } : void 0,
78464
78167
  value
78465
78168
  };
78466
78169
  }
@@ -82741,18 +82444,6 @@ const VALIDATORS = {
82741
82444
  }
82742
82445
  }
82743
82446
  };
82744
- function mergeRelations(existingRelations, relations) {
82745
- if (!existingRelations || existingRelations.length === 0) {
82746
- return relations;
82747
- }
82748
- if (!relations || relations.length === 0) {
82749
- return existingRelations;
82750
- }
82751
- const mergedRelations = existingRelations && existingRelations.length > 0 ? existingRelations.flatMap(
82752
- (existing) => relations.map((relation) => [...existing, ...relation])
82753
- ) : relations;
82754
- return mergedRelations;
82755
- }
82756
82447
  function getChildren(input, path2, entity, scopedState) {
82757
82448
  function getChildrenFromSection(section) {
82758
82449
  return Object.keys(section.props).reduce(
@@ -83189,16 +82880,6 @@ class UnionProp extends Prop {
83189
82880
  getProps() {
83190
82881
  const sharedKeys = Object.keys(this.shared);
83191
82882
  const variants = this.variants;
83192
- const preMergeRelationsMap = variants.reduce(
83193
- (acc, v2) => {
83194
- Object.entries(v2).forEach(([key2, prop]) => {
83195
- if (acc[key2]) return;
83196
- acc[key2] = prop.getRelations() ?? [];
83197
- });
83198
- return acc;
83199
- },
83200
- {}
83201
- );
83202
82883
  const mergedVariants = variants.reduce(
83203
82884
  (acc, v2) => {
83204
82885
  const variantConstants = Object.entries(v2).filter(
@@ -83212,18 +82893,9 @@ class UnionProp extends Prop {
83212
82893
  });
83213
82894
  const filteredVariant = Object.fromEntries(
83214
82895
  Object.entries(v2).filter(([key2]) => !sharedKeys.includes(key2)).map(([key2, prop]) => {
83215
- const existingRelations = (prop == null ? void 0 : prop.getRelations()) ?? [];
83216
- const preMergeRelations = preMergeRelationsMap[key2];
83217
- const existingNonPreMergeRelations = existingRelations.filter(
83218
- (r2) => !preMergeRelations.some((p) => p === r2)
83219
- );
83220
- return [
83221
- key2,
83222
- prop.dependsOn([
83223
- ...existingNonPreMergeRelations,
83224
- ...mergeRelations(preMergeRelations, [relations])
83225
- ])
83226
- ];
82896
+ var _a2;
82897
+ const existingRelations = ((_a2 = acc[key2]) == null ? void 0 : _a2.getRelations()) ?? [];
82898
+ return [key2, prop.dependsOn([...existingRelations, relations])];
83227
82899
  })
83228
82900
  );
83229
82901
  return { ...acc, ...filteredVariant };
@@ -83495,35 +83167,6 @@ function requireRfdc() {
83495
83167
  var rfdcExports = requireRfdc();
83496
83168
  const clone$3 = /* @__PURE__ */ getDefaultExportFromCjs(rfdcExports);
83497
83169
  const fastClone$1 = clone$3({});
83498
- let internalStores = {};
83499
- const SUPPORTED_MODES = ["local-dev"];
83500
- function registerStores(stores) {
83501
- internalStores = { ...internalStores, ...stores };
83502
- if (SUPPORTED_MODES.includes("production")) {
83503
- if (Object.keys(internalStores).length === Object.keys(stores).length) {
83504
- import("./devtools-consolidated-Ck9KuyGf.js").then(({ initializeCustomDevTools, setRegisteredStores }) => {
83505
- setRegisteredStores(internalStores);
83506
- initializeCustomDevTools();
83507
- }).catch((error) => {
83508
- console.warn(
83509
- "[DevTools] Failed to initialize custom devtools:",
83510
- error
83511
- );
83512
- });
83513
- }
83514
- }
83515
- }
83516
- const DevToolsInternal = React__default.lazy(() => {
83517
- return import("./devtools-consolidated-Ck9KuyGf.js").then((module2) => ({
83518
- default: module2.CustomDevTools
83519
- }));
83520
- });
83521
- const DevTools = () => {
83522
- if (!SUPPORTED_MODES.includes("production")) {
83523
- return null;
83524
- }
83525
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DevToolsInternal, {}) });
83526
- };
83527
83170
  const ARGS_VAR_NAME = "$SB_args";
83528
83171
  const USER_JS_CODE_VAR_NAME = "$SB_userJSCode";
83529
83172
  const SNAPSHOT_VAR_NAME = "$SB_snapshot";
@@ -83865,11 +83508,11 @@ class SbEventFlow {
83865
83508
  EventRegistry.controlSlideout.create(slideoutId, action2)
83866
83509
  );
83867
83510
  }
83868
- static controlModal(modal, action2) {
83869
- return SbEventFlow.start().controlModal(modal, action2);
83511
+ static controlModal(modalId, action2) {
83512
+ return SbEventFlow.start().controlModal(modalId, action2);
83870
83513
  }
83871
- controlModal(modal, action2) {
83872
- return this.addStep(EventRegistry.controlModal.create(modal, action2));
83514
+ controlModal(modalId, action2) {
83515
+ return this.addStep(EventRegistry.controlModal.create(modalId, action2));
83873
83516
  }
83874
83517
  static controlTimer(timerId, action2) {
83875
83518
  return SbEventFlow.start().controlTimer(timerId, action2);
@@ -83967,16 +83610,6 @@ class SbEventFlow {
83967
83610
  EventRegistry.triggerEvent.create(eventName, eventData)
83968
83611
  );
83969
83612
  }
83970
- static sequence(eventFlows) {
83971
- return SbEventFlow.start().sequence(eventFlows);
83972
- }
83973
- sequence(eventFlows) {
83974
- this.steps = [
83975
- ...this.steps,
83976
- ...eventFlows.flatMap((eventFlow) => eventFlow.build())
83977
- ];
83978
- return this;
83979
- }
83980
83613
  build() {
83981
83614
  return this.steps;
83982
83615
  }
@@ -84226,11 +83859,9 @@ class EntityManager {
84226
83859
  for (const name of Object.keys(scope.entities)) {
84227
83860
  const entity = this.getEntity(scope.id, getName(name));
84228
83861
  const id2 = entity[WIDGET_SOURCE_ID_ATTRIBUTE];
84229
- const isNameBasedEntity = entity.type === SbEntityType.VARIABLE || entity.type === SbEntityType.API || entity.type === SbEntityType.TIMER || entity.type === "global" || entity.type === "theme";
83862
+ const isNameBasedEntity = entity.type === SbEntityType.VARIABLE || entity.type === SbEntityType.API || entity.type === SbEntityType.TIMER || entity.type === "theme";
84230
83863
  if (!id2 && !isNameBasedEntity)
84231
- console.warn(
84232
- `Entity has no source id for ${name}, type: ${entity == null ? void 0 : entity.type}`
84233
- );
83864
+ console.warn(`Entity has no source id for ${name}`);
84234
83865
  if (isNameBasedEntity) {
84235
83866
  entities[name] = entity;
84236
83867
  } else {
@@ -86320,6 +85951,9 @@ class OperationManager {
86320
85951
  __publicField(this, "batchOperationTransactionId");
86321
85952
  __publicField(this, "visibleSourceIds", []);
86322
85953
  makeAutoObservable(this);
85954
+ registerStores({
85955
+ OperationManager: this
85956
+ });
86323
85957
  }
86324
85958
  get allPendingTransactions() {
86325
85959
  return this.pendingTransactions;
@@ -86696,6 +86330,9 @@ class PropertiesPanelManager {
86696
86330
  makeAutoObservable(this, {
86697
86331
  _propertyLookupCache: false
86698
86332
  });
86333
+ registerStores({
86334
+ PropertiesPanelManager: this
86335
+ });
86699
86336
  }
86700
86337
  getPropertiesPanel(scopeId, instanceId) {
86701
86338
  const props2 = this.entityManager.getEntityById(scopeId, instanceId);
@@ -86870,18 +86507,6 @@ function getPropertyValue$1({
86870
86507
  }
86871
86508
  return parsed;
86872
86509
  }
86873
- if (property.type === "EVENT" && scopeId && name) {
86874
- const eventFlows = property.value.map((step) => {
86875
- try {
86876
- return getSbEventFlow(step, scopeId);
86877
- } catch {
86878
- return void 0;
86879
- }
86880
- }).filter(
86881
- (eventFlow) => eventFlow !== void 0
86882
- );
86883
- return SbEventFlow.sequence(eventFlows);
86884
- }
86885
86510
  if (property.type === "STATIC" && typeof property.value === "object" && property.value !== null) {
86886
86511
  return Object.entries(property.value).reduce(
86887
86512
  (acc, [key2, value]) => {
@@ -86901,133 +86526,6 @@ function getPropertyValue$1({
86901
86526
  }
86902
86527
  return property.value;
86903
86528
  }
86904
- function getSbEventFlow(step, scopeId) {
86905
- var _a2, _b2, _c2, _d2, _e2, _f2;
86906
- if (!isValidStepDef(step)) {
86907
- return void 0;
86908
- }
86909
- const getEntity = (entityName) => {
86910
- try {
86911
- const entity = rootStore.entityManager.getEntity(
86912
- scopeId,
86913
- getName(entityName)
86914
- );
86915
- if (entity)
86916
- return withBindingIdentifier(entity, {
86917
- entityName,
86918
- scopeId
86919
- });
86920
- } catch {
86921
- return void 0;
86922
- }
86923
- };
86924
- const getEntities = (entityNames) => {
86925
- return entityNames.map(getEntity).filter((entity) => entity !== void 0);
86926
- };
86927
- const createNestedEventFlow = (steps) => {
86928
- return Array.isArray(steps) && steps.length > 0 ? getSbEventFlow(steps, scopeId) : void 0;
86929
- };
86930
- switch (step.type) {
86931
- case "executeApi":
86932
- return SbEventFlow.runApis(
86933
- getEntities(step.apiNames),
86934
- createNestedEventFlow(step.onSuccess ?? []),
86935
- createNestedEventFlow(step.onError ?? [])
86936
- );
86937
- case "cancelApi":
86938
- return SbEventFlow.cancelApis(
86939
- getEntities(step.apiNames),
86940
- createNestedEventFlow(step.onCancel ?? [])
86941
- );
86942
- case "runJs":
86943
- return SbEventFlow.runJS(function(...args) {
86944
- if (step.code) {
86945
- try {
86946
- const cleanCode = step.code.trim().endsWith(";") ? step.code.slice(0, -1) : step.code;
86947
- new Function(`return (${cleanCode})()`).call(this, ...args);
86948
- } catch (e3) {
86949
- console.error("Error executing JS code:", e3);
86950
- }
86951
- }
86952
- });
86953
- case "navigateTo":
86954
- return SbEventFlow.navigateTo({
86955
- url: step.url,
86956
- newWindow: step.newWindow
86957
- });
86958
- case "navigateToApp":
86959
- return SbEventFlow.navigateToApp(step.targetApp.id);
86960
- case "navigateToRoute":
86961
- return SbEventFlow.navigateToRoute(step.routeId);
86962
- case "setQueryParams":
86963
- return SbEventFlow.setQueryParams(
86964
- step.queryParams ? JSON.parse(step.queryParams) : {},
86965
- step.keepQueryParams
86966
- );
86967
- case "controlSlideout": {
86968
- const slideoutEntity = getEntity(step.name);
86969
- if (!slideoutEntity) return void 0;
86970
- return SbEventFlow.controlSlideout(step.name, step.direction);
86971
- }
86972
- case "controlModal": {
86973
- const modalEntity = getEntity(step.name);
86974
- if (!modalEntity) return void 0;
86975
- return SbEventFlow.controlModal(modalEntity, step.direction);
86976
- }
86977
- case "controlTimer": {
86978
- const timerEntity = getEntity(step.name);
86979
- if (!timerEntity) return void 0;
86980
- return SbEventFlow.controlTimer(step.name, step.command);
86981
- }
86982
- case "setStateVar": {
86983
- const stateEntity = getEntity((_a2 = step.state) == null ? void 0 : _a2.name);
86984
- if (!stateEntity) return void 0;
86985
- const value = isPropertyInfo(step.value) ? getPropertyValue$1({
86986
- property: step.value,
86987
- scopeId,
86988
- name: getName((_b2 = step.state) == null ? void 0 : _b2.name)
86989
- }) : step.value;
86990
- return SbEventFlow.setStateVar(stateEntity, value);
86991
- }
86992
- case "resetStateVar": {
86993
- const resetStateEntity = getEntity((_c2 = step.state) == null ? void 0 : _c2.name);
86994
- if (!resetStateEntity) return void 0;
86995
- return SbEventFlow.resetStateVar(resetStateEntity);
86996
- }
86997
- case "resetComponent": {
86998
- const resetWidgetEntity = getEntity((_d2 = step.widget) == null ? void 0 : _d2.name);
86999
- if (!resetWidgetEntity) return void 0;
87000
- return SbEventFlow.resetComponent(
87001
- step.widget,
87002
- step.propertyName,
87003
- step.resetChildren
87004
- );
87005
- }
87006
- case "setComponentProperty": {
87007
- const setWidgetEntity = getEntity((_e2 = step.widget) == null ? void 0 : _e2.name);
87008
- if (!setWidgetEntity) return void 0;
87009
- return SbEventFlow.setComponentProperty(
87010
- step.widget,
87011
- step.propertyName,
87012
- step.propertyValue
87013
- );
87014
- }
87015
- case "showAlert":
87016
- return SbEventFlow.showAlert(
87017
- step.message,
87018
- step.style,
87019
- step.alertDuration,
87020
- step.alertPosition
87021
- );
87022
- case "setProfile":
87023
- return SbEventFlow.setProfile(step.profileId, step.profileAction);
87024
- case "triggerEvent":
87025
- return SbEventFlow.triggerEvent((_f2 = step.event) == null ? void 0 : _f2.name, step.eventPayload);
87026
- default:
87027
- console.warn("Unhandled runtime step type", step.type);
87028
- return void 0;
87029
- }
87030
- }
87031
86529
  const getNormalizedIdInfo = (params) => {
87032
86530
  var _a2, _b2;
87033
86531
  const name = (_a2 = params.bind) == null ? void 0 : _a2.entityName;
@@ -87042,21 +86540,6 @@ function isSbComponent(child) {
87042
86540
  var _a2;
87043
86541
  return typeof child === "object" && ((_a2 = child.type) == null ? void 0 : _a2.isSb) === superblocksComponentSymbol;
87044
86542
  }
87045
- function getValidChildrenNodes(children) {
87046
- if (Array.isArray(children)) {
87047
- return children.filter(isValidReactNode);
87048
- }
87049
- if (isValidReactNode(children)) {
87050
- return [children];
87051
- }
87052
- return [];
87053
- }
87054
- function isValidReactNode(element) {
87055
- if (Array.isArray(element)) {
87056
- return element.every(isValidReactNode);
87057
- }
87058
- return React__default.isValidElement(element) || typeof element !== "object" || element === null;
87059
- }
87060
86543
  class RuntimeWidgetsManager {
87061
86544
  constructor(nameManager) {
87062
86545
  __publicField(this, "widgets", {});
@@ -87070,6 +86553,9 @@ class RuntimeWidgetsManager {
87070
86553
  addWidgetFromPayload: action,
87071
86554
  sourceToInstanceIdSample: observable
87072
86555
  });
86556
+ registerStores({
86557
+ RuntimeManager: this
86558
+ });
87073
86559
  }
87074
86560
  setWidgetMeta(instanceId, meta) {
87075
86561
  const existingMeta = this.widgets[instanceId];
@@ -87094,13 +86580,14 @@ class RuntimeWidgetsManager {
87094
86580
  isInCustomComponent
87095
86581
  } = params;
87096
86582
  const traverse = (params2) => {
86583
+ var _a2;
87097
86584
  const { props: props2, type: type5, parentInstanceId, node: node2, isSbComponent: isSbComponent$1, identifier: identifier2 } = params2;
87098
- const childrenArr = typeof props2.children === "function" ? [props2.children] : React__default.Children.toArray(getValidChildrenNodes(props2.children));
86585
+ const childrenArr = typeof props2.children === "function" ? [props2.children] : React__default.Children.toArray(props2.children);
87099
86586
  const metaChildren = [];
87100
86587
  for (const child of childrenArr) {
87101
86588
  let childElement;
87102
86589
  if (React__default.isValidElement(child) && child.props[WIDGET_SOURCE_ID_ATTRIBUTE]) {
87103
- const childType = getChildType(child);
86590
+ const childType = ((_a2 = child.type) == null ? void 0 : _a2.sbType) ?? String(child.type ?? "unknown");
87104
86591
  const childSourceId = child.props[WIDGET_SOURCE_ID_ATTRIBUTE];
87105
86592
  const { name: childName, scopeId: childScopeId } = getNormalizedIdInfo({
87106
86593
  bind: getBindingIdentifier(child.props.bind),
@@ -87257,14 +86744,6 @@ class RuntimeWidgetsManager {
87257
86744
  return this.getClosestAncestorByType(currentWidget.parentInstanceId, type5);
87258
86745
  }
87259
86746
  }
87260
- function getChildType(child) {
87261
- var _a2;
87262
- try {
87263
- return ((_a2 = child.type) == null ? void 0 : _a2.sbType) ?? String(child.type ?? "unknown");
87264
- } catch {
87265
- return "unknown";
87266
- }
87267
- }
87268
86747
  _processRootWidget_dec = [action], _addOptimisticCreateWidget_dec = [action];
87269
86748
  class RuntimeEntitiesManager {
87270
86749
  constructor(nameManager, entityManager) {
@@ -87277,7 +86756,7 @@ class RuntimeEntitiesManager {
87277
86756
  if (!meta) {
87278
86757
  return void 0;
87279
86758
  }
87280
- if (!this.hasEditOperationsPending()) {
86759
+ if (!this.hasEditOperationsPending) {
87281
86760
  return meta;
87282
86761
  }
87283
86762
  const sourceId = meta.sourceId;
@@ -87424,8 +86903,9 @@ class RuntimeEntitiesManager {
87424
86903
  this.nameManager = nameManager;
87425
86904
  this.entityManager = entityManager;
87426
86905
  this.widgets = new RuntimeWidgetsManager(nameManager);
87427
- makeAutoObservable(this, {
87428
- widgets: false
86906
+ makeAutoObservable(this);
86907
+ registerStores({
86908
+ DeployedRuntimeManager: this
87429
86909
  });
87430
86910
  }
87431
86911
  processRootWidget(params) {
@@ -87583,13 +87063,13 @@ class RuntimeEntitiesManager {
87583
87063
  }
87584
87064
  // TODO will need to include all other operations like
87585
87065
  // widget creation/deletion, etc.
87586
- hasEditOperationsPending() {
87066
+ get hasEditOperationsPending() {
87587
87067
  const hasPendingOperations = getEditStore().operationManager.hasPendingOperations;
87588
87068
  const hasPendingResize = getEditStore().ui.resizing.hasAnyPendingResize;
87589
87069
  const shouldRezisePage = getEditStore().ui.dnd.shouldResizePage;
87590
87070
  return hasPendingOperations || hasPendingResize || shouldRezisePage;
87591
87071
  }
87592
- getPendingOperations() {
87072
+ get getPendingOperations() {
87593
87073
  const pendingResizes = getEditStore().ui.resizing.pendingResizes;
87594
87074
  return [
87595
87075
  ...getEditStore().operationManager.allPendingTransactions,
@@ -87852,6 +87332,9 @@ class GridManager {
87852
87332
  this.root = root2;
87853
87333
  this.dnd = dnd;
87854
87334
  makeAutoObservable(this);
87335
+ registerStores({
87336
+ GridManager: this
87337
+ });
87855
87338
  }
87856
87339
  get draggedInstanceId() {
87857
87340
  var _a2;
@@ -88372,6 +87855,9 @@ class StackManager {
88372
87855
  this.root = root2;
88373
87856
  this.dnd = dnd;
88374
87857
  makeAutoObservable(this);
87858
+ registerStores({
87859
+ StackManager: this
87860
+ });
88375
87861
  }
88376
87862
  refreshPositionsAndGetDropIndex() {
88377
87863
  if (this.dnd.dropTargetId) {
@@ -88441,6 +87927,9 @@ class DragAndDropManager {
88441
87927
  this.stack = new StackManager(root2, this);
88442
87928
  this.grid = new GridManager(root2, this);
88443
87929
  makeAutoObservable(this);
87930
+ registerStores({
87931
+ DragAndDropManager: this
87932
+ });
88444
87933
  startEditorSync({
88445
87934
  store: this,
88446
87935
  storeId: "dnd",
@@ -88681,6 +88170,9 @@ class ResizingManager {
88681
88170
  __publicField(this, "_activeResizes", /* @__PURE__ */ new Map());
88682
88171
  this.root = root2;
88683
88172
  makeAutoObservable(this);
88173
+ registerStores({
88174
+ ResizingManager: this
88175
+ });
88684
88176
  startEditorSync({
88685
88177
  store: this,
88686
88178
  storeId: "resizing",
@@ -89015,6 +88507,9 @@ class UIStore {
89015
88507
  setFocusedInstanceId: action,
89016
88508
  selectWidget: action
89017
88509
  });
88510
+ registerStores({
88511
+ UIManager: this
88512
+ });
89018
88513
  }
89019
88514
  // TODO (Alex): For these getters, we should differentiate between source and instance selection
89020
88515
  isSourceSelected(sourceId) {
@@ -90988,14 +90483,14 @@ function getLoaderFn$1(options) {
90988
90483
  if (!(loader === "all")) return [3, 3];
90989
90484
  return [4, import(
90990
90485
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
90991
- "./allPathsLoader-BJthmVkF.js"
90486
+ "./allPathsLoader-BwDYmyS1.js"
90992
90487
  )];
90993
90488
  case 2:
90994
90489
  return [2, _b2.sent().allPathsLoader];
90995
90490
  case 3:
90996
90491
  return [4, import(
90997
90492
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
90998
- "./splitPathsBySizeLoader-3mcg6Jfx.js"
90493
+ "./splitPathsBySizeLoader-CTv2UfGL.js"
90999
90494
  )];
91000
90495
  case 4:
91001
90496
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -99553,7 +99048,7 @@ const DEFAULT_TYPOGRAPHIES_NEW = {
99553
99048
  },
99554
99049
  buttonLabel: {
99555
99050
  ...DEFAULT_TYPOGRAPHIES_LEGACY.buttonLabel,
99556
- lineHeight: 1.2
99051
+ lineHeight: 1.1
99557
99052
  },
99558
99053
  code: {
99559
99054
  ...DEFAULT_TYPOGRAPHIES_LEGACY.code,
@@ -99614,7 +99109,7 @@ const onePixelTransparentBorderObject = () => ({
99614
99109
  });
99615
99110
  const BASE_THEME_V5 = {
99616
99111
  typeFace: "Roboto",
99617
- borderRadius: Dim.px(8),
99112
+ borderRadius: Dim.px(4),
99618
99113
  mode: ThemeMode.LIGHT,
99619
99114
  primaryColor: colors.ACCENT_BLUE_500,
99620
99115
  padding: PADDING_PRESETS_BY_THEME_VERSION[5].medium.value,
@@ -99716,6 +99211,12 @@ const BOX_SHADOWS = {
99716
99211
  dark: "0 3px 6px -4px rgba(160, 160, 160, 0.03), 0 6px 16px 0 rgba(160, 160, 160, 0.01)"
99717
99212
  }
99718
99213
  };
99214
+ const BUTTON_PADDING = {
99215
+ left: { mode: "px", value: 10 },
99216
+ right: { mode: "px", value: 10 },
99217
+ top: { mode: "px", value: 9 },
99218
+ bottom: { mode: "px", value: 9 }
99219
+ };
99719
99220
  const INPUT_PADDING = {
99720
99221
  left: Dim.px(10),
99721
99222
  right: Dim.px(10),
@@ -99723,7 +99224,6 @@ const INPUT_PADDING = {
99723
99224
  bottom: Dim.px(8)
99724
99225
  };
99725
99226
  const DROPDOWN_PADDING = INPUT_PADDING;
99726
- const BUTTON_PADDING = INPUT_PADDING;
99727
99227
  const KEY_VALUE_PADDING = {
99728
99228
  left: Dim.px(20),
99729
99229
  right: Dim.px(20),
@@ -100152,7 +99652,7 @@ const useStableEffect = (effect2, obj, options = {}) => {
100152
99652
  return isEqual2(val, old);
100153
99653
  }
100154
99654
  }
100155
- return Object.is(val, old);
99655
+ return val === old;
100156
99656
  });
100157
99657
  const propRemoved = Object.keys(ref2.current).some((key2) => !(key2 in obj));
100158
99658
  if (propsChanged || propRemoved) {
@@ -101413,8 +100913,8 @@ const shineAnimation = We$1`
101413
100913
  }
101414
100914
  `;
101415
100915
  const Skeleton2 = qe$1.div`
101416
- height: var(--height);
101417
- width: var(--width);
100916
+ width: 24px;
100917
+ height: 24px;
101418
100918
  border-radius: 50%;
101419
100919
  background: linear-gradient(110deg, #ececec 10%, #f5f5f5 30%, #ececec 60%);
101420
100920
  background-size: 200% 100%;
@@ -111594,8 +111094,14 @@ const useStyleWithSize = (props2) => {
111594
111094
  {
111595
111095
  cold: true,
111596
111096
  customEqualChecks: [
111597
- [isDimension, Dim.isEqual],
111598
- [lodashExports.isObject, (a3, b3) => lodashExports.isEqual(a3, b3)]
111097
+ [
111098
+ isDimension,
111099
+ (a3, b3) => a3.mode === b3.mode && a3.value === b3.value
111100
+ ],
111101
+ [
111102
+ lodashExports.isObject,
111103
+ (a3, b3) => lodashExports.isEqual(a3, b3)
111104
+ ]
111599
111105
  ]
111600
111106
  }
111601
111107
  );
@@ -111640,7 +111146,7 @@ const ReactiveComponent = observer(function Component2({
111640
111146
  return stylePropWithSize;
111641
111147
  }, [reactiveProps.isVisible, stylePropWithSize]);
111642
111148
  const { setStyle, getFallbackStyle } = useComponentSuspenseStyle();
111643
- useEffect(() => {
111149
+ useMemo$2(() => {
111644
111150
  setStyle(styleProp);
111645
111151
  }, [styleProp, setStyle]);
111646
111152
  const instanceIdProps = { [WIDGET_INSTANCE_ID_ATTRIBUTE]: instanceId };
@@ -117387,18 +116893,6 @@ const DropLayer = observer(() => {
117387
116893
  ) })
117388
116894
  ] });
117389
116895
  });
117390
- const EXTENDED_CLICKABLE_AREA_DELTA = 6;
117391
- const EXTENDED_CLICKABLE_ANCHOR_CSS = {
117392
- top: `calc(anchor(top) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`,
117393
- left: `calc(anchor(left) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`,
117394
- right: `calc(anchor(right) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`,
117395
- bottom: `calc(anchor(bottom) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`
117396
- };
117397
- const EXTENDED_CLICKABLE_ANCHOR_CLIP_PATH = `polygon(
117398
- 0% 0%, 0% 100%, 100% 100%, 100% 0%,
117399
- 0% 0%, ${EXTENDED_CLICKABLE_AREA_DELTA}px ${EXTENDED_CLICKABLE_AREA_DELTA}px, calc(100% - ${EXTENDED_CLICKABLE_AREA_DELTA}px) ${EXTENDED_CLICKABLE_AREA_DELTA}px,
117400
- calc(100% - ${EXTENDED_CLICKABLE_AREA_DELTA}px) calc(100% - ${EXTENDED_CLICKABLE_AREA_DELTA}px), ${EXTENDED_CLICKABLE_AREA_DELTA}px calc(100% - ${EXTENDED_CLICKABLE_AREA_DELTA}px), ${EXTENDED_CLICKABLE_AREA_DELTA}px ${EXTENDED_CLICKABLE_AREA_DELTA}px
117401
- )`;
117402
116896
  const Wrapper$2 = qe$1.div`
117403
116897
  z-index: ${Layers$1.addSectionButton};
117404
116898
  position: absolute;
@@ -117786,6 +117280,22 @@ const DraggableWrapper = (props2) => {
117786
117280
  }
117787
117281
  );
117788
117282
  };
117283
+ const getRepositionNamePill = (instanceId) => {
117284
+ var _a2, _b2, _c2, _d2;
117285
+ const parentInstanceId = (_a2 = getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(
117286
+ instanceId
117287
+ )) == null ? void 0 : _a2.parentInstanceId;
117288
+ const parentWidget = parentInstanceId ? getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(
117289
+ parentInstanceId
117290
+ ) : void 0;
117291
+ if ((parentWidget == null ? void 0 : parentWidget.type) === "SbPage") {
117292
+ return ((_b2 = parentWidget == null ? void 0 : parentWidget.children) == null ? void 0 : _b2.length) === 1;
117293
+ } else if ((parentWidget == null ? void 0 : parentWidget.type) === "SbSection") {
117294
+ return ((_d2 = (_c2 = parentWidget == null ? void 0 : parentWidget.props) == null ? void 0 : _c2.height) == null ? void 0 : _d2.mode) === "fill";
117295
+ } else {
117296
+ return false;
117297
+ }
117298
+ };
117789
117299
  const NamePillDiv = (params) => {
117790
117300
  const {
117791
117301
  attributes: attributes2 = {},
@@ -117797,6 +117307,7 @@ const NamePillDiv = (params) => {
117797
117307
  isVisible: isVisible2
117798
117308
  } = params;
117799
117309
  const { canResizeWidth: canResizeWidth2, canResizeHeight: canResizeHeight2 } = useResizeCapabilities(instanceId);
117310
+ const repositionNamePill = getRepositionNamePill(instanceId);
117800
117311
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
117801
117312
  "div",
117802
117313
  {
@@ -117820,7 +117331,13 @@ const NamePillDiv = (params) => {
117820
117331
  zIndex: Layers$1.namePill,
117821
117332
  display: "flex",
117822
117333
  alignItems: "center",
117823
- gap: "4px"
117334
+ gap: "4px",
117335
+ ...repositionNamePill ? {
117336
+ top: "anchor(top)",
117337
+ bottom: void 0,
117338
+ marginTop: "3px",
117339
+ marginRight: "3px"
117340
+ } : {}
117824
117341
  },
117825
117342
  "data-sb-pill-id": instanceId,
117826
117343
  onClick: (ev) => {
@@ -117965,12 +117482,11 @@ const useSelectionElements = (params) => {
117965
117482
  return selectionRects;
117966
117483
  };
117967
117484
  const InteractionRect = (props2) => {
117968
- var _a2, _b2;
117485
+ var _a2;
117969
117486
  const { instanceId, isDragging, selectionType, isVisible: isVisible2, type: type5 } = props2;
117970
117487
  const parentInstanceId = (_a2 = getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(
117971
117488
  instanceId
117972
117489
  )) == null ? void 0 : _a2.parentInstanceId;
117973
- const showExtendedClickArea = ((_b2 = rootStore.componentRegistry.getComponent(type5 ?? "")) == null ? void 0 : _b2.hasExtendedClickArea) && selectionType === "FOCUSED";
117974
117490
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
117975
117491
  parentInstanceId && selectionType === "SELECTED" && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
117976
117492
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -118004,7 +117520,6 @@ const InteractionRect = (props2) => {
118004
117520
  left: "anchor(left)",
118005
117521
  right: "anchor(right)",
118006
117522
  bottom: "anchor(bottom)",
118007
- ...showExtendedClickArea ? EXTENDED_CLICKABLE_ANCHOR_CSS : {},
118008
117523
  visibility: isDragging ? "hidden" : "visible",
118009
117524
  anchorName: getWidgetRectAnchorName(instanceId),
118010
117525
  positionAnchor: getWidgetAnchorName(instanceId),
@@ -118013,23 +117528,6 @@ const InteractionRect = (props2) => {
118013
117528
  }
118014
117529
  }
118015
117530
  ),
118016
- showExtendedClickArea && /* @__PURE__ */ jsxRuntimeExports.jsx(
118017
- "div",
118018
- {
118019
- onClick: (ev) => {
118020
- getEditStore().ui.selectWidget(instanceId);
118021
- ev.stopPropagation();
118022
- },
118023
- style: {
118024
- position: "absolute",
118025
- ...EXTENDED_CLICKABLE_ANCHOR_CSS,
118026
- zIndex: 0,
118027
- pointerEvents: "auto",
118028
- positionAnchor: getWidgetAnchorName(instanceId),
118029
- clipPath: EXTENDED_CLICKABLE_ANCHOR_CLIP_PATH
118030
- }
118031
- }
118032
- ),
118033
117531
  /* @__PURE__ */ jsxRuntimeExports.jsx(
118034
117532
  InteractionRectHandles,
118035
117533
  {
@@ -118069,27 +117567,7 @@ const selectDisplayNameAndVisibility = (instanceId) => {
118069
117567
  };
118070
117568
  };
118071
117569
  const calculateWidgetsAtCursor = (params) => {
118072
- let elements = document.elementsFromPoint(params.x, params.y);
118073
- if (params.delta) {
118074
- elements = [
118075
- ...document.elementsFromPoint(
118076
- params.x - params.delta.x,
118077
- params.y - params.delta.y
118078
- ),
118079
- ...document.elementsFromPoint(
118080
- params.x + params.delta.x,
118081
- params.y + params.delta.y
118082
- ),
118083
- ...document.elementsFromPoint(
118084
- params.x - params.delta.x,
118085
- params.y + params.delta.y
118086
- ),
118087
- ...document.elementsFromPoint(
118088
- params.x + params.delta.x,
118089
- params.y - params.delta.y
118090
- )
118091
- ];
118092
- }
117570
+ const elements = document.elementsFromPoint(params.x, params.y);
118093
117571
  const hoveredPills = [];
118094
117572
  const hoveredActual = [];
118095
117573
  elements.forEach((element) => {
@@ -118111,34 +117589,6 @@ const calculateWidgetsAtCursor = (params) => {
118111
117589
  hoveredActual
118112
117590
  };
118113
117591
  };
118114
- function getFocusedWidget(event, rootType, rootElement, editStore2, isExtended) {
118115
- if (!rootElement) {
118116
- return null;
118117
- }
118118
- const { hoveredPills, hoveredActual } = calculateWidgetsAtCursor({
118119
- x: event.clientX,
118120
- y: event.clientY,
118121
- rootType,
118122
- rootElement,
118123
- delta: isExtended ? { x: EXTENDED_CLICKABLE_AREA_DELTA, y: EXTENDED_CLICKABLE_AREA_DELTA } : void 0
118124
- });
118125
- const instanceIds = [...hoveredPills, ...hoveredActual];
118126
- const focusedWidget = instanceIds.find((id2) => {
118127
- var _a2;
118128
- const widgetMeta = editStore2.runtimeEntitiesManager.getEditorWidgetMeta(id2);
118129
- const sourceIdInstanceCount = editStore2.interactionLayerManager.getSourceIdElements(
118130
- (widgetMeta == null ? void 0 : widgetMeta.sourceId) ?? ""
118131
- ).length;
118132
- const hasExtendedClickArea = (_a2 = rootStore.componentRegistry.getComponent(
118133
- (widgetMeta == null ? void 0 : widgetMeta.type) ?? ""
118134
- )) == null ? void 0 : _a2.hasExtendedClickArea;
118135
- return (isExtended === false || hasExtendedClickArea) && (widgetMeta == null ? void 0 : widgetMeta.isSbComponent) && !(widgetMeta == null ? void 0 : widgetMeta.isInCustomComponent) && sourceIdInstanceCount <= 1;
118136
- }) ?? null;
118137
- if (focusedWidget) {
118138
- return focusedWidget;
118139
- }
118140
- return null;
118141
- }
118142
117592
  function useWidgetHover(rootType) {
118143
117593
  useEffect(() => {
118144
117594
  const rootElement = document.getElementById(
@@ -118146,26 +117596,22 @@ function useWidgetHover(rootType) {
118146
117596
  );
118147
117597
  const editStore2 = getEditStore();
118148
117598
  const handleMouseMove = (event) => {
118149
- const focusedWidgetExtended = getFocusedWidget(
118150
- event,
117599
+ const { hoveredPills, hoveredActual } = calculateWidgetsAtCursor({
117600
+ x: event.clientX,
117601
+ y: event.clientY,
118151
117602
  rootType,
118152
- rootElement,
118153
- editStore2,
118154
- true
118155
- );
118156
- if (focusedWidgetExtended) {
118157
- editStore2.ui.setFocusedInstanceId(focusedWidgetExtended);
118158
- } else {
118159
- const focusedWidget = getFocusedWidget(
118160
- event,
118161
- rootType,
118162
- rootElement,
118163
- editStore2,
118164
- false
118165
- );
118166
- if (focusedWidget) {
118167
- editStore2.ui.setFocusedInstanceId(focusedWidget);
118168
- }
117603
+ rootElement
117604
+ });
117605
+ const instanceIds = [...hoveredPills, ...hoveredActual];
117606
+ const focusedWidget = instanceIds.find((id2) => {
117607
+ const widgetMeta = editStore2.runtimeEntitiesManager.getEditorWidgetMeta(id2);
117608
+ const sourceIdInstanceCount = editStore2.interactionLayerManager.getSourceIdElements(
117609
+ (widgetMeta == null ? void 0 : widgetMeta.sourceId) ?? ""
117610
+ ).length;
117611
+ return (widgetMeta == null ? void 0 : widgetMeta.isSbComponent) && !(widgetMeta == null ? void 0 : widgetMeta.isInCustomComponent) && sourceIdInstanceCount <= 1;
117612
+ }) ?? null;
117613
+ if (focusedWidget) {
117614
+ editStore2.ui.setFocusedInstanceId(focusedWidget);
118169
117615
  }
118170
117616
  };
118171
117617
  const throttledHandleMouseMove = throttle(handleMouseMove, 25);
@@ -118273,7 +117719,7 @@ const stableEffectOptions$1 = {
118273
117719
  /* isType, isEqual */
118274
117720
  [(a3) => isBindingString(a3), isBindingEqual],
118275
117721
  [(a3) => isName(a3), isNameEqual],
118276
- [(a3) => isDimension(a3), Dim.isEqual],
117722
+ [(a3) => isDimension(a3), (a3, b3) => Dim.isEqual(a3, b3)],
118277
117723
  [(a3) => typeof a3 === "function", (a3, b3) => a3.toString() === b3.toString()],
118278
117724
  [(a3) => typeof a3 === "string", (a3, b3) => a3 === b3],
118279
117725
  [(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => _$2.isEqual(a3, b3)]
@@ -118406,21 +117852,6 @@ const EditWrapper = observer(function EditWrapper2(props2) {
118406
117852
  const scopeName = rootStore.entityManager.getScopeName(
118407
117853
  props2.identifier.scopeId
118408
117854
  );
118409
- const handleClick = (ev) => {
118410
- const sourceIdInstanceCount = editStore2.interactionLayerManager.getSourceIdElements(
118411
- props2.identifier.sourceId
118412
- ).length;
118413
- if (sourceIdInstanceCount > 1) {
118414
- return;
118415
- }
118416
- if (isInCustomComponent && customComponentInstanceId) {
118417
- editStore2.ui.selectWidget(customComponentInstanceId);
118418
- ev.stopPropagation();
118419
- return;
118420
- }
118421
- editStore2.ui.selectWidget(props2.identifier.instanceId);
118422
- ev.stopPropagation();
118423
- };
118424
117855
  const node2 = /* @__PURE__ */ jsxRuntimeExports.jsxs(
118425
117856
  "div",
118426
117857
  {
@@ -118432,8 +117863,22 @@ const EditWrapper = observer(function EditWrapper2(props2) {
118432
117863
  "data-can-drop": props2.isDroppable,
118433
117864
  "data-selected": isSelected,
118434
117865
  "data-has-local-binding": hasLocalBinding,
118435
- onClick: handleClick,
118436
117866
  id: getEditWrapperId(props2.identifier.instanceId),
117867
+ onClick: (ev) => {
117868
+ const sourceIdInstanceCount = editStore2.interactionLayerManager.getSourceIdElements(
117869
+ props2.identifier.sourceId
117870
+ ).length;
117871
+ if (sourceIdInstanceCount > 1) {
117872
+ return;
117873
+ }
117874
+ if (isInCustomComponent && customComponentInstanceId) {
117875
+ editStore2.ui.selectWidget(customComponentInstanceId);
117876
+ ev.stopPropagation();
117877
+ return;
117878
+ }
117879
+ editStore2.ui.selectWidget(props2.identifier.instanceId);
117880
+ ev.stopPropagation();
117881
+ },
118437
117882
  ref: registerSourceElement,
118438
117883
  children: [
118439
117884
  showVisibilityBackground && /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -118637,8 +118082,7 @@ const stableEffectOptions = {
118637
118082
  /* isType, isEqual */
118638
118083
  [(a3) => isBindingString(a3), isBindingEqual],
118639
118084
  [(a3) => isName(a3), isNameEqual],
118640
- [(a3) => isDimension(a3), Dim.isEqual],
118641
- [(a3) => isObservable(a3), (a3, b3) => lodashExports.isEqual(a3, b3)],
118085
+ [(a3) => isDimension(a3), (a3, b3) => Dim.isEqual(a3, b3)],
118642
118086
  [(a3) => typeof a3 === "function", (a3, b3) => a3.toString() === b3.toString()],
118643
118087
  [(a3) => typeof a3 === "string", (a3, b3) => a3 === b3],
118644
118088
  [(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => lodashExports.isEqual(a3, b3)]
@@ -118681,7 +118125,7 @@ function useTrackRuntimeWidget(instanceId, params) {
118681
118125
  };
118682
118126
  }
118683
118127
  const editStore2 = getEditStore();
118684
- if (isEditing && editStore2.runtimeEntitiesManager.hasEditOperationsPending()) {
118128
+ if (isEditing && editStore2.runtimeEntitiesManager.hasEditOperationsPending) {
118685
118129
  const meta = editStore2.runtimeEntitiesManager.getEditorWidgetMeta(instanceId);
118686
118130
  if (meta == null ? void 0 : meta.props) {
118687
118131
  const {
@@ -118817,7 +118261,6 @@ const registerSbComponent = (type5, config2, Component3) => {
118817
118261
  SbComponent.displayName = type5;
118818
118262
  SbComponent.isCustomComponent = config2.customComponent ?? false;
118819
118263
  SbComponent.isDroppable = config2.container ?? false;
118820
- SbComponent.hasExtendedClickArea = !!config2.hasExtendedClickArea;
118821
118264
  if (config2.customComponent) {
118822
118265
  rootStore.componentRegistry.addCustomComponent(type5, SbComponent);
118823
118266
  } else {
@@ -119444,8 +118887,7 @@ const propertiesDefinition$h = {
119444
118887
  const SbButton = registerSbComponent(
119445
118888
  "SbButton",
119446
118889
  {
119447
- propertiesDefinition: propertiesDefinition$h,
119448
- hasExtendedClickArea: true
118890
+ propertiesDefinition: propertiesDefinition$h
119449
118891
  },
119450
118892
  (props2) => {
119451
118893
  var _a2;
@@ -119885,8 +119327,7 @@ const InternalStack = ({
119885
119327
  style2
119886
119328
  ]
119887
119329
  );
119888
- const { height, width, ...rest } = props2;
119889
- const safeProps = usePassthroughProps(rest);
119330
+ const { width, height, widgetProps, name, ...safeProps } = props2;
119890
119331
  const childCount = React__default.Children.count(children);
119891
119332
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: stackStyle, ...safeProps, children: React__default.Children.map(children, (child) => {
119892
119333
  if (!React__default.isValidElement(child) || !isSbComponent(child)) {
@@ -119999,8 +119440,7 @@ const generateClassName = (seed2) => {
119999
119440
  };
120000
119441
  const getCanvasClassName = () => "canvas";
120001
119442
  const getChildName = (child) => {
120002
- var _a2;
120003
- return ((_a2 = getBindingIdentifier(child.props.bind)) == null ? void 0 : _a2.entityName) ?? child.props[WIDGET_SOURCE_ID_ATTRIBUTE];
119443
+ return child.props.name ?? child.props[WIDGET_SOURCE_ID_ATTRIBUTE];
120004
119444
  };
120005
119445
  const calculateRowPositions = (orderedNames, childrenArray, rowHeight, pxHeights) => {
120006
119446
  return orderedNames.reduce(
@@ -128162,13 +127602,6 @@ const SbInput = registerSbComponent(
128162
127602
  }
128163
127603
  );
128164
127604
  const propertiesDefinition$c = {
128165
- contents: Section.category(PropsPanelCategory.Content).children({
128166
- columns: Prop.array().readAndWrite().propertiesPanel({
128167
- label: "Sections",
128168
- controlType: "SECTION_LIST",
128169
- headerControlType: "ADD_SECTION"
128170
- })
128171
- }),
128172
127605
  layout: Section.category(PropsPanelCategory.Layout).add(
128173
127606
  size$2({
128174
127607
  defaults: {
@@ -134112,7 +133545,7 @@ function requireRef() {
134112
133545
  ref.useComposeRef = ref.supportRef = ref.supportNodeRef = ref.getNodeRef = ref.fillRef = ref.composeRef = void 0;
134113
133546
  var _typeof2 = _interopRequireDefault(require_typeof());
134114
133547
  var _react = React__default;
134115
- var _reactIs = requireReactIs$2();
133548
+ var _reactIs = requireReactIs$1();
134116
133549
  var _useMemo = _interopRequireDefault(requireUseMemo());
134117
133550
  var _isFragment = _interopRequireDefault(requireIsFragment());
134118
133551
  var ReactMajorVersion2 = Number(_react.version.split(".")[0]);
@@ -135209,6 +134642,7 @@ const SbText = registerSbComponent(
135209
134642
  "data-align": verticalAlign,
135210
134643
  style: { ...containerStyles, ...typographyStyles },
135211
134644
  "data-test": `text-component-${name}`,
134645
+ ...containerStyles,
135212
134646
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "icon-text-container", style: iconContainerStyles, children: [
135213
134647
  iconPosition === "left" && icon && /* @__PURE__ */ jsxRuntimeExports.jsx(DynamicSVG, { iconName: icon, size: iconSize }),
135214
134648
  typeof formattedText !== "string" || typeof formattedText === "string" && formattedText.length <= 1e5 || isLongTextVisible ? /* @__PURE__ */ jsxRuntimeExports.jsx(AutolinkedText, { text: formattedText, wrapText }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -135902,31 +135336,20 @@ const textStyleProps = {
135902
135336
  })),
135903
135337
  cellBackground: cellBackgroundProp
135904
135338
  };
135905
- const computedValueUnion = Prop.union({
135906
- shared: {
135907
- isDerived: Prop.boolean().default(false)
135908
- },
135909
- variants: [
135910
- {
135911
- isDerived: Prop.literal(false)
135912
- },
135913
- {
135914
- isDerived: Prop.literal(true),
135915
- computedValue: Prop.string().readAndWrite().propertiesPanel({
135916
- label: "Computed value"
135917
- // todo: add special control that can use currentRow
135918
- })
135919
- }
135920
- ]
135921
- }).getProps();
135922
135339
  const textColumnProperties = {
135923
135340
  general: {
135341
+ // TODO: bring this back when we are ready
135342
+ // computedValue: Prop.string().readAndWrite().propertiesPanel({
135343
+ // label: "Computed value",
135344
+ // controlType: "COMPUTE_TABLE_VALUE",
135345
+ // }),
135924
135346
  displayedValue: Prop.string().readAndWrite().propertiesPanel({
135925
135347
  label: "Displayed value",
135926
135348
  controlType: "COMPUTE_TABLE_VALUE"
135927
135349
  })
135928
135350
  },
135929
135351
  presentation: {
135352
+ ...cellIconProps,
135930
135353
  textWrap: Prop.boolean().readAndWrite().propertiesPanel({
135931
135354
  label: "Wrap text",
135932
135355
  controlType: "SWITCH"
@@ -136016,6 +135439,11 @@ const buttonColumnProperties = {
136016
135439
  };
136017
135440
  const numberColumnProperties = {
136018
135441
  general: {
135442
+ // TODO: bring this back when we are ready
135443
+ // computedValue: Prop.string().readAndWrite().propertiesPanel({
135444
+ // label: "Computed value",
135445
+ // controlType: "COMPUTE_TABLE_VALUE",
135446
+ // }),
136019
135447
  notation: Prop.string().readAndWrite().propertiesPanel({
136020
135448
  label: "Number format",
136021
135449
  controlType: "DROP_DOWN",
@@ -136119,32 +135547,6 @@ const imageColumnProperties = {
136119
135547
  cellBackground: cellBackgroundProp
136120
135548
  }
136121
135549
  };
136122
- const manageTimezoneUnion = Prop.union({
136123
- shared: {
136124
- manageTimezone: Prop.boolean().default(false).readAndWrite().propertiesPanel({
136125
- label: "Manage timezone",
136126
- controlType: "SWITCH"
136127
- })
136128
- },
136129
- variants: [
136130
- {
136131
- manageTimezone: Prop.literal(false)
136132
- },
136133
- {
136134
- manageTimezone: Prop.literal(true),
136135
- valueTimezone: Prop.string().readAndWrite().propertiesPanel({
136136
- label: "Value timezone",
136137
- controlType: "DROP_DOWN",
136138
- options: TIMEZONE_OPTIONS
136139
- }),
136140
- displayTimezone: Prop.string().readAndWrite().propertiesPanel({
136141
- label: "Display timezone",
136142
- controlType: "DROP_DOWN",
136143
- options: TIMEZONE_OPTIONS
136144
- })
136145
- }
136146
- ]
136147
- }).getProps();
136148
135550
  const dateColumnProperties = {
136149
135551
  general: {
136150
135552
  inputFormat: Prop.string().readAndWrite().propertiesPanel({
@@ -136157,7 +135559,21 @@ const dateColumnProperties = {
136157
135559
  controlType: "DROP_DOWN",
136158
135560
  options: DATE_OUTPUT_FORMATS
136159
135561
  }),
136160
- ...manageTimezoneUnion
135562
+ // todo: this should actually be a union too (nested unions ?)
135563
+ manageTimezone: Prop.boolean().readAndWrite().propertiesPanel({
135564
+ label: "Manage timezone",
135565
+ controlType: "SWITCH"
135566
+ }),
135567
+ valueTimezone: Prop.string().readAndWrite().propertiesPanel({
135568
+ label: "Value timezone",
135569
+ controlType: "DROP_DOWN",
135570
+ options: TIMEZONE_OPTIONS
135571
+ }),
135572
+ displayTimezone: Prop.string().readAndWrite().propertiesPanel({
135573
+ label: "Display timezone",
135574
+ controlType: "DROP_DOWN",
135575
+ options: TIMEZONE_OPTIONS
135576
+ })
136161
135577
  },
136162
135578
  presentation: {
136163
135579
  ...cellIconProps,
@@ -136169,7 +135585,13 @@ const dateColumnProperties = {
136169
135585
  }
136170
135586
  };
136171
135587
  const booleanColumnProperties = {
136172
- general: {},
135588
+ general: {
135589
+ // TODO: bring this back when we are ready
135590
+ // computedValue: Prop.string().readAndWrite().propertiesPanel({
135591
+ // label: "Computed value",
135592
+ // controlType: "COMPUTE_TABLE_VALUE",
135593
+ // }),
135594
+ },
136173
135595
  presentation: {
136174
135596
  horizontalAlign: horizontalAlignProp(),
136175
135597
  verticalAlign: verticalAlignProp(),
@@ -136205,14 +135627,26 @@ const booleanColumnProperties = {
136205
135627
  }
136206
135628
  };
136207
135629
  const videoColumnProperties = {
136208
- general: {},
135630
+ general: {
135631
+ // TODO: bring this back when we are ready
135632
+ // computedValue: Prop.string().readAndWrite().propertiesPanel({
135633
+ // label: "Computed value",
135634
+ // controlType: "COMPUTE_TABLE_VALUE",
135635
+ // }),
135636
+ },
136209
135637
  presentation: {
136210
135638
  horizontalAlign: horizontalAlignProp(),
136211
135639
  cellBackground: cellBackgroundProp
136212
135640
  }
136213
135641
  };
136214
135642
  const tagsColumnProperties = {
136215
- general: {},
135643
+ general: {
135644
+ // TODO: bring this back when we are ready
135645
+ // computedValue: Prop.string().readAndWrite().propertiesPanel({
135646
+ // label: "Computed value",
135647
+ // controlType: "COMPUTE_TABLE_VALUE",
135648
+ // }),
135649
+ },
136216
135650
  presentation: {
136217
135651
  horizontalAlign: horizontalAlignProp(),
136218
135652
  verticalAlign: verticalAlignProp(),
@@ -136249,67 +135683,54 @@ const columnPanelConfig = {
136249
135683
  variants: [
136250
135684
  {
136251
135685
  columnType: Prop.unset(),
136252
- ...computedValueUnion,
136253
135686
  ...textColumnProperties.general
136254
135687
  },
136255
135688
  {
136256
135689
  columnType: Prop.literal(ColumnType.TEXT),
136257
- ...computedValueUnion,
136258
135690
  ...textColumnProperties.general
136259
135691
  },
136260
135692
  {
136261
135693
  columnType: Prop.literal(ColumnType.NUMBER),
136262
- ...computedValueUnion,
136263
135694
  ...numberColumnProperties.general
136264
135695
  },
136265
135696
  {
136266
135697
  columnType: Prop.literal(ColumnType.CURRENCY),
136267
- ...computedValueUnion,
136268
135698
  ...currencyColumnProperties.general
136269
135699
  },
136270
135700
  {
136271
135701
  columnType: Prop.literal(ColumnType.PERCENTAGE),
136272
- ...computedValueUnion,
136273
135702
  ...percentageColumnProperties.general
136274
135703
  },
136275
135704
  {
136276
135705
  columnType: Prop.literal(ColumnType.IMAGE),
136277
- ...computedValueUnion,
136278
135706
  ...imageColumnProperties.general
136279
135707
  },
136280
135708
  {
136281
135709
  columnType: Prop.literal(ColumnType.VIDEO),
136282
- ...computedValueUnion,
136283
135710
  ...videoColumnProperties.general
136284
135711
  },
136285
135712
  {
136286
135713
  columnType: Prop.literal(ColumnType.DATE),
136287
- ...computedValueUnion,
136288
135714
  ...dateColumnProperties.general
136289
135715
  },
136290
135716
  {
136291
135717
  columnType: Prop.literal(ColumnType.BUTTON),
136292
- // no computedValue (just buttonLabel)
136293
135718
  ...buttonColumnProperties.general
136294
135719
  },
136295
135720
  {
136296
135721
  columnType: Prop.literal(ColumnType.LINK),
136297
- // no computedValue (just linkUrl/linkLabel)
136298
135722
  ...linkColumnProperties.general
136299
135723
  },
136300
135724
  {
136301
135725
  columnType: Prop.literal(ColumnType.BOOLEAN),
136302
- ...computedValueUnion,
136303
135726
  ...booleanColumnProperties.general
136304
135727
  },
136305
135728
  {
136306
135729
  columnType: Prop.literal(ColumnType.TAGS),
136307
- ...computedValueUnion,
136308
135730
  ...tagsColumnProperties.general
136309
135731
  },
136310
135732
  {
136311
135733
  columnType: Prop.literal(ColumnType.EMAIL),
136312
- ...computedValueUnion,
136313
135734
  ...emailColumnProperties.general
136314
135735
  }
136315
135736
  ]
@@ -145456,14 +144877,14 @@ function getLoaderFn(options) {
145456
144877
  if (!(loader === "all")) return [3, 3];
145457
144878
  return [4, import(
145458
144879
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
145459
- "./allPathsLoader-BdHvMdcd.js"
144880
+ "./allPathsLoader-l2CC2ZRN.js"
145460
144881
  )];
145461
144882
  case 2:
145462
144883
  return [2, _b2.sent().allPathsLoader];
145463
144884
  case 3:
145464
144885
  return [4, import(
145465
144886
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
145466
- "./splitPathsBySizeLoader-BFbna0L2.js"
144887
+ "./splitPathsBySizeLoader-BsO5Qoxp.js"
145467
144888
  )];
145468
144889
  case 4:
145469
144890
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -153419,10 +152840,7 @@ const isValidDate = (date4) => {
153419
152840
  return date4 !== "Invalid date" && moment(date4).isValid();
153420
152841
  };
153421
152842
  const StyledControlGroup$1 = qe$1(ControlGroup)`
153422
- width: 100%;
153423
152843
  height: 100%;
153424
- overflow-y: hidden;
153425
-
153426
152844
  &&& {
153427
152845
  .${INPUT$1} {
153428
152846
  width: 100%;
@@ -153458,8 +152876,7 @@ const StyledControlGroup$1 = qe$1(ControlGroup)`
153458
152876
  }
153459
152877
  }
153460
152878
 
153461
- .${INPUT_LEFT_CONTAINER$1},
153462
- .${INPUT_ACTION$1} {
152879
+ .${INPUT_LEFT_CONTAINER$1}, .${INPUT_ACTION$1} {
153463
152880
  display: flex;
153464
152881
  align-items: center;
153465
152882
  height: 100%;
@@ -153507,7 +152924,7 @@ class DatePickerComponent extends React__default.Component {
153507
152924
  const dateFormat = this.normalizedDateFormat;
153508
152925
  const showTime = formatIncludesTime(dateFormat);
153509
152926
  const timePrecision = getTimePrecision(dateFormat);
153510
- return showTime && this.props.use24HourTime && timePrecision === TimePrecision.MINUTE;
152927
+ return showTime && this.props.twentyFourHourTime && timePrecision === TimePrecision.MINUTE;
153511
152928
  });
153512
152929
  __publicField(this, "handleInteraction", (openState) => {
153513
152930
  this.setState({
@@ -153780,7 +153197,7 @@ class DatePickerComponent extends React__default.Component {
153780
153197
  },
153781
153198
  timePickerProps: !showTime ? void 0 : {
153782
153199
  precision: timePrecision,
153783
- useAmPm: !this.props.use24HourTime,
153200
+ useAmPm: !this.props.twentyFourHourTime,
153784
153201
  onChange: this.onTimeChanged
153785
153202
  },
153786
153203
  value: currentValue,
@@ -153795,32 +153212,24 @@ class DatePickerComponent extends React__default.Component {
153795
153212
  minHeight: this.props.inputLineHeightPx ? `${this.props.inputLineHeightPx + INPUT_ADDITIONAL_MIN_HEIGHT$1}px` : void 0
153796
153213
  },
153797
153214
  onClick: this.props.onInputClick,
153798
- leftIcon: this.props.icon ? (
153799
- /**
153800
- * Use `leftIcon` (with Blueprint's `INPUT_LEFT_CONTAINER` CSS class) instead of `leftElement`.
153801
- * Blueprint measures `leftElement` width after render to set input padding.
153802
- * If the element isn't present (e.g., Suspense, modals), it measures 0 and sets `padding-left: 0`, causing overlap.
153803
- * Setting the style to `paddingLeft` is overridden by Blueprint.
153804
- */
153805
- /* @__PURE__ */ jsxRuntimeExports.jsx(
153806
- "div",
153807
- {
153808
- className: `IconWrapper ${CLASS_NAMES.ICON} ${INPUT_LEFT_CONTAINER$1} ${isInputFocused ? CLASS_NAMES.ACTIVE_MODIFIER : ""} ${this.props.isDisabled || this.props.selectedDate === "" || this.props.selectedDate == null ? CLASS_NAMES.DISABLED_MODIFIER : ""} ${!this.props.isValid ? CLASS_NAMES.ERROR_MODIFIER : ""}`,
153809
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
153810
- DynamicSVG,
153811
- {
153812
- iconName: this.props.icon,
153813
- size: this.props.iconSize ?? DEFAULT_ICON_SIZE$1
153814
- }
153815
- )
153816
- }
153817
- )
153818
- ) : null,
153819
- rightElement: !formatIncludesTimezone(displayFormat) && this.props.showTimezone ? /* @__PURE__ */ jsxRuntimeExports.jsx(Timezone, { timezone: this.displayTimezone }) : void 0,
153820
- onChange: this.onInputChanged,
153215
+ leftElement: this.props.icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(
153216
+ "div",
153217
+ {
153218
+ className: `IconWrapper ${CLASS_NAMES.ICON} ${isInputFocused ? CLASS_NAMES.ACTIVE_MODIFIER : ""} ${this.props.isDisabled || this.props.selectedDate === "" || this.props.selectedDate == null ? CLASS_NAMES.DISABLED_MODIFIER : ""} ${!this.props.isValid ? CLASS_NAMES.ERROR_MODIFIER : ""}`,
153219
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
153220
+ DynamicSVG,
153221
+ {
153222
+ iconName: this.props.icon,
153223
+ size: this.props.iconSize ?? DEFAULT_ICON_SIZE$1
153224
+ }
153225
+ )
153226
+ }
153227
+ ) : void 0,
153821
153228
  // @ts-expect-error extra props
153822
153229
  "data-invalid": !this.props.isValid && !this.state.isOpen,
153823
- "data-active": this.state.isOpen
153230
+ "data-active": this.state.isOpen,
153231
+ rightElement: !formatIncludesTimezone(displayFormat) && this.props.showTimezone ? /* @__PURE__ */ jsxRuntimeExports.jsx(Timezone, { timezone: this.displayTimezone }) : void 0,
153232
+ onChange: this.onInputChanged
153824
153233
  },
153825
153234
  popoverProps: {
153826
153235
  ...this.props.forceOpen ? { isOpen: this.state.isOpen } : {},
@@ -154083,7 +153492,7 @@ const EditDateCell = (props2) => {
154083
153492
  selectedDate: date4,
154084
153493
  forceOpen: true,
154085
153494
  onDatePickerClosed: handleDatepickerClose,
154086
- use24HourTime: editTwentyFourHourTime ?? true,
153495
+ twentyFourHourTime: editTwentyFourHourTime ?? true,
154087
153496
  minDate: formattedMinDate,
154088
153497
  maxDate: formattedMaxDate,
154089
153498
  timezone: manageTimezone ? timezone : void 0,
@@ -162279,17 +161688,6 @@ function getSelectedRows(props2) {
162279
161688
  const selectedRows = selectedRowIndices.map((ind) => filteredTableData[ind]).filter(Boolean);
162280
161689
  return selectedRows;
162281
161690
  }
162282
- const isDerivedColumn = (tableData, columnId) => {
162283
- if (!tableData || tableData.length === 0) {
162284
- return true;
162285
- }
162286
- const firstRow = tableData[0];
162287
- if (!firstRow) {
162288
- return true;
162289
- }
162290
- const isInRow = columnId in firstRow;
162291
- return !isInRow;
162292
- };
162293
161691
  function getFilteredTableData(props2) {
162294
161692
  var _a2;
162295
161693
  if (!props2.tableData) {
@@ -162321,8 +161719,7 @@ function getFilteredTableData(props2) {
162321
161719
  return;
162322
161720
  }
162323
161721
  let computedValues = [];
162324
- if (column2 && column2.computedValue && // ignore computed values for non-derived columns (they can only use displayed values)
162325
- isDerivedColumn(derivedTableData, columnId)) {
161722
+ if (column2 && column2.computedValue) {
162326
161723
  if (lodashExports.isString(column2.computedValue)) {
162327
161724
  try {
162328
161725
  computedValues = JSON.parse(column2.computedValue);
@@ -181857,7 +181254,6 @@ const propertiesDefinition$8 = {
181857
181254
  }),
181858
181255
  validationErrors: Prop.any().readable().default(function() {
181859
181256
  const errors2 = {};
181860
- if (!this.isTouched) return errors2;
181861
181257
  if (this.isRequired) {
181862
181258
  if (this.multiselect && this.selectedIndexArr && this.selectedIndexArr.length === 0) {
181863
181259
  errors2.isRequired = "Required";
@@ -182432,7 +181828,6 @@ const propertiesDefinition$7 = {
182432
181828
  return this.isChecked;
182433
181829
  }),
182434
181830
  validationErrors: Prop.any().readable().default(function() {
182435
- if (!this.isTouched) return {};
182436
181831
  const errors2 = {};
182437
181832
  if (this.isRequired && !this.isChecked) {
182438
181833
  errors2.isRequired = "Required";
@@ -182521,8 +181916,6 @@ const adjustDateFormatSideEffect = (params) => {
182521
181916
  const newDateFormat = newWidget.dateFormat || ISO_DATE_FORMAT;
182522
181917
  const timezone = newWidget.timezone;
182523
181918
  const defaultDateIsDynamic = isBindingString(newWidget.defaultDate);
182524
- const minDateIsDynamic = isBindingString(newWidget.minDate);
182525
- const maxDateIsDynamic = isBindingString(newWidget.maxDate);
182526
181919
  const propUpdates = {};
182527
181920
  const metaUpdates = {};
182528
181921
  if (!defaultDateIsDynamic && newWidget.defaultDate) {
@@ -182547,32 +181940,6 @@ const adjustDateFormatSideEffect = (params) => {
182547
181940
  metaUpdates.selectedDate = metaDate.format(newDateFormat);
182548
181941
  }
182549
181942
  }
182550
- if (!minDateIsDynamic && newWidget.minDate) {
182551
- let minDate = moment(newWidget.minDate);
182552
- if (minDate.isValid()) {
182553
- if (timezone) {
182554
- minDate = moment.tz(
182555
- newWidget.minDate,
182556
- [previousDateFormat, DEFAULT_DATE_FORMAT],
182557
- timezone
182558
- );
182559
- }
182560
- propUpdates.minDate = Property.Static(minDate.format(newDateFormat));
182561
- }
182562
- }
182563
- if (!maxDateIsDynamic && newWidget.maxDate) {
182564
- let maxDate = moment(newWidget.maxDate);
182565
- if (maxDate.isValid()) {
182566
- if (timezone) {
182567
- maxDate = moment.tz(
182568
- newWidget.maxDate,
182569
- [previousDateFormat, DEFAULT_DATE_FORMAT],
182570
- timezone
182571
- );
182572
- }
182573
- propUpdates.maxDate = Property.Static(maxDate.format(newDateFormat));
182574
- }
182575
- }
182576
181943
  return {
182577
181944
  [widgetMeta.sourceId]: {
182578
181945
  props: propUpdates,
@@ -182594,12 +181961,12 @@ const adjustMinMaxDateSideEffect = (params) => {
182594
181961
  const propUpdates = {};
182595
181962
  if (updates.minDate && !isBindingString(updates.minDate.value) && defaultDate.isBefore(moment(updates.minDate.value, dateFormat))) {
182596
181963
  propUpdates.defaultDate = Property.Static(
182597
- moment(updates.minDate.value, dateFormat).format(dateFormat)
181964
+ updates.minDate.value
182598
181965
  );
182599
181966
  }
182600
181967
  if (updates.maxDate && !isBindingString(updates.maxDate.value) && defaultDate.isAfter(moment(updates.maxDate.value, dateFormat))) {
182601
181968
  propUpdates.defaultDate = Property.Static(
182602
- moment(updates.maxDate.value, dateFormat).format(dateFormat)
181969
+ updates.maxDate.value
182603
181970
  );
182604
181971
  }
182605
181972
  return {
@@ -182676,7 +182043,7 @@ const propertiesDefinition$6 = {
182676
182043
  ]
182677
182044
  })
182678
182045
  ).add({
182679
- use24HourTime: Prop.boolean().readAndWrite().default(false).propertiesPanel({
182046
+ twentyFourHourTime: Prop.boolean().readAndWrite().default(false).propertiesPanel({
182680
182047
  label: "24 hour time",
182681
182048
  helpText: "Whether to use 24-hour time format",
182682
182049
  controlType: "SWITCH"
@@ -182752,7 +182119,6 @@ const propertiesDefinition$6 = {
182752
182119
  return this.selectedDate ? this.selectedDate : void 0;
182753
182120
  }),
182754
182121
  validationErrors: Prop.any().readable().default(function() {
182755
- if (!this.isTouched) return {};
182756
182122
  const errors2 = {};
182757
182123
  if (this.isRequired && !this.selectedDate) {
182758
182124
  errors2.isRequired = "Required";
@@ -182845,7 +182211,6 @@ const SbDatePicker = registerSbComponent(
182845
182211
  backgroundColor: props2.backgroundColor,
182846
182212
  textStyle: props2.textStyle
182847
182213
  });
182848
- const iconSize = useInputIconSize({ textStyle: props2.textStyle });
182849
182214
  return /* @__PURE__ */ jsxRuntimeExports.jsx(DatePickerContainer, { ...passThroughProps, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
182850
182215
  DatePickerComponent,
182851
182216
  {
@@ -182862,12 +182227,11 @@ const SbDatePicker = registerSbComponent(
182862
182227
  isValid: !isInvalid,
182863
182228
  isTouched: props2.isTouched,
182864
182229
  isRequired: props2.isRequired,
182865
- use24HourTime: props2.use24HourTime,
182230
+ twentyFourHourTime: props2.twentyFourHourTime,
182866
182231
  displayTimezone: props2.manageTimezone ? props2.displayTimezone : void 0,
182867
182232
  timezone: props2.manageTimezone ? props2.valueTimezone : void 0,
182868
182233
  showTimezone: !!props2.manageTimezone,
182869
182234
  icon: props2.icon,
182870
- iconSize,
182871
182235
  onDatePickerClosed: handleDatePickerClosed,
182872
182236
  placeholder: props2.placeholder,
182873
182237
  labelStyleOverride: labelProps == null ? void 0 : labelProps.style,
@@ -182952,7 +182316,6 @@ const propertiesDefinition$5 = {
182952
182316
  return this.isChecked;
182953
182317
  }),
182954
182318
  validationErrors: Prop.any().readable().default(function() {
182955
- if (!this.isTouched) return {};
182956
182319
  const errors2 = {};
182957
182320
  if (this.isRequired && !this.isChecked) {
182958
182321
  errors2.isRequired = "Required";
@@ -186436,7 +185799,7 @@ const SbProvider = function SbProvider2({
186436
185799
  },
186437
185800
  id: "sb-provider-root",
186438
185801
  children: [
186439
- /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary2, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
185802
+ /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary2, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
186440
185803
  "div",
186441
185804
  {
186442
185805
  id: CANVAS_ROOT_ID,
@@ -186449,10 +185812,7 @@ const SbProvider = function SbProvider2({
186449
185812
  overflow: "hidden",
186450
185813
  position: "relative"
186451
185814
  },
186452
- children: [
186453
- /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalScope, { children: isEmbedded ? /* @__PURE__ */ jsxRuntimeExports.jsx(EmbedWrapper, { children }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Auth0Wrapper, { children }) }) }),
186454
- /* @__PURE__ */ jsxRuntimeExports.jsx(DevTools, {})
186455
- ]
185815
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalScope, { children: isEmbedded ? /* @__PURE__ */ jsxRuntimeExports.jsx(EmbedWrapper, { children }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Auth0Wrapper, { children }) }) })
186456
185816
  }
186457
185817
  ) }),
186458
185818
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: MODAL_TARGET_ROOT_ID, "data-superblocks": MODAL_TARGET_ROOT_ID })
@@ -197865,149 +197225,145 @@ function requireClient() {
197865
197225
  }
197866
197226
  var clientExports = requireClient();
197867
197227
  export {
197868
- clientExports as $,
197228
+ HashRouter as $,
197869
197229
  AppStateVarPersistence6 as A,
197870
- SbProvider as B,
197871
- SbEventFlow as C,
197872
- copyToClipboard as D,
197873
- navigateTo as E,
197874
- setQueryParams as F,
197875
- download as G,
197876
- showAlert as H,
197230
+ setQueryParams as B,
197231
+ download as C,
197232
+ showAlert as D,
197233
+ logoutIntegrations as E,
197234
+ registerScope as F,
197235
+ registerPage as G,
197236
+ createSbScope as H,
197877
197237
  IconSize$2 as I,
197878
- logoutIntegrations as J,
197879
- registerScope as K,
197880
- registerPage as L,
197881
- createSbScope as M,
197882
- Global as N,
197883
- Embed as O,
197884
- Env as P,
197885
- SbEvent as Q,
197886
- useUpdateProperties as R,
197238
+ Global as J,
197239
+ Embed as K,
197240
+ Env as L,
197241
+ SbEvent as M,
197242
+ useUpdateProperties as N,
197243
+ useTheme as O,
197244
+ Prop as P,
197245
+ sbComputed as Q,
197246
+ Dim as R,
197887
197247
  SbButton as S,
197888
197248
  Theme as T,
197889
- useTheme as U,
197890
- Prop as V,
197891
- sbComputed as W,
197892
- Dim as X,
197893
- SB as Y,
197894
- Outlet as Z,
197249
+ SB as U,
197250
+ Outlet as V,
197251
+ clientExports as W,
197252
+ Await as X,
197253
+ BrowserRouter as Y,
197254
+ Form2 as Z,
197895
197255
  __awaiter as _,
197896
197256
  __generator as a,
197897
- createStaticHandler2 as a$,
197898
- Await as a0,
197899
- BrowserRouter as a1,
197900
- Form2 as a2,
197901
- HashRouter as a3,
197902
- IDLE_BLOCKER as a4,
197903
- IDLE_FETCHER as a5,
197904
- IDLE_NAVIGATION as a6,
197905
- Link as a7,
197906
- Links as a8,
197907
- MemoryRouter as a9,
197908
- createBrowserHistory as aA,
197909
- createClientRoutes as aB,
197910
- createClientRoutesWithHMRRevalidationOptOut as aC,
197911
- createRouter as aD,
197912
- decodeViaTurboStream as aE,
197913
- deserializeErrors2 as aF,
197914
- getPatchRoutesOnNavigationFunction as aG,
197915
- getSingleFetchDataStrategy as aH,
197916
- invariant as aI,
197917
- mapRouteProperties as aJ,
197918
- shouldHydrateRouteLoader as aK,
197919
- useFogOFWarDiscovery as aL,
197920
- useScrollRestoration as aM,
197921
- createBrowserRouter as aN,
197922
- createCookie as aO,
197923
- createCookieSessionStorage as aP,
197924
- createHashRouter as aQ,
197925
- createMemoryRouter as aR,
197926
- createMemorySessionStorage as aS,
197927
- createPath as aT,
197928
- createRequestHandler as aU,
197929
- createRoutesFromChildren as aV,
197930
- createRoutesFromElements as aW,
197931
- createRoutesStub as aX,
197932
- createSearchParams as aY,
197933
- createSession as aZ,
197934
- createSessionStorage as a_,
197935
- Meta as aa,
197936
- NavLink as ab,
197937
- Navigate as ac,
197938
- Action as ad,
197939
- PrefetchPageLinks as ae,
197940
- Route as af,
197941
- Router as ag,
197942
- RouterProvider as ah,
197943
- Routes as ai,
197944
- Scripts as aj,
197945
- ScrollRestoration as ak,
197946
- ServerRouter as al,
197947
- StaticRouter as am,
197948
- StaticRouterProvider as an,
197949
- DataRouterContext as ao,
197950
- DataRouterStateContext as ap,
197951
- ErrorResponseImpl as aq,
197952
- FetchersContext as ar,
197953
- FrameworkContext as as,
197954
- LocationContext as at,
197955
- NavigationContext as au,
197956
- RemixErrorBoundary as av,
197957
- RouteContext as aw,
197958
- ServerMode as ax,
197959
- SingleFetchRedirectSymbol as ay,
197960
- ViewTransitionContext as az,
197257
+ href as a$,
197258
+ IDLE_BLOCKER as a0,
197259
+ IDLE_FETCHER as a1,
197260
+ IDLE_NAVIGATION as a2,
197261
+ Link as a3,
197262
+ Links as a4,
197263
+ MemoryRouter as a5,
197264
+ Meta as a6,
197265
+ NavLink as a7,
197266
+ Navigate as a8,
197267
+ Action as a9,
197268
+ decodeViaTurboStream as aA,
197269
+ deserializeErrors2 as aB,
197270
+ getPatchRoutesOnNavigationFunction as aC,
197271
+ getSingleFetchDataStrategy as aD,
197272
+ invariant as aE,
197273
+ mapRouteProperties as aF,
197274
+ shouldHydrateRouteLoader as aG,
197275
+ useFogOFWarDiscovery as aH,
197276
+ useScrollRestoration as aI,
197277
+ createBrowserRouter as aJ,
197278
+ createCookie as aK,
197279
+ createCookieSessionStorage as aL,
197280
+ createHashRouter as aM,
197281
+ createMemoryRouter as aN,
197282
+ createMemorySessionStorage as aO,
197283
+ createPath as aP,
197284
+ createRequestHandler as aQ,
197285
+ createRoutesFromChildren as aR,
197286
+ createRoutesFromElements as aS,
197287
+ createRoutesStub as aT,
197288
+ createSearchParams as aU,
197289
+ createSession as aV,
197290
+ createSessionStorage as aW,
197291
+ createStaticHandler2 as aX,
197292
+ createStaticRouter as aY,
197293
+ data as aZ,
197294
+ generatePath as a_,
197295
+ PrefetchPageLinks as aa,
197296
+ Route as ab,
197297
+ Router as ac,
197298
+ RouterProvider as ad,
197299
+ Routes as ae,
197300
+ Scripts as af,
197301
+ ScrollRestoration as ag,
197302
+ ServerRouter as ah,
197303
+ StaticRouter as ai,
197304
+ StaticRouterProvider as aj,
197305
+ DataRouterContext as ak,
197306
+ DataRouterStateContext as al,
197307
+ ErrorResponseImpl as am,
197308
+ FetchersContext as an,
197309
+ FrameworkContext as ao,
197310
+ LocationContext as ap,
197311
+ NavigationContext as aq,
197312
+ RemixErrorBoundary as ar,
197313
+ RouteContext as as,
197314
+ ServerMode as at,
197315
+ SingleFetchRedirectSymbol as au,
197316
+ ViewTransitionContext as av,
197317
+ createBrowserHistory as aw,
197318
+ createClientRoutes as ax,
197319
+ createClientRoutesWithHMRRevalidationOptOut as ay,
197320
+ createRouter as az,
197961
197321
  IconSize as b,
197962
- createStaticRouter as b0,
197963
- data as b1,
197964
- generatePath as b2,
197965
- href as b3,
197966
- isCookie as b4,
197967
- isRouteErrorResponse as b5,
197968
- isSession as b6,
197969
- matchPath as b7,
197970
- matchRoutes as b8,
197971
- parsePath as b9,
197972
- useNavigation as bA,
197973
- useNavigationType as bB,
197974
- useOutlet as bC,
197975
- useOutletContext as bD,
197976
- useParams as bE,
197977
- useResolvedPath as bF,
197978
- useRevalidator as bG,
197979
- useRouteError as bH,
197980
- useRouteLoaderData as bI,
197981
- useRoutes as bJ,
197982
- useSearchParams as bK,
197983
- useSubmit as bL,
197984
- useViewTransitionState as bM,
197985
- redirect as ba,
197986
- redirectDocument as bb,
197987
- renderMatches as bc,
197988
- replace2 as bd,
197989
- resolvePath as be,
197990
- HistoryRouter as bf,
197991
- unstable_RouterContextProvider as bg,
197992
- unstable_createContext as bh,
197993
- setDevServerHooks as bi,
197994
- usePrompt as bj,
197995
- useActionData as bk,
197996
- useAsyncError as bl,
197997
- useAsyncValue as bm,
197998
- useBeforeUnload as bn,
197999
- useBlocker as bo,
198000
- useFetcher as bp,
198001
- useFetchers as bq,
198002
- useFormAction as br,
198003
- useHref as bs,
198004
- useInRouterContext as bt,
198005
- useLinkClickHandler as bu,
198006
- useLoaderData as bv,
198007
- useLocation as bw,
198008
- useMatch as bx,
198009
- useMatches as by,
198010
- useNavigate as bz,
197322
+ isCookie as b0,
197323
+ isRouteErrorResponse as b1,
197324
+ isSession as b2,
197325
+ matchPath as b3,
197326
+ matchRoutes as b4,
197327
+ parsePath as b5,
197328
+ redirect as b6,
197329
+ redirectDocument as b7,
197330
+ renderMatches as b8,
197331
+ replace2 as b9,
197332
+ useParams as bA,
197333
+ useResolvedPath as bB,
197334
+ useRevalidator as bC,
197335
+ useRouteError as bD,
197336
+ useRouteLoaderData as bE,
197337
+ useRoutes as bF,
197338
+ useSearchParams as bG,
197339
+ useSubmit as bH,
197340
+ useViewTransitionState as bI,
197341
+ resolvePath as ba,
197342
+ HistoryRouter as bb,
197343
+ unstable_RouterContextProvider as bc,
197344
+ unstable_createContext as bd,
197345
+ setDevServerHooks as be,
197346
+ usePrompt as bf,
197347
+ useActionData as bg,
197348
+ useAsyncError as bh,
197349
+ useAsyncValue as bi,
197350
+ useBeforeUnload as bj,
197351
+ useBlocker as bk,
197352
+ useFetcher as bl,
197353
+ useFetchers as bm,
197354
+ useFormAction as bn,
197355
+ useHref as bo,
197356
+ useInRouterContext as bp,
197357
+ useLinkClickHandler as bq,
197358
+ useLoaderData as br,
197359
+ useLocation as bs,
197360
+ useMatch as bt,
197361
+ useMatches as bu,
197362
+ useNavigate as bv,
197363
+ useNavigation as bw,
197364
+ useNavigationType as bx,
197365
+ useOutlet as by,
197366
+ useOutletContext as bz,
198011
197367
  SbSection as c,
198012
197368
  SbColumn as d,
198013
197369
  SbContainer as e,
@@ -198015,22 +197371,22 @@ export {
198015
197371
  SbPage as g,
198016
197372
  SbText as h,
198017
197373
  SbModal as i,
198018
- jsxRuntimeExports as j,
198019
- SbTable as k,
198020
- SbDropdown as l,
198021
- makeAutoObservable as m,
198022
- SbCustom as n,
198023
- observer as o,
197374
+ SbTable as j,
197375
+ SbDropdown as k,
197376
+ SbCustom as l,
197377
+ SbCheckbox as m,
197378
+ SbDatePicker as n,
197379
+ SbSwitch as o,
198024
197380
  pascalCase as p,
198025
- SbCheckbox as q,
197381
+ SbIcon as q,
198026
197382
  registerComponent as r,
198027
- SbDatePicker as s,
198028
- toJS as t,
198029
- SbSwitch as u,
198030
- SbIcon as v,
198031
- SbImage as w,
198032
- SbVariable as x,
198033
- SbTimer as y,
198034
- SbApi as z
198035
- };
198036
- //# sourceMappingURL=index-CJuRwhWz.js.map
197383
+ SbImage as s,
197384
+ SbVariable as t,
197385
+ SbTimer as u,
197386
+ SbApi as v,
197387
+ SbProvider as w,
197388
+ SbEventFlow as x,
197389
+ copyToClipboard as y,
197390
+ navigateTo as z
197391
+ };
197392
+ //# sourceMappingURL=index-DV7VPZc1.js.map