@legalplace/wizardx-core 4.11.2 → 4.12.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.
- package/dist/componentsConnectors/connectBox.js +5 -1
- package/dist/service/htmlSanitizer/attributes.d.ts +2 -0
- package/dist/service/htmlSanitizer/attributes.js +50 -0
- package/dist/service/htmlSanitizer/index.d.ts +10 -0
- package/dist/service/htmlSanitizer/index.js +75 -0
- package/dist/service/htmlSanitizer/styles.d.ts +5 -0
- package/dist/service/htmlSanitizer/styles.js +662 -0
- package/package.json +6 -6
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { componentConnector } from "./connector/componentConnector";
|
|
2
2
|
import { getRelatedVariablesValues, parseContentWithVariables, } from "../helpers/outputsParsing";
|
|
3
|
+
import HtmlSanitizer from "../service/htmlSanitizer";
|
|
3
4
|
const stateToProps = (selectors) => (state, ownProps) => {
|
|
4
5
|
const { id, index } = ownProps;
|
|
5
6
|
const option = selectors.selectOptionReference(id);
|
|
6
7
|
const boxReference = selectors.selectBoxReference(id);
|
|
7
8
|
const variables = getRelatedVariablesValues(id, index, boxReference.variables);
|
|
9
|
+
const htmlSanitizer = new HtmlSanitizer();
|
|
8
10
|
const condition = selectors.selectOptionConditionValue(id, index);
|
|
9
|
-
|
|
11
|
+
let content = condition === false
|
|
10
12
|
? ""
|
|
11
13
|
: parseContentWithVariables(boxReference.raw, id, index, variables);
|
|
14
|
+
content = content.replace(/</g, "<").replace(/>/g, ">");
|
|
15
|
+
content = htmlSanitizer.sanitize(content);
|
|
12
16
|
const { options, meta } = option;
|
|
13
17
|
const { tags, type, box } = meta;
|
|
14
18
|
return {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const SafeAttrs = [
|
|
2
|
+
"align",
|
|
3
|
+
"alink",
|
|
4
|
+
"alt",
|
|
5
|
+
"bgcolor",
|
|
6
|
+
"border",
|
|
7
|
+
"cellpadding",
|
|
8
|
+
"cellspacing",
|
|
9
|
+
"class",
|
|
10
|
+
"color",
|
|
11
|
+
"cols",
|
|
12
|
+
"colspan",
|
|
13
|
+
"coords",
|
|
14
|
+
"dir",
|
|
15
|
+
"face",
|
|
16
|
+
"height",
|
|
17
|
+
"href",
|
|
18
|
+
"hspace",
|
|
19
|
+
"ismap",
|
|
20
|
+
"lang",
|
|
21
|
+
"marginheight",
|
|
22
|
+
"marginwidth",
|
|
23
|
+
"multiple",
|
|
24
|
+
"nohref",
|
|
25
|
+
"noresize",
|
|
26
|
+
"noshade",
|
|
27
|
+
"nowrap",
|
|
28
|
+
"ref",
|
|
29
|
+
"rel",
|
|
30
|
+
"rev",
|
|
31
|
+
"rows",
|
|
32
|
+
"rowspan",
|
|
33
|
+
"scrolling",
|
|
34
|
+
"shape",
|
|
35
|
+
"span",
|
|
36
|
+
"style",
|
|
37
|
+
"summary",
|
|
38
|
+
"tabindex",
|
|
39
|
+
"title",
|
|
40
|
+
"usemap",
|
|
41
|
+
"valign",
|
|
42
|
+
"value",
|
|
43
|
+
"vlink",
|
|
44
|
+
"vspace",
|
|
45
|
+
"width",
|
|
46
|
+
"data-signature",
|
|
47
|
+
"data-signature-id",
|
|
48
|
+
"data-signer-index",
|
|
49
|
+
];
|
|
50
|
+
export default SafeAttrs;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ISafeStyles } from "./styles";
|
|
2
|
+
declare class HtmlSanitizer {
|
|
3
|
+
private attrs;
|
|
4
|
+
private styles;
|
|
5
|
+
private options;
|
|
6
|
+
constructor(attrs?: string[], styles?: ISafeStyles);
|
|
7
|
+
private createWhiteList;
|
|
8
|
+
sanitize(fragment: string): string;
|
|
9
|
+
}
|
|
10
|
+
export default HtmlSanitizer;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { filterXSS } from "xss";
|
|
2
|
+
import SafeStyles from "./styles";
|
|
3
|
+
import SafeAttributes from "./attributes";
|
|
4
|
+
class HtmlSanitizer {
|
|
5
|
+
constructor(attrs = SafeAttributes, styles = SafeStyles) {
|
|
6
|
+
this.attrs = attrs;
|
|
7
|
+
this.styles = styles;
|
|
8
|
+
this.options = {
|
|
9
|
+
allowCommentTag: false,
|
|
10
|
+
whiteList: this.createWhiteList(this.attrs),
|
|
11
|
+
css: {
|
|
12
|
+
whiteList: this.styles,
|
|
13
|
+
},
|
|
14
|
+
stripIgnoreTag: true,
|
|
15
|
+
stripIgnoreTagBody: true,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
createWhiteList(attrs) {
|
|
19
|
+
const commonTags = [
|
|
20
|
+
"h1",
|
|
21
|
+
"h2",
|
|
22
|
+
"h3",
|
|
23
|
+
"h4",
|
|
24
|
+
"h5",
|
|
25
|
+
"h6",
|
|
26
|
+
"blockquote",
|
|
27
|
+
"p",
|
|
28
|
+
"font",
|
|
29
|
+
"span",
|
|
30
|
+
"abbr",
|
|
31
|
+
"s",
|
|
32
|
+
"del",
|
|
33
|
+
"ins",
|
|
34
|
+
"a",
|
|
35
|
+
"ul",
|
|
36
|
+
"ol",
|
|
37
|
+
"li",
|
|
38
|
+
"b",
|
|
39
|
+
"i",
|
|
40
|
+
"u",
|
|
41
|
+
"strong",
|
|
42
|
+
"img",
|
|
43
|
+
"em",
|
|
44
|
+
"code",
|
|
45
|
+
"hr",
|
|
46
|
+
"br",
|
|
47
|
+
"div",
|
|
48
|
+
"cite",
|
|
49
|
+
"dd",
|
|
50
|
+
"dt",
|
|
51
|
+
"article",
|
|
52
|
+
"aside",
|
|
53
|
+
"section",
|
|
54
|
+
"footer",
|
|
55
|
+
"header",
|
|
56
|
+
"table",
|
|
57
|
+
"thead",
|
|
58
|
+
"tfoot",
|
|
59
|
+
"caption",
|
|
60
|
+
"tbody",
|
|
61
|
+
"tr",
|
|
62
|
+
"th",
|
|
63
|
+
"td",
|
|
64
|
+
"pre",
|
|
65
|
+
];
|
|
66
|
+
return commonTags.reduce((acc, tag) => {
|
|
67
|
+
acc[tag] = attrs;
|
|
68
|
+
return acc;
|
|
69
|
+
}, {});
|
|
70
|
+
}
|
|
71
|
+
sanitize(fragment) {
|
|
72
|
+
return filterXSS(fragment, this.options);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
export default HtmlSanitizer;
|
|
@@ -0,0 +1,662 @@
|
|
|
1
|
+
const SafeStyles = {
|
|
2
|
+
accelerator: true,
|
|
3
|
+
"align-content": true,
|
|
4
|
+
"align-items": true,
|
|
5
|
+
"align-self": true,
|
|
6
|
+
"alignment-baseline": true,
|
|
7
|
+
all: true,
|
|
8
|
+
alt: true,
|
|
9
|
+
animation: true,
|
|
10
|
+
"animation-delay": true,
|
|
11
|
+
"animation-direction": true,
|
|
12
|
+
"animation-duration": true,
|
|
13
|
+
"animation-fill-mode": true,
|
|
14
|
+
"animation-iteration-count": true,
|
|
15
|
+
"animation-name": true,
|
|
16
|
+
"animation-play-state": true,
|
|
17
|
+
"animation-timing-function": true,
|
|
18
|
+
appearance: true,
|
|
19
|
+
"audio-level": true,
|
|
20
|
+
azimuth: true,
|
|
21
|
+
"backdrop-filter": true,
|
|
22
|
+
"backface-visibility": true,
|
|
23
|
+
background: true,
|
|
24
|
+
"background-attachment": true,
|
|
25
|
+
"background-blend-mode": true,
|
|
26
|
+
"background-clip": true,
|
|
27
|
+
"background-color": true,
|
|
28
|
+
"background-image": true,
|
|
29
|
+
"background-origin": true,
|
|
30
|
+
"background-position": true,
|
|
31
|
+
"background-position-x": true,
|
|
32
|
+
"background-position-y": true,
|
|
33
|
+
"background-repeat": true,
|
|
34
|
+
"background-repeat-x": true,
|
|
35
|
+
"background-repeat-y": true,
|
|
36
|
+
"background-size": true,
|
|
37
|
+
"baseline-shift": true,
|
|
38
|
+
"baseline-source": true,
|
|
39
|
+
behavior: true,
|
|
40
|
+
"block-ellipsis": true,
|
|
41
|
+
"block-overflow": true,
|
|
42
|
+
"block-size": true,
|
|
43
|
+
"block-step": true,
|
|
44
|
+
"block-step-align": true,
|
|
45
|
+
"block-step-insert": true,
|
|
46
|
+
"block-step-round": true,
|
|
47
|
+
"block-step-size": true,
|
|
48
|
+
"bookmark-label": true,
|
|
49
|
+
"bookmark-level": true,
|
|
50
|
+
"bookmark-state": true,
|
|
51
|
+
border: true,
|
|
52
|
+
"border-block": true,
|
|
53
|
+
"border-block-color": true,
|
|
54
|
+
"border-block-end": true,
|
|
55
|
+
"border-block-end-color": true,
|
|
56
|
+
"border-block-end-style": true,
|
|
57
|
+
"border-block-end-width": true,
|
|
58
|
+
"border-block-start": true,
|
|
59
|
+
"border-block-start-color": true,
|
|
60
|
+
"border-block-start-style": true,
|
|
61
|
+
"border-block-start-width": true,
|
|
62
|
+
"border-block-style": true,
|
|
63
|
+
"border-block-width": true,
|
|
64
|
+
"border-bottom": true,
|
|
65
|
+
"border-bottom-color": true,
|
|
66
|
+
"border-bottom-left-radius": true,
|
|
67
|
+
"border-bottom-right-radius": true,
|
|
68
|
+
"border-bottom-style": true,
|
|
69
|
+
"border-bottom-width": true,
|
|
70
|
+
"border-boundary": true,
|
|
71
|
+
"border-collapse": true,
|
|
72
|
+
"border-color": true,
|
|
73
|
+
"border-end-end-radius": true,
|
|
74
|
+
"border-end-start-radius": true,
|
|
75
|
+
"border-image": true,
|
|
76
|
+
"border-image-outset": true,
|
|
77
|
+
"border-image-repeat": true,
|
|
78
|
+
"border-image-slice": true,
|
|
79
|
+
"border-image-source": true,
|
|
80
|
+
"border-image-width": true,
|
|
81
|
+
"border-inline": true,
|
|
82
|
+
"border-inline-color": true,
|
|
83
|
+
"border-inline-end": true,
|
|
84
|
+
"border-inline-end-color": true,
|
|
85
|
+
"border-inline-end-style": true,
|
|
86
|
+
"border-inline-end-width": true,
|
|
87
|
+
"border-inline-start": true,
|
|
88
|
+
"border-inline-start-color": true,
|
|
89
|
+
"border-inline-start-style": true,
|
|
90
|
+
"border-inline-start-width": true,
|
|
91
|
+
"border-inline-style": true,
|
|
92
|
+
"border-inline-width": true,
|
|
93
|
+
"border-left": true,
|
|
94
|
+
"border-left-color": true,
|
|
95
|
+
"border-left-style": true,
|
|
96
|
+
"border-left-width": true,
|
|
97
|
+
"border-radius": true,
|
|
98
|
+
"border-right": true,
|
|
99
|
+
"border-right-color": true,
|
|
100
|
+
"border-right-style": true,
|
|
101
|
+
"border-right-width": true,
|
|
102
|
+
"border-spacing": true,
|
|
103
|
+
"border-start-end-radius": true,
|
|
104
|
+
"border-start-start-radius": true,
|
|
105
|
+
"border-style": true,
|
|
106
|
+
"border-top": true,
|
|
107
|
+
"border-top-color": true,
|
|
108
|
+
"border-top-left-radius": true,
|
|
109
|
+
"border-top-right-radius": true,
|
|
110
|
+
"border-top-style": true,
|
|
111
|
+
"border-top-width": true,
|
|
112
|
+
"border-width": true,
|
|
113
|
+
bottom: true,
|
|
114
|
+
"box-decoration-break": true,
|
|
115
|
+
"box-shadow": true,
|
|
116
|
+
"box-sizing": true,
|
|
117
|
+
"box-snap": true,
|
|
118
|
+
"break-after": true,
|
|
119
|
+
"break-before": true,
|
|
120
|
+
"break-inside": true,
|
|
121
|
+
"buffered-rendering": true,
|
|
122
|
+
"caption-side": true,
|
|
123
|
+
caret: true,
|
|
124
|
+
"caret-color": true,
|
|
125
|
+
"caret-shape": true,
|
|
126
|
+
chains: true,
|
|
127
|
+
clear: true,
|
|
128
|
+
clip: true,
|
|
129
|
+
"clip-path": true,
|
|
130
|
+
"clip-rule": true,
|
|
131
|
+
color: true,
|
|
132
|
+
"color-adjust": true,
|
|
133
|
+
"color-interpolation": true,
|
|
134
|
+
"color-interpolation-filters": true,
|
|
135
|
+
"color-profile": true,
|
|
136
|
+
"color-rendering": true,
|
|
137
|
+
"color-scheme": true,
|
|
138
|
+
"column-count": true,
|
|
139
|
+
"column-fill": true,
|
|
140
|
+
"column-gap": true,
|
|
141
|
+
"column-progression": true,
|
|
142
|
+
"column-rule": true,
|
|
143
|
+
"column-rule-color": true,
|
|
144
|
+
"column-rule-style": true,
|
|
145
|
+
"column-rule-width": true,
|
|
146
|
+
"column-span": true,
|
|
147
|
+
"column-width": true,
|
|
148
|
+
columns: true,
|
|
149
|
+
contain: true,
|
|
150
|
+
content: true,
|
|
151
|
+
continue: true,
|
|
152
|
+
"counter-increment": true,
|
|
153
|
+
"counter-reset": true,
|
|
154
|
+
"counter-set": true,
|
|
155
|
+
cue: true,
|
|
156
|
+
"cue-after": true,
|
|
157
|
+
"cue-before": true,
|
|
158
|
+
cursor: true,
|
|
159
|
+
cx: true,
|
|
160
|
+
cy: true,
|
|
161
|
+
d: true,
|
|
162
|
+
direction: true,
|
|
163
|
+
display: true,
|
|
164
|
+
"display-align": true,
|
|
165
|
+
"dominant-baseline": true,
|
|
166
|
+
elevation: true,
|
|
167
|
+
"empty-cells": true,
|
|
168
|
+
"enable-background": true,
|
|
169
|
+
fill: true,
|
|
170
|
+
"fill-break": true,
|
|
171
|
+
"fill-color": true,
|
|
172
|
+
"fill-image": true,
|
|
173
|
+
"fill-opacity": true,
|
|
174
|
+
"fill-origin": true,
|
|
175
|
+
"fill-position": true,
|
|
176
|
+
"fill-repeat": true,
|
|
177
|
+
"fill-rule": true,
|
|
178
|
+
"fill-size": true,
|
|
179
|
+
filter: true,
|
|
180
|
+
flex: true,
|
|
181
|
+
"flex-basis": true,
|
|
182
|
+
"flex-direction": true,
|
|
183
|
+
"flex-flow": true,
|
|
184
|
+
"flex-grow": true,
|
|
185
|
+
"flex-shrink": true,
|
|
186
|
+
"flex-wrap": true,
|
|
187
|
+
float: true,
|
|
188
|
+
"float-defer": true,
|
|
189
|
+
"float-offset": true,
|
|
190
|
+
"float-reference": true,
|
|
191
|
+
"flood-color": true,
|
|
192
|
+
"flood-opacity": true,
|
|
193
|
+
flow: true,
|
|
194
|
+
"flow-from": true,
|
|
195
|
+
"flow-into": true,
|
|
196
|
+
font: true,
|
|
197
|
+
"font-display": true,
|
|
198
|
+
"font-family": true,
|
|
199
|
+
"font-feature-settings": true,
|
|
200
|
+
"font-kerning": true,
|
|
201
|
+
"font-language-override": true,
|
|
202
|
+
"font-optical-sizing": true,
|
|
203
|
+
"font-palette": true,
|
|
204
|
+
"font-size": true,
|
|
205
|
+
"font-size-adjust": true,
|
|
206
|
+
"font-stretch": true,
|
|
207
|
+
"font-style": true,
|
|
208
|
+
"font-synthesis": true,
|
|
209
|
+
"font-synthesis-small-caps": true,
|
|
210
|
+
"font-synthesis-style": true,
|
|
211
|
+
"font-synthesis-weight": true,
|
|
212
|
+
"font-variant": true,
|
|
213
|
+
"font-variant-alternates": true,
|
|
214
|
+
"font-variant-caps": true,
|
|
215
|
+
"font-variant-east-asian": true,
|
|
216
|
+
"font-variant-emoji": true,
|
|
217
|
+
"font-variant-ligatures": true,
|
|
218
|
+
"font-variant-numeric": true,
|
|
219
|
+
"font-variant-position": true,
|
|
220
|
+
"font-variation-settings": true,
|
|
221
|
+
"font-weight": true,
|
|
222
|
+
"footnote-display": true,
|
|
223
|
+
"footnote-policy": true,
|
|
224
|
+
"forced-color-adjust": true,
|
|
225
|
+
gap: true,
|
|
226
|
+
"glyph-orientation-horizontal": true,
|
|
227
|
+
"glyph-orientation-vertical": true,
|
|
228
|
+
grid: true,
|
|
229
|
+
"grid-area": true,
|
|
230
|
+
"grid-auto-columns": true,
|
|
231
|
+
"grid-auto-flow": true,
|
|
232
|
+
"grid-auto-rows": true,
|
|
233
|
+
"grid-column": true,
|
|
234
|
+
"grid-column-end": true,
|
|
235
|
+
"grid-column-gap": true,
|
|
236
|
+
"grid-column-start": true,
|
|
237
|
+
"grid-gap": true,
|
|
238
|
+
"grid-row": true,
|
|
239
|
+
"grid-row-end": true,
|
|
240
|
+
"grid-row-gap": true,
|
|
241
|
+
"grid-row-start": true,
|
|
242
|
+
"grid-template": true,
|
|
243
|
+
"grid-template-areas": true,
|
|
244
|
+
"grid-template-columns": true,
|
|
245
|
+
"grid-template-rows": true,
|
|
246
|
+
"hanging-punctuation": true,
|
|
247
|
+
height: true,
|
|
248
|
+
"hyphenate-character": true,
|
|
249
|
+
"hyphenate-limit-chars": true,
|
|
250
|
+
"hyphenate-limit-last": true,
|
|
251
|
+
"hyphenate-limit-lines": true,
|
|
252
|
+
"hyphenate-limit-zone": true,
|
|
253
|
+
hyphens: true,
|
|
254
|
+
"image-orientation": true,
|
|
255
|
+
"image-rendering": true,
|
|
256
|
+
"image-resolution": true,
|
|
257
|
+
"ime-mode": true,
|
|
258
|
+
"initial-letters": true,
|
|
259
|
+
"initial-letters-align": true,
|
|
260
|
+
"initial-letters-wrap": true,
|
|
261
|
+
"inline-size": true,
|
|
262
|
+
"inline-sizing": true,
|
|
263
|
+
"input-format": true,
|
|
264
|
+
inset: true,
|
|
265
|
+
"inset-after": true,
|
|
266
|
+
"inset-before": true,
|
|
267
|
+
"inset-block": true,
|
|
268
|
+
"inset-block-end": true,
|
|
269
|
+
"inset-block-start": true,
|
|
270
|
+
"inset-end": true,
|
|
271
|
+
"inset-inline": true,
|
|
272
|
+
"inset-inline-end": true,
|
|
273
|
+
"inset-inline-start": true,
|
|
274
|
+
"inset-start": true,
|
|
275
|
+
isolation: true,
|
|
276
|
+
"justify-content": true,
|
|
277
|
+
"justify-items": true,
|
|
278
|
+
"justify-self": true,
|
|
279
|
+
kerning: true,
|
|
280
|
+
"layout-flow": true,
|
|
281
|
+
"layout-grid": true,
|
|
282
|
+
"layout-grid-char": true,
|
|
283
|
+
"layout-grid-line": true,
|
|
284
|
+
"layout-grid-mode": true,
|
|
285
|
+
"layout-grid-type": true,
|
|
286
|
+
"leading-trim": true,
|
|
287
|
+
"leading-trim-over": true,
|
|
288
|
+
"leading-trim-under": true,
|
|
289
|
+
left: true,
|
|
290
|
+
"letter-spacing": true,
|
|
291
|
+
"lighting-color": true,
|
|
292
|
+
"line-break": true,
|
|
293
|
+
"line-clamp": true,
|
|
294
|
+
"line-grid": true,
|
|
295
|
+
"line-height": true,
|
|
296
|
+
"line-height-step": true,
|
|
297
|
+
"line-increment": true,
|
|
298
|
+
"line-padding": true,
|
|
299
|
+
"line-sizing": true,
|
|
300
|
+
"line-snap": true,
|
|
301
|
+
"list-style": true,
|
|
302
|
+
"list-style-image": true,
|
|
303
|
+
"list-style-position": true,
|
|
304
|
+
"list-style-type": true,
|
|
305
|
+
"margin-block": true,
|
|
306
|
+
"margin-block-end": true,
|
|
307
|
+
"margin-block-start": true,
|
|
308
|
+
"margin-bottom": true,
|
|
309
|
+
"margin-break": true,
|
|
310
|
+
"margin-inline": true,
|
|
311
|
+
"margin-inline-end": true,
|
|
312
|
+
"margin-inline-start": true,
|
|
313
|
+
"margin-left": true,
|
|
314
|
+
"margin-right": true,
|
|
315
|
+
"margin-top": true,
|
|
316
|
+
"margin-trim": true,
|
|
317
|
+
marker: true,
|
|
318
|
+
"marker-end": true,
|
|
319
|
+
"marker-knockout-left": true,
|
|
320
|
+
"marker-knockout-right": true,
|
|
321
|
+
"marker-mid": true,
|
|
322
|
+
"marker-offset": true,
|
|
323
|
+
"marker-pattern": true,
|
|
324
|
+
"marker-segment": true,
|
|
325
|
+
"marker-side": true,
|
|
326
|
+
"marker-start": true,
|
|
327
|
+
marks: true,
|
|
328
|
+
mask: true,
|
|
329
|
+
"mask-border": true,
|
|
330
|
+
"mask-border-mode": true,
|
|
331
|
+
"mask-border-outset": true,
|
|
332
|
+
"mask-border-repeat": true,
|
|
333
|
+
"mask-border-slice": true,
|
|
334
|
+
"mask-border-source": true,
|
|
335
|
+
"mask-border-width": true,
|
|
336
|
+
"mask-clip": true,
|
|
337
|
+
"mask-composite": true,
|
|
338
|
+
"mask-image": true,
|
|
339
|
+
"mask-mode": true,
|
|
340
|
+
"mask-origin": true,
|
|
341
|
+
"mask-position": true,
|
|
342
|
+
"mask-position-x": true,
|
|
343
|
+
"mask-position-y": true,
|
|
344
|
+
"mask-repeat": true,
|
|
345
|
+
"mask-size": true,
|
|
346
|
+
"mask-source-type": true,
|
|
347
|
+
"mask-type": true,
|
|
348
|
+
"max-block-size": true,
|
|
349
|
+
"max-height": true,
|
|
350
|
+
"max-inline-size": true,
|
|
351
|
+
"max-lines": true,
|
|
352
|
+
"max-width": true,
|
|
353
|
+
"max-zoom": true,
|
|
354
|
+
"min-block-size": true,
|
|
355
|
+
"min-height": true,
|
|
356
|
+
"min-inline-size": true,
|
|
357
|
+
"min-width": true,
|
|
358
|
+
"min-zoom": true,
|
|
359
|
+
"mix-blend-mode": true,
|
|
360
|
+
motion: true,
|
|
361
|
+
"motion-offset": true,
|
|
362
|
+
"motion-path": true,
|
|
363
|
+
"motion-rotation": true,
|
|
364
|
+
"nav-down": true,
|
|
365
|
+
"nav-index": true,
|
|
366
|
+
"nav-left": true,
|
|
367
|
+
"nav-right": true,
|
|
368
|
+
"nav-up": true,
|
|
369
|
+
"object-fit": true,
|
|
370
|
+
"object-position": true,
|
|
371
|
+
offset: true,
|
|
372
|
+
"offset-after": true,
|
|
373
|
+
"offset-anchor": true,
|
|
374
|
+
"offset-before": true,
|
|
375
|
+
"offset-block-end": true,
|
|
376
|
+
"offset-block-start": true,
|
|
377
|
+
"offset-distance": true,
|
|
378
|
+
"offset-end": true,
|
|
379
|
+
"offset-inline-end": true,
|
|
380
|
+
"offset-inline-start": true,
|
|
381
|
+
"offset-path": true,
|
|
382
|
+
"offset-position": true,
|
|
383
|
+
"offset-rotate": true,
|
|
384
|
+
"offset-rotation": true,
|
|
385
|
+
"offset-start": true,
|
|
386
|
+
opacity: true,
|
|
387
|
+
order: true,
|
|
388
|
+
orientation: true,
|
|
389
|
+
orphans: true,
|
|
390
|
+
outline: true,
|
|
391
|
+
"outline-color": true,
|
|
392
|
+
"outline-offset": true,
|
|
393
|
+
"outline-style": true,
|
|
394
|
+
"outline-width": true,
|
|
395
|
+
overflow: true,
|
|
396
|
+
"overflow-anchor": true,
|
|
397
|
+
"overflow-block": true,
|
|
398
|
+
"overflow-inline": true,
|
|
399
|
+
"overflow-wrap": true,
|
|
400
|
+
"overflow-x": true,
|
|
401
|
+
"overflow-y": true,
|
|
402
|
+
"overscroll-behavior": true,
|
|
403
|
+
"overscroll-behavior-block": true,
|
|
404
|
+
"overscroll-behavior-inline": true,
|
|
405
|
+
"overscroll-behavior-x": true,
|
|
406
|
+
"overscroll-behavior-y": true,
|
|
407
|
+
"padding-block": true,
|
|
408
|
+
"padding-block-end": true,
|
|
409
|
+
"padding-block-start": true,
|
|
410
|
+
"padding-bottom": true,
|
|
411
|
+
"padding-inline": true,
|
|
412
|
+
"padding-inline-end": true,
|
|
413
|
+
"padding-inline-start": true,
|
|
414
|
+
"padding-left": true,
|
|
415
|
+
"padding-right": true,
|
|
416
|
+
"padding-top": true,
|
|
417
|
+
page: true,
|
|
418
|
+
"page-break-after": true,
|
|
419
|
+
"page-break-before": true,
|
|
420
|
+
"page-break-inside": true,
|
|
421
|
+
"paint-order": true,
|
|
422
|
+
pause: true,
|
|
423
|
+
"pause-after": true,
|
|
424
|
+
"pause-before": true,
|
|
425
|
+
"pen-action": true,
|
|
426
|
+
perspective: true,
|
|
427
|
+
"perspective-origin": true,
|
|
428
|
+
"perspective-origin-x": true,
|
|
429
|
+
"perspective-origin-y": true,
|
|
430
|
+
pitch: true,
|
|
431
|
+
"pitch-range": true,
|
|
432
|
+
"place-content": true,
|
|
433
|
+
"place-items": true,
|
|
434
|
+
"place-self": true,
|
|
435
|
+
"play-during": true,
|
|
436
|
+
"pointer-events": true,
|
|
437
|
+
position: true,
|
|
438
|
+
quotes: true,
|
|
439
|
+
r: true,
|
|
440
|
+
"region-fragment": true,
|
|
441
|
+
resize: true,
|
|
442
|
+
richness: true,
|
|
443
|
+
right: true,
|
|
444
|
+
rotate: true,
|
|
445
|
+
"row-gap": true,
|
|
446
|
+
"ruby-align": true,
|
|
447
|
+
"ruby-merge": true,
|
|
448
|
+
"ruby-overhang": true,
|
|
449
|
+
"ruby-position": true,
|
|
450
|
+
running: true,
|
|
451
|
+
rx: true,
|
|
452
|
+
ry: true,
|
|
453
|
+
scale: true,
|
|
454
|
+
"scroll-behavior": true,
|
|
455
|
+
"scroll-margin": true,
|
|
456
|
+
"scroll-margin-block": true,
|
|
457
|
+
"scroll-margin-block-end": true,
|
|
458
|
+
"scroll-margin-block-start": true,
|
|
459
|
+
"scroll-margin-bottom": true,
|
|
460
|
+
"scroll-margin-inline": true,
|
|
461
|
+
"scroll-margin-inline-end": true,
|
|
462
|
+
"scroll-margin-inline-start": true,
|
|
463
|
+
"scroll-margin-left": true,
|
|
464
|
+
"scroll-margin-right": true,
|
|
465
|
+
"scroll-margin-top": true,
|
|
466
|
+
"scroll-padding": true,
|
|
467
|
+
"scroll-padding-block": true,
|
|
468
|
+
"scroll-padding-block-end": true,
|
|
469
|
+
"scroll-padding-block-start": true,
|
|
470
|
+
"scroll-padding-bottom": true,
|
|
471
|
+
"scroll-padding-inline": true,
|
|
472
|
+
"scroll-padding-inline-end": true,
|
|
473
|
+
"scroll-padding-inline-start": true,
|
|
474
|
+
"scroll-padding-left": true,
|
|
475
|
+
"scroll-padding-right": true,
|
|
476
|
+
"scroll-padding-top": true,
|
|
477
|
+
"scroll-snap-align": true,
|
|
478
|
+
"scroll-snap-coordinate": true,
|
|
479
|
+
"scroll-snap-destination": true,
|
|
480
|
+
"scroll-snap-margin": true,
|
|
481
|
+
"scroll-snap-margin-bottom": true,
|
|
482
|
+
"scroll-snap-margin-left": true,
|
|
483
|
+
"scroll-snap-margin-right": true,
|
|
484
|
+
"scroll-snap-margin-top": true,
|
|
485
|
+
"scroll-snap-points-x": true,
|
|
486
|
+
"scroll-snap-points-y": true,
|
|
487
|
+
"scroll-snap-stop": true,
|
|
488
|
+
"scroll-snap-type": true,
|
|
489
|
+
"scroll-snap-type-x": true,
|
|
490
|
+
"scroll-snap-type-y": true,
|
|
491
|
+
"scrollbar-arrow-color": true,
|
|
492
|
+
"scrollbar-base-color": true,
|
|
493
|
+
"scrollbar-color": true,
|
|
494
|
+
"scrollbar-dark-shadow-color": true,
|
|
495
|
+
"scrollbar-darkshadow-color": true,
|
|
496
|
+
"scrollbar-face-color": true,
|
|
497
|
+
"scrollbar-gutter": true,
|
|
498
|
+
"scrollbar-highlight-color": true,
|
|
499
|
+
"scrollbar-shadow-color": true,
|
|
500
|
+
"scrollbar-track-color": true,
|
|
501
|
+
"scrollbar-width": true,
|
|
502
|
+
"scrollbar3d-light-color": true,
|
|
503
|
+
"scrollbar3dlight-color": true,
|
|
504
|
+
"shape-image-threshold": true,
|
|
505
|
+
"shape-inside": true,
|
|
506
|
+
"shape-margin": true,
|
|
507
|
+
"shape-outside": true,
|
|
508
|
+
"shape-rendering": true,
|
|
509
|
+
size: true,
|
|
510
|
+
"snap-height": true,
|
|
511
|
+
"solid-color": true,
|
|
512
|
+
"solid-opacity": true,
|
|
513
|
+
"spatial-navigation-action": true,
|
|
514
|
+
"spatial-navigation-contain": true,
|
|
515
|
+
"spatial-navigation-function": true,
|
|
516
|
+
speak: true,
|
|
517
|
+
"speak-as": true,
|
|
518
|
+
"speak-header": true,
|
|
519
|
+
"speak-numeral": true,
|
|
520
|
+
"speak-punctuation": true,
|
|
521
|
+
"speech-rate": true,
|
|
522
|
+
src: true,
|
|
523
|
+
"stop-color": true,
|
|
524
|
+
"stop-opacity": true,
|
|
525
|
+
stress: true,
|
|
526
|
+
"string-set": true,
|
|
527
|
+
stroke: true,
|
|
528
|
+
"stroke-align": true,
|
|
529
|
+
"stroke-alignment": true,
|
|
530
|
+
"stroke-break": true,
|
|
531
|
+
"stroke-color": true,
|
|
532
|
+
"stroke-dash-corner": true,
|
|
533
|
+
"stroke-dash-justify": true,
|
|
534
|
+
"stroke-dashadjust": true,
|
|
535
|
+
"stroke-dasharray": true,
|
|
536
|
+
"stroke-dashcorner": true,
|
|
537
|
+
"stroke-dashoffset": true,
|
|
538
|
+
"stroke-image": true,
|
|
539
|
+
"stroke-linecap": true,
|
|
540
|
+
"stroke-linejoin": true,
|
|
541
|
+
"stroke-miterlimit": true,
|
|
542
|
+
"stroke-opacity": true,
|
|
543
|
+
"stroke-origin": true,
|
|
544
|
+
"stroke-position": true,
|
|
545
|
+
"stroke-repeat": true,
|
|
546
|
+
"stroke-size": true,
|
|
547
|
+
"stroke-width": true,
|
|
548
|
+
"supported-color-schemes": true,
|
|
549
|
+
"tab-size": true,
|
|
550
|
+
"table-layout": true,
|
|
551
|
+
"text-align": true,
|
|
552
|
+
"text-align-all": true,
|
|
553
|
+
"text-align-last": true,
|
|
554
|
+
"text-anchor": true,
|
|
555
|
+
"text-autospace": true,
|
|
556
|
+
"text-combine-upright": true,
|
|
557
|
+
"text-decoration": true,
|
|
558
|
+
"text-decoration-blink": true,
|
|
559
|
+
"text-decoration-color": true,
|
|
560
|
+
"text-decoration-line": true,
|
|
561
|
+
"text-decoration-line-through": true,
|
|
562
|
+
"text-decoration-none": true,
|
|
563
|
+
"text-decoration-overline": true,
|
|
564
|
+
"text-decoration-skip": true,
|
|
565
|
+
"text-decoration-skip-box": true,
|
|
566
|
+
"text-decoration-skip-ink": true,
|
|
567
|
+
"text-decoration-skip-inset": true,
|
|
568
|
+
"text-decoration-skip-self": true,
|
|
569
|
+
"text-decoration-skip-spaces": true,
|
|
570
|
+
"text-decoration-style": true,
|
|
571
|
+
"text-decoration-thickness": true,
|
|
572
|
+
"text-decoration-underline": true,
|
|
573
|
+
"text-decoration-width": true,
|
|
574
|
+
"text-emphasis": true,
|
|
575
|
+
"text-emphasis-color": true,
|
|
576
|
+
"text-emphasis-position": true,
|
|
577
|
+
"text-emphasis-skip": true,
|
|
578
|
+
"text-emphasis-style": true,
|
|
579
|
+
"text-group-align": true,
|
|
580
|
+
"text-indent": true,
|
|
581
|
+
"text-justify": true,
|
|
582
|
+
"text-justify-trim": true,
|
|
583
|
+
"text-kashida": true,
|
|
584
|
+
"text-kashida-space": true,
|
|
585
|
+
"text-line-through": true,
|
|
586
|
+
"text-line-through-color": true,
|
|
587
|
+
"text-line-through-mode": true,
|
|
588
|
+
"text-line-through-style": true,
|
|
589
|
+
"text-line-through-width": true,
|
|
590
|
+
"text-orientation": true,
|
|
591
|
+
"text-overflow": true,
|
|
592
|
+
"text-overline": true,
|
|
593
|
+
"text-overline-color": true,
|
|
594
|
+
"text-overline-mode": true,
|
|
595
|
+
"text-overline-style": true,
|
|
596
|
+
"text-overline-width": true,
|
|
597
|
+
"text-rendering": true,
|
|
598
|
+
"text-shadow": true,
|
|
599
|
+
"text-size-adjust": true,
|
|
600
|
+
"text-space-collapse": true,
|
|
601
|
+
"text-space-trim": true,
|
|
602
|
+
"text-spacing": true,
|
|
603
|
+
"text-transform": true,
|
|
604
|
+
"text-underline": true,
|
|
605
|
+
"text-underline-color": true,
|
|
606
|
+
"text-underline-mode": true,
|
|
607
|
+
"text-underline-offset": true,
|
|
608
|
+
"text-underline-position": true,
|
|
609
|
+
"text-underline-style": true,
|
|
610
|
+
"text-underline-width": true,
|
|
611
|
+
"text-wrap": true,
|
|
612
|
+
top: true,
|
|
613
|
+
"touch-action": true,
|
|
614
|
+
"touch-action-delay": true,
|
|
615
|
+
transform: true,
|
|
616
|
+
"transform-box": true,
|
|
617
|
+
"transform-origin": true,
|
|
618
|
+
"transform-origin-x": true,
|
|
619
|
+
"transform-origin-y": true,
|
|
620
|
+
"transform-origin-z": true,
|
|
621
|
+
"transform-style": true,
|
|
622
|
+
transition: true,
|
|
623
|
+
"transition-delay": true,
|
|
624
|
+
"transition-duration": true,
|
|
625
|
+
"transition-property": true,
|
|
626
|
+
"transition-timing-function": true,
|
|
627
|
+
translate: true,
|
|
628
|
+
"uc-alt-skin": true,
|
|
629
|
+
"uc-skin": true,
|
|
630
|
+
"unicode-bidi": true,
|
|
631
|
+
"unicode-range": true,
|
|
632
|
+
"user-select": true,
|
|
633
|
+
"user-zoom": true,
|
|
634
|
+
"vector-effect": true,
|
|
635
|
+
"vertical-align": true,
|
|
636
|
+
"viewport-fill": true,
|
|
637
|
+
"viewport-fill-opacity": true,
|
|
638
|
+
"viewport-fit": true,
|
|
639
|
+
visibility: true,
|
|
640
|
+
"voice-family": true,
|
|
641
|
+
volume: true,
|
|
642
|
+
"white-space": true,
|
|
643
|
+
widows: true,
|
|
644
|
+
width: true,
|
|
645
|
+
"will-change": true,
|
|
646
|
+
"word-boundary-detection": true,
|
|
647
|
+
"word-boundary-expansion": true,
|
|
648
|
+
"word-break": true,
|
|
649
|
+
"word-spacing": true,
|
|
650
|
+
"word-wrap": true,
|
|
651
|
+
"wrap-after": true,
|
|
652
|
+
"wrap-before": true,
|
|
653
|
+
"wrap-flow": true,
|
|
654
|
+
"wrap-inside": true,
|
|
655
|
+
"wrap-through": true,
|
|
656
|
+
"writing-mode": true,
|
|
657
|
+
x: true,
|
|
658
|
+
y: true,
|
|
659
|
+
"z-index": true,
|
|
660
|
+
zoom: true,
|
|
661
|
+
};
|
|
662
|
+
export default SafeStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/wizardx-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.12.0",
|
|
4
4
|
"author": "Moncef Hammou (moncef@legalplace.fr)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@legalplace/model-healthcheck": "^1.1.5",
|
|
27
27
|
"@legalplace/referencesparser": "^3.1.16",
|
|
28
28
|
"@legalplace/storybook": "^2.171.0",
|
|
29
|
-
"@legalplace/typeorm-constants": "^3.
|
|
29
|
+
"@legalplace/typeorm-constants": "^3.31.0",
|
|
30
30
|
"@loadable/component": "^5.15.0",
|
|
31
31
|
"@redux-saga/core": "^1.1.3",
|
|
32
32
|
"connected-react-router": "^6.8.0",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"xss": "^1.0.9"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@legalplace/data-gouv": "^1.5.
|
|
57
|
+
"@legalplace/data-gouv": "^1.5.9",
|
|
58
58
|
"@legalplace/eslint-config": "^2.2.0",
|
|
59
|
-
"@legalplace/models-v3-types": "^5.11.
|
|
59
|
+
"@legalplace/models-v3-types": "^5.11.3",
|
|
60
60
|
"@legalplace/prettier-config": "^2.1.3",
|
|
61
|
-
"@legalplace/typeorm-entities": "^5.29.
|
|
61
|
+
"@legalplace/typeorm-entities": "^5.29.5",
|
|
62
62
|
"@swc-node/jest": "^1.3.2",
|
|
63
63
|
"@swc/core": "^1.2.93",
|
|
64
64
|
"@swc/jest": "^0.2.4",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"*.test.ts",
|
|
97
97
|
"*.test.tsx"
|
|
98
98
|
],
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "2093b083375c01f6593ba357465ebded937b7b86"
|
|
100
100
|
}
|