@descope/web-components-ui 1.0.222 → 1.0.224

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/cjs/index.cjs.js +1145 -739
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +1264 -752
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/1000.js +1 -1
  6. package/dist/umd/1037.js +2 -0
  7. package/dist/umd/1037.js.LICENSE.txt +5 -0
  8. package/dist/umd/1419.js +360 -0
  9. package/dist/umd/1419.js.LICENSE.txt +23 -0
  10. package/dist/umd/1932.js +310 -0
  11. package/dist/umd/1932.js.LICENSE.txt +5 -0
  12. package/dist/umd/1990.js +3 -3
  13. package/dist/umd/2066.js +2 -0
  14. package/dist/umd/2066.js.LICENSE.txt +5 -0
  15. package/dist/umd/262.js +2 -0
  16. package/dist/umd/262.js.LICENSE.txt +5 -0
  17. package/dist/umd/2873.js +738 -0
  18. package/dist/umd/2873.js.LICENSE.txt +21 -0
  19. package/dist/umd/3003.js +2 -0
  20. package/dist/umd/3003.js.LICENSE.txt +9 -0
  21. package/dist/umd/{9515.js → 3092.js} +88 -88
  22. package/dist/umd/3660.js +17 -0
  23. package/dist/umd/{1883.js.LICENSE.txt → 3660.js.LICENSE.txt} +1 -11
  24. package/dist/umd/422.js +1 -1
  25. package/dist/umd/4222.js +2 -0
  26. package/dist/umd/{1852.js.LICENSE.txt → 4222.js.LICENSE.txt} +0 -30
  27. package/dist/umd/4447.js +2 -1
  28. package/dist/umd/4447.js.LICENSE.txt +5 -0
  29. package/dist/umd/4567.js +1 -0
  30. package/dist/umd/4746.js +123 -0
  31. package/dist/umd/4905.js +2 -0
  32. package/dist/umd/4905.js.LICENSE.txt +5 -0
  33. package/dist/umd/5345.js +94 -0
  34. package/dist/umd/5806.js +1 -1
  35. package/dist/umd/5977.js +289 -0
  36. package/dist/umd/5977.js.LICENSE.txt +17 -0
  37. package/dist/umd/6551.js +1 -0
  38. package/dist/umd/{7101.js → 6770.js} +5 -5
  39. package/dist/umd/6770.js.LICENSE.txt +11 -0
  40. package/dist/umd/7056.js +1 -1
  41. package/dist/umd/{6116.js → 7514.js} +9 -9
  42. package/dist/umd/8725.js +2 -2
  43. package/dist/umd/9189.js +2 -0
  44. package/dist/umd/9189.js.LICENSE.txt +5 -0
  45. package/dist/umd/9211.js +2 -2
  46. package/dist/umd/9437.js +1 -1
  47. package/dist/umd/9629.js +2 -0
  48. package/dist/umd/9629.js.LICENSE.txt +5 -0
  49. package/dist/umd/9671.js +1 -0
  50. package/dist/umd/9680.js +2 -0
  51. package/dist/umd/9680.js.LICENSE.txt +5 -0
  52. package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
  53. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
  54. package/dist/umd/descope-combo-box-index-js.js +1 -1
  55. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -0
  56. package/dist/umd/descope-grid-descope-grid-status-column-index-js.js +1 -0
  57. package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +1 -0
  58. package/dist/umd/descope-grid-index-js.js +1 -0
  59. package/dist/umd/descope-modal-index-js.js +1 -0
  60. package/dist/umd/descope-text-area-index-js.js +1 -1
  61. package/dist/umd/index.js +1 -1
  62. package/package.json +4 -2
  63. package/src/components/descope-grid/GridClass.js +226 -0
  64. package/src/components/descope-grid/descope-grid-selection-column/index.js +68 -0
  65. package/src/components/descope-grid/descope-grid-status-column/index.js +34 -0
  66. package/src/components/descope-grid/descope-grid-text-column/index.js +11 -0
  67. package/src/components/descope-grid/helpers.js +9 -0
  68. package/src/components/descope-grid/index.js +10 -0
  69. package/src/components/descope-modal/ModalClass.js +109 -0
  70. package/src/components/descope-modal/index.js +6 -0
  71. package/src/index.cjs.js +1 -0
  72. package/src/index.js +1 -0
  73. package/src/mixins/createStyleMixin/helpers.js +2 -2
  74. package/src/mixins/createStyleMixin/index.js +2 -2
  75. package/src/mixins/portalMixin.js +24 -4
  76. package/src/theme/components/grid.js +38 -0
  77. package/src/theme/components/index.js +4 -0
  78. package/src/theme/components/modal.js +16 -0
  79. package/dist/umd/1852.js +0 -375
  80. package/dist/umd/1883.js +0 -289
  81. package/dist/umd/4767.js +0 -215
  82. /package/dist/umd/{7101.js.LICENSE.txt → 3092.js.LICENSE.txt} +0 -0
  83. /package/dist/umd/{4767.js.LICENSE.txt → 4746.js.LICENSE.txt} +0 -0
  84. /package/dist/umd/{9515.js.LICENSE.txt → 5345.js.LICENSE.txt} +0 -0
  85. /package/dist/umd/{6116.js.LICENSE.txt → 7514.js.LICENSE.txt} +0 -0
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2016 - 2023 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Copyright (c) 2021 - 2023 Vaadin Ltd.
10
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11
+ */
12
+
13
+ /**
14
+ @license
15
+ Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
16
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
17
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
18
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
19
+ Code distributed by Google as part of the polymer project is also
20
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
21
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 3003.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[3003],{3003:(t,e,s)=>{s.d(e,{d:()=>c});var i=s(7913),l=s(1037),h=s(6139);const r=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u),o=r&&r[1]>=8,a={_ratio:.5,_scrollerPaddingTop:0,_scrollPosition:0,_physicalSize:0,_physicalAverage:0,_physicalAverageCount:0,_physicalTop:0,_virtualCount:0,_estScrollHeight:0,_scrollHeight:0,_viewportHeight:0,_viewportWidth:0,_physicalItems:null,_physicalSizes:null,_firstVisibleIndexVal:null,_lastVisibleIndexVal:null,_maxPages:2,_templateCost:0,get _physicalBottom(){return this._physicalTop+this._physicalSize},get _scrollBottom(){return this._scrollPosition+this._viewportHeight},get _virtualEnd(){return this._virtualStart+this._physicalCount-1},get _hiddenContentSize(){return this._physicalSize-this._viewportHeight},get _maxScrollTop(){return this._estScrollHeight-this._viewportHeight+this._scrollOffset},get _maxVirtualStart(){const t=this._virtualCount;return Math.max(0,t-this._physicalCount)},get _virtualStart(){return this._virtualStartVal||0},set _virtualStart(t){t=this._clamp(t,0,this._maxVirtualStart),this._virtualStartVal=t},get _physicalStart(){return this._physicalStartVal||0},set _physicalStart(t){(t%=this._physicalCount)<0&&(t=this._physicalCount+t),this._physicalStartVal=t},get _physicalEnd(){return(this._physicalStart+this._physicalCount-1)%this._physicalCount},get _physicalCount(){return this._physicalCountVal||0},set _physicalCount(t){this._physicalCountVal=t},get _optPhysicalSize(){return 0===this._viewportHeight?1/0:this._viewportHeight*this._maxPages},get _isVisible(){return Boolean(this.offsetWidth||this.offsetHeight)},get firstVisibleIndex(){let t=this._firstVisibleIndexVal;if(null==t){let e=this._physicalTop+this._scrollOffset;t=this._iterateItems(((t,s)=>{if(e+=this._getPhysicalSizeIncrement(t),e>this._scrollPosition)return s}))||0,this._firstVisibleIndexVal=t}return t},get lastVisibleIndex(){let t=this._lastVisibleIndexVal;if(null==t){let e=this._physicalTop+this._scrollOffset;this._iterateItems(((s,i)=>{e<this._scrollBottom&&(t=i),e+=this._getPhysicalSizeIncrement(s)})),this._lastVisibleIndexVal=t}return t},get _scrollOffset(){return this._scrollerPaddingTop+this.scrollOffset},_scrollHandler(){const t=Math.max(0,Math.min(this._maxScrollTop,this._scrollTop));let e=t-this._scrollPosition;const s=e>=0;if(this._scrollPosition=t,this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,Math.abs(e)>this._physicalSize&&this._physicalSize>0){e-=this._scrollOffset;const t=Math.round(e/this._physicalAverage);this._virtualStart+=t,this._physicalStart+=t,this._physicalTop=Math.min(Math.floor(this._virtualStart)*this._physicalAverage,this._scrollPosition),this._update()}else if(this._physicalCount>0){const t=this._getReusables(s);s?(this._physicalTop=t.physicalTop,this._virtualStart+=t.indexes.length,this._physicalStart+=t.indexes.length):(this._virtualStart-=t.indexes.length,this._physicalStart-=t.indexes.length),this._update(t.indexes,s?null:t.indexes),this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,0),i.YA)}},_getReusables(t){let e,s,i;const l=[],h=this._hiddenContentSize*this._ratio,r=this._virtualStart,o=this._virtualEnd,a=this._physicalCount;let n=this._physicalTop+this._scrollOffset;const _=this._physicalBottom+this._scrollOffset,c=this._scrollPosition,d=this._scrollBottom;for(t?(e=this._physicalStart,s=c-n):(e=this._physicalEnd,s=_-d);i=this._getPhysicalSizeIncrement(e),s-=i,!(l.length>=a||s<=h);)if(t){if(o+l.length+1>=this._virtualCount)break;if(n+i>=c-this._scrollOffset)break;l.push(e),n+=i,e=(e+1)%a}else{if(r-l.length<=0)break;if(n+this._physicalSize-i<=d)break;l.push(e),n-=i,e=0===e?a-1:e-1}return{indexes:l,physicalTop:n-this._scrollOffset}},_update(t,e){if(!(t&&0===t.length||0===this._physicalCount)){if(this._assignModels(t),this._updateMetrics(t),e)for(;e.length;){const t=e.pop();this._physicalTop-=this._getPhysicalSizeIncrement(t)}this._positionItems(),this._updateScrollerSize()}},_isClientFull(){return 0!==this._scrollBottom&&this._physicalBottom-1>=this._scrollBottom&&this._physicalTop<=this._scrollPosition},_increasePoolIfNeeded(t){const e=this._clamp(this._physicalCount+t,3,this._virtualCount-this._virtualStart)-this._physicalCount;let s=Math.round(.5*this._physicalCount);if(!(e<0)){if(e>0){const t=window.performance.now();[].push.apply(this._physicalItems,this._createPool(e));for(let t=0;t<e;t++)this._physicalSizes.push(0);this._physicalCount+=e,this._physicalStart>this._physicalEnd&&this._isIndexRendered(this._focusedVirtualIndex)&&this._getPhysicalIndex(this._focusedVirtualIndex)<this._physicalEnd&&(this._physicalStart+=e),this._update(),this._templateCost=(window.performance.now()-t)/e,s=Math.round(.5*this._physicalCount)}this._virtualEnd>=this._virtualCount-1||0===s||(this._isClientFull()?this._physicalSize<this._optPhysicalSize&&this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,this._clamp(Math.round(50/this._templateCost),1,s)),i.t$):this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,s),i.YA))}},_render(){if(this.isAttached&&this._isVisible)if(0!==this._physicalCount){const t=this._getReusables(!0);this._physicalTop=t.physicalTop,this._virtualStart+=t.indexes.length,this._physicalStart+=t.indexes.length,this._update(t.indexes),this._update(),this._increasePoolIfNeeded(0)}else this._virtualCount>0&&(this.updateViewportBoundaries(),this._increasePoolIfNeeded(3))},_itemsChanged(t){"items"===t.path&&(this._virtualStart=0,this._physicalTop=0,this._virtualCount=this.items?this.items.length:0,this._physicalIndexForKey={},this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._physicalItems||(this._physicalItems=[]),this._physicalSizes||(this._physicalSizes=[]),this._physicalStart=0,this._scrollTop>this._scrollOffset&&this._resetScrollPosition(0),this._debounce("_render",this._render,i.rs))},_iterateItems(t,e){let s,i,l,h;if(2===arguments.length&&e){for(h=0;h<e.length;h++)if(s=e[h],i=this._computeVidx(s),null!=(l=t.call(this,s,i)))return l}else{for(s=this._physicalStart,i=this._virtualStart;s<this._physicalCount;s++,i++)if(null!=(l=t.call(this,s,i)))return l;for(s=0;s<this._physicalStart;s++,i++)if(null!=(l=t.call(this,s,i)))return l}},_computeVidx(t){return t>=this._physicalStart?this._virtualStart+(t-this._physicalStart):this._virtualStart+(this._physicalCount-this._physicalStart)+t},_positionItems(){this._adjustScrollPosition();let t=this._physicalTop;this._iterateItems((e=>{this.translate3d(0,`${t}px`,0,this._physicalItems[e]),t+=this._physicalSizes[e]}))},_getPhysicalSizeIncrement(t){return this._physicalSizes[t]},_adjustScrollPosition(){const t=0===this._virtualStart?this._physicalTop:Math.min(this._scrollPosition+this._physicalTop,0);if(0!==t){this._physicalTop-=t;const e=this._scrollPosition;!o&&e>0&&this._resetScrollPosition(e-t)}},_resetScrollPosition(t){this.scrollTarget&&t>=0&&(this._scrollTop=t,this._scrollPosition=this._scrollTop)},_updateScrollerSize(t){const e=this._physicalBottom+Math.max(this._virtualCount-this._physicalCount-this._virtualStart,0)*this._physicalAverage;this._estScrollHeight=e,(t||0===this._scrollHeight||this._scrollPosition>=e-this._physicalSize||Math.abs(e-this._scrollHeight)>=this._viewportHeight)&&(this.$.items.style.height=`${e}px`,this._scrollHeight=e)},scrollToIndex(t){if("number"!=typeof t||t<0||t>this.items.length-1)return;if((0,h.yl)(),0===this._physicalCount)return;t=this._clamp(t,0,this._virtualCount-1),(!this._isIndexRendered(t)||t>=this._maxVirtualStart)&&(this._virtualStart=t-1),this._assignModels(),this._updateMetrics(),this._physicalTop=this._virtualStart*this._physicalAverage;let e=this._physicalStart,s=this._virtualStart,i=0;const l=this._hiddenContentSize;for(;s<t&&i<=l;)i+=this._getPhysicalSizeIncrement(e),e=(e+1)%this._physicalCount,s+=1;this._updateScrollerSize(!0),this._positionItems(),this._resetScrollPosition(this._physicalTop+this._scrollOffset+i),this._increasePoolIfNeeded(0),this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null},_resetAverage(){this._physicalAverage=0,this._physicalAverageCount=0},_resizeHandler(){this._debounce("_render",(()=>{this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._isVisible?(this.updateViewportBoundaries(),this.toggleScrollListener(!0),this._resetAverage(),this._render()):this.toggleScrollListener(!1)}),i.rs)},_isIndexRendered(t){return t>=this._virtualStart&&t<=this._virtualEnd},_getPhysicalIndex(t){return(this._physicalStart+(t-this._virtualStart))%this._physicalCount},_clamp:(t,e,s)=>Math.min(s,Math.max(e,t)),_debounce(t,e,s){this._debouncers||(this._debouncers={}),this._debouncers[t]=h.dx.debounce(this._debouncers[t],s,e.bind(this)),(0,h.Ex)(this._debouncers[t])}},n=1e3;class _{constructor({createElements:t,updateElement:e,scrollTarget:s,scrollContainer:i,elementsContainer:l,reorderElements:h}){this.isAttached=!0,this._vidxOffset=0,this.createElements=t,this.updateElement=e,this.scrollTarget=s,this.scrollContainer=i,this.elementsContainer=l||i,this.reorderElements=h,this._maxPages=1.3,this.__placeholderHeight=200,this.__elementHeightQueue=Array(10),this.timeouts={SCROLL_REORDER:500,IGNORE_WHEEL:500,FIX_INVALID_ITEM_POSITIONING:100},this.__resizeObserver=new ResizeObserver((()=>this._resizeHandler())),"visible"===getComputedStyle(this.scrollTarget).overflow&&(this.scrollTarget.style.overflow="auto"),"static"===getComputedStyle(this.scrollContainer).position&&(this.scrollContainer.style.position="relative"),this.__resizeObserver.observe(this.scrollTarget),this.scrollTarget.addEventListener("scroll",(()=>this._scrollHandler())),this._scrollLineHeight=this._getScrollLineHeight(),this.scrollTarget.addEventListener("wheel",(t=>this.__onWheel(t))),this.reorderElements&&(this.scrollTarget.addEventListener("mousedown",(()=>{this.__mouseDown=!0})),this.scrollTarget.addEventListener("mouseup",(()=>{this.__mouseDown=!1,this.__pendingReorder&&this.__reorderElements()})))}get scrollOffset(){return 0}get adjustedFirstVisibleIndex(){return this.firstVisibleIndex+this._vidxOffset}get adjustedLastVisibleIndex(){return this.lastVisibleIndex+this._vidxOffset}scrollToIndex(t){if("number"!=typeof t||isNaN(t)||0===this.size||!this.scrollTarget.offsetHeight)return;t=this._clamp(t,0,this.size-1);const e=this.__getVisibleElements().length;let s=Math.floor(t/this.size*this._virtualCount);this._virtualCount-s<e?(s=this._virtualCount-(this.size-t),this._vidxOffset=this.size-this._virtualCount):s<e?t<n?(s=t,this._vidxOffset=0):(s=n,this._vidxOffset=t-s):this._vidxOffset=t-s,this.__skipNextVirtualIndexAdjust=!0,super.scrollToIndex(s),this.adjustedFirstVisibleIndex!==t&&this._scrollTop<this._maxScrollTop&&!this.grid&&(this._scrollTop-=this.__getIndexScrollOffset(t)||0),this._scrollHandler()}flush(){0!==this.scrollTarget.offsetHeight&&(this._resizeHandler(),(0,h.yl)(),this._scrollHandler(),this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.flush(),this.__scrollReorderDebouncer&&this.__scrollReorderDebouncer.flush(),this.__debouncerWheelAnimationFrame&&this.__debouncerWheelAnimationFrame.flush())}update(t=0,e=this.size-1){const s=[];this.__getVisibleElements().forEach((i=>{i.__virtualIndex>=t&&i.__virtualIndex<=e&&(this.__updateElement(i,i.__virtualIndex,!0),s.push(i))})),this.__afterElementsUpdated(s)}_updateMetrics(t){(0,h.yl)();let e=0,s=0;const i=this._physicalAverageCount,l=this._physicalAverage;this._iterateItems(((t,i)=>{s+=this._physicalSizes[t],this._physicalSizes[t]=Math.ceil(this.__getBorderBoxHeight(this._physicalItems[t])),e+=this._physicalSizes[t],this._physicalAverageCount+=this._physicalSizes[t]?1:0}),t),this._physicalSize=this._physicalSize+e-s,this._physicalAverageCount!==i&&(this._physicalAverage=Math.round((l*i+e)/this._physicalAverageCount))}__getBorderBoxHeight(t){const e=getComputedStyle(t),s=parseFloat(e.height)||0;return"border-box"===e.boxSizing?s:s+(parseFloat(e.paddingBottom)||0)+(parseFloat(e.paddingTop)||0)+(parseFloat(e.borderBottomWidth)||0)+(parseFloat(e.borderTopWidth)||0)}__updateElement(t,e,s){t.style.paddingTop&&(t.style.paddingTop=""),this.__preventElementUpdates||t.__lastUpdatedIndex===e&&!s||(this.updateElement(t,e),t.__lastUpdatedIndex=e)}__afterElementsUpdated(t){t.forEach((t=>{const e=t.offsetHeight;if(0===e)t.style.paddingTop=`${this.__placeholderHeight}px`,this.__placeholderClearDebouncer=h.dx.debounce(this.__placeholderClearDebouncer,i.rs,(()=>this._resizeHandler()));else{this.__elementHeightQueue.push(e),this.__elementHeightQueue.shift();const t=this.__elementHeightQueue.filter((t=>void 0!==t));this.__placeholderHeight=Math.round(t.reduce(((t,e)=>t+e),0)/t.length)}}))}__getIndexScrollOffset(t){const e=this.__getVisibleElements().find((e=>e.__virtualIndex===t));return e?this.scrollTarget.getBoundingClientRect().top-e.getBoundingClientRect().top:void 0}get size(){return this.__size}set size(t){t!==this.size&&(this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.cancel(),this._debouncers&&this._debouncers._increasePoolIfNeeded&&this._debouncers._increasePoolIfNeeded.cancel(),this.__size=t,this._physicalItems?(this._updateScrollerSize(),this._virtualCount=this.items.length,this._render()):(this._itemsChanged({path:"items"}),this.__preventElementUpdates=!0,(0,h.yl)(),this.__preventElementUpdates=!1),this._isVisible||this._assignModels(),this.elementsContainer.children.length||requestAnimationFrame((()=>this._resizeHandler())),this._resizeHandler(),(0,h.yl)())}get _scrollTop(){return this.scrollTarget.scrollTop}set _scrollTop(t){this.scrollTarget.scrollTop=t}get items(){return{length:Math.min(this.size,1e5)}}get offsetHeight(){return this.scrollTarget.offsetHeight}get $(){return{items:this.scrollContainer}}updateViewportBoundaries(){const t=window.getComputedStyle(this.scrollTarget);this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(t["padding-top"],10),this._isRTL=Boolean("rtl"===t.direction),this._viewportWidth=this.elementsContainer.offsetWidth,this._viewportHeight=this.scrollTarget.offsetHeight,this._scrollPageHeight=this._viewportHeight-this._scrollLineHeight,this.grid&&this._updateGridMetrics()}setAttribute(){}_createPool(t){const e=this.createElements(t),s=document.createDocumentFragment();return e.forEach((t=>{t.style.position="absolute",s.appendChild(t),this.__resizeObserver.observe(t)})),this.elementsContainer.appendChild(s),e}_assignModels(t){const e=[];this._iterateItems(((t,s)=>{const i=this._physicalItems[t];i.hidden=s>=this.size,i.hidden?delete i.__lastUpdatedIndex:(i.__virtualIndex=s+(this._vidxOffset||0),this.__updateElement(i,i.__virtualIndex),e.push(i))}),t),this.__afterElementsUpdated(e)}_isClientFull(){return setTimeout((()=>{this.__clientFull=!0})),this.__clientFull||super._isClientFull()}translate3d(t,e,s,i){i.style.transform=`translateY(${e})`}toggleScrollListener(){}_scrollHandler(){if(0===this.scrollTarget.offsetHeight)return;this._adjustVirtualIndexOffset(this._scrollTop-(this.__previousScrollTop||0));const t=this.scrollTarget.scrollTop-this._scrollPosition;if(super._scrollHandler(),0!==this._physicalCount){const e=t>=0,s=this._getReusables(!e);s.indexes.length&&(this._physicalTop=s.physicalTop,e?(this._virtualStart-=s.indexes.length,this._physicalStart-=s.indexes.length):(this._virtualStart+=s.indexes.length,this._physicalStart+=s.indexes.length),this._resizeHandler())}t&&(this.__fixInvalidItemPositioningDebouncer=h.dx.debounce(this.__fixInvalidItemPositioningDebouncer,i.Wc.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING),(()=>this.__fixInvalidItemPositioning()))),this.reorderElements&&(this.__scrollReorderDebouncer=h.dx.debounce(this.__scrollReorderDebouncer,i.Wc.after(this.timeouts.SCROLL_REORDER),(()=>this.__reorderElements()))),this.__previousScrollTop=this._scrollTop,0===this._scrollTop&&0!==this.firstVisibleIndex&&Math.abs(t)>0&&this.scrollToIndex(0)}__fixInvalidItemPositioning(){if(!this.scrollTarget.isConnected)return;const t=this._physicalTop>this._scrollTop,e=this._physicalBottom<this._scrollBottom,s=0===this.adjustedFirstVisibleIndex,i=this.adjustedLastVisibleIndex===this.size-1;if(t&&!s||e&&!i){const t=e,s=this._ratio;this._ratio=0,this._scrollPosition=this._scrollTop+(t?-1:1),this._scrollHandler(),this._ratio=s}}__onWheel(t){if(t.ctrlKey||this._hasScrolledAncestor(t.target,t.deltaX,t.deltaY))return;let e=t.deltaY;if(t.deltaMode===WheelEvent.DOM_DELTA_LINE?e*=this._scrollLineHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(e*=this._scrollPageHeight),this._deltaYAcc||(this._deltaYAcc=0),this._wheelAnimationFrame)return this._deltaYAcc+=e,void t.preventDefault();e+=this._deltaYAcc,this._deltaYAcc=0,this._wheelAnimationFrame=!0,this.__debouncerWheelAnimationFrame=h.dx.debounce(this.__debouncerWheelAnimationFrame,i.rs,(()=>{this._wheelAnimationFrame=!1}));const s=Math.abs(t.deltaX)+Math.abs(e);this._canScroll(this.scrollTarget,t.deltaX,e)?(t.preventDefault(),this.scrollTarget.scrollTop+=e,this.scrollTarget.scrollLeft+=t.deltaX,this._hasResidualMomentum=!0,this._ignoreNewWheel=!0,this._debouncerIgnoreNewWheel=h.dx.debounce(this._debouncerIgnoreNewWheel,i.Wc.after(this.timeouts.IGNORE_WHEEL),(()=>{this._ignoreNewWheel=!1}))):this._hasResidualMomentum&&s<=this._previousMomentum||this._ignoreNewWheel?t.preventDefault():s>this._previousMomentum&&(this._hasResidualMomentum=!1),this._previousMomentum=s}_hasScrolledAncestor(t,e,s){return t!==this.scrollTarget&&t!==this.scrollTarget.getRootNode().host&&(!(!this._canScroll(t,e,s)||-1===["auto","scroll"].indexOf(getComputedStyle(t).overflow))||(t!==this&&t.parentElement?this._hasScrolledAncestor(t.parentElement,e,s):void 0))}_canScroll(t,e,s){return s>0&&t.scrollTop<t.scrollHeight-t.offsetHeight||s<0&&t.scrollTop>0||e>0&&t.scrollLeft<t.scrollWidth-t.offsetWidth||e<0&&t.scrollLeft>0}_increasePoolIfNeeded(t){if(this._physicalCount>2&&t){const e=Math.ceil(this._optPhysicalSize/this._physicalAverage)-this._physicalCount;super._increasePoolIfNeeded(Math.max(t,Math.min(100,e)))}else super._increasePoolIfNeeded(t)}_getScrollLineHeight(){const t=document.createElement("div");t.style.fontSize="initial",t.style.display="none",document.body.appendChild(t);const e=window.getComputedStyle(t).fontSize;return document.body.removeChild(t),e?window.parseInt(e):void 0}__getVisibleElements(){return Array.from(this.elementsContainer.children).filter((t=>!t.hidden))}__reorderElements(){if(this.__mouseDown)return void(this.__pendingReorder=!0);this.__pendingReorder=!1;const t=this._virtualStart+(this._vidxOffset||0),e=this.__getVisibleElements(),s=e.find((t=>t.contains(this.elementsContainer.getRootNode().activeElement)||t.contains(this.scrollTarget.getRootNode().activeElement)))||e[0];if(!s)return;const i=s.__virtualIndex-t,h=e.indexOf(s)-i;if(h>0)for(let t=0;t<h;t++)this.elementsContainer.appendChild(e[t]);else if(h<0)for(let t=e.length+h;t<e.length;t++)this.elementsContainer.insertBefore(e[t],e[0]);if(l.G6){const{transform:t}=this.scrollTarget.style;this.scrollTarget.style.transform="translateZ(0)",setTimeout((()=>{this.scrollTarget.style.transform=t}))}}_adjustVirtualIndexOffset(t){if(this._virtualCount>=this.size)this._vidxOffset=0;else if(this.__skipNextVirtualIndexAdjust)this.__skipNextVirtualIndexAdjust=!1;else if(Math.abs(t)>1e4){const t=this._scrollTop/(this.scrollTarget.scrollHeight-this.scrollTarget.offsetHeight),e=t*this.size;this._vidxOffset=Math.round(e-t*this._virtualCount)}else{const t=this._vidxOffset,e=n,s=100;0===this._scrollTop?(this._vidxOffset=0,t!==this._vidxOffset&&super.scrollToIndex(0)):this.firstVisibleIndex<e&&this._vidxOffset>0&&(this._vidxOffset-=Math.min(this._vidxOffset,s),super.scrollToIndex(this.firstVisibleIndex+(t-this._vidxOffset)));const i=this.size-this._virtualCount;this._scrollTop>=this._maxScrollTop&&this._maxScrollTop>0?(this._vidxOffset=i,t!==this._vidxOffset&&super.scrollToIndex(this._virtualCount-1)):this.firstVisibleIndex>this._virtualCount-e&&this._vidxOffset<i&&(this._vidxOffset+=Math.min(i-this._vidxOffset,s),super.scrollToIndex(this.firstVisibleIndex-(this._vidxOffset-t)))}}}Object.setPrototypeOf(_.prototype,a);class c{constructor(t){this.__adapter=new _(t)}get firstVisibleIndex(){return this.__adapter.adjustedFirstVisibleIndex}get lastVisibleIndex(){return this.__adapter.adjustedLastVisibleIndex}get size(){return this.__adapter.size}set size(t){this.__adapter.size=t}scrollToIndex(t){this.__adapter.scrollToIndex(t)}update(t=0,e=this.size-1){this.__adapter.update(t,e)}flush(){this.__adapter.flush()}}}}]);
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
4
+ * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
+ * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
+ * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
+ * Code distributed by Google as part of the polymer project is also
8
+ * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
+ */
@@ -1,5 +1,90 @@
1
- /*! For license information please see 9515.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[9515],{9515:(e,t,o)=>{o(1195),o(1735),o(9098),o(9416),o(9849),o(4173);var r=o(5128);(0,r.hC)("vaadin-checkbox",r.iv`
1
+ /*! For license information please see 3092.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[3092],{3654:(e,t,o)=>{var r=o(4241),a=o(2807),i=o(2521),c=o(4463),s=o(6570),n=o(1224),l=o(1370),d=o(1014),h=o(5229),p=(o(3550),o(6328)),u=o(6326);const b=(0,d.o)((e=>class extends((0,p.A)((0,h.f)((0,u.J)(e)))){static get properties(){return{checked:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0}}}static get delegateProps(){return[...super.delegateProps,"checked"]}_onChange(e){const t=e.target;this._toggleChecked(t.checked)}_toggleChecked(e){this.checked=e}}));var v=o(3208),m=o(6821),k=o(6729);const x=e=>class extends((0,m.h)(b((0,l.B)((0,n.D)(e))))){static get properties(){return{indeterminate:{type:Boolean,notify:!0,value:!1,reflectToAttribute:!0},name:{type:String,value:""},tabindex:{type:Number,value:0,reflectToAttribute:!0}}}static get delegateProps(){return[...super.delegateProps,"indeterminate"]}static get delegateAttrs(){return[...super.delegateAttrs,"name"]}constructor(){super(),this._setType("checkbox"),this.value="on"}ready(){super.ready(),this.addController(new v.b(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new k.v(this.inputElement,this._labelController))}_shouldSetActive(e){return"a"!==e.target.localName&&super._shouldSetActive(e)}_toggleChecked(e){this.indeterminate&&(this.indeterminate=!1),super._toggleChecked(e)}},g=s.iv`
3
+ :host {
4
+ display: inline-block;
5
+ }
6
+
7
+ :host([hidden]) {
8
+ display: none !important;
9
+ }
10
+
11
+ :host([disabled]) {
12
+ -webkit-tap-highlight-color: transparent;
13
+ }
14
+
15
+ .vaadin-checkbox-container {
16
+ display: grid;
17
+ grid-template-columns: auto 1fr;
18
+ align-items: baseline;
19
+ }
20
+
21
+ [part='checkbox'],
22
+ ::slotted(input),
23
+ ::slotted(label) {
24
+ grid-row: 1;
25
+ }
26
+
27
+ [part='checkbox'],
28
+ ::slotted(input) {
29
+ grid-column: 1;
30
+ }
31
+
32
+ [part='checkbox'] {
33
+ width: var(--vaadin-checkbox-size, 1em);
34
+ height: var(--vaadin-checkbox-size, 1em);
35
+ --_input-border-width: var(--vaadin-input-field-border-width, 0);
36
+ --_input-border-color: var(--vaadin-input-field-border-color, transparent);
37
+ box-shadow: inset 0 0 0 var(--_input-border-width, 0) var(--_input-border-color);
38
+ }
39
+
40
+ [part='checkbox']::before {
41
+ display: block;
42
+ content: '\\202F';
43
+ line-height: var(--vaadin-checkbox-size, 1em);
44
+ contain: paint;
45
+ }
46
+
47
+ /* visually hidden */
48
+ ::slotted(input) {
49
+ opacity: 0;
50
+ cursor: inherit;
51
+ margin: 0;
52
+ align-self: stretch;
53
+ -webkit-appearance: none;
54
+ width: initial;
55
+ height: initial;
56
+ }
57
+
58
+ @media (forced-colors: active) {
59
+ [part='checkbox'] {
60
+ outline: 1px solid;
61
+ outline-offset: -1px;
62
+ }
63
+
64
+ :host([disabled]) [part='checkbox'],
65
+ :host([disabled]) [part='checkbox']::after {
66
+ outline-color: GrayText;
67
+ }
68
+
69
+ :host(:is([checked], [indeterminate])) [part='checkbox']::after {
70
+ outline: 1px solid;
71
+ outline-offset: -1px;
72
+ border-radius: inherit;
73
+ }
74
+
75
+ :host([focused]) [part='checkbox'],
76
+ :host([focused]) [part='checkbox']::after {
77
+ outline-width: 2px;
78
+ }
79
+ }
80
+ `;(0,s.hC)("vaadin-checkbox",g,{moduleId:"vaadin-checkbox-styles"});class f extends(x((0,i.S)((0,s.Tb)(r.H3)))){static get is(){return"vaadin-checkbox"}static get template(){return r.dy`
81
+ <div class="vaadin-checkbox-container">
82
+ <div part="checkbox" aria-hidden="true"></div>
83
+ <slot name="input"></slot>
84
+ <slot name="label"></slot>
85
+ </div>
86
+ <slot name="tooltip"></slot>
87
+ `}ready(){super.ready(),this._tooltipController=new c.f(this),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,a.M)(f)},6545:(e,t,o)=>{o(1195),o(1735),o(9098),o(9416),o(9849),o(4173);var r=o(6570);(0,r.hC)("vaadin-checkbox",r.iv`
3
88
  :host {
4
89
  color: var(--lumo-body-text-color);
5
90
  font-size: var(--lumo-font-size-m);
@@ -151,89 +236,4 @@
151
236
  transform: scale(0);
152
237
  opacity: 0.4;
153
238
  }
