@wandzai/utils 1.0.75-benchmark-classifications-3 → 1.0.75-benchmark-classifications-5
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/package.json +1 -1
- package/src/bee-free.js +54 -84
- package/src/bee-free.js.map +1 -1
package/package.json
CHANGED
package/src/bee-free.js
CHANGED
|
@@ -8,19 +8,30 @@ const extractAllTextFromEntityJson = (json, device = null) => {
|
|
|
8
8
|
const elements = [];
|
|
9
9
|
const texts = [];
|
|
10
10
|
let index = 0;
|
|
11
|
-
const initialContent = {
|
|
11
|
+
const initialContent = {
|
|
12
|
+
isButton: false,
|
|
12
13
|
isHeading: false,
|
|
13
14
|
isParagraph: false,
|
|
14
15
|
isImageAlt: false,
|
|
15
16
|
isListItem: false,
|
|
16
17
|
isTableCell: false,
|
|
17
|
-
isRawHtml: false,
|
|
18
|
+
isRawHtml: false,
|
|
19
|
+
};
|
|
18
20
|
const stripHtml = (html) => (0, html_entities_1.decode)(html
|
|
19
21
|
.replace(/<style[^>]*>.*?<\/style>/gis, '')
|
|
20
22
|
.replace(/<script[^>]*>.*?<\/script>/gis, '')
|
|
21
23
|
.replace(/<[^>]+>/g, '')
|
|
22
24
|
.replace(/\s+/g, ' ')
|
|
23
25
|
.trim());
|
|
26
|
+
const normalizeStyleKeys = (style = {}) => {
|
|
27
|
+
const map = {};
|
|
28
|
+
Object.keys(style).forEach((key) => {
|
|
29
|
+
const camelKey = key.replace(/-([a-z])/g, (_, c) => c.toUpperCase());
|
|
30
|
+
map[camelKey] = style[key];
|
|
31
|
+
});
|
|
32
|
+
return map;
|
|
33
|
+
};
|
|
34
|
+
const mergeStyles = (...styles) => Object.assign({}, ...styles.map(normalizeStyleKeys));
|
|
24
35
|
const isVisibleForDevice = (style) => {
|
|
25
36
|
const hideDesktop = style?.hideContentOnDesktop === true;
|
|
26
37
|
const hideMobile = style?.hideContentOnMobile === true;
|
|
@@ -32,34 +43,10 @@ const extractAllTextFromEntityJson = (json, device = null) => {
|
|
|
32
43
|
return !hideMobile;
|
|
33
44
|
return true;
|
|
34
45
|
};
|
|
35
|
-
const getEffectiveStyle = (module, device) => {
|
|
36
|
-
const d = module.descriptor;
|
|
37
|
-
if (!d)
|
|
38
|
-
return {};
|
|
39
|
-
let style = { ...d.computedStyle, ...d.style };
|
|
40
|
-
if (device === wandz_interfaces_1.InteractionViewModes.MOBILE && d.mobileStyle) {
|
|
41
|
-
style = { ...style, ...d.mobileStyle };
|
|
42
|
-
}
|
|
43
|
-
if (d.paragraph?.style)
|
|
44
|
-
style = { ...style, ...d.paragraph.style };
|
|
45
|
-
if (d.button?.style)
|
|
46
|
-
style = { ...style, ...d.button.style };
|
|
47
|
-
if (d.heading?.style)
|
|
48
|
-
style = { ...style, ...d.heading.style };
|
|
49
|
-
if (d.table?.style)
|
|
50
|
-
style = { ...style, ...d.table.style };
|
|
51
|
-
if (d.paragraph?.computedStyle)
|
|
52
|
-
style = { ...style, ...d.paragraph.computedStyle };
|
|
53
|
-
if (d.button?.computedStyle)
|
|
54
|
-
style = { ...style, ...d.button.computedStyle };
|
|
55
|
-
if (d.heading?.computedStyle)
|
|
56
|
-
style = { ...style, ...d.heading.computedStyle };
|
|
57
|
-
if (d.table?.computedStyle)
|
|
58
|
-
style = { ...style, ...d.table.computedStyle };
|
|
59
|
-
return style;
|
|
60
|
-
};
|
|
61
46
|
const pushElement = (text, style, rowIndex, columnIndex, moduleIndex, totalRows, contentFlags) => {
|
|
62
47
|
texts.push(text);
|
|
48
|
+
const fontSizePx = style.fontSize ? Number(style.fontSize.replace('px', '')) : undefined;
|
|
49
|
+
const fontWeight = style.fontWeight ? Number(style.fontWeight) : undefined;
|
|
63
50
|
elements.push({
|
|
64
51
|
id: `${rowIndex}-${columnIndex}-${moduleIndex}-${index}`,
|
|
65
52
|
text,
|
|
@@ -67,18 +54,18 @@ const extractAllTextFromEntityJson = (json, device = null) => {
|
|
|
67
54
|
signals: {
|
|
68
55
|
content: contentFlags,
|
|
69
56
|
typography: {
|
|
70
|
-
fontSizePx
|
|
71
|
-
fontWeight
|
|
72
|
-
isItalic: style
|
|
73
|
-
isUppercase: style
|
|
74
|
-
isUnderlined: style
|
|
57
|
+
fontSizePx,
|
|
58
|
+
fontWeight,
|
|
59
|
+
isItalic: style.fontStyle === 'italic',
|
|
60
|
+
isUppercase: style.textTransform === 'uppercase',
|
|
61
|
+
isUnderlined: style.textDecoration === 'underline',
|
|
75
62
|
},
|
|
76
63
|
color: {
|
|
77
|
-
textColor: style
|
|
78
|
-
backgroundColor: style
|
|
64
|
+
textColor: style.color ?? style.linkColor,
|
|
65
|
+
backgroundColor: style.backgroundColor,
|
|
79
66
|
},
|
|
80
67
|
layout: {
|
|
81
|
-
textAlign: style
|
|
68
|
+
textAlign: style.textAlign,
|
|
82
69
|
rowIndex,
|
|
83
70
|
columnIndex,
|
|
84
71
|
moduleIndex,
|
|
@@ -89,8 +76,6 @@ const extractAllTextFromEntityJson = (json, device = null) => {
|
|
|
89
76
|
};
|
|
90
77
|
const rows = json.page?.rows ?? [];
|
|
91
78
|
rows.forEach((row, rowIndex) => {
|
|
92
|
-
if (!isVisibleForDevice(row.content?.computedStyle))
|
|
93
|
-
return;
|
|
94
79
|
row.columns?.forEach((column, columnIndex) => {
|
|
95
80
|
column.modules?.forEach((module, moduleIndex) => {
|
|
96
81
|
const d = module.descriptor;
|
|
@@ -98,64 +83,53 @@ const extractAllTextFromEntityJson = (json, device = null) => {
|
|
|
98
83
|
return;
|
|
99
84
|
if (!isVisibleForDevice(d.computedStyle))
|
|
100
85
|
return;
|
|
101
|
-
const
|
|
102
|
-
if (
|
|
103
|
-
const raw = d.heading.text ?? d.heading.html;
|
|
104
|
-
const text = stripHtml(raw);
|
|
105
|
-
if (text)
|
|
106
|
-
pushElement(text, style, rowIndex, columnIndex, moduleIndex, rows.length, { ...initialContent, isHeading: true });
|
|
107
|
-
}
|
|
108
|
-
if (typeof d.paragraph?.html === 'string') {
|
|
86
|
+
const baseStyle = mergeStyles(d.computedStyle, d.style, d.mobileStyle);
|
|
87
|
+
if (d.paragraph?.html) {
|
|
109
88
|
const text = stripHtml(d.paragraph.html);
|
|
110
|
-
if (text)
|
|
111
|
-
|
|
89
|
+
if (text) {
|
|
90
|
+
const style = mergeStyles(baseStyle, d.paragraph.style, d.paragraph.computedStyle);
|
|
91
|
+
pushElement(text, style, rowIndex, columnIndex, moduleIndex, rows.length, {
|
|
92
|
+
...initialContent,
|
|
93
|
+
isParagraph: true,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
112
96
|
}
|
|
113
|
-
if (
|
|
97
|
+
if (d.button?.label) {
|
|
114
98
|
const text = stripHtml(d.button.label);
|
|
115
|
-
if (text)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
const text = stripHtml(item.text);
|
|
122
|
-
if (text)
|
|
123
|
-
pushElement(text, style, rowIndex, columnIndex, moduleIndex, rows.length, { ...initialContent, isListItem: true });
|
|
124
|
-
}
|
|
99
|
+
if (text) {
|
|
100
|
+
const style = mergeStyles(baseStyle, d.button.style, d.button.computedStyle);
|
|
101
|
+
pushElement(text, style, rowIndex, columnIndex, moduleIndex, rows.length, {
|
|
102
|
+
...initialContent,
|
|
103
|
+
isButton: true,
|
|
104
|
+
});
|
|
125
105
|
}
|
|
126
106
|
}
|
|
127
|
-
if (typeof d.html?.html === 'string') {
|
|
128
|
-
const text = stripHtml(d.html.html);
|
|
129
|
-
if (text)
|
|
130
|
-
pushElement(text, style, rowIndex, columnIndex, moduleIndex, rows.length, { ...initialContent, isRawHtml: true });
|
|
131
|
-
}
|
|
132
|
-
if (typeof d.image?.alt === 'string') {
|
|
133
|
-
const text = stripHtml(d.image.alt);
|
|
134
|
-
if (text)
|
|
135
|
-
pushElement(text, style, rowIndex, columnIndex, moduleIndex, rows.length, { ...initialContent, isImageAlt: true });
|
|
136
|
-
}
|
|
137
107
|
if (d.table?.content?.rows) {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
108
|
+
const tableStyle = mergeStyles(baseStyle, d.table.style, d.table.computedStyle);
|
|
109
|
+
d.table.content.rows.forEach((tRow) => {
|
|
110
|
+
tRow.cells?.forEach((cell) => {
|
|
111
|
+
if (cell.html) {
|
|
141
112
|
const text = stripHtml(cell.html);
|
|
142
113
|
if (text)
|
|
143
|
-
pushElement(text,
|
|
114
|
+
pushElement(text, tableStyle, rowIndex, columnIndex, moduleIndex, rows.length, {
|
|
115
|
+
...initialContent,
|
|
116
|
+
isTableCell: true,
|
|
117
|
+
});
|
|
144
118
|
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
119
|
+
});
|
|
120
|
+
});
|
|
147
121
|
}
|
|
148
122
|
});
|
|
149
123
|
});
|
|
150
124
|
});
|
|
151
125
|
const fontSizes = elements
|
|
152
|
-
.map(e => e.signals.typography.fontSizePx)
|
|
126
|
+
.map((e) => e.signals.typography.fontSizePx)
|
|
153
127
|
.filter((v) => typeof v === 'number');
|
|
154
128
|
const stats = {
|
|
155
129
|
elementCount: elements.length,
|
|
156
|
-
headingCount: elements.filter(e => e.signals.content.isHeading).length,
|
|
157
|
-
buttonCount: elements.filter(e => e.signals.content.isButton).length,
|
|
158
|
-
paragraphCount: elements.filter(e => e.signals.content.isParagraph).length,
|
|
130
|
+
headingCount: elements.filter((e) => e.signals.content.isHeading).length,
|
|
131
|
+
buttonCount: elements.filter((e) => e.signals.content.isButton).length,
|
|
132
|
+
paragraphCount: elements.filter((e) => e.signals.content.isParagraph).length,
|
|
159
133
|
alignmentDistribution: elements.reduce((acc, e) => {
|
|
160
134
|
const a = e.signals.layout.textAlign ?? 'unknown';
|
|
161
135
|
acc[a] = (acc[a] || 0) + 1;
|
|
@@ -169,11 +143,7 @@ const extractAllTextFromEntityJson = (json, device = null) => {
|
|
|
169
143
|
}
|
|
170
144
|
: undefined,
|
|
171
145
|
};
|
|
172
|
-
return {
|
|
173
|
-
elements,
|
|
174
|
-
stats,
|
|
175
|
-
texts
|
|
176
|
-
};
|
|
146
|
+
return { elements, stats, texts };
|
|
177
147
|
};
|
|
178
148
|
exports.extractAllTextFromEntityJson = extractAllTextFromEntityJson;
|
|
179
149
|
exports.STUDIO_SETTINGS_WIDTH_PATH = {
|
package/src/bee-free.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bee-free.js","sourceRoot":"","sources":["../../../../libs/utils/src/bee-free.ts"],"names":[],"mappings":";;;AAAA,mCAA6B;AAC7B,iDAAuC;AACvC,gEAKmC;AAE5B,MAAM,4BAA4B,GAAG,CAC1C,IAAS,EACT,SAAsC,IAAI,EACzB,EAAE;IACnB,MAAM,QAAQ,GAAmB,EAAE,CAAC;IACpC,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,KAAK,GAAG,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"bee-free.js","sourceRoot":"","sources":["../../../../libs/utils/src/bee-free.ts"],"names":[],"mappings":";;;AAAA,mCAA6B;AAC7B,iDAAuC;AACvC,gEAKmC;AAE5B,MAAM,4BAA4B,GAAG,CAC1C,IAAS,EACT,SAAsC,IAAI,EACzB,EAAE;IACnB,MAAM,QAAQ,GAAmB,EAAE,CAAC;IACpC,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,KAAK;QACf,SAAS,EAAE,KAAK;QAChB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,KAAK;QACjB,UAAU,EAAE,KAAK;QACjB,WAAW,EAAE,KAAK;QAClB,SAAS,EAAE,KAAK;KACjB,CAAC;IAEF,MAAM,SAAS,GAAG,CAAC,IAAY,EAAE,EAAE,CACjC,IAAA,sBAAM,EACJ,IAAI;SACD,OAAO,CAAC,6BAA6B,EAAE,EAAE,CAAC;SAC1C,OAAO,CAAC,+BAA+B,EAAE,EAAE,CAAC;SAC5C,OAAO,CAA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