q2-tecton-elements 1.5.3 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/cjs/q2-btn.cjs.entry.js +1 -1
  2. package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
  3. package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
  4. package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
  5. package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
  6. package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
  7. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  8. package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
  9. package/dist/cjs/q2-input_2.cjs.entry.js +3 -3
  10. package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  12. package/dist/cjs/q2-radio.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
  14. package/dist/collection/components/q2-btn/styles.css +7 -7
  15. package/dist/collection/components/q2-calendar/styles.css +3 -3
  16. package/dist/collection/components/q2-carousel/styles.css +2 -2
  17. package/dist/collection/components/q2-carousel-pane/styles.css +1 -1
  18. package/dist/collection/components/q2-checkbox/styles.css +5 -5
  19. package/dist/collection/components/q2-checkbox-group/styles.css +1 -1
  20. package/dist/collection/components/q2-dropdown/index.js +3 -3
  21. package/dist/collection/components/q2-dropdown-item/styles.css +2 -2
  22. package/dist/collection/components/q2-input/formatting/phone.js +1 -1
  23. package/dist/collection/components/q2-input/styles.css +13 -13
  24. package/dist/collection/components/q2-message/styles.css +1 -1
  25. package/dist/collection/components/q2-optgroup/styles.css +1 -1
  26. package/dist/collection/components/q2-option/styles.css +1 -1
  27. package/dist/collection/components/q2-radio/styles.css +3 -3
  28. package/dist/collection/components/q2-tab-container/styles.css +1 -1
  29. package/dist/esm/q2-btn.entry.js +1 -1
  30. package/dist/esm/q2-calendar.entry.js +1 -1
  31. package/dist/esm/q2-carousel-pane.entry.js +1 -1
  32. package/dist/esm/q2-carousel.entry.js +1 -1
  33. package/dist/esm/q2-checkbox-group.entry.js +1 -1
  34. package/dist/esm/q2-checkbox.entry.js +1 -1
  35. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  36. package/dist/esm/q2-dropdown.entry.js +3 -3
  37. package/dist/esm/q2-input_2.entry.js +3 -3
  38. package/dist/esm/q2-optgroup.entry.js +1 -1
  39. package/dist/esm/q2-option.entry.js +1 -1
  40. package/dist/esm/q2-radio.entry.js +1 -1
  41. package/dist/esm/q2-tab-container.entry.js +1 -1
  42. package/dist/esm-es5/q2-btn.entry.js +1 -1
  43. package/dist/esm-es5/q2-calendar.entry.js +1 -1
  44. package/dist/esm-es5/q2-carousel-pane.entry.js +1 -1
  45. package/dist/esm-es5/q2-carousel.entry.js +1 -1
  46. package/dist/esm-es5/q2-checkbox-group.entry.js +1 -1
  47. package/dist/esm-es5/q2-checkbox.entry.js +1 -1
  48. package/dist/esm-es5/q2-dropdown-item.entry.js +1 -1
  49. package/dist/esm-es5/q2-dropdown.entry.js +3 -3
  50. package/dist/esm-es5/q2-input_2.entry.js +3 -3
  51. package/dist/esm-es5/q2-optgroup.entry.js +1 -1
  52. package/dist/esm-es5/q2-option.entry.js +1 -1
  53. package/dist/esm-es5/q2-radio.entry.js +1 -1
  54. package/dist/esm-es5/q2-tab-container.entry.js +1 -1
  55. package/dist/q2-tecton-elements/{p-441decb7.entry.js → p-135f4804.entry.js} +1 -1
  56. package/dist/q2-tecton-elements/{p-84e239ae.entry.js → p-2588a203.entry.js} +1 -1
  57. package/dist/q2-tecton-elements/p-468eac5b.entry.js +1 -0
  58. package/dist/q2-tecton-elements/{p-cb8d4e07.system.entry.js → p-49b41bc3.system.entry.js} +1 -1
  59. package/dist/q2-tecton-elements/p-4b938147.entry.js +1 -0
  60. package/dist/q2-tecton-elements/p-550d5373.system.entry.js +1 -0
  61. package/dist/q2-tecton-elements/p-5a12123a.system.entry.js +1 -0
  62. package/dist/q2-tecton-elements/p-617fc40a.system.entry.js +1 -0
  63. package/dist/q2-tecton-elements/{p-43a05b9f.entry.js → p-640d54e2.entry.js} +1 -1
  64. package/dist/q2-tecton-elements/p-64a8d69f.system.entry.js +1 -0
  65. package/dist/q2-tecton-elements/{p-7624ed0d.entry.js → p-7bf0790c.entry.js} +1 -1
  66. package/dist/q2-tecton-elements/{p-fefca9c1.system.entry.js → p-7c49e5c9.system.entry.js} +1 -1
  67. package/dist/q2-tecton-elements/p-80262c20.system.entry.js +1 -0
  68. package/dist/q2-tecton-elements/{p-dc4b38dc.entry.js → p-84b6dc77.entry.js} +1 -1
  69. package/dist/q2-tecton-elements/{p-65d32cb9.entry.js → p-85a53b6b.entry.js} +1 -1
  70. package/dist/q2-tecton-elements/p-8896cf51.system.entry.js +1 -0
  71. package/dist/q2-tecton-elements/{p-55ff8885.system.entry.js → p-88c5f1da.system.entry.js} +1 -1
  72. package/dist/q2-tecton-elements/{p-0898c601.entry.js → p-8b502a4f.entry.js} +1 -1
  73. package/dist/q2-tecton-elements/{p-560cadce.system.entry.js → p-93945d57.system.entry.js} +1 -1
  74. package/dist/q2-tecton-elements/p-94a26b0f.system.js +1 -1
  75. package/dist/q2-tecton-elements/{p-d30f657f.entry.js → p-a06f247c.entry.js} +1 -1
  76. package/dist/q2-tecton-elements/p-c3cd3986.system.entry.js +1 -0
  77. package/dist/q2-tecton-elements/p-dada189b.system.entry.js +1 -0
  78. package/dist/q2-tecton-elements/p-f32de913.entry.js +1 -0
  79. package/dist/q2-tecton-elements/p-f581de2f.entry.js +1 -0
  80. package/dist/q2-tecton-elements/p-fc196ca4.system.entry.js +1 -0
  81. package/dist/q2-tecton-elements/p-fc1cb83d.entry.js +1 -0
  82. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  83. package/dist/types/components/q2-dropdown/index.d.ts +1 -1
  84. package/dist/types/global.d.ts +2 -2
  85. package/dist/types/util.d.ts +4 -4
  86. package/dist/types/workspace/workspace/{_tecton-production_release_1.5.x → _tecton-production_release_1.6.x}/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +0 -0
  87. package/package.json +2 -2
  88. package/dist/q2-tecton-elements/p-1118a9a2.entry.js +0 -1
  89. package/dist/q2-tecton-elements/p-2b775411.entry.js +0 -1
  90. package/dist/q2-tecton-elements/p-3788add3.system.entry.js +0 -1
  91. package/dist/q2-tecton-elements/p-63ec6e3d.system.entry.js +0 -1
  92. package/dist/q2-tecton-elements/p-6c2249f2.entry.js +0 -1
  93. package/dist/q2-tecton-elements/p-7e5a1320.system.entry.js +0 -1
  94. package/dist/q2-tecton-elements/p-8fa28d27.system.entry.js +0 -1
  95. package/dist/q2-tecton-elements/p-9644093a.system.entry.js +0 -1
  96. package/dist/q2-tecton-elements/p-9d45cb48.system.entry.js +0 -1
  97. package/dist/q2-tecton-elements/p-9d82b5a4.entry.js +0 -1
  98. package/dist/q2-tecton-elements/p-a0865160.system.entry.js +0 -1
  99. package/dist/q2-tecton-elements/p-aa243b6a.system.entry.js +0 -1
  100. package/dist/q2-tecton-elements/p-ba96d37c.entry.js +0 -1
  101. package/dist/q2-tecton-elements/p-cf340d13.system.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as o,g as c}from"./p-b5ebb4cb.js";import{c as r}from"./p-1d4bf5ef.js";const a=class{constructor(o){e(this,o),this.change=t(this,"change",7),this.checked=!1,this.id="checkbox-"+r(),this.onInputChange=e=>{e.stopPropagation(),this.change.emit({value:e.target.value,checked:e.target.checked})}}loc(e,t){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(e,t):e}get computedAriaLabel(){return!this.label&&this.ariaLabel&&this.loc(this.ariaLabel)||void 0}defaultChangeHandler(e){e.target===this.hostElement&&!this.hostElement.onchange&&e.detail&&(this.checked=e.detail.checked)}render(){return o("div",{class:"checkbox-container"},o("input",{id:this.id,type:"checkbox",checked:this.indeterminate||this.checked||!1,disabled:!!this.disabled||!!this.groupDisabled,class:"sr",value:this.value,name:this.name||this.id,"aria-label":this.computedAriaLabel,onChange:this.onInputChange,"test-id":"q2CheckboxInnerCheckBox"}),o("label",{htmlFor:this.id,"test-id":"checkboxButton"},this.generateCheckboxSVG(),o("div",{class:"q2-checkbox-label-content"},this.label&&this.loc(this.label)||"",o("slot",null))))}generateCheckboxSVG(){return"favorite"===this.type?o("q2-icon",{type:"star",class:"checkbox-icon"}):"toggle"===this.type?this.generateToggleSVG():o("svg",{"aria-hidden":"true",width:"20",height:"20",viewBox:"0 0 20 20",class:"checkbox-icon",focusable:"false"},o("rect",{fill:"none",x:"1",y:"1",width:"18",height:"18",rx:"3"}),(this.checked||this.indeterminate)&&this.generateCheckBoxSVGFill())}generateCheckBoxSVGFill(){return this.indeterminate?o("line",{class:"checkbox-fill indeterminate-fill",x1:"4",y1:"10",x2:"16",y2:"10"}):o("polyline",{class:"checkbox-fill checked-fill",points:"5 11 8.5 14.5 15 6"})}generateToggleSVG(){return o("div",{class:"toggle-svg"},o("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 46 14",class:"toggle-track"},o("rect",{width:"36",height:"14",rx:"7",x:"5"})),o("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 30 30",class:"toggle-indicator"},o("circle",{class:"toggle-circle",width:"20",height:"20",cx:"15",cy:"15",r:"10"}),o("line",{class:"off checked-fill",x1:"12",y1:"18",x2:"18",y2:"12"}),o("line",{class:"off checked-fill",x1:"12",y1:"12",x2:"18",y2:"18"}),o("polyline",{class:"on checked-fill",points:"11,16 14,19 18,12 14,19"})))}get hostElement(){return c(this)}};a.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block;padding:var(--tct-checkbox-vertical-padding, var(--tct-scale-2, var(--app-scale-2, 10px))) 0}label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;--q2-checkbox-outer-stroke-color:var(\n --tct-checkbox-outer-stroke-color,\n var(--tct-gray-l1, var(--app-gray-l1, #cccccc))\n );--q2-checkbox-outer-fill-color:var(\n --tct-checkbox-outer-fill-color,\n var(--tct-white, var(--app-white, #ffffff))\n );--q2-checkbox-favorite-fill:var(\n --tct-checkbox-favorite-fill-color,\n var(--tct-stoplight-warning, var(--const-stoplight-warning, #f0b400))\n );--q2-checkbox-checked-color:var(\n --tct-checkbox-check-stroke-color,\n var(--t-checkbox-fill, var(--tct-gray-d2, var(--app-gray-d2, #404040)))\n )}input:disabled+label{opacity:var(\n --tct-checkbox-disabled-opacity,\n var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))\n )}.checkbox-icon{height:var(--tct-checkbox-size, 20px);width:var(--tct-checkbox-size, 20px);border-radius:var(\n --tct-checkbox-outer-border-radius,\n var(--tct-border-radius-1, var(--app-border-radius-1, 3px))\n );stroke:var(--q2-checkbox-outer-stroke-color);color:var(--q2-checkbox-outer-stroke-color);--t-icon-stroke-primary:var(--q2-checkbox-outer-stroke-color);stroke-width:var(--tct-checkbox-outer-stroke-width, 2);fill:var(--q2-checkbox-outer-fill-color);-ms-flex-negative:0;flex-shrink:0}input:focus+label .checkbox-icon{-webkit-box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff));box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff))}.checkbox-fill{stroke:var(--q2-checkbox-checked-color)}input:checked+label .checkbox-icon{fill:var(--tct-checkbox-checked-outer-fill-color, var(--q2-checkbox-outer-fill-color));stroke:var(--tct-checkbox-checked-outer-stroke-color, var(--q2-checkbox-outer-stroke-color))}input:focus+label .checkbox-icon{stroke:var(--tct-checkbox-focused-outer-stroke-color, var(--q2-checkbox-checked-color))}.checked-fill{stroke-width:var(--tct-checkbox-check-stroke-width, 2.5);stroke-linecap:round;stroke-linejoin:round}.indeterminate-fill{stroke-width:var(--tct-checkbox-indeterminate-stroke-width, 3.5)}.q2-checkbox-label-content{font-weight:var(--tct-checkbox-font-weight, 400);-ms-flex:1 1 auto;flex:1 1 auto;width:calc(\n 100% - var(--tct-checkbox-size, 20px) - var(--tct-scale-2, var(--app-scale-2, 10px))\n )}input:checked+label .q2-checkbox-label-content{font-weight:var(--tct-checkbox-selected-font-weight, 600);letter-spacing:var(--tct-checkbox-selected-letter-spacing, 0.25)}:host([type='favorite']) .checkbox-icon{--tct-icon-stroke-width:var(--tct-checkbox-favorite-stroke-width, 2.5);width:var(--tct-checkbox-size, 20px);height:var(--tct-checkbox-size, 20px);-webkit-transition:fill var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n stroke var(--tct-tween-2, var(--app-tween-2, 0.4s ease));transition:fill var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n stroke var(--tct-tween-2, var(--app-tween-2, 0.4s ease))}:host([type='favorite']) input:focus+label .checkbox-icon{color:var(--q2-checkbox-favorite-fill);--tct-icon-stroke-primary:var(--q2-checkbox-favorite-fill)}:host([type='favorite']) input:checked+label .checkbox-icon{color:var(--q2-checkbox-favorite-fill);--t-icon-stroke-primary:var(--q2-checkbox-favorite-fill);--tct-icon-stroke-primary:var(--q2-checkbox-favorite-fill);fill:var(--q2-checkbox-favorite-fill);--tct-icon-stroke-width:1;-webkit-transition:fill var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n color var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n stroke var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:fill var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n color var(--tct-tween-1, var(--app-tween-1, 0.2s ease)),\n stroke var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([alignment='right']) label,:host([type='toggle']:not([alignment='left'])) label{-ms-flex-flow:row-reverse;flex-flow:row-reverse}.checkbox-icon,:host([type='toggle'][alignment='left']) .toggle-svg{margin-right:var(--tct-scale-2, var(--app-scale-2, 10px));margin-left:0}:host([alignment='right']) .checkbox-icon,.toggle-svg{margin-right:0;margin-left:var(--tct-scale-2, var(--app-scale-2, 10px))}:host([type='toggle']) .toggle-svg{height:30px;width:46px;position:relative}:host([type='toggle']) .toggle-track,:host([type='toggle']) .toggle-indicator{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}:host([type='toggle']) .toggle-track{fill:var(--tct-checkbox-toggle-track-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));height:14px;width:46px}:host([type='toggle']) input:checked+label .toggle-track{fill:var(--tct-checkbox-toggle-checked-color, var(--q2-checkbox-checked-color));opacity:0.5}:host([type='toggle']) .toggle-indicator{-webkit-transition:left var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:left var(--tct-tween-1, var(--app-tween-1, 0.2s ease));height:30px;width:30px;left:0;border-radius:50%}:host([type='toggle']) input:checked+label .toggle-indicator{left:21px}:host([type='toggle']) .toggle-circle{fill:var(--tct-checkbox-toggle-circle-color, var(--tct-gray, var(--app-gray, #999999)))}:host([type='toggle']) input:checked+label .toggle-circle{fill:var(--tct-checkbox-toggle-checked-color, var(--q2-checkbox-checked-color))}:host([type='toggle']) input:checked+label .off,:host([type='toggle']) input:not(:checked)+label .on{opacity:0}:host([type='toggle']) input:focus+label .toggle-circle{stroke:var(--tct-checkbox-toggle-checked-color, var(--q2-checkbox-checked-color));stroke-width:10px;stroke-opacity:0.5}:host([type='toggle']) input:not(:checked):focus+label .toggle-circle{stroke:var(--tct-checkbox-toggle-circle-color, var(--tct-gray, var(--app-gray, #999999)))}:host([type='toggle']) .checked-fill{stroke:var(--tct-checkbox-toggle-icon-stroke, var(--tct-white, var(--app-white, #ffffff)));-webkit-transition:opacity var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:opacity var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([type='toggle']) input:checked+label .checked-fill{stroke:var(--tct-checkbox-toggle-checked-icon-stroke, var(--t-checkbox-text, var(--tct-white, var(--app-white, #ffffff))))}";export{a as q2_checkbox}
@@ -1 +0,0 @@
1
- System.register(["./p-2b69fdec.system.js","./p-4576db15.system.js"],(function(e){"use strict";var t,o,n,r;return{setters:[function(e){t=e.r;o=e.h;n=e.g},function(e){r=e.c}],execute:function(){var i="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block}.q2-optgroup-header{background-color:var(\n --tct-optgroup-header-bg,\n var(--tct-gray-l2, var(--app-gray-l2, #e6e6ee))\n );padding:var(--tct-scale-1, var(--app-scale-1, 5px))\n var(--tct-scale-2, var(--app-scale-2, 10px));font-weight:var(--tct-optgroup-header-font-weight, 600);text-transform:var(--tct-optgroup-header-text-transform, uppercase);}";var s=e("q2_optgroup",function(){function e(e){var o=this;t(this,e);this.disabled=false;this.hidden=false;this.guid=r();this.setHidden=function(){o.hidden=o.options.every((function(e){return e.hidden||e._multiSelectHidden}))}}e.prototype.componentWillLoad=function(){var e=new MutationObserver(this.setHidden);e.observe(this.hostElement,{childList:true,attributes:true,subtree:true});this.mutationObserver=e;this.setHidden();this.disabledWatcher(this.disabled)};e.prototype.disconnectedCallback=function(){this.mutationObserver.disconnect();this.mutationObserver=null};Object.defineProperty(e.prototype,"headerId",{get:function(){return"q2-optgroup-header-"+this.guid},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"options",{get:function(){return Array.from(this.hostElement.querySelectorAll("q2-option"))},enumerable:false,configurable:true});e.prototype.loc=function(e,t){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(e,t):e};e.prototype.disabledWatcher=function(e){this.options.forEach((function(t){t.disabledGroup=!!e}))};e.prototype.render=function(){return o("div",{class:"q2-optgroup-container",hidden:this.hidden,"aria-labelledby":this.headerId,role:"group"},o("div",{class:"q2-optgroup-header",id:this.headerId},this.label&&this.loc(this.label)||""),o("div",{class:"q2-optgroup-options"},o("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["disabledWatcher"]}},enumerable:false,configurable:true});return e}());s.style=i}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-2b69fdec.system.js","./p-4576db15.system.js"],(function(t){"use strict";var e,r,o,a,n;return{setters:[function(t){e=t.r;r=t.c;o=t.h;a=t.g},function(t){n=t.c}],execute:function(){function i(t,e,r){return r={path:e,exports:{},require:function(t,e){return l()}},t(r,r.exports),r.exports}function l(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var s=i((function(t,e){(function(){function e(){var t=window;var e=document;if("scrollBehavior"in e.documentElement.style&&t.__forceSmoothScrollPolyfill__!==true){return}var r=t.HTMLElement||t.Element;var o=468;var a={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView};var n=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now;function i(t){var e=["MSIE ","Trident/","Edge/"];return new RegExp(e.join("|")).test(t)}var l=i(t.navigator.userAgent)?1:0;function s(t,e){this.scrollLeft=t;this.scrollTop=e}function c(t){return.5*(1-Math.cos(Math.PI*t))}function f(t){if(t===null||typeof t!=="object"||t.behavior===undefined||t.behavior==="auto"||t.behavior==="instant"){return true}if(typeof t==="object"&&t.behavior==="smooth"){return false}throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function u(t,e){if(e==="Y"){return t.clientHeight+l<t.scrollHeight}if(e==="X"){return t.clientWidth+l<t.scrollWidth}}function d(e,r){var o=t.getComputedStyle(e,null)["overflow"+r];return o==="auto"||o==="scroll"}function h(t){var e=u(t,"Y")&&d(t,"Y");var r=u(t,"X")&&d(t,"X");return e||r}function p(t){while(t!==e.body&&h(t)===false){t=t.parentNode||t.host}return t}function b(e){var r=n();var a;var i;var l;var s=(r-e.startTime)/o;s=s>1?1:s;a=c(s);i=e.startX+(e.x-e.startX)*a;l=e.startY+(e.y-e.startY)*a;e.method.call(e.scrollable,i,l);if(i!==e.x||l!==e.y){t.requestAnimationFrame(b.bind(t,e))}}function v(r,o,i){var l;var c;var f;var u;var d=n();if(r===e.body){l=t;c=t.scrollX||t.pageXOffset;f=t.scrollY||t.pageYOffset;u=a.scroll}else{l=r;c=r.scrollLeft;f=r.scrollTop;u=s}b({scrollable:l,method:u,startTime:d,startX:c,startY:f,x:o,y:i})}t.scroll=t.scrollTo=function(){if(arguments[0]===undefined){return}if(f(arguments[0])===true){a.scroll.call(t,arguments[0].left!==undefined?arguments[0].left:typeof arguments[0]!=="object"?arguments[0]:t.scrollX||t.pageXOffset,arguments[0].top!==undefined?arguments[0].top:arguments[1]!==undefined?arguments[1]:t.scrollY||t.pageYOffset);return}v.call(t,e.body,arguments[0].left!==undefined?~~arguments[0].left:t.scrollX||t.pageXOffset,arguments[0].top!==undefined?~~arguments[0].top:t.scrollY||t.pageYOffset)};t.scrollBy=function(){if(arguments[0]===undefined){return}if(f(arguments[0])){a.scrollBy.call(t,arguments[0].left!==undefined?arguments[0].left:typeof arguments[0]!=="object"?arguments[0]:0,arguments[0].top!==undefined?arguments[0].top:arguments[1]!==undefined?arguments[1]:0);return}v.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset))};r.prototype.scroll=r.prototype.scrollTo=function(){if(arguments[0]===undefined){return}if(f(arguments[0])===true){if(typeof arguments[0]==="number"&&arguments[1]===undefined){throw new SyntaxError("Value could not be converted")}a.elementScroll.call(this,arguments[0].left!==undefined?~~arguments[0].left:typeof arguments[0]!=="object"?~~arguments[0]:this.scrollLeft,arguments[0].top!==undefined?~~arguments[0].top:arguments[1]!==undefined?~~arguments[1]:this.scrollTop);return}var t=arguments[0].left;var e=arguments[0].top;v.call(this,this,typeof t==="undefined"?this.scrollLeft:~~t,typeof e==="undefined"?this.scrollTop:~~e)};r.prototype.scrollBy=function(){if(arguments[0]===undefined){return}if(f(arguments[0])===true){a.elementScroll.call(this,arguments[0].left!==undefined?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,arguments[0].top!==undefined?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})};r.prototype.scrollIntoView=function(){if(f(arguments[0])===true){a.scrollIntoView.call(this,arguments[0]===undefined?true:arguments[0]);return}var r=p(this);var o=r.getBoundingClientRect();var n=this.getBoundingClientRect();if(r!==e.body){v.call(this,r,r.scrollLeft+n.left-o.left,r.scrollTop+n.top-o.top);if(t.getComputedStyle(r).position!=="fixed"){t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}}else{t.scrollBy({left:n.left,top:n.top,behavior:"smooth"})}}}{t.exports={polyfill:e}}})()}));var c="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.tab-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.tab-list{padding:0;display:-ms-flexbox;display:flex;margin:0;list-style:none;border-bottom:1px solid\n var(--tct-tab-container-border-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));white-space:nowrap;overflow-x:hidden;-ms-flex-align:center;align-items:center}.tab-list li.nav{position:absolute;height:44px;width:46px}.tab-list li.nav-left{left:-15px;background:-webkit-gradient(linear, left top, right top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(rgba(255,255,255,0)));background:linear-gradient(to right, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, rgba(255,255,255,0))}.tab-list li.nav-right{right:-15px;background:-webkit-gradient(linear, right top, left top, color-stop(60%, var(--tct-section-bg, var(--t-section-bg, #ffffff))), to(rgba(255,255,255,0)));background:linear-gradient(to left, var(--tct-section-bg, var(--t-section-bg, #ffffff)) 60%, rgba(255,255,255,0))}.tab-list li.nav .arrow-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:inherit;width:inherit;cursor:pointer}.tab-list li.nav .arrow-container a{padding:0;margin:0;height:inherit;width:inherit;border-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.tab-list li.nav .arrow-container a q2-icon{width:19px;height:19px}.tab-list a{width:var(--tct-tab-hover-width, var(--t-tab-hover-width, 100%));text-align:center;text-decoration:none;padding:var(--tct-scale-2, var(--app-scale-2, 10px));margin:var(--tct-scale-1, var(--app-scale-1, 5px)) var(--tct-scale-1, var(--app-scale-1, 5px))\n 0;color:var(--tct-tab-inactive-color, var(--t-tab-inactive, inherit));font-size:var(--tct-tab-font-size, var(--t-tab-font-size, 17px));border-bottom:3px solid transparent;display:block;-webkit-transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),\n border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease))}:host([type='section']) .tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}@media screen and (max-width: 767px){.tab-list a{font-size:inherit;padding:var(--tct-scale-2, var(--app-scale-2, 10px))\n var(--tct-scale-1, var(--app-scale-1, 5px))}}.tab-list a:hover{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));background-color:var(--tct-tab-hover-bg-color, var(--t-tab-hover-bg-color, inherit));width:var(--tct-tab-hover-width, var(--t-tab-hover-width, 100%))}.tab-list a[aria-selected='true']{color:var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));border-color:currentColor;width:var(--tct-tab-active-width, var(--t-tab-active-width, 100%));background-color:var(--tct-tab-active-bg-color, var(--t-tab-active-bg-color, inherit))}:host([color='alt']) .tab-list a{color:var(--tct-tab-alt-inactive-color, var(--t-tab-alt-inactive, inherit))}:host([color='alt']) .tab-list a:hover,:host([color='alt']) .tab-list a[aria-selected='true']{color:var(--tct-tab-alt-active-color, var(--t-tab-alt-active, inherit))}.tab-content{padding:var(--tct-scale-2, var(--app-scale-2, 10px)) 0}";var f=navigator.userAgent.toLowerCase();var u=f.includes("safari")&&!f.includes("chrome");var d=f.includes("firefox");if(u){s.polyfill();window["__forceSmoothScrollPolyfill__"]=true}var h=t("q2_tab_container",function(){function t(t){var o=this;e(this,t);this.change=r(this,"change",7);this.settled=r(this,"settled",7);this.guid=n();this.scheduledAfterRender=[];this.lastScrolled=new Date(null).getTime();this.hasLeft=false;this.hasRight=false;this.updateTabData=function(){o.updateTabPaneProps();o.setTabs()};this.updateTabPaneProps=function(){o.tabPanes.forEach((function(t,e){t.selected=t.value===o.selectedTabValue;t.guid=o.guid;t.index=e}))};this.setTabs=function(){o.tabs=o.tabPanes.map((function(t){var e=t.label,r=t.value;return{label:e&&o.loc(e)||"",value:r}}))};this.onTabClick=function(t){o.change.emit({value:t.target.dataset.value})};this.onTabKeyDown=function(t){var e=t.target.dataset.value;if(t.key==="ArrowRight"||t.key==="Right"){o.moveToAdjacentTab(e,"next");return}if(t.key==="ArrowLeft"||t.key==="Left"){o.moveToAdjacentTab(e,"prev");return}if(t.code==="Space"||t.code==="Enter"){t.preventDefault();o.change.emit({value:e});return}};this.moveToAdjacentTab=function(t,e){var r=o.tabs.map((function(t){var e=t.value;return e})).indexOf(t);var a=e==="next"?Math.min(r+1,o.tabs.length-1):Math.max(r-1,0);if(r!==a){var n=o.moveFocus(a);if(o.tabList.scrollWidth>o.tabList.clientWidth){if(a!==0&&a!==o.tabs.length-1){o.scrollByKeyboard(e,n)}else{o.onTabScroll(e)}}}};this.moveFocus=function(t){var e=o.tabs[t].value;var r=o.hostElement.shadowRoot.querySelector('.tab-list a[data-value="'+e+'"]');r.focus({preventScroll:true});return r};this.calculateKeyboardScroll=function(t,e){var r=o.tabList.getBoundingClientRect().left;var a=e.getBoundingClientRect().left;var n=46;var i=0;if(t==="next"&&a+e.clientWidth>r+o.tabList.clientWidth+n){i=o.tabList.scrollLeft+n+(a+e.clientWidth)-(r+o.tabList.clientWidth)}else if(t==="prev"&&a+n<r){i=o.tabList.scrollLeft-n+(a-r)}return i};this.scrollByKeyboard=function(t,e){var r=o.calculateKeyboardScroll(t,e);if(r!==0){o.tabList.scroll({left:r,behavior:"smooth"});setTimeout((function(){return o.onTabScroll()}),100)}};this.calculateTabScroll=function(t){var e=t.direction,r=t.scrollWidth,o=t.clientWidth,a=t.scrollLeft;var n={prev:-1,next:1};var i=n[e]||0;var l=.5;var s=Math.round(o*l);var c=a+i*s;var f=o+c;var u=c>0;var d=r>f;return{newScrollLeft:c,hasLeft:u,hasRight:d}};this.onTabScroll=function(t){var e=(new Date).getTime();if(e-o.lastScrolled<50)return;o.lastScrolled=e;if(!o.tabList)return;var r=o.tabList,a=r.scrollWidth,n=r.clientWidth,i=r.scrollLeft;var l=o.calculateTabScroll({direction:t,scrollWidth:a,clientWidth:n,scrollLeft:i}),s=l.newScrollLeft,c=l.hasLeft,f=l.hasRight;o.hasLeft=c;o.hasRight=f;if(t){o.tabList.scroll({left:s,behavior:"smooth"})}}}t.prototype.loc=function(t,e){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,e):t};t.prototype.resizeIframe=function(){return window.TectonElements&&window.TectonElements.resizeIframe&&window.TectonElements.resizeIframe()};Object.defineProperty(t.prototype,"tabPanes",{get:function(){var t=this;var e=this.hostElement.querySelectorAll("q2-tab-pane, tecton-tab-pane");if(e.length===0){return[]}return Array.from(e).filter((function(e){return e.name===t.name}))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"selectedTabValue",{get:function(){return this.value||this.tabPanes[0].value||""},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"tabList",{get:function(){return this.hostElement.shadowRoot.querySelector(".tab-list")},enumerable:false,configurable:true});t.prototype.defaultChangeHandler=function(t){if(t.target===this.hostElement&&!this.hostElement.onchange){this.value=t.detail.value}};t.prototype.onResize=function(){this.onTabScroll()};t.prototype.onFocus=function(){var t=this;if(d){var e=this.tabs.findIndex((function(e){return e.value===t.selectedTabValue}));this.moveFocus(e)}};t.prototype.componentWillLoad=function(){var t=new MutationObserver(this.updateTabData);t.observe(this.hostElement,{childList:true,attributes:true});this.mutationObserver=t;this.updateTabData()};t.prototype.componentDidRender=function(){this.scheduledAfterRender.forEach((function(t){return t()}));this.scheduledAfterRender=[];this.settled.emit();this.onTabScroll()};t.prototype.disconnectedCallback=function(){this.mutationObserver.disconnect();this.mutationObserver=null};t.prototype.valueObserver=function(){this.updateTabData();this.scheduledAfterRender.push(this.resizeIframe)};t.prototype.nameObserver=function(){this.updateTabData()};t.prototype.render=function(){var t=this;return o("div",{class:"tab-container"},o("ul",{class:"tab-list",role:"tablist"},this.hasLeft&&o("li",{role:"presentation",class:"nav nav-left",onClick:function(){return t.onTabScroll("prev")}},o("div",{class:"arrow-container"},o("a",null,o("q2-icon",{type:"chevron-left"})))),this.tabs.map((function(e,r){return t.generateTab(e,r)})),this.hasRight&&o("li",{role:"presentation",class:"nav nav-right",onClick:function(){return t.onTabScroll("next")}},o("div",{class:"arrow-container"},o("a",null,o("q2-icon",{type:"chevron-right"}))))),o("div",{class:"tab-content"},o("slot",null)))};t.prototype.generateTab=function(t,e){var r=t.label,a=t.value;var n=this.selectedTabValue===a;return o("li",{role:"presentation"},o("a",{id:"tab-"+this.guid+"-"+e,href:"javascript://","data-value":a,"test-id":"tabLink",tabIndex:n?0:-1,role:"tab","aria-selected":""+n,"aria-controls":"tab-pane-"+this.guid+"-"+e,onClick:this.onTabClick,onKeyDown:this.onTabKeyDown},r))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueObserver"],name:["nameObserver"]}},enumerable:false,configurable:true});return t}());h.style=c}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as o,g as a}from"./p-b5ebb4cb.js";import{c as i}from"./p-1d4bf5ef.js";const r=class{constructor(o){t(this,o),this.change=e(this,"change",7),this.disabled=!1,this.checked=!1,this.groupDisabled=!1,this.groupTileLayout=!1,this.id="radio-"+i(),this.inputChange=t=>{t.stopPropagation(),this.change.emit({value:this.value})}}loc(t,e){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(t,e):t}get computedAriaLabel(){return!this.label&&this.ariaLabel&&this.loc(this.ariaLabel)||void 0}onHostClick(t){this.disabled&&t.stopImmediatePropagation()}render(){return o("div",{class:this.groupTileLayout?"radio-tile":"radio-container"},o("input",{class:"sr",id:this.id,type:"radio",name:this.name,value:this.value,disabled:this.disabled||this.groupDisabled,checked:this.checked,"aria-label":this.computedAriaLabel,onChange:this.inputChange,"test-id":"q2RadioInnerRadioBox"}),o("label",{class:"radio-label",htmlFor:this.id,"test-id":"radioButton"},!this.groupTileLayout&&o("svg",{width:"18",height:"18",viewBox:"0 0 18 18",focusable:"false"},o("circle",{stroke:"none",fill:"none",cx:"9",cy:"9",r:"8"}),o("circle",{stroke:"none",fill:"none",cx:"9",cy:"9",r:"4"})),o("div",{class:"q2-radio-label-content"},this.label&&this.loc(this.label)||"",o("slot",null))))}get hostElement(){return a(this)}};r.style="*{-webkit-box-sizing:border-box;box-sizing:border-box}*:active{outline:none}*:focus{outline:none;-webkit-box-shadow:var(--const-global-focus);box-shadow:var(--const-global-focus)}:host{-webkit-box-shadow:none !important;box-shadow:none !important}::-moz-focus-inner{border:none}input,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}q2-radio{margin-top:var(--tct-radio-margin-vertical, var(--tct-scale-2, 10px));margin-right:var(--tct-radio-margin-horizontal, var(--tct-scale-3, 15px));display:block}q2-radio .radio-container{margin-bottom:var(--tct-radio-margin-vertical, var(--tct-scale-2, 10px))}q2-radio .radio-container svg{border-radius:50%;-webkit-transition:-webkit-box-shadow var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:-webkit-box-shadow var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:box-shadow var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:box-shadow var(--tct-tween-1, var(--app-tween-1, 0.2s ease)), -webkit-box-shadow var(--tct-tween-1, var(--app-tween-1, 0.2s ease));outline:0;margin:2px var(--tct-scale-1, var(--app-scale-1, 5px)) 2px 2px}q2-radio .radio-container circle:nth-child(1){stroke-width:2;stroke:var(--tct-radio-stroke-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)))}q2-radio .radio-container input:focus~label.radio-label svg{-webkit-box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff));box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff))}q2-radio .radio-container input:checked~label.radio-label circle:nth-child(1){background-color:var(--tct-radio-checked-bg, transparent);stroke:var(\n --tct-radio-checked-stroke-color,\n var(--tct-radio-stroke-color, var(--app-gray-l1, #cccccc))\n )}q2-radio input:checked+label .q2-radio-label-content{font-weight:var(--tct-checkbox-selected-font-weight, 600);letter-spacing:var(--tct-checkbox-selected-letter-spacing, 0.25)}q2-radio .radio-container input:focus~label.radio-label circle:nth-child(1){stroke:var(\n --tct-radio-focus-stroke-color,\n var(--tct-checkbox-check-stroke-color, var(--t-checkbox-fill, #2e2e2e))\n )}q2-radio .radio-container input:checked~label.radio-label circle:nth-child(2){fill:var(\n --tct-radio-checked-fill,\n var(--tct-checkbox-check-stroke-color, var(--t-checkbox-fill, #2e2e2e))\n )}q2-radio .radio-tile input:disabled~label.radio-label,q2-radio .radio-container input:disabled~label.radio-label{cursor:not-allowed;opacity:var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))}q2-radio .radio-container label.radio-label{font-weight:var(--tct-radio-font-weight, var(--tct-checkbox-font-weight, 400));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;cursor:pointer;margin-right:1rem}q2-radio .radio-tile{-ms-flex-preferred-size:100px;flex-basis:100px;-ms-flex-positive:0;flex-grow:0;-ms-flex-wrap:wrap;flex-wrap:wrap}q2-radio .radio-tile label{-ms-flex-align:center;align-items:center;border-radius:3px;border:2px solid var(--tct-radio-stroke-color, var(--app-gray-l1, #cccccc));cursor:pointer;display:block;padding:1rem;position:relative;text-align:center;-webkit-transition:border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));transition:border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));white-space:nowrap}q2-radio .radio-tile input:focus+label{border-color:#0079c1;-webkit-box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff));box-shadow:var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff))}q2-radio .radio-tile input:checked+label{border-color:var(--tct-checkbox-check-stroke-color, var(--t-checkbox-fill, #2e2e2e));-webkit-box-shadow:inset 0 0 0 2px #ffffff;box-shadow:inset 0 0 0 2px #ffffff}q2-radio .radio-tile input:checked+label:after{border-bottom-width:3px;border-bottom:5px solid #0079c1;border-left-width:5px;border-left:8px solid transparent;border-right-width:5px;border-right:8px solid transparent;bottom:0;content:'';height:0;left:50%;margin-left:-5px;position:absolute;width:0}";export{r as q2_radio}
@@ -1 +0,0 @@
1
- System.register(["./p-2b69fdec.system.js"],(function(e){"use strict";var t,r,n,o;return{setters:[function(e){t=e.r;r=e.h;n=e.H;o=e.g}],execute:function(){var a="q2-carousel .swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition:all .2s;transition:all .2s}.q2-carousel-pane .q2-carousel-pane-main-content{-webkit-box-shadow:0px 2px 8px 0px rgba(0, 0, 0, 0.25);box-shadow:0px 2px 8px 0px rgba(0, 0, 0, 0.25);background-color:var(---tct-carousel-background-color, var(--tct-white, var(--app-white, #ffffff)));border:var(--tct-carousel-pane-border-width, 1px) solid var(--tct-carousel-pane-border-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));border-radius:var(--tct-carousel-pane-border-radius, 8px);padding:var(--tct-carousel-pane-padding, .5rem .5rem .5rem .5rem);min-height:10em}q2-carousel-pane.q2-carousel-pane:focus{-webkit-box-shadow:none;box-shadow:none}.q2-carousel-pane:focus .q2-carousel-pane-main-content{outline:none;-webkit-box-shadow:0 0 0 2px #33B4FF;box-shadow:0 0 0 2px #33B4FF;}.q2-carousel-pane .q2-carousel-pane-main-content:hover{cursor:-webkit-grab;cursor:grab}";var s=e("q2_carousel_pane",function(){function e(e){t(this,e);this.generatePaneClass=function(e){return"q2-carousel-pane swiper-slide q2-carousel-pane-"+e}}Object.defineProperty(e.prototype,"currentPaneIndex",{get:function(){return Array.prototype.indexOf.call(this.hostElement.parentElement.children,this.hostElement)},enumerable:false,configurable:true});e.prototype.loc=function(e,t){return window.TectonElements&&window.TectonElements.loc?window.TectonElements.loc(e,t):e};e.prototype.render=function(){return r(n,{class:this.generatePaneClass(this.currentPaneIndex),tabIndex:"0","aria-hidden":this.hideFromScreenReader,"aria-label":this.label},r("article",{class:"q2-carousel-pane-main-content"},r("slot",null),r("span",{class:"sr-only item-count"},this.loc("tecton.element.carousel.itemDescription",[(this.currentPaneIndex+1).toString()]),this.loc("tecton.element.carousel.collectionDescription",[(this.siblingCount||0).toString()]))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=a}}}));