154
- `,{moduleId:"lumo-checkbox"});var a=o(4241),i=o(2807),c=o(2521),s=o(4463),n=o(1224),l=o(1370),d=o(1014),h=o(5229),p=(o(3550),o(6328)),u=o(6326);const b=(0,d.o)((e=>class extends((0,p.A)((0,h.f)((0,u.J)(e)))){static get properties(){return{checked:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0}}}static get delegateProps(){return[...super.delegateProps,"checked"]}_onChange(e){const t=e.target;this._toggleChecked(t.checked)}_toggleChecked(e){this.checked=e}}));var v=o(3208),m=o(6821),k=o(6729);const x=e=>class extends((0,m.h)(b((0,l.B)((0,n.D)(e))))){static get properties(){return{indeterminate:{type:Boolean,notify:!0,value:!1,reflectToAttribute:!0},name:{type:String,value:""},tabindex:{type:Number,value:0,reflectToAttribute:!0}}}static get delegateProps(){return[...super.delegateProps,"indeterminate"]}static get delegateAttrs(){return[...super.delegateAttrs,"name"]}constructor(){super(),this._setType("checkbox"),this.value="on"}ready(){super.ready(),this.addController(new v.b(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new k.v(this.inputElement,this._labelController))}_shouldSetActive(e){return"a"!==e.target.localName&&super._shouldSetActive(e)}_toggleChecked(e){this.indeterminate&&(this.indeterminate=!1),super._toggleChecked(e)}},g=r.iv`
155
- :host {
156
- display: inline-block;
157
- }
158
-
159
- :host([hidden]) {
160
- display: none !important;
161
- }
162
-
163
- :host([disabled]) {
164
- -webkit-tap-highlight-color: transparent;
165
- }
166
-
167
- .vaadin-checkbox-container {
168
- display: grid;
169
- grid-template-columns: auto 1fr;
170
- align-items: baseline;
171
- }
172
-
173
- [part='checkbox'],
174
- ::slotted(input),
175
- ::slotted(label) {
176
- grid-row: 1;
177
- }
178
-
179
- [part='checkbox'],
180
- ::slotted(input) {
181
- grid-column: 1;
182
- }
183
-
184
- [part='checkbox'] {
185
- width: var(--vaadin-checkbox-size, 1em);
186
- height: var(--vaadin-checkbox-size, 1em);
187
- --_input-border-width: var(--vaadin-input-field-border-width, 0);
188
- --_input-border-color: var(--vaadin-input-field-border-color, transparent);
189
- box-shadow: inset 0 0 0 var(--_input-border-width, 0) var(--_input-border-color);
190
- }
191
-
192
- [part='checkbox']::before {
193
- display: block;
194
- content: '\\202F';
195
- line-height: var(--vaadin-checkbox-size, 1em);
196
- contain: paint;
197
- }
198
-
199
- /* visually hidden */
200
- ::slotted(input) {
201
- opacity: 0;
202
- cursor: inherit;
203
- margin: 0;
204
- align-self: stretch;
205
- -webkit-appearance: none;
206
- width: initial;
207
- height: initial;
208
- }
209
-
210
- @media (forced-colors: active) {
211
- [part='checkbox'] {
212
- outline: 1px solid;
213
- outline-offset: -1px;
214
- }
215
-
216
- :host([disabled]) [part='checkbox'],
217
- :host([disabled]) [part='checkbox']::after {
218
- outline-color: GrayText;
219
- }
220
-
221
- :host(:is([checked], [indeterminate])) [part='checkbox']::after {
222
- outline: 1px solid;
223
- outline-offset: -1px;
224
- border-radius: inherit;
225
- }
226
-
227
- :host([focused]) [part='checkbox'],
228
- :host([focused]) [part='checkbox']::after {
229
- outline-width: 2px;
230
- }
231
- }
232
- `;(0,r.hC)("vaadin-checkbox",g,{moduleId:"vaadin-checkbox-styles"});class f extends(x((0,c.S)((0,r.Tb)(a.H3)))){static get is(){return"vaadin-checkbox"}static get template(){return a.dy`
233
- <div class="vaadin-checkbox-container">
234
- <div part="checkbox" aria-hidden="true"></div>
235
- <slot name="input"></slot>
236
- <slot name="label"></slot>
237
- </div>
238
- <slot name="tooltip"></slot>
239
- `}ready(){super.ready(),this._tooltipController=new s.f(this),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,i.M)(f)}}]);
239
+ `,{moduleId:"lumo-checkbox"}),o(3654)},3092:(e,t,o)=>{o(6545),o(3654)}}]);
@@ -0,0 +1,17 @@
1
+ /*! For license information please see 3660.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[3660],{5229:(t,e,s)=>{s.d(e,{f:()=>i});const i=(0,s(1014).o)((t=>class extends t{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}}))},1360:(t,e,s)=>{s.d(e,{W:()=>d});var i=s(1014),o=s(3550);const d=(0,i.o)((t=>class extends t{get _keyboardActive(){return(0,o.LQ)()}ready(){this.addEventListener("focusin",(t=>{this._shouldSetFocus(t)&&this._setFocused(!0)})),this.addEventListener("focusout",(t=>{this._shouldRemoveFocus(t)&&this._setFocused(!1)})),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(t){this.toggleAttribute("focused",t),this.toggleAttribute("focus-ring",t&&this._keyboardActive)}_shouldSetFocus(t){return!0}_shouldRemoveFocus(t){return!0}}))},2628:(t,e,s)=>{s.d(e,{L:()=>i});const i=(0,s(1014).o)((t=>class extends t{ready(){super.ready(),this.addEventListener("keydown",(t=>{this._onKeyDown(t)})),this.addEventListener("keyup",(t=>{this._onKeyUp(t)}))}_onKeyDown(t){switch(t.key){case"Enter":this._onEnter(t);break;case"Escape":this._onEscape(t)}}_onKeyUp(t){}_onEnter(t){}_onEscape(t){}}))},8298:(t,e,s)=>{s.d(e,{N:()=>o});var i=s(5229);const o=t=>class extends((0,i.f)(t)){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(t,e){super._disabledChanged(t,e),t?(void 0!==this.tabindex&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):e&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(t){this.disabled&&-1!==t&&(this._lastTabIndex=t,this.tabindex=-1)}}},9229:(t,e,s)=>{s.d(e,{n:()=>n});var i=s(3726);class o{constructor(t,e){this.slot=t,this.callback=e,this._storedNodes=[],this._connected=!1,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){this.slot.addEventListener("slotchange",this._boundSchedule),this._connected=!0}disconnect(){this.slot.removeEventListener("slotchange",this._boundSchedule),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,queueMicrotask((()=>{this.flush()})))}flush(){this._connected&&(this._scheduled=!1,this._processNodes())}_processNodes(){const t=this.slot.assignedNodes({flatten:!0});let e=[];const s=[],i=[];t.length&&(e=t.filter((t=>!this._storedNodes.includes(t)))),this._storedNodes.length&&this._storedNodes.forEach(((e,o)=>{const d=t.indexOf(e);-1===d?s.push(e):d!==o&&i.push(e)})),(e.length||s.length||i.length)&&this.callback({addedNodes:e,movedNodes:i,removedNodes:s}),this._storedNodes=t}}var d=s(3971);class n extends EventTarget{static generateId(t,e){return`${e||"default"}-${t.localName}-${(0,d.l)()}`}constructor(t,e,s,i={}){super();const{initializer:o,multiple:d,observe:n,useUniqueId:h}=i;this.host=t,this.slotName=e,this.tagName=s,this.observe="boolean"!=typeof n||n,this.multiple="boolean"==typeof d&&d,this.slotInitializer=o,d&&(this.nodes=[]),h&&(this.defaultId=this.constructor.generateId(t,e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(0===t.length){const t=this.attachDefaultNode();t&&(this.nodes=[t],this.initNode(t))}else this.nodes=t,t.forEach((t=>{this.initAddedNode(t)}))}attachDefaultNode(){const{host:t,slotName:e,tagName:s}=this;let i=this.defaultNode;return!i&&s&&(i=document.createElement(s),i instanceof Element&&(""!==e&&i.setAttribute("slot",e),this.node=i,this.defaultNode=i)),i&&t.appendChild(i),i}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter((e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&""===t))}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=""===t?"slot:not([name])":`slot[name=${t}]`,s=this.host.shadowRoot.querySelector(e);this.__slotObserver=new o(s,(({addedNodes:t,removedNodes:e})=>{const s=this.multiple?this.nodes:[this.node],o=t.filter((t=>!(0,i.eC)(t)&&!s.includes(t)));e.length&&(this.nodes=s.filter((t=>!e.includes(t))),e.forEach((t=>{this.teardownNode(t)}))),o&&o.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...s,...o].filter((t=>t!==this.defaultNode)),o.forEach((t=>{this.initAddedNode(t)}))):(this.node&&this.node.remove(),this.node=o[0],this.initAddedNode(this.node)))}))}}},4463:(t,e,s)=>{s.d(e,{f:()=>o});var i=s(9229);class o extends i.n{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,void 0!==this.ariaTarget&&(t.ariaTarget=this.ariaTarget),void 0!==this.context&&(t.context=this.context),void 0!==this.manual&&(t.manual=this.manual),void 0!==this.opened&&(t.opened=this.opened),void 0!==this.position&&(t._position=this.position),void 0!==this.shouldShow&&(t.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(t){this.ariaTarget=t;const e=this.node;e&&(e.ariaTarget=t)}setContext(t){this.context=t;const e=this.node;e&&(e.context=t)}setManual(t){this.manual=t;const e=this.node;e&&(e.manual=t)}setOpened(t){this.opened=t;const e=this.node;e&&(e.opened=t)}setPosition(t){this.position=t;const e=this.node;e&&(e._position=t)}setShouldShow(t){this.shouldShow=t;const e=this.node;e&&(e.shouldShow=t)}setTarget(t){this.target=t;const e=this.node;e&&(e.target=t)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}},3971:(t,e,s)=>{s.d(e,{l:()=>o});let i=0;function o(){return i++}},9098:(t,e,s)=>{s(4407);var i=s(6570),o=s(2463);const d=i.iv`
3
+ :host {
4
+ --lumo-size-xs: 1.625rem;
5
+ --lumo-size-s: 1.875rem;
6
+ --lumo-size-m: 2.25rem;
7
+ --lumo-size-l: 2.75rem;
8
+ --lumo-size-xl: 3.5rem;
9
+
10
+ /* Icons */
11
+ --lumo-icon-size-s: 1.25em;
12
+ --lumo-icon-size-m: 1.5em;
13
+ --lumo-icon-size-l: 2.25em;
14
+ /* For backwards compatibility */
15
+ --lumo-icon-size: var(--lumo-icon-size-m);
16
+ }
17
+ `;(0,o.K)("sizing-props",d)}}]);
@@ -1,19 +1,9 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2015 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
 
7
- /**
8
- * @license
9
- * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
10
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
11
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
12
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
13
- * Code distributed by Google as part of the polymer project is also
14
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
15
- */
16
-
17
7
  /**
18
8
  * @license
19
9
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
package/dist/umd/422.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 422.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[422],{422:(e,t,a)=>{a.d(t,{j:()=>u});var s=a(3398);const u=e=>class extends((0,s.L)(e)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.value&&e.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),e.value=""),this.value&&(e.value=this.value))}_setFocused(e){super._setFocused(e),!e&&document.hasFocus()&&this.validate()}_onInput(e){super._onInput(e),this.invalid&&this.validate()}_valueChanged(e,t){super._valueChanged(e,t),void 0!==t&&this.invalid&&this.validate()}}}}]);
2
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[422],{422:(e,t,a)=>{a.d(t,{j:()=>u});var s=a(1174);const u=e=>class extends((0,s.L)(e)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.value&&e.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),e.value=""),this.value&&(e.value=this.value))}_setFocused(e){super._setFocused(e),!e&&document.hasFocus()&&this.validate()}_onInput(e){super._onInput(e),this.invalid&&this.validate()}_valueChanged(e,t){super._valueChanged(e,t),void 0!==t&&this.invalid&&this.validate()}}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 4222.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[4222],{7221:(t,e,r)=>{r.d(e,{e:()=>a}),r(7894);var i=r(1014),n=r(2224),s=r(1342);const o=n.YA,a=(0,i.o)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let r in t)r in e||e._createPropertyAccessor(r)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,r){let i=this.__data[t],n=this._shouldPropertyChange(t,e,i);return n&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=i),this.__data[t]=e,this.__dataPending[t]=e),n}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,o.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(t,e,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,r)),this.__dataCounter--}_shouldPropertiesChange(t,e,r){return Boolean(e)}_propertiesChanged(t,e,r){}_shouldPropertyChange(t,e,r){return r!==e&&(r==r||e==e)}attributeChangedCallback(t,e,r,i){e!==r&&this._attributeToProperty(t,r),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,r,i)}_attributeToProperty(t,e,r){if(!this.__serializing){const i=this.__dataAttributes,n=i&&i[t]||t;this[n]=this._deserializeValue(e,r||this.constructor.typeForProperty(n))}}_propertyToAttribute(t,e,r){this.__serializing=!0,r=arguments.length<3?this[t]:r,this._valueToNodeAttribute(this,r,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,r){const i=this._serializeValue(e);"class"!==r&&"name"!==r&&"slot"!==r||(t=(0,s.r)(t)),void 0===i?t.removeAttribute(r):t.setAttribute(r,""===i&&window.trustedTypes?window.trustedTypes.emptyScript:i)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}}))},4933:(t,e,r)=>{r.d(e,{q:()=>at}),r(7894);var i=r(1342),n=r(1014),s=r(1446);const o={},a=/-[a-z]/g,l=/([A-Z])/g;function d(t){return o[t]||(o[t]=t.indexOf("-")<0?t:t.replace(a,(t=>t[1].toUpperCase())))}function c(t){return o[t]||(o[t]=t.replace(l,"-$1").toLowerCase())}var h=r(7221);const p={};let _=HTMLElement.prototype;for(;_;){let t=Object.getOwnPropertyNames(_);for(let e=0;e<t.length;e++)p[t[e]]=!0;_=Object.getPrototypeOf(_)}const u=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1,f=(0,n.o)((t=>{const e=(0,h.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(d(t[e]))}static attributeNameForProperty(t){return c(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){this.hasAttribute(t)||this._valueToNodeAttribute(this,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(u(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let r;switch(e){case Object:try{r=JSON.parse(t)}catch(e){r=t}break;case Array:try{r=JSON.parse(t)}catch(e){r=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:r=isNaN(t)?String(t):Number(t),r=new Date(r);break;default:r=super._deserializeValue(t,e)}return r}_definePropertyAccessor(t,e){!function(t,e){if(!p[e]){let r=t[e];void 0!==r&&(t.__data?t._setPendingProperty(e,r):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=r))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),m={"dom-if":!0,"dom-repeat":!0};let y=!1,P=!1;const g=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,r,i)=>{const n=r.getAttribute(i);t&&i.startsWith("on-")?e.setAttribute(i,t.createScript(n,i)):e.setAttribute(i,n)}})();function b(t){let e=t.getAttribute("is");if(e&&m[e]){let r=t;for(r.removeAttribute("is"),t=r.ownerDocument.createElement(e),r.parentNode.replaceChild(t,r),t.appendChild(r);r.attributes.length;){const{name:e}=r.attributes[0];g(t,r,e),r.removeAttribute(e)}}return t}function w(t,e){let r=e.parentInfo&&w(t,e.parentInfo);if(!r)return t;for(let t=r.firstChild,i=0;t;t=t.nextSibling)if(e.parentIndex===i++)return t}function C(t,e,r,i){i.id&&(e[i.id]=r)}function v(t,e,r){if(r.events&&r.events.length)for(let i,n=0,s=r.events;n<s.length&&(i=s[n]);n++)t._addMethodEventListenerToNode(e,i.name,i.value,t)}function T(t,e,r,i){r.templateInfo&&(e._templateInfo=r.templateInfo,e._parentTemplateInfo=i)}const O=(0,n.o)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let r=t._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=Boolean(e),r.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,r,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,r){return this._parseTemplateNode(t.content,e,r)}static _parseTemplateNode(t,e,r){let i=!1,n=t;return"template"!=n.localName||n.hasAttribute("preserve-content")?"slot"===n.localName&&(e.hasInsertionPoint=!0):i=this._parseTemplateNestedTemplate(n,e,r)||i,function(t){(function(){if(!y){y=!0;const t=document.createElement("textarea");t.placeholder="a",P=t.placeholder===t.textContent}return P})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(n),n.firstChild&&this._parseTemplateChildNodes(n,e,r),n.hasAttributes&&n.hasAttributes()&&(i=this._parseTemplateNodeAttributes(n,e,r)||i),i||r.noted}static _parseTemplateChildNodes(t,e,r){if("script"!==t.localName&&"style"!==t.localName)for(let i,n=t.firstChild,s=0;n;n=i){if("template"==n.localName&&(n=b(n)),i=n.nextSibling,n.nodeType===Node.TEXT_NODE){let r=i;for(;r&&r.nodeType===Node.TEXT_NODE;)n.textContent+=r.textContent,i=r.nextSibling,t.removeChild(r),r=i;if(e.stripWhiteSpace&&!n.textContent.trim()){t.removeChild(n);continue}}let o={parentIndex:s,parentInfo:r};this._parseTemplateNode(n,e,o)&&(o.infoIndex=e.nodeInfoList.push(o)-1),n.parentNode&&s++}}static _parseTemplateNestedTemplate(t,e,r){let i=t,n=this._parseTemplate(i,e);return(n.content=i.content.ownerDocument.createDocumentFragment()).appendChild(i.content),r.templateInfo=n,!0}static _parseTemplateNodeAttributes(t,e,r){let i=!1,n=Array.from(t.attributes);for(let s,o=n.length-1;s=n[o];o--)i=this._parseTemplateNodeAttribute(t,e,r,s.name,s.value)||i;return i}static _parseTemplateNodeAttribute(t,e,r,i,n){return"on-"===i.slice(0,3)?(t.removeAttribute(i),r.events=r.events||[],r.events.push({name:i.slice(3),value:n}),!0):"id"===i&&(r.id=n,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let r=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,i=e.content||t.content,n=document.importNode(i,!0);n.__noInsertionPoint=!e.hasInsertionPoint;let s=n.nodeList=new Array(r.length);n.$={};for(let t,i=0,o=r.length;i<o&&(t=r[i]);i++){let r=s[i]=w(n,t);C(0,n.$,r,t),T(0,r,t,e),v(this,r,t)}return n}_addMethodEventListenerToNode(t,e,r,i){let n=function(t,e,r){return t=t._methodHost||t,function(e){t[r]?t[r](e,e.detail):console.warn("listener method `"+r+"` not defined")}}(i=i||t,0,r);return this._addEventListenerToNode(t,e,n),n}_addEventListenerToNode(t,e,r){t.addEventListener(e,r)}_removeEventListenerFromNode(t,e,r){t.removeEventListener(e,r)}}));var S=r(9387);let A=0;const E=[],N={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},I="__computeInfo",x=/[A-Z]/;function R(t,e,r){let i=t[e];if(i){if(!t.hasOwnProperty(e)&&(i=t[e]=Object.create(t[e]),r))for(let t in i){let e=i[t],r=i[t]=Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t]}}else i=t[e]={};return i}function L(t,e,r,i,n,o){if(e){let a=!1;const l=A++;for(let d in r){let c=e[n?(0,s.Jz)(d):d];if(c)for(let e,s=0,h=c.length;s<h&&(e=c[s]);s++)e.info&&e.info.lastRun===l||n&&!M(d,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,d,r,i,e.info,n,o),a=!0)}return a}return!1}function k(t,e,r,i,n,o,a,l){let d=!1,c=e[a?(0,s.Jz)(i):i];if(c)for(let e,s=0,h=c.length;s<h&&(e=c[s]);s++)e.info&&e.info.lastRun===r||a&&!M(i,e.trigger)||(e.info&&(e.info.lastRun=r),e.fn(t,i,n,o,e.info,a,l),d=!0);return d}function M(t,e){if(e){let r=e.name;return r==t||!(!e.structured||!(0,s.jg)(r,t))||!(!e.wildcard||!(0,s.SG)(r,t))}return!0}function z(t,e,r,i,n){let s="string"==typeof n.method?t[n.method]:n.method,o=n.property;s?s.call(t,t.__data[o],i[o]):n.dynamicFn||console.warn("observer method `"+n.method+"` not defined")}function F(t,e,r){let i=(0,s.Jz)(e);return i!==e&&(D(t,c(i)+"-changed",r[e],e),!0)}function D(t,e,r,n){let s={value:r,queueProperty:!0};n&&(s.path=n),(0,i.r)(t).dispatchEvent(new CustomEvent(e,{detail:s}))}function H(t,e,r,i,n,o){let a=(o?(0,s.Jz)(e):e)!=e?e:null,l=a?(0,s.U2)(t,a):t.__data[e];a&&void 0===l&&(l=r[e]),D(t,n.eventName,l,a)}function U(t,e,r,i,n){let s=t.__data[e];S.v1&&(s=(0,S.v1)(s,n.attrName,"attribute",t)),t._propertyToAttribute(e,n.attrName,s)}const j=(t,e,r)=>{let i=0,n=e.length-1,s=-1;for(;i<=n;){const o=i+n>>1,a=r.get(e[o].methodInfo)-r.get(t.methodInfo);if(a<0)i=o+1;else{if(!(a>0)){s=o;break}n=o-1}}s<0&&(s=n+1),e.splice(s,0,t)},B=(t,e,r,i,n)=>{const o=e[n?(0,s.Jz)(t):t];if(o)for(let e=0;e<o.length;e++){const s=o[e];s.info.lastRun===A||n&&!M(t,s.trigger)||(s.info.lastRun=A,j(s.info,r,i))}};function Y(t,e,r,i,n){let s=Z(t,e,r,0,n);if(s===E)return!1;let o=n.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[o]?t._setPendingProperty(o,s,!0):(t[o]=s,!1)}function J(t,e,r,i,n,s,o){r.bindings=r.bindings||[];let a={kind:i,target:n,parts:s,literal:o,isCompound:1!==s.length};if(r.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||c(n)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let r=0;r<a.parts.length;r++){let i=a.parts[r];i.compoundIndex=r,$(t,e,a,i,l)}}function $(t,e,r,i,n){if(!i.literal)if("attribute"===r.kind&&"-"===r.target[0])console.warn("Cannot set attribute "+r.target+' because "-" is not a valid attribute starting character');else{let s=i.dependencies,o={index:n,binding:r,part:i,evaluator:t};for(let r=0;r<s.length;r++){let i=s[r];"string"==typeof i&&(i=it(i),i.wildcard=!0),t._addTemplatePropertyEffect(e,i.rootProperty,{fn:q,info:o,trigger:i})}}}function q(t,e,r,i,n,o,a){let l=a[n.index],d=n.binding,c=n.part;if(o&&c.source&&e.length>c.source.length&&"property"==d.kind&&!d.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[d.target]){let i=r[e];e=(0,s.Iu)(c.source,d.target,e),l._setPendingPropertyOrPath(e,i,!1,!0)&&t._enqueueClient(l)}else{let s=n.evaluator._evaluateBinding(t,c,e,r,i,o);s!==E&&function(t,e,r,i,n){if(n=function(t,e,r,i){if(r.isCompound){let n=t.__dataCompoundStorage[r.target];n[i.compoundIndex]=e,e=n.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,n,r,i),S.v1&&(n=(0,S.v1)(n,r.target,r.kind,e)),"attribute"==r.kind)t._valueToNodeAttribute(e,n,r.target);else{let i=r.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[i]?e[N.READ_ONLY]&&e[N.READ_ONLY][i]||e._setPendingProperty(i,n)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,i,n)}}(t,l,d,c,s)}}function V(t,e){if(e.isCompound){let r=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),n=e.parts,s=new Array(n.length);for(let t=0;t<n.length;t++)s[t]=n[t].literal;let o=e.target;r[o]=s,e.literal&&"property"==e.kind&&("className"===o&&(t=(0,i.r)(t)),t[o]=e.literal)}}function W(t,e,r){if(r.listenerEvent){let i=r.parts[0];t.addEventListener(r.listenerEvent,(function(t){!function(t,e,r,i,n){let o,a=t.detail,l=a&&a.path;l?(i=(0,s.Iu)(r,i,l),o=a&&a.value):o=t.currentTarget[r],o=n?!o:o,e[N.READ_ONLY]&&e[N.READ_ONLY][i]||!e._setPendingPropertyOrPath(i,o,!0,Boolean(l))||a&&a.queueProperty||e._invalidateProperties()}(t,e,r.target,i.source,i.negate)}))}}function G(t,e,r,i,n,s){s=e.static||s&&("object"!=typeof s||s[e.methodName]);let o={methodName:e.methodName,args:e.args,methodInfo:n,dynamicFn:s};for(let n,s=0;s<e.args.length&&(n=e.args[s]);s++)n.literal||t._addPropertyEffect(n.rootProperty,r,{fn:i,info:o,trigger:n});return s&&t._addPropertyEffect(e.methodName,r,{fn:i,info:o}),o}function Z(t,e,r,i,n){let s=t._methodHost||t,o=s[n.methodName];if(o){let i=t._marshalArgs(n.args,e,r);return i===E?E:o.apply(s,i)}n.dynamicFn||console.warn("method `"+n.methodName+"` not defined")}const X=[],K="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Q="(?:("+K+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",tt=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+K+"\\s*(?:\\(\\s*(?:(?:"+Q+"(?:,\\s*"+Q+")*)?)\\)\\s*)?)(?:]]|}})","g");function et(t){let e="";for(let r=0;r<t.length;r++)e+=t[r].literal||"";return e}function rt(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:X};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let r=it(t);return r.literal||(e.static=!1),r}),this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t):t}return null}function it(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),r={name:e,value:"",literal:!1},i=e[0];switch("-"===i&&(i=e[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':r.value=e.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(e),r.literal=!0}return r.literal||(r.rootProperty=(0,s.Jz)(e),r.structured=(0,s.AZ)(e),r.structured&&(r.wildcard=".*"==e.slice(-2),r.wildcard&&(r.name=e.slice(0,-2)))),r}function nt(t,e,r){let i=(0,s.U2)(t,r);return void 0===i&&(i=e[r]),i}function st(t,e,r,i){const n={indexSplices:i};S.HY&&!t._overrideLegacyUndefined&&(e.splices=n),t.notifyPath(r+".splices",n),t.notifyPath(r+".length",e.length),S.HY&&!t._overrideLegacyUndefined&&(n.indexSplices=[])}function ot(t,e,r,i,n,s){st(t,e,r,[{index:i,addedCount:n,removed:s,object:e,type:"splice"}])}const at=(0,n.o)((t=>{const e=O(f(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return N}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(lt.length){let t=lt[lt.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[N.READ_ONLY];for(let r in t)e&&e[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=t[r])}_addPropertyEffect(t,e,r){this._createPropertyAccessor(t,e==N.READ_ONLY);let i=R(this,e,!0)[t];i||(i=this[e][t]=[]),i.push(r)}_removePropertyEffect(t,e,r){let i=R(this,e,!0)[t],n=i.indexOf(r);n>=0&&i.splice(n,1)}_hasPropertyEffect(t,e){let r=this[e];return Boolean(r&&r[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,N.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,N.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,N.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,N.COMPUTE)}_setPendingPropertyOrPath(t,e,r,i){if(i||(0,s.Jz)(Array.isArray(t)?t[0]:t)!==t){if(!i){let r=(0,s.U2)(this,t);if(!(t=(0,s.t8)(this,t,e))||!super._shouldPropertyChange(t,e,r))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,r))return function(t,e,r){let i=t.__dataLinkedPaths;if(i){let n;for(let o in i){let a=i[o];(0,s.SG)(o,e)?(n=(0,s.Iu)(o,a,e),t._setPendingPropertyOrPath(n,r,!0,!0)):(0,s.SG)(a,e)&&(n=(0,s.Iu)(a,o,e),t._setPendingPropertyOrPath(n,r,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,r);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,r){r===t[e]&&"object"!=typeof r||("className"===e&&(t=(0,i.r)(t)),t[e]=r)}_setPendingProperty(t,e,r){let i=this.__dataHasPaths&&(0,s.AZ)(t),n=i?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,n[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),i?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(i||this[N.NOTIFY]&&this[N.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=r),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let r=t[e];r.__dataEnabled?r.__dataPending&&r._flushProperties():r._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let r in t)!e&&this[N.READ_ONLY]&&this[N.READ_ONLY][r]||this._setPendingPropertyOrPath(r,t[r],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,r){let i,n=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,r,i){let n=t[N.COMPUTE];if(n)if(S.ls){A++;const s=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const r=t[N.COMPUTE];let i,{counts:n,ready:s,total:o}=function(t){const e=t[I],r={},i=t[N.COMPUTE],n=[];let s=0;for(let t in e){const i=e[t];s+=r[t]=i.args.filter((t=>!t.literal)).length+(i.dynamicFn?1:0)}for(let t in i)e[t]||n.push(t);return{counts:r,ready:n,total:s}}(t);for(;i=s.shift();){e.set(i,e.size);const t=r[i];t&&t.forEach((t=>{const e=t.info.methodInfo;--o,0==--n[e]&&s.push(e)}))}if(0!==o){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),o=[];for(let t in e)B(t,n,o,s,i);let a;for(;a=o.shift();)Y(t,"",e,0,a)&&B(a.methodInfo,n,o,s,i);Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let s=e;for(;L(t,n,s,r,i);)Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),s=t.__dataPending,t.__dataPending=null}}(this,e,r,n),i=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,r,n),this._flushClients(),L(this,this[N.REFLECT],e,r,n),L(this,this[N.OBSERVE],e,r,n),i&&function(t,e,r,i,n){let s,o,a=t[N.NOTIFY],l=A++;for(let o in e)e[o]&&(a&&k(t,a,l,o,r,i,n)||n&&F(t,o,r))&&(s=!0);s&&(o=t.__dataHost)&&o._invalidateProperties&&o._invalidateProperties()}(this,i,e,r,n),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,r){this[N.PROPAGATE]&&L(this,this[N.PROPAGATE],t,e,r),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,r)}_runEffectsForTemplate(t,e,r,i){const n=(e,i)=>{L(this,t.propertyEffects,e,r,i,t.nodeList);for(let n=t.firstChild;n;n=n.nextSibling)this._runEffectsForTemplate(n,e,r,i)};t.runEffects?t.runEffects(n,e,i):n(e,i)}linkPaths(t,e){t=(0,s.Fv)(t),e=(0,s.Fv)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,s.Fv)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let r={path:""};st(this,(0,s.U2)(this,t,r),r.path,e)}get(t,e){return(0,s.U2)(e||this,t)}set(t,e,r){r?(0,s.t8)(r,t,e):this[N.READ_ONLY]&&this[N.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let r={path:""},i=(0,s.U2)(this,t,r),n=i.length,o=i.push(...e);return e.length&&ot(this,i,r.path,n,e.length,[]),o}pop(t){let e={path:""},r=(0,s.U2)(this,t,e),i=Boolean(r.length),n=r.pop();return i&&ot(this,r,e.path,r.length,0,[n]),n}splice(t,e,r,...i){let n,o={path:""},a=(0,s.U2)(this,t,o);return e<0?e=a.length-Math.floor(-e):e&&(e=Math.floor(e)),n=2===arguments.length?a.splice(e):a.splice(e,r,...i),(i.length||n.length)&&ot(this,a,o.path,e,i.length,n),n}shift(t){let e={path:""},r=(0,s.U2)(this,t,e),i=Boolean(r.length),n=r.shift();return i&&ot(this,r,e.path,0,0,[n]),n}unshift(t,...e){let r={path:""},i=(0,s.U2)(this,t,r),n=i.unshift(...e);return e.length&&ot(this,i,r.path,0,e.length,[]),n}notifyPath(t,e){let r;if(1==arguments.length){let i={path:""};e=(0,s.U2)(this,t,i),r=i.path}else r=Array.isArray(t)?(0,s.Fv)(t):t;this._setPendingPropertyOrPath(r,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var r;this._addPropertyEffect(t,N.READ_ONLY),e&&(this["_set"+(r=t,r[0].toUpperCase()+r.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,r){let i={property:t,method:e,dynamicFn:Boolean(r)};this._addPropertyEffect(t,N.OBSERVE,{fn:z,info:i,trigger:{name:t}}),r&&this._addPropertyEffect(e,N.OBSERVE,{fn:z,info:i,trigger:{name:e}})}_createMethodObserver(t,e){let r=rt(t);if(!r)throw new Error("Malformed observer expression '"+t+"'");G(this,r,N.OBSERVE,Z,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,N.NOTIFY,{fn:H,info:{eventName:c(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,N.REFLECT,{fn:U,info:{attrName:e}})}_createComputedProperty(t,e,r){let i=rt(e);if(!i)throw new Error("Malformed computed expression '"+e+"'");const n=G(this,i,N.COMPUTE,Y,t,r);R(this,I)[t]=n}_marshalArgs(t,e,r){const i=this.__data,n=[];for(let o=0,a=t.length;o<a;o++){let{name:a,structured:l,wildcard:d,value:c,literal:h}=t[o];if(!h)if(d){const t=(0,s.SG)(a,e),n=nt(i,r,t?e:a);c={path:t?e:a,value:n,base:t?(0,s.U2)(i,a):n}}else c=l?nt(i,r,a):i[a];if(S.HY&&!this._overrideLegacyUndefined&&void 0===c&&t.length>1)return E;n[o]=c}return n}static addPropertyEffect(t,e,r){this.prototype._addPropertyEffect(t,e,r)}static createPropertyObserver(t,e,r){this.prototype._createPropertyObserver(t,e,r)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,r){this.prototype._createComputedProperty(t,e,r)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let r=this.constructor._parseTemplate(t),i=this.__preBoundTemplateInfo==r;if(!i)for(let t in r.propertyEffects)this._createPropertyAccessor(t);if(e)if(r=Object.create(r),r.wasPreBound=i,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,i=e.lastChild;r.parent=e,e.lastChild=r,r.previousSibling=i,i?i.nextSibling=r:e.firstChild=r}else this.__templateInfo=r;else this.__preBoundTemplateInfo=r;return r}static _addTemplatePropertyEffect(t,e,r){(t.hostProps=t.hostProps||{})[e]=!0;let i=t.propertyEffects=t.propertyEffects||{};(i[e]=i[e]||[]).push(r)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),lt.push(this);let r=super._stampTemplate(t,e);if(lt.pop(),e.nodeList=r.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=r.firstChild;e;e=e.nextSibling)t.push(e)}return r.templateInfo=e,function(t,e){let{nodeList:r,nodeInfoList:i}=e;if(i.length)for(let e=0;e<i.length;e++){let n=i[e],s=r[e],o=n.bindings;if(o)for(let e=0;e<o.length;e++){let r=o[e];V(s,r),W(s,t,r)}s.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),r}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:r,nextSibling:n,parent:s}=e;r?r.nextSibling=n:s&&(s.firstChild=n),n?n.previousSibling=r:s&&(s.lastChild=r),e.nextSibling=e.previousSibling=null;let o=e.childNodes;for(let t=0;t<o.length;t++){let e=o[t];(0,i.r)((0,i.r)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,r,i){let n=e._parseTemplateNode.call(this,t,r,i);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,r);e&&(t.textContent=et(e)||" ",J(this,r,i,"text","textContent",e),n=!0)}return n}static _parseTemplateNodeAttribute(t,r,i,n,s){let o=this._parseBindings(s,r);if(o){let e=n,s="property";x.test(n)?s="attribute":"$"==n[n.length-1]&&(n=n.slice(0,-1),s="attribute");let a=et(o);return a&&"attribute"==s&&("class"==n&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(n)),t.setAttribute(n,a)),"attribute"==s&&"disable-upgrade$"==e&&t.setAttribute(n,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===s&&(n=d(n)),J(this,r,i,s,n,o,a),!0}return e._parseTemplateNodeAttribute.call(this,t,r,i,n,s)}static _parseTemplateNestedTemplate(t,r,i){let n=e._parseTemplateNestedTemplate.call(this,t,r,i);const s=t.parentNode,o=i.templateInfo,a="dom-if"===s.localName,l="dom-repeat"===s.localName;S.gx&&(a||l)&&(s.removeChild(t),(i=i.parentInfo).templateInfo=o,i.noted=!0,n=!1);let d=o.hostProps;if(S.ew&&a)d&&(r.hostProps=Object.assign(r.hostProps||{},d),S.gx||(i.parentInfo.noted=!0));else{let t="{";for(let e in d)J(this,r,i,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return n}static _parseBindings(t,e){let r,i=[],n=0;for(;null!==(r=tt.exec(t));){r.index>n&&i.push({literal:t.slice(n,r.index)});let s=r[1][0],o=Boolean(r[2]),a=r[3].trim(),l=!1,d="",c=-1;"{"==s&&(c=a.indexOf("::"))>0&&(d=a.substring(c+2),a=a.substring(0,c),l=!0);let h=rt(a),p=[];if(h){let{args:t,methodName:r}=h;for(let e=0;e<t.length;e++){let r=t[e];r.literal||p.push(r)}let i=e.dynamicFns;(i&&i[r]||h.static)&&(p.push(r),h.dynamicFn=!0)}else p.push(a);i.push({source:a,mode:s,negate:o,customEvent:l,signature:h,dependencies:p,event:d}),n=tt.lastIndex}if(n&&n<t.length){let e=t.substring(n);e&&i.push({literal:e})}return i.length?i:null}static _evaluateBinding(t,e,r,i,n,o){let a;return a=e.signature?Z(t,r,i,0,e.signature):r!=e.source?(0,s.U2)(t,e.source):o&&(0,s.AZ)(r)?(0,s.U2)(t,r):t.__data[r],e.negate&&(a=!a),a}}})),lt=[]},2224:(t,e,r)=>{r.d(e,{Wc:()=>d,YA:()=>c}),r(7894);let i=0,n=0,s=[],o=0,a=!1,l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=s.length;for(let e=0;e<t;e++){let t=s[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}s.splice(0,t),n+=t})).observe(l,{characterData:!0});const d={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},c={run:t=>(a||(a=!0,l.textContent=o++),s.push(t),i++),cancel(t){const e=t-n;if(e>=0){if(!s[e])throw new Error("invalid async handle: "+t);s[e]=null}}}},7894:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},1121:(t,e,r)=>{r.d(e,{d:()=>o}),r(7894);const i=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class n{constructor(t,e){a(t,e);const r=e.reduce(((e,r,i)=>e+s(r)+t[i+1]),t[0]);this.value=r.toString()}toString(){return this.value}}function s(t){if(t instanceof n)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const o=function(t,...e){a(t,e);const r=document.createElement("template");let o=e.reduce(((e,r,i)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof n)return s(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(r)+t[i+1]),t[0]);return i&&(o=i.createHTML(o)),r.innerHTML=o,r},a=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},1014:(t,e,r)=>{r.d(e,{o:()=>s}),r(7894);let i=0;function n(){}n.prototype.__mixinApplications,n.prototype.__mixinSet;const s=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let r=i++;return function(i){let n=i.__mixinSet;if(n&&n[r])return i;let s=e,o=s.get(i);if(!o){o=t(i),s.set(i,o);let e=Object.create(o.__mixinSet||n||null);e[r]=!0,o.__mixinSet=e}return o}}},1446:(t,e,r)=>{function i(t){return t.indexOf(".")>=0}function n(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function s(t,e){return 0===t.indexOf(e+".")}function o(t,e){return 0===e.indexOf(t+".")}function a(t,e,r){return e+r.slice(t.length)}function l(t,e){return t===e||s(t,e)||o(t,e)}function d(t){if(Array.isArray(t)){let e=[];for(let r=0;r<t.length;r++){let i=t[r].toString().split(".");for(let t=0;t<i.length;t++)e.push(i[t])}return e.join(".")}return t}function c(t){return Array.isArray(t)?d(t).split("."):t.toString().split(".")}function h(t,e,r){let i=t,n=c(e);for(let t=0;t<n.length;t++){if(!i)return;i=i[n[t]]}return r&&(r.path=n.join(".")),i}function p(t,e,r){let i=t,n=c(e),s=n[n.length-1];if(n.length>1){for(let t=0;t<n.length-1;t++)if(i=i[n[t]],!i)return;i[s]=r}else i[e]=r;return n.join(".")}r.d(e,{AZ:()=>i,Fv:()=>d,Iu:()=>a,Jz:()=>n,SG:()=>o,U2:()=>h,jg:()=>s,t8:()=>p,wB:()=>l}),r(7894)},9967:(t,e,r)=>{r.d(e,{Kk:()=>a,Rq:()=>l,iY:()=>d}),r(7894);let i,n,s=/(url\()([^)]*)(\))/g,o=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&o.test(t))return t;if("//"===t)return t;if(void 0===i){i=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",i="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),i)try{return new URL(t,e).href}catch(e){return t}return n||(n=document.implementation.createHTMLDocument("temp"),n.base=n.createElement("base"),n.head.appendChild(n.base),n.anchor=n.createElement("a"),n.body.appendChild(n.anchor)),n.base.href=e,n.anchor.href=t,n.anchor.href||t}function l(t,e){return t.replace(s,(function(t,r,i,n){return r+"'"+a(i.replace(/["']/g,""),e)+"'"+n}))}function d(t){return t.substring(0,t.lastIndexOf("/")+1)}},9387:(t,e,r)=>{r.d(e,{FV:()=>s,HY:()=>_,Hr:()=>p,XN:()=>l,ZN:()=>d,a2:()=>h,dJ:()=>g,ew:()=>P,gx:()=>y,ls:()=>u,md:()=>b,my:()=>n,nL:()=>c,sM:()=>o,v1:()=>a,xj:()=>m}),r(7894);var i=r(9967);const n=!window.ShadyDOM||!window.ShadyDOM.inUse,s=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,n&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let o=window.Polymer&&window.Polymer.rootPath||(0,i.iY)(document.baseURI||window.location.href),a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let l=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,d=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,c=window.Polymer&&window.Polymer.legacyOptimizations||!1,h=window.Polymer&&window.Polymer.legacyWarnings||!1,p=window.Polymer&&window.Polymer.syncInitialRender||!1,_=window.Polymer&&window.Polymer.legacyUndefined||!1,u=window.Polymer&&window.Polymer.orderedComputed||!1,f=!0;const m=function(t){f=t};let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1,P=window.Polymer&&window.Polymer.fastDomIf||!1,g=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let b=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},1342:(t,e,r)=>{r.d(e,{r:()=>i});const i=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t},4241:(t,e,r)=>{r.d(e,{H3:()=>E,dy:()=>A.d}),r(7894);var i=r(9387),n=r(1014),s=r(9967);let o={},a={};function l(t,e){o[t]=a[t.toLowerCase()]=e}function d(t){return o[t]||a[t.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let r=d(t);return r&&e?r.querySelector(e):r}return null}attributeChangedCallback(t,e,r,i){e!==r&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,s.Kk)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,s.iY)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(i.XN&&void 0!==d(t))throw l(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,l(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}c.prototype.modules=o,customElements.define("dom-module",c);const h="link[rel=import][type~=css]",p="include",_="shady-unscoped";function u(t){return c.import(t)}function f(t){let e=t.body?t.body:t;const r=(0,s.Rq)(e.textContent,t.baseURI),i=document.createElement("style");return i.textContent=r,i}function m(t){const e=t.trim().split(/\s+/),r=[];for(let t=0;t<e.length;t++)r.push(...y(e[t]));return r}function y(t){const e=u(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...g(e));const r=e.querySelector("template");r&&t.push(...P(r,e.assetpath)),e._styles=t}return e._styles}function P(t,e){if(!t._styles){const r=[],i=t.content.querySelectorAll("style");for(let t=0;t<i.length;t++){let n=i[t],o=n.getAttribute(p);o&&r.push(...m(o).filter((function(t,e,r){return r.indexOf(t)===e}))),e&&(n.textContent=(0,s.Rq)(n.textContent,e)),r.push(n)}t._styles=r}return t._styles}function g(t){const e=[],r=t.querySelectorAll(h);for(let t=0;t<r.length;t++){let i=r[t];if(i.import){const t=i.import,r=i.hasAttribute(_);if(r&&!t._unscopedStyle){const e=f(t);e.setAttribute(_,""),t._unscopedStyle=e}else t._style||(t._style=f(t));e.push(r?t._unscopedStyle:t._style)}}return e}var b=r(4933);const w=[];var C=r(7221);const v=(0,n.o)((t=>{const e=(0,C.e)(t);function r(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof n?e:null}function i(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const r=t.properties;r&&(e=function(t){const e={};for(let r in t){const i=t[r];e[r]="function"==typeof i?{type:i}:i}return e}(r))}t.__ownProperties=e}return t.__ownProperties}class n extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,w.push(t);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}var t;return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=r(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=i(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=r(this);this.__properties=Object.assign({},t&&t._properties,i(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return n}));var T=r(1342);const O=window.ShadyCSS&&window.ShadyCSS.cssBuild,S=(0,n.o)((t=>{const e=v((0,b.q)(t));return class extends e{static get polymerElementVersion(){return"3.5.1"}static _finalizeClass(){e._finalizeClass.call(this);const t=((r=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",r))||(r.__ownObservers=r.hasOwnProperty(JSCompiler_renameProperty("observers",r))?r.observers:null),r.__ownObservers);var r;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):i.nL||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let s in t)e=this.prototype,r=s,n=t,(i=t[s]).computed&&(i.readOnly=!0),i.computed&&(e._hasReadOnlyEffect(r)?console.warn(`Cannot redefine computed property '${r}'.`):e._createComputedProperty(r,i.computed,n)),i.readOnly&&!e._hasReadOnlyEffect(r)?e._createReadOnlyProperty(r,!i.computed):!1===i.readOnly&&e._hasReadOnlyEffect(r)&&console.warn(`Cannot make readOnly property '${r}' non-readOnly.`),i.reflectToAttribute&&!e._hasReflectEffect(r)?e._createReflectedProperty(r):!1===i.reflectToAttribute&&e._hasReflectEffect(r)&&console.warn(`Cannot make reflected property '${r}' non-reflected.`),i.notify&&!e._hasNotifyEffect(r)?e._createNotifyingProperty(r):!1===i.notify&&e._hasNotifyEffect(r)&&console.warn(`Cannot make notify property '${r}' non-notify.`),i.observer&&e._createPropertyObserver(r,i.observer,n[i.observer]),e._addPropertyToAttributeMap(r);var e,r,i,n}static createObservers(t,e){const r=this.prototype;for(let i=0;i<t.length;i++)r._createMethodObserver(t[i],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!i.XN||i.ZN)&&(e=c.import(t,"template"),i.XN&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,s.iY)(t.url);else{const t=c.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=i.sM,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let r in e){let i=e[r];"value"in i&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[r]=i)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let r=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof r.value?r.value.call(this):r.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,s.Rq)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const r=this.importPath;(function(t,e,r,n){if(!O){const i=e.content.querySelectorAll("style"),s=P(e),o=function(t){let e=u(t);return e?g(e):[]}(r),a=e.content.firstElementChild;for(let r=0;r<o.length;r++){let i=o[r];i.textContent=t._processStyleText(i.textContent,n),e.content.insertBefore(i,a)}let l=0;for(let e=0;e<s.length;e++){let r=s[e],o=i[l];o!==r?(r=r.cloneNode(!0),o.parentNode.insertBefore(r,o)):l++,r.textContent=t._processStyleText(r.textContent,n)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,r),i.md&&O&&i.FV){const r=e.content.querySelectorAll("style");if(r){let e="";Array.from(r).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,r?(0,s.Kk)(r):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=(0,T.r)(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),i.Hr&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,s.Kk)(this.importPath)),(0,s.Kk)(t,e)}static _parseTemplateContent(t,r,i){return r.dynamicFns=r.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,r,i)}static _addTemplatePropertyEffect(t,r,n){return!i.a2||r in this._properties||n.info.part.signature&&n.info.part.signature.static||n.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${r}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,r,n)}}}));var A=r(1121);const E=S(HTMLElement)},7913:(t,e,r)=>{r.d(e,{Wc:()=>a,YA:()=>c,rs:()=>l,t$:()=>d});let i=0,n=0;const s=[];let o=!1;const a={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},l={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},d={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},c={run(t){o||(o=!0,queueMicrotask((()=>function(){o=!1;const t=s.length;for(let e=0;e<t;e++){const t=s[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}s.splice(0,t),n+=t}()))),s.push(t);const e=i;return i+=1,e},cancel(t){const e=t-n;if(e>=0){if(!s[e])throw new Error(`invalid async handle: ${t}`);s[e]=null}}}},6139:(t,e,r)=>{r.d(e,{Ex:()=>s,dx:()=>n,yl:()=>a});const i=new Set;class n{static debounce(t,e,r){return t instanceof n?t._cancelAsync():t=new n,t.setConfig(e,r),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,i.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),i.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}}function s(t){i.add(t)}function o(){const t=Boolean(i.size);return i.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t}const a=()=>{let t;do{t=o()}while(t)}},2807:(t,e,r)=>{function i(t){const e=customElements.get(t.is);if(e){const r=e.version;r&&t.version&&r===t.version?console.warn(`The component ${t.is} has been loaded twice`):console.error(`Tried to define ${t.is} version ${t.version} when version ${e.version} is already in use. Something will probably break.`)}else customElements.define(t.is,t)}r.d(e,{M:()=>i})},1914:(t,e,r)=>{r.d(e,{U:()=>o});const i=[];function n(t,e,r=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=r&&t.removeAttribute("dir")}function s(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=s();i.forEach((e=>{n(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const o=t=>class extends t{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:t=>t||"",toAttribute:t=>""===t?null:t}}}}get __isRTL(){return"rtl"===this.getAttribute("dir")}connectedCallback(){super.connectedCallback(),this.hasAttribute("dir")&&!this.__restoreSubscription||(this.__subscribe(),n(this,s(),null))}attributeChangedCallback(t,e,r){if(super.attributeChangedCallback(t,e,r),"dir"!==t)return;const o=s(),a=r===o&&-1===i.indexOf(this),l=!r&&e&&-1===i.indexOf(this),d=r!==o&&e===o;a||l?(this.__subscribe(),n(this,o,r)):d&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=i.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,r){("dir"!==r||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,r)}_attributeToProperty(t,e,r){"dir"!==t||e?super._attributeToProperty(t,e,r):this.dir=""}__subscribe(){i.includes(this)||i.push(this)}__unsubscribe(){i.includes(this)&&i.splice(i.indexOf(this),1)}}}}]);
@@ -10,12 +10,6 @@
10
10
  * rights grant found at http://polymer.github.io/PATENTS.txt
11
11
  */
12
12
 
13
- /**
14
- * @license
15
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
16
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
17
- */
18
-
19
13
  /**
20
14
  * @license
21
15
  * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -32,30 +26,6 @@
32
26
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33
27
  */
34
28
 
35
- /**
36
- * @license
37
- * Copyright (c) 2022 - 2023 Vaadin Ltd.
38
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
39
- */
40
-
41
- /**
42
- * @license
43
- * Copyright (c) 2023 Vaadin Ltd.
44
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
45
- */
46
-
47
- /**
48
- * @license
49
- * Copyright 2017 Google LLC
50
- * SPDX-License-Identifier: BSD-3-Clause
51
- */
52
-
53
- /**
54
- * @license
55
- * Copyright 2019 Google LLC
56
- * SPDX-License-Identifier: BSD-3-Clause
57
- */
58
-
59
29
  /**
60
30
  @license
61
31
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
package/dist/umd/4447.js CHANGED
@@ -1 +1,2 @@
1
- "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[4447],{4447:(e,r,t)=>{t.d(r,{Z:()=>s});const{host:o,label:p,placeholder:l,requiredIndicator:i,inputField:n,input:u,helperText:d,errorMessage:a}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},placeholder:{selector:"> input:placeholder-shown"},inputField:{selector:"::part(input-field)"},input:{selector:"input"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},s={fontSize:[{},o],fontFamily:[p,n,d,a],hostWidth:{...o,property:"width"},hostMinWidth:{...o,property:"min-width"},inputBackgroundColor:{...n,property:"background-color"},labelTextColor:[{...p,property:"color"},{...i,property:"color"}],errorMessageTextColor:{...a,property:"color"},inputValueTextColor:{...n,property:"color"},inputCaretTextColor:{...u,property:"color"},labelRequiredIndicator:{...i,property:"content"},inputBorderColor:{...n,property:"border-color"},inputBorderWidth:{...n,property:"border-width"},inputBorderStyle:{...n,property:"border-style"},inputBorderRadius:{...n,property:"border-radius"},inputHeight:{...n,property:"height"},inputHorizontalPadding:[{...u,property:"padding-left"},{...u,property:"padding-right"}],inputOutlineColor:{...n,property:"outline-color"},inputOutlineStyle:{...n,property:"outline-style"},inputOutlineWidth:{...n,property:"outline-width"},inputOutlineOffset:{...n,property:"outline-offset"},inputTextAlign:{...u,property:"text-align"},inputPlaceholderColor:{...l,property:"color"}}}}]);
1
+ /*! For license information please see 4447.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[4447],{4089:(e,t,r)=>{r.d(t,{C:()=>c});var n=r(4241),l=r(7913),o=r(6139),d=r(2807),i=r(1914),a=r(4905),s=r(262),_=r(4346);const h=e=>class extends e{static get properties(){return{resizable:{type:Boolean,value(){if("vaadin-grid-column-group"===this.localName)return;const e=this.parentNode;return e&&"vaadin-grid-column-group"===e.localName&&e.resizable||!1}},frozen:{type:Boolean,value:!1},frozenToEnd:{type:Boolean,value:!1},rowHeader:{type:Boolean,value:!1},hidden:{type:Boolean,value:!1},header:{type:String},textAlign:{type:String},_lastFrozen:{type:Boolean,value:!1},_bodyContentHidden:{type:Boolean,value:!1},_firstFrozenToEnd:{type:Boolean,value:!1},_order:Number,_reorderStatus:Boolean,_emptyCells:Array,_headerCell:Object,_footerCell:Object,_grid:Object,__initialized:{type:Boolean,value:!0},headerRenderer:Function,_headerRenderer:{type:Function,computed:"_computeHeaderRenderer(headerRenderer, header, __initialized)"},footerRenderer:Function,_footerRenderer:{type:Function,computed:"_computeFooterRenderer(footerRenderer, __initialized)"},__gridColumnElement:{type:Boolean,value:!0}}}static get observers(){return["_widthChanged(width, _headerCell, _footerCell, _cells.*)","_frozenChanged(frozen, _headerCell, _footerCell, _cells.*)","_frozenToEndChanged(frozenToEnd, _headerCell, _footerCell, _cells.*)","_flexGrowChanged(flexGrow, _headerCell, _footerCell, _cells.*)","_textAlignChanged(textAlign, _cells.*, _headerCell, _footerCell)","_orderChanged(_order, _headerCell, _footerCell, _cells.*)","_lastFrozenChanged(_lastFrozen)","_firstFrozenToEndChanged(_firstFrozenToEnd)","_onRendererOrBindingChanged(_renderer, _cells, _bodyContentHidden, _cells.*, path)","_onHeaderRendererOrBindingChanged(_headerRenderer, _headerCell, path, header)","_onFooterRendererOrBindingChanged(_footerRenderer, _footerCell)","_resizableChanged(resizable, _headerCell)","_reorderStatusChanged(_reorderStatus, _headerCell, _footerCell, _cells.*)","_hiddenChanged(hidden, _headerCell, _footerCell, _cells.*)","_rowHeaderChanged(rowHeader, _cells.*)"]}get _grid(){return this._gridValue||(this._gridValue=this._findHostGrid()),this._gridValue}get _allCells(){return[].concat(this._cells||[]).concat(this._emptyCells||[]).concat(this._headerCell).concat(this._footerCell).filter((e=>e))}connectedCallback(){super.connectedCallback(),requestAnimationFrame((()=>{this._grid&&this._allCells.forEach((e=>{e._content.parentNode||this._grid.appendChild(e._content)}))}))}disconnectedCallback(){super.disconnectedCallback(),requestAnimationFrame((()=>{this._grid||this._allCells.forEach((e=>{e._content.parentNode&&e._content.parentNode.removeChild(e._content)}))})),this._gridValue=void 0}ready(){super.ready(),(0,s.k)(this)}_findHostGrid(){let e=this;for(;e&&!/^vaadin.*grid(-pro)?$/u.test(e.localName);)e=e.assignedSlot?e.assignedSlot.parentNode:e.parentNode;return e||void 0}_renderHeaderAndFooter(){this._renderHeaderCellContent(this._headerRenderer,this._headerCell),this._renderFooterCellContent(this._footerRenderer,this._footerCell)}_flexGrowChanged(e){this.parentElement&&this.parentElement._columnPropChanged&&this.parentElement._columnPropChanged("flexGrow"),this._allCells.forEach((t=>{t.style.flexGrow=e}))}_orderChanged(e){this._allCells.forEach((t=>{t.style.order=e}))}_widthChanged(e){this.parentElement&&this.parentElement._columnPropChanged&&this.parentElement._columnPropChanged("width"),this._allCells.forEach((t=>{t.style.width=e}))}_frozenChanged(e){this.parentElement&&this.parentElement._columnPropChanged&&this.parentElement._columnPropChanged("frozen",e),this._allCells.forEach((t=>{(0,_.FQ)(t,"frozen",e)})),this._grid&&this._grid._frozenCellsChanged&&this._grid._frozenCellsChanged()}_frozenToEndChanged(e){this.parentElement&&this.parentElement._columnPropChanged&&this.parentElement._columnPropChanged("frozenToEnd",e),this._allCells.forEach((t=>{this._grid&&t.parentElement===this._grid.$.sizer||(0,_.FQ)(t,"frozen-to-end",e)})),this._grid&&this._grid._frozenCellsChanged&&this._grid._frozenCellsChanged()}_lastFrozenChanged(e){this._allCells.forEach((t=>{(0,_.FQ)(t,"last-frozen",e)})),this.parentElement&&this.parentElement._columnPropChanged&&(this.parentElement._lastFrozen=e)}_firstFrozenToEndChanged(e){this._allCells.forEach((t=>{this._grid&&t.parentElement===this._grid.$.sizer||(0,_.FQ)(t,"first-frozen-to-end",e)})),this.parentElement&&this.parentElement._columnPropChanged&&(this.parentElement._firstFrozenToEnd=e)}_rowHeaderChanged(e,t){t.value&&t.value.forEach((t=>{t.setAttribute("role",e?"rowheader":"gridcell")}))}_generateHeader(e){return e.substr(e.lastIndexOf(".")+1).replace(/([A-Z])/gu,"-$1").toLowerCase().replace(/-/gu," ").replace(/^./u,(e=>e.toUpperCase()))}_reorderStatusChanged(e){const t=this.__previousReorderStatus,r=t?`reorder-${t}-cell`:"",n=`reorder-${e}-cell`;this._allCells.forEach((t=>{(0,_.FQ)(t,"reorder-status",e,n,r)})),this.__previousReorderStatus=e}_resizableChanged(e,t){void 0!==e&&void 0!==t&&t&&[t].concat(this._emptyCells).forEach((t=>{if(t){const r=t.querySelector('[part~="resize-handle"]');if(r&&t.removeChild(r),e){const e=document.createElement("div");e.setAttribute("part","resize-handle"),t.appendChild(e)}}}))}_textAlignChanged(e){if(void 0===e||void 0===this._grid)return;if(-1===["start","end","center"].indexOf(e))return void console.warn('textAlign can only be set as "start", "end" or "center"');let t;"ltr"===getComputedStyle(this._grid).direction?"start"===e?t="left":"end"===e&&(t="right"):"start"===e?t="right":"end"===e&&(t="left"),this._allCells.forEach((r=>{r._content.style.textAlign=e,getComputedStyle(r._content).textAlign!==e&&(r._content.style.textAlign=t)}))}_hiddenChanged(e){this.parentElement&&this.parentElement._columnPropChanged&&this.parentElement._columnPropChanged("hidden",e),!!e!=!!this._previousHidden&&this._grid&&(!0===e&&this._allCells.forEach((e=>{e._content.parentNode&&e._content.parentNode.removeChild(e._content)})),this._grid._debouncerHiddenChanged=o.dx.debounce(this._grid._debouncerHiddenChanged,l.rs,(()=>{this._grid&&this._grid._renderColumnTree&&this._grid._renderColumnTree(this._grid._columnTree)})),this._grid._debounceUpdateFrozenColumn&&this._grid._debounceUpdateFrozenColumn(),this._grid._resetKeyboardNavigation&&this._grid._resetKeyboardNavigation()),this._previousHidden=e}_runRenderer(e,t,r){const n=[t._content,this];r&&r.item&&n.push(r),e.apply(this,n)}__renderCellsContent(e,t){!this.hidden&&this._grid&&t.forEach((t=>{if(!t.parentElement)return;const r=this._grid.__getRowModel(t.parentElement);e&&(t._renderer!==e&&this._clearCellContent(t),t._renderer=e,(r.item||e===this._headerRenderer||e===this._footerRenderer)&&this._runRenderer(e,t,r))}))}_clearCellContent(e){e._content.innerHTML="",delete e._content._$litPart$}_renderHeaderCellContent(e,t){t&&e&&(this.__renderCellsContent(e,[t]),this._grid&&t.parentElement&&this._grid.__debounceUpdateHeaderFooterRowVisibility(t.parentElement))}_onHeaderRendererOrBindingChanged(e,t,...r){this._renderHeaderCellContent(e,t)}_renderBodyCellsContent(e,t){t&&e&&this.__renderCellsContent(e,t)}_onRendererOrBindingChanged(e,t,...r){this._renderBodyCellsContent(e,t)}_renderFooterCellContent(e,t){t&&e&&(this.__renderCellsContent(e,[t]),this._grid&&t.parentElement&&this._grid.__debounceUpdateHeaderFooterRowVisibility(t.parentElement))}_onFooterRendererOrBindingChanged(e,t){this._renderFooterCellContent(e,t)}__setTextContent(e,t){e.textContent!==t&&(e.textContent=t)}__textHeaderRenderer(){this.__setTextContent(this._headerCell._content,this.header)}_defaultHeaderRenderer(){this.path&&this.__setTextContent(this._headerCell._content,this._generateHeader(this.path))}_defaultRenderer(e,t,{item:r}){this.path&&this.__setTextContent(e,(0,a.U)(this.path,r))}_defaultFooterRenderer(){}_computeHeaderRenderer(e,t){return e||(null!=t?this.__textHeaderRenderer:this._defaultHeaderRenderer)}_computeRenderer(e){return e||this._defaultRenderer}_computeFooterRenderer(e){return e||this._defaultFooterRenderer}};class c extends(h((0,i.U)(n.H3))){static get is(){return"vaadin-grid-column"}static get properties(){return{width:{type:String,value:"100px"},flexGrow:{type:Number,value:1},renderer:Function,_renderer:{type:Function,computed:"_computeRenderer(renderer, __initialized)"},path:{type:String},autoWidth:{type:Boolean,value:!1},_focusButtonMode:{type:Boolean,value:!1},_cells:Array}}}(0,d.M)(c)},4346:(e,t,r)=>{r.d(t,{CL:()=>d,FQ:()=>C,Fy:()=>l,UN:()=>h,c0:()=>_,cO:()=>c,kp:()=>i,lJ:()=>s,pj:()=>o,xq:()=>a});var n=r(3726);function l(e){return e.__cells||Array.from(e.querySelectorAll('[part~="cell"]:not([part~="details-cell"])'))}function o(e,t){[...e.children].forEach(t)}function d(e,t){l(e).forEach(t),e.__detailsCell&&t(e.__detailsCell)}function i(e,t,r){let n=1;e.forEach((e=>{n%10==0&&(n+=1),e._order=r+n*t,n+=1}))}function a(e,t,r){switch(typeof r){case"boolean":e.toggleAttribute(t,r);break;case"string":e.setAttribute(t,r);break;default:e.removeAttribute(t)}}function s(e,t,r){t||""===t?(0,n.$2)(e,"part",r):(0,n.x_)(e,"part",r)}function _(e,t,r){e.forEach((e=>{s(e,r,t)}))}function h(e,t){const r=l(e);Object.entries(t).forEach((([t,n])=>{a(e,t,n);const l=`${t}-row`;s(e,n,l),_(r,`${l}-cell`,n)}))}function c(e,t){const r=l(e);Object.entries(t).forEach((([t,n])=>{const l=e.getAttribute(t);if(a(e,t,n),l){const n=`${t}-${l}-row`;s(e,!1,n),_(r,`${n}-cell`,!1)}if(n){const l=`${t}-${n}-row`;s(e,n,l),_(r,`${l}-cell`,n)}}))}function C(e,t,r,n,l){a(e,t,r),l&&s(e,!1,l),s(e,r,n||`${t}-cell`)}}}]);
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2016 - 2023 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[4567],{5279:(e,t,r)=>{r.d(t,{gh:()=>s,k4:()=>i,qM:()=>n,qg:()=>c});const s="descope",i=3,c="host",n="@"},4567:(e,t,r)=>{r.d(t,{Db:()=>b,FX:()=>c,P$:()=>n,Tk:()=>d,iY:()=>u,oP:()=>l,tg:()=>o});var s=r(2061),i=r(5279);const c=(e,t,{excludeAttrs:r=[],includeAttrs:s=[]})=>{const i=Array.from(e.attributes).filter((e=>!r.includes(e.name)&&(!s.length||s.includes(e.name)))).map((e=>e.name));t(i),new MutationObserver((e=>{e.forEach((e=>{"attributes"!==e.type||r.includes(e.attributeName)||s.length&&!s.includes(e.attributeName)||t([e.attributeName])}))})).observe(e,{attributes:!0})},n=(e,t)=>{t({addedNodes:Array.from(e.children),removedNodes:[]}),new MutationObserver((e=>{e.forEach((e=>{"childList"===e.type&&t(e)}))})).observe(e,{childList:!0})},a=(e,t,r={})=>s=>{s.forEach((s=>{const i=r[s]||s,c=e.getAttribute(s);null!==c?t.getAttribute(i)!==c&&t.setAttribute(i,c):t.removeAttribute(i)}))},o=(e,t,r)=>{c(e,a(e,t),r),c(t,a(t,e),r)},u=e=>(0,s.E3)(i.gh,e),d=(...e)=>`--${(0,s.E3)(...e)}`,l=(e,t,r={})=>{c(e,a(e,t,r.mapAttrs),r)},b=(e,t,r=[])=>{if(!r.length)return;const s=r.reduce(((t,r)=>Object.assign(t,{[r]:{get:()=>e[r],set(t){e[r]=t}}})),{});Object.defineProperties(t,s)}},2061:(e,t,r)=>{r.d(t,{E3:()=>i,GL:()=>s,mf:()=>n,qC:()=>c});const s=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),i=(...e)=>s(e.filter((e=>!!e)).join("-")),c=(...e)=>t=>e.reduceRight(((e,t)=>t(e)),t),n=e=>"function"==typeof e}}]);