@epam/ai-dial-modulify-ui 0.37.0-rc.9 → 0.38.0-rc.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.
Files changed (2) hide show
  1. package/index.esm.js +46 -21
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -11038,6 +11038,9 @@ function requireModernBrowserslistTarget () {
11038
11038
  APP_PATH_ROUTES_MANIFEST: function() {
11039
11039
  return APP_PATH_ROUTES_MANIFEST;
11040
11040
  },
11041
+ AdapterOutputType: function() {
11042
+ return AdapterOutputType;
11043
+ },
11041
11044
  BARREL_OPTIMIZATION_PREFIX: function() {
11042
11045
  return BARREL_OPTIMIZATION_PREFIX;
11043
11046
  },
@@ -11209,6 +11212,9 @@ function requireModernBrowserslistTarget () {
11209
11212
  TRACE_OUTPUT_VERSION: function() {
11210
11213
  return TRACE_OUTPUT_VERSION;
11211
11214
  },
11215
+ TURBOPACK_CLIENT_BUILD_MANIFEST: function() {
11216
+ return TURBOPACK_CLIENT_BUILD_MANIFEST;
11217
+ },
11212
11218
  TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST: function() {
11213
11219
  return TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST;
11214
11220
  },
@@ -11232,6 +11238,33 @@ function requireModernBrowserslistTarget () {
11232
11238
  server: 'server',
11233
11239
  edgeServer: 'edge-server'
11234
11240
  };
11241
+ var AdapterOutputType = /*#__PURE__*/ function(AdapterOutputType) {
11242
+ /**
11243
+ * `PAGES` represents all the React pages that are under `pages/`.
11244
+ */ AdapterOutputType["PAGES"] = "PAGES";
11245
+ /**
11246
+ * `PAGES_API` represents all the API routes under `pages/api/`.
11247
+ */ AdapterOutputType["PAGES_API"] = "PAGES_API";
11248
+ /**
11249
+ * `APP_PAGE` represents all the React pages that are under `app/` with the
11250
+ * filename of `page.{j,t}s{,x}`.
11251
+ */ AdapterOutputType["APP_PAGE"] = "APP_PAGE";
11252
+ /**
11253
+ * `APP_ROUTE` represents all the API routes and metadata routes that are under `app/` with the
11254
+ * filename of `route.{j,t}s{,x}`.
11255
+ */ AdapterOutputType["APP_ROUTE"] = "APP_ROUTE";
11256
+ /**
11257
+ * `PRERENDER` represents an ISR enabled route that might
11258
+ * have a seeded cache entry or fallback generated during build
11259
+ */ AdapterOutputType["PRERENDER"] = "PRERENDER";
11260
+ /**
11261
+ * `STATIC_FILE` represents a static file (ie /_next/static)
11262
+ */ AdapterOutputType["STATIC_FILE"] = "STATIC_FILE";
11263
+ /**
11264
+ * `MIDDLEWARE` represents the middleware output if present
11265
+ */ AdapterOutputType["MIDDLEWARE"] = "MIDDLEWARE";
11266
+ return AdapterOutputType;
11267
+ }({});
11235
11268
  const COMPILER_INDEXES = {
11236
11269
  [COMPILER_NAMES.client]: 0,
11237
11270
  [COMPILER_NAMES.server]: 1,
@@ -11263,6 +11296,7 @@ function requireModernBrowserslistTarget () {
11263
11296
  const DEV_CLIENT_PAGES_MANIFEST = '_devPagesManifest.json';
11264
11297
  const MIDDLEWARE_MANIFEST = 'middleware-manifest.json';
11265
11298
  const TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST = '_clientMiddlewareManifest.json';
11299
+ const TURBOPACK_CLIENT_BUILD_MANIFEST = 'client-build-manifest.json';
11266
11300
  const DEV_CLIENT_MIDDLEWARE_MANIFEST = '_devMiddlewareManifest.json';
11267
11301
  const REACT_LOADABLE_MANIFEST = 'react-loadable-manifest.json';
11268
11302
  const SERVER_DIRECTORY = 'server';
@@ -15043,6 +15077,7 @@ function requireApi () {
15043
15077
  } else {
15044
15078
  if (error) {
15045
15079
  span.recordException(error);
15080
+ span.setAttribute('error.type', error.name);
15046
15081
  }
15047
15082
  span.setStatus({
15048
15083
  code: SpanStatusCode.ERROR,
@@ -15684,7 +15719,7 @@ function requirePrettyBytes () {
15684
15719
  ...scriptProps,
15685
15720
  key: scriptProps.src || index,
15686
15721
  defer: scriptProps.defer ?? !disableOptimizedLoading,
15687
- nonce: props.nonce,
15722
+ nonce: scriptProps.nonce || props.nonce,
15688
15723
  "data-nscript": "beforeInteractive",
15689
15724
  crossOrigin: props.crossOrigin || crossOrigin
15690
15725
  });
@@ -15865,22 +15900,12 @@ function requirePrettyBytes () {
15865
15900
  if (head) {
15866
15901
  head.forEach((child)=>{
15867
15902
  if (child && child.type === 'link' && child.props['rel'] === 'preload' && child.props['as'] === 'style') {
15868
- if (this.context.strictNextHead) {
15869
- cssPreloads.push(/*#__PURE__*/ _react.default.cloneElement(child, {
15870
- 'data-next-head': ''
15871
- }));
15872
- } else {
15873
- cssPreloads.push(child);
15874
- }
15903
+ cssPreloads.push(child);
15875
15904
  } else {
15876
15905
  if (child) {
15877
- if (this.context.strictNextHead) {
15878
- otherHeadElements.push(/*#__PURE__*/ _react.default.cloneElement(child, {
15879
- 'data-next-head': ''
15880
- }));
15881
- } else {
15882
- otherHeadElements.push(child);
15883
- }
15906
+ otherHeadElements.push(/*#__PURE__*/ _react.default.cloneElement(child, {
15907
+ 'data-next-head': ''
15908
+ }));
15884
15909
  }
15885
15910
  }
15886
15911
  });
@@ -15974,10 +15999,6 @@ function requirePrettyBytes () {
15974
15999
  ]
15975
16000
  }),
15976
16001
  head,
15977
- this.context.strictNextHead ? null : /*#__PURE__*/ (0, _jsxruntime.jsx)("meta", {
15978
- name: "next-head-count",
15979
- content: _react.default.Children.count(head || []).toString()
15980
- }),
15981
16002
  children,
15982
16003
  nextFontLinkTags.preconnect,
15983
16004
  nextFontLinkTags.preload,
@@ -16233,11 +16254,15 @@ function requirePrettyBytes () {
16233
16254
  render() {
16234
16255
  return /*#__PURE__*/ (0, _jsxruntime.jsxs)(Html, {
16235
16256
  children: [
16236
- /*#__PURE__*/ (0, _jsxruntime.jsx)(Head, {}),
16257
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(Head, {
16258
+ nonce: this.props.nonce
16259
+ }),
16237
16260
  /*#__PURE__*/ (0, _jsxruntime.jsxs)("body", {
16238
16261
  children: [
16239
16262
  /*#__PURE__*/ (0, _jsxruntime.jsx)(Main, {}),
16240
- /*#__PURE__*/ (0, _jsxruntime.jsx)(NextScript, {})
16263
+ /*#__PURE__*/ (0, _jsxruntime.jsx)(NextScript, {
16264
+ nonce: this.props.nonce
16265
+ })
16241
16266
  ]
16242
16267
  })
16243
16268
  ]
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://epam-rail.com",
5
- "version": "0.37.0-rc.9",
5
+ "version": "0.38.0-rc.0",
6
6
  "dependencies": {},
7
7
  "type": "module",
8
8
  "bugs": {