@genesislcap/design-system-configurator 13.6.0 → 13.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/1.0.0.remoteEntry.js +1 -1
- package/dist/189.189.a9c8d30ece74b531825c.js +46 -0
- package/dist/189.5962ce1f44db4f8c4a459719f748276ad6786c6603fd8957c5646cf7f8295e77.js.map +1 -0
- package/dist/{415.415.479036c8c77772e8d4e9.js → 415.415.78a8bd8264823c40afb9.js} +2 -2
- package/dist/{914.914.3e5ebad50d02f5f7dccd.js → 623.623.e5cb705430337f4d7c18.js} +3 -3
- package/dist/{914.270c4937e40a679470a98cdf663208f7d854ed0eac3571188a682d583b03a705.js.map → 623.a705d0a55a2298ab6aef08a9ccf0317b955ddfef40104015c24149193ede963c.js.map} +1 -1
- package/dist/695.3fe5051e7afea06fe92113b21c5f673302d283c7446ab03fd35a3ab7c9b27dba.js.map +1 -0
- package/dist/{623.623.b1252c6bc8758b9fc961.js → 695.695.12d9b4ff31329ac430bf.js} +318 -273
- package/dist/755.755.5b2449ca5f385b7977ee.js +2 -0
- package/dist/{755.6dedc14103a9ae33e0ad8e8ac3f25765820d7ef5a94cd3c20b4e1d80103c3f53.js.map → 755.95370e73f97c50dfc77607496743c84b9714899e9698cc0f852a723fa87f4e2c.js.map} +1 -1
- package/dist/842.766f4641f73b351cef03c397b46d306db279e3f7a37db551da5a31cfef773934.js.map +1 -0
- package/dist/{842.842.67fd9bf862c678f2ff08.js → 842.842.bd3221bd5ac1934a9e0d.js} +2 -2
- package/dist/88.291806167084e5537bc097f32a0ccf673314abfad80df71c48f88eaf3a040510.js.map +1 -0
- package/dist/{88.88.18bbe3f4ef9954adae4a.js → 88.88.b860466a23070e24c8ca.js} +3 -3
- package/dist/905.905.60f90fac12b049034fe3.js +3 -0
- package/dist/905.abe3f8f58593e33cfecc1ba9d091da35b0c44e059169b87ad147517f9aed6078.js.map +1 -0
- package/dist/dashboard.json +1 -1
- package/dist/{designSystemConfigurator.ac75ffdbcc40fc58e17c1f8d0bd6f8d074767b95cdaff6de2adc870a7d0cebbb.js.map → designSystemConfigurator.494e2cad3d462ff788ddd00a1ec6133e26c781f33f7833c9ef1f1cfbe3c00c77.js.map} +1 -1
- package/dist/dts/components/components.d.ts.map +1 -1
- package/dist/dts/components/design-system-preview-container/design-system-preview-container.d.ts +4 -0
- package/dist/dts/components/design-system-preview-container/design-system-preview-container.d.ts.map +1 -0
- package/dist/dts/components/design-system-preview-container/design-system-preview-container.styles.d.ts +2 -0
- package/dist/dts/components/design-system-preview-container/design-system-preview-container.styles.d.ts.map +1 -0
- package/dist/dts/components/design-system-preview-container/design-system-preview-container.template.d.ts +3 -0
- package/dist/dts/components/design-system-preview-container/design-system-preview-container.template.d.ts.map +1 -0
- package/dist/dts/components/design-system-preview-container/index.d.ts +2 -0
- package/dist/dts/components/design-system-preview-container/index.d.ts.map +1 -0
- package/dist/dts/main/main.styles.d.ts.map +1 -1
- package/dist/esm/components/components.js +4 -1
- package/dist/esm/components/design-system-preview-container/design-system-preview-container.js +14 -0
- package/dist/esm/components/design-system-preview-container/design-system-preview-container.styles.js +17 -0
- package/dist/esm/components/design-system-preview-container/design-system-preview-container.template.js +20 -0
- package/dist/esm/components/design-system-preview-container/index.js +1 -0
- package/dist/esm/main/main.styles.js +2 -0
- package/dist/esm/main/main.template.js +1 -1
- package/dist/index.html +1 -1
- package/dist/info.html +4 -4
- package/dist/main.d6cdadbe27f0d69700af110687e4250b7ca640a2b5ecb3e121efa714a2ab7009.js.map +1 -0
- package/dist/main.d80eb775dbc82ca73d2e.js +2 -0
- package/dist/remoteEntry.js +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/dist/623.033e45f0bd22dc2f1542776ae3fdc6cf0792b081a1907ffad0bdbfed99e14610.js.map +0 -1
- package/dist/755.755.68dd9336ba2523e2fa96.js +0 -2
- package/dist/842.49fa7ef3df11fa5ab84653ca0458f8e054e4af6dd2b00bbcc666e5093b2b5645.js.map +0 -1
- package/dist/88.b5974dbad94772003ff7d61cb8a196d3b57e36912f44cf6bb59db146f53a4ace.js.map +0 -1
- package/dist/905.6d7ceb89f49ef9c818f1014043e20607500cf42c3f9b1108d418dad90b96bd9b.js.map +0 -1
- package/dist/905.905.ded27d6b75d3df12d7d4.js +0 -3
- package/dist/93.9015bb82a6bbcfe139cc208006c342aaf344a85cdb543a02ea5e7f4fd6fff4eb.js.map +0 -1
- package/dist/93.93.990150caf6dab31abe8b.js +0 -11
- package/dist/main.254b273b73ce0d86dd29f612fd1f27be2c8c9b0258b5da327786303d6a4d15fe.js.map +0 -1
- package/dist/main.f97d9be0c67ace1933b2.js +0 -2
- /package/dist/{415.415.479036c8c77772e8d4e9.js.LICENSE.txt → 415.415.78a8bd8264823c40afb9.js.LICENSE.txt} +0 -0
- /package/dist/{914.914.3e5ebad50d02f5f7dccd.js.LICENSE.txt → 623.623.e5cb705430337f4d7c18.js.LICENSE.txt} +0 -0
- /package/dist/{905.905.ded27d6b75d3df12d7d4.js.LICENSE.txt → 905.905.60f90fac12b049034fe3.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var designSystemConfigurator;(()=>{"use strict";var e,t,r,n,a,i={8451:(e,t,r)=>{var n={"./index":()=>r.e(755).then((()=>()=>r(8755)))},a=(e,t)=>(r.R=t,t=r.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),i=(e,t)=>{if(r.S){var n=r.S.default,a="default";if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[a]=e,r.I(a,t)}};r.d(t,{get:()=>a,init:()=>i})}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}},n=!0;try{i[e].call(r.exports,r,r.exports,s),n=!1}finally{n&&delete o[e]}return r.exports}s.m=i,s.c=o,e=[],s.O=(t,r,n,a)=>{if(!r){var i=1/0;for(d=0;d<e.length;d++){for(var[r,n,a]=e[d],o=!0,l=0;l<r.length;l++)(!1&a||i>=a)&&Object.keys(s.O).every((e=>s.O[e](r[l])))?r.splice(l--,1):(o=!1,a<i&&(i=a));if(o){e.splice(d--,1);var f=n();void 0!==f&&(t=f)}}return t}a=a||0;for(var d=e.length;d>0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[r,n,a]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,r)=>(s.f[r](e,t),t)),[])),s.u=e=>(({47:"npm.dialog-polyfill",104:"npm.fortawesome",127:"npm.microsoft",260:"npm.ag-grid-community",271:"npm.rxjs",453:"npm.tslib",591:"npm.popperjs",713:"npm.consola"}[e]||e)+"."+e+"."+{47:"6d709d3b57b420ce86d6",70:"ef3ab5e21635e58c2955",88:"18bbe3f4ef9954adae4a",93:"990150caf6dab31abe8b",104:"cd7f35fabc3ee850b142",127:"f7d5088c6bcfebbd7a11",147:"0a40b61bfac7fad42921",260:"815f6dc787f67235008e",271:"226f403ad73c8727dc80",415:"479036c8c77772e8d4e9",453:"e0a32b4b8dea5db18b43",474:"50f5bdd242b1e3c64276",570:"01ab6bbf6dc08826be7d",591:"65b468f81c37f81c7eba",600:"20102666bb0ae2f5ede4",623:"b1252c6bc8758b9fc961",694:"a27212233d5580e84fc5",713:"137de83988071eb7b39f",755:"68dd9336ba2523e2fa96",779:"6382ecf7a8620636b6f0",842:"67fd9bf862c678f2ff08",896:"a6f2267a13accf5f2754",905:"ded27d6b75d3df12d7d4",914:"3e5ebad50d02f5f7dccd",951:"419569655c7ff8acf749"}[e]+".js"),s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="@genesislcap/design-system-configurator:",s.l=(e,n,a,i)=>{if(t[e])t[e].push(n);else{var o,l;if(void 0!==a)for(var f=document.getElementsByTagName("script"),d=0;d<f.length;d++){var u=f[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+a){o=u;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-webpack",r+a),o.src=e),t[e]=[n];var c=(r,n)=>{o.onerror=o.onload=null,clearTimeout(h);var a=t[e];if(delete t[e],o.parentNode&&o.parentNode.removeChild(o),a&&a.forEach((e=>e(n))),r)return r(n)},h=setTimeout(c.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=c.bind(null,o.onerror),o.onload=c.bind(null,o.onload),l&&document.head.appendChild(o)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n={},a={},s.f.remotes=(e,t)=>{s.o(n,e)&&n[e].forEach((e=>{var r=s.R;r||(r=[]);var n=a[e];if(!(r.indexOf(n)>=0)){if(r.push(n),n.p)return t.push(n.p);var o=t=>{t||(t=new Error("Container missing")),"string"==typeof t.message&&(t.message+='\nwhile loading "'+n[1]+'" from '+n[2]),i[e]=()=>{throw t},n.p=0},l=(e,r,a,i,s,l)=>{try{var f=e(r,a);if(!f||!f.then)return s(f,i,l);var d=f.then((e=>s(e,i)),o);if(!l)return d;t.push(n.p=d)}catch(e){o(e)}},f=(e,t,a)=>l(t.get,n[1],r,0,d,a),d=t=>{n.p=1,i[e]=e=>{e.exports=t()}};l(s,n[2],0,0,((e,t,r)=>e?l(s.I,n[0],0,e,f,r):o()),1)}}))},(()=>{s.S={};var e={},t={};s.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];s.o(s.S,r)||(s.S[r]={});var i=s.S[r],o="@genesislcap/design-system-configurator",l=(e,t,r,n)=>{var a=i[e]=i[e]||{},s=a[t];(!s||!s.loaded&&(!n!=!s.eager?n:o>s.from))&&(a[t]={get:r,from:o,eager:!!n})},f=[];return"default"===r&&(l("@genesislcap/alpha-design-system","13.5.0",(()=>Promise.all([s.e(127),s.e(951),s.e(147),s.e(694),s.e(896),s.e(474),s.e(842)]).then((()=>()=>s(9842))))),l("@genesislcap/documentation-components","13.5.0",(()=>Promise.all([s.e(127),s.e(271),s.e(260),s.e(951),s.e(147),s.e(694),s.e(896),s.e(905),s.e(570),s.e(474),s.e(623),s.e(70)]).then((()=>()=>s(4623))))),l("@genesislcap/foundation-ui","13.5.0",(()=>Promise.all([s.e(127),s.e(271),s.e(104),s.e(591),s.e(47),s.e(951),s.e(147),s.e(694),s.e(779),s.e(896),s.e(905),s.e(570),s.e(88)]).then((()=>()=>s(5088))))),l("@genesislcap/foundation-utils","13.5.0",(()=>Promise.all([s.e(713),s.e(951),s.e(147),s.e(896),s.e(600)]).then((()=>()=>s(4600))))),l("@microsoft/fast-colors","5.3.1",(()=>s.e(127).then((()=>()=>s(8023))))),l("@microsoft/fast-components","2.30.6",(()=>Promise.all([s.e(127),s.e(951),s.e(147),s.e(694),s.e(779)]).then((()=>()=>s(4057))))),l("@microsoft/fast-element","1.11.0",(()=>s.e(127).then((()=>()=>s(1834))))),l("@microsoft/fast-foundation","2.47.0",(()=>Promise.all([s.e(127),s.e(147),s.e(779),s.e(415)]).then((()=>()=>s(3248))))),l("tslib","1.14.1",(()=>s.e(453).then((()=>()=>s(1191))))),l("tslib","2.5.0",(()=>s.e(271).then((()=>()=>s(7080))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(2760))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(5356))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(4742))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(1355))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(8056))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(874))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(5055))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(655)))))),e[r]=f.length?Promise.all(f).then((()=>e[r]=1)):1}}})(),s.p="/",(()=>{var e=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},t=(t,r)=>{t=e(t),r=e(r);for(var n=0;;){if(n>=t.length)return n<r.length&&"u"!=(typeof r[n])[0];var a=t[n],i=(typeof a)[0];if(n>=r.length)return"u"==i;var o=r[n],s=(typeof o)[0];if(i!=s)return"o"==i&&"n"==s||"s"==s||"u"==i;if("o"!=i&&"u"!=i&&a!=o)return a<o;n++}},r=(t,n)=>{if(0 in t){n=e(n);var a=t[0],i=a<0;i&&(a=-a-1);for(var o=0,s=1,l=!0;;s++,o++){var f,d,u=s<t.length?(typeof t[s])[0]:"";if(o>=n.length||"o"==(d=(typeof(f=n[o]))[0]))return!l||("u"==u?s>a&&!i:""==u!=i);if("u"==d){if(!l||"u"!=u)return!1}else if(l)if(u==d)if(s<=a){if(f!=t[s])return!1}else{if(i?f>t[s]:f<t[s])return!1;f!=t[s]&&(l=!1)}else if("s"!=u&&"n"!=u){if(i||s<=a)return!1;l=!1,s--}else{if(s<=a||d<u!=i)return!1;l=!1}else"s"!=u&&"n"!=u&&(l=!1,s--)}}var c=[],h=c.pop.bind(c);for(o=1;o<t.length;o++){var p=t[o];c.push(1==p?h()|h():2==p?h()&h():p?r(p,n):!h())}return!!h()},n=(e,n,a)=>{var i=e[n];return(n=Object.keys(i).reduce(((e,n)=>!r(a,n)||e&&!t(e,n)?e:n),0))&&i[n]},a=(e=>function(t,r,n,a){var i=s.I(t);return i&&i.then?i.then(e.bind(e,t,s.S[t],r,n,a)):e(t,s.S[t],r,n,a)})(((e,t,r,a,i)=>{var o=t&&s.o(t,r)&&n(t,r,a);return o?(e=>(e.loaded=1,e.get()))(o):i()})),i={},o={5951:()=>a("default","@microsoft/fast-foundation",[1,2,33,2],(()=>Promise.all([s.e(127),s.e(779),s.e(914)]).then((()=>()=>s(3248))))),3147:()=>a("default","@microsoft/fast-element",[1,1,7,0],(()=>s.e(127).then((()=>()=>s(1834))))),2694:()=>a("default","@microsoft/fast-colors",[1,5,1,4],(()=>s.e(127).then((()=>()=>s(8023))))),3896:()=>a("default","@microsoft/fast-components",[1,2,21,3],(()=>Promise.all([s.e(127),s.e(951),s.e(694),s.e(779)]).then((()=>()=>s(4057))))),2474:()=>a("default","@genesislcap/foundation-ui",[1,13,5,0],(()=>Promise.all([s.e(127),s.e(271),s.e(104),s.e(591),s.e(47),s.e(779),s.e(905),s.e(570),s.e(88)]).then((()=>()=>s(5088))))),186:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(2760))))),5943:()=>a("default","tslib",[1,2,3,1],(()=>s.e(271).then((()=>()=>s(7080))))),1570:()=>a("default","@genesislcap/foundation-utils",[1,13,5,0],(()=>Promise.all([s.e(713),s.e(951),s.e(600)]).then((()=>()=>s(4600))))),249:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(1355))))),1223:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(5055))))),7068:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(4742))))),5070:()=>a("default","@genesislcap/alpha-design-system",[1,13,5,0],(()=>Promise.all([s.e(127),s.e(951),s.e(694),s.e(474),s.e(842)]).then((()=>()=>s(9842))))),779:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(1191))))),8092:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(8056))))),9492:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(874))))),2368:()=>a("default","@genesislcap/documentation-components",[1,13,5,0],(()=>Promise.all([s.e(127),s.e(271),s.e(260),s.e(951),s.e(694),s.e(905),s.e(474),s.e(623)]).then((()=>()=>s(4623))))),5286:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(655)))))},l={70:[5070],88:[8092],93:[2368,5286],147:[3147],474:[2474],570:[1570],600:[9492],623:[249,1223,7068],694:[2694],779:[779],896:[3896],905:[186,5943],951:[5951]};s.f.consumes=(e,t)=>{s.o(l,e)&&l[e].forEach((e=>{if(s.o(i,e))return t.push(i[e]);var r=t=>{i[e]=0,s.m[e]=r=>{delete s.c[e],r.exports=t()}},n=t=>{delete i[e],s.m[e]=r=>{throw delete s.c[e],t}};try{var a=o[e]();a.then?t.push(i[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}))}})(),(()=>{var e={292:0,571:0};s.f.j=(t,r)=>{var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(57[01]|147|474|694|70|779|896|951)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var i=s.p+s.u(t),o=new Error;s.l(i,(r=>{if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;o.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",o.name="ChunkLoadError",o.type=a,o.request=i,n[1](o)}}),"chunk-"+t,t)}},s.O.j=t=>0===e[t];var t=(t,r)=>{var n,a,[i,o,l]=r,f=0;for(n in o)s.o(o,n)&&(s.m[n]=o[n]);if(l)var d=l(s);for(t&&t(r);f<i.length;f++)a=i[f],s.o(e,a)&&e[a]&&e[a][0](),e[i[f]]=0;return s.O(d)},r=self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var l=s.O(void 0,[571],(()=>s(8451)));l=s.O(l),designSystemConfigurator=l})();
|
|
1
|
+
var designSystemConfigurator;(()=>{"use strict";var e,t,r,n,a,i={8451:(e,t,r)=>{var n={"./index":()=>r.e(755).then((()=>()=>r(8755)))},a=(e,t)=>(r.R=t,t=r.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,t),i=(e,t)=>{if(r.S){var n=r.S.default,a="default";if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[a]=e,r.I(a,t)}};r.d(t,{get:()=>a,init:()=>i})}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}},n=!0;try{i[e].call(r.exports,r,r.exports,s),n=!1}finally{n&&delete o[e]}return r.exports}s.m=i,s.c=o,e=[],s.O=(t,r,n,a)=>{if(!r){var i=1/0;for(u=0;u<e.length;u++){for(var[r,n,a]=e[u],o=!0,l=0;l<r.length;l++)(!1&a||i>=a)&&Object.keys(s.O).every((e=>s.O[e](r[l])))?r.splice(l--,1):(o=!1,a<i&&(i=a));if(o){e.splice(u--,1);var f=n();void 0!==f&&(t=f)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[r,n,a]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,r)=>(s.f[r](e,t),t)),[])),s.u=e=>(({47:"npm.dialog-polyfill",104:"npm.fortawesome",127:"npm.microsoft",260:"npm.ag-grid-community",271:"npm.rxjs",453:"npm.tslib",591:"npm.popperjs",713:"npm.consola"}[e]||e)+"."+e+"."+{47:"6d709d3b57b420ce86d6",88:"b860466a23070e24c8ca",104:"cd7f35fabc3ee850b142",127:"f7d5088c6bcfebbd7a11",147:"0a40b61bfac7fad42921",153:"d637e6ebb521f719c72a",189:"a9c8d30ece74b531825c",260:"815f6dc787f67235008e",271:"226f403ad73c8727dc80",342:"b2944d9abba8b81931de",415:"78a8bd8264823c40afb9",453:"e0a32b4b8dea5db18b43",591:"65b468f81c37f81c7eba",600:"20102666bb0ae2f5ede4",623:"e5cb705430337f4d7c18",694:"a27212233d5580e84fc5",695:"12d9b4ff31329ac430bf",713:"137de83988071eb7b39f",755:"5b2449ca5f385b7977ee",779:"6382ecf7a8620636b6f0",842:"bd3221bd5ac1934a9e0d",896:"a6f2267a13accf5f2754",905:"60f90fac12b049034fe3",951:"419569655c7ff8acf749",990:"19cbc16e6b34b93ed22d"}[e]+".js"),s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="@genesislcap/design-system-configurator:",s.l=(e,n,a,i)=>{if(t[e])t[e].push(n);else{var o,l;if(void 0!==a)for(var f=document.getElementsByTagName("script"),u=0;u<f.length;u++){var d=f[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+a){o=d;break}}o||(l=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-webpack",r+a),o.src=e),t[e]=[n];var c=(r,n)=>{o.onerror=o.onload=null,clearTimeout(h);var a=t[e];if(delete t[e],o.parentNode&&o.parentNode.removeChild(o),a&&a.forEach((e=>e(n))),r)return r(n)},h=setTimeout(c.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=c.bind(null,o.onerror),o.onload=c.bind(null,o.onload),l&&document.head.appendChild(o)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n={},a={},s.f.remotes=(e,t)=>{s.o(n,e)&&n[e].forEach((e=>{var r=s.R;r||(r=[]);var n=a[e];if(!(r.indexOf(n)>=0)){if(r.push(n),n.p)return t.push(n.p);var o=t=>{t||(t=new Error("Container missing")),"string"==typeof t.message&&(t.message+='\nwhile loading "'+n[1]+'" from '+n[2]),i[e]=()=>{throw t},n.p=0},l=(e,r,a,i,s,l)=>{try{var f=e(r,a);if(!f||!f.then)return s(f,i,l);var u=f.then((e=>s(e,i)),o);if(!l)return u;t.push(n.p=u)}catch(e){o(e)}},f=(e,t,a)=>l(t.get,n[1],r,0,u,a),u=t=>{n.p=1,i[e]=e=>{e.exports=t()}};l(s,n[2],0,0,((e,t,r)=>e?l(s.I,n[0],0,e,f,r):o()),1)}}))},(()=>{s.S={};var e={},t={};s.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];s.o(s.S,r)||(s.S[r]={});var i=s.S[r],o="@genesislcap/design-system-configurator",l=(e,t,r,n)=>{var a=i[e]=i[e]||{},s=a[t];(!s||!s.loaded&&(!n!=!s.eager?n:o>s.from))&&(a[t]={get:r,from:o,eager:!!n})},f=[];return"default"===r&&(l("@genesislcap/alpha-design-system","13.7.0",(()=>Promise.all([s.e(127),s.e(951),s.e(147),s.e(694),s.e(896),s.e(153),s.e(842)]).then((()=>()=>s(9842))))),l("@genesislcap/documentation-components","13.7.0",(()=>Promise.all([s.e(127),s.e(271),s.e(260),s.e(951),s.e(147),s.e(694),s.e(896),s.e(905),s.e(342),s.e(153),s.e(695),s.e(990)]).then((()=>()=>s(7695))))),l("@genesislcap/foundation-ui","13.7.0",(()=>Promise.all([s.e(127),s.e(271),s.e(104),s.e(591),s.e(47),s.e(951),s.e(147),s.e(694),s.e(779),s.e(896),s.e(905),s.e(342),s.e(88)]).then((()=>()=>s(5088))))),l("@genesislcap/foundation-utils","13.7.0",(()=>Promise.all([s.e(713),s.e(951),s.e(147),s.e(896),s.e(600)]).then((()=>()=>s(4600))))),l("@microsoft/fast-colors","5.3.1",(()=>s.e(127).then((()=>()=>s(8023))))),l("@microsoft/fast-components","2.30.6",(()=>Promise.all([s.e(127),s.e(951),s.e(147),s.e(694),s.e(779)]).then((()=>()=>s(4057))))),l("@microsoft/fast-element","1.11.0",(()=>s.e(127).then((()=>()=>s(1834))))),l("@microsoft/fast-foundation","2.47.0",(()=>Promise.all([s.e(127),s.e(147),s.e(779),s.e(415)]).then((()=>()=>s(3248))))),l("tslib","1.14.1",(()=>s.e(453).then((()=>()=>s(1191))))),l("tslib","2.5.0",(()=>s.e(271).then((()=>()=>s(7080))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(2760))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(5356))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(4742))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(1355))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(8056))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(874))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(5055))))),l("tslib","2.5.0",(()=>s.e(453).then((()=>()=>s(655)))))),e[r]=f.length?Promise.all(f).then((()=>e[r]=1)):1}}})(),s.p="/",(()=>{var e=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},t=(t,r)=>{t=e(t),r=e(r);for(var n=0;;){if(n>=t.length)return n<r.length&&"u"!=(typeof r[n])[0];var a=t[n],i=(typeof a)[0];if(n>=r.length)return"u"==i;var o=r[n],s=(typeof o)[0];if(i!=s)return"o"==i&&"n"==s||"s"==s||"u"==i;if("o"!=i&&"u"!=i&&a!=o)return a<o;n++}},r=(t,n)=>{if(0 in t){n=e(n);var a=t[0],i=a<0;i&&(a=-a-1);for(var o=0,s=1,l=!0;;s++,o++){var f,u,d=s<t.length?(typeof t[s])[0]:"";if(o>=n.length||"o"==(u=(typeof(f=n[o]))[0]))return!l||("u"==d?s>a&&!i:""==d!=i);if("u"==u){if(!l||"u"!=d)return!1}else if(l)if(d==u)if(s<=a){if(f!=t[s])return!1}else{if(i?f>t[s]:f<t[s])return!1;f!=t[s]&&(l=!1)}else if("s"!=d&&"n"!=d){if(i||s<=a)return!1;l=!1,s--}else{if(s<=a||u<d!=i)return!1;l=!1}else"s"!=d&&"n"!=d&&(l=!1,s--)}}var c=[],h=c.pop.bind(c);for(o=1;o<t.length;o++){var p=t[o];c.push(1==p?h()|h():2==p?h()&h():p?r(p,n):!h())}return!!h()},n=(e,n,a)=>{var i=e[n];return(n=Object.keys(i).reduce(((e,n)=>!r(a,n)||e&&!t(e,n)?e:n),0))&&i[n]},a=(e=>function(t,r,n,a){var i=s.I(t);return i&&i.then?i.then(e.bind(e,t,s.S[t],r,n,a)):e(t,s.S[t],r,n,a)})(((e,t,r,a,i)=>{var o=t&&s.o(t,r)&&n(t,r,a);return o?(e=>(e.loaded=1,e.get()))(o):i()})),i={},o={5951:()=>a("default","@microsoft/fast-foundation",[1,2,33,2],(()=>Promise.all([s.e(127),s.e(779),s.e(623)]).then((()=>()=>s(3248))))),3147:()=>a("default","@microsoft/fast-element",[1,1,7,0],(()=>s.e(127).then((()=>()=>s(1834))))),2694:()=>a("default","@microsoft/fast-colors",[1,5,1,4],(()=>s.e(127).then((()=>()=>s(8023))))),3896:()=>a("default","@microsoft/fast-components",[1,2,21,3],(()=>Promise.all([s.e(127),s.e(951),s.e(694),s.e(779)]).then((()=>()=>s(4057))))),3153:()=>a("default","@genesislcap/foundation-ui",[1,13,7,0],(()=>Promise.all([s.e(127),s.e(271),s.e(104),s.e(591),s.e(47),s.e(779),s.e(905),s.e(342),s.e(88)]).then((()=>()=>s(5088))))),186:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(2760))))),5943:()=>a("default","tslib",[1,2,3,1],(()=>s.e(271).then((()=>()=>s(7080))))),342:()=>a("default","@genesislcap/foundation-utils",[1,13,7,0],(()=>Promise.all([s.e(713),s.e(951),s.e(600)]).then((()=>()=>s(4600))))),249:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(1355))))),1223:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(5055))))),7068:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(4742))))),4990:()=>a("default","@genesislcap/alpha-design-system",[1,13,7,0],(()=>Promise.all([s.e(127),s.e(951),s.e(694),s.e(153),s.e(842)]).then((()=>()=>s(9842))))),779:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(1191))))),8092:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(8056))))),9492:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(874))))),5286:()=>a("default","tslib",[1,2,3,1],(()=>s.e(453).then((()=>()=>s(655))))),9080:()=>a("default","@genesislcap/documentation-components",[1,13,7,0],(()=>Promise.all([s.e(127),s.e(271),s.e(260),s.e(951),s.e(694),s.e(905),s.e(153),s.e(695)]).then((()=>()=>s(7695)))))},l={88:[8092],147:[3147],153:[3153],189:[5286,9080],342:[342],600:[9492],694:[2694],695:[249,1223,7068],779:[779],896:[3896],905:[186,5943],951:[5951],990:[4990]};s.f.consumes=(e,t)=>{s.o(l,e)&&l[e].forEach((e=>{if(s.o(i,e))return t.push(i[e]);var r=t=>{i[e]=0,s.m[e]=r=>{delete s.c[e],r.exports=t()}},n=t=>{delete i[e],s.m[e]=r=>{throw delete s.c[e],t}};try{var a=o[e]();a.then?t.push(i[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}))}})(),(()=>{var e={292:0,157:0};s.f.j=(t,r)=>{var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(47|53|57)|342|694|779|896|951|990)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var i=s.p+s.u(t),o=new Error;s.l(i,(r=>{if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;o.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",o.name="ChunkLoadError",o.type=a,o.request=i,n[1](o)}}),"chunk-"+t,t)}},s.O.j=t=>0===e[t];var t=(t,r)=>{var n,a,[i,o,l]=r,f=0;for(n in o)s.o(o,n)&&(s.m[n]=o[n]);if(l)var u=l(s);for(t&&t(r);f<i.length;f++)a=i[f],s.o(e,a)&&e[a]&&e[a][0](),e[i[f]]=0;return s.O(u)},r=self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var l=s.O(void 0,[157],(()=>s(8451)));l=s.O(l),designSystemConfigurator=l})();
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[189],{5210:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(1604),r=n.n(a),s=n(361),o=n.n(s)()(r());o.push([e.id,"html,\nbody {\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n","",{version:3,sources:["webpack://./src/main/main.css"],names:[],mappings:"AAAA;;EAEE,WAAW;EACX,YAAY;EACZ,UAAU;EACV,SAAS;AACX",sourcesContent:["html,\nbody {\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n}\n"],sourceRoot:""}]);const i=o},361:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,r,s){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(o[c]=!0)}for(var l=0;l<e.length;l++){var p=[].concat(e[l]);a&&o[p[0]]||(void 0!==s&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=s),n&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=n):p[2]=n),r&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=r):p[4]="".concat(r)),t.push(p))}},t}},1604:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(r," */");return[t].concat([s]).join("\n")}return[t].join("\n")}},487:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var s={},o=[],i=0;i<e.length;i++){var c=e[i],l=a.base?c[0]+a.base:c[0],p=s[l]||0,d="".concat(l," ").concat(p);s[l]=p+1;var u=n(d),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(m);else{var f=r(m,a);a.byIndex=i,t.splice(i,0,{identifier:d,updater:f,references:1})}o.push(d)}return o}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var s=a(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<s.length;o++){var i=n(s[o]);t[i].references--}for(var c=a(e,r),l=0;l<s.length;l++){var p=n(s[l]);0===t[p].references&&(t[p].updater(),t.splice(p,1))}s=c}}},2052:e=>{"use strict";var t={};e.exports=function(e,n){var a=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},1469:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},4010:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},631:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var a="";n.supports&&(a+="@supports (".concat(n.supports,") {")),n.media&&(a+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(a+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),a+=n.css,r&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}");var s=n.sourceMap;s&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),t.styleTagTransform(a,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9329:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},4189:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MainApplication:()=>k,MainTemplate:()=>r});var a=n(3147);const r=a.html`
|
|
2
|
+
<design-system-editor custom-design-mode>
|
|
3
|
+
<design-system-preview-container></design-system-preview-container>
|
|
4
|
+
<design-system-export slot="export"></design-system-export>
|
|
5
|
+
</design-system-editor>
|
|
6
|
+
`;var s=n(5286),o=n(4990),i=n(9080),c=n(3896);const l=a.css`
|
|
7
|
+
:host {
|
|
8
|
+
background: var(--fill-color);
|
|
9
|
+
color: var(--neutral-foreground-rest);
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
flex: 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
alpha-tab-panel {
|
|
15
|
+
padding: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.wrapper {
|
|
19
|
+
padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
|
|
20
|
+
}
|
|
21
|
+
`,p=a.html`
|
|
22
|
+
<template>
|
|
23
|
+
<alpha-tabs>
|
|
24
|
+
<alpha-tab slot="tab">Components</alpha-tab>
|
|
25
|
+
<alpha-tab slot="tab">Palettes</alpha-tab>
|
|
26
|
+
<alpha-tab-panel slot="tabpanel">
|
|
27
|
+
<design-system-preview></design-system-preview>
|
|
28
|
+
</alpha-tab-panel>
|
|
29
|
+
<alpha-tab-panel slot="tabpanel">
|
|
30
|
+
<div class="wrapper">
|
|
31
|
+
<h3>Accent</h3>
|
|
32
|
+
<color-palette type="accent"></color-palette>
|
|
33
|
+
<h3>Neutral</h3>
|
|
34
|
+
<color-palette type="neutral"></color-palette>
|
|
35
|
+
</div>
|
|
36
|
+
</alpha-tab-panel>
|
|
37
|
+
</alpha-tabs>
|
|
38
|
+
</template>
|
|
39
|
+
`;let d=class extends a.FASTElement{};d=(0,s.__decorate)([(0,a.customElement)({name:"design-system-preview-container",template:p,styles:l})],d),i.DesignSystemEditor,i.DesignSystemPreview,i.DesignSystemExport,i.ColorPalette;const u=(0,n(342).createLogger)("desgn-system-configurator");var m=n(487),f=n.n(m),h=n(631),v=n.n(h),g=n(2052),y=n.n(g),b=n(4010),A=n.n(b),w=n(1469),C=n.n(w),x=n(9329),E=n.n(x),S=n(5210),_={};_.styleTagTransform=E(),_.setAttributes=A(),_.insert=y().bind(null,"head"),_.domAPI=v(),_.insertStyleElement=C();f()(S.Z,_);S.Z&&S.Z.locals&&S.Z.locals;const T=a.css`
|
|
40
|
+
:host {
|
|
41
|
+
display: flex;
|
|
42
|
+
height: 100%;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
}
|
|
45
|
+
`,M="design-system-configurator";let k=class extends a.FASTElement{constructor(){super(...arguments),this.ready=!1}connectedCallback(){super.connectedCallback(),u.debug(`${M} is now connected to the DOM`),this.loadRemotes()}loadRemotes(){return(0,s.__awaiter)(this,void 0,void 0,(function*(){yield(0,s.__awaiter)(void 0,void 0,void 0,(function*(){(0,o.provideDesignSystem)().register(o.baseComponents),(0,c.provideFASTDesignSystem)().register(c.allComponents)}));this.ready=!0}))}};(0,s.__decorate)([a.observable],k.prototype,"ready",void 0),k=(0,s.__decorate)([(0,a.customElement)({name:M,template:r,styles:T})],k)}}]);
|
|
46
|
+
//# sourceMappingURL=189.5962ce1f44db4f8c4a459719f748276ad6786c6603fd8957c5646cf7f8295e77.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack://@genesislcap/design-system-configurator/./src/main/main.css","webpack://@genesislcap/design-system-configurator/../node_modules/css-loader/dist/runtime/api.js","webpack://@genesislcap/design-system-configurator/../node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://@genesislcap/design-system-configurator/../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@genesislcap/design-system-configurator/../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@genesislcap/design-system-configurator/../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@genesislcap/design-system-configurator/../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@genesislcap/design-system-configurator/../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://@genesislcap/design-system-configurator/../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@genesislcap/design-system-configurator/./src/main/main.template.ts","webpack://@genesislcap/design-system-configurator/./src/components/design-system-preview-container/design-system-preview-container.styles.ts","webpack://@genesislcap/design-system-configurator/./src/components/design-system-preview-container/design-system-preview-container.template.ts","webpack://@genesislcap/design-system-configurator/./src/components/design-system-preview-container/design-system-preview-container.ts","webpack://@genesislcap/design-system-configurator/./src/components/components.ts","webpack://@genesislcap/design-system-configurator/./src/utils/logger.ts","webpack://@genesislcap/design-system-configurator/./src/main/main.css?5450","webpack://@genesislcap/design-system-configurator/./src/main/main.styles.ts","webpack://@genesislcap/design-system-configurator/./src/main/main.ts"],"names":["___CSS_LOADER_EXPORT___","push","module","id","exports","cssWithMappingToString","list","toString","this","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","options","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","domAPI","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","insert","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","appendChild","element","createElement","setAttributes","attributes","styleElement","nonce","setAttribute","insertStyleElement","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","MainTemplate","html","DesignSystemPreviewContainerStyles","DesignSystemPreviewContainerTemplate","DesignSystemPreviewContainer","FASTElement","__decorate","customElement","name","template","styles","DesignSystemEditor","DesignSystemPreview","DesignSystemExport","ColorPalette","logger","createLogger","MainStyles","MainApplication","constructor","super","arguments","ready","connectedCallback","debug","loadRemotes","__awaiter","provideDesignSystem","register","baseComponents","provideFASTDesignSystem","allComponents","observable","prototype"],"mappings":"kNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAA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EAAa,EAAAnE,GAAI;;;;;;ECIxB,EAAO,6BACb,IAAIoE,EAAkB,cAA8B,EAAAb,YAChDc,cACIC,SAASC,WACT9G,KAAK+G,OAAQ,CACjB,CACAC,oBACIH,MAAMG,oBACNR,EAAOS,MAAM,GAAG,iCAChBjH,KAAKkH,aACT,CACAA,cACI,OAAO,IAAAC,WAAUnH,UAAM,OAAQ,GAAQ,kBJRd,IAAAmH,gBAAU,OAAQ,OAAQ,GAAQ,aAC/D,IAAAC,uBAAsBC,SAAS,EAAAC,iBAC/B,IAAAC,2BAA0BF,SAAS,EAAAG,cACvC,IIOYxH,KAAK+G,OAAQ,CACjB,GACJ,IAEJ,IAAAhB,YAAW,CACP,EAAA0B,YACDd,EAAgBe,UAAW,aAAS,GACvCf,GAAkB,IAAAZ,YAAW,EACzB,IAAAC,eAAc,CACVC,KAAI,EACJC,SAAQ,EACRC,OAAM,KAEXQ,E","file":"189.189.xxxxxxxxxxxxxxxxxxxx.js","sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"html,\\nbody {\\n width: 100%;\\n height: 100%;\\n padding: 0;\\n margin: 0;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/main/main.css\"],\"names\":[],\"mappings\":\"AAAA;;EAEE,WAAW;EACX,YAAY;EACZ,UAAU;EACV,SAAS;AACX\",\"sourcesContent\":[\"html,\\nbody {\\n width: 100%;\\n height: 100%;\\n padding: 0;\\n margin: 0;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","import { html } from '@microsoft/fast-element';\nexport const MainTemplate = html `\n <design-system-editor custom-design-mode>\n <design-system-preview-container></design-system-preview-container>\n <design-system-export slot=\"export\"></design-system-export>\n </design-system-editor>\n`;\n","import { css } from '@microsoft/fast-element';\nexport const DesignSystemPreviewContainerStyles = css `\n :host {\n background: var(--fill-color);\n color: var(--neutral-foreground-rest);\n flex-direction: column;\n flex: 1;\n }\n\n alpha-tab-panel {\n padding: 0;\n }\n\n .wrapper {\n padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);\n }\n`;\n","import { html } from '@microsoft/fast-element';\nexport const DesignSystemPreviewContainerTemplate = html `\n <template>\n <alpha-tabs>\n <alpha-tab slot=\"tab\">Components</alpha-tab>\n <alpha-tab slot=\"tab\">Palettes</alpha-tab>\n <alpha-tab-panel slot=\"tabpanel\">\n <design-system-preview></design-system-preview>\n </alpha-tab-panel>\n <alpha-tab-panel slot=\"tabpanel\">\n <div class=\"wrapper\">\n <h3>Accent</h3>\n <color-palette type=\"accent\"></color-palette>\n <h3>Neutral</h3>\n <color-palette type=\"neutral\"></color-palette>\n </div>\n </alpha-tab-panel>\n </alpha-tabs>\n </template>\n`;\n","import { __decorate } from \"tslib\";\nimport { customElement, FASTElement } from '@microsoft/fast-element';\nimport { DesignSystemPreviewContainerStyles as styles } from './design-system-preview-container.styles';\nimport { DesignSystemPreviewContainerTemplate as template } from './design-system-preview-container.template';\nlet DesignSystemPreviewContainer = class DesignSystemPreviewContainer extends FASTElement {\n};\nDesignSystemPreviewContainer = __decorate([\n customElement({\n name: 'design-system-preview-container',\n template,\n styles,\n })\n], DesignSystemPreviewContainer);\nexport { DesignSystemPreviewContainer };\n","import { __awaiter } from \"tslib\";\nimport { provideDesignSystem, baseComponents } from '@genesislcap/alpha-design-system';\nimport { DesignSystemEditor, DesignSystemPreview, DesignSystemExport, ColorPalette, } from '@genesislcap/documentation-components';\nimport { allComponents, provideFASTDesignSystem } from '@microsoft/fast-components';\nimport { DesignSystemPreviewContainer } from './design-system-preview-container';\nDesignSystemEditor;\nDesignSystemPreview;\nDesignSystemExport;\nColorPalette;\nDesignSystemPreviewContainer;\nexport const loadRemotes = () => __awaiter(void 0, void 0, void 0, function* () {\n provideDesignSystem().register(baseComponents);\n provideFASTDesignSystem().register(allComponents);\n});\n","import { createLogger } from '@genesislcap/foundation-utils';\nexport const logger = createLogger('desgn-system-configurator');\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!../../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./main.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!../../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./main.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { css } from '@microsoft/fast-element';\nimport './main.css';\nexport const MainStyles = css `\n :host {\n display: flex;\n height: 100%;\n overflow: hidden;\n }\n`;\n","import { __awaiter, __decorate } from \"tslib\";\nimport { customElement, FASTElement, observable } from '@microsoft/fast-element';\nimport * as Components from '../components';\nimport { logger } from '../utils';\nimport { MainStyles as styles } from './main.styles';\nimport { MainTemplate as template } from './main.template';\nconst name = 'design-system-configurator';\nlet MainApplication = class MainApplication extends FASTElement {\n constructor() {\n super(...arguments);\n this.ready = false;\n }\n connectedCallback() {\n super.connectedCallback();\n logger.debug(`${name} is now connected to the DOM`);\n this.loadRemotes();\n }\n loadRemotes() {\n return __awaiter(this, void 0, void 0, function* () {\n const remotes = yield Components.loadRemotes();\n this.ready = true;\n });\n }\n};\n__decorate([\n observable\n], MainApplication.prototype, \"ready\", void 0);\nMainApplication = __decorate([\n customElement({\n name,\n template,\n styles,\n })\n], MainApplication);\nexport { MainApplication };\n"],"sourceRoot":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! For license information please see 415.415.
|
|
2
|
-
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[415,
|
|
1
|
+
/*! For license information please see 415.415.78a8bd8264823c40afb9.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[415,623],{9861:(e,t,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{N:()=>r})},1642:(e,t,n)=>{"use strict";n.d(t,{EB:()=>g,Wq:()=>p});var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=r.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!i&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},c=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},l=function(e){return"INPUT"===e.tagName},d=function(e){return function(e){return l(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||u(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},s=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},f=function(e,t){return!(t.disabled||function(e){return l(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(o,"details:not([open]) *"))return!0;var i=u(e).host,c=(null==i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return s(e)}else{if("function"==typeof r){for(var l=e;e;){var d=e.parentElement,f=u(e);if(d&&!d.shadowRoot&&!0===r(d))return s(e);e=e.assignedSlot?e.assignedSlot:d||f===e.ownerDocument?d:f.host}e=l}if(c)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},m=function(e,t){return!(d(t)||c(t)<0||!f(e,t))},p=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,o)&&m(t,e)},h=r.concat("iframe").join(","),g=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,h)&&f(t,e)}}}]);
|
|
3
3
|
//# sourceMappingURL=415.80e108ab0882283f76d3ec58c14521641fb497db9cde6edd2744264df94a9e66.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! For license information please see
|
|
2
|
-
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[
|
|
3
|
-
//# sourceMappingURL=
|
|
1
|
+
/*! For license information please see 623.623.e5cb705430337f4d7c18.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[623,415],{9861:(e,t,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{N:()=>r})},1642:(e,t,n)=>{"use strict";n.d(t,{EB:()=>g,Wq:()=>p});var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=r.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!i&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},c=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},l=function(e){return"INPUT"===e.tagName},d=function(e){return function(e){return l(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||u(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},s=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},f=function(e,t){return!(t.disabled||function(e){return l(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(o,"details:not([open]) *"))return!0;var i=u(e).host,c=(null==i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return s(e)}else{if("function"==typeof r){for(var l=e;e;){var d=e.parentElement,f=u(e);if(d&&!d.shadowRoot&&!0===r(d))return s(e);e=e.assignedSlot?e.assignedSlot:d||f===e.ownerDocument?d:f.host}e=l}if(c)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},m=function(e,t){return!(d(t)||c(t)<0||!f(e,t))},p=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,o)&&m(t,e)},h=r.concat("iframe").join(","),g=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,h)&&f(t,e)}}}]);
|
|
3
|
+
//# sourceMappingURL=623.a705d0a55a2298ab6aef08a9ccf0317b955ddfef40104015c24149193ede963c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://@genesislcap/design-system-configurator/../node_modules/exenv-es6/dist/can-use-dom.js","webpack://@genesislcap/design-system-configurator/../node_modules/tabbable/dist/index.esm.js"],"names":["canUseDOM","window","document","createElement","candidateSelectors","candidateSelector","join","NoElement","Element","matches","prototype","msMatchesSelector","webkitMatchesSelector","getRootNode","element","ownerDocument","getTabindex","node","isScope","tabIndex","test","tagName","isContentEditable","isNaN","parseInt","getAttribute","isInput","isNonTabbableRadio","type","isRadio","name","radioSet","radioScope","form","queryRadios","querySelectorAll","CSS","escape","err","console","error","message","checked","nodes","i","length","getCheckedRadio","isTabbableRadio","isZeroArea","_node$getBoundingClie","getBoundingClientRect","width","height","isNodeMatchingSelectorFocusable","options","disabled","isHiddenInput","_ref","displayCheck","getShadowRoot","getComputedStyle","visibility","nodeUnderDetails","call","parentElement","nodeRootHost","host","nodeIsAttached","contains","originalNode","rootNode","shadowRoot","assignedSlot","getClientRects","isHidden","Array","slice","apply","children","some","child","isDetailsWithSummary","parentNode","item","isDisabledFromFieldset","isNodeMatchingSelectorTabbable","isTabbable","Error","focusableCandidateSelector","concat","isFocusable"],"mappings":";qKAGO,SAASA,IACZ,QAA4B,oBAAXC,SAA0BA,OAAOC,WAAYD,OAAOC,SAASC,cAClF,C,yECDA,IAAIC,EAAqB,CAAC,QAAS,SAAU,WAAY,UAAW,SAAU,uBAAwB,kBAAmB,kBAAmB,mDAAoD,gCAAiC,WAC7NC,EAAmCD,EAAmBE,KAAK,KAC3DC,EAA+B,oBAAZC,QACnBC,EAAUF,EAAY,WAAa,EAAIC,QAAQE,UAAUD,SAAWD,QAAQE,UAAUC,mBAAqBH,QAAQE,UAAUE,sBAC7HC,GAAeN,GAAaC,QAAQE,UAAUG,YAAc,SAAUC,GACxE,OAAOA,EAAQD,aACjB,EAAI,SAAUC,GACZ,OAAOA,EAAQC,aACjB,EAoHIC,EAAc,SAAqBC,EAAMC,GAC3C,OAAID,EAAKE,SAAW,IAYbD,GAAW,0BAA0BE,KAAKH,EAAKI,UAAYJ,EAAKK,oBAAsBC,MAAMC,SAASP,EAAKQ,aAAa,YAAa,KAChI,EAIJR,EAAKE,QACd,EAMIO,EAAU,SAAiBT,GAC7B,MAAwB,UAAjBA,EAAKI,OACd,EAsDIM,EAAqB,SAA4BV,GACnD,OALY,SAAiBA,GAC7B,OAAOS,EAAQT,IAAuB,UAAdA,EAAKW,IAC/B,CAGSC,CAAQZ,KAlCK,SAAyBA,GAC7C,IAAKA,EAAKa,KACR,OAAO,EAGT,IAMIC,EANAC,EAAaf,EAAKgB,MAAQpB,EAAYI,GAEtCiB,EAAc,SAAqBJ,GACrC,OAAOE,EAAWG,iBAA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qE,EAAa,SAAoBrE,EAAMqC,GAGzC,GAFAA,EAAUA,GAAW,CAAC,GAEjBrC,EACH,MAAM,IAAIsE,MAAM,oBAGlB,OAA8C,IAA1C9E,EAAQsD,KAAK9C,EAAMZ,IAIhBgF,EAA+B/B,EAASrC,EACjD,EAEIuE,EAA4CpF,EAAmBqF,OAAO,UAAUnF,KAAK,KAErFoF,EAAc,SAAqBzE,EAAMqC,GAG3C,GAFAA,EAAUA,GAAW,CAAC,GAEjBrC,EACH,MAAM,IAAIsE,MAAM,oBAGlB,OAAuD,IAAnD9E,EAAQsD,KAAK9C,EAAMuE,IAIhBnC,EAAgCC,EAASrC,EAClD,C","file":"914.914.xxxxxxxxxxxxxxxxxxxx.js","sourcesContent":["/**\n * Checks if the DOM is available to access and use\n */\nexport function canUseDOM() {\n return !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\n}\n","/*!\n* tabbable 5.3.3\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\nvar candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]:not(slot)', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])', 'details>summary:first-of-type', 'details'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n return element.getRootNode();\n} : function (element) {\n return element.ownerDocument;\n};\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\n\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n\n candidates = candidates.filter(filter);\n return candidates;\n};\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidatesScope\n * @property {Element} scope contains inner candidates\n * @property {Element[]} candidates\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidatesScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidatesScope>}\n */\n\n\nvar getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = getCandidatesIteratively(content, true, options);\n\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scope: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n } // iterate over shadow content if possible\n\n\n var shadowRoot = element.shadowRoot || // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n var validShadowRoot = !options.shadowRootFilter || options.shadowRootFilter(element);\n\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scope: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n\n return candidates;\n};\n\nvar getTabindex = function getTabindex(node, isScope) {\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n //\n // isScope is positive for custom element with shadow root or slot that by default\n // have tabIndex -1, but need to be sorted by document order in order for their\n // content to be inserted in the correct position\n if ((isScope || /^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || node.isContentEditable) && isNaN(parseInt(node.getAttribute('tabindex'), 10))) {\n return 0;\n }\n }\n\n return node.tabIndex;\n};\n\nvar sortOrderedTabbables = function sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\n\nvar isInput = function isInput(node) {\n return node.tagName === 'INPUT';\n};\n\nvar isHiddenInput = function isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n};\n\nvar isDetailsWithSummary = function isDetailsWithSummary(node) {\n var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {\n return child.tagName === 'SUMMARY';\n });\n return r;\n};\n\nvar getCheckedRadio = function getCheckedRadio(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\n\nvar isTabbableRadio = function isTabbableRadio(node) {\n if (!node.name) {\n return true;\n }\n\n var radioScope = node.form || getRootNode(node);\n\n var queryRadios = function queryRadios(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n\n var radioSet;\n\n if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);\n return false;\n }\n }\n\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\n\nvar isRadio = function isRadio(node) {\n return isInput(node) && node.type === 'radio';\n};\n\nvar isNonTabbableRadio = function isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\nvar isZeroArea = function isZeroArea(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(),\n width = _node$getBoundingClie.width,\n height = _node$getBoundingClie.height;\n\n return width === 0 && height === 0;\n};\n\nvar isHidden = function isHidden(node, _ref) {\n var displayCheck = _ref.displayCheck,\n getShadowRoot = _ref.getShadowRoot;\n\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n\n var isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n } // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n\n\n var nodeRootHost = getRootNode(node).host;\n var nodeIsAttached = (nodeRootHost === null || nodeRootHost === void 0 ? void 0 : nodeRootHost.ownerDocument.contains(nodeRootHost)) || node.ownerDocument.contains(node);\n\n if (!displayCheck || displayCheck === 'full') {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n var originalNode = node;\n\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n\n node = originalNode;\n } // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n\n if (nodeIsAttached) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n } // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n } // visible, as far as we can tell, or per current `displayCheck` mode\n\n\n return false;\n}; // form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\n\n\nvar isDisabledFromFieldset = function isDisabledFromFieldset(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement; // check if `node` is contained in a disabled <fieldset>\n\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i); // when the first <legend> (in document order) is found\n\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);\n }\n } // the disabled <fieldset> containing `node` has no <legend>\n\n\n return true;\n }\n\n parentNode = parentNode.parentElement;\n }\n } // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n\n\n return false;\n};\n\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {\n if (node.disabled || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n\n return true;\n};\n\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {\n if (isNonTabbableRadio(node) || getTabindex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n\n return true;\n};\n\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n } // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n\n\n return false;\n};\n/**\n * @param {Array.<Element|CandidatesScope>} candidates\n * @returns Element[]\n */\n\n\nvar sortByOrder = function sortByOrder(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function (item, i) {\n var isScope = !!item.scope;\n var element = isScope ? item.scope : item;\n var candidateTabindex = getTabindex(element, isScope);\n var elements = isScope ? sortByOrder(item.candidates) : element;\n\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\n\nvar tabbable = function tabbable(el, options) {\n options = options || {};\n var candidates;\n\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([el], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isValidShadowRootTabbable\n });\n } else {\n candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n\n return sortByOrder(candidates);\n};\n\nvar focusable = function focusable(el, options) {\n options = options || {};\n var candidates;\n\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([el], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n\n return candidates;\n};\n\nvar isTabbable = function isTabbable(node, options) {\n options = options || {};\n\n if (!node) {\n throw new Error('No node provided');\n }\n\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n\n return isNodeMatchingSelectorTabbable(options, node);\n};\n\nvar focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');\n\nvar isFocusable = function isFocusable(node, options) {\n options = options || {};\n\n if (!node) {\n throw new Error('No node provided');\n }\n\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { focusable, isFocusable, isTabbable, tabbable };\n//# sourceMappingURL=index.esm.js.map\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack://@genesislcap/design-system-configurator/../node_modules/exenv-es6/dist/can-use-dom.js","webpack://@genesislcap/design-system-configurator/../node_modules/tabbable/dist/index.esm.js"],"names":["canUseDOM","window","document","createElement","candidateSelectors","candidateSelector","join","NoElement","Element","matches","prototype","msMatchesSelector","webkitMatchesSelector","getRootNode","element","ownerDocument","getTabindex","node","isScope","tabIndex","test","tagName","isContentEditable","isNaN","parseInt","getAttribute","isInput","isNonTabbableRadio","type","isRadio","name","radioSet","radioScope","form","queryRadios","querySelectorAll","CSS","escape","err","console","error","message","checked","nodes","i","length","getCheckedRadio","isTabbableRadio","isZeroArea","_node$getBoundingClie","getBoundingClientRect","width","height","isNodeMatchingSelectorFocusable","options","disabled","isHiddenInput","_ref","displayCheck","getShadowRoot","getComputedStyle","visibility","nodeUnderDetails","call","parentElement","nodeRootHost","host","nodeIsAttached","contains","originalNode","rootNode","shadowRoot","assignedSlot","getClientRects","isHidden","Array","slice","apply","children","some","child","isDetailsWithSummary","parentNode","item","isDisabledFromFieldset","isNodeMatchingSelectorTabbable","isTabbable","Error","focusableCandidateSelector","concat","isFocusable"],"mappings":";qKAGO,SAASA,IACZ,QAA4B,oBAAXC,SAA0BA,OAAOC,WAAYD,OAAOC,SAASC,cAClF,C,yECDA,IAAIC,EAAqB,CAAC,QAAS,SAAU,WAAY,UAAW,SAAU,uBAAwB,kBAAmB,kBAAmB,mDAAoD,gCAAiC,WAC7NC,EAAmCD,EAAmBE,KAAK,KAC3DC,EAA+B,oBAAZC,QACnBC,EAAUF,EAAY,WAAa,EAAIC,QAAQE,UAAUD,SAAWD,QAAQE,UAAUC,mBAAqBH,QAAQE,UAAUE,sBAC7HC,GAAeN,GAAaC,QAAQE,UAAUG,YAAc,SAAUC,GACxE,OAAOA,EAAQD,aACjB,EAAI,SAAUC,GACZ,OAAOA,EAAQC,aACjB,EAoHIC,EAAc,SAAqBC,EAAMC,GAC3C,OAAID,EAAKE,SAAW,IAYbD,GAAW,0BAA0BE,KAAKH,EAAKI,UAAYJ,EA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GA,EAAIsC,EAAWJ,SAASjC,OAAQD,IAAK,CACnD,IAAIoC,EAAQE,EAAWJ,SAASK,KAAKvC,GAErC,GAAsB,WAAlBoC,EAAM3D,QAGR,QAAOZ,EAAQsD,KAAKmB,EAAY,0BAAkCF,EAAMZ,SAASnD,EAErF,CAGA,OAAO,CACT,CAEAiE,EAAaA,EAAWlB,aAC1B,CAKF,OAAO,CACT,CAIgCoB,CAAuBnE,GAKvD,EAEIoE,EAAiC,SAAwC/B,EAASrC,GACpF,QAAIU,EAAmBV,IAASD,EAAYC,GAAQ,IAAMoC,EAAgCC,EAASrC,GAKrG,EAiFIqE,EAAa,SAAoBrE,EAAMqC,GAGzC,GAFAA,EAAUA,GAAW,CAAC,GAEjBrC,EACH,MAAM,IAAIsE,MAAM,oBAGlB,OAA8C,IAA1C9E,EAAQsD,KAAK9C,EAAMZ,IAIhBgF,EAA+B/B,EAASrC,EACjD,EAEIuE,EAA4CpF,EAAmBqF,OAAO,UAAUnF,KAAK,KAErFoF,EAAc,SAAqBzE,EAAMqC,GAG3C,GAFAA,EAAUA,GAAW,CAAC,GAEjBrC,EACH,MAAM,IAAIsE,MAAM,oBAGlB,OAAuD,IAAnD9E,EAAQsD,KAAK9C,EAAMuE,IAIhBnC,EAAgCC,EAASrC,EAClD,C","file":"623.623.xxxxxxxxxxxxxxxxxxxx.js","sourcesContent":["/**\n * Checks if the DOM is available to access and use\n */\nexport function canUseDOM() {\n return !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\n}\n","/*!\n* tabbable 5.3.3\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\nvar candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]:not(slot)', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])', 'details>summary:first-of-type', 'details'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n return element.getRootNode();\n} : function (element) {\n return element.ownerDocument;\n};\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\n\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n\n candidates = candidates.filter(filter);\n return candidates;\n};\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidatesScope\n * @property {Element} scope contains inner candidates\n * @property {Element[]} candidates\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidatesScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidatesScope>}\n */\n\n\nvar getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = getCandidatesIteratively(content, true, options);\n\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scope: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n } // iterate over shadow content if possible\n\n\n var shadowRoot = element.shadowRoot || // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n var validShadowRoot = !options.shadowRootFilter || options.shadowRootFilter(element);\n\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scope: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n\n return candidates;\n};\n\nvar getTabindex = function getTabindex(node, isScope) {\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n //\n // isScope is positive for custom element with shadow root or slot that by default\n // have tabIndex -1, but need to be sorted by document order in order for their\n // content to be inserted in the correct position\n if ((isScope || /^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || node.isContentEditable) && isNaN(parseInt(node.getAttribute('tabindex'), 10))) {\n return 0;\n }\n }\n\n return node.tabIndex;\n};\n\nvar sortOrderedTabbables = function sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\n\nvar isInput = function isInput(node) {\n return node.tagName === 'INPUT';\n};\n\nvar isHiddenInput = function isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n};\n\nvar isDetailsWithSummary = function isDetailsWithSummary(node) {\n var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {\n return child.tagName === 'SUMMARY';\n });\n return r;\n};\n\nvar getCheckedRadio = function getCheckedRadio(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\n\nvar isTabbableRadio = function isTabbableRadio(node) {\n if (!node.name) {\n return true;\n }\n\n var radioScope = node.form || getRootNode(node);\n\n var queryRadios = function queryRadios(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n\n var radioSet;\n\n if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);\n return false;\n }\n }\n\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\n\nvar isRadio = function isRadio(node) {\n return isInput(node) && node.type === 'radio';\n};\n\nvar isNonTabbableRadio = function isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\nvar isZeroArea = function isZeroArea(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(),\n width = _node$getBoundingClie.width,\n height = _node$getBoundingClie.height;\n\n return width === 0 && height === 0;\n};\n\nvar isHidden = function isHidden(node, _ref) {\n var displayCheck = _ref.displayCheck,\n getShadowRoot = _ref.getShadowRoot;\n\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n\n var isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n } // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n\n\n var nodeRootHost = getRootNode(node).host;\n var nodeIsAttached = (nodeRootHost === null || nodeRootHost === void 0 ? void 0 : nodeRootHost.ownerDocument.contains(nodeRootHost)) || node.ownerDocument.contains(node);\n\n if (!displayCheck || displayCheck === 'full') {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n var originalNode = node;\n\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n\n node = originalNode;\n } // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n\n if (nodeIsAttached) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n } // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n } // visible, as far as we can tell, or per current `displayCheck` mode\n\n\n return false;\n}; // form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\n\n\nvar isDisabledFromFieldset = function isDisabledFromFieldset(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement; // check if `node` is contained in a disabled <fieldset>\n\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i); // when the first <legend> (in document order) is found\n\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);\n }\n } // the disabled <fieldset> containing `node` has no <legend>\n\n\n return true;\n }\n\n parentNode = parentNode.parentElement;\n }\n } // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n\n\n return false;\n};\n\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {\n if (node.disabled || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n\n return true;\n};\n\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {\n if (isNonTabbableRadio(node) || getTabindex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n\n return true;\n};\n\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n } // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n\n\n return false;\n};\n/**\n * @param {Array.<Element|CandidatesScope>} candidates\n * @returns Element[]\n */\n\n\nvar sortByOrder = function sortByOrder(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function (item, i) {\n var isScope = !!item.scope;\n var element = isScope ? item.scope : item;\n var candidateTabindex = getTabindex(element, isScope);\n var elements = isScope ? sortByOrder(item.candidates) : element;\n\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\n\nvar tabbable = function tabbable(el, options) {\n options = options || {};\n var candidates;\n\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([el], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isValidShadowRootTabbable\n });\n } else {\n candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n\n return sortByOrder(candidates);\n};\n\nvar focusable = function focusable(el, options) {\n options = options || {};\n var candidates;\n\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([el], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n\n return candidates;\n};\n\nvar isTabbable = function isTabbable(node, options) {\n options = options || {};\n\n if (!node) {\n throw new Error('No node provided');\n }\n\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n\n return isNodeMatchingSelectorTabbable(options, node);\n};\n\nvar focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');\n\nvar isFocusable = function isFocusable(node, options) {\n options = options || {};\n\n if (!node) {\n throw new Error('No node provided');\n }\n\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { focusable, isFocusable, isTabbable, tabbable };\n//# sourceMappingURL=index.esm.js.map\n"],"sourceRoot":""}
|