@openremote/manager 1.8.0-snapshot.20250725120000 → 1.8.0-snapshot.20250725123024
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/bundle.5f4402fd359cc316.js +3678 -0
- package/dist/bundle.ddd2e478dcd11d3c.js +3678 -0
- package/dist/images/Icon-128.png +0 -0
- package/dist/images/Icon-144.png +0 -0
- package/dist/images/Icon-196.png +0 -0
- package/dist/images/Icon-256.png +0 -0
- package/dist/images/Icon-48.png +0 -0
- package/dist/images/Icon-512.png +0 -0
- package/dist/images/Icon-72.png +0 -0
- package/dist/images/favicon.ico +0 -0
- package/dist/index.html +19 -0
- package/dist/modules/@webcomponents/webcomponentsjs/CHANGELOG.md +76 -0
- package/dist/modules/@webcomponents/webcomponentsjs/LICENSE.md +19 -0
- package/dist/modules/@webcomponents/webcomponentsjs/README.md +259 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-ce.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-ce.js.map +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_dom.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_dom.js.map +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_js.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_js.js.map +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd.js.map +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/package.json +51 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-pf_dom-index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-pf_js-index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/flag-parser.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/baseuri.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/after.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/before.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/remove.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/replace-with.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/custom-event.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/es6-misc.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/event-listener-options.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/get-attribute-names.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/matches.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/append.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/index.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/prepend.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/replace-children.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/promise.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/svg-element-class-list.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/symbol.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/platform/toggle-attribute.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/src/unresolved.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-bundle.d.ts +175 -0
- package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js.map +1 -0
- package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-loader.js +1 -0
- package/index.html +88 -88
- package/lib/components/alarms/or-alarms-table.js +56 -56
- package/lib/components/configuration/or-conf-json.js +25 -25
- package/lib/components/configuration/or-conf-map/or-conf-map-card.js +177 -177
- package/lib/components/configuration/or-conf-map/or-conf-map-geojson.js +24 -24
- package/lib/components/configuration/or-conf-map/or-conf-map-global.js +153 -153
- package/lib/components/configuration/or-conf-panel.js +43 -43
- package/lib/components/configuration/or-conf-realm/or-conf-realm-card.js +200 -200
- package/lib/pages/page-account.js +243 -243
- package/lib/pages/page-alarms.js +369 -369
- package/lib/pages/page-assets.js +100 -100
- package/lib/pages/page-configuration.js +152 -152
- package/lib/pages/page-export.js +191 -191
- package/lib/pages/page-gateway-tunnel.js +106 -106
- package/lib/pages/page-gateway.js +252 -252
- package/lib/pages/page-insights.js +19 -19
- package/lib/pages/page-logs.js +11 -11
- package/lib/pages/page-map.js +37 -37
- package/lib/pages/page-provisioning.js +294 -294
- package/lib/pages/page-realms.js +284 -284
- package/lib/pages/page-roles.js +279 -279
- package/lib/pages/page-rules.js +11 -11
- package/lib/pages/page-users.js +383 -383
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;let t=HTMLElement;window.HTMLElement=({HTMLElement:function(){return Reflect.construct(t,[],this.constructor)}}).HTMLElement,HTMLElement.prototype=t.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,t)}()}();
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@webcomponents/webcomponentsjs",
|
|
3
|
+
"version": "2.8.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"description": "Web Components Polyfills",
|
|
8
|
+
"license": "BSD-3-Clause",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/webcomponents/polyfills.git",
|
|
12
|
+
"directory": "packages/webcomponentsjs"
|
|
13
|
+
},
|
|
14
|
+
"author": "The Polymer Project Authors (https://polymer.github.io/AUTHORS.txt)",
|
|
15
|
+
"homepage": "https://github.com/webcomponents/polyfills/tree/master/packages/webcomponentsjs",
|
|
16
|
+
"bugs": "https://github.com/webcomponents/polyfills/issues?q=is%3Aissue+is%3Aopen+label%3A\"Package%3A+webcomponentsjs\"",
|
|
17
|
+
"main": "webcomponents-bundle.js",
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsc && gulp",
|
|
20
|
+
"build:watch": "chokidar --initial --follow-symlinks 'src/entrypoints/**/*.js' 'ts_src/**/*.ts' 'node_modules/@webcomponents/**/*.js' -c 'npm run build'",
|
|
21
|
+
"clean": "gulp clean",
|
|
22
|
+
"prepack": "npm run build",
|
|
23
|
+
"regen-package-lock": "rm -rf node_modules package-lock.json; npm install"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"bundles/**/*",
|
|
27
|
+
"CHANGELOG.md",
|
|
28
|
+
"custom-elements-es5-adapter.js",
|
|
29
|
+
"src/**/*.js",
|
|
30
|
+
"webcomponents-bundle.d.ts",
|
|
31
|
+
"webcomponents-bundle.js*",
|
|
32
|
+
"webcomponents-loader.js"
|
|
33
|
+
],
|
|
34
|
+
"keywords": [
|
|
35
|
+
"webcomponents",
|
|
36
|
+
"web-components",
|
|
37
|
+
"polyfill",
|
|
38
|
+
"shim"
|
|
39
|
+
],
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@webcomponents/custom-elements": "^1.6.0",
|
|
42
|
+
"@webcomponents/shadycss": "^1.11.2",
|
|
43
|
+
"@webcomponents/shadydom": "^1.11.0",
|
|
44
|
+
"@webcomponents/template": "^1.5.1",
|
|
45
|
+
"@webcomponents/url": "^0.7.9",
|
|
46
|
+
"babel-preset-minify": "^0.4.3",
|
|
47
|
+
"get-own-property-symbols": "^0.9.2",
|
|
48
|
+
"gulp-concat": "^2.6.1",
|
|
49
|
+
"promise-polyfill": "^8.0.0"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import"../../node_modules/@webcomponents/custom-elements/src/native-shim.js";
|
package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import"./webcomponents-sd-ce-pf-index.js";let customElements=window.customElements,shouldFlush=!1,flusher=null;function flushAndFire(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),flusher&&flusher(),shouldFlush=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}customElements.polyfillWrapFlushCallback&&customElements.polyfillWrapFlushCallback(e=>{flusher=e,shouldFlush&&e()}),"complete"!==document.readyState?(window.addEventListener("load",flushAndFire),window.addEventListener("DOMContentLoaded",()=>{window.removeEventListener("load",flushAndFire),flushAndFire()})):flushAndFire();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import"../../node_modules/@webcomponents/custom-elements/src/custom-elements.js";
|
package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-pf_dom-index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../platform/custom-event.js";import"../platform/event-listener-options.js";import"../platform/baseuri.js";import"../platform/get-attribute-names.js";import"../platform/matches.js";import"../platform/parent-node/index.js";import"../platform/child-node/index.js";import"../platform/svg-element-class-list.js";import"../platform/toggle-attribute.js";
|
package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-pf_js-index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../platform/es6-misc.js";import"../platform/promise.js";import"../platform/symbol.js";
|
package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import"../../node_modules/@webcomponents/shadydom/src/shadydom.js";import"../../node_modules/@webcomponents/custom-elements/src/custom-elements.js";import"../../node_modules/@webcomponents/shadycss/entrypoints/scoping-shim.js";
|
package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import"./webcomponents-pf_js-index.js";import"./webcomponents-pf_dom-index.js";import"../unresolved.js";import"../flag-parser.js";import"../../node_modules/@webcomponents/template/template.js";import"../../node_modules/@webcomponents/shadydom/src/shadydom.js";import"../../node_modules/@webcomponents/custom-elements/src/custom-elements.js";import"../../node_modules/@webcomponents/shadycss/entrypoints/scoping-shim.js";import"../../node_modules/@webcomponents/url/url.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import"../../node_modules/@webcomponents/shadydom/src/shadydom.js";import"../../node_modules/@webcomponents/shadycss/entrypoints/scoping-shim.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let extendedWindow=window;extendedWindow.WebComponents=extendedWindow.WebComponents||{flags:{}};let file="webcomponents-bundle",script=document.querySelector('script[src*="webcomponents-bundle"]'),flagMatcher=/wc-(.+)/,flags={};if(!flags.noOpts){if(location.search.slice(1).split("&").forEach(function(e){let t,o=e.split("=");o[0]&&(t=o[0].match(flagMatcher))&&(flags[t[1]]=o[1]||!0)}),script)for(let e=0,t;t=script.attributes[e];e++)"src"!==t.name&&(flags[t.name]=t.value||!0);let e={};flags.log&&flags.log.split&&flags.log.split(",").forEach(function(t){e[t]=!0}),flags.log=e}extendedWindow.WebComponents.flags=flags;let forceShady=flags.shadydom;if(forceShady){extendedWindow.ShadyDOM=extendedWindow.ShadyDOM||{},extendedWindow.ShadyDOM.force=forceShady;let e=flags.noPatch;extendedWindow.ShadyDOM.noPatch="true"===e||e}let forceCE=flags.register||flags.ce;forceCE&&window.customElements&&(extendedWindow.customElements.forcePolyfill=forceCE);export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let native_baseURI=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");native_baseURI||Object.defineProperty(Node.prototype,"baseURI",{get(){let e=(this.ownerDocument||this).querySelector("base[href]");return e&&e.href||window.location.href},configurable:!0,enumerable:!0});export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _a,_b,_c,_d;let nativeInsertBefore=Node.prototype.insertBefore,nativeGetParentNode=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:_a.get)?_b:function(){return this.parentNode},nativeGetNextSibling=null!=(_d=null==(_c=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))?void 0:_c.get)?_d:function(){return this.nextSibling},installAfter=e=>{let t=e.prototype;t.hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){let t=nativeGetParentNode.call(this);if(null===t)return;let r=nativeGetNextSibling.call(this);for(let n of e)nativeInsertBefore.call(t,"string"==typeof n?document.createTextNode(n):n,r)}})};installAfter(CharacterData),installAfter(Element);export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _a,_b;let nativeInsertBefore=Node.prototype.insertBefore,nativeGetParentNode=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:_a.get)?_b:function(){return this.parentNode},installBefore=e=>{let t=e.prototype;t.hasOwnProperty("before")||Object.defineProperty(t,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){let t=nativeGetParentNode.call(this);if(null!==t)for(let r of e)nativeInsertBefore.call(t,"string"==typeof r?document.createTextNode(r):r,this)}})};installBefore(CharacterData),installBefore(Element);export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./after.js";import"./before.js";import"./remove.js";import"./replace-with.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _a,_b;let nativeRemoveChild=Node.prototype.removeChild,nativeGetParentNode=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:_a.get)?_b:function(){return this.parentNode},installRemove=e=>{let t=e.prototype;t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){let e=nativeGetParentNode.call(this);e&&nativeRemoveChild.call(e,this)}})};installRemove(CharacterData),installRemove(Element);export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _a,_b;let nativeInsertBefore=Node.prototype.insertBefore,nativeRemoveChild=Node.prototype.removeChild,nativeGetParentNode=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:_a.get)?_b:function(){return this.parentNode},installReplaceWith=e=>{let t=e.prototype;t.hasOwnProperty("replaceWith")||Object.defineProperty(t,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){let t=nativeGetParentNode.call(this);if(null!==t){for(let r of e)nativeInsertBefore.call(t,"string"==typeof r?document.createTextNode(r):r,this);nativeRemoveChild.call(t,this)}}})};installReplaceWith(CharacterData),installReplaceWith(Element);export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let workingDefaultPrevented=(()=>{let e=document.createEvent("Event");return e.initEvent("foo",!0,!0),e.preventDefault(),e.defaultPrevented})();if(!workingDefaultPrevented){let e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(e.call(this),Object.defineProperty(this,"defaultPrevented",{get:()=>!0,configurable:!0}))}}let isIE=/Trident/.test(navigator.userAgent);if(!window.Event||isIE&&"function"!=typeof window.Event){let e=window.Event;if(window.Event=(e,t)=>{t=t||{};let n=document.createEvent("Event");return n.initEvent(e,!!t.bubbles,!!t.cancelable),n},e){for(let t in e)window.Event[t]=e[t];window.Event.prototype=e.prototype}}if((!window.CustomEvent||isIE&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=(e,t)=>{t=t||{};let n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||isIE&&"function"!=typeof window.MouseEvent){let e=window.MouseEvent;if(window.MouseEvent=(e,t)=>{t=t||{};let n=document.createEvent("MouseEvent");return n.initMouseEvent(e,!!t.bubbles,!!t.cancelable,t.view||window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),n},e)for(let t in e)window.MouseEvent[t]=e[t];window.MouseEvent.prototype=e.prototype}export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
if(Array.from||(Array.from=e=>[].slice.call(e)),!Object.assign){let e=(e,l)=>{let t=Object.keys(l);for(let r=0;r<t.length;r++){let c=t[r];e[c]=l[c]}};Object.assign=function(l){let t=[].slice.call(arguments,1);for(let r=0,c;r<t.length;r++)(c=t[r])&&e(l,c);return l}}export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _a;let supportsEventOptions=(()=>{let e=!1,t=!1,n={get capture(){return e=!0,!0},get once(){return t=!0,!0}},i=0,r=()=>{i++},l=document.createElement("div");l.addEventListener("click",r,n);let a=e&&t;return a&&(l.dispatchEvent(new Event("click")),l.dispatchEvent(new Event("click")),a=1==i),l.removeEventListener("click",r,n),a})(),nativeEventTarget=null!=(_a=window.EventTarget)?_a:window.Node;if(!supportsEventOptions&&"addEventListener"in nativeEventTarget.prototype){let e=e=>{let t,n;return e&&("object"==typeof e||"function"==typeof e)?(t=!!e.capture,n=!!e.once):(t=!!e,n=!1),{capture:t,once:n}},t=nativeEventTarget.prototype.addEventListener,n=nativeEventTarget.prototype.removeEventListener,i=new WeakMap,r=new WeakMap,l=(e,t,n)=>{let l=n?i:r,a=l.get(e);void 0===a&&l.set(e,a=new Map);let o=a.get(t);return void 0===o&&a.set(t,o=new WeakMap),o};nativeEventTarget.prototype.addEventListener=function(i,r,a){if(null==r)return;let{capture:o,once:v}=e(a),p=l(this,i,o);if(!p.has(r)){let e=v?t=>(p.delete(r),n.call(this,i,e,o),"function"==typeof r)?r.call(this,t):"function"==typeof(null==r?void 0:r.handleEvent)?r.handleEvent(t):void 0:null;p.set(r,e),t.call(this,i,null!=e?e:r,o)}},nativeEventTarget.prototype.removeEventListener=function(t,i,r){if(null==i)return;let{capture:a}=e(r),o=l(this,t,a),v=o.get(i);void 0!==v&&(o.delete(i),n.call(this,t,null!=v?v:i,a))}}export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _a,_b;let Element_prototype=Element.prototype,attributesDescriptor=null!=(_a=Object.getOwnPropertyDescriptor(Element_prototype,"attributes"))?_a:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),getAttributes=null!=(_b=null==attributesDescriptor?void 0:attributesDescriptor.get)?_b:function(){return this.attributes},map=Array.prototype.map;Element_prototype.hasOwnProperty("getAttributeNames")||(Element_prototype.getAttributeNames=function(){return map.call(getAttributes.call(this),t=>t.name)});export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _a;let Element_prototype=Element.prototype;Element_prototype.hasOwnProperty("matches")||(Element_prototype.matches=null!=(_a=Element_prototype.webkitMatchesSelector)?_a:Element_prototype.msMatchesSelector);export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let nativeAppendChild=Node.prototype.appendChild,installAppend=e=>{let t=e.prototype;t.hasOwnProperty("append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){for(let t of e)nativeAppendChild.call(this,"string"==typeof t?document.createTextNode(t):t)}})};installAppend(Document),installAppend(DocumentFragment),installAppend(Element);export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./append.js";import"./prepend.js";import"./replace-children.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _a,_b;let nativeInsertBefore=Node.prototype.insertBefore,nativeGetFirstChild=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))?void 0:_a.get)?_b:function(){return this.firstChild},installPrepend=e=>{let t=e.prototype;t.hasOwnProperty("prepend")||Object.defineProperty(t,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){let t=nativeGetFirstChild.call(this);for(let r of e){let e="string"==typeof r?document.createTextNode(r):r;nativeInsertBefore.call(this,e,t)}}})};installPrepend(Document),installPrepend(DocumentFragment),installPrepend(Element);export{};
|
package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/replace-children.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _a,_b;let nativeAppendChild=Node.prototype.appendChild,nativeRemoveChild=Node.prototype.removeChild,nativeGetFirstChild=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))?void 0:_a.get)?_b:function(){return this.firstChild},installReplaceChildren=e=>{let t=e.prototype;t.hasOwnProperty("replaceChildren")||Object.defineProperty(t,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){let t;for(;null!==(t=nativeGetFirstChild.call(this));)nativeRemoveChild.call(this,t);for(let t of e)nativeAppendChild.call(this,"string"==typeof t?document.createTextNode(t):t)}})};installReplaceChildren(Document),installReplaceChildren(DocumentFragment),installReplaceChildren(Element);export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"promise-polyfill/src/index.js";if(!window.Promise){window.Promise=e,e.prototype.then=e.prototype.then,e.all=e.all,e.race=e.race,e.resolve=e.resolve,e.reject=e.reject;let t=document.createTextNode(""),o=function(){t.textContent=t.textContent.length>0?"":"a"},r=[];new MutationObserver(()=>{let e=r.length;for(let t=0;t<e;t++)r[t]();r.splice(0,e)}).observe(t,{characterData:!0}),e._immediateFn=e=>{r.push(e),o()}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let Element_prototype=window.Element.prototype,HTMLElement_prototype=window.HTMLElement.prototype,SVGElement_prototype=window.SVGElement.prototype;!HTMLElement_prototype.hasOwnProperty("classList")||Element_prototype.hasOwnProperty("classList")||SVGElement_prototype.hasOwnProperty("classList")||Object.defineProperty(Element_prototype,"classList",Object.getOwnPropertyDescriptor(HTMLElement_prototype,"classList"));export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"get-own-property-symbols/build/get-own-property-symbols.max";let toString=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":this===null?"[object Null]":toString.call(this)},Object.keys=function(t){return Object.getOwnPropertyNames(t).filter(o=>{let e=Object.getOwnPropertyDescriptor(t,o);return e&&e.enumerable})},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function*(){for(let t=0;t<this.length;t++)yield this[t]}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function*(){let t=[];this.forEach(o=>{t.push(o)});for(let o=0;o<t.length;o++)yield t[o]}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function*(){let t=[];this.forEach((o,e)=>{t.push([e,o])});for(let o=0;o<t.length;o++)yield t[o]});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let Element_prototype=Element.prototype,nativeHasAttribute=Element.prototype.hasAttribute,nativeSetAttribute=Element.prototype.setAttribute,nativeRemoveAttribute=Element.prototype.removeAttribute;Element_prototype.hasOwnProperty("toggleAttribute")||(Element_prototype.toggleAttribute=function(t,e){if(void 0===e)if(nativeHasAttribute.call(this,t))return nativeRemoveAttribute.call(this,t),!1;else return nativeSetAttribute.call(this,t,""),!0;return e?(nativeHasAttribute.call(this,t)||nativeSetAttribute.call(this,t,""),!0):(nativeRemoveAttribute.call(this,t),!1)});export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let style=document.createElement("style");style.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";let head=document.querySelector("head");head.insertBefore(style,head.firstChild);export{};
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2021 The Polymer Project Authors. All rights reserved. This
|
|
4
|
+
* code may only be used under the BSD style license found at
|
|
5
|
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
|
6
|
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
|
7
|
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
8
|
+
* Google as part of the polymer project is also subject to an additional IP
|
|
9
|
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// When building externally, this file is always assumed to be a module, but by
|
|
13
|
+
// default it isn't when building internally, so we need this export statement.
|
|
14
|
+
export {};
|
|
15
|
+
|
|
16
|
+
declare global {
|
|
17
|
+
// eslint-disable-next-line no-var
|
|
18
|
+
var WebComponents: {};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright (c) 2021 The Polymer Project Authors. All rights reserved. This
|
|
24
|
+
* code may only be used under the BSD style license found at
|
|
25
|
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
|
26
|
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
|
27
|
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
28
|
+
* Google as part of the polymer project is also subject to an additional IP
|
|
29
|
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
// When building externally, this file is always assumed to be a module, but by
|
|
33
|
+
// default it isn't when building internally, so we need this export statement.
|
|
34
|
+
export {};
|
|
35
|
+
|
|
36
|
+
declare global {
|
|
37
|
+
interface CustomElementRegistry {
|
|
38
|
+
forcePolyfill?: boolean;
|
|
39
|
+
polyfillWrapFlushCallback?(outer: (fn: () => void) => void): void;
|
|
40
|
+
noDocumentConstructionObserver?: boolean;
|
|
41
|
+
shadyDomFastWalk?: boolean;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @license
|
|
47
|
+
* Copyright (c) 2021 The Polymer Project Authors. All rights reserved. This
|
|
48
|
+
* code may only be used under the BSD style license found at
|
|
49
|
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
|
50
|
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
|
51
|
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
52
|
+
* Google as part of the polymer project is also subject to an additional IP
|
|
53
|
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
// When building externally, this file is always assumed to be a module, but by
|
|
57
|
+
// default it isn't when building internally, so we need this export statement.
|
|
58
|
+
export {};
|
|
59
|
+
|
|
60
|
+
declare global {
|
|
61
|
+
interface ShadyCSSInterface {
|
|
62
|
+
styleElement(element: HTMLElement): void;
|
|
63
|
+
styleSubtree(
|
|
64
|
+
element: HTMLElement,
|
|
65
|
+
properties?: {[name: string]: string}
|
|
66
|
+
): void;
|
|
67
|
+
prepareTemplate(
|
|
68
|
+
template: HTMLTemplateElement,
|
|
69
|
+
elementName: string,
|
|
70
|
+
elementExtends?: string
|
|
71
|
+
): void;
|
|
72
|
+
prepareTemplateStyles(
|
|
73
|
+
template: HTMLTemplateElement,
|
|
74
|
+
elementName: string,
|
|
75
|
+
elementExtends?: string
|
|
76
|
+
): void;
|
|
77
|
+
prepareTemplateDom(
|
|
78
|
+
template: HTMLTemplateElement,
|
|
79
|
+
elementName: string
|
|
80
|
+
): void;
|
|
81
|
+
styleDocument(properties?: {[name: string]: string}): void;
|
|
82
|
+
flushCustomStyles(): void;
|
|
83
|
+
getComputedStyleValue(element: Element, property: string): string;
|
|
84
|
+
ScopingShim?: {
|
|
85
|
+
prepareAdoptedCssText(
|
|
86
|
+
cssTextArray: Array<string>,
|
|
87
|
+
elementName: string
|
|
88
|
+
): void;
|
|
89
|
+
flush(): void;
|
|
90
|
+
};
|
|
91
|
+
ApplyShim?: Object;
|
|
92
|
+
CustomStyleInterface?: Object;
|
|
93
|
+
nativeCss: boolean;
|
|
94
|
+
nativeShadow: boolean;
|
|
95
|
+
cssBuild?: string;
|
|
96
|
+
disableRuntime: boolean;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
interface ShadyCSSOptions {
|
|
100
|
+
shimcssproperties?: boolean;
|
|
101
|
+
shimshadow?: boolean;
|
|
102
|
+
cssBuild?: boolean;
|
|
103
|
+
disableRuntime?: boolean;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// This type alias exists because Tsickle will replace any type name used in the
|
|
107
|
+
// type of something with the same name with `?`. (Maybe a Closure limitation?)
|
|
108
|
+
// Making `ShadyCSS` an alias to an underlying type with a different name works
|
|
109
|
+
// around this because Tsickle appears to resolve type aliases in its output: it
|
|
110
|
+
// writes `undefined|ShadyCSSInterface` instead of `undefined|?` as the type for
|
|
111
|
+
// the `ShadyCSS` global.
|
|
112
|
+
type ShadyCSS = ShadyCSSInterface;
|
|
113
|
+
// eslint-disable-next-line no-var
|
|
114
|
+
var ShadyCSS: ShadyCSS | undefined;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @license
|
|
119
|
+
* Copyright (c) 2021 The Polymer Project Authors. All rights reserved. This
|
|
120
|
+
* code may only be used under the BSD style license found at
|
|
121
|
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
|
122
|
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
|
123
|
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
124
|
+
* Google as part of the polymer project is also subject to an additional IP
|
|
125
|
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
126
|
+
*/
|
|
127
|
+
|
|
128
|
+
// When building externally, this file is always assumed to be a module, but by
|
|
129
|
+
// default it isn't when building internally, so we need this export statement.
|
|
130
|
+
export {};
|
|
131
|
+
|
|
132
|
+
declare global {
|
|
133
|
+
interface ShadyDOMInterface {
|
|
134
|
+
flush: () => void;
|
|
135
|
+
inUse: boolean;
|
|
136
|
+
nativeMethods: {
|
|
137
|
+
querySelectorAll: typeof document.querySelectorAll;
|
|
138
|
+
};
|
|
139
|
+
noPatch: boolean | string;
|
|
140
|
+
patchElementProto: (node: Object) => void;
|
|
141
|
+
querySelectorImplementation?: 'native' | 'selectorEngine';
|
|
142
|
+
wrap: (node: Node) => Node;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// This type alias exists because Tsickle will replace any type name used in the
|
|
146
|
+
// type of something with the same name with `?`. (Maybe a Closure limitation?)
|
|
147
|
+
// Making `ShadyDOM` an alias to an underlying type with a different name works
|
|
148
|
+
// around this because Tsickle appears to resolve type aliases in its output: it
|
|
149
|
+
// writes `undefined|ShadyDOMInterface` instead of `undefined|?` as the type for
|
|
150
|
+
// the `ShadyDOM` global.
|
|
151
|
+
type ShadyDOM = ShadyDOMInterface;
|
|
152
|
+
// eslint-disable-next-line no-var
|
|
153
|
+
var ShadyDOM: ShadyDOM;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @license
|
|
158
|
+
* Copyright (c) 2021 The Polymer Project Authors. All rights reserved. This
|
|
159
|
+
* code may only be used under the BSD style license found at
|
|
160
|
+
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
|
161
|
+
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
|
162
|
+
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
163
|
+
* Google as part of the polymer project is also subject to an additional IP
|
|
164
|
+
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
165
|
+
*/
|
|
166
|
+
|
|
167
|
+
// When building externally, this file is always assumed to be a module, but by
|
|
168
|
+
// default it isn't when building internally, so we need this export statement.
|
|
169
|
+
export {};
|
|
170
|
+
|
|
171
|
+
declare global {
|
|
172
|
+
interface HTMLTemplateElementConstructor {
|
|
173
|
+
bootstrap(): void;
|
|
174
|
+
}
|
|
175
|
+
}
|