@avs/go-react 0.12.71731 → 0.13.71740

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 (46) hide show
  1. package/demo/node_modules/.vite/deps/@polymer_iron-resizable-behavior_iron-resizable-behavior__js.js +2321 -0
  2. package/demo/node_modules/.vite/deps/@polymer_iron-resizable-behavior_iron-resizable-behavior__js.js.map +7 -0
  3. package/demo/node_modules/.vite/deps/@polymer_polymer_lib_legacy_class__js.js +13 -0
  4. package/demo/node_modules/.vite/deps/@polymer_polymer_lib_legacy_class__js.js.map +7 -0
  5. package/demo/node_modules/.vite/deps/@polymer_polymer_lib_utils_mixin__js.js +8 -0
  6. package/demo/node_modules/.vite/deps/@polymer_polymer_lib_utils_mixin__js.js.map +7 -0
  7. package/demo/node_modules/.vite/deps/@polymer_polymer_lib_utils_render-status__js.js +12 -0
  8. package/demo/node_modules/.vite/deps/@polymer_polymer_lib_utils_render-status__js.js.map +7 -0
  9. package/demo/node_modules/.vite/deps/@polymer_polymer_polymer-element__js.js +15 -0
  10. package/demo/node_modules/.vite/deps/@polymer_polymer_polymer-element__js.js.map +7 -0
  11. package/demo/node_modules/.vite/deps/_metadata.json +103 -0
  12. package/demo/node_modules/.vite/deps/chunk-6HI7N2AN.js +267 -0
  13. package/demo/node_modules/.vite/deps/chunk-6HI7N2AN.js.map +7 -0
  14. package/demo/node_modules/.vite/deps/chunk-BHAOVVTR.js +4597 -0
  15. package/demo/node_modules/.vite/deps/chunk-BHAOVVTR.js.map +7 -0
  16. package/demo/node_modules/.vite/deps/chunk-BSA4YZO6.js +83 -0
  17. package/demo/node_modules/.vite/deps/chunk-BSA4YZO6.js.map +7 -0
  18. package/demo/node_modules/.vite/deps/chunk-BUSYA2B4.js +8 -0
  19. package/demo/node_modules/.vite/deps/chunk-BUSYA2B4.js.map +7 -0
  20. package/demo/node_modules/.vite/deps/chunk-CWUEONQP.js +991 -0
  21. package/demo/node_modules/.vite/deps/chunk-CWUEONQP.js.map +7 -0
  22. package/demo/node_modules/.vite/deps/chunk-I2HDYNON.js +46 -0
  23. package/demo/node_modules/.vite/deps/chunk-I2HDYNON.js.map +7 -0
  24. package/demo/node_modules/.vite/deps/chunk-MXBCLPIN.js +5 -0
  25. package/demo/node_modules/.vite/deps/chunk-MXBCLPIN.js.map +7 -0
  26. package/demo/node_modules/.vite/deps/chunk-PRUGAEYJ.js +4871 -0
  27. package/demo/node_modules/.vite/deps/chunk-PRUGAEYJ.js.map +7 -0
  28. package/demo/node_modules/.vite/deps/chunk-QQPVW2K2.js +62 -0
  29. package/demo/node_modules/.vite/deps/chunk-QQPVW2K2.js.map +7 -0
  30. package/demo/node_modules/.vite/deps/package.json +3 -0
  31. package/demo/node_modules/.vite/deps/react-dom.js +6 -0
  32. package/demo/node_modules/.vite/deps/react-dom.js.map +7 -0
  33. package/demo/node_modules/.vite/deps/react-dom_client.js +20193 -0
  34. package/demo/node_modules/.vite/deps/react-dom_client.js.map +7 -0
  35. package/demo/node_modules/.vite/deps/react.js +5 -0
  36. package/demo/node_modules/.vite/deps/react.js.map +7 -0
  37. package/demo/node_modules/.vite/deps/react_jsx-dev-runtime.js +265 -0
  38. package/demo/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +7 -0
  39. package/demo/node_modules/.vite/deps/react_jsx-runtime.js +276 -0
  40. package/demo/node_modules/.vite/deps/react_jsx-runtime.js.map +7 -0
  41. package/demo/node_modules/.vite/deps/three.js +41878 -0
  42. package/demo/node_modules/.vite/deps/three.js.map +7 -0
  43. package/demo/public/hydrogen.json +1 -1
  44. package/demo/src/App.tsx +17 -17
  45. package/package.json +3 -3
  46. package/src/AvsGoDataViz.jsx +2 -0
