@epam/ai-dial-modulify-ui 0.44.8 → 0.44.9
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 +19 -5
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -10480,6 +10480,9 @@ var htmlescape = {};
|
|
|
10480
10480
|
ESCAPE_REGEX: function() {
|
|
10481
10481
|
return ESCAPE_REGEX;
|
|
10482
10482
|
},
|
|
10483
|
+
htmlEscapeAttributeString: function() {
|
|
10484
|
+
return htmlEscapeAttributeString;
|
|
10485
|
+
},
|
|
10483
10486
|
htmlEscapeJsonString: function() {
|
|
10484
10487
|
return htmlEscapeJsonString;
|
|
10485
10488
|
}
|
|
@@ -10492,9 +10495,20 @@ var htmlescape = {};
|
|
|
10492
10495
|
'\u2029': '\\u2029'
|
|
10493
10496
|
};
|
|
10494
10497
|
const ESCAPE_REGEX = /[&><\u2028\u2029]/g;
|
|
10498
|
+
const ATTRIBUTE_ESCAPE_LOOKUP = {
|
|
10499
|
+
'&': '&',
|
|
10500
|
+
'"': '"',
|
|
10501
|
+
"'": ''',
|
|
10502
|
+
'<': '<',
|
|
10503
|
+
'>': '>'
|
|
10504
|
+
};
|
|
10505
|
+
const ATTRIBUTE_ESCAPE_REGEX = /[&"'<>]/g;
|
|
10495
10506
|
function htmlEscapeJsonString(str) {
|
|
10496
10507
|
return str.replace(ESCAPE_REGEX, (match)=>ESCAPE_LOOKUP[match]);
|
|
10497
10508
|
}
|
|
10509
|
+
function htmlEscapeAttributeString(str) {
|
|
10510
|
+
return str.replace(ATTRIBUTE_ESCAPE_REGEX, (match)=>ATTRIBUTE_ESCAPE_LOOKUP[match]);
|
|
10511
|
+
}
|
|
10498
10512
|
|
|
10499
10513
|
|
|
10500
10514
|
} (htmlescape));
|
|
@@ -13933,7 +13947,7 @@ function requirePrettyBytes () {
|
|
|
13933
13947
|
class Head extends _react.default.Component {
|
|
13934
13948
|
static #_ = this.contextType = _htmlcontextsharedruntime.HtmlContext;
|
|
13935
13949
|
getCssLinks(files) {
|
|
13936
|
-
const { assetPrefix,
|
|
13950
|
+
const { assetPrefix, cssAssetQueryString, dynamicImports, dynamicCssManifest, crossOrigin, optimizeCss } = this.context;
|
|
13937
13951
|
const cssFiles = files.allFiles.filter((f)=>f.endsWith('.css'));
|
|
13938
13952
|
const sharedFiles = new Set(files.sharedFiles);
|
|
13939
13953
|
// Unmanaged files are CSS files that will be handled directly by the
|
|
@@ -13955,7 +13969,7 @@ function requirePrettyBytes () {
|
|
|
13955
13969
|
cssLinkElements.push(/*#__PURE__*/ (0, _jsxruntime.jsx)("link", {
|
|
13956
13970
|
nonce: this.props.nonce,
|
|
13957
13971
|
rel: "preload",
|
|
13958
|
-
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${
|
|
13972
|
+
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${cssAssetQueryString}`,
|
|
13959
13973
|
as: "style",
|
|
13960
13974
|
crossOrigin: this.props.crossOrigin || crossOrigin
|
|
13961
13975
|
}, `${file}-preload`));
|
|
@@ -13963,7 +13977,7 @@ function requirePrettyBytes () {
|
|
|
13963
13977
|
cssLinkElements.push(/*#__PURE__*/ (0, _jsxruntime.jsx)("link", {
|
|
13964
13978
|
nonce: this.props.nonce,
|
|
13965
13979
|
rel: "stylesheet",
|
|
13966
|
-
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${
|
|
13980
|
+
href: `${assetPrefix}/_next/${(0, _encodeuripath.encodeURIPath)(file)}${cssAssetQueryString}`,
|
|
13967
13981
|
crossOrigin: this.props.crossOrigin || crossOrigin,
|
|
13968
13982
|
"data-n-g": isUnmanagedFile ? undefined : isSharedFile ? '' : undefined,
|
|
13969
13983
|
"data-n-p": isSharedFile || isUnmanagedFile || isFileInDynamicCssManifest ? undefined : ''
|
|
@@ -14045,7 +14059,7 @@ function requirePrettyBytes () {
|
|
|
14045
14059
|
return getPolyfillScripts(this.context, this.props);
|
|
14046
14060
|
}
|
|
14047
14061
|
render() {
|
|
14048
|
-
const { styles, __NEXT_DATA__, dangerousAsPath, headTags, unstable_runtimeJS, unstable_JsPreload, disableOptimizedLoading, optimizeCss, assetPrefix, nextFontManifest,
|
|
14062
|
+
const { styles, __NEXT_DATA__, dangerousAsPath, headTags, unstable_runtimeJS, unstable_JsPreload, disableOptimizedLoading, optimizeCss, assetPrefix, nextFontManifest, cssAssetQueryString } = this.context;
|
|
14049
14063
|
const disableRuntimeJS = unstable_runtimeJS === false;
|
|
14050
14064
|
const disableJsPreload = unstable_JsPreload === false || !disableOptimizedLoading;
|
|
14051
14065
|
this.context.docComponentsRendered.Head = true;
|
|
@@ -14086,7 +14100,7 @@ function requirePrettyBytes () {
|
|
|
14086
14100
|
if (this.props.crossOrigin) console.warn('Warning: `Head` attribute `crossOrigin` is deprecated. https://nextjs.org/docs/messages/doc-crossorigin-deprecated');
|
|
14087
14101
|
}
|
|
14088
14102
|
const files = getDocumentFiles(this.context.buildManifest, this.context.__NEXT_DATA__.page);
|
|
14089
|
-
const nextFontLinkTags = getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix,
|
|
14103
|
+
const nextFontLinkTags = getNextFontLinkTags(nextFontManifest, dangerousAsPath, assetPrefix, cssAssetQueryString);
|
|
14090
14104
|
const tracingMetadata = (0, _utils.getTracedMetadata)((0, _tracer.getTracer)().getTracePropagationData(), this.context.experimentalClientTraceMetadata);
|
|
14091
14105
|
const traceMetaTags = (tracingMetadata || []).map(({ key, value }, index)=>/*#__PURE__*/ (0, _jsxruntime.jsx)("meta", {
|
|
14092
14106
|
name: key,
|
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.44.
|
|
5
|
+
"version": "0.44.9",
|
|
6
6
|
"dependencies": {},
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bugs": {
|