@phillips/seldon 1.67.0 → 1.67.1

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 (43) hide show
  1. package/dist/components/Search/SearchResults/SearchResults.js +17 -21
  2. package/dist/scss/componentStyles.scss +0 -1
  3. package/package.json +1 -1
  4. package/dist/_virtual/attributes-to-props.js +0 -4
  5. package/dist/_virtual/constants.js +0 -4
  6. package/dist/_virtual/dom-to-react.js +0 -4
  7. package/dist/_virtual/domparser.js +0 -4
  8. package/dist/_virtual/html-to-dom.js +0 -4
  9. package/dist/_virtual/index10.js +0 -4
  10. package/dist/_virtual/index11.js +0 -4
  11. package/dist/_virtual/index7.js +0 -4
  12. package/dist/_virtual/index8.js +0 -4
  13. package/dist/_virtual/index9.js +0 -4
  14. package/dist/_virtual/node.js +0 -4
  15. package/dist/_virtual/possibleStandardNamesOptimized.js +0 -4
  16. package/dist/_virtual/utilities.js +0 -4
  17. package/dist/_virtual/utilities2.js +0 -4
  18. package/dist/_virtual/utilities3.js +0 -4
  19. package/dist/components/HTMLParser/HTMLParser.d.ts +0 -24
  20. package/dist/components/HTMLParser/HTMLParser.js +0 -21
  21. package/dist/components/HTMLParser/index.d.ts +0 -1
  22. package/dist/components/HTMLParser/utils.d.ts +0 -7
  23. package/dist/components/HTMLParser/utils.js +0 -31
  24. package/dist/node_modules/domelementtype/lib/index.js +0 -12
  25. package/dist/node_modules/domhandler/lib/index.js +0 -84
  26. package/dist/node_modules/domhandler/lib/node.js +0 -356
  27. package/dist/node_modules/dompurify/dist/purify.es.js +0 -522
  28. package/dist/node_modules/html-dom-parser/lib/client/constants.js +0 -38
  29. package/dist/node_modules/html-dom-parser/lib/client/domparser.js +0 -56
  30. package/dist/node_modules/html-dom-parser/lib/client/html-to-dom.js +0 -20
  31. package/dist/node_modules/html-dom-parser/lib/client/utilities.js +0 -55
  32. package/dist/node_modules/html-react-parser/esm/index.js +0 -7
  33. package/dist/node_modules/html-react-parser/lib/attributes-to-props.js +0 -40
  34. package/dist/node_modules/html-react-parser/lib/dom-to-react.js +0 -60
  35. package/dist/node_modules/html-react-parser/lib/index.js +0 -42
  36. package/dist/node_modules/html-react-parser/lib/utilities.js +0 -58
  37. package/dist/node_modules/inline-style-parser/index.js +0 -86
  38. package/dist/node_modules/react-property/lib/index.js +0 -440
  39. package/dist/node_modules/react-property/lib/possibleStandardNamesOptimized.js +0 -493
  40. package/dist/node_modules/style-to-js/cjs/index.js +0 -19
  41. package/dist/node_modules/style-to-js/cjs/utilities.js +0 -16
  42. package/dist/node_modules/style-to-object/cjs/index.js +0 -21
  43. package/dist/scss/components/HTMLParser/_htmlParser.scss +0 -5
