@superblocksteam/library 2.0.4 → 2.0.5

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-B2t0JFsE.js → allPaths-CROgh4Wr.js} +2 -2
  2. package/dist/{allPaths-B2t0JFsE.js.map → allPaths-CROgh4Wr.js.map} +1 -1
  3. package/dist/{allPaths-Ds8PViwH.js → allPaths-Va1k8Bn4.js} +2 -2
  4. package/dist/{allPaths-Ds8PViwH.js.map → allPaths-Va1k8Bn4.js.map} +1 -1
  5. package/dist/{allPathsLoader-BwDYmyS1.js → allPathsLoader-BJthmVkF.js} +3 -3
  6. package/dist/{allPathsLoader-BwDYmyS1.js.map → allPathsLoader-BJthmVkF.js.map} +1 -1
  7. package/dist/{allPathsLoader-l2CC2ZRN.js → allPathsLoader-BdHvMdcd.js} +3 -3
  8. package/dist/{allPathsLoader-l2CC2ZRN.js.map → allPathsLoader-BdHvMdcd.js.map} +1 -1
  9. package/dist/devtools-consolidated-Ck9KuyGf.js +590 -0
  10. package/dist/devtools-consolidated-Ck9KuyGf.js.map +1 -0
  11. package/dist/{index-DV7VPZc1.js → index-CJuRwhWz.js} +1115 -471
  12. package/dist/{index-DV7VPZc1.js.map → index-CJuRwhWz.js.map} +1 -1
  13. package/dist/index.css +172 -1
  14. package/dist/index.js +149 -149
  15. package/dist/{splitPathsBySizeLoader-CTv2UfGL.js → splitPathsBySizeLoader-3mcg6Jfx.js} +2 -2
  16. package/dist/{splitPathsBySizeLoader-CTv2UfGL.js.map → splitPathsBySizeLoader-3mcg6Jfx.js.map} +1 -1
  17. package/dist/{splitPathsBySizeLoader-BsO5Qoxp.js → splitPathsBySizeLoader-BFbna0L2.js} +2 -2
  18. package/dist/{splitPathsBySizeLoader-BsO5Qoxp.js.map → splitPathsBySizeLoader-BFbna0L2.js.map} +1 -1
  19. package/dist-types/edit-mode/extended-clickable-area.d.ts +8 -0
  20. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +23 -23
  21. package/dist-types/edit-mode/properties.d.ts +1 -1
  22. package/dist-types/internal-testing/components/modal.d.ts +3 -1
  23. package/dist-types/lib/internal-details/lib/devtools/devtools-consolidated.d.ts +5 -0
  24. package/dist-types/lib/internal-details/lib/devtools/index.d.ts +4 -0
  25. package/dist-types/lib/internal-details/lib/devtools/serialize-store-data.d.ts +1 -0
  26. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +2 -1
  27. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +1 -0
  28. package/dist-types/lib/internal-details/sb-wrapper.d.ts +1 -0
  29. package/dist-types/lib/internal-details/scope/global.d.ts +2 -1
  30. package/dist-types/lib/internal-details/scope/types.d.ts +57 -0
  31. package/dist-types/lib/sb-trigger.d.ts +0 -4
  32. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +4 -3
  33. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +4 -8
  34. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +4 -8
  35. package/dist-types/lib/triggers/registry.d.ts +6 -14
  36. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
  37. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
  38. package/dist-types/lib/user-facing/components/date-picker/types.d.ts +1 -1
  39. package/dist-types/lib/user-facing/components/grid/index.d.ts +2 -1
  40. package/dist-types/lib/user-facing/components/page/index.d.ts +3 -0
  41. package/dist-types/lib/user-facing/components/page/props.d.ts +3 -0
  42. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +12 -9
  43. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +1 -0
  44. package/dist-types/lib/user-facing/components/table/index.d.ts +12 -9
  45. package/dist-types/lib/user-facing/components/table/props.d.ts +12 -9
  46. package/dist-types/lib/user-facing/components/text/utils.d.ts +2 -1
  47. package/dist-types/lib/user-facing/sb-event-flow.d.ts +4 -2
  48. package/dist-types/lib/user-facing/themes/constants.d.ts +7 -2
  49. package/dist-types/lib/utils/children.d.ts +3 -0
  50. package/package.json +3 -4
  51. package/dist-types/lib/internal-details/lib/devtools.d.ts +0 -1
