UNPKG

@duetds/date-picker

Version:

Duet Date Picker is an open source version of Duet Design System’s accessible date picker.

1 lines 1.65 kB
System.register(["./index-3aa2297e.system.js"],(function(e,r){"use strict";var t,n,i,s,c,a;return{setters:[function(e){t=e.p;n=e.w;i=e.d;s=e.N;c=e.a;a=e.b}],execute:function(){var e=function(e){return"__sc_import_"+e.replace(/\s|-/g,"_")};var o=function(){{t.$cssShim$=n.__cssshim}var e=Array.from(i.querySelectorAll("script")).find((function(e){return new RegExp("/"+s+"(\\.esm)?\\.js($|\\?|#)").test(e.src)||e.getAttribute("data-stencil-namespace")===s}));var a=r.meta.url;var o={};if(a!==""){o.resourcesUrl=new URL(".",a).href}else{o.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,n.location.href)).href;{u(o.resourcesUrl,e)}if(!n.customElements){return r.import("./dom-7053817c.system.js").then((function(){return o}))}}return c(o)};var u=function(r,t){var c=e(s);try{n[c]=new Function("w","return import(w);//"+Math.random())}catch(e){var a=new Map;n[c]=function(e){var s=new URL(e,r).href;var o=a.get(s);if(!o){var u=i.createElement("script");u.type="module";u.crossOrigin=t.crossOrigin;u.src=URL.createObjectURL(new Blob(["import * as m from '"+s+"'; window."+c+".m = m;"],{type:"application/javascript"}));o=new Promise((function(e){u.onload=function(){e(n[c].m);u.remove()}}));a.set(s,o);i.head.appendChild(u)}return o}}};o().then((function(e){return a([["duet-date-picker.system",[[0,"duet-date-picker",{name:[1],identifier:[1],disabled:[516],role:[1],direction:[1],required:[4],value:[513],min:[1],max:[1],firstDayOfWeek:[2,"first-day-of-week"],localization:[16],dateAdapter:[16],activeFocus:[32],focusedDay:[32],open:[32],setFocus:[64],show:[64],hide:[64]},[[6,"click","handleDocumentClick"]]]]]],e)}))}}}));