diff --git a/.github/workflows/azure-devops-sync.yml b/.github/workflows/azure-devops-sync.yml new file mode 100644 index 00000000..4df046ae --- /dev/null +++ b/.github/workflows/azure-devops-sync.yml @@ -0,0 +1,33 @@ +name: Sync issue to Azure DevOps work item + +on: + issues: + types: + [opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned] + issue_comment: + types: [created, edited, deleted] + +concurrency: + group: issue-${{ github.event.issue.number }} + cancel-in-progress: false + +jobs: + alert: + if: ${{ !github.event.issue.pull_request }} + runs-on: ubuntu-latest + steps: + - uses: ASU-KE/github-actions-issue-to-work-item@master + env: + ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}" + github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" + ado_organization: "asuteam404" + ado_project: "Web Services" + ado_area_path: "Web Services" + ado_iteration_path: "Web Services\\2025" + ado_parent_id: "38914" + ado_wit: "Github Issues" + ado_new_state: "New" + ado_active_state: "Active" + ado_close_state: "Done" + ado_bypassrules: true + log_level: 100 diff --git a/build/asu-events/block.json b/build/asu-events/block.json index 1b214d23..5cd13940 100644 --- a/build/asu-events/block.json +++ b/build/asu-events/block.json @@ -1,8 +1,8 @@ { "$schema": "https://schemas.wp.org/trunk/block.json", - "apiVersion": 2, + "apiVersion": 3, "name": "unityblocks/asu-events", - "version": "1.1.0", + "version": "1.2.0", "title": "ASU Events", "category": "unityblocks", "keywords": [ diff --git a/build/asu-events/frontend.asset.php b/build/asu-events/frontend.asset.php index cbf51104..a856f255 100644 --- a/build/asu-events/frontend.asset.php +++ b/build/asu-events/frontend.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-element'), 'version' => '9c29181890285eb67896'); + array('react', 'react-dom', 'wp-element'), 'version' => '4bfba4a72a9cdede4589'); diff --git a/build/asu-events/frontend.js b/build/asu-events/frontend.js index 1471835c..c5075e95 100644 --- a/build/asu-events/frontend.js +++ b/build/asu-events/frontend.js @@ -1 +1,296 @@ -!function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.element,n=window.React,r=e.n(n),a=window.ReactDOM,o=e.n(a),i={841:(e,t)=>{var n;!function(){var r={}.hasOwnProperty;function a(){for(var e=[],t=0;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),a=1;a/gm),W=d(/\${[\w\W]*}/gm),G=d(/^data-[\-\w.\u00B7-\uFFFF]/),V=d(/^aria-[\-\w]+$/),Y=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z=d(/^(?:\w+script|data):/i),K=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=d(/^html$/i);return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=function(e){return t(e)};if(a.version="2.4.5",a.removed=[],!n||!n.document||9!==n.document.nodeType)return a.isSupported=!1,a;var o=n.document,i=n.document,l=n.DocumentFragment,c=n.HTMLTemplateElement,s=n.Node,d=n.Element,f=n.NodeFilter,p=n.NamedNodeMap,m=void 0===p?n.NamedNodeMap||n.MozNamedAttrMap:p,h=n.HTMLFormElement,g=n.DOMParser,N=n.trustedTypes,J=d.prototype,Q=L(J,"cloneNode"),ee=L(J,"nextSibling"),te=L(J,"childNodes"),ne=L(J,"parentNode");if("function"==typeof c){var re=i.createElement("template");re.content&&re.content.ownerDocument&&(i=re.content.ownerDocument)}var ae=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,a="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(a)&&(r=n.currentScript.getAttribute(a));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(N,o),oe=ae?ae.createHTML(""):"",ie=i,le=ie.implementation,ce=ie.createNodeIterator,se=ie.createDocumentFragment,ue=ie.getElementsByTagName,de=o.importNode,fe={};try{fe=P(i).documentMode?i.documentMode:{}}catch(e){}var pe={};a.isSupported="function"==typeof ne&&le&&void 0!==le.createHTMLDocument&&9!==fe;var me,he,ge=q,ye=$,ve=W,be=G,we=V,ke=Z,Oe=K,Ee=Y,xe=null,Se=A({},[].concat(r(R),r(j),r(_),r(D),r(z))),Ce=null,Te=A({},[].concat(r(F),r(U),r(B),r(H))),Ne=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ae=null,Pe=null,Le=!0,Re=!0,je=!1,_e=!0,Ie=!1,De=!1,Me=!1,ze=!1,Fe=!1,Ue=!1,Be=!1,He=!0,qe=!1,$e=!0,We=!1,Ge={},Ve=null,Ye=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ze=null,Ke=A({},["audio","video","img","source","image","track"]),Xe=null,Je=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml",nt=tt,rt=!1,at=null,ot=A({},[Qe,et,tt],k),it=["application/xhtml+xml","text/html"],lt=null,ct=i.createElement("form"),st=function(e){return e instanceof RegExp||e instanceof Function},ut=function(t){lt&<===t||(t&&"object"===e(t)||(t={}),t=P(t),me=me=-1===it.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,he="application/xhtml+xml"===me?k:w,xe="ALLOWED_TAGS"in t?A({},t.ALLOWED_TAGS,he):Se,Ce="ALLOWED_ATTR"in t?A({},t.ALLOWED_ATTR,he):Te,at="ALLOWED_NAMESPACES"in t?A({},t.ALLOWED_NAMESPACES,k):ot,Xe="ADD_URI_SAFE_ATTR"in t?A(P(Je),t.ADD_URI_SAFE_ATTR,he):Je,Ze="ADD_DATA_URI_TAGS"in t?A(P(Ke),t.ADD_DATA_URI_TAGS,he):Ke,Ve="FORBID_CONTENTS"in t?A({},t.FORBID_CONTENTS,he):Ye,Ae="FORBID_TAGS"in t?A({},t.FORBID_TAGS,he):{},Pe="FORBID_ATTR"in t?A({},t.FORBID_ATTR,he):{},Ge="USE_PROFILES"in t&&t.USE_PROFILES,Le=!1!==t.ALLOW_ARIA_ATTR,Re=!1!==t.ALLOW_DATA_ATTR,je=t.ALLOW_UNKNOWN_PROTOCOLS||!1,_e=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ie=t.SAFE_FOR_TEMPLATES||!1,De=t.WHOLE_DOCUMENT||!1,Fe=t.RETURN_DOM||!1,Ue=t.RETURN_DOM_FRAGMENT||!1,Be=t.RETURN_TRUSTED_TYPE||!1,ze=t.FORCE_BODY||!1,He=!1!==t.SANITIZE_DOM,qe=t.SANITIZE_NAMED_PROPS||!1,$e=!1!==t.KEEP_CONTENT,We=t.IN_PLACE||!1,Ee=t.ALLOWED_URI_REGEXP||Ee,nt=t.NAMESPACE||tt,Ne=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&st(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ne.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&st(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ne.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ne.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(Re=!1),Ue&&(Fe=!0),Ge&&(xe=A({},r(z)),Ce=[],!0===Ge.html&&(A(xe,R),A(Ce,F)),!0===Ge.svg&&(A(xe,j),A(Ce,U),A(Ce,H)),!0===Ge.svgFilters&&(A(xe,_),A(Ce,U),A(Ce,H)),!0===Ge.mathMl&&(A(xe,D),A(Ce,B),A(Ce,H))),t.ADD_TAGS&&(xe===Se&&(xe=P(xe)),A(xe,t.ADD_TAGS,he)),t.ADD_ATTR&&(Ce===Te&&(Ce=P(Ce)),A(Ce,t.ADD_ATTR,he)),t.ADD_URI_SAFE_ATTR&&A(Xe,t.ADD_URI_SAFE_ATTR,he),t.FORBID_CONTENTS&&(Ve===Ye&&(Ve=P(Ve)),A(Ve,t.FORBID_CONTENTS,he)),$e&&(xe["#text"]=!0),De&&A(xe,["html","head","body"]),xe.table&&(A(xe,["tbody"]),delete Ae.tbody),u&&u(t),lt=t)},dt=A({},["mi","mo","mn","ms","mtext"]),ft=A({},["foreignobject","desc","title","annotation-xml"]),pt=A({},["title","style","font","a","script"]),mt=A({},j);A(mt,_),A(mt,I);var ht=A({},D);A(ht,M);var gt=function(e){b(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=oe}catch(t){e.remove()}}},yt=function(e,t){try{b(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ce[e])if(Fe||Ue)try{gt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},vt=function(e){var t,n;if(ze)e=""+e;else{var r=O(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===me&&nt===tt&&(e=''+e+"");var a=ae?ae.createHTML(e):e;if(nt===tt)try{t=(new g).parseFromString(a,me)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(nt,"template",null);try{t.documentElement.innerHTML=rt?oe:a}catch(e){}}var o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),nt===tt?ue.call(t,De?"html":"body")[0]:De?t.documentElement:o},bt=function(e){return ce.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT,null,!1)},wt=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},kt=function(e,t,n){pe[e]&&y(pe[e],(function(e){e.call(a,t,n,lt)}))},Ot=function(e){var t,n;if(kt("beforeSanitizeElements",e,null),(n=e)instanceof h&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof m)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return gt(e),!0;if(C(/[\u0080-\uFFFF]/,e.nodeName))return gt(e),!0;var r=he(e.nodeName);if(kt("uponSanitizeElement",e,{tagName:r,allowedTags:xe}),e.hasChildNodes()&&!wt(e.firstElementChild)&&(!wt(e.content)||!wt(e.content.firstElementChild))&&C(/<[/\w]/g,e.innerHTML)&&C(/<[/\w]/g,e.textContent))return gt(e),!0;if("select"===r&&C(/');case 1:n.status=2;var o=!0;a=n.chunks;var i=0;n=n.children;for(var s=0;s")),rt(e,r,n),!!e.responseState.generateStaticMarkup||r.push("\x3c!--/$--\x3e");if(0e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),A(r,e.responseState,a.id),rt(e,r,n),r.push("\x3c!--/$--\x3e");if(e.responseState.generateStaticMarkup||r.push("\x3c!--$--\x3e"),1!==(n=a.completedSegments).length)throw Error(t(391));return nt(e,r,n[0]),!!e.responseState.generateStaticMarkup||r.push("\x3c!--/$--\x3e")}function at(e,r,n){return function(e,r,n,a){switch(n.insertionMode){case 0:case 1:return e.push('