@@ -1,356 +0,0 @@
1
- import { commonjsGlobal as p } from "../../../_virtual/_commonjsHelpers.js";
2
- import { __exports as r } from "../../../_virtual/node.js";
3
- import "../../domelementtype/lib/index.js";
4
- import { __exports as I } from "../../../_virtual/index10.js";
5
- var s = p && p.__extends || /* @__PURE__ */ function() {
6
- var e = function(t, n) {
7
- return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, o) {
8
- i.__proto__ = o;
9
- } || function(i, o) {
10
- for (var a in o) Object.prototype.hasOwnProperty.call(o, a) && (i[a] = o[a]);
11
- }, e(t, n);
12
- };
13
- return function(t, n) {
14
- if (typeof n != "function" && n !== null)
15
- throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");
16
- e(t, n);
17
- function i() {
18
- this.constructor = t;
19
- }
20
- t.prototype = n === null ? Object.create(n) : (i.prototype = n.prototype, new i());
21
- };
22
- }(), c = p && p.__assign || function() {
23
- return c = Object.assign || function(e) {
24
- for (var t, n = 1, i = arguments.length; n < i; n++) {
25
- t = arguments[n];
26
- for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
27
- }
28
- return e;
29
- }, c.apply(this, arguments);
30
- };
31
- Object.defineProperty(r, "__esModule", { value: !0 });
32
- r.cloneNode = r.hasChildren = r.isDocument = r.isDirective = r.isComment = r.isText = r.isCDATA = r.isTag = r.Element = r.Document = r.CDATA = r.NodeWithChildren = r.ProcessingInstruction = r.Comment = r.Text = r.DataNode = r.Node = void 0;
33
- var u = I, b = (
34
- /** @class */
35
- function() {
36
- function e() {
37
- this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
38
- }
39
- return Object.defineProperty(e.prototype, "parentNode", {
40
- // Read-write aliases for properties
41
- /**
42
- * Same as {@link parent}.
43
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
44
- */
45
- get: function() {
46
- return this.parent;
47
- },
48
- set: function(t) {
49
- this.parent = t;
50
- },
51
- enumerable: !1,
52
- configurable: !0
53
- }), Object.defineProperty(e.prototype, "previousSibling", {
54
- /**
55
- * Same as {@link prev}.
56
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
57
- */
58
- get: function() {
59
- return this.prev;
60
- },
61
- set: function(t) {
62
- this.prev = t;
63
- },
64
- enumerable: !1,
65
- configurable: !0
66
- }), Object.defineProperty(e.prototype, "nextSibling", {
67
- /**
68
- * Same as {@link next}.
69
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
70
- */
71
- get: function() {
72
- return this.next;
73
- },
74
- set: function(t) {
75
- this.next = t;
76
- },
77
- enumerable: !1,
78
- configurable: !0
79
- }), e.prototype.cloneNode = function(t) {
80
- return t === void 0 && (t = !1), g(this, t);
81
- }, e;
82
- }()
83
- );
84
- r.Node = b;
85
- var m = (
86
- /** @class */
87
- function(e) {
88
- s(t, e);
89
- function t(n) {
90
- var i = e.call(this) || this;
91
- return i.data = n, i;
92
- }
93
- return Object.defineProperty(t.prototype, "nodeValue", {
94
- /**
95
- * Same as {@link data}.
96
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
97
- */
98
- get: function() {
99
- return this.data;
100
- },
101
- set: function(n) {
102
- this.data = n;
103
- },
104
- enumerable: !1,
105
- configurable: !0
106
- }), t;
107
- }(b)
108
- );
109
- r.DataNode = m;
110
- var v = (
111
- /** @class */
112
- function(e) {
113
- s(t, e);
114
- function t() {
115
- var n = e !== null && e.apply(this, arguments) || this;
116
- return n.type = u.ElementType.Text, n;
117
- }
118
- return Object.defineProperty(t.prototype, "nodeType", {
119
- get: function() {
120
- return 3;
121
- },
122
- enumerable: !1,
123
- configurable: !0
124
- }), t;
125
- }(m)
126
- );
127
- r.Text = v;
128
- var x = (
129
- /** @class */
130
- function(e) {
131
- s(t, e);
132
- function t() {
133
- var n = e !== null && e.apply(this, arguments) || this;
134
- return n.type = u.ElementType.Comment, n;
135
- }
136
- return Object.defineProperty(t.prototype, "nodeType", {
137
- get: function() {
138
- return 8;
139
- },
140
- enumerable: !1,
141
- configurable: !0
142
- }), t;
143
- }(m)
144
- );
145
- r.Comment = x;
146
- var T = (
147
- /** @class */
148
- function(e) {
149
- s(t, e);
150
- function t(n, i) {
151
- var o = e.call(this, i) || this;
152
- return o.name = n, o.type = u.ElementType.Directive, o;
153
- }
154
- return Object.defineProperty(t.prototype, "nodeType", {
155
- get: function() {
156
- return 1;
157
- },
158
- enumerable: !1,
159
- configurable: !0
160
- }), t;
161
- }(m)
162
- );
163
- r.ProcessingInstruction = T;
164
- var h = (
165
- /** @class */
166
- function(e) {
167
- s(t, e);
168
- function t(n) {
169
- var i = e.call(this) || this;
170
- return i.children = n, i;
171
- }
172
- return Object.defineProperty(t.prototype, "firstChild", {
173
- // Aliases
174
- /** First child of the node. */
175
- get: function() {
176
- var n;
177
- return (n = this.children[0]) !== null && n !== void 0 ? n : null;
178
- },
179
- enumerable: !1,
180
- configurable: !0
181
- }), Object.defineProperty(t.prototype, "lastChild", {
182
- /** Last child of the node. */
183
- get: function() {
184
- return this.children.length > 0 ? this.children[this.children.length - 1] : null;
185
- },
186
- enumerable: !1,
187
- configurable: !0
188
- }), Object.defineProperty(t.prototype, "childNodes", {
189
- /**
190
- * Same as {@link children}.
191
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
192
- */
193
- get: function() {
194
- return this.children;
195
- },
196
- set: function(n) {
197
- this.children = n;
198
- },
199
- enumerable: !1,
200
- configurable: !0
201
- }), t;
202
- }(b)
203
- );
204
- r.NodeWithChildren = h;
205
- var C = (
206
- /** @class */
207
- function(e) {
208
- s(t, e);
209
- function t() {
210
- var n = e !== null && e.apply(this, arguments) || this;
211
- return n.type = u.ElementType.CDATA, n;
212
- }
213
- return Object.defineProperty(t.prototype, "nodeType", {
214
- get: function() {
215
- return 4;
216
- },
217
- enumerable: !1,
218
- configurable: !0
219
- }), t;
220
- }(h)
221
- );
222
- r.CDATA = C;
223
- var P = (
224
- /** @class */
225
- function(e) {
226
- s(t, e);
227
- function t() {
228
- var n = e !== null && e.apply(this, arguments) || this;
229
- return n.type = u.ElementType.Root, n;
230
- }
231
- return Object.defineProperty(t.prototype, "nodeType", {
232
- get: function() {
233
- return 9;
234
- },
235
- enumerable: !1,
236
- configurable: !0
237
- }), t;
238
- }(h)
239
- );
240
- r.Document = P;
241
- var O = (
242
- /** @class */
243
- function(e) {
244
- s(t, e);
245
- function t(n, i, o, a) {
246
- o === void 0 && (o = []), a === void 0 && (a = n === "script" ? u.ElementType.Script : n === "style" ? u.ElementType.Style : u.ElementType.Tag);
247
- var l = e.call(this, o) || this;
248
- return l.name = n, l.attribs = i, l.type = a, l;
249
- }
250
- return Object.defineProperty(t.prototype, "nodeType", {
251
- get: function() {
252
- return 1;
253
- },
254
- enumerable: !1,
255
- configurable: !0
256
- }), Object.defineProperty(t.prototype, "tagName", {
257
- // DOM Level 1 aliases
258
- /**
259
- * Same as {@link name}.
260
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
261
- */
262
- get: function() {
263
- return this.name;
264
- },
265
- set: function(n) {
266
- this.name = n;
267
- },
268
- enumerable: !1,
269
- configurable: !0
270
- }), Object.defineProperty(t.prototype, "attributes", {
271
- get: function() {
272
- var n = this;
273
- return Object.keys(this.attribs).map(function(i) {
274
- var o, a;
275
- return {
276
- name: i,
277
- value: n.attribs[i],
278
- namespace: (o = n["x-attribsNamespace"]) === null || o === void 0 ? void 0 : o[i],
279
- prefix: (a = n["x-attribsPrefix"]) === null || a === void 0 ? void 0 : a[i]
280
- };
281
- });
282
- },
283
- enumerable: !1,
284
- configurable: !0
285
- }), t;
286
- }(h)
287
- );
288
- r.Element = O;
289
- function D(e) {
290
- return (0, u.isTag)(e);
291
- }
292
- r.isTag = D;
293
- function j(e) {
294
- return e.type === u.ElementType.CDATA;
295
- }
296
- r.isCDATA = j;
297
- function N(e) {
298
- return e.type === u.ElementType.Text;
299
- }
300
- r.isText = N;
301
- function E(e) {
302
- return e.type === u.ElementType.Comment;
303
- }
304
- r.isComment = E;
305
- function A(e) {
306
- return e.type === u.ElementType.Directive;
307
- }
308
- r.isDirective = A;
309
- function _(e) {
310
- return e.type === u.ElementType.Root;
311
- }
312
- r.isDocument = _;
313
- function S(e) {
314
- return Object.prototype.hasOwnProperty.call(e, "children");
315
- }
316
- r.hasChildren = S;
317
- function g(e, t) {
318
- t === void 0 && (t = !1);
319
- var n;
320
- if (N(e))
321
- n = new v(e.data);
322
- else if (E(e))
323
- n = new x(e.data);
324
- else if (D(e)) {
325
- var i = t ? d(e.children) : [], o = new O(e.name, c({}, e.attribs), i);
326
- i.forEach(function(w) {
327
- return w.parent = o;
328
- }), e.namespace != null && (o.namespace = e.namespace), e["x-attribsNamespace"] && (o["x-attribsNamespace"] = c({}, e["x-attribsNamespace"])), e["x-attribsPrefix"] && (o["x-attribsPrefix"] = c({}, e["x-attribsPrefix"])), n = o;
329
- } else if (j(e)) {
330
- var i = t ? d(e.children) : [], a = new C(i);
331
- i.forEach(function(y) {
332
- return y.parent = a;
333
- }), n = a;
334
- } else if (_(e)) {
335
- var i = t ? d(e.children) : [], l = new P(i);
336
- i.forEach(function(y) {
337
- return y.parent = l;
338
- }), e["x-mode"] && (l["x-mode"] = e["x-mode"]), n = l;
339
- } else if (A(e)) {
340
- var f = new T(e.name, e.data);
341
- e["x-name"] != null && (f["x-name"] = e["x-name"], f["x-publicId"] = e["x-publicId"], f["x-systemId"] = e["x-systemId"]), n = f;
342
- } else
343
- throw new Error("Not implemented yet: ".concat(e.type));
344
- return n.startIndex = e.startIndex, n.endIndex = e.endIndex, e.sourceCodeLocation != null && (n.sourceCodeLocation = e.sourceCodeLocation), n;
345
- }
346
- r.cloneNode = g;
347
- function d(e) {
348
- for (var t = e.map(function(i) {
349
- return g(i, !0);
350
- }), n = 1; n < t.length; n++)
351
- t[n].prev = t[n - 1], t[n - 1].next = t[n];
352
- return t;
353
- }
354
- export {
355
- r as default
356
- };