@superblocksteam/library 2.0.3-next.2 → 2.0.3-next.200
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.
- package/dist/{allPaths-suM7y71x.js → allPaths-BTYAJAA3.js} +2 -2
- package/dist/{allPaths-suM7y71x.js.map → allPaths-BTYAJAA3.js.map} +1 -1
- package/dist/{allPaths-DInKfo9f.js → allPaths-k-ermJRk.js} +2 -2
- package/dist/{allPaths-DInKfo9f.js.map → allPaths-k-ermJRk.js.map} +1 -1
- package/dist/{allPathsLoader-Bj9gR6m4.js → allPathsLoader-DGPQhqI0.js} +3 -3
- package/dist/{allPathsLoader-Bj9gR6m4.js.map → allPathsLoader-DGPQhqI0.js.map} +1 -1
- package/dist/{allPathsLoader-C6VX9lZI.js → allPathsLoader-XDG2QDHX.js} +3 -3
- package/dist/{allPathsLoader-C6VX9lZI.js.map → allPathsLoader-XDG2QDHX.js.map} +1 -1
- package/dist/devtools-consolidated-CuKf4Mw6.js +590 -0
- package/dist/devtools-consolidated-CuKf4Mw6.js.map +1 -0
- package/dist/{index-DHOLy0gg.js → index-CFz3UGkJ.js} +1041 -454
- package/dist/{index-DHOLy0gg.js.map → index-CFz3UGkJ.js.map} +1 -1
- package/dist/index.css +172 -1
- package/dist/index.js +149 -149
- package/dist/{splitPathsBySizeLoader-K1ovXYr3.js → splitPathsBySizeLoader-9ypptKho.js} +2 -2
- package/dist/{splitPathsBySizeLoader-K1ovXYr3.js.map → splitPathsBySizeLoader-9ypptKho.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-yyTSdt5z.js → splitPathsBySizeLoader-CW0AvZcf.js} +2 -2
- package/dist/{splitPathsBySizeLoader-yyTSdt5z.js.map → splitPathsBySizeLoader-CW0AvZcf.js.map} +1 -1
- package/dist-types/edit-mode/extended-clickable-area.d.ts +9 -0
- package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +23 -23
- package/dist-types/edit-mode/properties.d.ts +1 -1
- package/dist-types/internal-testing/components/modal.d.ts +3 -1
- package/dist-types/lib/internal-details/lib/devtools/devtools-consolidated.d.ts +5 -0
- package/dist-types/lib/internal-details/lib/devtools/index.d.ts +4 -0
- package/dist-types/lib/internal-details/lib/devtools/serialize-store-data.d.ts +1 -0
- package/dist-types/lib/sb-trigger.d.ts +0 -4
- package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +4 -3
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +4 -8
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +4 -8
- package/dist-types/lib/triggers/registry.d.ts +6 -14
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +12 -9
- package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +1 -0
- package/dist-types/lib/user-facing/components/table/index.d.ts +12 -9
- package/dist-types/lib/user-facing/components/table/props.d.ts +12 -9
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +4 -2
- package/dist-types/lib/user-facing/themes/constants.d.ts +7 -2
- package/dist-types/lib/utils/children.d.ts +3 -0
- package/package.json +3 -4
- 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,
|
|
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
|
|
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(
|
|
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$
|
|
43665
|
-
var reactIs_production_min$
|
|
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$
|
|
43676
|
-
function requireReactIs_production_min$
|
|
43677
|
-
if (hasRequiredReactIs_production_min$
|
|
43678
|
-
hasRequiredReactIs_production_min$
|
|
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$
|
|
43712
|
-
reactIs_production_min$
|
|
43713
|
-
reactIs_production_min$
|
|
43714
|
-
reactIs_production_min$
|
|
43715
|
-
reactIs_production_min$
|
|
43716
|
-
reactIs_production_min$
|
|
43717
|
-
reactIs_production_min$
|
|
43718
|
-
reactIs_production_min$
|
|
43719
|
-
reactIs_production_min$
|
|
43720
|
-
reactIs_production_min$
|
|
43721
|
-
reactIs_production_min$
|
|
43722
|
-
reactIs_production_min$
|
|
43723
|
-
reactIs_production_min$
|
|
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$
|
|
43721
|
+
reactIs_production_min$2.isConcurrentMode = function() {
|
|
43727
43722
|
return false;
|
|
43728
43723
|
};
|
|
43729
|
-
reactIs_production_min$
|
|
43724
|
+
reactIs_production_min$2.isContextConsumer = function(a3) {
|
|
43730
43725
|
return v2(a3) === h3;
|
|
43731
43726
|
};
|
|
43732
|
-
reactIs_production_min$
|
|
43727
|
+
reactIs_production_min$2.isContextProvider = function(a3) {
|
|
43733
43728
|
return v2(a3) === g2;
|
|
43734
43729
|
};
|
|
43735
|
-
reactIs_production_min$
|
|
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$
|
|
43733
|
+
reactIs_production_min$2.isForwardRef = function(a3) {
|
|
43739
43734
|
return v2(a3) === l;
|
|
43740
43735
|
};
|
|
43741
|
-
reactIs_production_min$
|
|
43736
|
+
reactIs_production_min$2.isFragment = function(a3) {
|
|
43742
43737
|
return v2(a3) === d3;
|
|
43743
43738
|
};
|
|
43744
|
-
reactIs_production_min$
|
|
43739
|
+
reactIs_production_min$2.isLazy = function(a3) {
|
|
43745
43740
|
return v2(a3) === q3;
|
|
43746
43741
|
};
|
|
43747
|
-
reactIs_production_min$
|
|
43742
|
+
reactIs_production_min$2.isMemo = function(a3) {
|
|
43748
43743
|
return v2(a3) === p;
|
|
43749
43744
|
};
|
|
43750
|
-
reactIs_production_min$
|
|
43745
|
+
reactIs_production_min$2.isPortal = function(a3) {
|
|
43751
43746
|
return v2(a3) === c3;
|
|
43752
43747
|
};
|
|
43753
|
-
reactIs_production_min$
|
|
43748
|
+
reactIs_production_min$2.isProfiler = function(a3) {
|
|
43754
43749
|
return v2(a3) === f;
|
|
43755
43750
|
};
|
|
43756
|
-
reactIs_production_min$
|
|
43751
|
+
reactIs_production_min$2.isStrictMode = function(a3) {
|
|
43757
43752
|
return v2(a3) === e3;
|
|
43758
43753
|
};
|
|
43759
|
-
reactIs_production_min$
|
|
43754
|
+
reactIs_production_min$2.isSuspense = function(a3) {
|
|
43760
43755
|
return v2(a3) === m4;
|
|
43761
43756
|
};
|
|
43762
|
-
reactIs_production_min$
|
|
43757
|
+
reactIs_production_min$2.isSuspenseList = function(a3) {
|
|
43763
43758
|
return v2(a3) === n2;
|
|
43764
43759
|
};
|
|
43765
|
-
reactIs_production_min$
|
|
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$
|
|
43769
|
-
return reactIs_production_min$
|
|
43763
|
+
reactIs_production_min$2.typeOf = v2;
|
|
43764
|
+
return reactIs_production_min$2;
|
|
43770
43765
|
}
|
|
43771
|
-
var reactIs_development$
|
|
43772
|
-
var hasRequiredReactIs_development$
|
|
43773
|
-
function requireReactIs_development$
|
|
43774
|
-
if (hasRequiredReactIs_development$
|
|
43775
|
-
hasRequiredReactIs_development$
|
|
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$
|
|
43931
|
-
reactIs_development$
|
|
43932
|
-
reactIs_development$
|
|
43933
|
-
reactIs_development$
|
|
43934
|
-
reactIs_development$
|
|
43935
|
-
reactIs_development$
|
|
43936
|
-
reactIs_development$
|
|
43937
|
-
reactIs_development$
|
|
43938
|
-
reactIs_development$
|
|
43939
|
-
reactIs_development$
|
|
43940
|
-
reactIs_development$
|
|
43941
|
-
reactIs_development$
|
|
43942
|
-
reactIs_development$
|
|
43943
|
-
reactIs_development$
|
|
43944
|
-
reactIs_development$
|
|
43945
|
-
reactIs_development$
|
|
43946
|
-
reactIs_development$
|
|
43947
|
-
reactIs_development$
|
|
43948
|
-
reactIs_development$
|
|
43949
|
-
reactIs_development$
|
|
43950
|
-
reactIs_development$
|
|
43951
|
-
reactIs_development$
|
|
43952
|
-
reactIs_development$
|
|
43953
|
-
reactIs_development$
|
|
43954
|
-
reactIs_development$
|
|
43955
|
-
reactIs_development$
|
|
43956
|
-
reactIs_development$
|
|
43957
|
-
reactIs_development$
|
|
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$
|
|
43955
|
+
return reactIs_development$2;
|
|
43961
43956
|
}
|
|
43962
|
-
var hasRequiredReactIs$
|
|
43963
|
-
function requireReactIs$
|
|
43964
|
-
if (hasRequiredReactIs$
|
|
43965
|
-
hasRequiredReactIs$
|
|
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$
|
|
43963
|
+
reactIs$2.exports = requireReactIs_production_min$2();
|
|
43969
43964
|
} else {
|
|
43970
|
-
reactIs$
|
|
43965
|
+
reactIs$2.exports = requireReactIs_development$2();
|
|
43971
43966
|
}
|
|
43972
|
-
return reactIs$
|
|
43967
|
+
return reactIs$2.exports;
|
|
43973
43968
|
}
|
|
43974
|
-
var reactIsExports = requireReactIs$
|
|
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,
|
|
78112
|
-
if (
|
|
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: (
|
|
78120
|
-
|
|
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,
|
|
78139
|
-
if (
|
|
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
|
|
78452
|
+
func: (state, value2) => {
|
|
78453
|
+
var _a2;
|
|
78152
78454
|
if (!state) return;
|
|
78153
|
-
|
|
78455
|
+
(_a2 = step.state) == null ? void 0 : _a2.set(value2);
|
|
78154
78456
|
},
|
|
78155
|
-
args: [value
|
|
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:
|
|
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
|
-
|
|
82897
|
-
const
|
|
82898
|
-
|
|
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-CuKf4Mw6.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-CuKf4Mw6.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(
|
|
83512
|
-
return SbEventFlow.start().controlModal(
|
|
83868
|
+
static controlModal(modal, action2) {
|
|
83869
|
+
return SbEventFlow.start().controlModal(modal, action2);
|
|
83513
83870
|
}
|
|
83514
|
-
controlModal(
|
|
83515
|
-
return this.addStep(EventRegistry.controlModal.create(
|
|
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
|
}
|
|
@@ -85951,9 +86318,6 @@ class OperationManager {
|
|
|
85951
86318
|
__publicField(this, "batchOperationTransactionId");
|
|
85952
86319
|
__publicField(this, "visibleSourceIds", []);
|
|
85953
86320
|
makeAutoObservable(this);
|
|
85954
|
-
registerStores({
|
|
85955
|
-
OperationManager: this
|
|
85956
|
-
});
|
|
85957
86321
|
}
|
|
85958
86322
|
get allPendingTransactions() {
|
|
85959
86323
|
return this.pendingTransactions;
|
|
@@ -86330,9 +86694,6 @@ class PropertiesPanelManager {
|
|
|
86330
86694
|
makeAutoObservable(this, {
|
|
86331
86695
|
_propertyLookupCache: false
|
|
86332
86696
|
});
|
|
86333
|
-
registerStores({
|
|
86334
|
-
PropertiesPanelManager: this
|
|
86335
|
-
});
|
|
86336
86697
|
}
|
|
86337
86698
|
getPropertiesPanel(scopeId, instanceId) {
|
|
86338
86699
|
const props2 = this.entityManager.getEntityById(scopeId, instanceId);
|
|
@@ -86507,6 +86868,18 @@ function getPropertyValue$1({
|
|
|
86507
86868
|
}
|
|
86508
86869
|
return parsed;
|
|
86509
86870
|
}
|
|
86871
|
+
if (property.type === "EVENT" && scopeId && name) {
|
|
86872
|
+
const eventFlows = property.value.map((step) => {
|
|
86873
|
+
try {
|
|
86874
|
+
return getSbEventFlow(step, scopeId);
|
|
86875
|
+
} catch {
|
|
86876
|
+
return void 0;
|
|
86877
|
+
}
|
|
86878
|
+
}).filter(
|
|
86879
|
+
(eventFlow) => eventFlow !== void 0
|
|
86880
|
+
);
|
|
86881
|
+
return SbEventFlow.sequence(eventFlows);
|
|
86882
|
+
}
|
|
86510
86883
|
if (property.type === "STATIC" && typeof property.value === "object" && property.value !== null) {
|
|
86511
86884
|
return Object.entries(property.value).reduce(
|
|
86512
86885
|
(acc, [key2, value]) => {
|
|
@@ -86526,6 +86899,133 @@ function getPropertyValue$1({
|
|
|
86526
86899
|
}
|
|
86527
86900
|
return property.value;
|
|
86528
86901
|
}
|
|
86902
|
+
function getSbEventFlow(step, scopeId) {
|
|
86903
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
|
86904
|
+
if (!isValidStepDef(step)) {
|
|
86905
|
+
return void 0;
|
|
86906
|
+
}
|
|
86907
|
+
const getEntity = (entityName) => {
|
|
86908
|
+
try {
|
|
86909
|
+
const entity = rootStore.entityManager.getEntity(
|
|
86910
|
+
scopeId,
|
|
86911
|
+
getName(entityName)
|
|
86912
|
+
);
|
|
86913
|
+
if (entity)
|
|
86914
|
+
return withBindingIdentifier(entity, {
|
|
86915
|
+
entityName,
|
|
86916
|
+
scopeId
|
|
86917
|
+
});
|
|
86918
|
+
} catch {
|
|
86919
|
+
return void 0;
|
|
86920
|
+
}
|
|
86921
|
+
};
|
|
86922
|
+
const getEntities = (entityNames) => {
|
|
86923
|
+
return entityNames.map(getEntity).filter((entity) => entity !== void 0);
|
|
86924
|
+
};
|
|
86925
|
+
const createNestedEventFlow = (steps) => {
|
|
86926
|
+
return Array.isArray(steps) && steps.length > 0 ? getSbEventFlow(steps, scopeId) : void 0;
|
|
86927
|
+
};
|
|
86928
|
+
switch (step.type) {
|
|
86929
|
+
case "executeApi":
|
|
86930
|
+
return SbEventFlow.runApis(
|
|
86931
|
+
getEntities(step.apiNames),
|
|
86932
|
+
createNestedEventFlow(step.onSuccess ?? []),
|
|
86933
|
+
createNestedEventFlow(step.onError ?? [])
|
|
86934
|
+
);
|
|
86935
|
+
case "cancelApi":
|
|
86936
|
+
return SbEventFlow.cancelApis(
|
|
86937
|
+
getEntities(step.apiNames),
|
|
86938
|
+
createNestedEventFlow(step.onCancel ?? [])
|
|
86939
|
+
);
|
|
86940
|
+
case "runJs":
|
|
86941
|
+
return SbEventFlow.runJS(function(...args) {
|
|
86942
|
+
if (step.code) {
|
|
86943
|
+
try {
|
|
86944
|
+
const cleanCode = step.code.trim().endsWith(";") ? step.code.slice(0, -1) : step.code;
|
|
86945
|
+
new Function(`return (${cleanCode})()`).call(this, ...args);
|
|
86946
|
+
} catch (e3) {
|
|
86947
|
+
console.error("Error executing JS code:", e3);
|
|
86948
|
+
}
|
|
86949
|
+
}
|
|
86950
|
+
});
|
|
86951
|
+
case "navigateTo":
|
|
86952
|
+
return SbEventFlow.navigateTo({
|
|
86953
|
+
url: step.url,
|
|
86954
|
+
newWindow: step.newWindow
|
|
86955
|
+
});
|
|
86956
|
+
case "navigateToApp":
|
|
86957
|
+
return SbEventFlow.navigateToApp(step.targetApp.id);
|
|
86958
|
+
case "navigateToRoute":
|
|
86959
|
+
return SbEventFlow.navigateToRoute(step.routeId);
|
|
86960
|
+
case "setQueryParams":
|
|
86961
|
+
return SbEventFlow.setQueryParams(
|
|
86962
|
+
step.queryParams ? JSON.parse(step.queryParams) : {},
|
|
86963
|
+
step.keepQueryParams
|
|
86964
|
+
);
|
|
86965
|
+
case "controlSlideout": {
|
|
86966
|
+
const slideoutEntity = getEntity(step.name);
|
|
86967
|
+
if (!slideoutEntity) return void 0;
|
|
86968
|
+
return SbEventFlow.controlSlideout(step.name, step.direction);
|
|
86969
|
+
}
|
|
86970
|
+
case "controlModal": {
|
|
86971
|
+
const modalEntity = getEntity(step.name);
|
|
86972
|
+
if (!modalEntity) return void 0;
|
|
86973
|
+
return SbEventFlow.controlModal(modalEntity, step.direction);
|
|
86974
|
+
}
|
|
86975
|
+
case "controlTimer": {
|
|
86976
|
+
const timerEntity = getEntity(step.name);
|
|
86977
|
+
if (!timerEntity) return void 0;
|
|
86978
|
+
return SbEventFlow.controlTimer(step.name, step.command);
|
|
86979
|
+
}
|
|
86980
|
+
case "setStateVar": {
|
|
86981
|
+
const stateEntity = getEntity((_a2 = step.state) == null ? void 0 : _a2.name);
|
|
86982
|
+
if (!stateEntity) return void 0;
|
|
86983
|
+
const value = isPropertyInfo(step.value) ? getPropertyValue$1({
|
|
86984
|
+
property: step.value,
|
|
86985
|
+
scopeId,
|
|
86986
|
+
name: getName((_b2 = step.state) == null ? void 0 : _b2.name)
|
|
86987
|
+
}) : step.value;
|
|
86988
|
+
return SbEventFlow.setStateVar(stateEntity, value);
|
|
86989
|
+
}
|
|
86990
|
+
case "resetStateVar": {
|
|
86991
|
+
const resetStateEntity = getEntity((_c2 = step.state) == null ? void 0 : _c2.name);
|
|
86992
|
+
if (!resetStateEntity) return void 0;
|
|
86993
|
+
return SbEventFlow.resetStateVar(resetStateEntity);
|
|
86994
|
+
}
|
|
86995
|
+
case "resetComponent": {
|
|
86996
|
+
const resetWidgetEntity = getEntity((_d2 = step.widget) == null ? void 0 : _d2.name);
|
|
86997
|
+
if (!resetWidgetEntity) return void 0;
|
|
86998
|
+
return SbEventFlow.resetComponent(
|
|
86999
|
+
step.widget,
|
|
87000
|
+
step.propertyName,
|
|
87001
|
+
step.resetChildren
|
|
87002
|
+
);
|
|
87003
|
+
}
|
|
87004
|
+
case "setComponentProperty": {
|
|
87005
|
+
const setWidgetEntity = getEntity((_e2 = step.widget) == null ? void 0 : _e2.name);
|
|
87006
|
+
if (!setWidgetEntity) return void 0;
|
|
87007
|
+
return SbEventFlow.setComponentProperty(
|
|
87008
|
+
step.widget,
|
|
87009
|
+
step.propertyName,
|
|
87010
|
+
step.propertyValue
|
|
87011
|
+
);
|
|
87012
|
+
}
|
|
87013
|
+
case "showAlert":
|
|
87014
|
+
return SbEventFlow.showAlert(
|
|
87015
|
+
step.message,
|
|
87016
|
+
step.style,
|
|
87017
|
+
step.alertDuration,
|
|
87018
|
+
step.alertPosition
|
|
87019
|
+
);
|
|
87020
|
+
case "setProfile":
|
|
87021
|
+
return SbEventFlow.setProfile(step.profileId, step.profileAction);
|
|
87022
|
+
case "triggerEvent":
|
|
87023
|
+
return SbEventFlow.triggerEvent((_f2 = step.event) == null ? void 0 : _f2.name, step.eventPayload);
|
|
87024
|
+
default:
|
|
87025
|
+
console.warn("Unhandled runtime step type", step.type);
|
|
87026
|
+
return void 0;
|
|
87027
|
+
}
|
|
87028
|
+
}
|
|
86529
87029
|
const getNormalizedIdInfo = (params) => {
|
|
86530
87030
|
var _a2, _b2;
|
|
86531
87031
|
const name = (_a2 = params.bind) == null ? void 0 : _a2.entityName;
|
|
@@ -86540,6 +87040,21 @@ function isSbComponent(child) {
|
|
|
86540
87040
|
var _a2;
|
|
86541
87041
|
return typeof child === "object" && ((_a2 = child.type) == null ? void 0 : _a2.isSb) === superblocksComponentSymbol;
|
|
86542
87042
|
}
|
|
87043
|
+
function getValidChildrenNodes(children) {
|
|
87044
|
+
if (Array.isArray(children)) {
|
|
87045
|
+
return children.filter(isValidReactNode);
|
|
87046
|
+
}
|
|
87047
|
+
if (isValidReactNode(children)) {
|
|
87048
|
+
return [children];
|
|
87049
|
+
}
|
|
87050
|
+
return [];
|
|
87051
|
+
}
|
|
87052
|
+
function isValidReactNode(element) {
|
|
87053
|
+
if (Array.isArray(element)) {
|
|
87054
|
+
return element.every(isValidReactNode);
|
|
87055
|
+
}
|
|
87056
|
+
return React__default.isValidElement(element) || typeof element !== "object" || element === null;
|
|
87057
|
+
}
|
|
86543
87058
|
class RuntimeWidgetsManager {
|
|
86544
87059
|
constructor(nameManager) {
|
|
86545
87060
|
__publicField(this, "widgets", {});
|
|
@@ -86553,9 +87068,6 @@ class RuntimeWidgetsManager {
|
|
|
86553
87068
|
addWidgetFromPayload: action,
|
|
86554
87069
|
sourceToInstanceIdSample: observable
|
|
86555
87070
|
});
|
|
86556
|
-
registerStores({
|
|
86557
|
-
RuntimeManager: this
|
|
86558
|
-
});
|
|
86559
87071
|
}
|
|
86560
87072
|
setWidgetMeta(instanceId, meta) {
|
|
86561
87073
|
const existingMeta = this.widgets[instanceId];
|
|
@@ -86582,7 +87094,7 @@ class RuntimeWidgetsManager {
|
|
|
86582
87094
|
const traverse = (params2) => {
|
|
86583
87095
|
var _a2;
|
|
86584
87096
|
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);
|
|
87097
|
+
const childrenArr = typeof props2.children === "function" ? [props2.children] : React__default.Children.toArray(getValidChildrenNodes(props2.children));
|
|
86586
87098
|
const metaChildren = [];
|
|
86587
87099
|
for (const child of childrenArr) {
|
|
86588
87100
|
let childElement;
|
|
@@ -86756,7 +87268,7 @@ class RuntimeEntitiesManager {
|
|
|
86756
87268
|
if (!meta) {
|
|
86757
87269
|
return void 0;
|
|
86758
87270
|
}
|
|
86759
|
-
if (!this.hasEditOperationsPending) {
|
|
87271
|
+
if (!this.hasEditOperationsPending()) {
|
|
86760
87272
|
return meta;
|
|
86761
87273
|
}
|
|
86762
87274
|
const sourceId = meta.sourceId;
|
|
@@ -86903,9 +87415,8 @@ class RuntimeEntitiesManager {
|
|
|
86903
87415
|
this.nameManager = nameManager;
|
|
86904
87416
|
this.entityManager = entityManager;
|
|
86905
87417
|
this.widgets = new RuntimeWidgetsManager(nameManager);
|
|
86906
|
-
makeAutoObservable(this
|
|
86907
|
-
|
|
86908
|
-
DeployedRuntimeManager: this
|
|
87418
|
+
makeAutoObservable(this, {
|
|
87419
|
+
widgets: false
|
|
86909
87420
|
});
|
|
86910
87421
|
}
|
|
86911
87422
|
processRootWidget(params) {
|
|
@@ -87063,13 +87574,13 @@ class RuntimeEntitiesManager {
|
|
|
87063
87574
|
}
|
|
87064
87575
|
// TODO will need to include all other operations like
|
|
87065
87576
|
// widget creation/deletion, etc.
|
|
87066
|
-
|
|
87577
|
+
hasEditOperationsPending() {
|
|
87067
87578
|
const hasPendingOperations = getEditStore().operationManager.hasPendingOperations;
|
|
87068
87579
|
const hasPendingResize = getEditStore().ui.resizing.hasAnyPendingResize;
|
|
87069
87580
|
const shouldRezisePage = getEditStore().ui.dnd.shouldResizePage;
|
|
87070
87581
|
return hasPendingOperations || hasPendingResize || shouldRezisePage;
|
|
87071
87582
|
}
|
|
87072
|
-
|
|
87583
|
+
getPendingOperations() {
|
|
87073
87584
|
const pendingResizes = getEditStore().ui.resizing.pendingResizes;
|
|
87074
87585
|
return [
|
|
87075
87586
|
...getEditStore().operationManager.allPendingTransactions,
|
|
@@ -87332,9 +87843,6 @@ class GridManager {
|
|
|
87332
87843
|
this.root = root2;
|
|
87333
87844
|
this.dnd = dnd;
|
|
87334
87845
|
makeAutoObservable(this);
|
|
87335
|
-
registerStores({
|
|
87336
|
-
GridManager: this
|
|
87337
|
-
});
|
|
87338
87846
|
}
|
|
87339
87847
|
get draggedInstanceId() {
|
|
87340
87848
|
var _a2;
|
|
@@ -87855,9 +88363,6 @@ class StackManager {
|
|
|
87855
88363
|
this.root = root2;
|
|
87856
88364
|
this.dnd = dnd;
|
|
87857
88365
|
makeAutoObservable(this);
|
|
87858
|
-
registerStores({
|
|
87859
|
-
StackManager: this
|
|
87860
|
-
});
|
|
87861
88366
|
}
|
|
87862
88367
|
refreshPositionsAndGetDropIndex() {
|
|
87863
88368
|
if (this.dnd.dropTargetId) {
|
|
@@ -87927,9 +88432,6 @@ class DragAndDropManager {
|
|
|
87927
88432
|
this.stack = new StackManager(root2, this);
|
|
87928
88433
|
this.grid = new GridManager(root2, this);
|
|
87929
88434
|
makeAutoObservable(this);
|
|
87930
|
-
registerStores({
|
|
87931
|
-
DragAndDropManager: this
|
|
87932
|
-
});
|
|
87933
88435
|
startEditorSync({
|
|
87934
88436
|
store: this,
|
|
87935
88437
|
storeId: "dnd",
|
|
@@ -88170,9 +88672,6 @@ class ResizingManager {
|
|
|
88170
88672
|
__publicField(this, "_activeResizes", /* @__PURE__ */ new Map());
|
|
88171
88673
|
this.root = root2;
|
|
88172
88674
|
makeAutoObservable(this);
|
|
88173
|
-
registerStores({
|
|
88174
|
-
ResizingManager: this
|
|
88175
|
-
});
|
|
88176
88675
|
startEditorSync({
|
|
88177
88676
|
store: this,
|
|
88178
88677
|
storeId: "resizing",
|
|
@@ -88507,9 +89006,6 @@ class UIStore {
|
|
|
88507
89006
|
setFocusedInstanceId: action,
|
|
88508
89007
|
selectWidget: action
|
|
88509
89008
|
});
|
|
88510
|
-
registerStores({
|
|
88511
|
-
UIManager: this
|
|
88512
|
-
});
|
|
88513
89009
|
}
|
|
88514
89010
|
// TODO (Alex): For these getters, we should differentiate between source and instance selection
|
|
88515
89011
|
isSourceSelected(sourceId) {
|
|
@@ -90483,14 +90979,14 @@ function getLoaderFn$1(options) {
|
|
|
90483
90979
|
if (!(loader === "all")) return [3, 3];
|
|
90484
90980
|
return [4, import(
|
|
90485
90981
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
90486
|
-
"./allPathsLoader-
|
|
90982
|
+
"./allPathsLoader-DGPQhqI0.js"
|
|
90487
90983
|
)];
|
|
90488
90984
|
case 2:
|
|
90489
90985
|
return [2, _b2.sent().allPathsLoader];
|
|
90490
90986
|
case 3:
|
|
90491
90987
|
return [4, import(
|
|
90492
90988
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
90493
|
-
"./splitPathsBySizeLoader-
|
|
90989
|
+
"./splitPathsBySizeLoader-9ypptKho.js"
|
|
90494
90990
|
)];
|
|
90495
90991
|
case 4:
|
|
90496
90992
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -99048,7 +99544,7 @@ const DEFAULT_TYPOGRAPHIES_NEW = {
|
|
|
99048
99544
|
},
|
|
99049
99545
|
buttonLabel: {
|
|
99050
99546
|
...DEFAULT_TYPOGRAPHIES_LEGACY.buttonLabel,
|
|
99051
|
-
lineHeight: 1.
|
|
99547
|
+
lineHeight: 1.2
|
|
99052
99548
|
},
|
|
99053
99549
|
code: {
|
|
99054
99550
|
...DEFAULT_TYPOGRAPHIES_LEGACY.code,
|
|
@@ -99211,12 +99707,6 @@ const BOX_SHADOWS = {
|
|
|
99211
99707
|
dark: "0 3px 6px -4px rgba(160, 160, 160, 0.03), 0 6px 16px 0 rgba(160, 160, 160, 0.01)"
|
|
99212
99708
|
}
|
|
99213
99709
|
};
|
|
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
99710
|
const INPUT_PADDING = {
|
|
99221
99711
|
left: Dim.px(10),
|
|
99222
99712
|
right: Dim.px(10),
|
|
@@ -99224,6 +99714,7 @@ const INPUT_PADDING = {
|
|
|
99224
99714
|
bottom: Dim.px(8)
|
|
99225
99715
|
};
|
|
99226
99716
|
const DROPDOWN_PADDING = INPUT_PADDING;
|
|
99717
|
+
const BUTTON_PADDING = INPUT_PADDING;
|
|
99227
99718
|
const KEY_VALUE_PADDING = {
|
|
99228
99719
|
left: Dim.px(20),
|
|
99229
99720
|
right: Dim.px(20),
|
|
@@ -99652,7 +100143,7 @@ const useStableEffect = (effect2, obj, options = {}) => {
|
|
|
99652
100143
|
return isEqual2(val, old);
|
|
99653
100144
|
}
|
|
99654
100145
|
}
|
|
99655
|
-
return val
|
|
100146
|
+
return Object.is(val, old);
|
|
99656
100147
|
});
|
|
99657
100148
|
const propRemoved = Object.keys(ref2.current).some((key2) => !(key2 in obj));
|
|
99658
100149
|
if (propsChanged || propRemoved) {
|
|
@@ -100913,8 +101404,8 @@ const shineAnimation = We$1`
|
|
|
100913
101404
|
}
|
|
100914
101405
|
`;
|
|
100915
101406
|
const Skeleton2 = qe$1.div`
|
|
100916
|
-
|
|
100917
|
-
|
|
101407
|
+
height: var(--height);
|
|
101408
|
+
width: var(--width);
|
|
100918
101409
|
border-radius: 50%;
|
|
100919
101410
|
background: linear-gradient(110deg, #ececec 10%, #f5f5f5 30%, #ececec 60%);
|
|
100920
101411
|
background-size: 200% 100%;
|
|
@@ -111094,14 +111585,8 @@ const useStyleWithSize = (props2) => {
|
|
|
111094
111585
|
{
|
|
111095
111586
|
cold: true,
|
|
111096
111587
|
customEqualChecks: [
|
|
111097
|
-
[
|
|
111098
|
-
|
|
111099
|
-
(a3, b3) => a3.mode === b3.mode && a3.value === b3.value
|
|
111100
|
-
],
|
|
111101
|
-
[
|
|
111102
|
-
lodashExports.isObject,
|
|
111103
|
-
(a3, b3) => lodashExports.isEqual(a3, b3)
|
|
111104
|
-
]
|
|
111588
|
+
[isDimension, Dim.isEqual],
|
|
111589
|
+
[lodashExports.isObject, (a3, b3) => lodashExports.isEqual(a3, b3)]
|
|
111105
111590
|
]
|
|
111106
111591
|
}
|
|
111107
111592
|
);
|
|
@@ -111146,7 +111631,7 @@ const ReactiveComponent = observer(function Component2({
|
|
|
111146
111631
|
return stylePropWithSize;
|
|
111147
111632
|
}, [reactiveProps.isVisible, stylePropWithSize]);
|
|
111148
111633
|
const { setStyle, getFallbackStyle } = useComponentSuspenseStyle();
|
|
111149
|
-
|
|
111634
|
+
useEffect(() => {
|
|
111150
111635
|
setStyle(styleProp);
|
|
111151
111636
|
}, [styleProp, setStyle]);
|
|
111152
111637
|
const instanceIdProps = { [WIDGET_INSTANCE_ID_ATTRIBUTE]: instanceId };
|
|
@@ -115464,6 +115949,19 @@ const DroppableWidget = observer(
|
|
|
115464
115949
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(React__default.Fragment, { children: props2.children });
|
|
115465
115950
|
}
|
|
115466
115951
|
);
|
|
115952
|
+
const EXTENDED_CLICKABLE_AREA_DELTA = 6;
|
|
115953
|
+
const EXTENDED_CLICKABLE_AREA_TYPES = ["SbButton"];
|
|
115954
|
+
const EXTENDED_CLICKABLE_ANCHOR_CSS = {
|
|
115955
|
+
top: `calc(anchor(top) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`,
|
|
115956
|
+
left: `calc(anchor(left) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`,
|
|
115957
|
+
right: `calc(anchor(right) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`,
|
|
115958
|
+
bottom: `calc(anchor(bottom) - ${EXTENDED_CLICKABLE_AREA_DELTA}px)`
|
|
115959
|
+
};
|
|
115960
|
+
const EXTENDED_CLICKABLE_ANCHOR_CLIP_PATH = `polygon(
|
|
115961
|
+
0% 0%, 0% 100%, 100% 100%, 100% 0%,
|
|
115962
|
+
0% 0%, ${EXTENDED_CLICKABLE_AREA_DELTA}px ${EXTENDED_CLICKABLE_AREA_DELTA}px, calc(100% - ${EXTENDED_CLICKABLE_AREA_DELTA}px) ${EXTENDED_CLICKABLE_AREA_DELTA}px,
|
|
115963
|
+
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
|
|
115964
|
+
)`;
|
|
115467
115965
|
function useRegisterSourceElement(sourceId) {
|
|
115468
115966
|
const instanceIdRef = useRef(null);
|
|
115469
115967
|
return useCallback(
|
|
@@ -117280,22 +117778,6 @@ const DraggableWrapper = (props2) => {
|
|
|
117280
117778
|
}
|
|
117281
117779
|
);
|
|
117282
117780
|
};
|
|
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
117781
|
const NamePillDiv = (params) => {
|
|
117300
117782
|
const {
|
|
117301
117783
|
attributes: attributes2 = {},
|
|
@@ -117307,7 +117789,6 @@ const NamePillDiv = (params) => {
|
|
|
117307
117789
|
isVisible: isVisible2
|
|
117308
117790
|
} = params;
|
|
117309
117791
|
const { canResizeWidth: canResizeWidth2, canResizeHeight: canResizeHeight2 } = useResizeCapabilities(instanceId);
|
|
117310
|
-
const repositionNamePill = getRepositionNamePill(instanceId);
|
|
117311
117792
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
117312
117793
|
"div",
|
|
117313
117794
|
{
|
|
@@ -117331,13 +117812,7 @@ const NamePillDiv = (params) => {
|
|
|
117331
117812
|
zIndex: Layers$1.namePill,
|
|
117332
117813
|
display: "flex",
|
|
117333
117814
|
alignItems: "center",
|
|
117334
|
-
gap: "4px"
|
|
117335
|
-
...repositionNamePill ? {
|
|
117336
|
-
top: "anchor(top)",
|
|
117337
|
-
bottom: void 0,
|
|
117338
|
-
marginTop: "3px",
|
|
117339
|
-
marginRight: "3px"
|
|
117340
|
-
} : {}
|
|
117815
|
+
gap: "4px"
|
|
117341
117816
|
},
|
|
117342
117817
|
"data-sb-pill-id": instanceId,
|
|
117343
117818
|
onClick: (ev) => {
|
|
@@ -117520,6 +117995,7 @@ const InteractionRect = (props2) => {
|
|
|
117520
117995
|
left: "anchor(left)",
|
|
117521
117996
|
right: "anchor(right)",
|
|
117522
117997
|
bottom: "anchor(bottom)",
|
|
117998
|
+
...EXTENDED_CLICKABLE_AREA_TYPES.includes(type5 ?? "") && selectionType === "FOCUSED" ? EXTENDED_CLICKABLE_ANCHOR_CSS : {},
|
|
117523
117999
|
visibility: isDragging ? "hidden" : "visible",
|
|
117524
118000
|
anchorName: getWidgetRectAnchorName(instanceId),
|
|
117525
118001
|
positionAnchor: getWidgetAnchorName(instanceId),
|
|
@@ -117567,7 +118043,27 @@ const selectDisplayNameAndVisibility = (instanceId) => {
|
|
|
117567
118043
|
};
|
|
117568
118044
|
};
|
|
117569
118045
|
const calculateWidgetsAtCursor = (params) => {
|
|
117570
|
-
|
|
118046
|
+
let elements = document.elementsFromPoint(params.x, params.y);
|
|
118047
|
+
if (params.delta) {
|
|
118048
|
+
elements = [
|
|
118049
|
+
...document.elementsFromPoint(
|
|
118050
|
+
params.x - params.delta.x,
|
|
118051
|
+
params.y - params.delta.y
|
|
118052
|
+
),
|
|
118053
|
+
...document.elementsFromPoint(
|
|
118054
|
+
params.x + params.delta.x,
|
|
118055
|
+
params.y + params.delta.y
|
|
118056
|
+
),
|
|
118057
|
+
...document.elementsFromPoint(
|
|
118058
|
+
params.x - params.delta.x,
|
|
118059
|
+
params.y + params.delta.y
|
|
118060
|
+
),
|
|
118061
|
+
...document.elementsFromPoint(
|
|
118062
|
+
params.x + params.delta.x,
|
|
118063
|
+
params.y - params.delta.y
|
|
118064
|
+
)
|
|
118065
|
+
];
|
|
118066
|
+
}
|
|
117571
118067
|
const hoveredPills = [];
|
|
117572
118068
|
const hoveredActual = [];
|
|
117573
118069
|
elements.forEach((element) => {
|
|
@@ -117589,6 +118085,30 @@ const calculateWidgetsAtCursor = (params) => {
|
|
|
117589
118085
|
hoveredActual
|
|
117590
118086
|
};
|
|
117591
118087
|
};
|
|
118088
|
+
function getFocusedWidget(event, rootType, rootElement, editStore2, delta, types2) {
|
|
118089
|
+
if (!rootElement) {
|
|
118090
|
+
return null;
|
|
118091
|
+
}
|
|
118092
|
+
const { hoveredPills, hoveredActual } = calculateWidgetsAtCursor({
|
|
118093
|
+
x: event.clientX,
|
|
118094
|
+
y: event.clientY,
|
|
118095
|
+
rootType,
|
|
118096
|
+
rootElement,
|
|
118097
|
+
delta
|
|
118098
|
+
});
|
|
118099
|
+
const instanceIds = [...hoveredPills, ...hoveredActual];
|
|
118100
|
+
const focusedWidget = instanceIds.find((id2) => {
|
|
118101
|
+
const widgetMeta = editStore2.runtimeEntitiesManager.getEditorWidgetMeta(id2);
|
|
118102
|
+
const sourceIdInstanceCount = editStore2.interactionLayerManager.getSourceIdElements(
|
|
118103
|
+
(widgetMeta == null ? void 0 : widgetMeta.sourceId) ?? ""
|
|
118104
|
+
).length;
|
|
118105
|
+
return (types2 === void 0 || types2.includes((widgetMeta == null ? void 0 : widgetMeta.type) ?? "")) && (widgetMeta == null ? void 0 : widgetMeta.isSbComponent) && !(widgetMeta == null ? void 0 : widgetMeta.isInCustomComponent) && sourceIdInstanceCount <= 1;
|
|
118106
|
+
}) ?? null;
|
|
118107
|
+
if (focusedWidget) {
|
|
118108
|
+
return focusedWidget;
|
|
118109
|
+
}
|
|
118110
|
+
return null;
|
|
118111
|
+
}
|
|
117592
118112
|
function useWidgetHover(rootType) {
|
|
117593
118113
|
useEffect(() => {
|
|
117594
118114
|
const rootElement = document.getElementById(
|
|
@@ -117596,22 +118116,26 @@ function useWidgetHover(rootType) {
|
|
|
117596
118116
|
);
|
|
117597
118117
|
const editStore2 = getEditStore();
|
|
117598
118118
|
const handleMouseMove = (event) => {
|
|
117599
|
-
const
|
|
117600
|
-
|
|
117601
|
-
y: event.clientY,
|
|
118119
|
+
const focusedWidgetExtended = getFocusedWidget(
|
|
118120
|
+
event,
|
|
117602
118121
|
rootType,
|
|
117603
|
-
rootElement
|
|
117604
|
-
|
|
117605
|
-
|
|
117606
|
-
|
|
117607
|
-
|
|
117608
|
-
|
|
117609
|
-
|
|
117610
|
-
|
|
117611
|
-
|
|
117612
|
-
|
|
117613
|
-
|
|
117614
|
-
|
|
118122
|
+
rootElement,
|
|
118123
|
+
editStore2,
|
|
118124
|
+
{ x: EXTENDED_CLICKABLE_AREA_DELTA, y: EXTENDED_CLICKABLE_AREA_DELTA },
|
|
118125
|
+
EXTENDED_CLICKABLE_AREA_TYPES
|
|
118126
|
+
);
|
|
118127
|
+
if (focusedWidgetExtended) {
|
|
118128
|
+
editStore2.ui.setFocusedInstanceId(focusedWidgetExtended);
|
|
118129
|
+
} else {
|
|
118130
|
+
const focusedWidget = getFocusedWidget(
|
|
118131
|
+
event,
|
|
118132
|
+
rootType,
|
|
118133
|
+
rootElement,
|
|
118134
|
+
editStore2
|
|
118135
|
+
);
|
|
118136
|
+
if (focusedWidget) {
|
|
118137
|
+
editStore2.ui.setFocusedInstanceId(focusedWidget);
|
|
118138
|
+
}
|
|
117615
118139
|
}
|
|
117616
118140
|
};
|
|
117617
118141
|
const throttledHandleMouseMove = throttle(handleMouseMove, 25);
|
|
@@ -117719,7 +118243,7 @@ const stableEffectOptions$1 = {
|
|
|
117719
118243
|
/* isType, isEqual */
|
|
117720
118244
|
[(a3) => isBindingString(a3), isBindingEqual],
|
|
117721
118245
|
[(a3) => isName(a3), isNameEqual],
|
|
117722
|
-
[(a3) => isDimension(a3),
|
|
118246
|
+
[(a3) => isDimension(a3), Dim.isEqual],
|
|
117723
118247
|
[(a3) => typeof a3 === "function", (a3, b3) => a3.toString() === b3.toString()],
|
|
117724
118248
|
[(a3) => typeof a3 === "string", (a3, b3) => a3 === b3],
|
|
117725
118249
|
[(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => _$2.isEqual(a3, b3)]
|
|
@@ -117852,6 +118376,24 @@ const EditWrapper = observer(function EditWrapper2(props2) {
|
|
|
117852
118376
|
const scopeName = rootStore.entityManager.getScopeName(
|
|
117853
118377
|
props2.identifier.scopeId
|
|
117854
118378
|
);
|
|
118379
|
+
const handleClick = (ev) => {
|
|
118380
|
+
const sourceIdInstanceCount = editStore2.interactionLayerManager.getSourceIdElements(
|
|
118381
|
+
props2.identifier.sourceId
|
|
118382
|
+
).length;
|
|
118383
|
+
if (sourceIdInstanceCount > 1) {
|
|
118384
|
+
return;
|
|
118385
|
+
}
|
|
118386
|
+
if (isInCustomComponent && customComponentInstanceId) {
|
|
118387
|
+
editStore2.ui.selectWidget(customComponentInstanceId);
|
|
118388
|
+
ev.stopPropagation();
|
|
118389
|
+
return;
|
|
118390
|
+
}
|
|
118391
|
+
editStore2.ui.selectWidget(props2.identifier.instanceId);
|
|
118392
|
+
ev.stopPropagation();
|
|
118393
|
+
};
|
|
118394
|
+
const expandedClickArea = EXTENDED_CLICKABLE_AREA_TYPES.includes(
|
|
118395
|
+
(meta == null ? void 0 : meta.type) ?? ""
|
|
118396
|
+
);
|
|
117855
118397
|
const node2 = /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
117856
118398
|
"div",
|
|
117857
118399
|
{
|
|
@@ -117863,24 +118405,25 @@ const EditWrapper = observer(function EditWrapper2(props2) {
|
|
|
117863
118405
|
"data-can-drop": props2.isDroppable,
|
|
117864
118406
|
"data-selected": isSelected,
|
|
117865
118407
|
"data-has-local-binding": hasLocalBinding,
|
|
118408
|
+
onClick: handleClick,
|
|
117866
118409
|
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
118410
|
ref: registerSourceElement,
|
|
117883
118411
|
children: [
|
|
118412
|
+
expandedClickArea && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
118413
|
+
"div",
|
|
118414
|
+
{
|
|
118415
|
+
onClick: handleClick,
|
|
118416
|
+
style: {
|
|
118417
|
+
position: "absolute",
|
|
118418
|
+
...EXTENDED_CLICKABLE_ANCHOR_CSS,
|
|
118419
|
+
zIndex: 0,
|
|
118420
|
+
pointerEvents: "auto",
|
|
118421
|
+
overflow: "hidden",
|
|
118422
|
+
positionAnchor: getWidgetAnchorName(identifier2.instanceId),
|
|
118423
|
+
clipPath: EXTENDED_CLICKABLE_ANCHOR_CLIP_PATH
|
|
118424
|
+
}
|
|
118425
|
+
}
|
|
118426
|
+
),
|
|
117884
118427
|
showVisibilityBackground && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
117885
118428
|
"div",
|
|
117886
118429
|
{
|
|
@@ -118082,7 +118625,8 @@ const stableEffectOptions = {
|
|
|
118082
118625
|
/* isType, isEqual */
|
|
118083
118626
|
[(a3) => isBindingString(a3), isBindingEqual],
|
|
118084
118627
|
[(a3) => isName(a3), isNameEqual],
|
|
118085
|
-
[(a3) => isDimension(a3),
|
|
118628
|
+
[(a3) => isDimension(a3), Dim.isEqual],
|
|
118629
|
+
[(a3) => isObservable(a3), (a3, b3) => lodashExports.isEqual(a3, b3)],
|
|
118086
118630
|
[(a3) => typeof a3 === "function", (a3, b3) => a3.toString() === b3.toString()],
|
|
118087
118631
|
[(a3) => typeof a3 === "string", (a3, b3) => a3 === b3],
|
|
118088
118632
|
[(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => lodashExports.isEqual(a3, b3)]
|
|
@@ -118125,7 +118669,7 @@ function useTrackRuntimeWidget(instanceId, params) {
|
|
|
118125
118669
|
};
|
|
118126
118670
|
}
|
|
118127
118671
|
const editStore2 = getEditStore();
|
|
118128
|
-
if (isEditing && editStore2.runtimeEntitiesManager.hasEditOperationsPending) {
|
|
118672
|
+
if (isEditing && editStore2.runtimeEntitiesManager.hasEditOperationsPending()) {
|
|
118129
118673
|
const meta = editStore2.runtimeEntitiesManager.getEditorWidgetMeta(instanceId);
|
|
118130
118674
|
if (meta == null ? void 0 : meta.props) {
|
|
118131
118675
|
const {
|
|
@@ -133545,7 +134089,7 @@ function requireRef() {
|
|
|
133545
134089
|
ref.useComposeRef = ref.supportRef = ref.supportNodeRef = ref.getNodeRef = ref.fillRef = ref.composeRef = void 0;
|
|
133546
134090
|
var _typeof2 = _interopRequireDefault(require_typeof());
|
|
133547
134091
|
var _react = React__default;
|
|
133548
|
-
var _reactIs = requireReactIs$
|
|
134092
|
+
var _reactIs = requireReactIs$2();
|
|
133549
134093
|
var _useMemo = _interopRequireDefault(requireUseMemo());
|
|
133550
134094
|
var _isFragment = _interopRequireDefault(requireIsFragment());
|
|
133551
134095
|
var ReactMajorVersion2 = Number(_react.version.split(".")[0]);
|
|
@@ -135336,20 +135880,31 @@ const textStyleProps = {
|
|
|
135336
135880
|
})),
|
|
135337
135881
|
cellBackground: cellBackgroundProp
|
|
135338
135882
|
};
|
|
135883
|
+
const computedValueUnion = Prop.union({
|
|
135884
|
+
shared: {
|
|
135885
|
+
isDerived: Prop.boolean().default(false)
|
|
135886
|
+
},
|
|
135887
|
+
variants: [
|
|
135888
|
+
{
|
|
135889
|
+
isDerived: Prop.literal(false)
|
|
135890
|
+
},
|
|
135891
|
+
{
|
|
135892
|
+
isDerived: Prop.literal(true),
|
|
135893
|
+
computedValue: Prop.string().readAndWrite().propertiesPanel({
|
|
135894
|
+
label: "Computed value"
|
|
135895
|
+
// todo: add special control that can use currentRow
|
|
135896
|
+
})
|
|
135897
|
+
}
|
|
135898
|
+
]
|
|
135899
|
+
}).getProps();
|
|
135339
135900
|
const textColumnProperties = {
|
|
135340
135901
|
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
135902
|
displayedValue: Prop.string().readAndWrite().propertiesPanel({
|
|
135347
135903
|
label: "Displayed value",
|
|
135348
135904
|
controlType: "COMPUTE_TABLE_VALUE"
|
|
135349
135905
|
})
|
|
135350
135906
|
},
|
|
135351
135907
|
presentation: {
|
|
135352
|
-
...cellIconProps,
|
|
135353
135908
|
textWrap: Prop.boolean().readAndWrite().propertiesPanel({
|
|
135354
135909
|
label: "Wrap text",
|
|
135355
135910
|
controlType: "SWITCH"
|
|
@@ -135439,11 +135994,6 @@ const buttonColumnProperties = {
|
|
|
135439
135994
|
};
|
|
135440
135995
|
const numberColumnProperties = {
|
|
135441
135996
|
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
135997
|
notation: Prop.string().readAndWrite().propertiesPanel({
|
|
135448
135998
|
label: "Number format",
|
|
135449
135999
|
controlType: "DROP_DOWN",
|
|
@@ -135547,6 +136097,32 @@ const imageColumnProperties = {
|
|
|
135547
136097
|
cellBackground: cellBackgroundProp
|
|
135548
136098
|
}
|
|
135549
136099
|
};
|
|
136100
|
+
const manageTimezoneUnion = Prop.union({
|
|
136101
|
+
shared: {
|
|
136102
|
+
manageTimezone: Prop.boolean().default(false).readAndWrite().propertiesPanel({
|
|
136103
|
+
label: "Manage timezone",
|
|
136104
|
+
controlType: "SWITCH"
|
|
136105
|
+
})
|
|
136106
|
+
},
|
|
136107
|
+
variants: [
|
|
136108
|
+
{
|
|
136109
|
+
manageTimezone: Prop.literal(false)
|
|
136110
|
+
},
|
|
136111
|
+
{
|
|
136112
|
+
manageTimezone: Prop.literal(true),
|
|
136113
|
+
valueTimezone: Prop.string().readAndWrite().propertiesPanel({
|
|
136114
|
+
label: "Value timezone",
|
|
136115
|
+
controlType: "DROP_DOWN",
|
|
136116
|
+
options: TIMEZONE_OPTIONS
|
|
136117
|
+
}),
|
|
136118
|
+
displayTimezone: Prop.string().readAndWrite().propertiesPanel({
|
|
136119
|
+
label: "Display timezone",
|
|
136120
|
+
controlType: "DROP_DOWN",
|
|
136121
|
+
options: TIMEZONE_OPTIONS
|
|
136122
|
+
})
|
|
136123
|
+
}
|
|
136124
|
+
]
|
|
136125
|
+
}).getProps();
|
|
135550
136126
|
const dateColumnProperties = {
|
|
135551
136127
|
general: {
|
|
135552
136128
|
inputFormat: Prop.string().readAndWrite().propertiesPanel({
|
|
@@ -135559,21 +136135,7 @@ const dateColumnProperties = {
|
|
|
135559
136135
|
controlType: "DROP_DOWN",
|
|
135560
136136
|
options: DATE_OUTPUT_FORMATS
|
|
135561
136137
|
}),
|
|
135562
|
-
|
|
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
|
-
})
|
|
136138
|
+
...manageTimezoneUnion
|
|
135577
136139
|
},
|
|
135578
136140
|
presentation: {
|
|
135579
136141
|
...cellIconProps,
|
|
@@ -135585,13 +136147,7 @@ const dateColumnProperties = {
|
|
|
135585
136147
|
}
|
|
135586
136148
|
};
|
|
135587
136149
|
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
|
-
},
|
|
136150
|
+
general: {},
|
|
135595
136151
|
presentation: {
|
|
135596
136152
|
horizontalAlign: horizontalAlignProp(),
|
|
135597
136153
|
verticalAlign: verticalAlignProp(),
|
|
@@ -135627,26 +136183,14 @@ const booleanColumnProperties = {
|
|
|
135627
136183
|
}
|
|
135628
136184
|
};
|
|
135629
136185
|
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
|
-
},
|
|
136186
|
+
general: {},
|
|
135637
136187
|
presentation: {
|
|
135638
136188
|
horizontalAlign: horizontalAlignProp(),
|
|
135639
136189
|
cellBackground: cellBackgroundProp
|
|
135640
136190
|
}
|
|
135641
136191
|
};
|
|
135642
136192
|
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
|
-
},
|
|
136193
|
+
general: {},
|
|
135650
136194
|
presentation: {
|
|
135651
136195
|
horizontalAlign: horizontalAlignProp(),
|
|
135652
136196
|
verticalAlign: verticalAlignProp(),
|
|
@@ -135683,54 +136227,67 @@ const columnPanelConfig = {
|
|
|
135683
136227
|
variants: [
|
|
135684
136228
|
{
|
|
135685
136229
|
columnType: Prop.unset(),
|
|
136230
|
+
...computedValueUnion,
|
|
135686
136231
|
...textColumnProperties.general
|
|
135687
136232
|
},
|
|
135688
136233
|
{
|
|
135689
136234
|
columnType: Prop.literal(ColumnType.TEXT),
|
|
136235
|
+
...computedValueUnion,
|
|
135690
136236
|
...textColumnProperties.general
|
|
135691
136237
|
},
|
|
135692
136238
|
{
|
|
135693
136239
|
columnType: Prop.literal(ColumnType.NUMBER),
|
|
136240
|
+
...computedValueUnion,
|
|
135694
136241
|
...numberColumnProperties.general
|
|
135695
136242
|
},
|
|
135696
136243
|
{
|
|
135697
136244
|
columnType: Prop.literal(ColumnType.CURRENCY),
|
|
136245
|
+
...computedValueUnion,
|
|
135698
136246
|
...currencyColumnProperties.general
|
|
135699
136247
|
},
|
|
135700
136248
|
{
|
|
135701
136249
|
columnType: Prop.literal(ColumnType.PERCENTAGE),
|
|
136250
|
+
...computedValueUnion,
|
|
135702
136251
|
...percentageColumnProperties.general
|
|
135703
136252
|
},
|
|
135704
136253
|
{
|
|
135705
136254
|
columnType: Prop.literal(ColumnType.IMAGE),
|
|
136255
|
+
...computedValueUnion,
|
|
135706
136256
|
...imageColumnProperties.general
|
|
135707
136257
|
},
|
|
135708
136258
|
{
|
|
135709
136259
|
columnType: Prop.literal(ColumnType.VIDEO),
|
|
136260
|
+
...computedValueUnion,
|
|
135710
136261
|
...videoColumnProperties.general
|
|
135711
136262
|
},
|
|
135712
136263
|
{
|
|
135713
136264
|
columnType: Prop.literal(ColumnType.DATE),
|
|
136265
|
+
...computedValueUnion,
|
|
135714
136266
|
...dateColumnProperties.general
|
|
135715
136267
|
},
|
|
135716
136268
|
{
|
|
135717
136269
|
columnType: Prop.literal(ColumnType.BUTTON),
|
|
136270
|
+
// no computedValue (just buttonLabel)
|
|
135718
136271
|
...buttonColumnProperties.general
|
|
135719
136272
|
},
|
|
135720
136273
|
{
|
|
135721
136274
|
columnType: Prop.literal(ColumnType.LINK),
|
|
136275
|
+
// no computedValue (just linkUrl/linkLabel)
|
|
135722
136276
|
...linkColumnProperties.general
|
|
135723
136277
|
},
|
|
135724
136278
|
{
|
|
135725
136279
|
columnType: Prop.literal(ColumnType.BOOLEAN),
|
|
136280
|
+
...computedValueUnion,
|
|
135726
136281
|
...booleanColumnProperties.general
|
|
135727
136282
|
},
|
|
135728
136283
|
{
|
|
135729
136284
|
columnType: Prop.literal(ColumnType.TAGS),
|
|
136285
|
+
...computedValueUnion,
|
|
135730
136286
|
...tagsColumnProperties.general
|
|
135731
136287
|
},
|
|
135732
136288
|
{
|
|
135733
136289
|
columnType: Prop.literal(ColumnType.EMAIL),
|
|
136290
|
+
...computedValueUnion,
|
|
135734
136291
|
...emailColumnProperties.general
|
|
135735
136292
|
}
|
|
135736
136293
|
]
|
|
@@ -144877,14 +145434,14 @@ function getLoaderFn(options) {
|
|
|
144877
145434
|
if (!(loader === "all")) return [3, 3];
|
|
144878
145435
|
return [4, import(
|
|
144879
145436
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
144880
|
-
"./allPathsLoader-
|
|
145437
|
+
"./allPathsLoader-XDG2QDHX.js"
|
|
144881
145438
|
)];
|
|
144882
145439
|
case 2:
|
|
144883
145440
|
return [2, _b2.sent().allPathsLoader];
|
|
144884
145441
|
case 3:
|
|
144885
145442
|
return [4, import(
|
|
144886
145443
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
144887
|
-
"./splitPathsBySizeLoader-
|
|
145444
|
+
"./splitPathsBySizeLoader-CW0AvZcf.js"
|
|
144888
145445
|
)];
|
|
144889
145446
|
case 4:
|
|
144890
145447
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -152879,7 +153436,8 @@ const StyledControlGroup$1 = qe$1(ControlGroup)`
|
|
|
152879
153436
|
}
|
|
152880
153437
|
}
|
|
152881
153438
|
|
|
152882
|
-
.${INPUT_LEFT_CONTAINER$1},
|
|
153439
|
+
.${INPUT_LEFT_CONTAINER$1},
|
|
153440
|
+
.${INPUT_ACTION$1} {
|
|
152883
153441
|
display: flex;
|
|
152884
153442
|
align-items: center;
|
|
152885
153443
|
height: 100%;
|
|
@@ -153215,24 +153773,32 @@ class DatePickerComponent extends React__default.Component {
|
|
|
153215
153773
|
minHeight: this.props.inputLineHeightPx ? `${this.props.inputLineHeightPx + INPUT_ADDITIONAL_MIN_HEIGHT$1}px` : void 0
|
|
153216
153774
|
},
|
|
153217
153775
|
onClick: this.props.onInputClick,
|
|
153218
|
-
|
|
153219
|
-
|
|
153220
|
-
|
|
153221
|
-
|
|
153222
|
-
|
|
153223
|
-
|
|
153224
|
-
|
|
153225
|
-
|
|
153226
|
-
|
|
153227
|
-
|
|
153228
|
-
|
|
153229
|
-
|
|
153230
|
-
|
|
153776
|
+
leftIcon: this.props.icon ? (
|
|
153777
|
+
/**
|
|
153778
|
+
* Use `leftIcon` (with Blueprint's `INPUT_LEFT_CONTAINER` CSS class) instead of `leftElement`.
|
|
153779
|
+
* Blueprint measures `leftElement` width after render to set input padding.
|
|
153780
|
+
* If the element isn't present (e.g., Suspense, modals), it measures 0 and sets `padding-left: 0`, causing overlap.
|
|
153781
|
+
* Setting the style to `paddingLeft` is overridden by Blueprint.
|
|
153782
|
+
*/
|
|
153783
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
153784
|
+
"div",
|
|
153785
|
+
{
|
|
153786
|
+
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 : ""}`,
|
|
153787
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
153788
|
+
DynamicSVG,
|
|
153789
|
+
{
|
|
153790
|
+
iconName: this.props.icon,
|
|
153791
|
+
size: this.props.iconSize ?? DEFAULT_ICON_SIZE$1
|
|
153792
|
+
}
|
|
153793
|
+
)
|
|
153794
|
+
}
|
|
153795
|
+
)
|
|
153796
|
+
) : null,
|
|
153797
|
+
rightElement: !formatIncludesTimezone(displayFormat) && this.props.showTimezone ? /* @__PURE__ */ jsxRuntimeExports.jsx(Timezone, { timezone: this.displayTimezone }) : void 0,
|
|
153798
|
+
onChange: this.onInputChanged,
|
|
153231
153799
|
// @ts-expect-error extra props
|
|
153232
153800
|
"data-invalid": !this.props.isValid && !this.state.isOpen,
|
|
153233
|
-
"data-active": this.state.isOpen
|
|
153234
|
-
rightElement: !formatIncludesTimezone(displayFormat) && this.props.showTimezone ? /* @__PURE__ */ jsxRuntimeExports.jsx(Timezone, { timezone: this.displayTimezone }) : void 0,
|
|
153235
|
-
onChange: this.onInputChanged
|
|
153801
|
+
"data-active": this.state.isOpen
|
|
153236
153802
|
},
|
|
153237
153803
|
popoverProps: {
|
|
153238
153804
|
...this.props.forceOpen ? { isOpen: this.state.isOpen } : {},
|
|
@@ -161691,6 +162257,17 @@ function getSelectedRows(props2) {
|
|
|
161691
162257
|
const selectedRows = selectedRowIndices.map((ind) => filteredTableData[ind]).filter(Boolean);
|
|
161692
162258
|
return selectedRows;
|
|
161693
162259
|
}
|
|
162260
|
+
const isDerivedColumn = (tableData, columnId) => {
|
|
162261
|
+
if (!tableData || tableData.length === 0) {
|
|
162262
|
+
return true;
|
|
162263
|
+
}
|
|
162264
|
+
const firstRow = tableData[0];
|
|
162265
|
+
if (!firstRow) {
|
|
162266
|
+
return true;
|
|
162267
|
+
}
|
|
162268
|
+
const isInRow = columnId in firstRow;
|
|
162269
|
+
return !isInRow;
|
|
162270
|
+
};
|
|
161694
162271
|
function getFilteredTableData(props2) {
|
|
161695
162272
|
var _a2;
|
|
161696
162273
|
if (!props2.tableData) {
|
|
@@ -161722,7 +162299,8 @@ function getFilteredTableData(props2) {
|
|
|
161722
162299
|
return;
|
|
161723
162300
|
}
|
|
161724
162301
|
let computedValues = [];
|
|
161725
|
-
if (column2 && column2.computedValue)
|
|
162302
|
+
if (column2 && column2.computedValue && // ignore computed values for non-derived columns (they can only use displayed values)
|
|
162303
|
+
isDerivedColumn(derivedTableData, columnId)) {
|
|
161726
162304
|
if (lodashExports.isString(column2.computedValue)) {
|
|
161727
162305
|
try {
|
|
161728
162306
|
computedValues = JSON.parse(column2.computedValue);
|
|
@@ -182245,6 +182823,7 @@ const SbDatePicker = registerSbComponent(
|
|
|
182245
182823
|
backgroundColor: props2.backgroundColor,
|
|
182246
182824
|
textStyle: props2.textStyle
|
|
182247
182825
|
});
|
|
182826
|
+
const iconSize = useInputIconSize({ textStyle: props2.textStyle });
|
|
182248
182827
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(DatePickerContainer, { ...passThroughProps, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
182249
182828
|
DatePickerComponent,
|
|
182250
182829
|
{
|
|
@@ -182266,6 +182845,7 @@ const SbDatePicker = registerSbComponent(
|
|
|
182266
182845
|
timezone: props2.manageTimezone ? props2.valueTimezone : void 0,
|
|
182267
182846
|
showTimezone: !!props2.manageTimezone,
|
|
182268
182847
|
icon: props2.icon,
|
|
182848
|
+
iconSize,
|
|
182269
182849
|
onDatePickerClosed: handleDatePickerClosed,
|
|
182270
182850
|
placeholder: props2.placeholder,
|
|
182271
182851
|
labelStyleOverride: labelProps == null ? void 0 : labelProps.style,
|
|
@@ -185834,7 +186414,7 @@ const SbProvider = function SbProvider2({
|
|
|
185834
186414
|
},
|
|
185835
186415
|
id: "sb-provider-root",
|
|
185836
186416
|
children: [
|
|
185837
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary2, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.
|
|
186417
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary2, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
185838
186418
|
"div",
|
|
185839
186419
|
{
|
|
185840
186420
|
id: CANVAS_ROOT_ID,
|
|
@@ -185847,7 +186427,10 @@ const SbProvider = function SbProvider2({
|
|
|
185847
186427
|
overflow: "hidden",
|
|
185848
186428
|
position: "relative"
|
|
185849
186429
|
},
|
|
185850
|
-
children:
|
|
186430
|
+
children: [
|
|
186431
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalScope, { children: isEmbedded ? /* @__PURE__ */ jsxRuntimeExports.jsx(EmbedWrapper, { children }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Auth0Wrapper, { children }) }) }),
|
|
186432
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(DevTools, {})
|
|
186433
|
+
]
|
|
185851
186434
|
}
|
|
185852
186435
|
) }),
|
|
185853
186436
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: MODAL_TARGET_ROOT_ID, "data-superblocks": MODAL_TARGET_ROOT_ID })
|
|
@@ -197260,145 +197843,149 @@ function requireClient() {
|
|
|
197260
197843
|
}
|
|
197261
197844
|
var clientExports = requireClient();
|
|
197262
197845
|
export {
|
|
197263
|
-
|
|
197846
|
+
clientExports as $,
|
|
197264
197847
|
AppStateVarPersistence6 as A,
|
|
197265
|
-
|
|
197266
|
-
|
|
197267
|
-
|
|
197268
|
-
|
|
197269
|
-
|
|
197270
|
-
|
|
197271
|
-
|
|
197848
|
+
SbProvider as B,
|
|
197849
|
+
SbEventFlow as C,
|
|
197850
|
+
copyToClipboard as D,
|
|
197851
|
+
navigateTo as E,
|
|
197852
|
+
setQueryParams as F,
|
|
197853
|
+
download as G,
|
|
197854
|
+
showAlert as H,
|
|
197272
197855
|
IconSize$2 as I,
|
|
197273
|
-
|
|
197274
|
-
|
|
197275
|
-
|
|
197276
|
-
|
|
197277
|
-
|
|
197278
|
-
|
|
197279
|
-
|
|
197280
|
-
|
|
197281
|
-
|
|
197856
|
+
logoutIntegrations as J,
|
|
197857
|
+
registerScope as K,
|
|
197858
|
+
registerPage as L,
|
|
197859
|
+
createSbScope as M,
|
|
197860
|
+
Global as N,
|
|
197861
|
+
Embed as O,
|
|
197862
|
+
Env as P,
|
|
197863
|
+
SbEvent as Q,
|
|
197864
|
+
useUpdateProperties as R,
|
|
197282
197865
|
SbButton as S,
|
|
197283
197866
|
Theme as T,
|
|
197284
|
-
|
|
197285
|
-
|
|
197286
|
-
|
|
197287
|
-
|
|
197288
|
-
|
|
197289
|
-
|
|
197867
|
+
useTheme as U,
|
|
197868
|
+
Prop as V,
|
|
197869
|
+
sbComputed as W,
|
|
197870
|
+
Dim as X,
|
|
197871
|
+
SB as Y,
|
|
197872
|
+
Outlet as Z,
|
|
197290
197873
|
__awaiter as _,
|
|
197291
197874
|
__generator as a,
|
|
197292
|
-
|
|
197293
|
-
|
|
197294
|
-
|
|
197295
|
-
|
|
197296
|
-
|
|
197297
|
-
|
|
197298
|
-
|
|
197299
|
-
|
|
197300
|
-
|
|
197301
|
-
|
|
197302
|
-
|
|
197303
|
-
|
|
197304
|
-
|
|
197305
|
-
|
|
197306
|
-
|
|
197307
|
-
|
|
197308
|
-
|
|
197309
|
-
|
|
197310
|
-
|
|
197311
|
-
|
|
197312
|
-
|
|
197313
|
-
|
|
197314
|
-
|
|
197315
|
-
|
|
197316
|
-
|
|
197317
|
-
|
|
197318
|
-
|
|
197319
|
-
|
|
197320
|
-
|
|
197321
|
-
|
|
197322
|
-
|
|
197323
|
-
|
|
197324
|
-
|
|
197325
|
-
|
|
197326
|
-
|
|
197327
|
-
|
|
197328
|
-
|
|
197329
|
-
|
|
197330
|
-
|
|
197331
|
-
|
|
197332
|
-
|
|
197333
|
-
|
|
197334
|
-
|
|
197335
|
-
|
|
197336
|
-
|
|
197337
|
-
|
|
197338
|
-
|
|
197339
|
-
|
|
197340
|
-
|
|
197341
|
-
|
|
197342
|
-
|
|
197343
|
-
|
|
197344
|
-
|
|
197345
|
-
|
|
197346
|
-
|
|
197347
|
-
|
|
197348
|
-
|
|
197349
|
-
|
|
197350
|
-
|
|
197351
|
-
|
|
197352
|
-
|
|
197353
|
-
|
|
197354
|
-
|
|
197355
|
-
|
|
197875
|
+
createStaticHandler2 as a$,
|
|
197876
|
+
Await as a0,
|
|
197877
|
+
BrowserRouter as a1,
|
|
197878
|
+
Form2 as a2,
|
|
197879
|
+
HashRouter as a3,
|
|
197880
|
+
IDLE_BLOCKER as a4,
|
|
197881
|
+
IDLE_FETCHER as a5,
|
|
197882
|
+
IDLE_NAVIGATION as a6,
|
|
197883
|
+
Link as a7,
|
|
197884
|
+
Links as a8,
|
|
197885
|
+
MemoryRouter as a9,
|
|
197886
|
+
createBrowserHistory as aA,
|
|
197887
|
+
createClientRoutes as aB,
|
|
197888
|
+
createClientRoutesWithHMRRevalidationOptOut as aC,
|
|
197889
|
+
createRouter as aD,
|
|
197890
|
+
decodeViaTurboStream as aE,
|
|
197891
|
+
deserializeErrors2 as aF,
|
|
197892
|
+
getPatchRoutesOnNavigationFunction as aG,
|
|
197893
|
+
getSingleFetchDataStrategy as aH,
|
|
197894
|
+
invariant as aI,
|
|
197895
|
+
mapRouteProperties as aJ,
|
|
197896
|
+
shouldHydrateRouteLoader as aK,
|
|
197897
|
+
useFogOFWarDiscovery as aL,
|
|
197898
|
+
useScrollRestoration as aM,
|
|
197899
|
+
createBrowserRouter as aN,
|
|
197900
|
+
createCookie as aO,
|
|
197901
|
+
createCookieSessionStorage as aP,
|
|
197902
|
+
createHashRouter as aQ,
|
|
197903
|
+
createMemoryRouter as aR,
|
|
197904
|
+
createMemorySessionStorage as aS,
|
|
197905
|
+
createPath as aT,
|
|
197906
|
+
createRequestHandler as aU,
|
|
197907
|
+
createRoutesFromChildren as aV,
|
|
197908
|
+
createRoutesFromElements as aW,
|
|
197909
|
+
createRoutesStub as aX,
|
|
197910
|
+
createSearchParams as aY,
|
|
197911
|
+
createSession as aZ,
|
|
197912
|
+
createSessionStorage as a_,
|
|
197913
|
+
Meta as aa,
|
|
197914
|
+
NavLink as ab,
|
|
197915
|
+
Navigate as ac,
|
|
197916
|
+
Action as ad,
|
|
197917
|
+
PrefetchPageLinks as ae,
|
|
197918
|
+
Route as af,
|
|
197919
|
+
Router as ag,
|
|
197920
|
+
RouterProvider as ah,
|
|
197921
|
+
Routes as ai,
|
|
197922
|
+
Scripts as aj,
|
|
197923
|
+
ScrollRestoration as ak,
|
|
197924
|
+
ServerRouter as al,
|
|
197925
|
+
StaticRouter as am,
|
|
197926
|
+
StaticRouterProvider as an,
|
|
197927
|
+
DataRouterContext as ao,
|
|
197928
|
+
DataRouterStateContext as ap,
|
|
197929
|
+
ErrorResponseImpl as aq,
|
|
197930
|
+
FetchersContext as ar,
|
|
197931
|
+
FrameworkContext as as,
|
|
197932
|
+
LocationContext as at,
|
|
197933
|
+
NavigationContext as au,
|
|
197934
|
+
RemixErrorBoundary as av,
|
|
197935
|
+
RouteContext as aw,
|
|
197936
|
+
ServerMode as ax,
|
|
197937
|
+
SingleFetchRedirectSymbol as ay,
|
|
197938
|
+
ViewTransitionContext as az,
|
|
197356
197939
|
IconSize as b,
|
|
197357
|
-
|
|
197358
|
-
|
|
197359
|
-
|
|
197360
|
-
|
|
197361
|
-
|
|
197362
|
-
|
|
197363
|
-
|
|
197364
|
-
|
|
197365
|
-
|
|
197366
|
-
|
|
197367
|
-
|
|
197368
|
-
|
|
197369
|
-
|
|
197370
|
-
|
|
197371
|
-
|
|
197372
|
-
|
|
197373
|
-
|
|
197374
|
-
|
|
197375
|
-
|
|
197376
|
-
|
|
197377
|
-
|
|
197378
|
-
|
|
197379
|
-
|
|
197380
|
-
|
|
197381
|
-
|
|
197382
|
-
|
|
197383
|
-
|
|
197384
|
-
|
|
197385
|
-
|
|
197386
|
-
|
|
197387
|
-
|
|
197388
|
-
|
|
197389
|
-
|
|
197390
|
-
|
|
197391
|
-
|
|
197392
|
-
|
|
197393
|
-
|
|
197394
|
-
|
|
197395
|
-
|
|
197396
|
-
|
|
197397
|
-
|
|
197398
|
-
|
|
197399
|
-
|
|
197400
|
-
|
|
197401
|
-
|
|
197940
|
+
createStaticRouter as b0,
|
|
197941
|
+
data as b1,
|
|
197942
|
+
generatePath as b2,
|
|
197943
|
+
href as b3,
|
|
197944
|
+
isCookie as b4,
|
|
197945
|
+
isRouteErrorResponse as b5,
|
|
197946
|
+
isSession as b6,
|
|
197947
|
+
matchPath as b7,
|
|
197948
|
+
matchRoutes as b8,
|
|
197949
|
+
parsePath as b9,
|
|
197950
|
+
useNavigation as bA,
|
|
197951
|
+
useNavigationType as bB,
|
|
197952
|
+
useOutlet as bC,
|
|
197953
|
+
useOutletContext as bD,
|
|
197954
|
+
useParams as bE,
|
|
197955
|
+
useResolvedPath as bF,
|
|
197956
|
+
useRevalidator as bG,
|
|
197957
|
+
useRouteError as bH,
|
|
197958
|
+
useRouteLoaderData as bI,
|
|
197959
|
+
useRoutes as bJ,
|
|
197960
|
+
useSearchParams as bK,
|
|
197961
|
+
useSubmit as bL,
|
|
197962
|
+
useViewTransitionState as bM,
|
|
197963
|
+
redirect as ba,
|
|
197964
|
+
redirectDocument as bb,
|
|
197965
|
+
renderMatches as bc,
|
|
197966
|
+
replace2 as bd,
|
|
197967
|
+
resolvePath as be,
|
|
197968
|
+
HistoryRouter as bf,
|
|
197969
|
+
unstable_RouterContextProvider as bg,
|
|
197970
|
+
unstable_createContext as bh,
|
|
197971
|
+
setDevServerHooks as bi,
|
|
197972
|
+
usePrompt as bj,
|
|
197973
|
+
useActionData as bk,
|
|
197974
|
+
useAsyncError as bl,
|
|
197975
|
+
useAsyncValue as bm,
|
|
197976
|
+
useBeforeUnload as bn,
|
|
197977
|
+
useBlocker as bo,
|
|
197978
|
+
useFetcher as bp,
|
|
197979
|
+
useFetchers as bq,
|
|
197980
|
+
useFormAction as br,
|
|
197981
|
+
useHref as bs,
|
|
197982
|
+
useInRouterContext as bt,
|
|
197983
|
+
useLinkClickHandler as bu,
|
|
197984
|
+
useLoaderData as bv,
|
|
197985
|
+
useLocation as bw,
|
|
197986
|
+
useMatch as bx,
|
|
197987
|
+
useMatches as by,
|
|
197988
|
+
useNavigate as bz,
|
|
197402
197989
|
SbSection as c,
|
|
197403
197990
|
SbColumn as d,
|
|
197404
197991
|
SbContainer as e,
|
|
@@ -197406,22 +197993,22 @@ export {
|
|
|
197406
197993
|
SbPage as g,
|
|
197407
197994
|
SbText as h,
|
|
197408
197995
|
SbModal as i,
|
|
197409
|
-
|
|
197410
|
-
|
|
197411
|
-
|
|
197412
|
-
|
|
197413
|
-
|
|
197414
|
-
|
|
197996
|
+
jsxRuntimeExports as j,
|
|
197997
|
+
SbTable as k,
|
|
197998
|
+
SbDropdown as l,
|
|
197999
|
+
makeAutoObservable as m,
|
|
198000
|
+
SbCustom as n,
|
|
198001
|
+
observer as o,
|
|
197415
198002
|
pascalCase as p,
|
|
197416
|
-
|
|
198003
|
+
SbCheckbox as q,
|
|
197417
198004
|
registerComponent as r,
|
|
197418
|
-
|
|
197419
|
-
|
|
197420
|
-
|
|
197421
|
-
|
|
197422
|
-
|
|
197423
|
-
|
|
197424
|
-
|
|
197425
|
-
|
|
197426
|
-
};
|
|
197427
|
-
//# sourceMappingURL=index-
|
|
198005
|
+
SbDatePicker as s,
|
|
198006
|
+
toJS as t,
|
|
198007
|
+
SbSwitch as u,
|
|
198008
|
+
SbIcon as v,
|
|
198009
|
+
SbImage as w,
|
|
198010
|
+
SbVariable as x,
|
|
198011
|
+
SbTimer as y,
|
|
198012
|
+
SbApi as z
|
|
198013
|
+
};
|
|
198014
|
+
//# sourceMappingURL=index-CFz3UGkJ.js.map
|