@twobirds/microcomponents 0.0.20 → 0.0.22

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 (122) hide show
  1. package/.gitlab-ci.yml +1 -0
  2. package/README.md +33 -14
  3. package/assets/documentation/MicroComponents.md +228 -0
  4. package/assets/my-tag.css +4 -0
  5. package/assets/test.html +5 -1
  6. package/dist/MC.d.ts +32 -0
  7. package/dist/MC.d.ts.map +1 -0
  8. package/dist/MC.min.js +414 -0
  9. package/dist/MC.ts +350 -0
  10. package/dist/MCbundle.d.ts +8 -0
  11. package/dist/MCbundle.d.ts.map +1 -0
  12. package/dist/MCbundle.min.js +1 -0
  13. package/dist/MCbundle.ts +8 -0
  14. package/dist/McEvent.d.ts +15 -0
  15. package/dist/McEvent.d.ts.map +1 -0
  16. package/dist/McEvent.ts +96 -0
  17. package/dist/autoloader.d.ts +2 -0
  18. package/dist/autoloader.d.ts.map +1 -0
  19. package/dist/autoloader.ts +98 -0
  20. package/dist/customElements.d.ts +5 -0
  21. package/dist/customElements.d.ts.map +1 -0
  22. package/dist/customElements.min.js +1 -0
  23. package/dist/customElements.ts +67 -0
  24. package/dist/customObservables.d.ts +3 -0
  25. package/dist/customObservables.d.ts.map +1 -0
  26. package/dist/customObservables.min.js +1 -0
  27. package/dist/customObservables.ts +340 -0
  28. package/dist/customSelectors.d.ts +108 -0
  29. package/dist/customSelectors.d.ts.map +1 -0
  30. package/dist/customSelectors.min.js +1 -0
  31. package/dist/customSelectors.ts +1634 -0
  32. package/dist/formValues.d.ts +4 -0
  33. package/dist/formValues.d.ts.map +1 -0
  34. package/dist/formValues.ts +275 -0
  35. package/dist/formvValues.min.js +1 -0
  36. package/dist/helpers.d.ts +11 -0
  37. package/dist/helpers.d.ts.map +1 -0
  38. package/dist/helpers.ts +173 -0
  39. package/dist/microcomponents.es3.d.ts +1 -20
  40. package/dist/microcomponents.es3.d.ts.map +1 -1
  41. package/dist/test.d.ts +2 -0
  42. package/dist/test.d.ts.map +1 -0
  43. package/package.json +11 -7
  44. package/public/MC.js +273 -0
  45. package/public/MC.min.js +414 -0
  46. package/public/MCbundle.js +8 -0
  47. package/public/MCbundle.min.js +1 -0
  48. package/public/McEvent.js +74 -0
  49. package/public/MicroComponents.svg +15 -0
  50. package/public/assets/search.js +1 -1
  51. package/public/autoloader.js +57 -0
  52. package/public/classes/MC.DC.html +247 -0
  53. package/public/classes/MC.MC.html +150 -0
  54. package/public/classes/MC.McBase.html +123 -0
  55. package/public/classes/MCbundle.McEvent.html +184 -0
  56. package/public/customElements.js +48 -0
  57. package/public/customElements.min.js +1 -0
  58. package/public/customObservables.js +255 -0
  59. package/public/customObservables.min.js +1 -0
  60. package/public/customSelectors.js +1088 -0
  61. package/public/customSelectors.min.js +1 -0
  62. package/public/documentation/MicroComponents.md +228 -0
  63. package/public/formValues.js +211 -0
  64. package/public/formvValues.min.js +1 -0
  65. package/public/functions/MC.addListener.html +73 -0
  66. package/public/functions/MC.removeListener.html +69 -0
  67. package/public/functions/MCbundle._d.html +85 -0
  68. package/public/functions/MCbundle._t.html +85 -0
  69. package/public/functions/MCbundle.debounce.html +85 -0
  70. package/public/functions/MCbundle.deepEqual.html +85 -0
  71. package/public/functions/MCbundle.defineCE.html +98 -0
  72. package/public/functions/MCbundle.formValues.html +89 -0
  73. package/public/functions/MCbundle.getCE.html +83 -0
  74. package/public/functions/MCbundle.htmlToElements.html +83 -0
  75. package/public/functions/MCbundle.isObject.html +83 -0
  76. package/public/functions/MCbundle.kebabToPascal.html +83 -0
  77. package/public/functions/MCbundle.makeCO.html +85 -0
  78. package/public/functions/MCbundle.nameSpace.html +89 -0
  79. package/public/functions/MCbundle.parse.html +85 -0
  80. package/public/helpers.js +128 -0
  81. package/public/index.html +22 -13
  82. package/public/interfaces/MC.HTMLMcElement.html +3605 -0
  83. package/public/interfaces/MCbundle.DSelector.html +1010 -0
  84. package/public/interfaces/MCbundle.LooseObject.html +80 -0
  85. package/public/interfaces/MCbundle.TSelector.html +709 -0
  86. package/public/microcomponents.es3.js +348 -0
  87. package/public/modules/MC.html +84 -0
  88. package/public/modules/MCbundle.html +133 -0
  89. package/public/modules.html +4 -4
  90. package/public/my-tag.css +4 -0
  91. package/public/test.html +5 -1
  92. package/public/test.js +100 -202
  93. package/public/types/MCbundle.selection.html +74 -0
  94. package/public/types/MCbundle.singleSelector.html +74 -0
  95. package/src/MC.ts +350 -0
  96. package/src/MCbundle.ts +8 -0
  97. package/src/McEvent.ts +96 -0
  98. package/src/autoloader.ts +98 -0
  99. package/src/customElements.ts +67 -0
  100. package/src/customObservables.ts +340 -0
  101. package/src/customSelectors.ts +1634 -0
  102. package/src/formValues.ts +275 -0
  103. package/src/helpers.ts +173 -0
  104. package/src/microcomponents.es3.js +353 -82
  105. package/src/test.js +137 -218
  106. package/tsconfig.json +2 -2
  107. package/typedoc.json +1 -1
  108. package/webpack.config.js +233 -0
  109. package/dist/microcomponents.d.ts +0 -26
  110. package/dist/microcomponents.d.ts.map +0 -1
  111. package/dist/microcomponents.es3.js +0 -96
  112. package/dist/microcomponents.es3.min.js +0 -15
  113. package/dist/microcomponents.js +0 -176
  114. package/dist/microcomponents.min.js +0 -38
  115. package/dist/microcomponents.ts +0 -216
  116. package/public/classes/microcomponents.MC.html +0 -313
  117. package/public/classes/microcomponents_es3.MC.html +0 -336
  118. package/public/functions/microcomponents_es3.__isEmpty.html +0 -60
  119. package/public/microcomponents.js +0 -176
  120. package/public/modules/microcomponents.html +0 -57
  121. package/public/modules/microcomponents_es3.html +0 -60
  122. package/src/microcomponents.ts +0 -216
