dry-suite 1.43.3 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,(()=>(()=>{"use strict";var e={466:()=>{!function(e){function t(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof e.CustomEvent&&(t.prototype=e.Event.prototype,e.CustomEvent=t)}(window)}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};function r(e){return(e.charAt(0)+e.slice(1).replace(/([A-Z])/g,"-$&")).toLowerCase()}n.r(o),n.d(o,{createSetupElement:()=>f,generateCustomElementWrapper:()=>l,makeGenericEffectsDriver:()=>h});var a=1e3;const i=require("rxjs"),c=require("maybe-not");function u(e,t,n,o,r){var a=t.replace(/-([a-z])/gi,(function(e,t){return t.toUpperCase()}));e[a]=o.map((function(e){var t=e.get(a),o=n;return t&&t.reflectAs&&n&&(o=t.reflectAs(n)),t&&t.reflectAs===Boolean&&(o=""===n),r&&(r[a]=o),o})).withDefault(n)}const s=require("rxjs/operators");function l(e,t){var n,o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{useShadowDOM:!0},l=s.useShadowDOM?c.Maybe.just(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=!!window.HTMLTemplateElement;return t=o?function(e){var t=document.createElement("template");return t.innerHTML="<style>".concat(e,'</style><div class="root"></div>'),t.content}(n):function(e){var t=document.createDocumentFragment(),n=document.createElement("style");n.appendChild(document.createTextNode(e));var o=document.createElement("div");return o.className="root",t.appendChild(n),t.appendChild(o),t}(n),function(e){if(e.shadowRoot)return e.shadowRoot.querySelector("div");e.attachShadow?e.attachShadow({mode:"open"}):Object.assign(e,{shadowRoot:e});var r=document.importNode(t,!0);o||(r.querySelector("style").sheet.cssText=n);var a=e.shadowRoot;return a.appendChild(r),a.querySelector("div")}}(e,s.css)):c.Maybe.nothing(),f=Array.isArray(s.props)?c.Maybe.just((n=s.props,{fnHashByName:o=n.reduce((function(e,t){return e.set(t.name,t),e}),new Map),hooks:{init:function(e){e.__innerProps$=new i.BehaviorSubject({})},connectedCallback:function(e){var t,n,r,a,i,s=e.__innerProps$.getValue(),l=Object.assign({},s);e.constructor.observedAttributes.forEach((function(t){null!==e.getAttribute(t)&&u(e,t,e.getAttribute(t),c.Maybe.just(o),l)})),t=s,n=l,r=!0,a=Object.keys(t),i=Object.keys(n),a.length===i.length&&(a.forEach((function(e){n.hasOwnProperty(e)&&t[e]===n[e]||(r=!1)})),r)||e.__innerProps$.next(l)},classSetup:function(e){Object.assign(e,{observedAttributes:n.filter((function(e){return e.reflectAs})).map((function(e){return e.name})).map(r)}),n.forEach((function(t){Object.defineProperty(e.prototype,t.name,{get:function(){return this.__innerProps$.getValue()[t.name]},set:function(n){if(this.__innerProps$.getValue()[t.name]!==n){var o=r(t.name),a=e.observedAttributes.includes(o);a&&(!0===n?this.setAttribute(o,""):n||0===n||""===n?this.setAttribute(o,String(n)):this.removeAttribute(o)),!this.__attached&&a&&!1!==n||(this.__innerProps$.getValue()[t.name]=n,this.__innerProps$.next(this.__innerProps$.getValue()))}}})}))}}})):c.Maybe.nothing(),h=function e(){var n=Reflect.construct(HTMLElement,[],e);return s.prototypeExtensions&&Object.keys(s.prototypeExtensions).forEach((function(e){n[e]||(n[e]=s.prototypeExtensions[e])})),n.__onTeardown=[],n.__onAttached=[],n.__guid=a++,f.map((function(e){return(0,e.hooks.init)(n)})),l.map((function(e){return e(n)})).map((function(e){var o=c.Maybe.maybe(n.__innerProps$).map((function(e){return t(n,e)})).withDefaultFn((function(){return t(n)}));d(n,e,o),n.__shadowAppBooted=!0})),n};return p(h),h.prototype=Object.create(HTMLElement.prototype,{component:{writable:!0,enumerable:!0},constructor:{value:h},connectedCallback:{writable:!0,value:function(){var e=this;this.dataset.guid="".concat(this.__guid),s.useShadowDOM&&this.__shadowAppBooted||(l.map((function(t){return t(e)})).alt(c.Maybe.just(this)).map((function(n){var o=c.Maybe.maybe(e.__innerProps$).map((function(n){return t(e,n)})).withDefaultFn((function(){return t(e)}));d(e,n,o)})),this.__shadowAppBooted=!0),f.map((function(t){(0,t.hooks.connectedCallback)(e)})),this.__attached=!0,this.__onAttached.forEach((function(t){return t.call(e)}))}},disconnectedCallback:{writable:!0,value:function(){var e=this;this.__onTeardown.reverse().forEach((function(t){return t.call(e)})),this.__onTeardown=[],this.__onAttached=[],this.__attached=!1,this.__shadowAppBooted=!1}},attributeChangedCallback:{writable:!0,value:function(e,t,n){t!==n&&this.__attached&&u(this,e,n,f.map((function(e){return e.fnHashByName})))}}}),f.map((function(e){return(0,e.hooks.classSetup)(h)})),h}function f(e){return function(t){return function(n){var o=function(){window.customElements.get(n)||window.customElements.define(n,e(n,t))};window.customElements?o():(0,i.interval)(5).pipe((0,s.filter)((function(){return!!window.customElements})),(0,s.take)(1)).toPromise().then((function(){o()}))}}}function d(e,t,n){var o=document.createElement("div");t.appendChild(o);var r=n.DOM$.subscribe((function(e){t.replaceChild(e,t.firstChild)})),a=n.settled$.subscribe((function(t){e.settled=t,t&&e.dispatchEvent(new CustomEvent("settled"))})),i=n.teardown$.subscribe((function(t){e.__onTeardown.push(t)}));e.__onTeardown.push((function(){[r,a,i].forEach((function(e){return e.unsubscribe()}))}))}function p(e){try{Object.defineProperty(e,"is",{value:name,writable:!1}),Object.defineProperty(e,"localName",{value:name,writable:!1})}catch(e){}}function h(e){return function(t){t.subscribe({next:function(t){t(e)},error:function(){},complete:function(){}})}}return n(466),o})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,(()=>(()=>{"use strict";var e={466:()=>{!function(e){function t(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof e.CustomEvent&&(t.prototype=e.Event.prototype,e.CustomEvent=t)}(window)}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};function r(e){return(e.charAt(0)+e.slice(1).replace(/([A-Z])/g,"-$&")).toLowerCase()}n.r(o),n.d(o,{createSetupElement:()=>f,generateCustomElementWrapper:()=>l,makeGenericEffectsDriver:()=>h});var a=1e3;const i=require("rxjs"),c=require("maybe-not");function u(e,t,n,o,r){var a=t.replace(/-([a-z])/gi,(function(e,t){return t.toUpperCase()}));e[a]=o.map((function(e){var t=e.get(a),o=n;return t&&t.reflectAs&&n&&(o=t.reflectAs(n)),t&&t.reflectAs===Boolean&&(o=""===n),r&&(r[a]=o),o})).withDefault(n)}const s=require("rxjs/operators");function l(e,t){var n,o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{useShadowDOM:!0},l=s.useShadowDOM?c.Maybe.just(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=!!window.HTMLTemplateElement;return t=o?function(e){var t=document.createElement("template");return t.innerHTML="<style>".concat(e,'</style><div class="root"></div>'),t.content}(n):function(e){var t=document.createDocumentFragment(),n=document.createElement("style");n.appendChild(document.createTextNode(e));var o=document.createElement("div");return o.className="root",t.appendChild(n),t.appendChild(o),t}(n),function(e){if(e.shadowRoot)return e.shadowRoot.querySelector("div");e.attachShadow?e.attachShadow({mode:"open"}):Object.assign(e,{shadowRoot:e});var r=document.importNode(t,!0);o||(r.querySelector("style").sheet.cssText=n);var a=e.shadowRoot;return a.appendChild(r),a.querySelector("div")}}(e,s.css)):c.Maybe.nothing(),f=Array.isArray(s.props)?c.Maybe.just((n=s.props,{fnHashByName:o=n.reduce((function(e,t){return e.set(t.name,t),e}),new Map),hooks:{init:function(e){e.__innerProps$=new i.BehaviorSubject({})},connectedCallback:function(e){var t,n,r,a,i,s=e.__innerProps$.getValue(),l=Object.assign({},s);e.constructor.observedAttributes.forEach((function(t){null!==e.getAttribute(t)&&u(e,t,e.getAttribute(t),c.Maybe.just(o),l)})),t=s,n=l,r=!0,a=Object.keys(t),i=Object.keys(n),a.length===i.length&&(a.forEach((function(e){n.hasOwnProperty(e)&&t[e]===n[e]||(r=!1)})),r)||e.__innerProps$.next(l)},classSetup:function(e){Object.assign(e,{observedAttributes:n.filter((function(e){return e.reflectAs})).map((function(e){return e.name})).map(r)}),n.forEach((function(t){Object.defineProperty(e.prototype,t.name,{get:function(){return this.__innerProps$.getValue()[t.name]},set:function(n){if(this.__innerProps$.getValue()[t.name]!==n){var o=r(t.name),a=e.observedAttributes.includes(o);a&&(!0===n?this.setAttribute(o,""):n||0===n||""===n?this.setAttribute(o,String(n)):this.removeAttribute(o)),!this.__attached&&a&&!1!==n||(this.__innerProps$.getValue()[t.name]=n,this.__innerProps$.next(this.__innerProps$.getValue()))}}})}))}}})):c.Maybe.nothing(),h=function(){var e=Reflect.construct(HTMLElement,[],h);return s.prototypeExtensions&&Object.keys(s.prototypeExtensions).forEach((function(t){e[t]||(e[t]=s.prototypeExtensions[t])})),e.__onTeardown=[],e.__onAttached=[],e.__guid=a++,f.map((function(t){return(0,t.hooks.init)(e)})),l.map((function(t){return t(e)})).map((function(n){var o=c.Maybe.maybe(e.__innerProps$).map((function(n){return t(e,n)})).withDefaultFn((function(){return t(e)}));d(e,n,o),e.__shadowAppBooted=!0})),e};return p(h),h.prototype=Object.create(HTMLElement.prototype,{component:{writable:!0,enumerable:!0},constructor:{value:h},connectedCallback:{writable:!0,value:function(){var e=this;this.dataset.guid="".concat(this.__guid),s.useShadowDOM&&this.__shadowAppBooted||(l.map((function(t){return t(e)})).alt(c.Maybe.just(this)).map((function(n){var o=c.Maybe.maybe(e.__innerProps$).map((function(n){return t(e,n)})).withDefaultFn((function(){return t(e)}));d(e,n,o)})),this.__shadowAppBooted=!0),f.map((function(t){(0,t.hooks.connectedCallback)(e)})),this.__attached=!0,this.__onAttached.forEach((function(t){return t.call(e)}))}},disconnectedCallback:{writable:!0,value:function(){var e=this;this.__onTeardown.reverse().forEach((function(t){return t.call(e)})),this.__onTeardown=[],this.__onAttached=[],this.__attached=!1,this.__shadowAppBooted=!1}},attributeChangedCallback:{writable:!0,value:function(e,t,n){t!==n&&this.__attached&&u(this,e,n,f.map((function(e){return e.fnHashByName})))}}}),f.map((function(e){return(0,e.hooks.classSetup)(h)})),h}function f(e){return function(t){return function(n){var o=function(){window.customElements.get(n)||window.customElements.define(n,e(n,t))};window.customElements?o():(0,i.interval)(5).pipe((0,s.filter)((function(){return!!window.customElements})),(0,s.take)(1)).toPromise().then((function(){o()}))}}}function d(e,t,n){var o=document.createElement("div");t.appendChild(o);var r=n.DOM$.subscribe((function(e){t.replaceChild(e,t.firstChild)})),a=n.settled$.subscribe((function(t){e.settled=t,t&&e.dispatchEvent(new CustomEvent("settled"))})),i=n.teardown$.subscribe((function(t){e.__onTeardown.push(t)}));e.__onTeardown.push((function(){[r,a,i].forEach((function(e){return e.unsubscribe()}))}))}function p(e){try{Object.defineProperty(e,"is",{value:name,writable:!1}),Object.defineProperty(e,"localName",{value:name,writable:!1})}catch(e){}}function h(e){return function(t){t.subscribe({next:function(t){t(e)},error:function(){},complete:function(){}})}}return n(466),o})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dry-suite",
3
- "version": "1.43.3",
3
+ "version": "1.44.0",
4
4
  "description": "Web component framework used to deliver Tecton outlet functionality.",
5
5
  "license": "MIT",
6
6
  "author": "Q2 Tecton Team",
@@ -25,5 +25,5 @@
25
25
  "dependencies": {
26
26
  "maybe-not": "~1.3.3"
27
27
  },
28
- "gitHead": "f13fbccb682e9fcb5cdc9272f3f13076a1a163c4"
28
+ "gitHead": "733d8c6c8ce71a388988a2fc85134928f6185ecd"
29
29
  }