@session-services/web-elements 0.1.27 → 0.1.30
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/README.md +19 -0
- package/dist/cjs/{index-BYBgrATL.js → index-B2ZmNnji.js} +292 -245
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/session-services-elements.cjs.js +3 -3
- package/dist/cjs/session-services-formatted-text.cjs.entry.js +8 -20
- package/dist/cjs/session-services-ticketing.cjs.entry.js +1051 -526
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/session-services-ticketing/session-services-ticketing.css +0 -4
- package/dist/collection/components/session-services-ticketing/session-services-ticketing.js +116 -45
- package/dist/collection/components/session-services-ticketing/session-services-ticketing.logic.js +15 -5
- package/dist/collection/components/session-services-ticketing/session-services-ticketing.logic.test.js +28 -1
- package/dist/collection/components/session-services-ticketing/session-services-ticketing.test.js +71 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1311
- package/dist/components/session-services-formatted-text.js +1 -1802
- package/dist/components/session-services-ticketing.js +1 -25072
- package/dist/esm/{index-CNOpF6tk.js → index-DhbVMqIT.js} +292 -245
- package/dist/esm/loader.js +3 -3
- package/dist/esm/session-services-elements.js +4 -4
- package/dist/esm/session-services-formatted-text.entry.js +8 -20
- package/dist/esm/session-services-ticketing.entry.js +1051 -526
- package/dist/session-services-elements/p-4dd3f723.entry.js +1 -0
- package/dist/session-services-elements/{p-703444ed.entry.js → p-8483ca88.entry.js} +1 -1
- package/dist/session-services-elements/p-DhbVMqIT.js +2 -0
- package/dist/session-services-elements/session-services-elements.esm.js +1 -1
- package/dist/types/components/session-services-ticketing/session-services-ticketing.d.ts +15 -4
- package/dist/types/components/session-services-ticketing/session-services-ticketing.logic.d.ts +5 -3
- package/dist/types/components.d.ts +36 -8
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +67 -5
- package/exports/components/formatted-text.d.ts +17 -0
- package/exports/components/formatted-text.js +5 -0
- package/exports/components/index.d.ts +13 -0
- package/exports/components/index.js +6 -0
- package/exports/components/ticketing.d.ts +17 -0
- package/exports/components/ticketing.js +5 -0
- package/exports/formatted-text.d.ts +7 -0
- package/exports/formatted-text.js +5 -0
- package/exports/ticketing.d.ts +7 -0
- package/exports/ticketing.js +5 -0
- package/package.json +93 -15
- package/dist/session-services-elements/p-40ac30a0.entry.js +0 -1
- package/dist/session-services-elements/p-CNOpF6tk.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a,H as t}from"./p-CNOpF6tk.js";var r=["aaa","aarp","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","link","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mv","mw","mx","my","mz","na","nab","nagoya","name","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shell","shia","shiksha","shoes","shop","shopping","shouji","show","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volvo","vote","voting","voto","voyage","vu","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"];const n=/^[-=]{3,}$/gm;let o=null;function i(){if(!o){const e=r.join("|");o=new RegExp(`\\b(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+(?:${e})\\b(?:\\/[^\\s<>"]*)?`,"gi")}return o}function s(e){return e.replace(/[.,;:!?)]+$/,"")}function l(e){return e.index??0}function c(e){try{const a=new URL(e);return"soundcloud.com"===a.hostname||"www.soundcloud.com"===a.hostname}catch{return!1}}function d(e){return Boolean(e)}function u(e,a){const t=l(a),r=s(a[0]);return{type:"url",start:t,end:t+r.length,text:r,href:`https://${r}`}}const m=[{pattern:/https?:\/\/(?:www\.)?soundcloud\.com\/[a-z0-9_-]+(?:\/[^\s<>"]*)?/gi,toMatch:function(e,a){const t=l(a),r=s(a[0]);return{type:"soundcloud",start:t,end:t+r.length,text:r,href:r}}},{pattern:/https?:\/\/[^\s<>"]+/gi,toMatch:function(e,a){const t=s(a[0]);if(c(t))return;const r=l(a);return{type:"url",start:r,end:r+t.length,text:t,href:t}}},{pattern:/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}/gi,toMatch:function(e,a){const t=l(a);return{type:"email",start:t,end:t+a[0].length,text:a[0],href:`mailto:${a[0]}`}}},{pattern:/@([a-z0-9][a-z0-9._]{0,29})\b/gi,toMatch:function(e,a){const t=l(a);if(function(e,a){if(0===a)return!0;const t=e[a-1];return!t||!/[a-z0-9._%+-]/i.test(t)}(e,t))return{type:"instagram",start:t,end:t+a[0].length,text:a[0],href:`https://instagram.com/${a[1]}`}}}];function h(e){if(!e)return[];const a=[],t=(r=function(e){return function(e){const a=[],t=[];for(const r of e)t.some((e=>{return(a=r).start<(t=e).end&&a.end>t.start;var a,t}))||(a.push(r),t.push(r));return a.sort(((e,a)=>e.start-a.start))}((e.length<=2048?[...m,{pattern:i(),toMatch:u}]:m).flatMap((a=>function(e,a){return a.pattern.lastIndex=0,Array.from(e.matchAll(a.pattern),(t=>a.toMatch(e,t))).filter(d)}(e,a))))}(e),o=function(e){const a=[];n.lastIndex=0;for(const t of e.matchAll(n)){const e=t.index??0;a.push({start:e,end:e+t[0].length})}return a}(e),[...r.map((e=>({type:"link",data:e,start:e.start,end:e.end}))),...o.map((e=>({type:"divider",start:e.start,end:e.end})))].sort(((e,a)=>e.start-a.start)));var r,o;let s=0,l=!1;for(const r of t)r.start<s||(g(a,e,s,r.start,{trimLeading:l,trimTrailing:"divider"===r.type}),a.push(p(r)),s=r.end,l="divider"===r.type);return g(a,e,s,e.length,{trimLeading:l,trimTrailing:!1}),a}function g(e,a,t,r,n){if(t>=r)return;const o=function(e,a){const t=a.trimLeading?e.replace(/^\n+/,""):e;return a.trimTrailing?t.replace(/\n+$/,""):t}(a.slice(t,r),n);o&&e.push({type:"text",content:o})}function p(e){if("divider"===e.type)return{type:"divider",content:""};const a=e.data;return"soundcloud"===a.type?{type:"soundcloud",content:a.text,href:a.href}:{type:"link",content:a.text,href:a.href,linkType:a.type}}const b=class{constructor(a){e(this,a)}text="";theme="system";currentTheme="light";segments=[];mediaQueryList;componentWillLoad(){this.setupTheme(),this.parseText()}textChanged(){this.parseText()}themeChanged(){this.setupTheme()}disconnectedCallback(){this.removeThemeListener()}setupTheme(){this.removeThemeListener(),"system"===this.theme?this.setupSystemTheme():this.currentTheme=this.theme}removeThemeListener(){this.mediaQueryList?.removeEventListener("change",this.handleSystemThemeChange)}setupSystemTheme(){"function"==typeof globalThis.matchMedia?(this.mediaQueryList=globalThis.matchMedia("(prefers-color-scheme: dark)"),this.currentTheme=this.mediaQueryList.matches?"dark":"light",this.mediaQueryList.addEventListener("change",this.handleSystemThemeChange)):this.currentTheme="light"}handleSystemThemeChange=e=>{"system"===this.theme&&(this.currentTheme=e.matches?"dark":"light")};parseText(){this.segments=h(this.text)}renderLink(e,t){const r="url"===e.linkType?function(e){try{const a=new URL(e);return a.hostname.replace(/^www\./,"")+("/"!==a.pathname?a.pathname:"")}catch{return e}}(e.href||""):e.content;return a("a",{key:t,href:e.href,target:"_blank",rel:"noopener noreferrer",class:"formatted-link"},r,a("span",{class:"sr-only"}," (opens in new tab)"))}renderSoundCloudEmbed(e,t,r){if(!c(e))return this.renderLink({type:"link",content:e,href:e,linkType:"url"},t);const n=`https://w.soundcloud.com/player/?url=${encodeURIComponent(e)}&color=%23ff5500&auto_play=false&hide_related=true&show_comments=false&show_user=true&show_reposts=false&show_teaser=false`,o=new URL(e).pathname.slice(1).replace(/-/g," ");return a("div",{key:t,class:"soundcloud-embed"},a("iframe",{width:"100%",height:"166",scrolling:"no",allow:"autoplay",sandbox:"allow-scripts allow-same-origin allow-popups",src:n,title:`SoundCloud: ${r||o||e}`,loading:"lazy"}))}renderSegment(e,t){return"text"===e.type?a("span",{key:t},e.content):"link"===e.type?this.renderLink(e,t):"divider"===e.type?a("hr",{key:t,class:"formatted-divider"}):this.renderMediaSegment(e,t)}renderMediaSegment(e,a){return"soundcloud"!==e.type?null:this.renderSoundCloudEmbed(e.href||"",a,e.content)}render(){return a(t,{key:"3b477ff5db918a1b3b6872f48d330305d320ae3b","data-theme":this.currentTheme},a("div",{key:"efe7fc93f9f1c2b38271a30e4a8fdf7306793d6e",class:"formatted-text"},this.segments.map(((e,a)=>this.renderSegment(e,a)))))}static get watchers(){return{text:["textChanged"],theme:["themeChanged"]}}};b.style=':host{--foreground:oklch(0.145 0 0);--muted-foreground:oklch(0.556 0 0);--primary:oklch(0.42 0.24 264.376);--border:oklch(0.922 0 0);--ring:oklch(0.708 0 0);--radius:0.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;--transition-fast:150ms cubic-bezier(0.4, 0, 0.2, 1);--internal-foreground:var(--foreground, oklch(0.145 0 0));--internal-muted-foreground:var(--muted-foreground, oklch(0.556 0 0));--internal-primary:var(--primary, oklch(0.42 0.24 264.376));--internal-border:var(--border, oklch(0.922 0 0));--internal-ring:var(--ring, oklch(0.708 0 0));--internal-radius:var(--radius, 0.5rem);--internal-spacing-md:var(--spacing-md, 1rem);--internal-spacing-lg:var(--spacing-lg, 1.5rem);--internal-font-family:var(\n --font-family,\n ui-sans-serif,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n Roboto,\n "Helvetica Neue",\n Arial,\n "Noto Sans",\n sans-serif\n );--internal-transition-fast:var(\n --transition-fast,\n 150ms cubic-bezier(0.4, 0, 0.2, 1)\n );display:block;font-family:var(--internal-font-family);line-height:1.6;color:var(--internal-foreground)}:host([data-theme="dark"]){--foreground:oklch(0.96 0 0);--muted-foreground:oklch(0.78 0 0);--primary:oklch(0.623 0.214 259.815);--border:oklch(0.29 0 0);--ring:oklch(0.6 0 0)}*{box-sizing:border-box;margin:0;padding:0}*:focus:not(:focus-visible){outline:none}*:focus-visible{outline:2px solid var(--internal-ring);outline-offset:2px;border-radius:calc(var(--internal-radius) - 4px)}.formatted-text{color:var(--internal-foreground);white-space:pre-wrap;word-wrap:break-word}.formatted-link{color:var(--internal-primary);text-decoration:none;transition:color var(--internal-transition-fast)}.formatted-link:hover{color:oklch(from var(--internal-primary) calc(l + 0.1) c h);text-decoration:underline}.formatted-divider{height:0;border:none;border-top:1px solid var(--internal-border);margin:var(--internal-spacing-md) 0}.soundcloud-embed{margin:var(--internal-spacing-md) 0;border-radius:var(--internal-radius);overflow:hidden}.soundcloud-embed iframe{display:block;border:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';export{b as session_services_formatted_text}
|
|
1
|
+
import{r as e,h as a,H as t}from"./p-DhbVMqIT.js";var r=["aaa","aarp","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","link","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mv","mw","mx","my","mz","na","nab","nagoya","name","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shell","shia","shiksha","shoes","shop","shopping","shouji","show","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volvo","vote","voting","voto","voyage","vu","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"];const o=/^[-=]{3,}$/gm;let n=null;function i(){if(!n){const e=r.join("|");n=new RegExp(`\\b(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+(?:${e})\\b(?:\\/[^\\s<>"]*)?`,"gi")}return n}function s(e){return e.replace(/[.,;:!?)]+$/,"")}function l(e){return e.index??0}function c(e){try{const a=new URL(e);return"soundcloud.com"===a.hostname||"www.soundcloud.com"===a.hostname}catch{return!1}}function d(e){return Boolean(e)}function u(e,a){const t=l(a),r=s(a[0]);return{type:"url",start:t,end:t+r.length,text:r,href:`https://${r}`}}const m=[{pattern:/https?:\/\/(?:www\.)?soundcloud\.com\/[a-z0-9_-]+(?:\/[^\s<>"]*)?/gi,toMatch:function(e,a){const t=l(a),r=s(a[0]);return{type:"soundcloud",start:t,end:t+r.length,text:r,href:r}}},{pattern:/https?:\/\/[^\s<>"]+/gi,toMatch:function(e,a){const t=s(a[0]);if(c(t))return;const r=l(a);return{type:"url",start:r,end:r+t.length,text:t,href:t}}},{pattern:/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}/gi,toMatch:function(e,a){const t=l(a);return{type:"email",start:t,end:t+a[0].length,text:a[0],href:`mailto:${a[0]}`}}},{pattern:/@([a-z0-9][a-z0-9._]{0,29})\b/gi,toMatch:function(e,a){const t=l(a);if(function(e,a){if(0===a)return!0;const t=e[a-1];return!t||!/[a-z0-9._%+-]/i.test(t)}(e,t))return{type:"instagram",start:t,end:t+a[0].length,text:a[0],href:`https://instagram.com/${a[1]}`}}}];function h(e){if(!e)return[];const a=[],t=(r=function(e){return function(e){const a=[],t=[];for(const r of e)t.some((e=>{return(a=r).start<(t=e).end&&a.end>t.start;var a,t}))||(a.push(r),t.push(r));return a.sort(((e,a)=>e.start-a.start))}((e.length<=2048?[...m,{pattern:i(),toMatch:u}]:m).flatMap((a=>function(e,a){return a.pattern.lastIndex=0,Array.from(e.matchAll(a.pattern),(t=>a.toMatch(e,t))).filter(d)}(e,a))))}(e),n=function(e){const a=[];o.lastIndex=0;for(const t of e.matchAll(o)){const e=t.index??0;a.push({start:e,end:e+t[0].length})}return a}(e),[...r.map((e=>({type:"link",data:e,start:e.start,end:e.end}))),...n.map((e=>({type:"divider",start:e.start,end:e.end})))].sort(((e,a)=>e.start-a.start)));var r,n;let s=0,l=!1;for(const r of t)r.start<s||(g(a,e,s,r.start,{trimLeading:l,trimTrailing:"divider"===r.type}),a.push(p(r)),s=r.end,l="divider"===r.type);return g(a,e,s,e.length,{trimLeading:l,trimTrailing:!1}),a}function g(e,a,t,r,o){if(t>=r)return;const n=function(e,a){const t=a.trimLeading?e.replace(/^\n+/,""):e;return a.trimTrailing?t.replace(/\n+$/,""):t}(a.slice(t,r),o);n&&e.push({type:"text",content:n})}function p(e){if("divider"===e.type)return{type:"divider",content:""};const a=e.data;return"soundcloud"===a.type?{type:"soundcloud",content:a.text,href:a.href}:{type:"link",content:a.text,href:a.href,linkType:a.type}}const b=class{constructor(a){e(this,a)}text="";theme="system";currentTheme="light";segments=[];mediaQueryList;componentWillLoad(){this.setupTheme(),this.parseText()}textChanged(){this.parseText()}themeChanged(){this.setupTheme()}disconnectedCallback(){this.removeThemeListener()}setupTheme(){this.removeThemeListener(),"system"===this.theme?this.setupSystemTheme():this.currentTheme=this.theme}removeThemeListener(){this.mediaQueryList?.removeEventListener("change",this.handleSystemThemeChange)}setupSystemTheme(){"function"==typeof globalThis.matchMedia?(this.mediaQueryList=globalThis.matchMedia("(prefers-color-scheme: dark)"),this.currentTheme=this.mediaQueryList.matches?"dark":"light",this.mediaQueryList.addEventListener("change",this.handleSystemThemeChange)):this.currentTheme="light"}handleSystemThemeChange=e=>{"system"===this.theme&&(this.currentTheme=e.matches?"dark":"light")};parseText(){this.segments=h(this.text)}renderLink(e,t){const r="url"===e.linkType?function(e){try{const a=new URL(e);return a.hostname.replace(/^www\./,"")+("/"!==a.pathname?a.pathname:"")}catch{return e}}(e.href||""):e.content;return a("a",{key:t,href:e.href,target:"_blank",rel:"noopener noreferrer",class:"formatted-link"},r,a("span",{class:"sr-only"}," (opens in new tab)"))}renderSoundCloudEmbed(e,t,r){if(!c(e))return this.renderLink({type:"link",content:e,href:e,linkType:"url"},t);const o=`https://w.soundcloud.com/player/?url=${encodeURIComponent(e)}&color=%23ff5500&auto_play=false&hide_related=true&show_comments=false&show_user=true&show_reposts=false&show_teaser=false`,n=new URL(e).pathname.slice(1).replace(/-/g," ");return a("div",{key:t,class:"soundcloud-embed"},a("iframe",{width:"100%",height:"166",scrolling:"no",allow:"autoplay",sandbox:"allow-scripts allow-same-origin allow-popups",src:o,title:`SoundCloud: ${r||n||e}`,loading:"lazy"}))}renderSegment(e,t){return"text"===e.type?a("span",{key:t},e.content):"link"===e.type?this.renderLink(e,t):"divider"===e.type?a("hr",{key:t,class:"formatted-divider"}):this.renderMediaSegment(e,t)}renderMediaSegment(e,a){return"soundcloud"!==e.type?null:this.renderSoundCloudEmbed(e.href||"",a,e.content)}render(){return a(t,{key:"3b477ff5db918a1b3b6872f48d330305d320ae3b","data-theme":this.currentTheme},a("div",{key:"efe7fc93f9f1c2b38271a30e4a8fdf7306793d6e",class:"formatted-text"},this.segments.map(((e,a)=>this.renderSegment(e,a)))))}static get watchers(){return{text:[{textChanged:0}],theme:[{themeChanged:0}]}}};b.style=':host{--foreground:oklch(0.145 0 0);--muted-foreground:oklch(0.556 0 0);--primary:oklch(0.42 0.24 264.376);--border:oklch(0.922 0 0);--ring:oklch(0.708 0 0);--radius:0.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;--transition-fast:150ms cubic-bezier(0.4, 0, 0.2, 1);--internal-foreground:var(--foreground, oklch(0.145 0 0));--internal-muted-foreground:var(--muted-foreground, oklch(0.556 0 0));--internal-primary:var(--primary, oklch(0.42 0.24 264.376));--internal-border:var(--border, oklch(0.922 0 0));--internal-ring:var(--ring, oklch(0.708 0 0));--internal-radius:var(--radius, 0.5rem);--internal-spacing-md:var(--spacing-md, 1rem);--internal-spacing-lg:var(--spacing-lg, 1.5rem);--internal-font-family:var( --font-family, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif );--internal-transition-fast:var( --transition-fast, 150ms cubic-bezier(0.4, 0, 0.2, 1) );display:block;font-family:var(--internal-font-family);line-height:1.6;color:var(--internal-foreground)}:host([data-theme="dark"]){--foreground:oklch(0.96 0 0);--muted-foreground:oklch(0.78 0 0);--primary:oklch(0.623 0.214 259.815);--border:oklch(0.29 0 0);--ring:oklch(0.6 0 0)}*{box-sizing:border-box;margin:0;padding:0}*:focus:not(:focus-visible){outline:none}*:focus-visible{outline:2px solid var(--internal-ring);outline-offset:2px;border-radius:calc(var(--internal-radius) - 4px)}.formatted-text{color:var(--internal-foreground);white-space:pre-wrap;word-wrap:break-word}.formatted-link{color:var(--internal-primary);text-decoration:none;transition:color var(--internal-transition-fast)}.formatted-link:hover{color:oklch(from var(--internal-primary) calc(l + 0.1) c h);text-decoration:underline}.formatted-divider{height:0;border:none;border-top:1px solid var(--internal-border);margin:var(--internal-spacing-md) 0}.soundcloud-embed{margin:var(--internal-spacing-md) 0;border-radius:var(--internal-radius);overflow:hidden}.soundcloud-embed iframe{display:block;border:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';export{b as session_services_formatted_text}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function t(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var e,n=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=e[o],s=t(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);s&&Object.defineProperty(e,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?e[o]=n.l.get(o):void 0!==l&&(e[o]=l)}}))},o=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},l=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&n(t,e))},s=(t,e)=>e in t,i=(t,e)=>(0,console.error)(t,e),r=new Map,c=new Map,u="undefined"!=typeof window?window:{},f={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},a=t=>Promise.resolve(t),d=(()=>{try{return!!u.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),p=!!d&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),h=!1,m=[],v=[],b=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&f.u?w($):f.raf($))},y=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){i(t)}t.length=0},$=()=>{y(m),y(v),(h=m.length>0)&&f.raf($)},w=t=>a().then(t),g=b(v,!0);function j(){const t=this.attachShadow({mode:"open"});void 0===e&&(e=null),e&&(p?t.adoptedStyleSheets.push(e):t.adoptedStyleSheets=[...t.adoptedStyleSheets,e])}function O(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var S,k=new WeakMap,E=t=>"sc-"+t.h,M=t=>"object"==(t=typeof t)||"function"===t,C=(t,e,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!M(o))&&(o+=""),s&&i?r[r.length-1].m+=o:r.push(s?x(null,o):o),i=s)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,r,R);const u=x(t,null);return u.v=e,r.length>0&&(u.$=r),u.j=l,u},x=(t,e)=>({u:0,O:t,m:null!=e?e:null,S:null,$:null,v:null,j:null}),L={},R={forEach:(t,e)=>t.map(D).forEach(e),map:(t,e)=>t.map(D).map(e).map(H)},D=t=>({vattrs:t.v,vchildren:t.$,vkey:t.j,vname:t.k,vtag:t.O,vtext:t.m}),H=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),C(t.vtag,e,...t.vchildren||[])}const e=x(t.vtag,t.vtext);return e.v=t.vattrs,e.$=t.vchildren,e.j=t.vkey,e.k=t.vname,e},P=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},T=(t,e)=>null==t||M(t)?t:4&e?"false"!==t&&(""===t||!!t):1&e?t+"":t,A=t=>{var e;return null==(e=o(t))?void 0:e.$hostElement$},N=(t,e)=>{const n=A(t);return{emit:t=>U(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},U=(t,e,n)=>{const o=f.ce(e,n);return t.dispatchEvent(o),o},W=(t,e,n,l,i,r)=>{if(n===l)return;let c=s(t,e),a=e.toLowerCase();if("class"===e){const e=t.classList,o=V(n);let s=V(l);e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("key"===e);else if(c||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let s;{const e=o(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(s=t[1])}}return s||(s=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==l||!1===l?!1===l&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===l?"":l))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=l}catch(t){}return}{const o=M(l);if((c||o&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const o=null==l?"":l;"list"===e?c=!1:null!=n&&t[e]===o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(e)||t.removeAttribute(e):(!c||4&r||i)&&!o&&1===t.nodeType&&t.setAttribute(e,l=!0===l?"":l)}}else if(e="-"===e[2]?e.slice(3):s(u,a)?a.slice(2):a[2]+e.slice(3),n||l){const o=e.endsWith(q);e=e.replace(F,""),n&&f.rel(t,e,n,o),l&&f.ael(t,e,l,o)}},z=/\s/,V=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(z):[]),q="Capture",F=RegExp(q+"$"),G=(t,e,n)=>{const o=11===e.S.nodeType&&e.S.host?e.S.host:e.S,l=t&&t.v||{},s=e.v||{};for(const t of Y(Object.keys(l)))t in s||W(o,t,l[t],void 0,n,e.u);for(const t of Y(Object.keys(s)))W(o,t,l[t],s[t],n,e.u)};function Y(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Z=!1,_=(t,e,n)=>{const o=e.$[n];let l,s,i=0;if(null!=o.m)l=o.S=u.document.createTextNode(o.m);else{if(Z||(Z="svg"===o.O),!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=u.document.createElementNS(Z?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.O),Z&&"foreignObject"===o.O&&(Z=!1),G(null,o,Z),o.$){const e="template"===o.O?l.content:l;for(i=0;i<o.$.length;++i)s=_(t,o,i),s&&e.appendChild(s)}"svg"===o.O?Z=!1:"foreignObject"===l.tagName&&(Z=!0)}return l["s-hn"]=S,l},B=(t,e,n,o,l,s)=>{let i,r=t;for(r.shadowRoot&&r.tagName===S&&(r=r.shadowRoot),"template"===n.O&&(r=r.content);l<=s;++l)o[l]&&(i=_(null,n,l),i&&(o[l].S=i,Q(r,i,e)))},I=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.S;t&&t.remove()}}},J=(t,e,n=!1)=>t.O===e.O&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),K=(t,e,n=!1)=>{const o=e.S=t.S,l=t.$,s=e.$,i=e.O,r=e.m;null==r?(G(t,e,Z="svg"===i||"foreignObject"!==i&&Z),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],p=e[a],h=o.length-1,m=o[0],v=o[h];const b="template"===n.O?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=e[++r];else if(null==p)p=e[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--h];else if(J(d,m,l))K(d,m,l),d=e[++r],m=o[++c];else if(J(p,v,l))K(p,v,l),p=e[--a],v=o[--h];else if(J(d,v,l))K(d,v,l),Q(b,d.S,p.S.nextSibling),d=e[++r],v=o[--h];else if(J(p,m,l))K(p,m,l),Q(b,p.S,d.S),p=e[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].j&&e[f].j===m.j){u=f;break}u>=0?(i=e[u],i.O!==m.O?s=_(e&&e[c],n,u):(K(i,m,l),e[u]=void 0,s=i.S),m=o[++c]):(s=_(e&&e[c],n,c),m=o[++c]),s&&Q(d.S.parentNode,s,d.S)}r>a?B(t,null==o[h+1]?null:o[h+1].S,n,o,c,h):c>h&&I(e,r,a)})(o,l,e,s,n):null!==s?(null!==t.m&&(o.textContent=""),B(o,null,e,s,0,s.length-1)):!n&&null!==l&&I(l,0,l.length-1),Z&&"svg"===i&&(Z=!1)):t.m!==r&&(o.data=r)},Q=(t,e,n)=>t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n),X=(t,e)=>{if(e&&!t.M&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.M=()=>{e["s-p"].splice(n-1,1),o()})))}},tt=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);X(t,t.C);const n=()=>et(t,e);if(!e)return g(n);queueMicrotask((()=>{n()}))},et=(t,e)=>{const n=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.L.length&&t.L.forEach((t=>t(n))),l=ct(o,"componentWillLoad",void 0,n)):l=ct(o,"componentWillUpdate",void 0,n),l=nt(l,(()=>ct(o,"componentWillRender",void 0,n))),nt(l,(()=>lt(t,o,e)))},nt=(t,e)=>ot(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ot=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,lt=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,l=((t,e)=>{var n,o,l;const s=E(e),i=c.get(s);if(!u.document)return s;if(t=11===t.nodeType?t:u.document,i)if("string"==typeof i){let l,r=k.get(t=t.head||t);if(r||k.set(t,r=new Set),!r.has(s)){l=u.document.createElement("style"),l.textContent=i;const c=null!=(n=f.R)?n:O(u.document);if(null!=c&&l.setAttribute("nonce",c),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(i),p?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=i+e.textContent:t.prepend(l)}else t.append(l);1&e.u&&t.insertBefore(l,null),4&e.u&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let e=k.get(t);if(e||k.set(t,e=new Set),!e.has(s)){const n=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===n.CSSStyleSheet)o=i;else{o=new n.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}p?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(s)}}return s})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);st(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>it(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}},st=(t,e,n,o)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.D||x(null,null),s=(t=>t&&t.O===L)(e)?e:C(null,null,e);if(S=o.tagName,n&&s.v)for(const t of Object.keys(s.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(s.v[t]=o[t]);s.O=null,s.u|=4,t.D=s,s.S=l.S=o.shadowRoot||o,K(l,s,n)})(t,e,o)}catch(e){i(e,t.$hostElement$)}return null},it=t=>{const e=t.$hostElement$,n=t.i,o=t.C;ct(n,"componentDidRender",void 0,e),64&t.u?ct(n,"componentDidUpdate",void 0,e):(t.u|=64,ut(e),ct(n,"componentDidLoad",void 0,e),t.H(e),o||rt()),t.M&&(t.M(),t.M=void 0),512&t.u&&w((()=>tt(t,!1))),t.u&=-517},rt=()=>{w((()=>U(u,"appload",{detail:{namespace:"session-services-elements"}})))},ct=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){i(t,o)}},ut=t=>t.classList.add("hydrated"),ft=(t,e,n,l)=>{const s=o(t);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${l.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=s.$hostElement$,c=s.l.get(e),u=s.u,f=s.i;if(n=T(n,l.t[e][0]),!(8&u&&void 0!==c||n===c||Number.isNaN(c)&&Number.isNaN(n))){if(s.l.set(e,n),l.P){const t=l.P[e];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&u||1&l)&&(f?f[o](n,c,e):s.L.push((()=>{s.i[o](n,c,e)})))}catch(t){i(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(n,c,e)&&!(16&u))return;16&u||tt(s,!1)}}},at=(e,n,l)=>{var s,i;const r=e.prototype;{e.watchers&&!n.P&&(n.P=P(e.watchers)),e.deserializers&&!n.T&&(n.T=e.deserializers),e.serializers&&!n.A&&(n.A=e.serializers);const c=Object.entries(null!=(s=n.t)?s:{});if(c.map((([e,[s]])=>{if(31&s||2&l&&32&s){const{get:i,set:c}=t(r,e)||{};i&&(n.t[e][0]|=2048),c&&(n.t[e][0]|=4096),(1&l||!i)&&Object.defineProperty(r,e,{get(){{if(!(2048&n.t[e][0]))return((t,e)=>o(this).l.get(e))(0,e);const t=o(this),l=t?t.i:r;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(t){const i=o(this);if(i){if(c)return void 0===(32&s?this[e]:i.$hostElement$[e])&&i.l.get(e)&&(t=i.l.get(e)),c.call(this,T(t,s)),void ft(this,e,t=32&s?this[e]:i.$hostElement$[e],n);{if(!(1&l&&4096&n.t[e][0]))return ft(this,e,t,n),void(1&l&&!i.i&&i.L.push((()=>{4096&n.t[e][0]&&i.i[e]!==i.l.get(e)&&(i.i[e]=t)})));const o=()=>{const o=i.i[e];!i.l.get(e)&&o&&i.l.set(e,o),i.i[e]=T(t,s),ft(this,e,i.i[e],n)};i.i?o():i.L.push((()=>{o()}))}}}})}})),1&l){const t=new Map;r.attributeChangedCallback=function(e,l,s){f.jmp((()=>{var i;const u=t.get(e),f=o(this);if(this.hasOwnProperty(u)&&(s=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==s)return;if(null==u){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&s!==l){const o=f.i,r=null==(i=n.P)?void 0:i[e];null==r||r.forEach((n=>{const[[i,r]]=Object.entries(n);null!=o[i]&&(128&t||1&r)&&o[i].call(o,s,l,e)}))}return}const a=c.find((([t])=>t===u)),d=a&&4&a[1][0],p=d&&null===s&&void 0===this[u];d&&(s=null!==s&&"false"!==s);const h=Object.getOwnPropertyDescriptor(r,u);p||s==this[u]||h.get&&!h.set||(this[u]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.P)?i:{}),...c.filter((([t,e])=>31&e[0])).map((([e,n])=>{const o=n[1]||e;return t.set(o,e),o}))]))}}return e},dt=(t,e)=>{ct(t,"connectedCallback",void 0,e)},pt=(t,e)=>{ct(t,"disconnectedCallback",void 0,e||t)},ht=(t,e={})=>{var n;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],s=e.exclude||[],a=u.customElements,p=u.document.head,h=p.querySelector("meta[charset]"),m=u.document.createElement("style"),v=[];let b,y=!0;if(Object.assign(f,e),f.p=new URL(e.resourcesUrl||"./",u.document.baseURI).href,t.map((t=>{t[1].map((e=>{var n,u;const p={u:e[0],h:e[1],t:e[2],N:e[3]};p.t=e[2],p.P=P(e[4]),p.A=null!=(n=e[5])?n:{},p.T=null!=(u=e[6])?u:{};const h=p.h,m=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,e)=>{const n={u:0,$hostElement$:t,o:e,l:new Map,U:new Map};n.W=new Promise((t=>n.H=t)),t["s-p"]=[],t["s-rc"]=[],n.L=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,p),1&p.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${p.h}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else j.call(t,p)}connectedCallback(){o(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),y?v.push(this):f.jmp((()=>(t=>{if(!(1&f.u)){const e=o(t);if(!e)return;const n=e.o,l=()=>{};if(1&e.u)(null==e?void 0:e.i)?dt(e.i,t):(null==e?void 0:e.W)&&e.W.then((()=>dt(e.i,t)));else{e.u|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(e,e.C=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;try{if(!(32&e.u)){if(e.u|=32,n.V){const l=((t,e)=>{const n=t.h.replace(/-/g,"_"),o=t.V;if(!o)return;const l=r.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(r.set(o,t),t[n])),(t=>{i(t,e.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.h}#${e.q}" was not found`);o.isProxied||(n.P=P(o.watchers),n.A=o.serializers,n.T=o.deserializers,at(o,n,2),o.isProxied=!0);const s=()=>{};e.u|=8;try{new o(e)}catch(e){i(e,t)}e.u&=-9,e.u|=128,s(),dt(e.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=E(n);if(!c.has(e)){const o=()=>{};((t,e,n)=>{let o=c.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,c.set(t,o)})(e,t,!!(1&n.u)),o()}}}const l=e.C,s=()=>tt(e,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(n){i(n,t),e.M&&(e.M(),e.M=void 0),e.H&&e.H(t)}})(t,e,n)}l()}})(this))))}disconnectedCallback(){f.jmp((()=>(async t=>{if(!(1&f.u)){const e=o(t);(null==e?void 0:e.i)?pt(e.i,t):(null==e?void 0:e.W)&&e.W.then((()=>pt(e.i,t)))}k.has(t)&&k.delete(t),t.shadowRoot&&k.has(t.shadowRoot)&&k.delete(t.shadowRoot)})(this))),f.raf((()=>{var t;const e=o(this);if(!e)return;const n=v.findIndex((t=>t===this));n>-1&&v.splice(n,1),(null==(t=null==e?void 0:e.D)?void 0:t.S)instanceof Node&&!e.D.S.isConnected&&delete e.D.S}))}componentOnReady(){var t;return null==(t=o(this))?void 0:t.W}};p.V=t[0],s.includes(h)||a.get(h)||(l.push(h),a.define(h,at(m,p,1)))}))})),l.length>0&&(m.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",m.innerHTML.length)){m.setAttribute("data-styles","");const t=null!=(n=f.R)?n:O(u.document);null!=t&&m.setAttribute("nonce",t),p.insertBefore(m,h?h.nextSibling:p.firstChild)}y=!1,v.length?v.map((t=>t.connectedCallback())):f.jmp((()=>b=setTimeout(rt,30)))},mt=t=>f.R=t;export{L as H,ht as b,N as c,A as g,C as h,a as p,l as r,mt as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as
|
|
1
|
+
import{p as e,b as o}from"./p-DhbVMqIT.js";export{s as setNonce}from"./p-DhbVMqIT.js";import{g as t}from"./p-DQuL1Twl.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((async e=>(await t(),o([["p-8483ca88",[[513,"session-services-formatted-text",{text:[1],theme:[1],currentTheme:[32],segments:[32]},null,{text:[{textChanged:0}],theme:[{themeChanged:0}]}]]],["p-4dd3f723",[[513,"session-services-ticketing",{tenantId:[1,"tenant-id"],eventId:[1,"event-id"],apiUrl:[1,"api-url"],locale:[1],returnUrl:[1,"return-url"],couponCode:[1,"coupon-code"],initialAdmissionPrices:[1,"initial-admission-prices"],initialPreviewQuote:[1,"initial-preview-quote"],passcode:[1],stickyCheckout:[4,"sticky-checkout"],theme:[1],enableAnalytics:[4,"enable-analytics"],debugAnalytics:[4,"debug-analytics"],event:[32],selectedItems:[32],quote:[32],previewQuote:[32],loading:[32],error:[32],quoteLoading:[32],previewLoading:[32],quoteError:[32],couponError:[32],couponInput:[32],appliedCouponCode:[32],passcodeInput:[32],activePasscode:[32],passcodeDenied:[32],selectionPrompt:[32],checkoutLoading:[32],currentTheme:[32],openModalAdmissionId:[32]},null,{tenantId:[{propsChanged:0}],eventId:[{propsChanged:0}],apiUrl:[{propsChanged:0}],passcode:[{propsChanged:0}],couponCode:[{couponCodeChanged:0}],initialAdmissionPrices:[{couponCodeChanged:0}],initialPreviewQuote:[{couponCodeChanged:0}],theme:[{themeChanged:0}]}]]]],e))));
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import type { DetailedEvent, OrderQuote } from "@session-services/sdk/schemas";
|
|
2
2
|
import { type EventEmitter } from "../../stencil-public-runtime";
|
|
3
3
|
import { type SelectionKey } from "./session-services-ticketing.logic";
|
|
4
|
+
export type AnalyticsSkipReason = "analytics_initialization_failed" | "analytics_not_initialized" | "missing_event" | "missing_promoter_id" | "missing_team_id";
|
|
5
|
+
export type AnalyticsEventSkipped = {
|
|
6
|
+
eventType: string;
|
|
7
|
+
eventId: string;
|
|
8
|
+
reason: AnalyticsSkipReason;
|
|
9
|
+
promoterId?: string;
|
|
10
|
+
teamId?: string;
|
|
11
|
+
};
|
|
4
12
|
export declare class SessionsTicketing {
|
|
5
13
|
host: HTMLElement;
|
|
6
14
|
tenantId: string;
|
|
@@ -40,13 +48,14 @@ export declare class SessionsTicketing {
|
|
|
40
48
|
currentTheme: "light" | "dark";
|
|
41
49
|
openModalAdmissionId: string | null;
|
|
42
50
|
checkoutInit: EventEmitter<{
|
|
43
|
-
orderId
|
|
44
|
-
checkoutUrl
|
|
51
|
+
orderId?: string;
|
|
52
|
+
checkoutUrl?: string;
|
|
45
53
|
}>;
|
|
46
54
|
cartUpdate: EventEmitter<OrderQuote>;
|
|
47
55
|
errorOccurred: EventEmitter<{
|
|
48
56
|
error: string;
|
|
49
57
|
}>;
|
|
58
|
+
analyticsEventSkipped: EventEmitter<AnalyticsEventSkipped>;
|
|
50
59
|
private client;
|
|
51
60
|
private analytics?;
|
|
52
61
|
private mediaQueryList?;
|
|
@@ -70,15 +79,17 @@ export declare class SessionsTicketing {
|
|
|
70
79
|
private setupTheme;
|
|
71
80
|
private handleSystemThemeChange;
|
|
72
81
|
private trackEvent;
|
|
82
|
+
private analyticsProperties;
|
|
83
|
+
private analyticsForEvent;
|
|
73
84
|
private analyticsContext;
|
|
74
|
-
private
|
|
75
|
-
private analyticsEvent;
|
|
85
|
+
private emitAnalyticsEventSkipped;
|
|
76
86
|
private getLowestPrice;
|
|
77
87
|
private getAdmissionListProducts;
|
|
78
88
|
private loadEventData;
|
|
79
89
|
private pruneSelectedItems;
|
|
80
90
|
private trackLoadedEvent;
|
|
81
91
|
private setupAnalytics;
|
|
92
|
+
private trackPageViewed;
|
|
82
93
|
private trackProductViewed;
|
|
83
94
|
private updateQuantity;
|
|
84
95
|
private setQuantity;
|
package/dist/types/components/session-services-ticketing/session-services-ticketing.logic.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare function visibleAdmissions(event: DetailedEvent, mode: TicketingM
|
|
|
76
76
|
booking: number;
|
|
77
77
|
currency: "AUD" | "AED" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BZD" | "CAD" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HUF" | "IDR" | "ILS" | "INR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MNT" | "MOP" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RWF" | "SAR" | "SBD" | "SCR" | "SEK" | "SGD" | "SHP" | "SLE" | "SRD" | "SVC" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XOF" | "XPF" | "ZAR" | "ZMW" | "ZWL";
|
|
78
78
|
};
|
|
79
|
-
visibility: "ALWAYS" | "HIDDEN";
|
|
79
|
+
visibility: "ALWAYS" | "HIDDEN" | "AFTER_ADMISSION";
|
|
80
80
|
teamId: string;
|
|
81
81
|
promoterId: string;
|
|
82
82
|
eventId: string;
|
|
@@ -89,6 +89,7 @@ export declare function visibleAdmissions(event: DetailedEvent, mode: TicketingM
|
|
|
89
89
|
reserved?: number;
|
|
90
90
|
createdAt?: string;
|
|
91
91
|
updatedAt?: string;
|
|
92
|
+
visibleAfterAdmissionId?: string;
|
|
92
93
|
sectionId?: string;
|
|
93
94
|
}[];
|
|
94
95
|
export declare function topLevelTicketItems(sections: Section[], admissions: Admission[], input?: AdmissionStackingInput): TopLevelItem[];
|
|
@@ -136,7 +137,7 @@ export declare function quoteItemsBySelection(quote: OrderQuote | null): Map<str
|
|
|
136
137
|
booking: number;
|
|
137
138
|
currency: "AUD" | "AED" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BZD" | "CAD" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HUF" | "IDR" | "ILS" | "INR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MNT" | "MOP" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RWF" | "SAR" | "SBD" | "SCR" | "SEK" | "SGD" | "SHP" | "SLE" | "SRD" | "SVC" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XOF" | "XPF" | "ZAR" | "ZMW" | "ZWL";
|
|
138
139
|
};
|
|
139
|
-
visibility: "ALWAYS" | "HIDDEN";
|
|
140
|
+
visibility: "ALWAYS" | "HIDDEN" | "AFTER_ADMISSION";
|
|
140
141
|
teamId: string;
|
|
141
142
|
promoterId: string;
|
|
142
143
|
eventId: string;
|
|
@@ -149,6 +150,7 @@ export declare function quoteItemsBySelection(quote: OrderQuote | null): Map<str
|
|
|
149
150
|
reserved?: number;
|
|
150
151
|
createdAt?: string;
|
|
151
152
|
updatedAt?: string;
|
|
153
|
+
visibleAfterAdmissionId?: string;
|
|
152
154
|
sectionId?: string;
|
|
153
155
|
};
|
|
154
156
|
section?: {
|
|
@@ -156,7 +158,7 @@ export declare function quoteItemsBySelection(quote: OrderQuote | null): Map<str
|
|
|
156
158
|
capacity: number;
|
|
157
159
|
limit: number;
|
|
158
160
|
order: number;
|
|
159
|
-
visibility: "ALWAYS" | "
|
|
161
|
+
visibility: "ALWAYS" | "STACKED" | "HIDDEN";
|
|
160
162
|
location: {
|
|
161
163
|
createdAt: string;
|
|
162
164
|
updatedAt: string;
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { OrderQuote } from "@session-services/sdk/schemas";
|
|
9
|
+
import { AnalyticsEventSkipped } from "./components/session-services-ticketing/session-services-ticketing";
|
|
9
10
|
export { OrderQuote } from "@session-services/sdk/schemas";
|
|
11
|
+
export { AnalyticsEventSkipped } from "./components/session-services-ticketing/session-services-ticketing";
|
|
10
12
|
export namespace Components {
|
|
11
13
|
interface SessionServicesFormattedText {
|
|
12
14
|
/**
|
|
@@ -66,11 +68,12 @@ declare global {
|
|
|
66
68
|
};
|
|
67
69
|
interface HTMLSessionServicesTicketingElementEventMap {
|
|
68
70
|
"checkoutInit": {
|
|
69
|
-
orderId
|
|
70
|
-
checkoutUrl
|
|
71
|
+
orderId?: string;
|
|
72
|
+
checkoutUrl?: string;
|
|
71
73
|
};
|
|
72
74
|
"cartUpdate": OrderQuote;
|
|
73
75
|
"errorOccurred": { error: string };
|
|
76
|
+
"analyticsEventSkipped": AnalyticsEventSkipped;
|
|
74
77
|
}
|
|
75
78
|
interface HTMLSessionServicesTicketingElement extends Components.SessionServicesTicketing, HTMLStencilElement {
|
|
76
79
|
addEventListener<K extends keyof HTMLSessionServicesTicketingElementEventMap>(type: K, listener: (this: HTMLSessionServicesTicketingElement, ev: SessionServicesTicketingCustomEvent<HTMLSessionServicesTicketingElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -92,6 +95,8 @@ declare global {
|
|
|
92
95
|
}
|
|
93
96
|
}
|
|
94
97
|
declare namespace LocalJSX {
|
|
98
|
+
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
|
|
99
|
+
|
|
95
100
|
interface SessionServicesFormattedText {
|
|
96
101
|
/**
|
|
97
102
|
* @default ""
|
|
@@ -124,10 +129,11 @@ declare namespace LocalJSX {
|
|
|
124
129
|
* @default "en-US"
|
|
125
130
|
*/
|
|
126
131
|
"locale"?: string;
|
|
132
|
+
"onAnalyticsEventSkipped"?: (event: SessionServicesTicketingCustomEvent<AnalyticsEventSkipped>) => void;
|
|
127
133
|
"onCartUpdate"?: (event: SessionServicesTicketingCustomEvent<OrderQuote>) => void;
|
|
128
134
|
"onCheckoutInit"?: (event: SessionServicesTicketingCustomEvent<{
|
|
129
|
-
orderId
|
|
130
|
-
checkoutUrl
|
|
135
|
+
orderId?: string;
|
|
136
|
+
checkoutUrl?: string;
|
|
131
137
|
}>) => void;
|
|
132
138
|
"onErrorOccurred"?: (event: SessionServicesTicketingCustomEvent<{ error: string }>) => void;
|
|
133
139
|
"passcode"?: string;
|
|
@@ -142,17 +148,39 @@ declare namespace LocalJSX {
|
|
|
142
148
|
*/
|
|
143
149
|
"theme"?: "light" | "dark" | "system";
|
|
144
150
|
}
|
|
151
|
+
|
|
152
|
+
interface SessionServicesFormattedTextAttributes {
|
|
153
|
+
"text": string;
|
|
154
|
+
"theme": "light" | "dark" | "system";
|
|
155
|
+
}
|
|
156
|
+
interface SessionServicesTicketingAttributes {
|
|
157
|
+
"tenantId": string;
|
|
158
|
+
"eventId": string;
|
|
159
|
+
"apiUrl": string;
|
|
160
|
+
"locale": string;
|
|
161
|
+
"returnUrl": string;
|
|
162
|
+
"couponCode": string;
|
|
163
|
+
"initialAdmissionPrices": | Record<string, { discount: number; gross: number; total: number }>
|
|
164
|
+
| string;
|
|
165
|
+
"initialPreviewQuote": OrderQuote | string;
|
|
166
|
+
"passcode": string;
|
|
167
|
+
"stickyCheckout": boolean;
|
|
168
|
+
"theme": "light" | "dark" | "system";
|
|
169
|
+
"enableAnalytics": boolean;
|
|
170
|
+
"debugAnalytics": boolean;
|
|
171
|
+
}
|
|
172
|
+
|
|
145
173
|
interface IntrinsicElements {
|
|
146
|
-
"session-services-formatted-text": SessionServicesFormattedText;
|
|
147
|
-
"session-services-ticketing": SessionServicesTicketing
|
|
174
|
+
"session-services-formatted-text": Omit<SessionServicesFormattedText, keyof SessionServicesFormattedTextAttributes> & { [K in keyof SessionServicesFormattedText & keyof SessionServicesFormattedTextAttributes]?: SessionServicesFormattedText[K] } & { [K in keyof SessionServicesFormattedText & keyof SessionServicesFormattedTextAttributes as `attr:${K}`]?: SessionServicesFormattedTextAttributes[K] } & { [K in keyof SessionServicesFormattedText & keyof SessionServicesFormattedTextAttributes as `prop:${K}`]?: SessionServicesFormattedText[K] };
|
|
175
|
+
"session-services-ticketing": Omit<SessionServicesTicketing, keyof SessionServicesTicketingAttributes> & { [K in keyof SessionServicesTicketing & keyof SessionServicesTicketingAttributes]?: SessionServicesTicketing[K] } & { [K in keyof SessionServicesTicketing & keyof SessionServicesTicketingAttributes as `attr:${K}`]?: SessionServicesTicketingAttributes[K] } & { [K in keyof SessionServicesTicketing & keyof SessionServicesTicketingAttributes as `prop:${K}`]?: SessionServicesTicketing[K] } & OneOf<"tenantId", SessionServicesTicketing["tenantId"], SessionServicesTicketingAttributes["tenantId"]> & OneOf<"eventId", SessionServicesTicketing["eventId"], SessionServicesTicketingAttributes["eventId"]>;
|
|
148
176
|
}
|
|
149
177
|
}
|
|
150
178
|
export { LocalJSX as JSX };
|
|
151
179
|
declare module "@stencil/core" {
|
|
152
180
|
export namespace JSX {
|
|
153
181
|
interface IntrinsicElements {
|
|
154
|
-
"session-services-formatted-text": LocalJSX.
|
|
155
|
-
"session-services-ticketing": LocalJSX.
|
|
182
|
+
"session-services-formatted-text": LocalJSX.IntrinsicElements["session-services-formatted-text"] & JSXBase.HTMLAttributes<HTMLSessionServicesFormattedTextElement>;
|
|
183
|
+
"session-services-ticketing": LocalJSX.IntrinsicElements["session-services-ticketing"] & JSXBase.HTMLAttributes<HTMLSessionServicesTicketingElement>;
|
|
156
184
|
}
|
|
157
185
|
}
|
|
158
186
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -63,6 +63,12 @@ export interface ShadowRootOptions {
|
|
|
63
63
|
* focusable part is given focus, and the shadow host is given any available `:focus` styling.
|
|
64
64
|
*/
|
|
65
65
|
delegatesFocus?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Sets the slot assignment mode for the shadow root. When set to `'manual'`, enables imperative
|
|
68
|
+
* slotting using the `HTMLSlotElement.assign()` method. Defaults to `'named'` for standard
|
|
69
|
+
* declarative slotting behavior.
|
|
70
|
+
*/
|
|
71
|
+
slotAssignment?: 'manual' | 'named';
|
|
66
72
|
}
|
|
67
73
|
export interface ModeStyles {
|
|
68
74
|
[modeName: string]: string | string[];
|
|
@@ -119,8 +125,27 @@ export interface EventOptions {
|
|
|
119
125
|
*/
|
|
120
126
|
composed?: boolean;
|
|
121
127
|
}
|
|
128
|
+
export interface AttachInternalsOptions {
|
|
129
|
+
/**
|
|
130
|
+
* Initial custom states to set on the ElementInternals.states CustomStateSet.
|
|
131
|
+
* Each key is the state name and the value is the initial boolean state.
|
|
132
|
+
*
|
|
133
|
+
* These states can be targeted with the CSS `:state()` pseudo-class.
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ```tsx
|
|
137
|
+
* @AttachInternals({ states: { open: true, active: false } })
|
|
138
|
+
* internals: ElementInternals;
|
|
139
|
+
* ```
|
|
140
|
+
*
|
|
141
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/CustomStateSet
|
|
142
|
+
*/
|
|
143
|
+
states?: {
|
|
144
|
+
[stateName: string]: boolean;
|
|
145
|
+
};
|
|
146
|
+
}
|
|
122
147
|
export interface AttachInternalsDecorator {
|
|
123
|
-
(): PropertyDecorator;
|
|
148
|
+
(opts?: AttachInternalsOptions): PropertyDecorator;
|
|
124
149
|
}
|
|
125
150
|
export interface ListenDecorator {
|
|
126
151
|
(eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
|
|
@@ -156,7 +181,9 @@ export interface StateDecorator {
|
|
|
156
181
|
(): PropertyDecorator;
|
|
157
182
|
}
|
|
158
183
|
export interface WatchDecorator {
|
|
159
|
-
(propName: any
|
|
184
|
+
(propName: any, watchOptions?: {
|
|
185
|
+
immediate?: boolean;
|
|
186
|
+
}): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
|
|
160
187
|
}
|
|
161
188
|
export interface PropSerializeDecorator {
|
|
162
189
|
(propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => string | null>;
|
|
@@ -610,7 +637,7 @@ export interface FunctionalUtilities {
|
|
|
610
637
|
map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
|
|
611
638
|
}
|
|
612
639
|
export interface FunctionalComponent<T = {}> {
|
|
613
|
-
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
|
|
640
|
+
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[] | null;
|
|
614
641
|
}
|
|
615
642
|
/**
|
|
616
643
|
* A Child VDOM node
|
|
@@ -652,6 +679,7 @@ export declare namespace h {
|
|
|
652
679
|
function h(sel: any, data: VNodeData | null, text: string): VNode;
|
|
653
680
|
function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
|
654
681
|
function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
|
682
|
+
function h(sel: any, data: VNodeData | null, ...children: (VNode | string | number)[]): VNode;
|
|
655
683
|
namespace JSX {
|
|
656
684
|
interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements {
|
|
657
685
|
[tagName: string]: any;
|
|
@@ -666,6 +694,36 @@ export declare function h(sel: any, children: Array<VNode | undefined | null>):
|
|
|
666
694
|
export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
|
|
667
695
|
export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
|
668
696
|
export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
|
697
|
+
export declare function h(sel: any, data: VNodeData | null, ...children: (VNode | string | number)[]): VNode;
|
|
698
|
+
/**
|
|
699
|
+
* Automatic JSX runtime functions for TypeScript's react-jsx mode.
|
|
700
|
+
* These functions are called automatically by TypeScript when using "jsx": "react-jsx".
|
|
701
|
+
* @param type type of node
|
|
702
|
+
* @param props properties of node
|
|
703
|
+
* @param key optional key for the node
|
|
704
|
+
* @returns a jsx vnode
|
|
705
|
+
*/
|
|
706
|
+
export declare function jsx(type: any, props: any, key?: string): VNode;
|
|
707
|
+
/**
|
|
708
|
+
* Automatic JSX runtime functions for TypeScript's react-jsxmode with multiple children.
|
|
709
|
+
* @param type type of node
|
|
710
|
+
* @param props properties of node
|
|
711
|
+
* @param key optional key for the node
|
|
712
|
+
* @returns a jsx vnode
|
|
713
|
+
*/
|
|
714
|
+
export declare function jsxs(type: any, props: any, key?: string): VNode;
|
|
715
|
+
/**
|
|
716
|
+
* Automatic JSX runtime functions for TypeScript's react-jsxdev mode.
|
|
717
|
+
* These functions are called automatically by TypeScript when using "jsx": "react-jsxdev".
|
|
718
|
+
* @param type type of node
|
|
719
|
+
* @param props properties of node
|
|
720
|
+
* @param key optional key for the node
|
|
721
|
+
* @param isStaticChildren indicates if the children are static
|
|
722
|
+
* @param source source information
|
|
723
|
+
* @param self reference to the component instance
|
|
724
|
+
* @returns a jsx vnode
|
|
725
|
+
*/
|
|
726
|
+
export declare function jsxDEV(type: any, props: any, key?: string | number, isStaticChildren?: boolean, source?: any, self?: any): VNode;
|
|
669
727
|
/**
|
|
670
728
|
* A virtual DOM node
|
|
671
729
|
*/
|
|
@@ -695,7 +753,7 @@ declare namespace LocalJSX {
|
|
|
695
753
|
export { LocalJSX as JSX };
|
|
696
754
|
export declare namespace JSXBase {
|
|
697
755
|
interface IntrinsicElements {
|
|
698
|
-
slot: JSXBase.SlotAttributes
|
|
756
|
+
slot: JSXBase.SlotAttributes<HTMLSlotElement>;
|
|
699
757
|
a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
700
758
|
abbr: JSXBase.HTMLAttributes;
|
|
701
759
|
address: JSXBase.HTMLAttributes;
|
|
@@ -865,7 +923,7 @@ export declare namespace JSXBase {
|
|
|
865
923
|
use: JSXBase.SVGAttributes;
|
|
866
924
|
view: JSXBase.SVGAttributes;
|
|
867
925
|
}
|
|
868
|
-
interface SlotAttributes extends JSXAttributes {
|
|
926
|
+
interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
869
927
|
name?: string;
|
|
870
928
|
slot?: string;
|
|
871
929
|
onSlotchange?: (event: Event) => void;
|
|
@@ -921,6 +979,9 @@ export declare namespace JSXBase {
|
|
|
921
979
|
popoverTargetAction?: string;
|
|
922
980
|
popoverTargetElement?: Element | null;
|
|
923
981
|
popoverTarget?: string;
|
|
982
|
+
command?: string;
|
|
983
|
+
commandFor?: string;
|
|
984
|
+
commandfor?: string;
|
|
924
985
|
}
|
|
925
986
|
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
926
987
|
height?: number | string;
|
|
@@ -1009,6 +1070,7 @@ export declare namespace JSXBase {
|
|
|
1009
1070
|
importance?: 'low' | 'auto' | 'high';
|
|
1010
1071
|
height?: number | string;
|
|
1011
1072
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
1073
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1012
1074
|
sizes?: string;
|
|
1013
1075
|
src?: string;
|
|
1014
1076
|
srcSet?: string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Components } from "../../dist/types/components";
|
|
2
|
+
|
|
3
|
+
export interface FormattedText
|
|
4
|
+
extends Components.SessionServicesFormattedText,
|
|
5
|
+
HTMLElement {}
|
|
6
|
+
|
|
7
|
+
export declare const FormattedText: {
|
|
8
|
+
prototype: FormattedText;
|
|
9
|
+
new (): FormattedText;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type SessionServicesFormattedText = FormattedText;
|
|
13
|
+
|
|
14
|
+
/** @deprecated Use `FormattedText` instead. */
|
|
15
|
+
export { FormattedText as SessionServicesFormattedText };
|
|
16
|
+
|
|
17
|
+
export declare const defineCustomElement: () => void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "../../dist/components/index";
|
|
2
|
+
export {
|
|
3
|
+
FormattedText,
|
|
4
|
+
type SessionServicesFormattedText,
|
|
5
|
+
} from "./formatted-text";
|
|
6
|
+
/** @deprecated Use `FormattedText` instead. */
|
|
7
|
+
export { SessionServicesFormattedText } from "./formatted-text";
|
|
8
|
+
export {
|
|
9
|
+
type SessionServicesTicketing,
|
|
10
|
+
Ticketing,
|
|
11
|
+
} from "./ticketing";
|
|
12
|
+
/** @deprecated Use `Ticketing` instead. */
|
|
13
|
+
export { SessionServicesTicketing } from "./ticketing";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Components } from "../../dist/types/components";
|
|
2
|
+
|
|
3
|
+
export interface Ticketing
|
|
4
|
+
extends Components.SessionServicesTicketing,
|
|
5
|
+
HTMLElement {}
|
|
6
|
+
|
|
7
|
+
export declare const Ticketing: {
|
|
8
|
+
prototype: Ticketing;
|
|
9
|
+
new (): Ticketing;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type SessionServicesTicketing = Ticketing;
|
|
13
|
+
|
|
14
|
+
/** @deprecated Use `Ticketing` instead. */
|
|
15
|
+
export { Ticketing as SessionServicesTicketing };
|
|
16
|
+
|
|
17
|
+
export declare const defineCustomElement: () => void;
|