@next-core/brick-kit 2.200.3 → 2.201.0
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/index.bundle.js +30 -0
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +30 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/types/ModalStack.d.ts +6 -0
- package/dist/types/ModalStack.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -15236,5 +15236,34 @@ function constructEventListener(handler) {
|
|
|
15236
15236
|
});
|
|
15237
15237
|
}
|
|
15238
15238
|
|
|
15239
|
-
|
|
15239
|
+
var stack = [];
|
|
15240
|
+
function instantiateModalStack() {
|
|
15241
|
+
var initialIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1000;
|
|
15242
|
+
var index = -1;
|
|
15243
|
+
var pull = () => {
|
|
15244
|
+
if (index > -1) {
|
|
15245
|
+
var found = stack.indexOf(index);
|
|
15246
|
+
// Assert: found should always be greater than -1
|
|
15247
|
+
// istanbul ignore else
|
|
15248
|
+
if (found > -1) {
|
|
15249
|
+
stack.splice(found, 1);
|
|
15250
|
+
}
|
|
15251
|
+
}
|
|
15252
|
+
};
|
|
15253
|
+
var push = () => {
|
|
15254
|
+
var _stack;
|
|
15255
|
+
// Handle pushes without pull
|
|
15256
|
+
pull();
|
|
15257
|
+
// Find the next available index
|
|
15258
|
+
index = ((_stack = stack[stack.length - 1]) !== null && _stack !== void 0 ? _stack : -1) + 1;
|
|
15259
|
+
stack.push(index);
|
|
15260
|
+
return index + initialIndex;
|
|
15261
|
+
};
|
|
15262
|
+
return {
|
|
15263
|
+
push,
|
|
15264
|
+
pull
|
|
15265
|
+
};
|
|
15266
|
+
}
|
|
15267
|
+
|
|
15268
|
+
export { BrickAsComponent, BrickAsComponentFactory, BrickWrapper, DisplayByFeatureFlags, EasyopsEmpty, ErrorBoundary, FeatureFlagsProvider, ForwardRefSingleBrickAsComponent, ForwardRefSingleBrickAsComponentFactory, ModalElement, SingleBrickAsComponent, SingleBrickAsComponentFactory, StoryboardFunctionRegistryFactory, UpdatingElement, WebsocketMessageRequest, WebsocketMessageResponse, abortController, applyTheme, authenticate, batchSetAppsLocalTheme, checkIf, checkIfByTransform, clearDebugContract, collectDebugContract, constructEventListener, createHistory, createRuntime, createWebSocket, developHelper, doTransform, event, getAuth, getCssPropertyValue, getCurrentTheme, getHistory, getMockInfo, getRealValue, getRuntime, getRuntimeMisc, getWebSocket, handleHttpError, httpErrorToString, i18nText, initI18n, instantiateModalStack, isLoggedIn, logout, looseCheckIf$1 as looseCheckIf, looseCheckIfByTransform, looseCheckIfOfComputed, method, preprocessTransformProperties, property, reTransformForDevtools, renderEasyopsEmpty, setAppLocales, transformElementProperties, transformIntermediateData, transformProperties, useApplyPageTitle, useCurrentApp, useCurrentMode, useCurrentTheme, useFeatureFlags, useLocation, useProvider, useRecentApps };
|
|
15240
15269
|
//# sourceMappingURL=index.esm.js.map
|