@@ -0,0 +1 @@
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.MCbundle=t():e.MCbundle=t()}(this,(()=>(()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function r(e){return null!=e&&"object"==typeof e}function n(e){return e.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("")}function s(e,t){let r;return()=>{clearTimeout(r),r=setTimeout((function(){e(...arguments)}),t)}}function a(e,t){const n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;for(const s of n){const n=e[s],o=t[s],c=r(n)&&r(o);if(c&&!a(n,o)||!c&&n!==o)return!1}return!0}function o(e,t,n=null,s){let a=e.split(".");s||(s=t);let c=a.shift(),i=a.join(".");null!==n&&c.length&&void 0===t[c]&&(t[c]={});let l=t[c];return 0===i.length?null!==n?(t[c]=n,s):t[c]:r(t[c])?o(i,t[c],n,s):n?s:l[c]}function c(e,t){var n=Array.from(arguments);if(n.length){if(1===n.length)return n[1];if(n.length>2){for(;n.length>1;)n[0]=c(n[0],n[1]),n.splice(1,1);return n[0]}if("string"==typeof e){var s=e.match(/\{[^\{\}]*\}/g);s&&s.forEach((function(r){var n=o(r.substr(1,r.length-2),t);void 0!==n&&(e=e.replace(r,n))}))}else if(r(e))switch(e.constructor){case Object:Object.keys(e).forEach((function(r){e.hasOwnProperty(r)&&(e[r]=c(e[r],t))}));break;case Array:e.forEach((function(r,n,s){s[n]=c(e[n],t)}))}return e}console.error("no arguments give to parse")}function i(e){let t=document.createElement("template");return e=e.replace(/<([A-Za-z0-9\-]*)([^>\/]*)(\/>)/gi,"<$1$2></$1>"),t.innerHTML=e,t.content.normalize(),Array.from(t.content.childNodes)}e.r(t),e.d(t,{$d:()=>B,$t:()=>q,DC:()=>S,MC:()=>A,McBase:()=>w,McEvent:()=>h,addListener:()=>m,debounce:()=>s,deepEqual:()=>a,defineCE:()=>k,formValues:()=>F,getCE:()=>x,htmlToElements:()=>i,isObject:()=>r,kebabToPascal:()=>n,makeCO:()=>T,nameSpace:()=>o,parse:()=>c,removeListener:()=>g});var l=new Function("try {return this===window;}catch(e){ return false;}");let u=new Set;l()&&Object.keys(HTMLElement.prototype).filter((e=>/^on/.test(e))).forEach((e=>u.add(e)));class h{#e;#t=!1;#r=!1;constructor(e,t={},r="l"){this.#e=e,this.data=t,this.bubble=r}get type(){return this.#e}get stopped(){return this.#t}get immediateStopped(){return this.#r}stopPropagation(){this.#t=!0}stopImmediatePropagation(){this.stopPropagation(),this.#r=!0}}var f=new Function("try {return this===window;}catch(e){ return false;}");let d=new Set;function p(e,t){let r=[];return e.forEach((e=>{if(e&&e instanceof HTMLElement){const n=e?._mc;!t&&n?r=r.concat(Object.values(e._mc)):t&&n&&n[t]&&r.push(n[t])}})),r}function y(e,t,r=!0){let n=[];for(;e;){if(e._mc&&(t?t&&e._mc[t]&&n.push(e._mc[t]):n=n.concat(Object.values(e._mc)),r))return n;e=e.parentNode}return n}function b(e){return e&&e instanceof HTMLElement}function m(e,t,r,n=!1,s=!1){let a={once:!1};n&&(a.capture=n),s&&(a.once=s),e.addEventListener(t,r,a)}function g(e,t,r){e.removeEventListener(t,r)}function E(e,t,r={}){let n=e;if(!n._mc){let t=A?.debug;A.debug=!1,n._mc=new A(e),A.debug=t}const s=n._mc;return t.length&&!s[t]&&(s[t]=r,e instanceof HTMLElement&&e.setAttribute("_mc","")),r}function v(e,t){if(!t)return;const r=e?._mc||{};r&&r[t]&&delete r[t],!Object.keys(r).length&&e instanceof HTMLElement&&e.hasAttribute("_mc")&&e.removeAttribute("_mc")}function O(e,t,r={}){let n=e?._mc;n&&[...Object.values(n)].forEach((e=>{e?.trigger&&"function"==typeof e?.trigger&&e?.trigger(t,r)}))}f()&&Object.keys(HTMLElement.prototype).filter((e=>/^on/.test(e))).forEach((e=>d.add(e)));class w{#n;#s={};constructor(e){this.#n=new WeakRef(e),this.constructor!==A&&this.constructor!==S&&Object.defineProperty(this,"_mc",{get(){return this.#s}})}get target(){return this.#n.deref()}}class A extends w{constructor(e){super(e);let t=this;t.constructor!==A&&t.constructor!==S&&setTimeout((()=>{t.trigger("init")}),0)}trigger(e,t={},r){let n=this;if(r=r||"l",n.constructor!==A&&n.constructor!==S){if(n instanceof A||n instanceof S){const n=this,s="string"!=typeof e?e:new h(e,t,r),a="on"+s.type[0].toUpperCase()+s.type.slice(1);if(s.bubble.indexOf("l")>-1&&(s.immediateStopped||"function"!=typeof n[a]||(n[a](s),n.hasOwnProperty(a)&&delete n[a])),s.stopped||"l"===s.bubble)return n;f()&&/[ud]/.test(s.bubble)&&n instanceof A&&setTimeout((()=>{-1===s.bubble.indexOf("l")&&(s.bubble+="l"),s.bubble.indexOf("u")>-1&&n.parent().forEach((e=>{e instanceof A&&e.trigger(s)})),s.bubble.indexOf("d")>-1&&n.children().forEach((e=>{e instanceof A&&e.trigger(s)}))}),0)}}else[...Object.getOwnPropertyNames(n)].forEach((s=>{n[s]?.trigger&&"function"==typeof n[s]?.trigger&&n[s]?.trigger(e,t,r)}))}}class S extends A{constructor(e){super(e)}static debug=!1;static add=E;static remove=v;static trigger=O;parent(e=""){let t=this.target;return b(t)?y(t.parentNode,e,!0):[]}ancestors(e=""){let t=this?.target;return b(t)?y(this.target.parentNode,e,!1):[]}children(e=""){let t=this?.target;if(!b(t))return[];const r=Math.random().toString().replace(".",""),n='[_mc]:not([temp_id="'+r+'"] [_mc] [_mc])';t.setAttribute("temp_id",r);const s=p([...t.querySelectorAll(n)],e);return t.removeAttribute("temp_id"),s}descendants(e=""){let t=this?.target;return b(t)?p([...t.querySelectorAll("*[_mc]")],e):[]}autoAttachListeners(){if(!f())return;const e=this.target;if(e instanceof HTMLElement){let t=this;Object.getOwnPropertyNames(t.constructor.prototype).filter((e=>/^on[A-Z]|one[A-Z]/.test(e)&&"function"==typeof t.constructor.prototype[e])).forEach((r=>{let n=/^one/.test(r),s=r.replace(/^on[e]{0,1}/,""),a=s.toLowerCase();n&&Object.defineProperty(this,"on"+s,{configurable:!0,enumerable:!1,writable:!0,value:e=>{t.constructor.prototype[r].bind(t)(e)}}),d.has("on"+a)&&m(e,a,(e=>{t.trigger(s,e)}),!1,n)}))}}}class j extends HTMLElement{constructor(){super()}connectedCallback(){S.trigger(this,"Connected")}disconnectedCallback(){S.trigger(this,"Disconnected")}adoptedCallback(){S.trigger(this,"Adopted")}attributeChangedCallback(e,t,r){S.trigger(this,"AttributeChanged",{name:e,oldValue:t,newValue:r})}}function k(e,t,r=[]){if(customElements.get(e))return void console.warn(`IGNORED: Custom element "${e}" is already defined!`);if(!e.includes("-"))throw new Error('createCustomElement: tagName must contain at least one hyphen ("-").');let s=n(e);customElements.define(e,function(e,t){return Object.defineProperty(t,"name",{value:e})}(s,class extends j{instance;constructor(e){super();let r=new t(this,e);S.add(this,s,r)}static get observedAttributes(){return r}}))}function x(e){return customElements.get(e)}const T=(e,t)=>{(t?[t]:[...Object.getOwnPropertyNames(e)]).forEach((t=>{if("_"===t[0]||void 0===e?.[t])return;let n,o=e[t];if(!o.prototype)switch(typeof o){case"string":n=String;break;case"number":n=Number;break;case"boolean":n=Boolean;break;case"object":n=o instanceof Array?Array:Object;break;default:return}let i=class extends n{constructor(e){super(e),this.constructor.callbacks=[],r(e)&&(this.constructor.bound=[],Object.getOwnPropertyNames(e).forEach((t=>{this[t]=e[t]})))}observe(e){return this.constructor.callbacks.push(e),this}bind(e){const t=this,n=r(t.valueOf()),s=t.constructor.bound;if(n){function a(e){if(e.nodeType&&3===e.nodeType){var r=Array.from(e.nodeValue&&e.nodeValue.match(/\{[^\{\}]*\}/g)||[]);if(r.length>0){var o=(i=e.nodeValue||"",function(t){var s,a=!1;return r&&(n?r.forEach((function(e){o.values[e]!==t[e]&&(o.values[e]=t[e],a=!0)})):(o.values=t,a=!0)),a&&(s=i,e.nodeValue=n?c(s,o.values):s.replace(/\{.*\}/g,o.values)),t});o.values=n?{}:void 0,r=Array.from(r).map((e=>e.replace(/[\{\}]/g,"").trim()));let t=n?{}:void 0;r.forEach((function(e){n&&(t[e]="")})),s.push(o)}Array.from(e.childNodes).forEach((function(e){a(e)})),t.notify()}var i;e.nodeType&&1===e.nodeType&&(Array.from(e.attributes).forEach((function(t){var r=Array.from(t.value&&t.value.match(/\{[^\{\}]*\}/g)||[]);if(r.length>0){var n=function(t){return function(s){var a,o=!1;return r&&r.forEach((function(e){n.values[e]!==s[e]&&(n.values[e]=s[e],o=!0)})),o&&(a=t,e.nodeValue=c(a,n.values)),s}}(t.value||"");n.values={},r=Array.from(r).map((e=>e.replace(/[\{\}]/g,"").trim()));let a={};r.forEach((function(e){a[e]=""})),s.push(n)}})),Array.from(e.childNodes).forEach((function(e){a(e)})),t.notify()),e.nodeType&&11===e.nodeType&&Array.from(e.childNodes).forEach((function(e){a(e)}))}a(e),s.length>0&&t.notify()}else console.warn("IGNORED - cannot bind a non-Object to the dom, IS:",typeof t.valueOf());return this}notify(){let e=this,t=r(e.valueOf())&&e.valueOf()instanceof Array==0?structuredClone(Object.assign({},e)):e.valueOf();return e.constructor.callbacks.forEach((e=>{e(t)})),r(e.valueOf())&&e.constructor.bound.forEach((e=>{e(t)})),this}},l=new i(o);Object.defineProperty(e,t,{enumerable:!0,get(){if(r(l.valueOf())){let e=structuredClone(Object.assign({},l));setTimeout(s((function(){a(structuredClone(Object.assign({},l)),e)||l.notify()}),0),0)}return l},set(e){if(typeof e==typeof l.valueOf())if(r(l.valueOf())&&l.valueOf()instanceof Array==0){let t=structuredClone(Object.assign({},l));e=structuredClone(Object.assign({},e));let r=l.constructor?.hasFormHandler??!1,n=l.constructor.callbacks,o=l.constructor.bound;l=new i(structuredClone(Object.assign({},e))),l.constructor.callbacks=r,l.constructor.callbacks=n,l.constructor.bound=o,setTimeout(s((function(){a(structuredClone(Object.assign({},l)),t)||l.notify()}),0),0)}else{let t=l.valueOf(),r=l.constructor.callbacks;l=new i(e),l.constructor.callbacks=r,e!==t&&l.notify()}else console.warn("IGNORED - cannot change observable types, IS:",typeof l.valueOf(),"- CANNOT BECOME:",typeof e)}}),e[t]=o}))},C=e=>{let t=new Set;return e.forEach((e=>{(e=e.trim()).split(" ").forEach((e=>{""!==e&&t.add(e)}))})),Array.from(t)},_=e=>{let t=B("input,select,textarea",e).array,r={};return t.forEach((t=>{const n=t.getAttribute("name")||"undefined";if(n){let s;switch((e=>e instanceof HTMLInputElement?"input":e instanceof HTMLSelectElement?"select":e instanceof HTMLTextAreaElement?"textarea":"")(t)){case"input":s=new L(t,e),Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>s.val,set:e=>{s.val=e}});break;case"select":s=new M(t),Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>s.val,set:e=>{s.val=e}});break;case"textarea":s=new P(t),Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>s.val,set:e=>{s.val=e}});break;default:console.warn("handler missing:",n,"for",t)}}})),r};class N{constructor(e){}}class L extends N{#a;#e;#o;constructor(e,t){super(e),this.#a=e,this.#e=e.type,this.#o=t}get val(){let e,t=this;switch(t.#e){case"radio":const r=B(`input[type="radio"][name="${this.#a.getAttribute("name")}"]`,this.#o).filter((e=>e.checked));return r.length?(e=r.array[0],e.value):"";case"checkbox":return t.#a.checked;default:return t.#a.value}return""}set val(e){let t=this;switch(t.#e){case"radio":const r=`input[type="radio"][name="${this.#a.getAttribute("name")}"]`,n=B(r,this.#o);if(!n.length)return;if(""===e)return void n.forEach((e=>{e.checked&&(e.checked=!1)}));const s=n.filter((t=>t.getAttribute("value")===e));if(!s.length)return;return void(s.array[0].checked=!0);case"checkbox":t.#a.checked=e;break;default:t.#a.value=e}}}class M extends N{#a;#c=!1;constructor(e){super(e),this.#a=e,this.#c="select-multiple"===e.type}get val(){const e=[];return B(this.#a.querySelectorAll("option")).filter((e=>e.selected)).forEach((t=>{t.selected&&e.push(t.value)})),this.#c?e:e.length?e[0]:""}set val(e){e="string"==typeof e?[e]:e,B(this.#a.querySelectorAll("option")).forEach((t=>{e.indexOf(t.value)>-1?(t.setAttribute("selected",!0),t.selected=!0):(t.removeAttribute("selected"),t.selected=!1)}))}}class P extends N{#a;constructor(e){super(e),this.#a=e}get val(){return this.#a.value}set val(e){this.#a.value=e}}class H{#i=new Set;get set(){return this.#i}get array(){return Array.from(this.#i)}set set(e){this.#i=e}get length(){return this.#i.size}constructor(e,t=document.body){if(new Set,!e)return this}$t(e){let t=new $;return this.#i.forEach((e=>{e._mc&&Object.values(e._mc).forEach((e=>{t.set.add(e)}))})),e&&t.filter((t=>t.nameSpace===e)),t}add(e,t){let r=this;return B(e,t).forEach((e=>{r.#i.add(e)})),r}addClass(...e){return e=C(e),this.forEach((t=>{t.classList.add(...e)})),this}after(e,t){let r=this,n=B(e,t);return n.length?(n.first().forEach((e=>{r.array.reverse().forEach((t=>{t.after(e)}))})),r):r}append(e,t){let r=this.array[0],n=B(e,t);return r&&n.forEach((e=>{r.append(e)})),this}appendTo(e,t){let r=B(e,t).array[0];return r&&this.forEach((e=>{r.append(e)})),this}attr(e,t){let r=this,n={};return r.length?arguments.length?"string"==typeof e?void 0===t?[...r.set][0].getAttribute(e):null===t?([...r.set].forEach((t=>{t.removeAttribute(e)})),r):("object"==typeof t&&(t=JSON.stringify(t)),[...r.set].forEach((r=>{r.setAttribute(e,t)})),r):"object"==typeof e?([...r.set].forEach((t=>{Object.keys(e).forEach((r=>{B(t).attr(r,e.key)}))})),r):r:(Array.from([...r.set][0].attributes).forEach((e=>{n[e.name]=e.value})),n):r}before(e,t){let r=this,n=B(e,t);return n.length?(n.first().forEach((e=>{r.forEach((t=>{t.before(e)}))})),r):r}children(e,t){let r=this,n=new Set;if(r.#i.forEach((e=>{Array.from(e.children).forEach((e=>{n.add(e)}))})),r=B([...n]),e){let n=B(e,t);r.filter((e=>n.has(e)))}return r}descendants(e,t){let r=this,n=new Set;if(r.#i.forEach((e=>{e.querySelectorAll("*").forEach((e=>{n.add(e)}))})),r=B([...n]),e){let n=B(e,t);r.filter((e=>n.has(e)))}return r}empty(){return this.filter((e=>!1))}first(e,t){let r=this,n=new Set,s=!1;return e&&(s=B(e,t)),r.#i.forEach((e=>{e.parentNode&&n.add(e.parentNode.children[0])})),r=B([...n]),e&&r.filter((e=>s.has(e))),r}has(e){return this.#i.has(e)}hasClass(...e){return e=C(e),this.every((e=>Array.from(e.classList).every((t=>e.contains(t)))))}html(e){let t=this;return e?(t.forEach((t=>{t.parentNode?t.innerHTML=e:(()=>{console.warn("Cannot access the .innerHTML of a HTMLElement that hasnt been inserted yet",t),console.trace(t,this),console.info("If you called this from inside a Web Component constructor, consider using the %c[connected] event callback!","color: blue;")})()})),t):t.array[0].innerHTML}last(e,t){let r=this,n=new Set;if(r.#i.forEach((e=>{let t=e.parentNode?.children;t&&n.add(Array.from(t).at(-1))})),r=B([...n]),e){let n=B(e,t);r.filter((e=>n.has(e)))}return r}next(e,t){let r=this,n=new Set;if(r.#i.forEach((e=>{let t=e.parentNode?.children;if(t){let r=Array.from(t),s=r.indexOf(e)+1;s<r.length&&n.add(r.at(s))}})),r=B([...n]),e){let n=B(e,t);r.filter((e=>n.has(e)))}return r}normalize(){return this.#i.forEach((e=>{e.normalize()})),this}off(e,t){let r=e.indexOf(" ")>-1?e.split(" "):[e];return this.array.forEach((e=>{r.forEach((function(r){g(e,r,t)}))})),this}on(e,t,r=!1,n=!1){let s=this,a=e.indexOf(" ")>-1?e.split(" ").filter((e=>""!==e)):[e];function o(){o.cb.apply(s,Array.from(arguments))}return o.cb=t,s.forEach((e=>{a.forEach((function(t){m(e,t,o,r,n)}))})),o}one(e,t,r=!1){let n=this,s=e.indexOf(" ")>-1?e.split(" ").filter((e=>""!==e)):[e];function a(){a.cb.apply(n,Array.from(arguments))}return a.cb=t,n.forEach((e=>{s.forEach((function(t){m(e,t,a,r,!0)}))})),a}parent(e,t){let r=this,n=new Set;if(r.#i.forEach((e=>{e.parentNode&&"HTML"!==e.parentNode.tagName&&n.add(e.parentNode)})),r=B([...n]),e){let n=B(e,t);r.filter((e=>n.has(e)))}return r}parents(e,t){let r=this,n=new Set;if(r.#i.forEach((e=>{let t=e;for(;t.parentNode&&"HTML"!==t.parentNode.tagName;)t=t.parentNode,n.add(t)})),r=B([...n]),e){let n=B(e,t);r.filter((e=>n.has(e)))}return r}prepend(e,t){let r=this.array[0],n=B(e,t);return r&&n.forEach((e=>{r.prepend(e)})),this}prev(e,t){let r=this,n=new Set;if(r.#i.forEach((e=>{let t=e.parentNode?.children;if(t){let r=Array.from(t),s=r.indexOf(e)-1;s>-1&&n.add(r.at(s))}})),r=B([...n]),e){let n=B(e,t);r.filter((e=>n.has(e)))}return r}removeClass(...e){return e=C(e),this.forEach((t=>{t.classList.remove(...e)})),this}text(e){let t=this;return e?(t.forEach((t=>{t.parentNode?t.innerText=e:(()=>{console.warn("Cannot access the .textContent of a HTMLElement that hasnt been inserted yet",t),console.trace(t,this),console.info("If you called this from inside a Web Component constructor, consider using the %c[connected] event callback!","color: blue;")})()})),t):t.array[0].innerText??""}toggleClass(...e){return e=C(e),this.forEach((t=>{t.classList.toggle(...e)})),this}trigger(e,t={},r=!1,n=!1,s=!1){let a,o={bubbles:r,cancelable:n,composed:s},c=e.indexOf(" ")>-1?e.split(" "):[e];return this.#i.forEach((e=>{c.forEach((function(r){a=new Event(r,o),a.data=t,e.dispatchEvent(a)}))})),this}val(e,t){if(!this.length)return this;const r=this;let n,s=_(r.array[0]);var a;return e?null!=(a=e)&&"object"==typeof a?(Object.assign(s,e),n=r):"string"==typeof e&&(void 0===t?n=s[e]:(s[e]=t,n=r)):n=Object.assign({},s),n}values(e){const t=this;let r={};if(!t.length)return console.warn("no dom selection to search inputs in"),{};let n=_(t.array[0]);return Object.keys(n).forEach((e=>{r[e]=n[e]})),0===Object.keys(r).length&&console.warn("no inputs in this dom selection",t.array[0],r),e&&Object.keys(e).forEach((t=>{n.hasOwnProperty(t)&&(console.log("key found",t),n[t]=e[t])})),structuredClone(Object.assign(n))}at(e){return B(this.array.at(e))}concat(e){let t=this;return(e instanceof H?e.array:e).forEach((e=>{t.#i.add(e)})),t}entries(){return this.array.entries()}every(e,t){return this.array.every(e,t)}filter(e,t){return this.#i=new Set(this.array.filter(e,t)),this}forEach(e,t){return this.array.forEach(e,t),this}includes(e){return-1!==this.array.indexOf(e,0)}indexOf(e,t){return this.array.indexOf(e,t)}map(e,t){return this.array.map(e,t)}pop(){return this.array.pop()}push(...e){return e.forEach((e=>{this.#i.add(e)})),this}shift(){let e=this,t=e.#i.size?e.array[0]:void 0;return t&&e.#i.delete(t),t}slice(e,t){return B(this.array.slice(e,t))}some(e,t){return this.array.some(e,t)}splice(e,t,...r){let n=this.array;return n.splice(e,t,...r),B(n)}}class ${#i=new Set;get set(){return this.#i}get array(){return Array.from(this.#i)}set set(e){this.#i=e}get length(){return this.#i.size}set length(e){}constructor(e,t=document.body){if(!e)return this;B(e,t).forEach((e=>{q(e).forEach((e=>{this.#i.add(e)}))}))}$d(e,t=document.body){let r=new H,n=new Set,s=!!e||!1,a=new Set;return s&&(a=B(e,t).set),this.#i.forEach((e=>{s&&!a.has(e._tg)||n.add(e._tg)})),r.set=n,r}children(e){let t=this,r=new Set;return t.#i.forEach((t=>{t.children(e).forEach((e=>{r.add(e)}))})),t.#i=r,t}descendants(e){let t=this,r=new Set;return t.#i.forEach((t=>{t.descendants(e).forEach((e=>{r.add(e)}))})),t.#i=r,t}first(e){let t=this,r=new Set;return t.#i.forEach((e=>{e.parent().children().$d().first().$t().forEach((e=>{r.add(e)}))})),t.#i=r,e&&t.filter((t=>t.nameSpace=e)),t}has(e){return this.#i.has(e)}last(e){let t=this,r=new Set;return t.#i.forEach((e=>{e.parent().children().$d().last().$t().forEach((e=>{r.add(e)}))})),t.#i=r,e&&t.filter((t=>t.nameSpace=e)),t}next(e){let t=this,r=new Set;return t.#i.forEach((e=>{let t,n=new Set;for(t=e._tg;null!==t.nextElementSibling;)t=t.nextElementSibling,n.add(t);q([...n]).$d().first().$t().forEach((e=>{r.add(e)}))})),t.#i=r,e&&t.filter((t=>t.nameSpace=e)),t}ns(e){return this.filter((t=>t.nameSpace===e))}off(e,t){let r=e.indexOf(" ")>-1?e.split(" ").filter((e=>""!==e)):[e];return this.$d().array.forEach((e=>{r.forEach((function(r){g(e,`[TB]${r}`,t)}))})),this}on(e,t,r=!1){let n=this,s=e.indexOf(" ")>-1?e.split(" ").filter((e=>""!==e)):[e];function a(){a.cb.apply(n,Array.from(arguments))}return a.cb=t,n.forEach((e=>{s.forEach((function(t){m(e._tg,`[TB]${t}`,a,!1,r)}))})),a}one(e,t){let r=this,n=e.indexOf(" ")>-1?e.split(" ").filter((e=>""!==e)):[e];function s(){s.cb.apply(r,Array.from(arguments))}return s.cb=t,r.forEach((e=>{n.forEach((function(t){m(e._tg,`[TB]${t}`,s,!1,!0)}))})),s}parent(e){let t=this,r=new Set;return t.#i.forEach((t=>{t.parent(e).forEach((e=>{r.add(e)}))})),t.#i=r,t}parents(e){let t=this,r=new Set;return t.#i.forEach((t=>{t.parents(e).forEach((e=>{r.add(e)}))})),t.#i=r,t}prev(e){let t=this,r=new Set;return t.#i.forEach((e=>{let t,n=new Set;for(t=e._tg;null!==t.previousElementSibling;)t=t.previousElementSibling,n.add(t);q([...n]).$d().last().$t().forEach((e=>{r.add(e)}))})),t.#i=r,e&&t.filter((t=>t.nameSpace=e)),t}trigger(e,t={},r="l"){return this.forEach((n=>{n.trigger(e,t,r)})),this}at(e){return q(this.array.at(e))}concat(e){let t=this;return e.forEach((e=>{t.#i.add(e)})),t}entries(){return this.array.entries()}every(e,t){return this.array.every(e,t)}filter(e,t){return q(this.array.filter(e,t))}forEach(e,t){return this.array.forEach(e,t),this}includes(e){return-1!==this.array.indexOf(e)}indexOf(e,t){return this.array.indexOf(e,t)}map(e,t){return this.array.map(e,t)}pop(){let e=this.array,t=e.pop();return this.#i=new Set(e),t}push(e){return this.#i.add(e),this}shift(){let e=this.array.shift();return this.#i.delete(e),e}slice(e,t){return q(this.array.slice(e,t))}some(e,t){return this.array.some(e,t)}splice(e,t,...r){let n=this.array.splice(e,t,...r);return q(n)}}const B=(e,t=document)=>{let r=new Set;return e instanceof Array?(e.forEach((e=>{B(e,t).forEach((e=>{r.add(e)}))})),new H([...r])):new H(e,t)},q=(e,t=document)=>B(e,t).$t();class I{constructor(e){}}class V extends I{#a;#e;#o;constructor(e,t){super(e),this.#a=e,this.#e=e.type,this.#o=t}get val(){let e,t=this;switch(t.#e){case"radio":const r=[...(this.#o||document).querySelectorAll(`input[type="radio"][name="${this.#a.getAttribute("name")}"]`)].filter((e=>e.checked));return r.length?(e=r?.[0],e.value):"";case"checkbox":return t.#a.checked;default:return t.#a.value}return""}set val(e){let t=this;switch(t.#e){case"radio":const r=[...(this.#o||document).querySelectorAll(`input[type="radio"][name="${this.#a.getAttribute("name")}"]`)];if(!r.length)return;if(""===e)return void r.forEach((e=>{e.checked&&(e.checked=!1)}));const n=r.filter((t=>t.getAttribute("value")===e));if(!n.length)return;return void((n?.[0]).checked=!0);case"checkbox":t.#a.checked=e;break;default:t.#a.value=e}}}class z extends I{#a;#c=!1;constructor(e){super(e),this.#a=e,this.#c="select-multiple"===e.type}get val(){const e=[];return[...this.#a.querySelectorAll("option")].filter((e=>e.selected)).forEach((t=>{t.selected&&e.push(t.value)})),this.#c?e:e.length?e[0]:""}set val(e){e="string"==typeof e?[e]:e,[...this.#a.querySelectorAll("option")].forEach((t=>{e.indexOf(t.value)>-1?(t.setAttribute("selected","selected"),t.selected=!0):(t.removeAttribute("selected"),t.selected=!1)}))}}class D extends I{#a;constructor(e){super(e),this.#a=e}get val(){return this.#a.value}set val(e){this.#a.value=e}}const F=(e,t={},r,n)=>{let s=(e=>{let t=[...(e||document).querySelectorAll("input,select,textarea")],r={};return t.forEach((t=>{const n=t.getAttribute("name")||"undefined";if(n){let s;switch((e=>e instanceof HTMLInputElement?"input":e instanceof HTMLSelectElement?"select":e instanceof HTMLTextAreaElement?"textarea":"")(t)){case"input":s=new V(t,e),Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>s.val,set:e=>{s.val=e}});break;case"select":s=new z(t),Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>s.val,set:e=>{s.val=e}});break;case"textarea":s=new D(t),Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>s.val,set:e=>{s.val=e}});break;default:console.warn("handler missing:",n,"for",t)}}})),r})(e);function a(e){Object.keys(e).forEach((t=>{s.hasOwnProperty(t)&&e.hasOwnProperty(t)&&(s[t]=e[t])}))}if(Object.keys(t).length>0&&a(t),void 0!==n){let t=r[n];t.constructor?.hasFormHandler||(t.constructor.hasFormHandler=!0,t.observe(a)),r[n].observe((()=>{})),[...e.querySelectorAll("input, textarea, select")].forEach((e=>{m(e,"keyup",(()=>{r[n]=structuredClone(Object.assign(s))})),m(e,"change",(()=>{r[n]=structuredClone(Object.assign(s))})),e instanceof HTMLSelectElement&&m(e,"select",(()=>{r[n]=structuredClone(Object.assign(s))}))}))}return n?r[n]:Object.assign({},s)};return t})()));
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ var isBrowser = new Function("try {return this===window;}catch(e){ return false;}");
3
+ let nativeEventNames = new Set();
4
+ // HTMLElement native event names
5
+ if (isBrowser()) {
6
+ Object.keys(HTMLElement.prototype).filter(key => /^on/.test(key)).forEach(eventName => nativeEventNames.add(eventName));
7
+ }
8
+ function isDOM(element) {
9
+ return element && element instanceof HTMLElement;
10
+ }
11
+ class McEvent {
12
+ #type;
13
+ #stopped = false;
14
+ #immediateStopped = false;
15
+ constructor(type, data = {}, bubble = 'l') {
16
+ // bubble standard = local only, options = any combination of'uld' characters: up to root, local, down
17
+ this.#type = type;
18
+ this.data = data;
19
+ this.bubble = bubble;
20
+ }
21
+ get type() {
22
+ return this.#type;
23
+ }
24
+ get stopped() {
25
+ return this.#stopped;
26
+ }
27
+ get immediateStopped() {
28
+ return this.#immediateStopped;
29
+ }
30
+ stopPropagation() {
31
+ this.#stopped = true;
32
+ }
33
+ stopImmediatePropagation() {
34
+ this.stopPropagation();
35
+ this.#immediateStopped = true;
36
+ }
37
+ }
38
+ // get all microcomponents from a list of HTMLElements
39
+ function getMicroComponents(elements, search) {
40
+ let mcValues = [];
41
+ elements.forEach(e => {
42
+ if (e) {
43
+ if (e instanceof HTMLElement) {
44
+ const _mc = e?._mc;
45
+ if (!search && _mc) {
46
+ mcValues = mcValues.concat(Object.values(e._mc));
47
+ }
48
+ else if (search && _mc && _mc[search]) {
49
+ mcValues.push(_mc[search]);
50
+ }
51
+ }
52
+ }
53
+ });
54
+ return mcValues;
55
+ }
56
+ // get all ancestor DOM nodes up to the document root
57
+ function traverseNodes(node, search, firstonly = true) {
58
+ let mcValues = [];
59
+ while (node) {
60
+ if (node._mc) {
61
+ if (!search) {
62
+ mcValues = mcValues.concat(Object.values(node._mc));
63
+ }
64
+ else if (search && node._mc[search]) {
65
+ mcValues.push(node._mc[search]);
66
+ }
67
+ if (firstonly)
68
+ return mcValues;
69
+ }
70
+ node = node.parentNode;
71
+ }
72
+ return mcValues;
73
+ }
74
+ export { McEvent };
@@ -0,0 +1,15 @@
1
+ <svg width="200" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
2
+ <!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
3
+ <title>test</title>
4
+ <rect fill="transparent" x="0" y="0" width="200" height="200" fill-opacity="1"/>
5
+ <g style="fill:transparent">
6
+ <title>first bird</title>
7
+ <path fill="#18829c" d="
8
+ m15,160
9
+ a30,75 45 1 0 160,-150
10
+ a20,50 225 1 1 -110,100
11
+ a12,25 45 1 1 60,-50
12
+ a20,50 225 1 0 -110,100
13
+ " />
14
+ </g>
15
+ </svg>
@@ -1 +1 @@
1
- window.searchData = JSON.parse("{\"kinds\":{\"2\":\"Module\",\"64\":\"Function\",\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\"},\"rows\":[{\"kind\":2,\"name\":\"microcomponents\",\"url\":\"modules/microcomponents.html\",\"classes\":\"tsd-kind-module\"},{\"kind\":128,\"name\":\"MC\",\"url\":\"classes/microcomponents.MC.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"microcomponents\"},{\"kind\":1024,\"name\":\"debug\",\"url\":\"classes/microcomponents.MC.html#debug\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents.MC.html#siblings-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents.MC.html#add-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents.MC.html#remove-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/microcomponents.MC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/microcomponents.MC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents.MC.html#_target.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"microcomponents.MC.#target\"},{\"kind\":1024,\"name\":\"#_mc\",\"url\":\"classes/microcomponents.MC.html#__mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents.MC.html#__mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"microcomponents.MC.#_mc\"},{\"kind\":262144,\"name\":\"_mc\",\"url\":\"classes/microcomponents.MC.html#_mc\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/microcomponents.MC.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents.MC.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents.MC.html#remove\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents.MC.html#siblings\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"classes/microcomponents.MC.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"parents\",\"url\":\"classes/microcomponents.MC.html#parents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"classes/microcomponents.MC.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"classes/microcomponents.MC.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.MC\"},{\"kind\":2,\"name\":\"microcomponents.es3\",\"url\":\"modules/microcomponents_es3.html\",\"classes\":\"tsd-kind-module\"},{\"kind\":64,\"name\":\"__isEmpty\",\"url\":\"functions/microcomponents_es3.__isEmpty.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"microcomponents.es3\"},{\"kind\":128,\"name\":\"MC\",\"url\":\"classes/microcomponents_es3.MC.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"microcomponents.es3\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents_es3.MC.html#add-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents_es3.MC.html#add-2.add-3.__type-3\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"microcomponents.es3.MC.add.add\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents_es3.MC.html#remove-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":1024,\"name\":\"debug\",\"url\":\"classes/microcomponents_es3.MC.html#debug\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents_es3.MC.html#siblings-2\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/microcomponents_es3.MC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":1024,\"name\":\"_target\",\"url\":\"classes/microcomponents_es3.MC.html#_target-1\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"siblings\",\"url\":\"classes/microcomponents_es3.MC.html#siblings\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"classes/microcomponents_es3.MC.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"parents\",\"url\":\"classes/microcomponents_es3.MC.html#parents\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"classes/microcomponents_es3.MC.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"classes/microcomponents_es3.MC.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/microcomponents_es3.MC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents_es3.MC.html#_target.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"microcomponents.es3.MC.#target\"},{\"kind\":1024,\"name\":\"#_mc\",\"url\":\"classes/microcomponents_es3.MC.html#__mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents_es3.MC.html#__mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"microcomponents.es3.MC.#_mc\"},{\"kind\":262144,\"name\":\"_mc\",\"url\":\"classes/microcomponents_es3.MC.html#_mc\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/microcomponents_es3.MC.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/microcomponents_es3.MC.html#target.target-1.__type-2\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"microcomponents.es3.MC.target.target\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"classes/microcomponents_es3.MC.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"},{\"kind\":2048,\"name\":\"remove\",\"url\":\"classes/microcomponents_es3.MC.html#remove\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"microcomponents.es3.MC\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,34.012]],[\"comment/0\",[]],[\"name/1\",[1,28.904]],[\"comment/1\",[]],[\"name/2\",[2,28.904]],[\"comment/2\",[]],[\"name/3\",[3,23.026]],[\"comment/3\",[]],[\"name/4\",[4,23.026]],[\"comment/4\",[]],[\"name/5\",[5,23.026]],[\"comment/5\",[]],[\"name/6\",[6,28.904]],[\"comment/6\",[]],[\"name/7\",[7,23.026]],[\"comment/7\",[]],[\"name/8\",[8,19.349]],[\"comment/8\",[]],[\"name/9\",[9,23.026]],[\"comment/9\",[]],[\"name/10\",[8,19.349]],[\"comment/10\",[]],[\"name/11\",[9,23.026]],[\"comment/11\",[]],[\"name/12\",[7,23.026]],[\"comment/12\",[]],[\"name/13\",[4,23.026]],[\"comment/13\",[]],[\"name/14\",[5,23.026]],[\"comment/14\",[]],[\"name/15\",[3,23.026]],[\"comment/15\",[]],[\"name/16\",[10,28.904]],[\"comment/16\",[]],[\"name/17\",[11,28.904]],[\"comment/17\",[]],[\"name/18\",[12,28.904]],[\"comment/18\",[]],[\"name/19\",[13,28.904]],[\"comment/19\",[]],[\"name/20\",[14,34.012]],[\"comment/20\",[]],[\"name/21\",[15,34.012]],[\"comment/21\",[]],[\"name/22\",[1,28.904]],[\"comment/22\",[]],[\"name/23\",[4,23.026]],[\"comment/23\",[]],[\"name/24\",[8,19.349]],[\"comment/24\",[]],[\"name/25\",[5,23.026]],[\"comment/25\",[]],[\"name/26\",[2,28.904]],[\"comment/26\",[]],[\"name/27\",[3,23.026]],[\"comment/27\",[]],[\"name/28\",[6,28.904]],[\"comment/28\",[]],[\"name/29\",[16,34.012]],[\"comment/29\",[]],[\"name/30\",[3,23.026]],[\"comment/30\",[]],[\"name/31\",[10,28.904]],[\"comment/31\",[]],[\"name/32\",[11,28.904]],[\"comment/32\",[]],[\"name/33\",[12,28.904]],[\"comment/33\",[]],[\"name/34\",[13,28.904]],[\"comment/34\",[]],[\"name/35\",[7,23.026]],[\"comment/35\",[]],[\"name/36\",[8,19.349]],[\"comment/36\",[]],[\"name/37\",[9,23.026]],[\"comment/37\",[]],[\"name/38\",[8,19.349]],[\"comment/38\",[]],[\"name/39\",[9,23.026]],[\"comment/39\",[]],[\"name/40\",[7,23.026]],[\"comment/40\",[]],[\"name/41\",[8,19.349]],[\"comment/41\",[]],[\"name/42\",[4,23.026]],[\"comment/42\",[]],[\"name/43\",[5,23.026]],[\"comment/43\",[]]],\"invertedIndex\":[[\"__isempty\",{\"_index\":15,\"name\":{\"21\":{}},\"comment\":{}}],[\"__type\",{\"_index\":8,\"name\":{\"8\":{},\"10\":{},\"24\":{},\"36\":{},\"38\":{},\"41\":{}},\"comment\":{}}],[\"_mc\",{\"_index\":9,\"name\":{\"9\":{},\"11\":{},\"37\":{},\"39\":{}},\"comment\":{}}],[\"_target\",{\"_index\":16,\"name\":{\"29\":{}},\"comment\":{}}],[\"add\",{\"_index\":4,\"name\":{\"4\":{},\"13\":{},\"23\":{},\"42\":{}},\"comment\":{}}],[\"children\",{\"_index\":12,\"name\":{\"18\":{},\"33\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":6,\"name\":{\"6\":{},\"28\":{}},\"comment\":{}}],[\"debug\",{\"_index\":2,\"name\":{\"2\":{},\"26\":{}},\"comment\":{}}],[\"descendants\",{\"_index\":13,\"name\":{\"19\":{},\"34\":{}},\"comment\":{}}],[\"mc\",{\"_index\":1,\"name\":{\"1\":{},\"22\":{}},\"comment\":{}}],[\"microcomponents\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"microcomponents.es3\",{\"_index\":14,\"name\":{\"20\":{}},\"comment\":{}}],[\"parent\",{\"_index\":10,\"name\":{\"16\":{},\"31\":{}},\"comment\":{}}],[\"parents\",{\"_index\":11,\"name\":{\"17\":{},\"32\":{}},\"comment\":{}}],[\"remove\",{\"_index\":5,\"name\":{\"5\":{},\"14\":{},\"25\":{},\"43\":{}},\"comment\":{}}],[\"siblings\",{\"_index\":3,\"name\":{\"3\":{},\"15\":{},\"27\":{},\"30\":{}},\"comment\":{}}],[\"target\",{\"_index\":7,\"name\":{\"7\":{},\"12\":{},\"35\":{},\"40\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
1
+ window.searchData = JSON.parse("{\"kinds\":{\"2\":\"Module\",\"64\":\"Function\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\",\"4194304\":\"Type alias\",\"8388608\":\"Reference\"},\"rows\":[{\"kind\":2,\"name\":\"MCbundle\",\"url\":\"modules/MCbundle.html\",\"classes\":\"tsd-kind-module\"},{\"kind\":2,\"name\":\"MC\",\"url\":\"modules/MC.html\",\"classes\":\"tsd-kind-module\"},{\"kind\":256,\"name\":\"HTMLMcElement\",\"url\":\"interfaces/MC.HTMLMcElement.html\",\"classes\":\"tsd-kind-interface tsd-parent-kind-module\",\"parent\":\"MC\"},{\"kind\":1024,\"name\":\"_mc\",\"url\":\"interfaces/MC.HTMLMcElement.html#_mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"MC.HTMLMcElement\"},{\"kind\":64,\"name\":\"addListener\",\"url\":\"functions/MC.addListener.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MC\"},{\"kind\":64,\"name\":\"removeListener\",\"url\":\"functions/MC.removeListener.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MC\"},{\"kind\":128,\"name\":\"McBase\",\"url\":\"classes/MC.McBase.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"MC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/MC.McBase.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"MC.McBase\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/MC.McBase.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"MC.McBase\"},{\"kind\":1024,\"name\":\"#_mc\",\"url\":\"classes/MC.McBase.html#__mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"MC.McBase\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/MC.McBase.html#__mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"MC.McBase.#_mc\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/MC.McBase.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"MC.McBase\"},{\"kind\":128,\"name\":\"MC\",\"url\":\"classes/MC.MC.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"MC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/MC.MC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"MC.MC\"},{\"kind\":2048,\"name\":\"trigger\",\"url\":\"classes/MC.MC.html#trigger\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MC.MC\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/MC.MC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"MC.MC\"},{\"kind\":1024,\"name\":\"#_mc\",\"url\":\"classes/MC.MC.html#__mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"MC.MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/MC.MC.html#__mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"MC.MC.#_mc\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/MC.MC.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MC.MC\"},{\"kind\":128,\"name\":\"DC\",\"url\":\"classes/MC.DC.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"MC\"},{\"kind\":1024,\"name\":\"debug\",\"url\":\"classes/MC.DC.html#debug\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":1024,\"name\":\"add\",\"url\":\"classes/MC.DC.html#add\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":1024,\"name\":\"remove\",\"url\":\"classes/MC.DC.html#remove\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":1024,\"name\":\"trigger\",\"url\":\"classes/MC.DC.html#trigger\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/MC.DC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"classes/MC.DC.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":2048,\"name\":\"ancestors\",\"url\":\"classes/MC.DC.html#ancestors\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"classes/MC.DC.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"classes/MC.DC.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":2048,\"name\":\"autoAttachListeners\",\"url\":\"classes/MC.DC.html#autoAttachListeners\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MC.DC\"},{\"kind\":2048,\"name\":\"trigger\",\"url\":\"classes/MC.DC.html#trigger-1\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MC.DC\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/MC.DC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"MC.DC\"},{\"kind\":1024,\"name\":\"#_mc\",\"url\":\"classes/MC.DC.html#__mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"MC.DC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/MC.DC.html#__mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"MC.DC.#_mc\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/MC.DC.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MC.DC\"},{\"kind\":64,\"name\":\"isObject\",\"url\":\"functions/MCbundle.isObject.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"kebabToPascal\",\"url\":\"functions/MCbundle.kebabToPascal.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"debounce\",\"url\":\"functions/MCbundle.debounce.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"deepEqual\",\"url\":\"functions/MCbundle.deepEqual.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"nameSpace\",\"url\":\"functions/MCbundle.nameSpace.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"parse\",\"url\":\"functions/MCbundle.parse.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"htmlToElements\",\"url\":\"functions/MCbundle.htmlToElements.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":256,\"name\":\"LooseObject\",\"url\":\"interfaces/MCbundle.LooseObject.html\",\"classes\":\"tsd-kind-interface tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":8388608,\"name\":\"HTMLMcElement\",\"url\":\"modules/MCbundle.html#HTMLMcElement\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":8388608,\"name\":\"addListener\",\"url\":\"modules/MCbundle.html#addListener\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":8388608,\"name\":\"removeListener\",\"url\":\"modules/MCbundle.html#removeListener\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":8388608,\"name\":\"McBase\",\"url\":\"modules/MCbundle.html#McBase\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":8388608,\"name\":\"MC\",\"url\":\"modules/MCbundle.html#MC\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":8388608,\"name\":\"DC\",\"url\":\"modules/MCbundle.html#DC\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":128,\"name\":\"McEvent\",\"url\":\"classes/MCbundle.McEvent.html\",\"classes\":\"tsd-kind-class tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/MCbundle.McEvent.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":1024,\"name\":\"data\",\"url\":\"classes/MCbundle.McEvent.html#data\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":1024,\"name\":\"bubble\",\"url\":\"classes/MCbundle.McEvent.html#bubble\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":1024,\"name\":\"#type\",\"url\":\"classes/MCbundle.McEvent.html#_type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":1024,\"name\":\"#stopped\",\"url\":\"classes/MCbundle.McEvent.html#_stopped\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":1024,\"name\":\"#immediateStopped\",\"url\":\"classes/MCbundle.McEvent.html#_immediateStopped\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/MCbundle.McEvent.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":262144,\"name\":\"stopped\",\"url\":\"classes/MCbundle.McEvent.html#stopped\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":262144,\"name\":\"immediateStopped\",\"url\":\"classes/MCbundle.McEvent.html#immediateStopped\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":2048,\"name\":\"stopPropagation\",\"url\":\"classes/MCbundle.McEvent.html#stopPropagation\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":2048,\"name\":\"stopImmediatePropagation\",\"url\":\"classes/MCbundle.McEvent.html#stopImmediatePropagation\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MCbundle.McEvent\"},{\"kind\":64,\"name\":\"defineCE\",\"url\":\"functions/MCbundle.defineCE.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"getCE\",\"url\":\"functions/MCbundle.getCE.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"makeCO\",\"url\":\"functions/MCbundle.makeCO.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":256,\"name\":\"DSelector\",\"url\":\"interfaces/MCbundle.DSelector.html\",\"classes\":\"tsd-kind-interface tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":1024,\"name\":\"#set\",\"url\":\"interfaces/MCbundle.DSelector.html#_set\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-private tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":262144,\"name\":\"set\",\"url\":\"interfaces/MCbundle.DSelector.html#set\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":262144,\"name\":\"array\",\"url\":\"interfaces/MCbundle.DSelector.html#array\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":262144,\"name\":\"length\",\"url\":\"interfaces/MCbundle.DSelector.html#length\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"$t\",\"url\":\"interfaces/MCbundle.DSelector.html#_t\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"add\",\"url\":\"interfaces/MCbundle.DSelector.html#add\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"addClass\",\"url\":\"interfaces/MCbundle.DSelector.html#addClass\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"after\",\"url\":\"interfaces/MCbundle.DSelector.html#after\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"append\",\"url\":\"interfaces/MCbundle.DSelector.html#append\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"appendTo\",\"url\":\"interfaces/MCbundle.DSelector.html#appendTo\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"attr\",\"url\":\"interfaces/MCbundle.DSelector.html#attr\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"before\",\"url\":\"interfaces/MCbundle.DSelector.html#before\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"interfaces/MCbundle.DSelector.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"interfaces/MCbundle.DSelector.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"empty\",\"url\":\"interfaces/MCbundle.DSelector.html#empty\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"first\",\"url\":\"interfaces/MCbundle.DSelector.html#first\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"interfaces/MCbundle.DSelector.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"hasClass\",\"url\":\"interfaces/MCbundle.DSelector.html#hasClass\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"html\",\"url\":\"interfaces/MCbundle.DSelector.html#html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"last\",\"url\":\"interfaces/MCbundle.DSelector.html#last\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"next\",\"url\":\"interfaces/MCbundle.DSelector.html#next\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"normalize\",\"url\":\"interfaces/MCbundle.DSelector.html#normalize\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"off\",\"url\":\"interfaces/MCbundle.DSelector.html#off\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"on\",\"url\":\"interfaces/MCbundle.DSelector.html#on\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"one\",\"url\":\"interfaces/MCbundle.DSelector.html#one\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"interfaces/MCbundle.DSelector.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"parents\",\"url\":\"interfaces/MCbundle.DSelector.html#parents\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"prepend\",\"url\":\"interfaces/MCbundle.DSelector.html#prepend\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"prev\",\"url\":\"interfaces/MCbundle.DSelector.html#prev\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"removeClass\",\"url\":\"interfaces/MCbundle.DSelector.html#removeClass\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"text\",\"url\":\"interfaces/MCbundle.DSelector.html#text\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"toggleClass\",\"url\":\"interfaces/MCbundle.DSelector.html#toggleClass\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"trigger\",\"url\":\"interfaces/MCbundle.DSelector.html#trigger\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"val\",\"url\":\"interfaces/MCbundle.DSelector.html#val\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"values\",\"url\":\"interfaces/MCbundle.DSelector.html#values\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"at\",\"url\":\"interfaces/MCbundle.DSelector.html#at\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"concat\",\"url\":\"interfaces/MCbundle.DSelector.html#concat\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"interfaces/MCbundle.DSelector.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"every\",\"url\":\"interfaces/MCbundle.DSelector.html#every\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"interfaces/MCbundle.DSelector.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"interfaces/MCbundle.DSelector.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"includes\",\"url\":\"interfaces/MCbundle.DSelector.html#includes\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"indexOf\",\"url\":\"interfaces/MCbundle.DSelector.html#indexOf\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"interfaces/MCbundle.DSelector.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"pop\",\"url\":\"interfaces/MCbundle.DSelector.html#pop\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"push\",\"url\":\"interfaces/MCbundle.DSelector.html#push\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"shift\",\"url\":\"interfaces/MCbundle.DSelector.html#shift\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"slice\",\"url\":\"interfaces/MCbundle.DSelector.html#slice\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"some\",\"url\":\"interfaces/MCbundle.DSelector.html#some\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":2048,\"name\":\"splice\",\"url\":\"interfaces/MCbundle.DSelector.html#splice\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.DSelector\"},{\"kind\":256,\"name\":\"TSelector\",\"url\":\"interfaces/MCbundle.TSelector.html\",\"classes\":\"tsd-kind-interface tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":1024,\"name\":\"#set\",\"url\":\"interfaces/MCbundle.TSelector.html#_set\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface tsd-is-private tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":262144,\"name\":\"set\",\"url\":\"interfaces/MCbundle.TSelector.html#set\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":262144,\"name\":\"array\",\"url\":\"interfaces/MCbundle.TSelector.html#array\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":262144,\"name\":\"length\",\"url\":\"interfaces/MCbundle.TSelector.html#length\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"$d\",\"url\":\"interfaces/MCbundle.TSelector.html#_d\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"interfaces/MCbundle.TSelector.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"interfaces/MCbundle.TSelector.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"first\",\"url\":\"interfaces/MCbundle.TSelector.html#first\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"has\",\"url\":\"interfaces/MCbundle.TSelector.html#has\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"last\",\"url\":\"interfaces/MCbundle.TSelector.html#last\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"next\",\"url\":\"interfaces/MCbundle.TSelector.html#next\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"ns\",\"url\":\"interfaces/MCbundle.TSelector.html#ns\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"off\",\"url\":\"interfaces/MCbundle.TSelector.html#off\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"on\",\"url\":\"interfaces/MCbundle.TSelector.html#on\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"one\",\"url\":\"interfaces/MCbundle.TSelector.html#one\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"interfaces/MCbundle.TSelector.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"parents\",\"url\":\"interfaces/MCbundle.TSelector.html#parents\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"prev\",\"url\":\"interfaces/MCbundle.TSelector.html#prev\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"trigger\",\"url\":\"interfaces/MCbundle.TSelector.html#trigger\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"at\",\"url\":\"interfaces/MCbundle.TSelector.html#at\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"concat\",\"url\":\"interfaces/MCbundle.TSelector.html#concat\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"entries\",\"url\":\"interfaces/MCbundle.TSelector.html#entries\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"every\",\"url\":\"interfaces/MCbundle.TSelector.html#every\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"filter\",\"url\":\"interfaces/MCbundle.TSelector.html#filter\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"forEach\",\"url\":\"interfaces/MCbundle.TSelector.html#forEach\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"includes\",\"url\":\"interfaces/MCbundle.TSelector.html#includes\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"indexOf\",\"url\":\"interfaces/MCbundle.TSelector.html#indexOf\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"map\",\"url\":\"interfaces/MCbundle.TSelector.html#map\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"pop\",\"url\":\"interfaces/MCbundle.TSelector.html#pop\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"push\",\"url\":\"interfaces/MCbundle.TSelector.html#push\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"shift\",\"url\":\"interfaces/MCbundle.TSelector.html#shift\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"slice\",\"url\":\"interfaces/MCbundle.TSelector.html#slice\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"some\",\"url\":\"interfaces/MCbundle.TSelector.html#some\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":2048,\"name\":\"splice\",\"url\":\"interfaces/MCbundle.TSelector.html#splice\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited\",\"parent\":\"MCbundle.TSelector\"},{\"kind\":64,\"name\":\"$d\",\"url\":\"functions/MCbundle._d.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"$t\",\"url\":\"functions/MCbundle._t.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":4194304,\"name\":\"singleSelector\",\"url\":\"types/MCbundle.singleSelector.html\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":4194304,\"name\":\"selection\",\"url\":\"types/MCbundle.selection.html\",\"classes\":\"tsd-kind-type-alias tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":64,\"name\":\"formValues\",\"url\":\"functions/MCbundle.formValues.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-module\",\"parent\":\"MCbundle\"},{\"kind\":8388608,\"name\":\"McEvent\",\"url\":\"modules/MC.html#McEvent\",\"classes\":\"tsd-kind-reference tsd-parent-kind-module\",\"parent\":\"MC\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,46.508]],[\"comment/0\",[]],[\"name/1\",[1,38.035]],[\"comment/1\",[]],[\"name/2\",[2,41.4]],[\"comment/2\",[]],[\"name/3\",[3,35.522]],[\"comment/3\",[]],[\"name/4\",[4,41.4]],[\"comment/4\",[]],[\"name/5\",[5,41.4]],[\"comment/5\",[]],[\"name/6\",[6,41.4]],[\"comment/6\",[]],[\"name/7\",[7,35.522]],[\"comment/7\",[]],[\"name/8\",[8,31.844]],[\"comment/8\",[]],[\"name/9\",[3,35.522]],[\"comment/9\",[]],[\"name/10\",[9,38.035]],[\"comment/10\",[]],[\"name/11\",[8,31.844]],[\"comment/11\",[]],[\"name/12\",[1,38.035]],[\"comment/12\",[]],[\"name/13\",[7,35.522]],[\"comment/13\",[]],[\"name/14\",[10,33.515]],[\"comment/14\",[]],[\"name/15\",[8,31.844]],[\"comment/15\",[]],[\"name/16\",[3,35.522]],[\"comment/16\",[]],[\"name/17\",[9,38.035]],[\"comment/17\",[]],[\"name/18\",[8,31.844]],[\"comment/18\",[]],[\"name/19\",[11,41.4]],[\"comment/19\",[]],[\"name/20\",[12,46.508]],[\"comment/20\",[]],[\"name/21\",[13,41.4]],[\"comment/21\",[]],[\"name/22\",[14,46.508]],[\"comment/22\",[]],[\"name/23\",[10,33.515]],[\"comment/23\",[]],[\"name/24\",[7,35.522]],[\"comment/24\",[]],[\"name/25\",[15,38.035]],[\"comment/25\",[]],[\"name/26\",[16,46.508]],[\"comment/26\",[]],[\"name/27\",[17,38.035]],[\"comment/27\",[]],[\"name/28\",[18,38.035]],[\"comment/28\",[]],[\"name/29\",[19,46.508]],[\"comment/29\",[]],[\"name/30\",[10,33.515]],[\"comment/30\",[]],[\"name/31\",[8,31.844]],[\"comment/31\",[]],[\"name/32\",[3,35.522]],[\"comment/32\",[]],[\"name/33\",[9,38.035]],[\"comment/33\",[]],[\"name/34\",[8,31.844]],[\"comment/34\",[]],[\"name/35\",[20,46.508]],[\"comment/35\",[]],[\"name/36\",[21,46.508]],[\"comment/36\",[]],[\"name/37\",[22,46.508]],[\"comment/37\",[]],[\"name/38\",[23,46.508]],[\"comment/38\",[]],[\"name/39\",[24,46.508]],[\"comment/39\",[]],[\"name/40\",[25,46.508]],[\"comment/40\",[]],[\"name/41\",[26,46.508]],[\"comment/41\",[]],[\"name/42\",[27,46.508]],[\"comment/42\",[]],[\"name/43\",[2,41.4]],[\"comment/43\",[]],[\"name/44\",[4,41.4]],[\"comment/44\",[]],[\"name/45\",[5,41.4]],[\"comment/45\",[]],[\"name/46\",[6,41.4]],[\"comment/46\",[]],[\"name/47\",[1,38.035]],[\"comment/47\",[]],[\"name/48\",[11,41.4]],[\"comment/48\",[]],[\"name/49\",[28,41.4]],[\"comment/49\",[]],[\"name/50\",[7,35.522]],[\"comment/50\",[]],[\"name/51\",[29,46.508]],[\"comment/51\",[]],[\"name/52\",[30,46.508]],[\"comment/52\",[]],[\"name/53\",[31,41.4]],[\"comment/53\",[]],[\"name/54\",[32,41.4]],[\"comment/54\",[]],[\"name/55\",[33,41.4]],[\"comment/55\",[]],[\"name/56\",[31,41.4]],[\"comment/56\",[]],[\"name/57\",[32,41.4]],[\"comment/57\",[]],[\"name/58\",[33,41.4]],[\"comment/58\",[]],[\"name/59\",[34,46.508]],[\"comment/59\",[]],[\"name/60\",[35,46.508]],[\"comment/60\",[]],[\"name/61\",[36,46.508]],[\"comment/61\",[]],[\"name/62\",[37,46.508]],[\"comment/62\",[]],[\"name/63\",[38,46.508]],[\"comment/63\",[]],[\"name/64\",[39,46.508]],[\"comment/64\",[]],[\"name/65\",[40,35.522]],[\"comment/65\",[]],[\"name/66\",[40,35.522]],[\"comment/66\",[]],[\"name/67\",[41,41.4]],[\"comment/67\",[]],[\"name/68\",[42,41.4]],[\"comment/68\",[]],[\"name/69\",[43,41.4]],[\"comment/69\",[]],[\"name/70\",[13,41.4]],[\"comment/70\",[]],[\"name/71\",[44,46.508]],[\"comment/71\",[]],[\"name/72\",[45,46.508]],[\"comment/72\",[]],[\"name/73\",[46,46.508]],[\"comment/73\",[]],[\"name/74\",[47,46.508]],[\"comment/74\",[]],[\"name/75\",[48,46.508]],[\"comment/75\",[]],[\"name/76\",[49,46.508]],[\"comment/76\",[]],[\"name/77\",[17,38.035]],[\"comment/77\",[]],[\"name/78\",[18,38.035]],[\"comment/78\",[]],[\"name/79\",[50,46.508]],[\"comment/79\",[]],[\"name/80\",[51,41.4]],[\"comment/80\",[]],[\"name/81\",[52,41.4]],[\"comment/81\",[]],[\"name/82\",[53,46.508]],[\"comment/82\",[]],[\"name/83\",[54,46.508]],[\"comment/83\",[]],[\"name/84\",[55,41.4]],[\"comment/84\",[]],[\"name/85\",[56,41.4]],[\"comment/85\",[]],[\"name/86\",[57,46.508]],[\"comment/86\",[]],[\"name/87\",[58,41.4]],[\"comment/87\",[]],[\"name/88\",[59,41.4]],[\"comment/88\",[]],[\"name/89\",[60,41.4]],[\"comment/89\",[]],[\"name/90\",[15,38.035]],[\"comment/90\",[]],[\"name/91\",[61,41.4]],[\"comment/91\",[]],[\"name/92\",[62,46.508]],[\"comment/92\",[]],[\"name/93\",[63,41.4]],[\"comment/93\",[]],[\"name/94\",[64,46.508]],[\"comment/94\",[]],[\"name/95\",[65,46.508]],[\"comment/95\",[]],[\"name/96\",[66,46.508]],[\"comment/96\",[]],[\"name/97\",[10,33.515]],[\"comment/97\",[]],[\"name/98\",[67,46.508]],[\"comment/98\",[]],[\"name/99\",[68,46.508]],[\"comment/99\",[]],[\"name/100\",[69,41.4]],[\"comment/100\",[]],[\"name/101\",[70,41.4]],[\"comment/101\",[]],[\"name/102\",[71,41.4]],[\"comment/102\",[]],[\"name/103\",[72,41.4]],[\"comment/103\",[]],[\"name/104\",[73,41.4]],[\"comment/104\",[]],[\"name/105\",[74,41.4]],[\"comment/105\",[]],[\"name/106\",[75,41.4]],[\"comment/106\",[]],[\"name/107\",[76,41.4]],[\"comment/107\",[]],[\"name/108\",[77,41.4]],[\"comment/108\",[]],[\"name/109\",[78,41.4]],[\"comment/109\",[]],[\"name/110\",[79,41.4]],[\"comment/110\",[]],[\"name/111\",[80,41.4]],[\"comment/111\",[]],[\"name/112\",[81,41.4]],[\"comment/112\",[]],[\"name/113\",[82,41.4]],[\"comment/113\",[]],[\"name/114\",[83,41.4]],[\"comment/114\",[]],[\"name/115\",[84,46.508]],[\"comment/115\",[]],[\"name/116\",[40,35.522]],[\"comment/116\",[]],[\"name/117\",[40,35.522]],[\"comment/117\",[]],[\"name/118\",[41,41.4]],[\"comment/118\",[]],[\"name/119\",[42,41.4]],[\"comment/119\",[]],[\"name/120\",[85,41.4]],[\"comment/120\",[]],[\"name/121\",[17,38.035]],[\"comment/121\",[]],[\"name/122\",[18,38.035]],[\"comment/122\",[]],[\"name/123\",[51,41.4]],[\"comment/123\",[]],[\"name/124\",[52,41.4]],[\"comment/124\",[]],[\"name/125\",[55,41.4]],[\"comment/125\",[]],[\"name/126\",[56,41.4]],[\"comment/126\",[]],[\"name/127\",[86,46.508]],[\"comment/127\",[]],[\"name/128\",[58,41.4]],[\"comment/128\",[]],[\"name/129\",[59,41.4]],[\"comment/129\",[]],[\"name/130\",[60,41.4]],[\"comment/130\",[]],[\"name/131\",[15,38.035]],[\"comment/131\",[]],[\"name/132\",[61,41.4]],[\"comment/132\",[]],[\"name/133\",[63,41.4]],[\"comment/133\",[]],[\"name/134\",[10,33.515]],[\"comment/134\",[]],[\"name/135\",[69,41.4]],[\"comment/135\",[]],[\"name/136\",[70,41.4]],[\"comment/136\",[]],[\"name/137\",[71,41.4]],[\"comment/137\",[]],[\"name/138\",[72,41.4]],[\"comment/138\",[]],[\"name/139\",[73,41.4]],[\"comment/139\",[]],[\"name/140\",[74,41.4]],[\"comment/140\",[]],[\"name/141\",[75,41.4]],[\"comment/141\",[]],[\"name/142\",[76,41.4]],[\"comment/142\",[]],[\"name/143\",[77,41.4]],[\"comment/143\",[]],[\"name/144\",[78,41.4]],[\"comment/144\",[]],[\"name/145\",[79,41.4]],[\"comment/145\",[]],[\"name/146\",[80,41.4]],[\"comment/146\",[]],[\"name/147\",[81,41.4]],[\"comment/147\",[]],[\"name/148\",[82,41.4]],[\"comment/148\",[]],[\"name/149\",[83,41.4]],[\"comment/149\",[]],[\"name/150\",[85,41.4]],[\"comment/150\",[]],[\"name/151\",[43,41.4]],[\"comment/151\",[]],[\"name/152\",[87,46.508]],[\"comment/152\",[]],[\"name/153\",[88,46.508]],[\"comment/153\",[]],[\"name/154\",[89,46.508]],[\"comment/154\",[]],[\"name/155\",[28,41.4]],[\"comment/155\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":9,\"name\":{\"10\":{},\"17\":{},\"33\":{}},\"comment\":{}}],[\"_mc\",{\"_index\":3,\"name\":{\"3\":{},\"9\":{},\"16\":{},\"32\":{}},\"comment\":{}}],[\"add\",{\"_index\":13,\"name\":{\"21\":{},\"70\":{}},\"comment\":{}}],[\"addclass\",{\"_index\":44,\"name\":{\"71\":{}},\"comment\":{}}],[\"addlistener\",{\"_index\":4,\"name\":{\"4\":{},\"44\":{}},\"comment\":{}}],[\"after\",{\"_index\":45,\"name\":{\"72\":{}},\"comment\":{}}],[\"ancestors\",{\"_index\":16,\"name\":{\"26\":{}},\"comment\":{}}],[\"append\",{\"_index\":46,\"name\":{\"73\":{}},\"comment\":{}}],[\"appendto\",{\"_index\":47,\"name\":{\"74\":{}},\"comment\":{}}],[\"array\",{\"_index\":41,\"name\":{\"67\":{},\"118\":{}},\"comment\":{}}],[\"at\",{\"_index\":69,\"name\":{\"100\":{},\"135\":{}},\"comment\":{}}],[\"attr\",{\"_index\":48,\"name\":{\"75\":{}},\"comment\":{}}],[\"autoattachlisteners\",{\"_index\":19,\"name\":{\"29\":{}},\"comment\":{}}],[\"before\",{\"_index\":49,\"name\":{\"76\":{}},\"comment\":{}}],[\"bubble\",{\"_index\":30,\"name\":{\"52\":{}},\"comment\":{}}],[\"children\",{\"_index\":17,\"name\":{\"27\":{},\"77\":{},\"121\":{}},\"comment\":{}}],[\"concat\",{\"_index\":70,\"name\":{\"101\":{},\"136\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":7,\"name\":{\"7\":{},\"13\":{},\"24\":{},\"50\":{}},\"comment\":{}}],[\"d\",{\"_index\":85,\"name\":{\"120\":{},\"150\":{}},\"comment\":{}}],[\"data\",{\"_index\":29,\"name\":{\"51\":{}},\"comment\":{}}],[\"dc\",{\"_index\":11,\"name\":{\"19\":{},\"48\":{}},\"comment\":{}}],[\"debounce\",{\"_index\":22,\"name\":{\"37\":{}},\"comment\":{}}],[\"debug\",{\"_index\":12,\"name\":{\"20\":{}},\"comment\":{}}],[\"deepequal\",{\"_index\":23,\"name\":{\"38\":{}},\"comment\":{}}],[\"definece\",{\"_index\":36,\"name\":{\"61\":{}},\"comment\":{}}],[\"descendants\",{\"_index\":18,\"name\":{\"28\":{},\"78\":{},\"122\":{}},\"comment\":{}}],[\"dselector\",{\"_index\":39,\"name\":{\"64\":{}},\"comment\":{}}],[\"empty\",{\"_index\":50,\"name\":{\"79\":{}},\"comment\":{}}],[\"entries\",{\"_index\":71,\"name\":{\"102\":{},\"137\":{}},\"comment\":{}}],[\"every\",{\"_index\":72,\"name\":{\"103\":{},\"138\":{}},\"comment\":{}}],[\"filter\",{\"_index\":73,\"name\":{\"104\":{},\"139\":{}},\"comment\":{}}],[\"first\",{\"_index\":51,\"name\":{\"80\":{},\"123\":{}},\"comment\":{}}],[\"foreach\",{\"_index\":74,\"name\":{\"105\":{},\"140\":{}},\"comment\":{}}],[\"formvalues\",{\"_index\":89,\"name\":{\"154\":{}},\"comment\":{}}],[\"getce\",{\"_index\":37,\"name\":{\"62\":{}},\"comment\":{}}],[\"has\",{\"_index\":52,\"name\":{\"81\":{},\"124\":{}},\"comment\":{}}],[\"hasclass\",{\"_index\":53,\"name\":{\"82\":{}},\"comment\":{}}],[\"html\",{\"_index\":54,\"name\":{\"83\":{}},\"comment\":{}}],[\"htmlmcelement\",{\"_index\":2,\"name\":{\"2\":{},\"43\":{}},\"comment\":{}}],[\"htmltoelements\",{\"_index\":26,\"name\":{\"41\":{}},\"comment\":{}}],[\"immediatestopped\",{\"_index\":33,\"name\":{\"55\":{},\"58\":{}},\"comment\":{}}],[\"includes\",{\"_index\":75,\"name\":{\"106\":{},\"141\":{}},\"comment\":{}}],[\"indexof\",{\"_index\":76,\"name\":{\"107\":{},\"142\":{}},\"comment\":{}}],[\"isobject\",{\"_index\":20,\"name\":{\"35\":{}},\"comment\":{}}],[\"kebabtopascal\",{\"_index\":21,\"name\":{\"36\":{}},\"comment\":{}}],[\"last\",{\"_index\":55,\"name\":{\"84\":{},\"125\":{}},\"comment\":{}}],[\"length\",{\"_index\":42,\"name\":{\"68\":{},\"119\":{}},\"comment\":{}}],[\"looseobject\",{\"_index\":27,\"name\":{\"42\":{}},\"comment\":{}}],[\"makeco\",{\"_index\":38,\"name\":{\"63\":{}},\"comment\":{}}],[\"map\",{\"_index\":77,\"name\":{\"108\":{},\"143\":{}},\"comment\":{}}],[\"mc\",{\"_index\":1,\"name\":{\"1\":{},\"12\":{},\"47\":{}},\"comment\":{}}],[\"mcbase\",{\"_index\":6,\"name\":{\"6\":{},\"46\":{}},\"comment\":{}}],[\"mcbundle\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"mcevent\",{\"_index\":28,\"name\":{\"49\":{},\"155\":{}},\"comment\":{}}],[\"namespace\",{\"_index\":24,\"name\":{\"39\":{}},\"comment\":{}}],[\"next\",{\"_index\":56,\"name\":{\"85\":{},\"126\":{}},\"comment\":{}}],[\"normalize\",{\"_index\":57,\"name\":{\"86\":{}},\"comment\":{}}],[\"ns\",{\"_index\":86,\"name\":{\"127\":{}},\"comment\":{}}],[\"off\",{\"_index\":58,\"name\":{\"87\":{},\"128\":{}},\"comment\":{}}],[\"on\",{\"_index\":59,\"name\":{\"88\":{},\"129\":{}},\"comment\":{}}],[\"one\",{\"_index\":60,\"name\":{\"89\":{},\"130\":{}},\"comment\":{}}],[\"parent\",{\"_index\":15,\"name\":{\"25\":{},\"90\":{},\"131\":{}},\"comment\":{}}],[\"parents\",{\"_index\":61,\"name\":{\"91\":{},\"132\":{}},\"comment\":{}}],[\"parse\",{\"_index\":25,\"name\":{\"40\":{}},\"comment\":{}}],[\"pop\",{\"_index\":78,\"name\":{\"109\":{},\"144\":{}},\"comment\":{}}],[\"prepend\",{\"_index\":62,\"name\":{\"92\":{}},\"comment\":{}}],[\"prev\",{\"_index\":63,\"name\":{\"93\":{},\"133\":{}},\"comment\":{}}],[\"push\",{\"_index\":79,\"name\":{\"110\":{},\"145\":{}},\"comment\":{}}],[\"remove\",{\"_index\":14,\"name\":{\"22\":{}},\"comment\":{}}],[\"removeclass\",{\"_index\":64,\"name\":{\"94\":{}},\"comment\":{}}],[\"removelistener\",{\"_index\":5,\"name\":{\"5\":{},\"45\":{}},\"comment\":{}}],[\"selection\",{\"_index\":88,\"name\":{\"153\":{}},\"comment\":{}}],[\"set\",{\"_index\":40,\"name\":{\"65\":{},\"66\":{},\"116\":{},\"117\":{}},\"comment\":{}}],[\"shift\",{\"_index\":80,\"name\":{\"111\":{},\"146\":{}},\"comment\":{}}],[\"singleselector\",{\"_index\":87,\"name\":{\"152\":{}},\"comment\":{}}],[\"slice\",{\"_index\":81,\"name\":{\"112\":{},\"147\":{}},\"comment\":{}}],[\"some\",{\"_index\":82,\"name\":{\"113\":{},\"148\":{}},\"comment\":{}}],[\"splice\",{\"_index\":83,\"name\":{\"114\":{},\"149\":{}},\"comment\":{}}],[\"stopimmediatepropagation\",{\"_index\":35,\"name\":{\"60\":{}},\"comment\":{}}],[\"stopped\",{\"_index\":32,\"name\":{\"54\":{},\"57\":{}},\"comment\":{}}],[\"stoppropagation\",{\"_index\":34,\"name\":{\"59\":{}},\"comment\":{}}],[\"t\",{\"_index\":43,\"name\":{\"69\":{},\"151\":{}},\"comment\":{}}],[\"target\",{\"_index\":8,\"name\":{\"8\":{},\"11\":{},\"15\":{},\"18\":{},\"31\":{},\"34\":{}},\"comment\":{}}],[\"text\",{\"_index\":65,\"name\":{\"95\":{}},\"comment\":{}}],[\"toggleclass\",{\"_index\":66,\"name\":{\"96\":{}},\"comment\":{}}],[\"trigger\",{\"_index\":10,\"name\":{\"14\":{},\"23\":{},\"30\":{},\"97\":{},\"134\":{}},\"comment\":{}}],[\"tselector\",{\"_index\":84,\"name\":{\"115\":{}},\"comment\":{}}],[\"type\",{\"_index\":31,\"name\":{\"53\":{},\"56\":{}},\"comment\":{}}],[\"val\",{\"_index\":67,\"name\":{\"98\":{}},\"comment\":{}}],[\"values\",{\"_index\":68,\"name\":{\"99\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ import { getCE } from './customElements.js';
3
+ // set of currently loading scripts
4
+ const loadingScripts = new Set();
5
+ const _makeLoadData = (e) => {
6
+ let tagName = e?.localName ?? '', isAttribute = e.getAttribute?.('is') || '', isUBE = isAttribute ? true : false, isCE = tagName.indexOf('-') !== -1 ? true : false, ubeSelector = isUBE ? `${tagName}[is=\"${isAttribute}\"]:defined` : '', ceSelector = isCE ? tagName + ':defined' : '', fileBaseName = isUBE
7
+ ? isAttribute
8
+ : isCE
9
+ ? tagName
10
+ : '', fileName = fileBaseName.length ? '/' + fileBaseName.split('-').join('/') + '.js' : '', selector = isUBE
11
+ ? ubeSelector
12
+ : isCE
13
+ ? ceSelector
14
+ : '';
15
+ //console.log( 'makeLoadData()', tagName, isUBE, isCE, ubeSelector, ceSelector, fileBaseName, ' => ', (isUBE || isCE) ? [ e, selector, fileName ] : false );
16
+ return (isUBE || isCE) ? [e, selector, fileName, fileBaseName] : false;
17
+ };
18
+ const _loadRequirements = (node) => {
19
+ let undefinedSet = new Set(), element = node instanceof HTMLTemplateElement ? node.content : node, head = document.head, allPromises = [], e;
20
+ ;
21
+ if (element instanceof HTMLTemplateElement === false) {
22
+ // if node itself is undefined
23
+ let data = _makeLoadData(element);
24
+ if (data && !data[0].matches(data[1])) {
25
+ undefinedSet.add(data);
26
+ }
27
+ }
28
+ // if some of the childNodes are undefined
29
+ Array.from(element.childNodes).forEach((node) => {
30
+ let data = _makeLoadData(node);
31
+ if (data && !data[0].matches(data[1])) {
32
+ undefinedSet.add(data);
33
+ }
34
+ });
35
+ if (!!undefinedSet.size) { // there are requirements
36
+ undefinedSet.forEach((data) => {
37
+ if (!getCE(data[3]) && !loadingScripts.has(data[2])) {
38
+ loadingScripts.add(data[2]);
39
+ const se = document.createElement('script');
40
+ se.setAttribute('src', data[2]);
41
+ se.setAttribute('blocking', 'render');
42
+ se.setAttribute('type', 'module');
43
+ let s = data[2];
44
+ se.onload = () => {
45
+ // console.info('loaded', s);
46
+ loadingScripts.delete(s);
47
+ };
48
+ head.append(se);
49
+ let e = data[0];
50
+ }
51
+ else {
52
+ return;
53
+ }
54
+ });
55
+ }
56
+ return Promise.all(allPromises);
57
+ };