pds-dev-kit-web-test 2.7.135 → 2.7.137

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.
@@ -144,6 +144,12 @@ function ContentsList(props) {
144
144
  var isMobile = device === 'MOBILE';
145
145
  var isBgMedia = getIsBgMedia(isMobile, CB_STYLE_PROP_BGMEDIA);
146
146
  var mediaType = getMediaType(isMobile, CB_STYLE_PROP_BGMEDIA);
147
+ // const orderedCompositions = CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS.sort(
148
+ // (a, b) => a.order - b.order
149
+ // ).map((item) => {
150
+ // return compositions.find((comp) => comp.id === item.uuid);
151
+ // });
152
+ console.log(compositions);
147
153
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [Object.entries(componentGroups).map(function (_a) {
148
154
  var position = _a[0], groupComponents = _a[1];
149
155
  return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "cb-contentslist-button-group ccb-elements", ref: function (el) {
@@ -37,7 +37,7 @@ export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
37
37
  CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_CONNECTDATA: STRING_PLAIN;
38
38
  CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DATASORTING: STRING_PLAIN;
39
39
  CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_OFFSET: NUMBER_INTEGER;
40
- CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_MANUALITEMS: MockComposition[];
40
+ CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_MANUALITEMS: ManualItem[];
41
41
  CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
42
42
  CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
43
43
  };
@@ -46,7 +46,7 @@ export type CB_CONTENT_PROP_SLIDEBANNER = {
46
46
  CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA: STRING_PLAIN;
47
47
  CB_CONTENT_PROP_SLIDEBANNER_SPEC_DATASORTING: STRING_PLAIN;
48
48
  CB_CONTENT_PROP_SLIDEBANNER_SPEC_OFFSET: NUMBER_INTEGER;
49
- CB_CONTENT_PROP_SLIDEBANNER_SPEC_MENUALITEMS: MockComposition[];
49
+ CB_CONTENT_PROP_SLIDEBANNER_SPEC_MENUALITEMS: ManualItem[];
50
50
  CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
51
51
  };
52
52
  export type CB_CONTENT_PROP_CONTENTSLIST = {
@@ -55,20 +55,16 @@ export type CB_CONTENT_PROP_CONTENTSLIST = {
55
55
  CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATASORTING: STRING_PLAIN;
56
56
  CB_CONTENT_PROP_CONTENTSLIST_SPEC_DATAFILTER: STRING_PLAIN;
57
57
  CB_CONTENT_PROP_CONTENTSLIST_SPEC_OFFSET: NUMBER_INTEGER;
58
- CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS: MockComposition[];
58
+ CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS: ManualItem[];
59
59
  CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
60
60
  CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
61
61
  CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS: NUMBER_INTEGER;
62
62
  CB_CONTENT_PROP_CONTENTSLIST_SPEC_EDITCOMMONITEM: null | STRING_PLAIN;
63
63
  };
64
- export type MockComposition = {
64
+ export type ManualItem = {
65
+ order: number;
65
66
  title: string;
66
- width: number;
67
- minWidth: number;
68
- maxWidth: number;
69
- height: number;
70
- minHeight: number;
71
- maxHeight: number;
67
+ uuid: string;
72
68
  };
73
69
  export type CBTextPropsKeys = keyof CB_STYLE_PROP_TEXT_SPECS;
74
70
  export type CB_STYLE_PROP_TEXT_SPECS_BASE = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.135",
3
+ "version": "2.7.137",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",