@superblocksteam/library 2.0.3-next.125 → 2.0.3-next.127
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-Zj5ywZ7Z.js → allPaths-BH0DKSxA.js} +2 -2
- package/dist/{allPaths-Zj5ywZ7Z.js.map → allPaths-BH0DKSxA.js.map} +1 -1
- package/dist/{allPaths-BwCisL1m.js → allPaths-F6GZkvxD.js} +2 -2
- package/dist/{allPaths-BwCisL1m.js.map → allPaths-F6GZkvxD.js.map} +1 -1
- package/dist/{allPathsLoader-CHtqqhqa.js → allPathsLoader-B3FzEE6v.js} +3 -3
- package/dist/{allPathsLoader-CHtqqhqa.js.map → allPathsLoader-B3FzEE6v.js.map} +1 -1
- package/dist/{allPathsLoader-PuPpwk36.js → allPathsLoader-CPfNk8yv.js} +3 -3
- package/dist/{allPathsLoader-PuPpwk36.js.map → allPathsLoader-CPfNk8yv.js.map} +1 -1
- package/dist/{index-CRYekRqO.js → index-ByxiFYSo.js} +513 -442
- package/dist/{index-CRYekRqO.js.map → index-ByxiFYSo.js.map} +1 -1
- package/dist/index.js +126 -122
- package/dist/{splitPathsBySizeLoader-C9xWFFnU.js → splitPathsBySizeLoader-CZXCHUIN.js} +2 -2
- package/dist/{splitPathsBySizeLoader-C9xWFFnU.js.map → splitPathsBySizeLoader-CZXCHUIN.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-Cx--S5eU.js → splitPathsBySizeLoader-DTQ0e96j.js} +2 -2
- package/dist/{splitPathsBySizeLoader-Cx--S5eU.js.map → splitPathsBySizeLoader-DTQ0e96j.js.map} +1 -1
- package/dist-types/edit-mode/interaction-utils.d.ts +1 -0
- package/dist-types/lib/index.d.ts +2 -1
- package/dist-types/lib/internal-details/scope/global.d.ts +9 -0
- package/dist-types/lib/user-facing/components/input/constants.d.ts +2 -2
- package/dist-types/lib/user-facing/state/create-scope.d.ts +10 -3
- package/dist-types/lib/user-facing/themes/constants.d.ts +4 -4
- package/package.json +2 -2
|
@@ -2703,14 +2703,14 @@ function getLoaderFn$1(options) {
|
|
|
2703
2703
|
if (!(loader === "all")) return [3, 3];
|
|
2704
2704
|
return [4, import(
|
|
2705
2705
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
2706
|
-
"./allPathsLoader-
|
|
2706
|
+
"./allPathsLoader-CPfNk8yv.js"
|
|
2707
2707
|
)];
|
|
2708
2708
|
case 2:
|
|
2709
2709
|
return [2, _b2.sent().allPathsLoader];
|
|
2710
2710
|
case 3:
|
|
2711
2711
|
return [4, import(
|
|
2712
2712
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
2713
|
-
"./splitPathsBySizeLoader-
|
|
2713
|
+
"./splitPathsBySizeLoader-CZXCHUIN.js"
|
|
2714
2714
|
)];
|
|
2715
2715
|
case 4:
|
|
2716
2716
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -10516,6 +10516,17 @@ function toMobXPatch(change, pathStr) {
|
|
|
10516
10516
|
function isComputedProperty(value) {
|
|
10517
10517
|
return typeof value === "object" && value !== null && value.__isComputedProperty === true;
|
|
10518
10518
|
}
|
|
10519
|
+
function getRuntimeComputedExpression(value) {
|
|
10520
|
+
var _a2, _b2, _c2;
|
|
10521
|
+
const lines = value.split("\n");
|
|
10522
|
+
if (lines.length === 1 && ((_a2 = lines[0]) == null ? void 0 : _a2.startsWith("return"))) {
|
|
10523
|
+
return lines[0];
|
|
10524
|
+
}
|
|
10525
|
+
if (lines.length === 1 && (!((_b2 = lines[0]) == null ? void 0 : _b2.startsWith("return")) || ((_c2 = lines[0]) == null ? void 0 : _c2.endsWith(";")))) {
|
|
10526
|
+
return `return ${lines[0]}`;
|
|
10527
|
+
}
|
|
10528
|
+
return value;
|
|
10529
|
+
}
|
|
10519
10530
|
function isBindingString(value) {
|
|
10520
10531
|
return typeof value === "object" && value != null && value.__binding === true;
|
|
10521
10532
|
}
|
|
@@ -47014,20 +47025,17 @@ const DEFAULT_LIGHT_PALETTE = {
|
|
|
47014
47025
|
primaryColor: colors.ACCENT_BLUE_500,
|
|
47015
47026
|
appBackgroundColor: LIGHT_APP_BG
|
|
47016
47027
|
};
|
|
47017
|
-
const
|
|
47028
|
+
const noBorder = (theme) => ({
|
|
47018
47029
|
width: Dim.px(0),
|
|
47019
47030
|
style: "solid",
|
|
47020
|
-
color:
|
|
47021
|
-
};
|
|
47022
|
-
({
|
|
47023
|
-
|
|
47031
|
+
color: theme.colors.neutral100
|
|
47032
|
+
});
|
|
47033
|
+
const noBorderOject = (theme) => ({
|
|
47034
|
+
left: noBorder(theme),
|
|
47035
|
+
right: noBorder(theme),
|
|
47036
|
+
top: noBorder(theme),
|
|
47037
|
+
bottom: noBorder(theme)
|
|
47024
47038
|
});
|
|
47025
|
-
const NO_BORDER_OBJECT = {
|
|
47026
|
-
left: NO_BORDER,
|
|
47027
|
-
right: NO_BORDER,
|
|
47028
|
-
top: NO_BORDER,
|
|
47029
|
-
bottom: NO_BORDER
|
|
47030
|
-
};
|
|
47031
47039
|
({
|
|
47032
47040
|
topLeft: Dim.px(0),
|
|
47033
47041
|
topRight: Dim.px(0),
|
|
@@ -64564,7 +64572,7 @@ function getPropertyValue$1({
|
|
|
64564
64572
|
}
|
|
64565
64573
|
if (property.type === "COMPUTED" && typeof property.value === "string" && scopeId && name) {
|
|
64566
64574
|
try {
|
|
64567
|
-
return LazyFunction(property.value);
|
|
64575
|
+
return LazyFunction(getRuntimeComputedExpression(property.value));
|
|
64568
64576
|
} catch (e3) {
|
|
64569
64577
|
console.error("Error generating computed value", e3);
|
|
64570
64578
|
const entity = rootStore.entityManager.getEntity(scopeId, name);
|
|
@@ -64786,19 +64794,14 @@ class RuntimeWidgetsManager {
|
|
|
64786
64794
|
return this.sourceIdCount[sourceId] ?? 0;
|
|
64787
64795
|
}
|
|
64788
64796
|
isChildOf(childId, parentId) {
|
|
64789
|
-
const
|
|
64790
|
-
if (
|
|
64791
|
-
return
|
|
64797
|
+
const childMeta = this.widgets[childId];
|
|
64798
|
+
if (childMeta && childMeta.parentInstanceId === parentId) {
|
|
64799
|
+
return true;
|
|
64792
64800
|
}
|
|
64793
|
-
|
|
64794
|
-
|
|
64795
|
-
return true;
|
|
64796
|
-
}
|
|
64797
|
-
if (child.isSbComponent && this.isChildOf(childId, child.value)) {
|
|
64798
|
-
return true;
|
|
64799
|
-
}
|
|
64801
|
+
if (!childMeta || !childMeta.parentInstanceId) {
|
|
64802
|
+
return false;
|
|
64800
64803
|
}
|
|
64801
|
-
return
|
|
64804
|
+
return this.isChildOf(childMeta.parentInstanceId, parentId);
|
|
64802
64805
|
}
|
|
64803
64806
|
// get the closest ancestor of a widget by type
|
|
64804
64807
|
getClosestAncestorByType(instanceId, type5) {
|
|
@@ -65896,6 +65899,18 @@ const getWidgetNode = (instanceId) => {
|
|
|
65896
65899
|
`[${WIDGET_SOURCE_ID_ATTRIBUTE}="${sourceId}"]`
|
|
65897
65900
|
);
|
|
65898
65901
|
};
|
|
65902
|
+
const getIsComponentInInteractionLayer = (instanceId) => {
|
|
65903
|
+
const editStore2 = getEditStore();
|
|
65904
|
+
const activeRootInstanceId = editStore2.interactionLayerManager.activeRootInstanceId;
|
|
65905
|
+
const isDropTargetInInteractionLayer = (
|
|
65906
|
+
// if active root id is undefined, we are in the page and can drop anywhere
|
|
65907
|
+
!activeRootInstanceId || instanceId && (instanceId === activeRootInstanceId || editStore2.runtimeEntitiesManager.isChildOf(
|
|
65908
|
+
instanceId,
|
|
65909
|
+
activeRootInstanceId
|
|
65910
|
+
))
|
|
65911
|
+
);
|
|
65912
|
+
return isDropTargetInInteractionLayer;
|
|
65913
|
+
};
|
|
65899
65914
|
_setWidgetFeatures_dec = [action], _setIsDragging_dec = [action], _startNewComponentDrag_dec = [action], _cancelNewComponentDrag_dec = [action], _setValidRootIds_dec = [action], _setInvalidDropTarget_dec = [action], _setDropTargetId_dec = [action], _setActiveDragRect_dec = [action], _setActiveTargetRect_dec = [action], _setWidgetPosition_dec = [action], _updateChildPositions_dec = [action];
|
|
65900
65915
|
class DragAndDropManager {
|
|
65901
65916
|
constructor(root2) {
|
|
@@ -109017,11 +109032,286 @@ const Layers$1 = {
|
|
|
109017
109032
|
// section column resizer and resizer disabled tooltip,
|
|
109018
109033
|
modal: 7,
|
|
109019
109034
|
// min max height constraint
|
|
109020
|
-
addSectionButton:
|
|
109035
|
+
addSectionButton: 7,
|
|
109021
109036
|
// blueprint control group focused input
|
|
109022
109037
|
max: 99999
|
|
109023
109038
|
/* LayerMax */
|
|
109024
109039
|
};
|
|
109040
|
+
const createBindableEntityProxy = (entity, identifier2) => {
|
|
109041
|
+
return new Proxy(
|
|
109042
|
+
{
|
|
109043
|
+
entity,
|
|
109044
|
+
[BindingMetaSymbol]: identifier2
|
|
109045
|
+
},
|
|
109046
|
+
{
|
|
109047
|
+
get(_target, prop) {
|
|
109048
|
+
if (prop === BindingMetaSymbol) {
|
|
109049
|
+
return identifier2;
|
|
109050
|
+
}
|
|
109051
|
+
return entity == null ? void 0 : entity[prop];
|
|
109052
|
+
},
|
|
109053
|
+
set(_target, prop, value) {
|
|
109054
|
+
if (!entity) {
|
|
109055
|
+
return false;
|
|
109056
|
+
}
|
|
109057
|
+
entity[prop] = value;
|
|
109058
|
+
return true;
|
|
109059
|
+
},
|
|
109060
|
+
deleteProperty(_target, prop) {
|
|
109061
|
+
if (!entity) {
|
|
109062
|
+
return false;
|
|
109063
|
+
}
|
|
109064
|
+
delete entity[prop];
|
|
109065
|
+
return true;
|
|
109066
|
+
},
|
|
109067
|
+
has(_target, prop) {
|
|
109068
|
+
if (!entity) {
|
|
109069
|
+
return false;
|
|
109070
|
+
}
|
|
109071
|
+
return prop in entity;
|
|
109072
|
+
},
|
|
109073
|
+
ownKeys(_target) {
|
|
109074
|
+
if (!entity) {
|
|
109075
|
+
return [];
|
|
109076
|
+
}
|
|
109077
|
+
return Object.keys(entity);
|
|
109078
|
+
},
|
|
109079
|
+
getOwnPropertyDescriptor(_target, prop) {
|
|
109080
|
+
if (!entity) {
|
|
109081
|
+
return void 0;
|
|
109082
|
+
}
|
|
109083
|
+
return Object.getOwnPropertyDescriptor(entity, prop);
|
|
109084
|
+
},
|
|
109085
|
+
defineProperty(_target, prop, descriptor) {
|
|
109086
|
+
if (!entity) {
|
|
109087
|
+
return false;
|
|
109088
|
+
}
|
|
109089
|
+
Object.defineProperty(entity, prop, descriptor);
|
|
109090
|
+
return true;
|
|
109091
|
+
},
|
|
109092
|
+
preventExtensions(_target) {
|
|
109093
|
+
if (!entity) {
|
|
109094
|
+
return false;
|
|
109095
|
+
}
|
|
109096
|
+
Object.preventExtensions(entity);
|
|
109097
|
+
return true;
|
|
109098
|
+
},
|
|
109099
|
+
isExtensible(_target) {
|
|
109100
|
+
if (!entity) {
|
|
109101
|
+
return false;
|
|
109102
|
+
}
|
|
109103
|
+
return Object.isExtensible(entity);
|
|
109104
|
+
},
|
|
109105
|
+
getPrototypeOf(_target) {
|
|
109106
|
+
if (!entity) {
|
|
109107
|
+
return null;
|
|
109108
|
+
}
|
|
109109
|
+
return Object.getPrototypeOf(entity);
|
|
109110
|
+
},
|
|
109111
|
+
setPrototypeOf(_target, proto4) {
|
|
109112
|
+
if (!entity) {
|
|
109113
|
+
return false;
|
|
109114
|
+
}
|
|
109115
|
+
Object.setPrototypeOf(entity, proto4);
|
|
109116
|
+
return true;
|
|
109117
|
+
}
|
|
109118
|
+
}
|
|
109119
|
+
);
|
|
109120
|
+
};
|
|
109121
|
+
const existingScopeIds = /* @__PURE__ */ new Set();
|
|
109122
|
+
function internalCreateScope(initialEntities, options) {
|
|
109123
|
+
return createSbScope(initialEntities, options);
|
|
109124
|
+
}
|
|
109125
|
+
function createSbScope(initialEntities, options) {
|
|
109126
|
+
const { parentScopeId, name } = options;
|
|
109127
|
+
if (!name) {
|
|
109128
|
+
throw new Error("Scope name is required");
|
|
109129
|
+
}
|
|
109130
|
+
const stableScopeId = options.scopeId ?? getStableScopeId(name);
|
|
109131
|
+
if (existingScopeIds.has(stableScopeId)) {
|
|
109132
|
+
console.warn(`Scope with name ${name} already exists`);
|
|
109133
|
+
}
|
|
109134
|
+
existingScopeIds.add(stableScopeId);
|
|
109135
|
+
const scopeId = rootStore.entityManager.createScope({
|
|
109136
|
+
parentScopeId,
|
|
109137
|
+
name,
|
|
109138
|
+
scopeId: stableScopeId
|
|
109139
|
+
});
|
|
109140
|
+
const bindingIds = {};
|
|
109141
|
+
const getBinding = (key2) => {
|
|
109142
|
+
if (bindingIds[key2]) {
|
|
109143
|
+
return bindingIds[key2];
|
|
109144
|
+
}
|
|
109145
|
+
bindingIds[key2] = {
|
|
109146
|
+
entityName: key2,
|
|
109147
|
+
scopeId
|
|
109148
|
+
};
|
|
109149
|
+
return bindingIds[key2];
|
|
109150
|
+
};
|
|
109151
|
+
const entities = new Proxy(
|
|
109152
|
+
{},
|
|
109153
|
+
{
|
|
109154
|
+
get(_target, key2) {
|
|
109155
|
+
if (typeof key2 !== "string") {
|
|
109156
|
+
return void 0;
|
|
109157
|
+
}
|
|
109158
|
+
const entity = rootStore.entityManager.getEntity(scopeId, {
|
|
109159
|
+
value: key2,
|
|
109160
|
+
isAnonymous: false
|
|
109161
|
+
});
|
|
109162
|
+
return createBindableEntityProxy(entity, getBinding(key2));
|
|
109163
|
+
}
|
|
109164
|
+
}
|
|
109165
|
+
);
|
|
109166
|
+
return {
|
|
109167
|
+
entities,
|
|
109168
|
+
initialEntities,
|
|
109169
|
+
scopeInfo: {
|
|
109170
|
+
scopeId,
|
|
109171
|
+
name,
|
|
109172
|
+
parentScopeId
|
|
109173
|
+
}
|
|
109174
|
+
};
|
|
109175
|
+
}
|
|
109176
|
+
const ScopeContext = createContext({
|
|
109177
|
+
scopeId: GLOBAL_SCOPE_ID
|
|
109178
|
+
});
|
|
109179
|
+
const ScopeProvider = ({
|
|
109180
|
+
scopeId,
|
|
109181
|
+
children
|
|
109182
|
+
}) => {
|
|
109183
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeContext.Provider, { value: { scopeId }, children });
|
|
109184
|
+
};
|
|
109185
|
+
const useScope = () => {
|
|
109186
|
+
const scopeInfo = useContext(ScopeContext);
|
|
109187
|
+
return scopeInfo ?? { scopeId: GLOBAL_SCOPE_ID };
|
|
109188
|
+
};
|
|
109189
|
+
function registerScope(Component3, scopeDef, options) {
|
|
109190
|
+
const componentName = Component3.displayName || Component3.name;
|
|
109191
|
+
const scopeInfo = scopeDef.scopeInfo;
|
|
109192
|
+
const ScopedComponent = function ScopedComponent2(props) {
|
|
109193
|
+
const parentScope = useScope();
|
|
109194
|
+
const stableScopeId = useRef(
|
|
109195
|
+
predictableNameGenerator(`sc-${componentName}`)
|
|
109196
|
+
);
|
|
109197
|
+
const [scopeId, setScopeId] = useState(null);
|
|
109198
|
+
useEffect(() => {
|
|
109199
|
+
if (scopeInfo.scopeId) {
|
|
109200
|
+
setScopeId(scopeInfo.scopeId);
|
|
109201
|
+
return;
|
|
109202
|
+
}
|
|
109203
|
+
const newScopeId = rootStore.entityManager.createScope({
|
|
109204
|
+
parentScopeId: parentScope.scopeId,
|
|
109205
|
+
name: scopeInfo.name,
|
|
109206
|
+
scopeId: stableScopeId.current
|
|
109207
|
+
});
|
|
109208
|
+
setScopeId(newScopeId);
|
|
109209
|
+
}, [parentScope.scopeId]);
|
|
109210
|
+
useStableEffect(
|
|
109211
|
+
() => {
|
|
109212
|
+
var _a2;
|
|
109213
|
+
const currentScopeId = scopeId;
|
|
109214
|
+
if (!currentScopeId) {
|
|
109215
|
+
return;
|
|
109216
|
+
}
|
|
109217
|
+
Object.entries(scopeDef.initialEntities).forEach(
|
|
109218
|
+
([name, { type: type5, ...rest }]) => {
|
|
109219
|
+
const internalName = getName(name);
|
|
109220
|
+
const entity = rootStore.entityManager.getEntity(
|
|
109221
|
+
currentScopeId,
|
|
109222
|
+
internalName
|
|
109223
|
+
);
|
|
109224
|
+
const entityIsInOurScope = entity && currentScopeId === entity.scopeId;
|
|
109225
|
+
if (entity && entityIsInOurScope) {
|
|
109226
|
+
rootStore.entityManager.updateEntity({
|
|
109227
|
+
scopeId: currentScopeId,
|
|
109228
|
+
name: internalName,
|
|
109229
|
+
props: rest
|
|
109230
|
+
});
|
|
109231
|
+
} else {
|
|
109232
|
+
rootStore.entityManager.createEntity({
|
|
109233
|
+
scopeId: currentScopeId,
|
|
109234
|
+
name: internalName,
|
|
109235
|
+
props: rest,
|
|
109236
|
+
type: type5
|
|
109237
|
+
});
|
|
109238
|
+
}
|
|
109239
|
+
if (type5 === "SbTimer" && rest.startOnPageLoad && typeof entity === "object" && typeof (entity == null ? void 0 : entity.start) === "function") {
|
|
109240
|
+
entity.start();
|
|
109241
|
+
}
|
|
109242
|
+
}
|
|
109243
|
+
);
|
|
109244
|
+
(_a2 = options == null ? void 0 : options.onScopeLoaded) == null ? void 0 : _a2.call(options);
|
|
109245
|
+
},
|
|
109246
|
+
{
|
|
109247
|
+
initialEntities: scopeDef.initialEntities,
|
|
109248
|
+
scopeInfo: scopeDef.scopeInfo,
|
|
109249
|
+
scopeId
|
|
109250
|
+
},
|
|
109251
|
+
{
|
|
109252
|
+
cold: true,
|
|
109253
|
+
customEqualChecks: [
|
|
109254
|
+
[(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => lodashExports.isEqual(a3, b3)]
|
|
109255
|
+
]
|
|
109256
|
+
}
|
|
109257
|
+
);
|
|
109258
|
+
if (!scopeId) {
|
|
109259
|
+
return null;
|
|
109260
|
+
}
|
|
109261
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeProvider, { scopeId, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Component3, { ...props }) });
|
|
109262
|
+
};
|
|
109263
|
+
return ScopedComponent;
|
|
109264
|
+
}
|
|
109265
|
+
const InternalGlobalScope = internalCreateScope(
|
|
109266
|
+
{},
|
|
109267
|
+
{
|
|
109268
|
+
name: GLOBAL_SCOPE_ID,
|
|
109269
|
+
scopeId: GLOBAL_SCOPE_ID
|
|
109270
|
+
}
|
|
109271
|
+
);
|
|
109272
|
+
const GlobalScope = registerScope(
|
|
109273
|
+
({ children }) => {
|
|
109274
|
+
const { theme } = useTheme();
|
|
109275
|
+
useEffect(() => {
|
|
109276
|
+
const name = getName("Theme");
|
|
109277
|
+
const existingTheme = rootStore.entityManager.getEntity(
|
|
109278
|
+
GLOBAL_SCOPE_ID,
|
|
109279
|
+
name
|
|
109280
|
+
);
|
|
109281
|
+
if (existingTheme) {
|
|
109282
|
+
rootStore.entityManager.updateEntity({
|
|
109283
|
+
name,
|
|
109284
|
+
props: theme,
|
|
109285
|
+
scopeId: GLOBAL_SCOPE_ID
|
|
109286
|
+
});
|
|
109287
|
+
} else {
|
|
109288
|
+
rootStore.entityManager.createEntity({
|
|
109289
|
+
name,
|
|
109290
|
+
type: "theme",
|
|
109291
|
+
props: theme,
|
|
109292
|
+
scopeId: GLOBAL_SCOPE_ID
|
|
109293
|
+
});
|
|
109294
|
+
}
|
|
109295
|
+
}, [theme]);
|
|
109296
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children });
|
|
109297
|
+
},
|
|
109298
|
+
InternalGlobalScope
|
|
109299
|
+
);
|
|
109300
|
+
function createEntityProxy(entityName) {
|
|
109301
|
+
return new Proxy(
|
|
109302
|
+
{},
|
|
109303
|
+
{
|
|
109304
|
+
get(_target, prop) {
|
|
109305
|
+
const entity = InternalGlobalScope.entities[entityName];
|
|
109306
|
+
return entity == null ? void 0 : entity[prop];
|
|
109307
|
+
}
|
|
109308
|
+
}
|
|
109309
|
+
);
|
|
109310
|
+
}
|
|
109311
|
+
const Theme = createEntityProxy("Theme");
|
|
109312
|
+
const Global = createEntityProxy("Global");
|
|
109313
|
+
const Embed = createEntityProxy("Embed");
|
|
109314
|
+
const Env = createEntityProxy("Env");
|
|
109025
109315
|
const getSizeProp = ({
|
|
109026
109316
|
label,
|
|
109027
109317
|
controlType,
|
|
@@ -109145,12 +109435,11 @@ const spacing = (options) => {
|
|
|
109145
109435
|
label: "Spacing",
|
|
109146
109436
|
helpText: "Space between components in container. If the alignment is space-between or space-around, this is the minimum spacing between items",
|
|
109147
109437
|
controlType: "SPACING_CONTROL",
|
|
109148
|
-
themeValue: function(
|
|
109149
|
-
var _a2;
|
|
109438
|
+
themeValue: function() {
|
|
109150
109439
|
if (this.layout === "freeform") {
|
|
109151
109440
|
return Dim.px(0);
|
|
109152
109441
|
}
|
|
109153
|
-
return themeValue ??
|
|
109442
|
+
return themeValue ?? Theme.spacing;
|
|
109154
109443
|
},
|
|
109155
109444
|
...rest
|
|
109156
109445
|
});
|
|
@@ -109179,9 +109468,8 @@ const padding = (options) => {
|
|
|
109179
109468
|
label: "Padding",
|
|
109180
109469
|
helpText: "The padding for the component",
|
|
109181
109470
|
controlType: "PADDING_CONTROL",
|
|
109182
|
-
themeValue: function(
|
|
109183
|
-
|
|
109184
|
-
return themeValue ?? ((_a2 = s3.theme) == null ? void 0 : _a2.padding);
|
|
109471
|
+
themeValue: function() {
|
|
109472
|
+
return themeValue ?? Theme.padding;
|
|
109185
109473
|
},
|
|
109186
109474
|
...rest
|
|
109187
109475
|
}).default(themeValue);
|
|
@@ -113138,19 +113426,6 @@ function useRegisterSourceElement(sourceId) {
|
|
|
113138
113426
|
[sourceId]
|
|
113139
113427
|
);
|
|
113140
113428
|
}
|
|
113141
|
-
const ScopeContext = createContext({
|
|
113142
|
-
scopeId: GLOBAL_SCOPE_ID
|
|
113143
|
-
});
|
|
113144
|
-
const ScopeProvider = ({
|
|
113145
|
-
scopeId,
|
|
113146
|
-
children
|
|
113147
|
-
}) => {
|
|
113148
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeContext.Provider, { value: { scopeId }, children });
|
|
113149
|
-
};
|
|
113150
|
-
const useScope = () => {
|
|
113151
|
-
const scopeInfo = useContext(ScopeContext);
|
|
113152
|
-
return scopeInfo ?? { scopeId: GLOBAL_SCOPE_ID };
|
|
113153
|
-
};
|
|
113154
113429
|
const CANVAS_ROOT_ID = "canvas-root";
|
|
113155
113430
|
const MODAL_TARGET_ROOT_ID = "modal-target-root";
|
|
113156
113431
|
const CollisionsLayer = observer(() => {
|
|
@@ -113159,6 +113434,7 @@ const CollisionsLayer = observer(() => {
|
|
|
113159
113434
|
const dropTargetId = editStore2.ui.dnd.dropTargetId;
|
|
113160
113435
|
const isDragging = editStore2.ui.dnd.isDragging;
|
|
113161
113436
|
const pendingResize = editStore2.ui.resizing.pendingResizes;
|
|
113437
|
+
const isDropTargetInInteractionLayer = getIsComponentInInteractionLayer(dropTargetId);
|
|
113162
113438
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
113163
113439
|
pendingResize.map((resize) => {
|
|
113164
113440
|
const widget = getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(
|
|
@@ -113177,7 +113453,7 @@ const CollisionsLayer = observer(() => {
|
|
|
113177
113453
|
resize.sourceId
|
|
113178
113454
|
);
|
|
113179
113455
|
}),
|
|
113180
|
-
isDragging && dropTargetId && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
113456
|
+
isDragging && dropTargetId && isDropTargetInInteractionLayer && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
113181
113457
|
Collisions,
|
|
113182
113458
|
{
|
|
113183
113459
|
parentInstanceId: dropTargetId,
|
|
@@ -114260,17 +114536,10 @@ const DropLayer = observer(() => {
|
|
|
114260
114536
|
const editStore2 = getEditStore();
|
|
114261
114537
|
const draggedWidgetType = editStore2.ui.dnd.draggedWidgetType;
|
|
114262
114538
|
const dropTargetWidgetType = editStore2.ui.dnd.dropTargetWidgetType;
|
|
114263
|
-
const dropTargetId = editStore2.ui.dnd.dropTargetId;
|
|
114264
114539
|
const isDropTargetGridLike = editStore2.ui.dnd.isDropTargetGridLike;
|
|
114265
114540
|
const isDropTargetStackLike = editStore2.ui.dnd.isDropTargetStackLike;
|
|
114266
|
-
const
|
|
114267
|
-
const isDropTargetInInteractionLayer = (
|
|
114268
|
-
// if active root id is undefined, we are in the page and can drop anywhere
|
|
114269
|
-
!activeRootInstanceId || dropTargetId && (dropTargetId === activeRootInstanceId || editStore2.runtimeEntitiesManager.isChildOf(
|
|
114270
|
-
dropTargetId,
|
|
114271
|
-
activeRootInstanceId
|
|
114272
|
-
))
|
|
114273
|
-
);
|
|
114541
|
+
const dropTargetId = editStore2.ui.dnd.dropTargetId;
|
|
114542
|
+
const isDropTargetInInteractionLayer = getIsComponentInInteractionLayer(dropTargetId);
|
|
114274
114543
|
const isDragging = editStore2.ui.dnd.isDragging;
|
|
114275
114544
|
const isAllowedDrop = isDropTargetInInteractionLayer && isDragging && Boolean(draggedWidgetType && dropTargetWidgetType);
|
|
114276
114545
|
const validStackDrop = isAllowedDrop && isDropTargetStackLike;
|
|
@@ -121050,10 +121319,9 @@ const createTextStyleCompositeBase = () => ({
|
|
|
121050
121319
|
const basePropertiesPaneDisplay = {
|
|
121051
121320
|
label: "Style",
|
|
121052
121321
|
controlType: "TEXT_STYLE",
|
|
121053
|
-
options: function(
|
|
121054
|
-
var _a2;
|
|
121322
|
+
options: function() {
|
|
121055
121323
|
return [
|
|
121056
|
-
...Object.entries(
|
|
121324
|
+
...Object.entries(Theme.typographies ?? {}).flatMap(
|
|
121057
121325
|
([key2, typography]) => {
|
|
121058
121326
|
return {
|
|
121059
121327
|
label: typography.name ?? camelCaseToSentenceCase(key2),
|
|
@@ -121116,8 +121384,8 @@ const borderRadius = (propertiesPanelConfig = {}) => {
|
|
|
121116
121384
|
topRight: Prop.dimension().readAndWrite(),
|
|
121117
121385
|
bottomRight: Prop.dimension().readAndWrite(),
|
|
121118
121386
|
bottomLeft: Prop.dimension().readAndWrite()
|
|
121119
|
-
}).default(function(
|
|
121120
|
-
const borderRadius2 =
|
|
121387
|
+
}).default(function() {
|
|
121388
|
+
const borderRadius2 = Theme.defaultBorder.borderRadius ?? Dim.px(0);
|
|
121121
121389
|
return createBorderRadiusObject(borderRadius2);
|
|
121122
121390
|
}).readAndWrite().propertiesPanel({
|
|
121123
121391
|
label: "Border radius",
|
|
@@ -121142,7 +121410,7 @@ const PRIMARY_BUTTON_BORDER_OBJECT = buildPerSideBorder(() => ({
|
|
|
121142
121410
|
style: "solid"
|
|
121143
121411
|
}));
|
|
121144
121412
|
const SECONDARY_BUTTON_BORDER_OBJECT = buildPerSideBorder(() => ({
|
|
121145
|
-
color: (
|
|
121413
|
+
color: () => Theme.colors.primary500,
|
|
121146
121414
|
width: Dim.px(1),
|
|
121147
121415
|
style: "solid"
|
|
121148
121416
|
}));
|
|
@@ -121153,7 +121421,7 @@ const getDefaultBorderObject = function() {
|
|
|
121153
121421
|
case "secondary":
|
|
121154
121422
|
return SECONDARY_BUTTON_BORDER_OBJECT;
|
|
121155
121423
|
default:
|
|
121156
|
-
return
|
|
121424
|
+
return noBorderOject(Theme);
|
|
121157
121425
|
}
|
|
121158
121426
|
};
|
|
121159
121427
|
const PerSideBorderDef = function() {
|
|
@@ -121163,11 +121431,11 @@ const PerSideBorderDef = function() {
|
|
|
121163
121431
|
style: Prop.string().readAndWrite()
|
|
121164
121432
|
});
|
|
121165
121433
|
};
|
|
121166
|
-
const textStyle$3 = textStyleProp().default(function(
|
|
121434
|
+
const textStyle$3 = textStyleProp().default(function() {
|
|
121167
121435
|
return {
|
|
121168
121436
|
variant: "buttonLabel",
|
|
121169
121437
|
textColor: {
|
|
121170
|
-
default: getButtonThemeDefaultTextColor(
|
|
121438
|
+
default: getButtonThemeDefaultTextColor(Theme, this.variant)
|
|
121171
121439
|
}
|
|
121172
121440
|
};
|
|
121173
121441
|
});
|
|
@@ -121218,9 +121486,9 @@ const propertiesDefinition$j = {
|
|
|
121218
121486
|
}
|
|
121219
121487
|
}),
|
|
121220
121488
|
textStyle: textStyle$3,
|
|
121221
|
-
backgroundColor: Prop.string().readAndWrite().default(function(
|
|
121489
|
+
backgroundColor: Prop.string().readAndWrite().default(function() {
|
|
121222
121490
|
const defaultThemeBackground = getButtonThemeDefaultBackgroundColor(
|
|
121223
|
-
|
|
121491
|
+
Theme,
|
|
121224
121492
|
this.variant
|
|
121225
121493
|
);
|
|
121226
121494
|
return defaultThemeBackground === "transparent" ? void 0 : defaultThemeBackground;
|
|
@@ -121229,8 +121497,8 @@ const propertiesDefinition$j = {
|
|
|
121229
121497
|
controlType: "COLOR_PICKER",
|
|
121230
121498
|
visibility: "SHOW_NAME",
|
|
121231
121499
|
isRemovable: true,
|
|
121232
|
-
defaultOnAdd: function(
|
|
121233
|
-
return getButtonThemeDefaultBackgroundColor(
|
|
121500
|
+
defaultOnAdd: function() {
|
|
121501
|
+
return getButtonThemeDefaultBackgroundColor(Theme, this.variant);
|
|
121234
121502
|
}
|
|
121235
121503
|
}),
|
|
121236
121504
|
border: Prop.composite(buildPerSideBorder(() => PerSideBorderDef())).default(getDefaultBorderObject).propertiesPanel({
|
|
@@ -121241,20 +121509,20 @@ const propertiesDefinition$j = {
|
|
|
121241
121509
|
defaultOnAdd: SECONDARY_BUTTON_BORDER_OBJECT,
|
|
121242
121510
|
visibility: "SHOW_NAME"
|
|
121243
121511
|
}).readAndWrite(),
|
|
121244
|
-
borderRadius: borderRadius().default(function(
|
|
121512
|
+
borderRadius: borderRadius().default(function() {
|
|
121245
121513
|
let borderRadius2;
|
|
121246
121514
|
switch (this.variant) {
|
|
121247
121515
|
case "PRIMARY_BUTTON":
|
|
121248
|
-
borderRadius2 =
|
|
121516
|
+
borderRadius2 = Theme.buttons.primary.borderRadius;
|
|
121249
121517
|
break;
|
|
121250
121518
|
case "SECONDARY_BUTTON":
|
|
121251
|
-
borderRadius2 =
|
|
121519
|
+
borderRadius2 = Theme.buttons.secondary.borderRadius;
|
|
121252
121520
|
break;
|
|
121253
121521
|
case "TERTIARY_BUTTON":
|
|
121254
|
-
borderRadius2 =
|
|
121522
|
+
borderRadius2 = Theme.buttons.tertiary.borderRadius;
|
|
121255
121523
|
break;
|
|
121256
121524
|
default:
|
|
121257
|
-
borderRadius2 =
|
|
121525
|
+
borderRadius2 = Theme.buttons.primary.borderRadius;
|
|
121258
121526
|
}
|
|
121259
121527
|
return createBorderRadiusObject(borderRadius2);
|
|
121260
121528
|
}),
|
|
@@ -122230,16 +122498,16 @@ const propertiesDefinition$h = {
|
|
|
122230
122498
|
{ label: "Card", value: "card", icon: "CONTAINER_CARD_STYLE" }
|
|
122231
122499
|
]
|
|
122232
122500
|
}),
|
|
122233
|
-
backgroundColor: Prop.string().default(function(
|
|
122234
|
-
return this.variant === "card" ?
|
|
122501
|
+
backgroundColor: Prop.string().default(function() {
|
|
122502
|
+
return this.variant === "card" ? Theme.colors.neutral : void 0;
|
|
122235
122503
|
}).validate(VALIDATORS.TEXT_ALLOW_UNDEFINED).readAndWrite().propertiesPanel({
|
|
122236
122504
|
label: "Background",
|
|
122237
122505
|
controlType: "COLOR_PICKER_FOR_CONTAINER_BACKGROUND",
|
|
122238
122506
|
helpText: "Changes the color of the background",
|
|
122239
122507
|
visibility: "SHOW_NAME",
|
|
122240
122508
|
isRemovable: true,
|
|
122241
|
-
defaultOnAdd: function(
|
|
122242
|
-
return
|
|
122509
|
+
defaultOnAdd: function() {
|
|
122510
|
+
return Theme.colors.appBackground ?? "#ffffff";
|
|
122243
122511
|
}
|
|
122244
122512
|
}),
|
|
122245
122513
|
border: border(),
|
|
@@ -122247,8 +122515,8 @@ const propertiesDefinition$h = {
|
|
|
122247
122515
|
isRemovable: true,
|
|
122248
122516
|
visibility: "SHOW_NAME",
|
|
122249
122517
|
defaultOnAdd: createBorderRadiusObject(Dim.px(0))
|
|
122250
|
-
}).default(function(
|
|
122251
|
-
const borderRadius2 = this.variant === "card" ?
|
|
122518
|
+
}).default(function() {
|
|
122519
|
+
const borderRadius2 = this.variant === "card" ? Theme.defaultBorder.borderRadius : Dim.px(0);
|
|
122252
122520
|
return createBorderRadiusObject(borderRadius2);
|
|
122253
122521
|
})
|
|
122254
122522
|
})
|
|
@@ -122264,6 +122532,7 @@ const InternalContainer = (props) => {
|
|
|
122264
122532
|
var _a2, _b2, _c2;
|
|
122265
122533
|
const { style: style2, ...passThroughProps } = usePassthroughProps(props);
|
|
122266
122534
|
const { isEditing } = useEditor();
|
|
122535
|
+
const { theme } = useTheme();
|
|
122267
122536
|
const componentClasses = useMemo$2(
|
|
122268
122537
|
() => [
|
|
122269
122538
|
"container-component",
|
|
@@ -122339,7 +122608,7 @@ const InternalContainer = (props) => {
|
|
|
122339
122608
|
spacing: props.spacing,
|
|
122340
122609
|
isVisible: props.isVisible ?? true,
|
|
122341
122610
|
style: innerLayoutStyle,
|
|
122342
|
-
border:
|
|
122611
|
+
border: noBorderOject(theme),
|
|
122343
122612
|
children: props.children
|
|
122344
122613
|
}
|
|
122345
122614
|
) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -122348,7 +122617,7 @@ const InternalContainer = (props) => {
|
|
|
122348
122617
|
spacing: props.spacing,
|
|
122349
122618
|
isVisible: props.isVisible ?? true,
|
|
122350
122619
|
style: innerLayoutStyle,
|
|
122351
|
-
border:
|
|
122620
|
+
border: noBorderOject(theme),
|
|
122352
122621
|
children: props.children
|
|
122353
122622
|
}
|
|
122354
122623
|
)
|
|
@@ -128259,13 +128528,17 @@ const CURRENCY_CODE_DISPLAY_OPTIONS = [
|
|
|
128259
128528
|
value: CurrencyCodeDisplayTypes.ISO_CODE
|
|
128260
128529
|
}
|
|
128261
128530
|
];
|
|
128262
|
-
const
|
|
128263
|
-
width: Dim.px(1)
|
|
128264
|
-
|
|
128265
|
-
|
|
128266
|
-
|
|
128267
|
-
|
|
128268
|
-
|
|
128531
|
+
const defaultInputBorder = (theme) => ({
|
|
128532
|
+
width: Dim.px(1),
|
|
128533
|
+
style: "solid",
|
|
128534
|
+
color: theme.colors.neutral100
|
|
128535
|
+
});
|
|
128536
|
+
const defaultInputBorderObject = (theme) => ({
|
|
128537
|
+
left: defaultInputBorder(theme),
|
|
128538
|
+
right: defaultInputBorder(theme),
|
|
128539
|
+
top: defaultInputBorder(theme),
|
|
128540
|
+
bottom: defaultInputBorder(theme)
|
|
128541
|
+
});
|
|
128269
128542
|
const CURRENCY_SYMBOL_MAP = {
|
|
128270
128543
|
AED: "د.إ",
|
|
128271
128544
|
AFN: "؋",
|
|
@@ -128848,8 +129121,8 @@ const useIconTop = ({
|
|
|
128848
129121
|
backgroundColor
|
|
128849
129122
|
});
|
|
128850
129123
|
const inputStyleOverride = inputTypographyProps.style;
|
|
128851
|
-
const borderTop = ((_b2 = (_a2 = border2 == null ? void 0 : border2.top) == null ? void 0 : _a2.width) == null ? void 0 : _b2.value) ?? ((_c2 =
|
|
128852
|
-
const borderBottom = ((_e2 = (_d2 = border2 == null ? void 0 : border2.bottom) == null ? void 0 : _d2.width) == null ? void 0 : _e2.value) ?? ((_f2 =
|
|
129124
|
+
const borderTop = ((_b2 = (_a2 = border2 == null ? void 0 : border2.top) == null ? void 0 : _a2.width) == null ? void 0 : _b2.value) ?? ((_c2 = defaultInputBorderObject(theme).top.width) == null ? void 0 : _c2.value) ?? 0;
|
|
129125
|
+
const borderBottom = ((_e2 = (_d2 = border2 == null ? void 0 : border2.bottom) == null ? void 0 : _d2.width) == null ? void 0 : _e2.value) ?? ((_f2 = defaultInputBorderObject(theme).bottom.width) == null ? void 0 : _f2.value) ?? 0;
|
|
128853
129126
|
const generatedInputTypographiesTheme = theme.typographies;
|
|
128854
129127
|
const lineHeight = (inputStyleOverride == null ? void 0 : inputStyleOverride.lineHeight) ?? ((_g2 = generatedInputTypographiesTheme == null ? void 0 : generatedInputTypographiesTheme.inputText) == null ? void 0 : _g2.lineHeight);
|
|
128855
129128
|
const fontSize = getFontSizeInPxFromTextStyle({
|
|
@@ -129819,10 +130092,10 @@ const textStyle$2 = textStyleProp({
|
|
|
129819
130092
|
label: "Input text style"
|
|
129820
130093
|
}
|
|
129821
130094
|
}).default(
|
|
129822
|
-
(
|
|
130095
|
+
() => ({
|
|
129823
130096
|
variant: DEFAULT_INPUT_WIDGET_INPUT_STYLE_VARIANT,
|
|
129824
130097
|
textColor: {
|
|
129825
|
-
default:
|
|
130098
|
+
default: Theme.colors.neutral900
|
|
129826
130099
|
}
|
|
129827
130100
|
})
|
|
129828
130101
|
);
|
|
@@ -129835,10 +130108,10 @@ const labelStyle$1 = textStyleProp({
|
|
|
129835
130108
|
}
|
|
129836
130109
|
}
|
|
129837
130110
|
}).default(
|
|
129838
|
-
(
|
|
130111
|
+
() => ({
|
|
129839
130112
|
variant: DEFAULT_INPUT_WIDGET_LABEL_STYLE_VARIANT,
|
|
129840
130113
|
textColor: {
|
|
129841
|
-
default:
|
|
130114
|
+
default: Theme.colors.neutral900
|
|
129842
130115
|
}
|
|
129843
130116
|
})
|
|
129844
130117
|
);
|
|
@@ -136921,10 +137194,10 @@ const getHorizontalPositionProperty = (propertyName = "position", schema, defaul
|
|
|
136921
137194
|
})
|
|
136922
137195
|
};
|
|
136923
137196
|
};
|
|
136924
|
-
const textStyle$1 = textStyleProp().default(function(
|
|
137197
|
+
const textStyle$1 = textStyleProp().default(function() {
|
|
136925
137198
|
return {
|
|
136926
137199
|
variant: DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT,
|
|
136927
|
-
textColor:
|
|
137200
|
+
textColor: Theme.typographies.label.textColor
|
|
136928
137201
|
};
|
|
136929
137202
|
});
|
|
136930
137203
|
const propertiesDefinition$d = {
|
|
@@ -137343,7 +137616,9 @@ const CloseButton = (props) => {
|
|
|
137343
137616
|
};
|
|
137344
137617
|
const ModalComponent = (props) => {
|
|
137345
137618
|
const modalWidthCss = props.widthPreset ? `${MODAL_WIDTH_PRESETS[props.widthPreset]}%` : void 0;
|
|
137346
|
-
const {
|
|
137619
|
+
const { borderStyle, backgroundStyle } = useComputeComponentStyles(
|
|
137620
|
+
props.styleProps
|
|
137621
|
+
);
|
|
137347
137622
|
const modalInternalContainer = useMemo$2(
|
|
137348
137623
|
() => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
137349
137624
|
InternalContainer,
|
|
@@ -137354,6 +137629,7 @@ const ModalComponent = (props) => {
|
|
|
137354
137629
|
"data-sb-instance-id": props.instanceId,
|
|
137355
137630
|
verticalAlign: props.verticalAlign ?? "top",
|
|
137356
137631
|
horizontalAlign: props.horizontalAlign ?? "left",
|
|
137632
|
+
padding: props.styleProps.padding ?? ZERO_PADDING,
|
|
137357
137633
|
spacing: props.spacing ?? Dim.px(0),
|
|
137358
137634
|
columns: props.columns ?? 48,
|
|
137359
137635
|
rows: props.rows,
|
|
@@ -137369,6 +137645,7 @@ const ModalComponent = (props) => {
|
|
|
137369
137645
|
props.instanceId,
|
|
137370
137646
|
props.verticalAlign,
|
|
137371
137647
|
props.horizontalAlign,
|
|
137648
|
+
props.styleProps.padding,
|
|
137372
137649
|
props.spacing,
|
|
137373
137650
|
props.columns,
|
|
137374
137651
|
props.rows,
|
|
@@ -137396,7 +137673,9 @@ const ModalComponent = (props) => {
|
|
|
137396
137673
|
bodyStyle: {
|
|
137397
137674
|
height: "100%",
|
|
137398
137675
|
position: "relative",
|
|
137399
|
-
|
|
137676
|
+
padding: 0,
|
|
137677
|
+
...borderStyle,
|
|
137678
|
+
...backgroundStyle,
|
|
137400
137679
|
...props.isEditing && props.isOpen ? {
|
|
137401
137680
|
anchorName: getWidgetAnchorName(props.instanceId)
|
|
137402
137681
|
} : {}
|
|
@@ -147576,14 +147855,14 @@ function getLoaderFn(options) {
|
|
|
147576
147855
|
if (!(loader === "all")) return [3, 3];
|
|
147577
147856
|
return [4, import(
|
|
147578
147857
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
147579
|
-
"./allPathsLoader-
|
|
147858
|
+
"./allPathsLoader-B3FzEE6v.js"
|
|
147580
147859
|
)];
|
|
147581
147860
|
case 2:
|
|
147582
147861
|
return [2, _b2.sent().allPathsLoader];
|
|
147583
147862
|
case 3:
|
|
147584
147863
|
return [4, import(
|
|
147585
147864
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
147586
|
-
"./splitPathsBySizeLoader-
|
|
147865
|
+
"./splitPathsBySizeLoader-DTQ0e96j.js"
|
|
147587
147866
|
)];
|
|
147588
147867
|
case 4:
|
|
147589
147868
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -178001,10 +178280,10 @@ const baseTextStyleProp = createTextStyleCompositeBase();
|
|
|
178001
178280
|
const textStyle = textStyleProp({
|
|
178002
178281
|
baseProp: baseTextStyleProp
|
|
178003
178282
|
}).default(
|
|
178004
|
-
(
|
|
178283
|
+
() => ({
|
|
178005
178284
|
variant: DEFAULT_INPUT_WIDGET_INPUT_STYLE_VARIANT,
|
|
178006
178285
|
textColor: {
|
|
178007
|
-
default:
|
|
178286
|
+
default: Theme.colors.neutral900
|
|
178008
178287
|
}
|
|
178009
178288
|
})
|
|
178010
178289
|
);
|
|
@@ -178017,10 +178296,10 @@ const labelStyle = textStyleProp({
|
|
|
178017
178296
|
}
|
|
178018
178297
|
}
|
|
178019
178298
|
}).default(
|
|
178020
|
-
(
|
|
178299
|
+
() => ({
|
|
178021
178300
|
variant: DEFAULT_INPUT_WIDGET_LABEL_STYLE_VARIANT,
|
|
178022
178301
|
textColor: {
|
|
178023
|
-
default:
|
|
178302
|
+
default: Theme.colors.neutral900
|
|
178024
178303
|
}
|
|
178025
178304
|
})
|
|
178026
178305
|
);
|
|
@@ -180088,10 +180367,10 @@ const propertiesDefinition$8 = {
|
|
|
180088
180367
|
label: "Border radius",
|
|
180089
180368
|
controlType: "BORDER_RADIUS_CONTROL"
|
|
180090
180369
|
}),
|
|
180091
|
-
"styleProps.divider": Prop.any().default({
|
|
180370
|
+
"styleProps.divider": Prop.any().default(() => ({
|
|
180092
180371
|
size: Dim.px(1),
|
|
180093
|
-
color:
|
|
180094
|
-
}).propertiesPanel({
|
|
180372
|
+
color: Theme.colors.neutral100
|
|
180373
|
+
})).propertiesPanel({
|
|
180095
180374
|
label: "Divider",
|
|
180096
180375
|
helpText: "Display dividers between key value pairs",
|
|
180097
180376
|
controlType: "COLORED_DIMENSION_CONTROL",
|
|
@@ -184113,12 +184392,6 @@ const SbProvider = function SbProvider2({
|
|
|
184113
184392
|
editorBridge.updateTheme(mergedTheme, generatedTheme);
|
|
184114
184393
|
const userAccessibleTheme2 = generatedTheme;
|
|
184115
184394
|
setUserAccessibleTheme(userAccessibleTheme2);
|
|
184116
|
-
rootStore.entityManager.createEntity({
|
|
184117
|
-
name: getName("theme"),
|
|
184118
|
-
scopeId: GLOBAL_SCOPE_ID,
|
|
184119
|
-
type: "theme",
|
|
184120
|
-
props: userAccessibleTheme2
|
|
184121
|
-
});
|
|
184122
184395
|
}, [settings == null ? void 0 : settings.theme, settings == null ? void 0 : settings.themeOverrides]);
|
|
184123
184396
|
useEffect(() => {
|
|
184124
184397
|
initializeStyles(name);
|
|
@@ -184145,7 +184418,7 @@ const SbProvider = function SbProvider2({
|
|
|
184145
184418
|
overflow: "hidden",
|
|
184146
184419
|
position: "relative"
|
|
184147
184420
|
},
|
|
184148
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme: userAccessibleTheme, children: isEmbedded ? /* @__PURE__ */ jsxRuntimeExports.jsx(EmbedWrapper, { children }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Auth0Wrapper, { children }) })
|
|
184421
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalScope, { children: isEmbedded ? /* @__PURE__ */ jsxRuntimeExports.jsx(EmbedWrapper, { children }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Auth0Wrapper, { children }) }) })
|
|
184149
184422
|
}
|
|
184150
184423
|
),
|
|
184151
184424
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: MODAL_TARGET_ROOT_ID, "data-superblocks": MODAL_TARGET_ROOT_ID })
|
|
@@ -184374,82 +184647,6 @@ function showAlert(_message, _style, _durationSeconds, _alertPosition) {
|
|
|
184374
184647
|
}
|
|
184375
184648
|
function logoutIntegrations() {
|
|
184376
184649
|
}
|
|
184377
|
-
function registerScope(Component3, scopeDef, options) {
|
|
184378
|
-
const componentName = Component3.displayName || Component3.name;
|
|
184379
|
-
const scopeInfo = scopeDef.scopeInfo;
|
|
184380
|
-
const ScopedComponent = function ScopedComponent2(props) {
|
|
184381
|
-
const parentScope = useScope();
|
|
184382
|
-
const stableScopeId = useRef(
|
|
184383
|
-
predictableNameGenerator(`sc-${componentName}`)
|
|
184384
|
-
);
|
|
184385
|
-
const [scopeId, setScopeId] = useState(null);
|
|
184386
|
-
useEffect(() => {
|
|
184387
|
-
if (scopeInfo.scopeId) {
|
|
184388
|
-
setScopeId(scopeInfo.scopeId);
|
|
184389
|
-
return;
|
|
184390
|
-
}
|
|
184391
|
-
const newScopeId = rootStore.entityManager.createScope({
|
|
184392
|
-
parentScopeId: parentScope.scopeId,
|
|
184393
|
-
name: scopeInfo.name,
|
|
184394
|
-
scopeId: stableScopeId.current
|
|
184395
|
-
});
|
|
184396
|
-
setScopeId(newScopeId);
|
|
184397
|
-
}, [parentScope.scopeId]);
|
|
184398
|
-
useStableEffect(
|
|
184399
|
-
() => {
|
|
184400
|
-
var _a2;
|
|
184401
|
-
const currentScopeId = scopeId;
|
|
184402
|
-
if (!currentScopeId) {
|
|
184403
|
-
return;
|
|
184404
|
-
}
|
|
184405
|
-
Object.entries(scopeDef.initialEntities).forEach(
|
|
184406
|
-
([name, { type: type5, ...rest }]) => {
|
|
184407
|
-
const internalName = getName(name);
|
|
184408
|
-
const entity = rootStore.entityManager.getEntity(
|
|
184409
|
-
currentScopeId,
|
|
184410
|
-
internalName
|
|
184411
|
-
);
|
|
184412
|
-
const entityIsInOurScope = entity && currentScopeId === entity.scopeId;
|
|
184413
|
-
if (entity && entityIsInOurScope) {
|
|
184414
|
-
rootStore.entityManager.updateEntity({
|
|
184415
|
-
scopeId: currentScopeId,
|
|
184416
|
-
name: internalName,
|
|
184417
|
-
props: rest
|
|
184418
|
-
});
|
|
184419
|
-
} else {
|
|
184420
|
-
rootStore.entityManager.createEntity({
|
|
184421
|
-
scopeId: currentScopeId,
|
|
184422
|
-
name: internalName,
|
|
184423
|
-
props: rest,
|
|
184424
|
-
type: type5
|
|
184425
|
-
});
|
|
184426
|
-
}
|
|
184427
|
-
if (type5 === "SbTimer" && rest.startOnPageLoad && typeof entity === "object" && typeof (entity == null ? void 0 : entity.start) === "function") {
|
|
184428
|
-
entity.start();
|
|
184429
|
-
}
|
|
184430
|
-
}
|
|
184431
|
-
);
|
|
184432
|
-
(_a2 = options == null ? void 0 : options.onScopeLoaded) == null ? void 0 : _a2.call(options);
|
|
184433
|
-
},
|
|
184434
|
-
{
|
|
184435
|
-
initialEntities: scopeDef.initialEntities,
|
|
184436
|
-
scopeInfo: scopeDef.scopeInfo,
|
|
184437
|
-
scopeId
|
|
184438
|
-
},
|
|
184439
|
-
{
|
|
184440
|
-
cold: true,
|
|
184441
|
-
customEqualChecks: [
|
|
184442
|
-
[(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => lodashExports.isEqual(a3, b3)]
|
|
184443
|
-
]
|
|
184444
|
-
}
|
|
184445
|
-
);
|
|
184446
|
-
if (!scopeId) {
|
|
184447
|
-
return null;
|
|
184448
|
-
}
|
|
184449
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeProvider, { scopeId, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Component3, { ...props }) });
|
|
184450
|
-
};
|
|
184451
|
-
return ScopedComponent;
|
|
184452
|
-
}
|
|
184453
184650
|
function registerPage(Component3, scope) {
|
|
184454
184651
|
return registerScope(Component3, scope, {
|
|
184455
184652
|
onScopeLoaded: () => {
|
|
@@ -184457,136 +184654,6 @@ function registerPage(Component3, scope) {
|
|
|
184457
184654
|
}
|
|
184458
184655
|
});
|
|
184459
184656
|
}
|
|
184460
|
-
const createBindableEntityProxy = (entity, identifier2) => {
|
|
184461
|
-
return new Proxy(
|
|
184462
|
-
{
|
|
184463
|
-
entity,
|
|
184464
|
-
[BindingMetaSymbol]: identifier2
|
|
184465
|
-
},
|
|
184466
|
-
{
|
|
184467
|
-
get(_target, prop) {
|
|
184468
|
-
if (prop === BindingMetaSymbol) {
|
|
184469
|
-
return identifier2;
|
|
184470
|
-
}
|
|
184471
|
-
return entity == null ? void 0 : entity[prop];
|
|
184472
|
-
},
|
|
184473
|
-
set(_target, prop, value) {
|
|
184474
|
-
if (!entity) {
|
|
184475
|
-
return false;
|
|
184476
|
-
}
|
|
184477
|
-
entity[prop] = value;
|
|
184478
|
-
return true;
|
|
184479
|
-
},
|
|
184480
|
-
deleteProperty(_target, prop) {
|
|
184481
|
-
if (!entity) {
|
|
184482
|
-
return false;
|
|
184483
|
-
}
|
|
184484
|
-
delete entity[prop];
|
|
184485
|
-
return true;
|
|
184486
|
-
},
|
|
184487
|
-
has(_target, prop) {
|
|
184488
|
-
if (!entity) {
|
|
184489
|
-
return false;
|
|
184490
|
-
}
|
|
184491
|
-
return prop in entity;
|
|
184492
|
-
},
|
|
184493
|
-
ownKeys(_target) {
|
|
184494
|
-
if (!entity) {
|
|
184495
|
-
return [];
|
|
184496
|
-
}
|
|
184497
|
-
return Object.keys(entity);
|
|
184498
|
-
},
|
|
184499
|
-
getOwnPropertyDescriptor(_target, prop) {
|
|
184500
|
-
if (!entity) {
|
|
184501
|
-
return void 0;
|
|
184502
|
-
}
|
|
184503
|
-
return Object.getOwnPropertyDescriptor(entity, prop);
|
|
184504
|
-
},
|
|
184505
|
-
defineProperty(_target, prop, descriptor) {
|
|
184506
|
-
if (!entity) {
|
|
184507
|
-
return false;
|
|
184508
|
-
}
|
|
184509
|
-
Object.defineProperty(entity, prop, descriptor);
|
|
184510
|
-
return true;
|
|
184511
|
-
},
|
|
184512
|
-
preventExtensions(_target) {
|
|
184513
|
-
if (!entity) {
|
|
184514
|
-
return false;
|
|
184515
|
-
}
|
|
184516
|
-
Object.preventExtensions(entity);
|
|
184517
|
-
return true;
|
|
184518
|
-
},
|
|
184519
|
-
isExtensible(_target) {
|
|
184520
|
-
if (!entity) {
|
|
184521
|
-
return false;
|
|
184522
|
-
}
|
|
184523
|
-
return Object.isExtensible(entity);
|
|
184524
|
-
},
|
|
184525
|
-
getPrototypeOf(_target) {
|
|
184526
|
-
if (!entity) {
|
|
184527
|
-
return null;
|
|
184528
|
-
}
|
|
184529
|
-
return Object.getPrototypeOf(entity);
|
|
184530
|
-
},
|
|
184531
|
-
setPrototypeOf(_target, proto4) {
|
|
184532
|
-
if (!entity) {
|
|
184533
|
-
return false;
|
|
184534
|
-
}
|
|
184535
|
-
Object.setPrototypeOf(entity, proto4);
|
|
184536
|
-
return true;
|
|
184537
|
-
}
|
|
184538
|
-
}
|
|
184539
|
-
);
|
|
184540
|
-
};
|
|
184541
|
-
const existingScopeIds = /* @__PURE__ */ new Set();
|
|
184542
|
-
function createSbScope(initialEntities, options) {
|
|
184543
|
-
const { parentScopeId, name } = options;
|
|
184544
|
-
if (!name) {
|
|
184545
|
-
throw new Error("Scope name is required");
|
|
184546
|
-
}
|
|
184547
|
-
const stableScopeId = getStableScopeId(name);
|
|
184548
|
-
if (existingScopeIds.has(stableScopeId)) {
|
|
184549
|
-
console.warn(`Scope with name ${name} already exists`);
|
|
184550
|
-
}
|
|
184551
|
-
existingScopeIds.add(stableScopeId);
|
|
184552
|
-
const scopeId = rootStore.entityManager.createScope({
|
|
184553
|
-
parentScopeId,
|
|
184554
|
-
name,
|
|
184555
|
-
scopeId: stableScopeId
|
|
184556
|
-
});
|
|
184557
|
-
const bindingIds = {};
|
|
184558
|
-
const getBinding = (key2) => {
|
|
184559
|
-
if (bindingIds[key2]) {
|
|
184560
|
-
return bindingIds[key2];
|
|
184561
|
-
}
|
|
184562
|
-
bindingIds[key2] = {
|
|
184563
|
-
entityName: key2,
|
|
184564
|
-
scopeId
|
|
184565
|
-
};
|
|
184566
|
-
return bindingIds[key2];
|
|
184567
|
-
};
|
|
184568
|
-
const entities = new Proxy({}, {
|
|
184569
|
-
get(_target, key2) {
|
|
184570
|
-
if (typeof key2 !== "string") {
|
|
184571
|
-
return void 0;
|
|
184572
|
-
}
|
|
184573
|
-
const entity = rootStore.entityManager.getEntity(scopeId, {
|
|
184574
|
-
value: key2,
|
|
184575
|
-
isAnonymous: false
|
|
184576
|
-
});
|
|
184577
|
-
return createBindableEntityProxy(entity, getBinding(key2));
|
|
184578
|
-
}
|
|
184579
|
-
});
|
|
184580
|
-
return {
|
|
184581
|
-
entities,
|
|
184582
|
-
initialEntities,
|
|
184583
|
-
scopeInfo: {
|
|
184584
|
-
scopeId,
|
|
184585
|
-
name,
|
|
184586
|
-
parentScopeId
|
|
184587
|
-
}
|
|
184588
|
-
};
|
|
184589
|
-
}
|
|
184590
184657
|
function SbEvent({
|
|
184591
184658
|
payload
|
|
184592
184659
|
}) {
|
|
@@ -195756,7 +195823,7 @@ function requireClient() {
|
|
|
195756
195823
|
}
|
|
195757
195824
|
var clientExports = requireClient();
|
|
195758
195825
|
export {
|
|
195759
|
-
|
|
195826
|
+
Form2 as $,
|
|
195760
195827
|
AppStateVarPersistence6$1 as A,
|
|
195761
195828
|
copyToClipboard as B,
|
|
195762
195829
|
navigateTo as C,
|
|
@@ -195768,130 +195835,134 @@ export {
|
|
|
195768
195835
|
IconSize$2 as I,
|
|
195769
195836
|
registerPage as J,
|
|
195770
195837
|
createSbScope as K,
|
|
195771
|
-
|
|
195772
|
-
|
|
195773
|
-
|
|
195774
|
-
|
|
195775
|
-
|
|
195776
|
-
|
|
195777
|
-
|
|
195838
|
+
Global as L,
|
|
195839
|
+
Embed as M,
|
|
195840
|
+
Env as N,
|
|
195841
|
+
SbEvent as O,
|
|
195842
|
+
useUpdateProperties as P,
|
|
195843
|
+
Prop as Q,
|
|
195844
|
+
sbComputed as R,
|
|
195778
195845
|
SbButton as S,
|
|
195779
|
-
|
|
195780
|
-
|
|
195781
|
-
|
|
195782
|
-
|
|
195783
|
-
|
|
195784
|
-
|
|
195785
|
-
|
|
195846
|
+
Theme as T,
|
|
195847
|
+
Dim as U,
|
|
195848
|
+
SB as V,
|
|
195849
|
+
Outlet as W,
|
|
195850
|
+
clientExports as X,
|
|
195851
|
+
Await as Y,
|
|
195852
|
+
BrowserRouter as Z,
|
|
195786
195853
|
__awaiter as _,
|
|
195787
195854
|
__generator as a,
|
|
195788
|
-
|
|
195789
|
-
|
|
195790
|
-
|
|
195791
|
-
|
|
195792
|
-
|
|
195793
|
-
|
|
195794
|
-
|
|
195795
|
-
|
|
195796
|
-
|
|
195797
|
-
|
|
195798
|
-
|
|
195799
|
-
|
|
195800
|
-
|
|
195801
|
-
|
|
195802
|
-
|
|
195803
|
-
|
|
195804
|
-
|
|
195805
|
-
|
|
195806
|
-
|
|
195807
|
-
|
|
195808
|
-
|
|
195809
|
-
|
|
195810
|
-
|
|
195811
|
-
|
|
195812
|
-
|
|
195813
|
-
|
|
195814
|
-
|
|
195815
|
-
|
|
195816
|
-
|
|
195817
|
-
|
|
195818
|
-
|
|
195819
|
-
|
|
195820
|
-
|
|
195821
|
-
|
|
195822
|
-
|
|
195823
|
-
|
|
195824
|
-
|
|
195825
|
-
|
|
195826
|
-
|
|
195827
|
-
|
|
195828
|
-
|
|
195829
|
-
|
|
195830
|
-
|
|
195831
|
-
|
|
195832
|
-
|
|
195833
|
-
|
|
195834
|
-
|
|
195835
|
-
|
|
195836
|
-
|
|
195837
|
-
|
|
195838
|
-
|
|
195839
|
-
|
|
195840
|
-
|
|
195841
|
-
|
|
195842
|
-
|
|
195843
|
-
|
|
195844
|
-
|
|
195845
|
-
|
|
195846
|
-
|
|
195847
|
-
|
|
195848
|
-
|
|
195849
|
-
|
|
195850
|
-
|
|
195851
|
-
|
|
195855
|
+
generatePath as a$,
|
|
195856
|
+
HashRouter as a0,
|
|
195857
|
+
IDLE_BLOCKER as a1,
|
|
195858
|
+
IDLE_FETCHER as a2,
|
|
195859
|
+
IDLE_NAVIGATION as a3,
|
|
195860
|
+
Link as a4,
|
|
195861
|
+
Links as a5,
|
|
195862
|
+
MemoryRouter as a6,
|
|
195863
|
+
Meta as a7,
|
|
195864
|
+
NavLink as a8,
|
|
195865
|
+
Navigate as a9,
|
|
195866
|
+
createRouter as aA,
|
|
195867
|
+
decodeViaTurboStream as aB,
|
|
195868
|
+
deserializeErrors2 as aC,
|
|
195869
|
+
getPatchRoutesOnNavigationFunction as aD,
|
|
195870
|
+
getSingleFetchDataStrategy as aE,
|
|
195871
|
+
invariant as aF,
|
|
195872
|
+
mapRouteProperties as aG,
|
|
195873
|
+
shouldHydrateRouteLoader as aH,
|
|
195874
|
+
useFogOFWarDiscovery as aI,
|
|
195875
|
+
useScrollRestoration as aJ,
|
|
195876
|
+
createBrowserRouter as aK,
|
|
195877
|
+
createCookie as aL,
|
|
195878
|
+
createCookieSessionStorage as aM,
|
|
195879
|
+
createHashRouter as aN,
|
|
195880
|
+
createMemoryRouter as aO,
|
|
195881
|
+
createMemorySessionStorage as aP,
|
|
195882
|
+
createPath as aQ,
|
|
195883
|
+
createRequestHandler as aR,
|
|
195884
|
+
createRoutesFromChildren as aS,
|
|
195885
|
+
createRoutesFromElements as aT,
|
|
195886
|
+
createRoutesStub as aU,
|
|
195887
|
+
createSearchParams as aV,
|
|
195888
|
+
createSession as aW,
|
|
195889
|
+
createSessionStorage as aX,
|
|
195890
|
+
createStaticHandler2 as aY,
|
|
195891
|
+
createStaticRouter as aZ,
|
|
195892
|
+
data as a_,
|
|
195893
|
+
Action as aa,
|
|
195894
|
+
PrefetchPageLinks as ab,
|
|
195895
|
+
Route as ac,
|
|
195896
|
+
Router as ad,
|
|
195897
|
+
RouterProvider as ae,
|
|
195898
|
+
Routes as af,
|
|
195899
|
+
Scripts as ag,
|
|
195900
|
+
ScrollRestoration as ah,
|
|
195901
|
+
ServerRouter as ai,
|
|
195902
|
+
StaticRouter as aj,
|
|
195903
|
+
StaticRouterProvider as ak,
|
|
195904
|
+
DataRouterContext as al,
|
|
195905
|
+
DataRouterStateContext as am,
|
|
195906
|
+
ErrorResponseImpl as an,
|
|
195907
|
+
FetchersContext as ao,
|
|
195908
|
+
FrameworkContext as ap,
|
|
195909
|
+
LocationContext as aq,
|
|
195910
|
+
NavigationContext as ar,
|
|
195911
|
+
RemixErrorBoundary as as,
|
|
195912
|
+
RouteContext as at,
|
|
195913
|
+
ServerMode as au,
|
|
195914
|
+
SingleFetchRedirectSymbol as av,
|
|
195915
|
+
ViewTransitionContext as aw,
|
|
195916
|
+
createBrowserHistory as ax,
|
|
195917
|
+
createClientRoutes as ay,
|
|
195918
|
+
createClientRoutesWithHMRRevalidationOptOut as az,
|
|
195852
195919
|
IconSize as b,
|
|
195853
|
-
|
|
195854
|
-
|
|
195855
|
-
|
|
195856
|
-
|
|
195857
|
-
|
|
195858
|
-
|
|
195859
|
-
|
|
195860
|
-
|
|
195861
|
-
|
|
195862
|
-
|
|
195863
|
-
|
|
195864
|
-
|
|
195865
|
-
|
|
195866
|
-
|
|
195867
|
-
|
|
195868
|
-
|
|
195869
|
-
|
|
195870
|
-
|
|
195871
|
-
|
|
195872
|
-
|
|
195873
|
-
|
|
195874
|
-
|
|
195875
|
-
|
|
195876
|
-
|
|
195877
|
-
|
|
195878
|
-
|
|
195879
|
-
|
|
195880
|
-
|
|
195881
|
-
|
|
195882
|
-
|
|
195883
|
-
|
|
195884
|
-
|
|
195885
|
-
|
|
195886
|
-
|
|
195887
|
-
|
|
195888
|
-
|
|
195889
|
-
|
|
195890
|
-
|
|
195891
|
-
|
|
195892
|
-
|
|
195893
|
-
|
|
195894
|
-
|
|
195920
|
+
href as b0,
|
|
195921
|
+
isCookie as b1,
|
|
195922
|
+
isRouteErrorResponse as b2,
|
|
195923
|
+
isSession as b3,
|
|
195924
|
+
matchPath as b4,
|
|
195925
|
+
matchRoutes as b5,
|
|
195926
|
+
parsePath as b6,
|
|
195927
|
+
redirect as b7,
|
|
195928
|
+
redirectDocument as b8,
|
|
195929
|
+
renderMatches as b9,
|
|
195930
|
+
useOutletContext as bA,
|
|
195931
|
+
useParams as bB,
|
|
195932
|
+
useResolvedPath as bC,
|
|
195933
|
+
useRevalidator as bD,
|
|
195934
|
+
useRouteError as bE,
|
|
195935
|
+
useRouteLoaderData as bF,
|
|
195936
|
+
useRoutes as bG,
|
|
195937
|
+
useSearchParams as bH,
|
|
195938
|
+
useSubmit as bI,
|
|
195939
|
+
useViewTransitionState as bJ,
|
|
195940
|
+
replace2 as ba,
|
|
195941
|
+
resolvePath as bb,
|
|
195942
|
+
HistoryRouter as bc,
|
|
195943
|
+
unstable_RouterContextProvider as bd,
|
|
195944
|
+
unstable_createContext as be,
|
|
195945
|
+
setDevServerHooks as bf,
|
|
195946
|
+
usePrompt as bg,
|
|
195947
|
+
useActionData as bh,
|
|
195948
|
+
useAsyncError as bi,
|
|
195949
|
+
useAsyncValue as bj,
|
|
195950
|
+
useBeforeUnload as bk,
|
|
195951
|
+
useBlocker as bl,
|
|
195952
|
+
useFetcher as bm,
|
|
195953
|
+
useFetchers as bn,
|
|
195954
|
+
useFormAction as bo,
|
|
195955
|
+
useHref as bp,
|
|
195956
|
+
useInRouterContext as bq,
|
|
195957
|
+
useLinkClickHandler as br,
|
|
195958
|
+
useLoaderData as bs,
|
|
195959
|
+
useLocation as bt,
|
|
195960
|
+
useMatch as bu,
|
|
195961
|
+
useMatches as bv,
|
|
195962
|
+
useNavigate as bw,
|
|
195963
|
+
useNavigation as bx,
|
|
195964
|
+
useNavigationType as by,
|
|
195965
|
+
useOutlet as bz,
|
|
195895
195966
|
SbSection as c,
|
|
195896
195967
|
SbColumn as d,
|
|
195897
195968
|
SbContainer as e,
|
|
@@ -195917,4 +195988,4 @@ export {
|
|
|
195917
195988
|
SbProvider as y,
|
|
195918
195989
|
SbEventFlow as z
|
|
195919
195990
|
};
|
|
195920
|
-
//# sourceMappingURL=index-
|
|
195991
|
+
//# sourceMappingURL=index-ByxiFYSo.js.map
|