@epam/ai-dial-modulify-ui 0.45.0-rc.41 → 0.45.0-rc.43
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/index.esm.js +40 -16
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -9350,6 +9350,9 @@ function requireEntryConstants () {
|
|
|
9350
9350
|
PHASE_TEST: function() {
|
|
9351
9351
|
return PHASE_TEST;
|
|
9352
9352
|
},
|
|
9353
|
+
PREFETCH_HINTS: function() {
|
|
9354
|
+
return PREFETCH_HINTS;
|
|
9355
|
+
},
|
|
9353
9356
|
PRERENDER_MANIFEST: function() {
|
|
9354
9357
|
return PRERENDER_MANIFEST;
|
|
9355
9358
|
},
|
|
@@ -9412,9 +9415,6 @@ function requireEntryConstants () {
|
|
|
9412
9415
|
},
|
|
9413
9416
|
UNDERSCORE_NOT_FOUND_ROUTE_ENTRY: function() {
|
|
9414
9417
|
return _entryconstants.UNDERSCORE_NOT_FOUND_ROUTE_ENTRY;
|
|
9415
|
-
},
|
|
9416
|
-
WEBPACK_STATS: function() {
|
|
9417
|
-
return WEBPACK_STATS;
|
|
9418
9418
|
}
|
|
9419
9419
|
});
|
|
9420
9420
|
const _interop_require_default = _interop_require_default$1;
|
|
@@ -9465,7 +9465,6 @@ function requireEntryConstants () {
|
|
|
9465
9465
|
const PHASE_TEST = 'phase-test';
|
|
9466
9466
|
const PHASE_INFO = 'phase-info';
|
|
9467
9467
|
const PAGES_MANIFEST = 'pages-manifest.json';
|
|
9468
|
-
const WEBPACK_STATS = 'webpack-stats.json';
|
|
9469
9468
|
const APP_PATHS_MANIFEST = 'app-paths-manifest.json';
|
|
9470
9469
|
const APP_PATH_ROUTES_MANIFEST = 'app-path-routes-manifest.json';
|
|
9471
9470
|
const BUILD_MANIFEST = 'build-manifest.json';
|
|
@@ -9475,12 +9474,13 @@ function requireEntryConstants () {
|
|
|
9475
9474
|
const EXPORT_MARKER = 'export-marker.json';
|
|
9476
9475
|
const EXPORT_DETAIL = 'export-detail.json';
|
|
9477
9476
|
const PRERENDER_MANIFEST = 'prerender-manifest.json';
|
|
9477
|
+
const PREFETCH_HINTS = 'prefetch-hints.json';
|
|
9478
9478
|
const ROUTES_MANIFEST = 'routes-manifest.json';
|
|
9479
9479
|
const IMAGES_MANIFEST = 'images-manifest.json';
|
|
9480
9480
|
const SERVER_FILES_MANIFEST = 'required-server-files';
|
|
9481
9481
|
const DEV_CLIENT_PAGES_MANIFEST = '_devPagesManifest.json';
|
|
9482
9482
|
const MIDDLEWARE_MANIFEST = 'middleware-manifest.json';
|
|
9483
|
-
const TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST = '_clientMiddlewareManifest.
|
|
9483
|
+
const TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST = '_clientMiddlewareManifest.js';
|
|
9484
9484
|
const TURBOPACK_CLIENT_BUILD_MANIFEST = 'client-build-manifest.json';
|
|
9485
9485
|
const DEV_CLIENT_MIDDLEWARE_MANIFEST = '_devMiddlewareManifest.json';
|
|
9486
9486
|
const REACT_LOADABLE_MANIFEST = 'react-loadable-manifest.json';
|
|
@@ -9965,6 +9965,9 @@ var segment = {};
|
|
|
9965
9965
|
});
|
|
9966
9966
|
}
|
|
9967
9967
|
_export(exports$1, {
|
|
9968
|
+
compareAppPaths: function() {
|
|
9969
|
+
return compareAppPaths;
|
|
9970
|
+
},
|
|
9968
9971
|
normalizeAppPath: function() {
|
|
9969
9972
|
return normalizeAppPath;
|
|
9970
9973
|
},
|
|
@@ -9995,6 +9998,13 @@ var segment = {};
|
|
|
9995
9998
|
return `${pathname}/${segment}`;
|
|
9996
9999
|
}, ''));
|
|
9997
10000
|
}
|
|
10001
|
+
function compareAppPaths(a, b) {
|
|
10002
|
+
const aHasSlot = a.includes('/@');
|
|
10003
|
+
const bHasSlot = b.includes('/@');
|
|
10004
|
+
if (aHasSlot && !bHasSlot) return -1;
|
|
10005
|
+
if (!aHasSlot && bHasSlot) return 1;
|
|
10006
|
+
return a.localeCompare(b);
|
|
10007
|
+
}
|
|
9998
10008
|
function normalizeRscURL(url) {
|
|
9999
10009
|
return url.replace(/\.rsc($|\?)/, // $1 ensures `?` is preserved
|
|
10000
10010
|
'$1');
|
|
@@ -10324,7 +10334,7 @@ var utils$1 = {};
|
|
|
10324
10334
|
if (App.prototype?.getInitialProps) {
|
|
10325
10335
|
const message = `"${getDisplayName(App)}.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`;
|
|
10326
10336
|
throw Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
|
|
10327
|
-
value: "
|
|
10337
|
+
value: "E1035",
|
|
10328
10338
|
enumerable: false,
|
|
10329
10339
|
configurable: true
|
|
10330
10340
|
});
|
|
@@ -10348,7 +10358,7 @@ var utils$1 = {};
|
|
|
10348
10358
|
if (!props) {
|
|
10349
10359
|
const message = `"${getDisplayName(App)}.getInitialProps()" should resolve to an object. But found "${props}" instead.`;
|
|
10350
10360
|
throw Object.defineProperty(new Error(message), "__NEXT_ERROR_CODE", {
|
|
10351
|
-
value: "
|
|
10361
|
+
value: "E1025",
|
|
10352
10362
|
enumerable: false,
|
|
10353
10363
|
configurable: true
|
|
10354
10364
|
});
|
|
@@ -13355,8 +13365,18 @@ function requireApi () {
|
|
|
13355
13365
|
getActiveScopeSpan() {
|
|
13356
13366
|
return trace.getSpan(context == null ? void 0 : context.active());
|
|
13357
13367
|
}
|
|
13358
|
-
withPropagatedContext(carrier, fn, getter) {
|
|
13368
|
+
withPropagatedContext(carrier, fn, getter, force = false) {
|
|
13359
13369
|
const activeContext = context.active();
|
|
13370
|
+
if (force) {
|
|
13371
|
+
const remoteContext = propagation.extract(ROOT_CONTEXT, carrier, getter);
|
|
13372
|
+
if (trace.getSpanContext(remoteContext)) {
|
|
13373
|
+
return context.with(remoteContext, fn);
|
|
13374
|
+
}
|
|
13375
|
+
// Preserve the current active span while still merging any extracted
|
|
13376
|
+
// baggage/context values from the carrier.
|
|
13377
|
+
const mergedContext = propagation.extract(activeContext, carrier, getter);
|
|
13378
|
+
return context.with(mergedContext, fn);
|
|
13379
|
+
}
|
|
13360
13380
|
if (trace.getSpanContext(activeContext)) {
|
|
13361
13381
|
// Active span is already set, too late to propagate.
|
|
13362
13382
|
return fn();
|
|
@@ -13754,15 +13774,18 @@ function requirePrettyBytes () {
|
|
|
13754
13774
|
}
|
|
13755
13775
|
function getScripts(context, props, files) {
|
|
13756
13776
|
var _buildManifest_lowPriorityFiles;
|
|
13757
|
-
const { assetPrefix, buildManifest, isDevelopment, assetQueryString, disableOptimizedLoading, crossOrigin } = context;
|
|
13777
|
+
const { assetPrefix, buildManifest, isDevelopment, assetQueryString, mutableAssetQueryString, disableOptimizedLoading, crossOrigin } = context;
|
|
13758
13778
|
const normalScripts = files.allFiles.filter((file)=>file.endsWith('.js'));
|
|
13759
13779
|
const lowPriorityScripts = (_buildManifest_lowPriorityFiles = buildManifest.lowPriorityFiles) == null ? void 0 : _buildManifest_lowPriorityFiles.filter((file)=>file.endsWith('.js'));
|
|
13760
13780
|
return [
|
|
13761
13781
|
...normalScripts,
|
|
13762
13782
|
...lowPriorityScripts
|
|
13763
13783
|
].map((file)=>{
|
|
13784
|
+
// static/chunks/51e975e7b637a580.js should use the immutable id, while
|
|
13785
|
+
// static/Yj152X97rfGgF7NPcJEZs/_ssgManifest.js should use the deployment id
|
|
13786
|
+
const query = file.startsWith('static/chunks') ? assetQueryString : mutableAssetQueryString;
|
|
13764
13787
|
return /*#__PURE__*/ (0, _jsxruntime.jsx)("script", {
|
|
13765
|
-
src: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${
|
|
13788
|
+
src: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${query}`,
|
|
13766
13789
|
nonce: props.nonce,
|
|
13767
13790
|
async: !isDevelopment && disableOptimizedLoading,
|
|
13768
13791
|
defer: !disableOptimizedLoading,
|
|
@@ -13872,7 +13895,7 @@ function requirePrettyBytes () {
|
|
|
13872
13895
|
const headProps = restProps;
|
|
13873
13896
|
return headProps;
|
|
13874
13897
|
}
|
|
13875
|
-
function getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix = '') {
|
|
13898
|
+
function getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix = '', assetQueryString = '') {
|
|
13876
13899
|
if (!nextFontManifest) {
|
|
13877
13900
|
return {
|
|
13878
13901
|
preconnect: null,
|
|
@@ -13898,7 +13921,7 @@ function requirePrettyBytes () {
|
|
|
13898
13921
|
const ext = /\.(woff|woff2|eot|ttf|otf)$/.exec(fontFile)[1];
|
|
13899
13922
|
return /*#__PURE__*/ (0, _jsxruntime.jsx)("link", {
|
|
13900
13923
|
rel: "preload",
|
|
13901
|
-
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(fontFile)}`,
|
|
13924
|
+
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(fontFile)}${assetQueryString}`,
|
|
13902
13925
|
as: "font",
|
|
13903
13926
|
type: `font/${ext}`,
|
|
13904
13927
|
crossOrigin: "anonymous",
|
|
@@ -14022,7 +14045,7 @@ function requirePrettyBytes () {
|
|
|
14022
14045
|
return getPolyfillScripts(this.context, this.props);
|
|
14023
14046
|
}
|
|
14024
14047
|
render() {
|
|
14025
|
-
const { styles, __NEXT_DATA__, dangerousAsPath, headTags, unstable_runtimeJS, unstable_JsPreload, disableOptimizedLoading, optimizeCss, assetPrefix, nextFontManifest } = this.context;
|
|
14048
|
+
const { styles, __NEXT_DATA__, dangerousAsPath, headTags, unstable_runtimeJS, unstable_JsPreload, disableOptimizedLoading, optimizeCss, assetPrefix, nextFontManifest, assetQueryString } = this.context;
|
|
14026
14049
|
const disableRuntimeJS = unstable_runtimeJS === false;
|
|
14027
14050
|
const disableJsPreload = unstable_JsPreload === false || !disableOptimizedLoading;
|
|
14028
14051
|
this.context.docComponentsRendered.Head = true;
|
|
@@ -14063,7 +14086,7 @@ function requirePrettyBytes () {
|
|
|
14063
14086
|
if (this.props.crossOrigin) console.warn('Warning: `Head` attribute `crossOrigin` is deprecated. https://nextjs.org/docs/messages/doc-crossorigin-deprecated');
|
|
14064
14087
|
}
|
|
14065
14088
|
const files = getDocumentFiles(this.context.buildManifest, this.context.__NEXT_DATA__.page);
|
|
14066
|
-
const nextFontLinkTags = getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix);
|
|
14089
|
+
const nextFontLinkTags = getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix, assetQueryString);
|
|
14067
14090
|
const tracingMetadata = (0, _utils.getTracedMetadata)((0, _tracer.getTracer)().getTracePropagationData(), this.context.experimentalClientTraceMetadata);
|
|
14068
14091
|
const traceMetaTags = (tracingMetadata || []).map(({ key, value }, index)=>/*#__PURE__*/ (0, _jsxruntime.jsx)("meta", {
|
|
14069
14092
|
name: key,
|
|
@@ -14244,12 +14267,13 @@ function requirePrettyBytes () {
|
|
|
14244
14267
|
}
|
|
14245
14268
|
}
|
|
14246
14269
|
function Html(props) {
|
|
14247
|
-
const { docComponentsRendered, locale, scriptLoader, __NEXT_DATA__ } = (0, _htmlcontextsharedruntime.useHtmlContext)();
|
|
14270
|
+
const { docComponentsRendered, locale, scriptLoader, deploymentId, __NEXT_DATA__ } = (0, _htmlcontextsharedruntime.useHtmlContext)();
|
|
14248
14271
|
docComponentsRendered.Html = true;
|
|
14249
14272
|
handleDocumentScriptLoaderItems(scriptLoader, __NEXT_DATA__, props);
|
|
14250
14273
|
return /*#__PURE__*/ (0, _jsxruntime.jsx)("html", {
|
|
14251
14274
|
...props,
|
|
14252
|
-
lang: props.lang || locale || undefined
|
|
14275
|
+
lang: props.lang || locale || undefined,
|
|
14276
|
+
"data-dpl-id": deploymentId || undefined
|
|
14253
14277
|
});
|
|
14254
14278
|
}
|
|
14255
14279
|
function Main() {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@epam/ai-dial-modulify-ui",
|
|
3
3
|
"description": "Modulify Toolkit (UI) for turning a monolith-like project into a modular one",
|
|
4
4
|
"homepage": "https://dialx.ai",
|
|
5
|
-
"version": "0.45.0-rc.
|
|
5
|
+
"version": "0.45.0-rc.43",
|
|
6
6
|
"dependencies": {},
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bugs": {
|