@@ -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, Children, memo, useReducer, PureComponent, useSyncExternalStore, Suspense, 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, Suspense, Children, memo, useReducer, PureComponent, useSyncExternalStore, 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,18 +5917,11 @@ 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
- }
5924
5920
  class ConnectionManager {
5925
5921
  // The status of the connection to the remote dev server
5926
5922
  constructor() {
5927
5923
  __publicField(this, "connectionStatus", "pre-init");
5928
5924
  makeAutoObservable(this);
5929
- registerStores({
5930
- ConnectionManager: this
5931
- });
5932
5925
  }
5933
5926
  initializeSocket() {
5934
5927
  this.connectionStatus = "connecting";
@@ -6038,7 +6031,7 @@ const isDimension = (value) => {
6038
6031
  var Dim;
6039
6032
  (function(Dim2) {
6040
6033
  function isEqual2(a3, b3) {
6041
- return a3.mode === b3.mode && a3.value === b3.value;
6034
+ return Object.is(a3.mode, b3.mode) && Object.is(a3.value, b3.value);
6042
6035
  }
6043
6036
  Dim2.isEqual = isEqual2;
6044
6037
  function build(value, mode) {
@@ -43048,9 +43041,6 @@ class InteractionLayerManager {
43048
43041
  __publicField(this, "activeRootInstanceId");
43049
43042
  __publicField(this, "sourceIdElements", /* @__PURE__ */ new Map());
43050
43043
  makeAutoObservable(this);
43051
- registerStores({
43052
- InteractionLayerManager: this
43053
- });
43054
43044
  }
43055
43045
  setActiveRootInstanceId(rootInstanceId) {
43056
43046
  this.activeRootInstanceId = rootInstanceId;
@@ -43171,10 +43161,14 @@ const RunApisTrigger = {
43171
43161
  const ControlModalTrigger = {
43172
43162
  type: TriggerStepType.CONTROL_MODAL,
43173
43163
  async execute(context2, step) {
43164
+ if (step.name === void 0) {
43165
+ return;
43166
+ }
43174
43167
  context2.rootStore.entityManager.runCode({
43175
43168
  scopeId: context2.scopeId,
43176
43169
  name: context2.name,
43177
43170
  func: (state, step2) => {
43171
+ if (!state || !step2.name) return;
43178
43172
  if (step2.direction === "open") {
43179
43173
  state[step2.name].isOpen = true;
43180
43174
  } else {
@@ -43184,10 +43178,11 @@ const ControlModalTrigger = {
43184
43178
  args: [step]
43185
43179
  });
43186
43180
  },
43187
- create(name, direction) {
43181
+ create(modal, direction) {
43182
+ const meta = getBindingIdentifier(modal);
43188
43183
  return {
43189
43184
  type: TriggerStepType.CONTROL_MODAL,
43190
- name,
43185
+ name: meta == null ? void 0 : meta.entityName,
43191
43186
  direction
43192
43187
  };
43193
43188
  }
@@ -43661,8 +43656,8 @@ function findDOMNode(node2) {
43661
43656
  }
43662
43657
  return null;
43663
43658
  }
43664
- var reactIs$1 = { exports: {} };
43665
- var reactIs_production_min$1 = {};
43659
+ var reactIs$2 = { exports: {} };
43660
+ var reactIs_production_min$2 = {};
43666
43661
  /**
43667
43662
  * @license React
43668
43663
  * react-is.production.min.js
@@ -43672,10 +43667,10 @@ var reactIs_production_min$1 = {};
43672
43667
  * This source code is licensed under the MIT license found in the
43673
43668
  * LICENSE file in the root directory of this source tree.
43674
43669
  */
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;
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;
43679
43674
  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;
43680
43675
  u2 = Symbol.for("react.module.reference");
43681
43676
  function v2(a3) {
@@ -43708,71 +43703,71 @@ function requireReactIs_production_min$1() {
43708
43703
  }
43709
43704
  }
43710
43705
  }
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() {
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() {
43724
43719
  return false;
43725
43720
  };
43726
- reactIs_production_min$1.isConcurrentMode = function() {
43721
+ reactIs_production_min$2.isConcurrentMode = function() {
43727
43722
  return false;
43728
43723
  };
43729
- reactIs_production_min$1.isContextConsumer = function(a3) {
43724
+ reactIs_production_min$2.isContextConsumer = function(a3) {
43730
43725
  return v2(a3) === h3;
43731
43726
  };
43732
- reactIs_production_min$1.isContextProvider = function(a3) {
43727
+ reactIs_production_min$2.isContextProvider = function(a3) {
43733
43728
  return v2(a3) === g2;
43734
43729
  };
43735
- reactIs_production_min$1.isElement = function(a3) {
43730
+ reactIs_production_min$2.isElement = function(a3) {
43736
43731
  return "object" === typeof a3 && null !== a3 && a3.$$typeof === b3;
43737
43732
  };
43738
- reactIs_production_min$1.isForwardRef = function(a3) {
43733
+ reactIs_production_min$2.isForwardRef = function(a3) {
43739
43734
  return v2(a3) === l;
43740
43735
  };
43741
- reactIs_production_min$1.isFragment = function(a3) {
43736
+ reactIs_production_min$2.isFragment = function(a3) {
43742
43737
  return v2(a3) === d3;
43743
43738
  };
43744
- reactIs_production_min$1.isLazy = function(a3) {
43739
+ reactIs_production_min$2.isLazy = function(a3) {
43745
43740
  return v2(a3) === q3;
43746
43741
  };
43747
- reactIs_production_min$1.isMemo = function(a3) {
43742
+ reactIs_production_min$2.isMemo = function(a3) {
43748
43743
  return v2(a3) === p;
43749
43744
  };
43750
- reactIs_production_min$1.isPortal = function(a3) {
43745
+ reactIs_production_min$2.isPortal = function(a3) {
43751
43746
  return v2(a3) === c3;
43752
43747
  };
43753
- reactIs_production_min$1.isProfiler = function(a3) {
43748
+ reactIs_production_min$2.isProfiler = function(a3) {
43754
43749
  return v2(a3) === f;
43755
43750
  };
43756
- reactIs_production_min$1.isStrictMode = function(a3) {
43751
+ reactIs_production_min$2.isStrictMode = function(a3) {
43757
43752
  return v2(a3) === e3;
43758
43753
  };
43759
- reactIs_production_min$1.isSuspense = function(a3) {
43754
+ reactIs_production_min$2.isSuspense = function(a3) {
43760
43755
  return v2(a3) === m4;
43761
43756
  };
43762
- reactIs_production_min$1.isSuspenseList = function(a3) {
43757
+ reactIs_production_min$2.isSuspenseList = function(a3) {
43763
43758
  return v2(a3) === n2;
43764
43759
  };
43765
- reactIs_production_min$1.isValidElementType = function(a3) {
43760
+ reactIs_production_min$2.isValidElementType = function(a3) {
43766
43761
  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;
43767
43762
  };
43768
- reactIs_production_min$1.typeOf = v2;
43769
- return reactIs_production_min$1;
43763
+ reactIs_production_min$2.typeOf = v2;
43764
+ return reactIs_production_min$2;
43770
43765
  }
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;
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;
43776
43771
  var define_process_env_default2 = {};
43777
43772
  /**
43778
43773
  * @license React
@@ -43927,51 +43922,51 @@ function requireReactIs_development$1() {
43927
43922
  function isSuspenseList(object4) {
43928
43923
  return typeOf(object4) === REACT_SUSPENSE_LIST_TYPE;
43929
43924
  }
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;
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;
43958
43953
  })();
43959
43954
  }
43960
- return reactIs_development$1;
43955
+ return reactIs_development$2;
43961
43956
  }
43962
- var hasRequiredReactIs$1;
43963
- function requireReactIs$1() {
43964
- if (hasRequiredReactIs$1) return reactIs$1.exports;
43965
- hasRequiredReactIs$1 = 1;
43957
+ var hasRequiredReactIs$2;
43958
+ function requireReactIs$2() {
43959
+ if (hasRequiredReactIs$2) return reactIs$2.exports;
43960
+ hasRequiredReactIs$2 = 1;
43966
43961
  var define_process_env_default2 = {};
43967
43962
  if (define_process_env_default2.NODE_ENV === "production") {
43968
- reactIs$1.exports = requireReactIs_production_min$1();
43963
+ reactIs$2.exports = requireReactIs_production_min$2();
43969
43964
  } else {
43970
- reactIs$1.exports = requireReactIs_development$1();
43965
+ reactIs$2.exports = requireReactIs_development$2();
43971
43966
  }
43972
- return reactIs$1.exports;
43967
+ return reactIs$2.exports;
43973
43968
  }
43974
- var reactIsExports = requireReactIs$1();
43969
+ var reactIsExports$1 = requireReactIs$2();
43975
43970
  function useMemo$1(getValue2, condition, shouldUpdate) {
43976
43971
  var cacheRef = React.useRef({});
43977
43972
  if (!("value" in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {
@@ -44022,11 +44017,11 @@ var supportRef = function supportRef2(nodeOrComponent) {
44022
44017
  if (isReactElement$2(nodeOrComponent) && ReactMajorVersion >= 19) {
44023
44018
  return true;
44024
44019
  }
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) {
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) {
44027
44022
  return false;
44028
44023
  }
44029
- if (typeof nodeOrComponent === "function" && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== reactIsExports.ForwardRef) {
44024
+ if (typeof nodeOrComponent === "function" && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render) && nodeOrComponent.$$typeof !== reactIsExports$1.ForwardRef) {
44030
44025
  return false;
44031
44026
  }
44032
44027
  return true;
@@ -76413,6 +76408,317 @@ function requireCopyToClipboard() {
76413
76408
  }
76414
76409
  var copyToClipboardExports = requireCopyToClipboard();
76415
76410
  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();
76416
76722
  function stylis_min(W2) {
76417
76723
  function M4(d3, c3, e3, h3, a3) {
76418
76724
  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; ) {
@@ -78108,38 +78414,33 @@ const ShowAlertTrigger = {
78108
78414
  };
78109
78415
  const ResetStateVarTrigger = {
78110
78416
  type: TriggerStepType.RESET_STATE_VAR,
78111
- async execute(context2, _step) {
78112
- if (_step.state === void 0) {
78417
+ async execute(context2, step) {
78418
+ if (step.state === void 0) {
78113
78419
  return;
78114
78420
  }
78115
- const step = _step;
78116
78421
  context2.rootStore.entityManager.runCode({
78117
78422
  scopeId: context2.scopeId,
78118
78423
  name: context2.name,
78119
- func: (state, step2) => state[step2.state.name].value = state[step2.state.name].defaultValue,
78120
- args: [step]
78424
+ func: () => {
78425
+ var _a2;
78426
+ return (_a2 = step.state) == null ? void 0 : _a2.set(step.state.defaultValue);
78427
+ },
78428
+ args: []
78121
78429
  });
78122
78430
  },
78123
78431
  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;
78130
78432
  return {
78131
78433
  type: TriggerStepType.RESET_STATE_VAR,
78132
- state
78434
+ state: stateVar
78133
78435
  };
78134
78436
  }
78135
78437
  };
78136
78438
  const SetStateVarTrigger = {
78137
78439
  type: TriggerStepType.SET_STATE_VAR,
78138
- async execute(context2, _step) {
78139
- if (_step.state === void 0) {
78440
+ async execute(context2, step) {
78441
+ if (step.state === void 0) {
78140
78442
  return;
78141
78443
  }
78142
- const step = _step;
78143
78444
  const value = context2.rootStore.entityManager.computeValue({
78144
78445
  scopeId: context2.scopeId,
78145
78446
  name: context2.name,
@@ -78148,22 +78449,18 @@ const SetStateVarTrigger = {
78148
78449
  context2.rootStore.entityManager.runCode({
78149
78450
  scopeId: context2.scopeId,
78150
78451
  name: context2.name,
78151
- func: (state, value2, step2) => {
78452
+ func: (state, value2) => {
78453
+ var _a2;
78152
78454
  if (!state) return;
78153
- state[step2.state.name].value = value2;
78455
+ (_a2 = step.state) == null ? void 0 : _a2.set(value2);
78154
78456
  },
78155
- args: [value, step]
78457
+ args: [value]
78156
78458
  });
78157
78459
  },
78158
78460
  create(stateVar, value) {
78159
- const meta = getBindingIdentifier(stateVar);
78160
78461
  return {
78161
78462
  type: TriggerStepType.SET_STATE_VAR,
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,
78463
+ state: stateVar,
78167
78464
  value
78168
78465
  };
78169
78466
  }
@@ -82444,6 +82741,18 @@ const VALIDATORS = {
82444
82741
  }
82445
82742
  }
82446
82743
  };
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
+ }
82447
82756
  function getChildren(input, path2, entity, scopedState) {
82448
82757
  function getChildrenFromSection(section) {
82449
82758
  return Object.keys(section.props).reduce(
@@ -82880,6 +83189,16 @@ class UnionProp extends Prop {
82880
83189
  getProps() {
82881
83190
  const sharedKeys = Object.keys(this.shared);
82882
83191
  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
+ );
82883
83202
  const mergedVariants = variants.reduce(
82884
83203
  (acc, v2) => {
82885
83204
  const variantConstants = Object.entries(v2).filter(
@@ -82893,9 +83212,18 @@ class UnionProp extends Prop {
82893
83212
  });
82894
83213
  const filteredVariant = Object.fromEntries(
82895
83214
  Object.entries(v2).filter(([key2]) => !sharedKeys.includes(key2)).map(([key2, prop]) => {
82896
- var _a2;
82897
- const existingRelations = ((_a2 = acc[key2]) == null ? void 0 : _a2.getRelations()) ?? [];
82898
- return [key2, prop.dependsOn([...existingRelations, relations])];
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
+ ];
82899
83227
  })
82900
83228
  );
82901
83229
  return { ...acc, ...filteredVariant };
@@ -83167,6 +83495,35 @@ function requireRfdc() {
83167
83495
  var rfdcExports = requireRfdc();
83168
83496
  const clone$3 = /* @__PURE__ */ getDefaultExportFromCjs(rfdcExports);
83169
83497
  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
+ };
83170
83527
  const ARGS_VAR_NAME = "$SB_args";
83171
83528
  const USER_JS_CODE_VAR_NAME = "$SB_userJSCode";
83172
83529
  const SNAPSHOT_VAR_NAME = "$SB_snapshot";
@@ -83508,11 +83865,11 @@ class SbEventFlow {
83508
83865
  EventRegistry.controlSlideout.create(slideoutId, action2)
83509
83866
  );
83510
83867
  }
83511
- static controlModal(modalId, action2) {
83512
- return SbEventFlow.start().controlModal(modalId, action2);
83868
+ static controlModal(modal, action2) {
83869
+ return SbEventFlow.start().controlModal(modal, action2);
83513
83870
  }
83514
- controlModal(modalId, action2) {
83515
- return this.addStep(EventRegistry.controlModal.create(modalId, action2));
83871
+ controlModal(modal, action2) {
83872
+ return this.addStep(EventRegistry.controlModal.create(modal, action2));
83516
83873
  }
83517
83874
  static controlTimer(timerId, action2) {
83518
83875
  return SbEventFlow.start().controlTimer(timerId, action2);
@@ -83610,6 +83967,16 @@ class SbEventFlow {
83610
83967
  EventRegistry.triggerEvent.create(eventName, eventData)
83611
83968
  );
83612
83969
  }
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
+ }
83613
83980
  build() {
83614
83981
  return this.steps;
83615
83982
  }
@@ -83859,9 +84226,11 @@ class EntityManager {
83859
84226
  for (const name of Object.keys(scope.entities)) {
83860
84227
  const entity = this.getEntity(scope.id, getName(name));
83861
84228
  const id2 = entity[WIDGET_SOURCE_ID_ATTRIBUTE];
83862
- const isNameBasedEntity = entity.type === SbEntityType.VARIABLE || entity.type === SbEntityType.API || entity.type === SbEntityType.TIMER || entity.type === "theme";
84229
+ const isNameBasedEntity = entity.type === SbEntityType.VARIABLE || entity.type === SbEntityType.API || entity.type === SbEntityType.TIMER || entity.type === "global" || entity.type === "theme";
83863
84230
  if (!id2 && !isNameBasedEntity)
83864
- console.warn(`Entity has no source id for ${name}`);
84231
+ console.warn(
84232
+ `Entity has no source id for ${name}, type: ${entity == null ? void 0 : entity.type}`
84233
+ );
83865
84234
  if (isNameBasedEntity) {
83866
84235
  entities[name] = entity;
83867
84236
  } else {
@@ -85951,9 +86320,6 @@ class OperationManager {
85951
86320
  __publicField(this, "batchOperationTransactionId");
85952
86321
  __publicField(this, "visibleSourceIds", []);
85953
86322
  makeAutoObservable(this);
85954
- registerStores({
85955
- OperationManager: this
85956
- });
85957
86323
  }
85958
86324
  get allPendingTransactions() {
85959
86325
  return this.pendingTransactions;
@@ -86330,9 +86696,6 @@ class PropertiesPanelManager {
86330
86696
  makeAutoObservable(this, {
86331
86697
  _propertyLookupCache: false
86332
86698
  });
86333
- registerStores({
86334
- PropertiesPanelManager: this
86335
- });
86336
86699
  }
86337
86700
  getPropertiesPanel(scopeId, instanceId) {
86338
86701
  const props2 = this.entityManager.getEntityById(scopeId, instanceId);
@@ -86507,6 +86870,18 @@ function getPropertyValue$1({
86507
86870
  }
86508
86871
  return parsed;
86509
86872
  }
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
+ }
86510
86885
  if (property.type === "STATIC" && typeof property.value === "object" && property.value !== null) {
86511
86886
  return Object.entries(property.value).reduce(
86512
86887
  (acc, [key2, value]) => {
@@ -86526,6 +86901,133 @@ function getPropertyValue$1({
86526
86901
  }
86527
86902
  return property.value;
86528
86903
  }
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
+ }
86529
87031
  const getNormalizedIdInfo = (params) => {
86530
87032
  var _a2, _b2;
86531
87033
  const name = (_a2 = params.bind) == null ? void 0 : _a2.entityName;
@@ -86540,6 +87042,21 @@ function isSbComponent(child) {
86540
87042
  var _a2;
86541
87043
  return typeof child === "object" && ((_a2 = child.type) == null ? void 0 : _a2.isSb) === superblocksComponentSymbol;
86542
87044
  }
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
+ }
86543
87060
  class RuntimeWidgetsManager {
86544
87061
  constructor(nameManager) {
86545
87062
  __publicField(this, "widgets", {});
@@ -86553,9 +87070,6 @@ class RuntimeWidgetsManager {
86553
87070
  addWidgetFromPayload: action,
86554
87071
  sourceToInstanceIdSample: observable
86555
87072
  });
86556
- registerStores({
86557
- RuntimeManager: this
86558
- });
86559
87073
  }
86560
87074
  setWidgetMeta(instanceId, meta) {
86561
87075
  const existingMeta = this.widgets[instanceId];
@@ -86580,14 +87094,13 @@ class RuntimeWidgetsManager {
86580
87094
  isInCustomComponent
86581
87095
  } = params;
86582
87096
  const traverse = (params2) => {
86583
- var _a2;
86584
87097
  const { props: props2, type: type5, parentInstanceId, node: node2, isSbComponent: isSbComponent$1, identifier: identifier2 } = params2;
86585
- const childrenArr = typeof props2.children === "function" ? [props2.children] : React__default.Children.toArray(props2.children);
87098
+ const childrenArr = typeof props2.children === "function" ? [props2.children] : React__default.Children.toArray(getValidChildrenNodes(props2.children));
86586
87099
  const metaChildren = [];
86587
87100
  for (const child of childrenArr) {
86588
87101
  let childElement;
86589
87102
  if (React__default.isValidElement(child) && child.props[WIDGET_SOURCE_ID_ATTRIBUTE]) {
86590
- const childType = ((_a2 = child.type) == null ? void 0 : _a2.sbType) ?? String(child.type ?? "unknown");
87103
+ const childType = getChildType(child);
86591
87104
  const childSourceId = child.props[WIDGET_SOURCE_ID_ATTRIBUTE];
86592
87105
  const { name: childName, scopeId: childScopeId } = getNormalizedIdInfo({
86593
87106
  bind: getBindingIdentifier(child.props.bind),
@@ -86744,6 +87257,14 @@ class RuntimeWidgetsManager {
86744
87257
  return this.getClosestAncestorByType(currentWidget.parentInstanceId, type5);
86745
87258
  }
86746
87259
  }
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
+ }
86747
87268
  _processRootWidget_dec = [action], _addOptimisticCreateWidget_dec = [action];
86748
87269
  class RuntimeEntitiesManager {
86749
87270
  constructor(nameManager, entityManager) {
@@ -86756,7 +87277,7 @@ class RuntimeEntitiesManager {
86756
87277
  if (!meta) {
86757
87278
  return void 0;
86758
87279
  }
86759
- if (!this.hasEditOperationsPending) {
87280
+ if (!this.hasEditOperationsPending()) {
86760
87281
  return meta;
86761
87282
  }
86762
87283
  const sourceId = meta.sourceId;
@@ -86903,9 +87424,8 @@ class RuntimeEntitiesManager {
86903
87424
  this.nameManager = nameManager;
86904
87425
  this.entityManager = entityManager;
86905
87426
  this.widgets = new RuntimeWidgetsManager(nameManager);
86906
- makeAutoObservable(this);
86907
- registerStores({
86908
- DeployedRuntimeManager: this
87427
+ makeAutoObservable(this, {
87428
+ widgets: false
86909
87429
  });
86910
87430
  }
86911
87431
  processRootWidget(params) {
@@ -87063,13 +87583,13 @@ class RuntimeEntitiesManager {
87063
87583
  }
87064
87584
  // TODO will need to include all other operations like
87065
87585
  // widget creation/deletion, etc.
87066
- get hasEditOperationsPending() {
87586
+ hasEditOperationsPending() {
87067
87587
  const hasPendingOperations = getEditStore().operationManager.hasPendingOperations;
87068
87588
  const hasPendingResize = getEditStore().ui.resizing.hasAnyPendingResize;
87069
87589
  const shouldRezisePage = getEditStore().ui.dnd.shouldResizePage;
87070
87590
  return hasPendingOperations || hasPendingResize || shouldRezisePage;
87071
87591
  }
87072
- get getPendingOperations() {
87592
+ getPendingOperations() {
87073
87593
  const pendingResizes = getEditStore().ui.resizing.pendingResizes;
87074
87594
  return [
87075
87595
  ...getEditStore().operationManager.allPendingTransactions,
@@ -87332,9 +87852,6 @@ class GridManager {
87332
87852
  this.root = root2;
87333
87853
  this.dnd = dnd;
87334
87854
  makeAutoObservable(this);
87335
- registerStores({
87336
- GridManager: this
87337
- });
87338
87855
  }
87339
87856
  get draggedInstanceId() {
87340
87857
  var _a2;
@@ -87855,9 +88372,6 @@ class StackManager {
87855
88372
  this.root = root2;
87856
88373
  this.dnd = dnd;
87857
88374
  makeAutoObservable(this);
87858
- registerStores({
87859
- StackManager: this
87860
- });
87861
88375
  }
87862
88376
  refreshPositionsAndGetDropIndex() {
87863
88377
  if (this.dnd.dropTargetId) {
@@ -87927,9 +88441,6 @@ class DragAndDropManager {
87927
88441
  this.stack = new StackManager(root2, this);
87928
88442
  this.grid = new GridManager(root2, this);
87929
88443
  makeAutoObservable(this);
87930
- registerStores({
87931
- DragAndDropManager: this
87932
- });
87933
88444
  startEditorSync({
87934
88445
  store: this,
87935
88446
  storeId: "dnd",
@@ -88170,9 +88681,6 @@ class ResizingManager {
88170
88681
  __publicField(this, "_activeResizes", /* @__PURE__ */ new Map());
88171
88682
  this.root = root2;
88172
88683
  makeAutoObservable(this);
88173
- registerStores({
88174
- ResizingManager: this
88175
- });
88176
88684
  startEditorSync({
88177
88685
  store: this,
88178
88686
  storeId: "resizing",
@@ -88507,9 +89015,6 @@ class UIStore {
88507
89015
  setFocusedInstanceId: action,
88508
89016
  selectWidget: action
88509
89017
  });
88510
- registerStores({
88511
- UIManager: this
88512
- });
88513
89018
  }
88514
89019
  // TODO (Alex): For these getters, we should differentiate between source and instance selection
88515
89020
  isSourceSelected(sourceId) {
@@ -90483,14 +90988,14 @@ function getLoaderFn$1(options) {
90483
90988
  if (!(loader === "all")) return [3, 3];
90484
90989
  return [4, import(
90485
90990
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
90486
- "./allPathsLoader-BwDYmyS1.js"
90991
+ "./allPathsLoader-BJthmVkF.js"
90487
90992
  )];
90488
90993
  case 2:
90489
90994
  return [2, _b2.sent().allPathsLoader];
90490
90995
  case 3:
90491
90996
  return [4, import(
90492
90997
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
90493
- "./splitPathsBySizeLoader-CTv2UfGL.js"
90998
+ "./splitPathsBySizeLoader-3mcg6Jfx.js"
90494
90999
  )];
90495
91000
  case 4:
90496
91001
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -99048,7 +99553,7 @@ const DEFAULT_TYPOGRAPHIES_NEW = {
99048
99553
  },
99049
99554
  buttonLabel: {
99050
99555
  ...DEFAULT_TYPOGRAPHIES_LEGACY.buttonLabel,
99051
- lineHeight: 1.1
99556
+ lineHeight: 1.2
99052
99557
  },
99053
99558
  code: {
99054
99559
  ...DEFAULT_TYPOGRAPHIES_LEGACY.code,
@@ -99109,7 +99614,7 @@ const onePixelTransparentBorderObject = () => ({
99109
99614
  });
99110
99615
  const BASE_THEME_V5 = {
99111
99616
  typeFace: "Roboto",
99112
- borderRadius: Dim.px(4),
99617
+ borderRadius: Dim.px(8),
99113
99618
  mode: ThemeMode.LIGHT,
99114
99619
  primaryColor: colors.ACCENT_BLUE_500,
99115
99620
  padding: PADDING_PRESETS_BY_THEME_VERSION[5].medium.value,
@@ -99211,12 +99716,6 @@ const BOX_SHADOWS = {
99211
99716
  dark: "0 3px 6px -4px rgba(160, 160, 160, 0.03), 0 6px 16px 0 rgba(160, 160, 160, 0.01)"
99212
99717
  }
99213
99718
  };
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
- };
99220
99719
  const INPUT_PADDING = {
99221
99720
  left: Dim.px(10),
99222
99721
  right: Dim.px(10),
@@ -99224,6 +99723,7 @@ const INPUT_PADDING = {
99224
99723
  bottom: Dim.px(8)
99225
99724
  };
99226
99725
  const DROPDOWN_PADDING = INPUT_PADDING;
99726
+ const BUTTON_PADDING = INPUT_PADDING;
99227
99727
  const KEY_VALUE_PADDING = {
99228
99728
  left: Dim.px(20),
99229
99729
  right: Dim.px(20),
@@ -99652,7 +100152,7 @@ const useStableEffect = (effect2, obj, options = {}) => {
99652
100152
  return isEqual2(val, old);
99653
100153
  }
99654
100154
  }
99655
- return val === old;
100155
+ return Object.is(val, old);
99656
100156
  });
99657
100157
  const propRemoved = Object.keys(ref2.current).some((key2) => !(key2 in obj));
99658
100158
  if (propsChanged || propRemoved) {
@@ -100913,8 +101413,8 @@ const shineAnimation = We$1`
100913
101413
  }
100914
101414
  `;
100915
101415
  const Skeleton2 = qe$1.div`
100916
- width: 24px;
100917
- height: 24px;
101416
+ height: var(--height);
101417
+ width: var(--width);
100918
101418
  border-radius: 50%;
100919
101419
  background: linear-gradient(110deg, #ececec 10%, #f5f5f5 30%, #ececec 60%);
100920
101420
  background-size: 200% 100%;
@@ -111094,14 +111594,8 @@ const useStyleWithSize = (props2) => {
111094
111594
  {
111095
111595
  cold: true,
111096
111596
  customEqualChecks: [
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
- ]
111597
+ [isDimension, Dim.isEqual],
111598
+ [lodashExports.isObject, (a3, b3) => lodashExports.isEqual(a3, b3)]
111105
111599
  ]
111106
111600
  }
111107
111601
  );
@@ -111146,7 +111640,7 @@ const ReactiveComponent = observer(function Component2({
111146
111640
  return stylePropWithSize;
111147
111641
  }, [reactiveProps.isVisible, stylePropWithSize]);
111148
111642
  const { setStyle, getFallbackStyle } = useComponentSuspenseStyle();
111149
- useMemo$2(() => {
111643
+ useEffect(() => {
111150
111644
  setStyle(styleProp);
111151
111645
  }, [styleProp, setStyle]);
111152
111646
  const instanceIdProps = { [WIDGET_INSTANCE_ID_ATTRIBUTE]: instanceId };
@@ -116893,6 +117387,18 @@ const DropLayer = observer(() => {
116893
117387
  ) })
116894
117388
  ] });
116895
117389
  });
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
+ )`;
116896
117402
  const Wrapper$2 = qe$1.div`
116897
117403
  z-index: ${Layers$1.addSectionButton};
116898
117404
  position: absolute;
@@ -117280,22 +117786,6 @@ const DraggableWrapper = (props2) => {
117280
117786
  }
117281
117787
  );
117282
117788
  };
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
- };
117299
117789
  const NamePillDiv = (params) => {
117300
117790
  const {
117301
117791
  attributes: attributes2 = {},
@@ -117307,7 +117797,6 @@ const NamePillDiv = (params) => {
117307
117797
  isVisible: isVisible2
117308
117798
  } = params;
117309
117799
  const { canResizeWidth: canResizeWidth2, canResizeHeight: canResizeHeight2 } = useResizeCapabilities(instanceId);
117310
- const repositionNamePill = getRepositionNamePill(instanceId);
117311
117800
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
117312
117801
  "div",
117313
117802
  {
@@ -117331,13 +117820,7 @@ const NamePillDiv = (params) => {
117331
117820
  zIndex: Layers$1.namePill,
117332
117821
  display: "flex",
117333
117822
  alignItems: "center",
117334
- gap: "4px",
117335
- ...repositionNamePill ? {
117336
- top: "anchor(top)",
117337
- bottom: void 0,
117338
- marginTop: "3px",
117339
- marginRight: "3px"
117340
- } : {}
117823
+ gap: "4px"
117341
117824
  },
117342
117825
  "data-sb-pill-id": instanceId,
117343
117826
  onClick: (ev) => {
@@ -117482,11 +117965,12 @@ const useSelectionElements = (params) => {
117482
117965
  return selectionRects;
117483
117966
  };
117484
117967
  const InteractionRect = (props2) => {
117485
- var _a2;
117968
+ var _a2, _b2;
117486
117969
  const { instanceId, isDragging, selectionType, isVisible: isVisible2, type: type5 } = props2;
117487
117970
  const parentInstanceId = (_a2 = getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(
117488
117971
  instanceId
117489
117972
  )) == null ? void 0 : _a2.parentInstanceId;
117973
+ const showExtendedClickArea = ((_b2 = rootStore.componentRegistry.getComponent(type5 ?? "")) == null ? void 0 : _b2.hasExtendedClickArea) && selectionType === "FOCUSED";
117490
117974
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
117491
117975
  parentInstanceId && selectionType === "SELECTED" && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
117492
117976
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -117520,6 +118004,7 @@ const InteractionRect = (props2) => {
117520
118004
  left: "anchor(left)",
117521
118005
  right: "anchor(right)",
117522
118006
  bottom: "anchor(bottom)",
118007
+ ...showExtendedClickArea ? EXTENDED_CLICKABLE_ANCHOR_CSS : {},
117523
118008
  visibility: isDragging ? "hidden" : "visible",
117524
118009
  anchorName: getWidgetRectAnchorName(instanceId),
117525
118010
  positionAnchor: getWidgetAnchorName(instanceId),
@@ -117528,6 +118013,23 @@ const InteractionRect = (props2) => {
117528
118013
  }
117529
118014
  }
117530
118015
  ),
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
+ ),
117531
118033
  /* @__PURE__ */ jsxRuntimeExports.jsx(
117532
118034
  InteractionRectHandles,
117533
118035
  {
@@ -117567,7 +118069,27 @@ const selectDisplayNameAndVisibility = (instanceId) => {
117567
118069
  };
117568
118070
  };
117569
118071
  const calculateWidgetsAtCursor = (params) => {
117570
- const elements = document.elementsFromPoint(params.x, params.y);
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
+ }
117571
118093
  const hoveredPills = [];
117572
118094
  const hoveredActual = [];
117573
118095
  elements.forEach((element) => {
@@ -117589,6 +118111,34 @@ const calculateWidgetsAtCursor = (params) => {
117589
118111
  hoveredActual
117590
118112
  };
117591
118113
  };
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
+ }
117592
118142
  function useWidgetHover(rootType) {
117593
118143
  useEffect(() => {
117594
118144
  const rootElement = document.getElementById(
@@ -117596,22 +118146,26 @@ function useWidgetHover(rootType) {
117596
118146
  );
117597
118147
  const editStore2 = getEditStore();
117598
118148
  const handleMouseMove = (event) => {
117599
- const { hoveredPills, hoveredActual } = calculateWidgetsAtCursor({
117600
- x: event.clientX,
117601
- y: event.clientY,
118149
+ const focusedWidgetExtended = getFocusedWidget(
118150
+ event,
117602
118151
  rootType,
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);
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
+ }
117615
118169
  }
117616
118170
  };
117617
118171
  const throttledHandleMouseMove = throttle(handleMouseMove, 25);
@@ -117719,7 +118273,7 @@ const stableEffectOptions$1 = {
117719
118273
  /* isType, isEqual */
117720
118274
  [(a3) => isBindingString(a3), isBindingEqual],
117721
118275
  [(a3) => isName(a3), isNameEqual],
117722
- [(a3) => isDimension(a3), (a3, b3) => Dim.isEqual(a3, b3)],
118276
+ [(a3) => isDimension(a3), Dim.isEqual],
117723
118277
  [(a3) => typeof a3 === "function", (a3, b3) => a3.toString() === b3.toString()],
117724
118278
  [(a3) => typeof a3 === "string", (a3, b3) => a3 === b3],
117725
118279
  [(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => _$2.isEqual(a3, b3)]
@@ -117852,6 +118406,21 @@ const EditWrapper = observer(function EditWrapper2(props2) {
117852
118406
  const scopeName = rootStore.entityManager.getScopeName(
117853
118407
  props2.identifier.scopeId
117854
118408
  );
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
+ };
117855
118424
  const node2 = /* @__PURE__ */ jsxRuntimeExports.jsxs(
117856
118425
  "div",
117857
118426
  {
@@ -117863,22 +118432,8 @@ const EditWrapper = observer(function EditWrapper2(props2) {
117863
118432
  "data-can-drop": props2.isDroppable,
117864
118433
  "data-selected": isSelected,
117865
118434
  "data-has-local-binding": hasLocalBinding,
118435
+ onClick: handleClick,
117866
118436
  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
- },
117882
118437
  ref: registerSourceElement,
117883
118438
  children: [
117884
118439
  showVisibilityBackground && /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -118082,7 +118637,8 @@ const stableEffectOptions = {
118082
118637
  /* isType, isEqual */
118083
118638
  [(a3) => isBindingString(a3), isBindingEqual],
118084
118639
  [(a3) => isName(a3), isNameEqual],
118085
- [(a3) => isDimension(a3), (a3, b3) => Dim.isEqual(a3, b3)],
118640
+ [(a3) => isDimension(a3), Dim.isEqual],
118641
+ [(a3) => isObservable(a3), (a3, b3) => lodashExports.isEqual(a3, b3)],
118086
118642
  [(a3) => typeof a3 === "function", (a3, b3) => a3.toString() === b3.toString()],
118087
118643
  [(a3) => typeof a3 === "string", (a3, b3) => a3 === b3],
118088
118644
  [(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => lodashExports.isEqual(a3, b3)]
@@ -118125,7 +118681,7 @@ function useTrackRuntimeWidget(instanceId, params) {
118125
118681
  };
118126
118682
  }
118127
118683
  const editStore2 = getEditStore();
118128
- if (isEditing && editStore2.runtimeEntitiesManager.hasEditOperationsPending) {
118684
+ if (isEditing && editStore2.runtimeEntitiesManager.hasEditOperationsPending()) {
118129
118685
  const meta = editStore2.runtimeEntitiesManager.getEditorWidgetMeta(instanceId);
118130
118686
  if (meta == null ? void 0 : meta.props) {
118131
118687
  const {
@@ -118261,6 +118817,7 @@ const registerSbComponent = (type5, config2, Component3) => {
118261
118817
  SbComponent.displayName = type5;
118262
118818
  SbComponent.isCustomComponent = config2.customComponent ?? false;
118263
118819
  SbComponent.isDroppable = config2.container ?? false;
118820
+ SbComponent.hasExtendedClickArea = !!config2.hasExtendedClickArea;
118264
118821
  if (config2.customComponent) {
118265
118822
  rootStore.componentRegistry.addCustomComponent(type5, SbComponent);
118266
118823
  } else {
@@ -118887,7 +119444,8 @@ const propertiesDefinition$h = {
118887
119444
  const SbButton = registerSbComponent(
118888
119445
  "SbButton",
118889
119446
  {
118890
- propertiesDefinition: propertiesDefinition$h
119447
+ propertiesDefinition: propertiesDefinition$h,
119448
+ hasExtendedClickArea: true
118891
119449
  },
118892
119450
  (props2) => {
118893
119451
  var _a2;
@@ -119327,7 +119885,8 @@ const InternalStack = ({
119327
119885
  style2
119328
119886
  ]
119329
119887
  );
119330
- const { width, height, widgetProps, name, ...safeProps } = props2;
119888
+ const { height, width, ...rest } = props2;
119889
+ const safeProps = usePassthroughProps(rest);
119331
119890
  const childCount = React__default.Children.count(children);
119332
119891
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: stackStyle, ...safeProps, children: React__default.Children.map(children, (child) => {
119333
119892
  if (!React__default.isValidElement(child) || !isSbComponent(child)) {
@@ -119440,7 +119999,8 @@ const generateClassName = (seed2) => {
119440
119999
  };
119441
120000
  const getCanvasClassName = () => "canvas";
119442
120001
  const getChildName = (child) => {
119443
- return child.props.name ?? child.props[WIDGET_SOURCE_ID_ATTRIBUTE];
120002
+ var _a2;
120003
+ return ((_a2 = getBindingIdentifier(child.props.bind)) == null ? void 0 : _a2.entityName) ?? child.props[WIDGET_SOURCE_ID_ATTRIBUTE];
119444
120004
  };
119445
120005
  const calculateRowPositions = (orderedNames, childrenArray, rowHeight, pxHeights) => {
119446
120006
  return orderedNames.reduce(
@@ -127602,6 +128162,13 @@ const SbInput = registerSbComponent(
127602
128162
  }
127603
128163
  );
127604
128164
  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
+ }),
127605
128172
  layout: Section.category(PropsPanelCategory.Layout).add(
127606
128173
  size$2({
127607
128174
  defaults: {
@@ -133545,7 +134112,7 @@ function requireRef() {
133545
134112
  ref.useComposeRef = ref.supportRef = ref.supportNodeRef = ref.getNodeRef = ref.fillRef = ref.composeRef = void 0;
133546
134113
  var _typeof2 = _interopRequireDefault(require_typeof());
133547
134114
  var _react = React__default;
133548
- var _reactIs = requireReactIs$1();
134115
+ var _reactIs = requireReactIs$2();
133549
134116
  var _useMemo = _interopRequireDefault(requireUseMemo());
133550
134117
  var _isFragment = _interopRequireDefault(requireIsFragment());
133551
134118
  var ReactMajorVersion2 = Number(_react.version.split(".")[0]);
@@ -134642,7 +135209,6 @@ const SbText = registerSbComponent(
134642
135209
  "data-align": verticalAlign,
134643
135210
  style: { ...containerStyles, ...typographyStyles },
134644
135211
  "data-test": `text-component-${name}`,
134645
- ...containerStyles,
134646
135212
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "icon-text-container", style: iconContainerStyles, children: [
134647
135213
  iconPosition === "left" && icon && /* @__PURE__ */ jsxRuntimeExports.jsx(DynamicSVG, { iconName: icon, size: iconSize }),
134648
135214
  typeof formattedText !== "string" || typeof formattedText === "string" && formattedText.length <= 1e5 || isLongTextVisible ? /* @__PURE__ */ jsxRuntimeExports.jsx(AutolinkedText, { text: formattedText, wrapText }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -135336,20 +135902,31 @@ const textStyleProps = {
135336
135902
  })),
135337
135903
  cellBackground: cellBackgroundProp
135338
135904
  };
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();
135339
135922
  const textColumnProperties = {
135340
135923
  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
- // }),
135346
135924
  displayedValue: Prop.string().readAndWrite().propertiesPanel({
135347
135925
  label: "Displayed value",
135348
135926
  controlType: "COMPUTE_TABLE_VALUE"
135349
135927
  })
135350
135928
  },
135351
135929
  presentation: {
135352
- ...cellIconProps,
135353
135930
  textWrap: Prop.boolean().readAndWrite().propertiesPanel({
135354
135931
  label: "Wrap text",
135355
135932
  controlType: "SWITCH"
@@ -135439,11 +136016,6 @@ const buttonColumnProperties = {
135439
136016
  };
135440
136017
  const numberColumnProperties = {
135441
136018
  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
- // }),
135447
136019
  notation: Prop.string().readAndWrite().propertiesPanel({
135448
136020
  label: "Number format",
135449
136021
  controlType: "DROP_DOWN",
@@ -135547,6 +136119,32 @@ const imageColumnProperties = {
135547
136119
  cellBackground: cellBackgroundProp
135548
136120
  }
135549
136121
  };
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();
135550
136148
  const dateColumnProperties = {
135551
136149
  general: {
135552
136150
  inputFormat: Prop.string().readAndWrite().propertiesPanel({
@@ -135559,21 +136157,7 @@ const dateColumnProperties = {
135559
136157
  controlType: "DROP_DOWN",
135560
136158
  options: DATE_OUTPUT_FORMATS
135561
136159
  }),
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
- })
136160
+ ...manageTimezoneUnion
135577
136161
  },
135578
136162
  presentation: {
135579
136163
  ...cellIconProps,
@@ -135585,13 +136169,7 @@ const dateColumnProperties = {
135585
136169
  }
135586
136170
  };
135587
136171
  const booleanColumnProperties = {
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
- },
136172
+ general: {},
135595
136173
  presentation: {
135596
136174
  horizontalAlign: horizontalAlignProp(),
135597
136175
  verticalAlign: verticalAlignProp(),
@@ -135627,26 +136205,14 @@ const booleanColumnProperties = {
135627
136205
  }
135628
136206
  };
135629
136207
  const videoColumnProperties = {
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
- },
136208
+ general: {},
135637
136209
  presentation: {
135638
136210
  horizontalAlign: horizontalAlignProp(),
135639
136211
  cellBackground: cellBackgroundProp
135640
136212
  }
135641
136213
  };
135642
136214
  const tagsColumnProperties = {
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
- },
136215
+ general: {},
135650
136216
  presentation: {
135651
136217
  horizontalAlign: horizontalAlignProp(),
135652
136218
  verticalAlign: verticalAlignProp(),
@@ -135683,54 +136249,67 @@ const columnPanelConfig = {
135683
136249
  variants: [
135684
136250
  {
135685
136251
  columnType: Prop.unset(),
136252
+ ...computedValueUnion,
135686
136253
  ...textColumnProperties.general
135687
136254
  },
135688
136255
  {
135689
136256
  columnType: Prop.literal(ColumnType.TEXT),
136257
+ ...computedValueUnion,
135690
136258
  ...textColumnProperties.general
135691
136259
  },
135692
136260
  {
135693
136261
  columnType: Prop.literal(ColumnType.NUMBER),
136262
+ ...computedValueUnion,
135694
136263
  ...numberColumnProperties.general
135695
136264
  },
135696
136265
  {
135697
136266
  columnType: Prop.literal(ColumnType.CURRENCY),
136267
+ ...computedValueUnion,
135698
136268
  ...currencyColumnProperties.general
135699
136269
  },
135700
136270
  {
135701
136271
  columnType: Prop.literal(ColumnType.PERCENTAGE),
136272
+ ...computedValueUnion,
135702
136273
  ...percentageColumnProperties.general
135703
136274
  },
135704
136275
  {
135705
136276
  columnType: Prop.literal(ColumnType.IMAGE),
136277
+ ...computedValueUnion,
135706
136278
  ...imageColumnProperties.general
135707
136279
  },
135708
136280
  {
135709
136281
  columnType: Prop.literal(ColumnType.VIDEO),
136282
+ ...computedValueUnion,
135710
136283
  ...videoColumnProperties.general
135711
136284
  },
135712
136285
  {
135713
136286
  columnType: Prop.literal(ColumnType.DATE),
136287
+ ...computedValueUnion,
135714
136288
  ...dateColumnProperties.general
135715
136289
  },
135716
136290
  {
135717
136291
  columnType: Prop.literal(ColumnType.BUTTON),
136292
+ // no computedValue (just buttonLabel)
135718
136293
  ...buttonColumnProperties.general
135719
136294
  },
135720
136295
  {
135721
136296
  columnType: Prop.literal(ColumnType.LINK),
136297
+ // no computedValue (just linkUrl/linkLabel)
135722
136298
  ...linkColumnProperties.general
135723
136299
  },
135724
136300
  {
135725
136301
  columnType: Prop.literal(ColumnType.BOOLEAN),
136302
+ ...computedValueUnion,
135726
136303
  ...booleanColumnProperties.general
135727
136304
  },
135728
136305
  {
135729
136306
  columnType: Prop.literal(ColumnType.TAGS),
136307
+ ...computedValueUnion,
135730
136308
  ...tagsColumnProperties.general
135731
136309
  },
135732
136310
  {
135733
136311
  columnType: Prop.literal(ColumnType.EMAIL),
136312
+ ...computedValueUnion,
135734
136313
  ...emailColumnProperties.general
135735
136314
  }
135736
136315
  ]
@@ -144877,14 +145456,14 @@ function getLoaderFn(options) {
144877
145456
  if (!(loader === "all")) return [3, 3];
144878
145457
  return [4, import(
144879
145458
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
144880
- "./allPathsLoader-l2CC2ZRN.js"
145459
+ "./allPathsLoader-BdHvMdcd.js"
144881
145460
  )];
144882
145461
  case 2:
144883
145462
  return [2, _b2.sent().allPathsLoader];
144884
145463
  case 3:
144885
145464
  return [4, import(
144886
145465
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
144887
- "./splitPathsBySizeLoader-BsO5Qoxp.js"
145466
+ "./splitPathsBySizeLoader-BFbna0L2.js"
144888
145467
  )];
144889
145468
  case 4:
144890
145469
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -152840,7 +153419,10 @@ const isValidDate = (date4) => {
152840
153419
  return date4 !== "Invalid date" && moment(date4).isValid();
152841
153420
  };
152842
153421
  const StyledControlGroup$1 = qe$1(ControlGroup)`
153422
+ width: 100%;
152843
153423
  height: 100%;
153424
+ overflow-y: hidden;
153425
+
152844
153426
  &&& {
152845
153427
  .${INPUT$1} {
152846
153428
  width: 100%;
@@ -152876,7 +153458,8 @@ const StyledControlGroup$1 = qe$1(ControlGroup)`
152876
153458
  }
152877
153459
  }
152878
153460
 
152879
- .${INPUT_LEFT_CONTAINER$1}, .${INPUT_ACTION$1} {
153461
+ .${INPUT_LEFT_CONTAINER$1},
153462
+ .${INPUT_ACTION$1} {
152880
153463
  display: flex;
152881
153464
  align-items: center;
152882
153465
  height: 100%;
@@ -152924,7 +153507,7 @@ class DatePickerComponent extends React__default.Component {
152924
153507
  const dateFormat = this.normalizedDateFormat;
152925
153508
  const showTime = formatIncludesTime(dateFormat);
152926
153509
  const timePrecision = getTimePrecision(dateFormat);
152927
- return showTime && this.props.twentyFourHourTime && timePrecision === TimePrecision.MINUTE;
153510
+ return showTime && this.props.use24HourTime && timePrecision === TimePrecision.MINUTE;
152928
153511
  });
152929
153512
  __publicField(this, "handleInteraction", (openState) => {
152930
153513
  this.setState({
@@ -153197,7 +153780,7 @@ class DatePickerComponent extends React__default.Component {
153197
153780
  },
153198
153781
  timePickerProps: !showTime ? void 0 : {
153199
153782
  precision: timePrecision,
153200
- useAmPm: !this.props.twentyFourHourTime,
153783
+ useAmPm: !this.props.use24HourTime,
153201
153784
  onChange: this.onTimeChanged
153202
153785
  },
153203
153786
  value: currentValue,
@@ -153212,24 +153795,32 @@ class DatePickerComponent extends React__default.Component {
153212
153795
  minHeight: this.props.inputLineHeightPx ? `${this.props.inputLineHeightPx + INPUT_ADDITIONAL_MIN_HEIGHT$1}px` : void 0
153213
153796
  },
153214
153797
  onClick: this.props.onInputClick,
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,
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,
153228
153821
  // @ts-expect-error extra props
153229
153822
  "data-invalid": !this.props.isValid && !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
153823
+ "data-active": this.state.isOpen
153233
153824
  },
153234
153825
  popoverProps: {
153235
153826
  ...this.props.forceOpen ? { isOpen: this.state.isOpen } : {},
@@ -153492,7 +154083,7 @@ const EditDateCell = (props2) => {
153492
154083
  selectedDate: date4,
153493
154084
  forceOpen: true,
153494
154085
  onDatePickerClosed: handleDatepickerClose,
153495
- twentyFourHourTime: editTwentyFourHourTime ?? true,
154086
+ use24HourTime: editTwentyFourHourTime ?? true,
153496
154087
  minDate: formattedMinDate,
153497
154088
  maxDate: formattedMaxDate,
153498
154089
  timezone: manageTimezone ? timezone : void 0,
@@ -161688,6 +162279,17 @@ function getSelectedRows(props2) {
161688
162279
  const selectedRows = selectedRowIndices.map((ind) => filteredTableData[ind]).filter(Boolean);
161689
162280
  return selectedRows;
161690
162281
  }
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
+ };
161691
162293
  function getFilteredTableData(props2) {
161692
162294
  var _a2;
161693
162295
  if (!props2.tableData) {
@@ -161719,7 +162321,8 @@ function getFilteredTableData(props2) {
161719
162321
  return;
161720
162322
  }
161721
162323
  let computedValues = [];
161722
- if (column2 && column2.computedValue) {
162324
+ if (column2 && column2.computedValue && // ignore computed values for non-derived columns (they can only use displayed values)
162325
+ isDerivedColumn(derivedTableData, columnId)) {
161723
162326
  if (lodashExports.isString(column2.computedValue)) {
161724
162327
  try {
161725
162328
  computedValues = JSON.parse(column2.computedValue);
@@ -181254,6 +181857,7 @@ const propertiesDefinition$8 = {
181254
181857
  }),
181255
181858
  validationErrors: Prop.any().readable().default(function() {
181256
181859
  const errors2 = {};
181860
+ if (!this.isTouched) return errors2;
181257
181861
  if (this.isRequired) {
181258
181862
  if (this.multiselect && this.selectedIndexArr && this.selectedIndexArr.length === 0) {
181259
181863
  errors2.isRequired = "Required";
@@ -181828,6 +182432,7 @@ const propertiesDefinition$7 = {
181828
182432
  return this.isChecked;
181829
182433
  }),
181830
182434
  validationErrors: Prop.any().readable().default(function() {
182435
+ if (!this.isTouched) return {};
181831
182436
  const errors2 = {};
181832
182437
  if (this.isRequired && !this.isChecked) {
181833
182438
  errors2.isRequired = "Required";
@@ -181916,6 +182521,8 @@ const adjustDateFormatSideEffect = (params) => {
181916
182521
  const newDateFormat = newWidget.dateFormat || ISO_DATE_FORMAT;
181917
182522
  const timezone = newWidget.timezone;
181918
182523
  const defaultDateIsDynamic = isBindingString(newWidget.defaultDate);
182524
+ const minDateIsDynamic = isBindingString(newWidget.minDate);
182525
+ const maxDateIsDynamic = isBindingString(newWidget.maxDate);
181919
182526
  const propUpdates = {};
181920
182527
  const metaUpdates = {};
181921
182528
  if (!defaultDateIsDynamic && newWidget.defaultDate) {
@@ -181940,6 +182547,32 @@ const adjustDateFormatSideEffect = (params) => {
181940
182547
  metaUpdates.selectedDate = metaDate.format(newDateFormat);
181941
182548
  }
181942
182549
  }
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
+ }
181943
182576
  return {
181944
182577
  [widgetMeta.sourceId]: {
181945
182578
  props: propUpdates,
@@ -181961,12 +182594,12 @@ const adjustMinMaxDateSideEffect = (params) => {
181961
182594
  const propUpdates = {};
181962
182595
  if (updates.minDate && !isBindingString(updates.minDate.value) && defaultDate.isBefore(moment(updates.minDate.value, dateFormat))) {
181963
182596
  propUpdates.defaultDate = Property.Static(
181964
- updates.minDate.value
182597
+ moment(updates.minDate.value, dateFormat).format(dateFormat)
181965
182598
  );
181966
182599
  }
181967
182600
  if (updates.maxDate && !isBindingString(updates.maxDate.value) && defaultDate.isAfter(moment(updates.maxDate.value, dateFormat))) {
181968
182601
  propUpdates.defaultDate = Property.Static(
181969
- updates.maxDate.value
182602
+ moment(updates.maxDate.value, dateFormat).format(dateFormat)
181970
182603
  );
181971
182604
  }
181972
182605
  return {
@@ -182043,7 +182676,7 @@ const propertiesDefinition$6 = {
182043
182676
  ]
182044
182677
  })
182045
182678
  ).add({
182046
- twentyFourHourTime: Prop.boolean().readAndWrite().default(false).propertiesPanel({
182679
+ use24HourTime: Prop.boolean().readAndWrite().default(false).propertiesPanel({
182047
182680
  label: "24 hour time",
182048
182681
  helpText: "Whether to use 24-hour time format",
182049
182682
  controlType: "SWITCH"
@@ -182119,6 +182752,7 @@ const propertiesDefinition$6 = {
182119
182752
  return this.selectedDate ? this.selectedDate : void 0;
182120
182753
  }),
182121
182754
  validationErrors: Prop.any().readable().default(function() {
182755
+ if (!this.isTouched) return {};
182122
182756
  const errors2 = {};
182123
182757
  if (this.isRequired && !this.selectedDate) {
182124
182758
  errors2.isRequired = "Required";
@@ -182211,6 +182845,7 @@ const SbDatePicker = registerSbComponent(
182211
182845
  backgroundColor: props2.backgroundColor,
182212
182846
  textStyle: props2.textStyle
182213
182847
  });
182848
+ const iconSize = useInputIconSize({ textStyle: props2.textStyle });
182214
182849
  return /* @__PURE__ */ jsxRuntimeExports.jsx(DatePickerContainer, { ...passThroughProps, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
182215
182850
  DatePickerComponent,
182216
182851
  {
@@ -182227,11 +182862,12 @@ const SbDatePicker = registerSbComponent(
182227
182862
  isValid: !isInvalid,
182228
182863
  isTouched: props2.isTouched,
182229
182864
  isRequired: props2.isRequired,
182230
- twentyFourHourTime: props2.twentyFourHourTime,
182865
+ use24HourTime: props2.use24HourTime,
182231
182866
  displayTimezone: props2.manageTimezone ? props2.displayTimezone : void 0,
182232
182867
  timezone: props2.manageTimezone ? props2.valueTimezone : void 0,
182233
182868
  showTimezone: !!props2.manageTimezone,
182234
182869
  icon: props2.icon,
182870
+ iconSize,
182235
182871
  onDatePickerClosed: handleDatePickerClosed,
182236
182872
  placeholder: props2.placeholder,
182237
182873
  labelStyleOverride: labelProps == null ? void 0 : labelProps.style,
@@ -182316,6 +182952,7 @@ const propertiesDefinition$5 = {
182316
182952
  return this.isChecked;
182317
182953
  }),
182318
182954
  validationErrors: Prop.any().readable().default(function() {
182955
+ if (!this.isTouched) return {};
182319
182956
  const errors2 = {};
182320
182957
  if (this.isRequired && !this.isChecked) {
182321
182958
  errors2.isRequired = "Required";
@@ -185799,7 +186436,7 @@ const SbProvider = function SbProvider2({
185799
186436
  },
185800
186437
  id: "sb-provider-root",
185801
186438
  children: [
185802
- /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary2, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
186439
+ /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary2, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
185803
186440
  "div",
185804
186441
  {
185805
186442
  id: CANVAS_ROOT_ID,
@@ -185812,7 +186449,10 @@ const SbProvider = function SbProvider2({
185812
186449
  overflow: "hidden",
185813
186450
  position: "relative"
185814
186451
  },
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 }) }) })
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
+ ]
185816
186456
  }
185817
186457
  ) }),
185818
186458
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: MODAL_TARGET_ROOT_ID, "data-superblocks": MODAL_TARGET_ROOT_ID })
@@ -197225,145 +197865,149 @@ function requireClient() {
197225
197865
  }
197226
197866
  var clientExports = requireClient();
197227
197867
  export {
197228
- HashRouter as $,
197868
+ clientExports as $,
197229
197869
  AppStateVarPersistence6 as A,
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,
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,
197237
197877
  IconSize$2 as I,
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,
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,
197247
197887
  SbButton as S,
197248
197888
  Theme as T,
197249
- SB as U,
197250
- Outlet as V,
197251
- clientExports as W,
197252
- Await as X,
197253
- BrowserRouter as Y,
197254
- Form2 as Z,
197889
+ useTheme as U,
197890
+ Prop as V,
197891
+ sbComputed as W,
197892
+ Dim as X,
197893
+ SB as Y,
197894
+ Outlet as Z,
197255
197895
  __awaiter as _,
197256
197896
  __generator as a,
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,
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,
197321
197961
  IconSize as b,
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,
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,
197367
198011
  SbSection as c,
197368
198012
  SbColumn as d,
197369
198013
  SbContainer as e,
@@ -197371,22 +198015,22 @@ export {
197371
198015
  SbPage as g,
197372
198016
  SbText as h,
197373
198017
  SbModal as i,
197374
- SbTable as j,
197375
- SbDropdown as k,
197376
- SbCustom as l,
197377
- SbCheckbox as m,
197378
- SbDatePicker as n,
197379
- SbSwitch as o,
198018
+ jsxRuntimeExports as j,
198019
+ SbTable as k,
198020
+ SbDropdown as l,
198021
+ makeAutoObservable as m,
198022
+ SbCustom as n,
198023
+ observer as o,
197380
198024
  pascalCase as p,
197381
- SbIcon as q,
198025
+ SbCheckbox as q,
197382
198026
  registerComponent as r,
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
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