pds-dev-kit-web-test 2.7.139 → 2.7.140

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.
@@ -14,6 +14,15 @@ var __assign = (this && this.__assign) || function () {
14
14
  };
15
15
  return __assign.apply(this, arguments);
16
16
  };
17
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
18
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
19
+ if (ar || !(i in from)) {
20
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
21
+ ar[i] = from[i];
22
+ }
23
+ }
24
+ return to.concat(ar || Array.prototype.slice.call(from));
25
+ };
17
26
  var __importDefault = (this && this.__importDefault) || function (mod) {
18
27
  return (mod && mod.__esModule) ? mod : { "default": mod };
19
28
  };
@@ -144,7 +153,8 @@ function ContentsList(props) {
144
153
  var isMobile = device === 'MOBILE';
145
154
  var isBgMedia = getIsBgMedia(isMobile, CB_STYLE_PROP_BGMEDIA);
146
155
  var mediaType = getMediaType(isMobile, CB_STYLE_PROP_BGMEDIA);
147
- var orderedCompositions = CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS.sort(function (a, b) { return a.order - b.order; }).map(function (item) {
156
+ var orderedCompositions = __spreadArray([], CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS, true).sort(function (a, b) { return a.order - b.order; })
157
+ .map(function (item) {
148
158
  return compositions.find(function (comp) { return comp.ccbManualItemUuid === item.uuid; });
149
159
  });
150
160
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [Object.entries(componentGroups).map(function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.139",
3
+ "version": "2.7.140",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",