@epam/ai-dial-modulify-ui 0.45.0-rc.9 → 0.45.1
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 +57 -19
- 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
|
});
|
|
@@ -10470,6 +10480,9 @@ var htmlescape = {};
|
|
|
10470
10480
|
ESCAPE_REGEX: function() {
|
|
10471
10481
|
return ESCAPE_REGEX;
|
|
10472
10482
|
},
|
|
10483
|
+
htmlEscapeAttributeString: function() {
|
|
10484
|
+
return htmlEscapeAttributeString;
|
|
10485
|
+
},
|
|
10473
10486
|
htmlEscapeJsonString: function() {
|
|
10474
10487
|
return htmlEscapeJsonString;
|
|
10475
10488
|
}
|
|
@@ -10482,9 +10495,20 @@ var htmlescape = {};
|
|
|
10482
10495
|
'\u2029': '\\u2029'
|
|
10483
10496
|
};
|
|
10484
10497
|
const ESCAPE_REGEX = /[&><\u2028\u2029]/g;
|
|
10498
|
+
const ATTRIBUTE_ESCAPE_LOOKUP = {
|
|
10499
|
+
'&': '&',
|
|
10500
|
+
'"': '"',
|
|
10501
|
+
"'": ''',
|
|
10502
|
+
'<': '<',
|
|
10503
|
+
'>': '>'
|
|
10504
|
+
};
|
|
10505
|
+
const ATTRIBUTE_ESCAPE_REGEX = /[&"'<>]/g;
|
|
10485
10506
|
function htmlEscapeJsonString(str) {
|
|
10486
10507
|
return str.replace(ESCAPE_REGEX, (match)=>ESCAPE_LOOKUP[match]);
|
|
10487
10508
|
}
|
|
10509
|
+
function htmlEscapeAttributeString(str) {
|
|
10510
|
+
return str.replace(ATTRIBUTE_ESCAPE_REGEX, (match)=>ATTRIBUTE_ESCAPE_LOOKUP[match]);
|
|
10511
|
+
}
|
|
10488
10512
|
|
|
10489
10513
|
|
|
10490
10514
|
} (htmlescape));
|
|
@@ -13355,8 +13379,18 @@ function requireApi () {
|
|
|
13355
13379
|
getActiveScopeSpan() {
|
|
13356
13380
|
return trace.getSpan(context == null ? void 0 : context.active());
|
|
13357
13381
|
}
|
|
13358
|
-
withPropagatedContext(carrier, fn, getter) {
|
|
13382
|
+
withPropagatedContext(carrier, fn, getter, force = false) {
|
|
13359
13383
|
const activeContext = context.active();
|
|
13384
|
+
if (force) {
|
|
13385
|
+
const remoteContext = propagation.extract(ROOT_CONTEXT, carrier, getter);
|
|
13386
|
+
if (trace.getSpanContext(remoteContext)) {
|
|
13387
|
+
return context.with(remoteContext, fn);
|
|
13388
|
+
}
|
|
13389
|
+
// Preserve the current active span while still merging any extracted
|
|
13390
|
+
// baggage/context values from the carrier.
|
|
13391
|
+
const mergedContext = propagation.extract(activeContext, carrier, getter);
|
|
13392
|
+
return context.with(mergedContext, fn);
|
|
13393
|
+
}
|
|
13360
13394
|
if (trace.getSpanContext(activeContext)) {
|
|
13361
13395
|
// Active span is already set, too late to propagate.
|
|
13362
13396
|
return fn();
|
|
@@ -13754,15 +13788,18 @@ function requirePrettyBytes () {
|
|
|
13754
13788
|
}
|
|
13755
13789
|
function getScripts(context, props, files) {
|
|
13756
13790
|
var _buildManifest_lowPriorityFiles;
|
|
13757
|
-
const { assetPrefix, buildManifest, isDevelopment, assetQueryString, disableOptimizedLoading, crossOrigin } = context;
|
|
13791
|
+
const { assetPrefix, buildManifest, isDevelopment, assetQueryString, mutableAssetQueryString, disableOptimizedLoading, crossOrigin } = context;
|
|
13758
13792
|
const normalScripts = files.allFiles.filter((file)=>file.endsWith('.js'));
|
|
13759
13793
|
const lowPriorityScripts = (_buildManifest_lowPriorityFiles = buildManifest.lowPriorityFiles) == null ? void 0 : _buildManifest_lowPriorityFiles.filter((file)=>file.endsWith('.js'));
|
|
13760
13794
|
return [
|
|
13761
13795
|
...normalScripts,
|
|
13762
13796
|
...lowPriorityScripts
|
|
13763
13797
|
].map((file)=>{
|
|
13798
|
+
// static/chunks/51e975e7b637a580.js should use the immutable id, while
|
|
13799
|
+
// static/Yj152X97rfGgF7NPcJEZs/_ssgManifest.js should use the deployment id
|
|
13800
|
+
const query = file.startsWith('static/chunks') ? assetQueryString : mutableAssetQueryString;
|
|
13764
13801
|
return /*#__PURE__*/ (0, _jsxruntime.jsx)("script", {
|
|
13765
|
-
src: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${
|
|
13802
|
+
src: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${query}`,
|
|
13766
13803
|
nonce: props.nonce,
|
|
13767
13804
|
async: !isDevelopment && disableOptimizedLoading,
|
|
13768
13805
|
defer: !disableOptimizedLoading,
|
|
@@ -13872,7 +13909,7 @@ function requirePrettyBytes () {
|
|
|
13872
13909
|
const headProps = restProps;
|
|
13873
13910
|
return headProps;
|
|
13874
13911
|
}
|
|
13875
|
-
function getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix = '') {
|
|
13912
|
+
function getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix = '', assetQueryString = '') {
|
|
13876
13913
|
if (!nextFontManifest) {
|
|
13877
13914
|
return {
|
|
13878
13915
|
preconnect: null,
|
|
@@ -13898,7 +13935,7 @@ function requirePrettyBytes () {
|
|
|
13898
13935
|
const ext = /\.(woff|woff2|eot|ttf|otf)$/.exec(fontFile)[1];
|
|
13899
13936
|
return /*#__PURE__*/ (0, _jsxruntime.jsx)("link", {
|
|
13900
13937
|
rel: "preload",
|
|
13901
|
-
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(fontFile)}`,
|
|
13938
|
+
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(fontFile)}${assetQueryString}`,
|
|
13902
13939
|
as: "font",
|
|
13903
13940
|
type: `font/${ext}`,
|
|
13904
13941
|
crossOrigin: "anonymous",
|
|
@@ -13910,7 +13947,7 @@ function requirePrettyBytes () {
|
|
|
13910
13947
|
class Head extends _react.default.Component {
|
|
13911
13948
|
static #_ = this.contextType = _htmlcontextsharedruntime.HtmlContext;
|
|
13912
13949
|
getCssLinks(files) {
|
|
13913
|
-
const { assetPrefix,
|
|
13950
|
+
const { assetPrefix, cssAssetQueryString, dynamicImports, dynamicCssManifest, crossOrigin, optimizeCss } = this.context;
|
|
13914
13951
|
const cssFiles = files.allFiles.filter((f)=>f.endsWith('.css'));
|
|
13915
13952
|
const sharedFiles = new Set(files.sharedFiles);
|
|
13916
13953
|
// Unmanaged files are CSS files that will be handled directly by the
|
|
@@ -13932,7 +13969,7 @@ function requirePrettyBytes () {
|
|
|
13932
13969
|
cssLinkElements.push(/*#__PURE__*/ (0, _jsxruntime.jsx)("link", {
|
|
13933
13970
|
nonce: this.props.nonce,
|
|
13934
13971
|
rel: "preload",
|
|
13935
|
-
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${
|
|
13972
|
+
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${cssAssetQueryString}`,
|
|
13936
13973
|
as: "style",
|
|
13937
13974
|
crossOrigin: this.props.crossOrigin || crossOrigin
|
|
13938
13975
|
}, `${file}-preload`));
|
|
@@ -13940,7 +13977,7 @@ function requirePrettyBytes () {
|
|
|
13940
13977
|
cssLinkElements.push(/*#__PURE__*/ (0, _jsxruntime.jsx)("link", {
|
|
13941
13978
|
nonce: this.props.nonce,
|
|
13942
13979
|
rel: "stylesheet",
|
|
13943
|
-
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${
|
|
13980
|
+
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${cssAssetQueryString}`,
|
|
13944
13981
|
crossOrigin: this.props.crossOrigin || crossOrigin,
|
|
13945
13982
|
"data-n-g": isUnmanagedFile ? undefined : isSharedFile ? '' : undefined,
|
|
13946
13983
|
"data-n-p": isSharedFile || isUnmanagedFile || isFileInDynamicCssManifest ? undefined : ''
|
|
@@ -14022,7 +14059,7 @@ function requirePrettyBytes () {
|
|
|
14022
14059
|
return getPolyfillScripts(this.context, this.props);
|
|
14023
14060
|
}
|
|
14024
14061
|
render() {
|
|
14025
|
-
const { styles, __NEXT_DATA__, dangerousAsPath, headTags, unstable_runtimeJS, unstable_JsPreload, disableOptimizedLoading, optimizeCss, assetPrefix, nextFontManifest } = this.context;
|
|
14062
|
+
const { styles, __NEXT_DATA__, dangerousAsPath, headTags, unstable_runtimeJS, unstable_JsPreload, disableOptimizedLoading, optimizeCss, assetPrefix, nextFontManifest, cssAssetQueryString } = this.context;
|
|
14026
14063
|
const disableRuntimeJS = unstable_runtimeJS === false;
|
|
14027
14064
|
const disableJsPreload = unstable_JsPreload === false || !disableOptimizedLoading;
|
|
14028
14065
|
this.context.docComponentsRendered.Head = true;
|
|
@@ -14063,7 +14100,7 @@ function requirePrettyBytes () {
|
|
|
14063
14100
|
if (this.props.crossOrigin) console.warn('Warning: `Head` attribute `crossOrigin` is deprecated. https://nextjs.org/docs/messages/doc-crossorigin-deprecated');
|
|
14064
14101
|
}
|
|
14065
14102
|
const files = getDocumentFiles(this.context.buildManifest, this.context.__NEXT_DATA__.page);
|
|
14066
|
-
const nextFontLinkTags = getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix);
|
|
14103
|
+
const nextFontLinkTags = getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix, cssAssetQueryString);
|
|
14067
14104
|
const tracingMetadata = (0, _utils.getTracedMetadata)((0, _tracer.getTracer)().getTracePropagationData(), this.context.experimentalClientTraceMetadata);
|
|
14068
14105
|
const traceMetaTags = (tracingMetadata || []).map(({ key, value }, index)=>/*#__PURE__*/ (0, _jsxruntime.jsx)("meta", {
|
|
14069
14106
|
name: key,
|
|
@@ -14244,12 +14281,13 @@ function requirePrettyBytes () {
|
|
|
14244
14281
|
}
|
|
14245
14282
|
}
|
|
14246
14283
|
function Html(props) {
|
|
14247
|
-
const { docComponentsRendered, locale, scriptLoader, __NEXT_DATA__ } = (0, _htmlcontextsharedruntime.useHtmlContext)();
|
|
14284
|
+
const { docComponentsRendered, locale, scriptLoader, deploymentId, __NEXT_DATA__ } = (0, _htmlcontextsharedruntime.useHtmlContext)();
|
|
14248
14285
|
docComponentsRendered.Html = true;
|
|
14249
14286
|
handleDocumentScriptLoaderItems(scriptLoader, __NEXT_DATA__, props);
|
|
14250
14287
|
return /*#__PURE__*/ (0, _jsxruntime.jsx)("html", {
|
|
14251
14288
|
...props,
|
|
14252
|
-
lang: props.lang || locale || undefined
|
|
14289
|
+
lang: props.lang || locale || undefined,
|
|
14290
|
+
"data-dpl-id": deploymentId || undefined
|
|
14253
14291
|
});
|
|
14254
14292
|
}
|
|
14255
14293
|
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.
|
|
5
|
+
"version": "0.45.1",
|
|
6
6
|
"dependencies": {},
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bugs": {
|