@@ -0,0 +1,83 @@
1
+ import {
2
+ ElementMixin
3
+ } from "./chunk-PRUGAEYJ.js";
4
+
5
+ // ../../../node_modules/@polymer/polymer/lib/utils/html-tag.js
6
+ var policy = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (s) => s });
7
+ var LiteralString = class {
8
+ /**
9
+ * @param {!ITemplateArray} strings Constant parts of tagged template literal
10
+ * @param {!Array<*>} values Variable parts of tagged template literal
11
+ */
12
+ constructor(strings, values) {
13
+ assertValidTemplateStringParameters(strings, values);
14
+ const string = values.reduce(
15
+ (acc, v, idx) => acc + literalValue(v) + strings[idx + 1],
16
+ strings[0]
17
+ );
18
+ this.value = string.toString();
19
+ }
20
+ /**
21
+ * @return {string} LiteralString string value
22
+ * @override
23
+ */
24
+ toString() {
25
+ return this.value;
26
+ }
27
+ };
28
+ function literalValue(value) {
29
+ if (value instanceof LiteralString) {
30
+ return (
31
+ /** @type {!LiteralString} */
32
+ value.value
33
+ );
34
+ } else {
35
+ throw new Error(
36
+ `non-literal value passed to Polymer's htmlLiteral function: ${value}`
37
+ );
38
+ }
39
+ }
40
+ function htmlValue(value) {
41
+ if (value instanceof HTMLTemplateElement) {
42
+ return (
43
+ /** @type {!HTMLTemplateElement } */
44
+ value.innerHTML
45
+ );
46
+ } else if (value instanceof LiteralString) {
47
+ return literalValue(value);
48
+ } else {
49
+ throw new Error(
50
+ `non-template value passed to Polymer's html function: ${value}`
51
+ );
52
+ }
53
+ }
54
+ var html = function html2(strings, ...values) {
55
+ assertValidTemplateStringParameters(strings, values);
56
+ const template = (
57
+ /** @type {!HTMLTemplateElement} */
58
+ document.createElement("template")
59
+ );
60
+ let value = values.reduce(
61
+ (acc, v, idx) => acc + htmlValue(v) + strings[idx + 1],
62
+ strings[0]
63
+ );
64
+ if (policy) {
65
+ value = policy.createHTML(value);
66
+ }
67
+ template.innerHTML = value;
68
+ return template;
69
+ };
70
+ var assertValidTemplateStringParameters = (strings, values) => {
71
+ if (!Array.isArray(strings) || !Array.isArray(strings.raw) || values.length !== strings.length - 1) {
72
+ throw new TypeError("Invalid call to the html template tag");
73
+ }
74
+ };
75
+
76
+ // ../../../node_modules/@polymer/polymer/polymer-element.js
77
+ var PolymerElement = ElementMixin(HTMLElement);
78
+
79
+ export {
80
+ html,
81
+ PolymerElement
82
+ };
83
+ //# sourceMappingURL=chunk-BSA4YZO6.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../node_modules/@polymer/polymer/lib/utils/html-tag.js", "../../../../../../node_modules/@polymer/polymer/polymer-element.js"],
4
+ "sourcesContent": ["/**\n@license\nCopyright (c) 2017 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n*/\nimport './boot.js';\n\n/**\n * Our TrustedTypePolicy for HTML which is declared using the Polymer html\n * template tag function.\n *\n * That HTML is a developer-authored constant, and is parsed with innerHTML\n * before any untrusted expressions have been mixed in. Therefor it is\n * considered safe by construction.\n *\n * @type {!TrustedTypePolicy|undefined}\n */\nconst policy = window.trustedTypes &&\n trustedTypes.createPolicy('polymer-html-literal', {createHTML: (s) => s});\n\n/**\n * Class representing a static string value which can be used to filter\n * strings by asseting that they have been created via this class. The\n * `value` property returns the string passed to the constructor.\n */\nclass LiteralString {\n /**\n * @param {!ITemplateArray} strings Constant parts of tagged template literal\n * @param {!Array<*>} values Variable parts of tagged template literal\n */\n constructor(strings, values) {\n assertValidTemplateStringParameters(strings, values);\n const string = values.reduce(\n (acc, v, idx) => acc + literalValue(v) + strings[idx + 1], strings[0]);\n /** @type {string} */\n this.value = string.toString();\n }\n /**\n * @return {string} LiteralString string value\n * @override\n */\n toString() {\n return this.value;\n }\n}\n\n/**\n * @param {*} value Object to stringify into HTML\n * @return {string} HTML stringified form of `obj`\n */\nfunction literalValue(value) {\n if (value instanceof LiteralString) {\n return /** @type {!LiteralString} */(value).value;\n } else {\n throw new Error(\n `non-literal value passed to Polymer's htmlLiteral function: ${value}`\n );\n }\n}\n\n/**\n * @param {*} value Object to stringify into HTML\n * @return {string} HTML stringified form of `obj`\n */\nfunction htmlValue(value) {\n if (value instanceof HTMLTemplateElement) {\n // This might be an mXSS risk – mainly in the case where this template\n // contains untrusted content that was believed to be sanitized.\n // However we can't just use the XMLSerializer here because it misencodes\n // `>` characters inside style tags.\n // For an example of an actual case that hit this encoding issue,\n // see b/198592167\n return /** @type {!HTMLTemplateElement } */(value).innerHTML;\n } else if (value instanceof LiteralString) {\n return literalValue(value);\n } else {\n throw new Error(\n `non-template value passed to Polymer's html function: ${value}`);\n }\n}\n\n/**\n * A template literal tag that creates an HTML <template> element from the\n * contents of the string.\n *\n * This allows you to write a Polymer Template in JavaScript.\n *\n * Templates can be composed by interpolating `HTMLTemplateElement`s in\n * expressions in the JavaScript template literal. The nested template's\n * `innerHTML` is included in the containing template. The only other\n * values allowed in expressions are those returned from `htmlLiteral`\n * which ensures only literal values from JS source ever reach the HTML, to\n * guard against XSS risks.\n *\n * All other values are disallowed in expressions to help prevent XSS\n * attacks; however, `htmlLiteral` can be used to compose static\n * string values into templates. This is useful to compose strings into\n * places that do not accept html, like the css text of a `style`\n * element.\n *\n * Example:\n *\n * static get template() {\n * return html`\n * <style>:host{ content:\"...\" }</style>\n * <div class=\"shadowed\">${this.partialTemplate}</div>\n * ${super.template}\n * `;\n * }\n * static get partialTemplate() { return html`<span>Partial!</span>`; }\n *\n * @param {!ITemplateArray} strings Constant parts of tagged template literal\n * @param {...*} values Variable parts of tagged template literal\n * @return {!HTMLTemplateElement} Constructed HTMLTemplateElement\n */\nexport const html = function html(strings, ...values) {\n assertValidTemplateStringParameters(strings, values);\n const template =\n /** @type {!HTMLTemplateElement} */ (document.createElement('template'));\n let value = values.reduce(\n (acc, v, idx) => acc + htmlValue(v) + strings[idx + 1], strings[0]);\n if (policy) {\n value = policy.createHTML(value);\n }\n template.innerHTML = value;\n return template;\n};\n\n/**\n * @param {!ITemplateArray} strings Constant parts of tagged template literal\n * @param {!Array<*>} values Array of values from quasis\n */\nconst assertValidTemplateStringParameters = (strings, values) => {\n // Note: if/when https://github.com/tc39/proposal-array-is-template-object\n // is standardized, use that instead when available, as it can perform an\n // unforgable check (though of course, the function itself can be forged).\n if (!Array.isArray(strings) || !Array.isArray(strings.raw) ||\n (values.length !== strings.length - 1)) {\n // This is either caused by a browser bug, a compiler bug, or someone\n // calling the html template tag function as a regular function.\n //\n throw new TypeError('Invalid call to the html template tag');\n }\n};\n\n/**\n * An html literal tag that can be used with `html` to compose.\n * a literal string.\n *\n * Example:\n *\n * static get template() {\n * return html`\n * <style>\n * :host { display: block; }\n * ${this.styleTemplate()}\n * </style>\n * <div class=\"shadowed\">${staticValue}</div>\n * ${super.template}\n * `;\n * }\n * static get styleTemplate() {\n * return htmlLiteral`.shadowed { background: gray; }`;\n * }\n *\n * @param {!ITemplateArray} strings Constant parts of tagged template literal\n * @param {...*} values Variable parts of tagged template literal\n * @return {!LiteralString} Constructed literal string\n */\nexport const htmlLiteral = function(strings, ...values) {\n return new LiteralString(strings, values);\n};\n", "/**\n@license\nCopyright (c) 2017 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n*/\n\nimport { ElementMixin, version } from './lib/mixins/element-mixin.js';\nexport { html } from './lib/utils/html-tag.js';\n\nexport { version };\n\n/**\n * Base class that provides the core API for Polymer's meta-programming\n * features including template stamping, data-binding, attribute deserialization,\n * and property change observation.\n *\n * @customElement\n * @polymer\n * @constructor\n * @implements {Polymer_ElementMixin}\n * @extends HTMLElement\n * @appliesMixin ElementMixin\n * @summary Custom element base class that provides the core API for Polymer's\n * key meta-programming features including template stamping, data-binding,\n * attribute deserialization, and property change observation\n */\nexport const PolymerElement = ElementMixin(HTMLElement);\n"],
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WAAS,YAAY;AACrB,SAAO;AACT;AAMA,IAAM,sCAAsC,CAAC,SAAS,WAAW;AAI/D,MAAI,CAAC,MAAM,QAAQ,OAAO,KAAK,CAAC,MAAM,QAAQ,QAAQ,GAAG,KACpD,OAAO,WAAW,QAAQ,SAAS,GAAI;AAI1C,UAAM,IAAI,UAAU,uCAAuC;AAAA,EAC7D;AACF;;;ACrHO,IAAM,iBAAiB,aAAa,WAAW;",
6
+ "names": ["html"]
7
+ }
@@ -0,0 +1,8 @@
1
+ var __getOwnPropNames = Object.getOwnPropertyNames;
2
+ var __commonJS = (cb, mod) => function __require() {
3
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
4
+ };
5
+
6
+ export {
7
+ __commonJS
8
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }