`}
- `}}Mi([Fe({type:String})],Bi.prototype,"ariaLive",void 0),Mi([Fe({type:String})],Bi.prototype,"guid",void 0),Mi([Fe({type:String})],Bi.prototype,"text",void 0),window.customElements.get("kuc-base-error-1-17-0")||(mi('\n kuc-base-error-1-17-0,\n kuc-base-error-1-17-0 *,\n kuc-base-error-1-17-0:lang(en),\n kuc-base-error-1-17-0:lang(en) * {\n font-family: sans-serif;\n }\n kuc-base-error-1-17-0:lang(ja),\n kuc-base-error-1-17-0:lang(ja) * {\n font-family: "メイリオ", "Hiragino Kaku Gothic ProN", Meiryo,\n sans-serif;\n }\n kuc-base-error-1-17-0:lang(zh),\n kuc-base-error-1-17-0:lang(zh) * {\n font-family: "微软雅黑", "Microsoft YaHei", "新宋体", NSimSun, STHeiti,\n Hei, "Heiti SC", sans-serif;\n }\n kuc-base-error-1-17-0:lang(zh-TW),\n kuc-base-error-1-17-0:lang(zh-TW) * {\n font-family: "微軟正黑體","Microsoft JhengHei","新宋体",NSimSun,STHeiti,\n Hei,"Heiti SC",sans-serif;\n }\n kuc-base-error-1-17-0 {\n width: 100%;\n font-size: 14px;\n display: inline-table;\n vertical-align: top;\n }\n kuc-base-error-1-17-0[hidden] {\n display: none;\n }\n .kuc-base-error-1-17-0__error {\n line-height: 1.5;\n padding: 4px 18px;\n box-sizing: border-box;\n background-color: #e74c3c;\n color: #ffffff;\n margin: 8px 0px;\n word-break: break-all;\n white-space: normal;\n }\n .kuc-base-error-1-17-0__error[hidden] {\n display: none;\n }\n'),window.customElements.define("kuc-base-error-1-17-0",Bi));var Oi=function(e,t,i,n){var o,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(o=e[r])&&(s=(a<3?o(s):a>3?o(t,i,s):o(t,i))||s);return a>3&&s&&Object.defineProperty(t,i,s),s};class Ni extends bi{constructor(){super(...arguments),this.requiredIcon=!1,this.guid="",this.text=""}render(){return $e`
+ `}}Mi([Ge({type:String})],Bi.prototype,"ariaLive",void 0),Mi([Ge({type:String})],Bi.prototype,"guid",void 0),Mi([Ge({type:String})],Bi.prototype,"text",void 0),window.customElements.get("kuc-base-error-1-17-1")||(mi('\n kuc-base-error-1-17-1,\n kuc-base-error-1-17-1 *,\n kuc-base-error-1-17-1:lang(en),\n kuc-base-error-1-17-1:lang(en) * {\n font-family: sans-serif;\n }\n kuc-base-error-1-17-1:lang(ja),\n kuc-base-error-1-17-1:lang(ja) * {\n font-family: "メイリオ", "Hiragino Kaku Gothic ProN", Meiryo,\n sans-serif;\n }\n kuc-base-error-1-17-1:lang(zh),\n kuc-base-error-1-17-1:lang(zh) * {\n font-family: "微软雅黑", "Microsoft YaHei", "新宋体", NSimSun, STHeiti,\n Hei, "Heiti SC", sans-serif;\n }\n kuc-base-error-1-17-1:lang(zh-TW),\n kuc-base-error-1-17-1:lang(zh-TW) * {\n font-family: "微軟正黑體","Microsoft JhengHei","新宋体",NSimSun,STHeiti,\n Hei,"Heiti SC",sans-serif;\n }\n kuc-base-error-1-17-1 {\n width: 100%;\n font-size: 14px;\n display: inline-table;\n vertical-align: top;\n }\n kuc-base-error-1-17-1[hidden] {\n display: none;\n }\n .kuc-base-error-1-17-1__error {\n line-height: 1.5;\n padding: 4px 18px;\n box-sizing: border-box;\n background-color: #e74c3c;\n color: #ffffff;\n margin: 8px 0px;\n word-break: break-all;\n white-space: normal;\n }\n .kuc-base-error-1-17-1__error[hidden] {\n display: none;\n }\n'),window.customElements.define("kuc-base-error-1-17-1",Bi));var Oi=function(e,t,i,n){var o,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(o=e[r])&&(s=(a<3?o(s):a>3?o(t,i,s):o(t,i))||s);return a>3&&s&&Object.defineProperty(t,i,s),s};class Ni extends bi{constructor(){super(...arguments),this.requiredIcon=!1,this.guid="",this.text=""}render(){return we`
${this._getTextTemplate()}
*
- `}_getTextTemplate(){return this.guid&&""!==this.guid?$e`
-
${this.text}
- `:$e`
${this.text} `}}Oi([Fe({type:Boolean})],Ni.prototype,"requiredIcon",void 0),Oi([Fe({type:String})],Ni.prototype,"guid",void 0),Oi([Fe({type:String})],Ni.prototype,"text",void 0),window.customElements.get("kuc-base-label-1-17-0")||(mi('\n kuc-base-label-1-17-0,\n kuc-base-label-1-17-0 *,\n kuc-base-label-1-17-0:lang(en),\n kuc-base-label-1-17-0:lang(en) * {\n font-family: sans-serif;\n }\n kuc-base-label-1-17-0:lang(ja),\n kuc-base-label-1-17-0:lang(ja) * {\n font-family: "メイリオ", "Hiragino Kaku Gothic ProN", Meiryo,\n sans-serif;\n }\n kuc-base-label-1-17-0:lang(zh),\n kuc-base-label-1-17-0:lang(zh) * {\n font-family: "微软雅黑", "Microsoft YaHei", "新宋体", NSimSun, STHeiti,\n Hei, "Heiti SC", sans-serif;\n }\n kuc-base-label-1-17-0:lang(zh-TW),\n kuc-base-label-1-17-0:lang(zh-TW) * {\n font-family: "微軟正黑體","Microsoft JhengHei","新宋体",NSimSun,STHeiti,\n Hei,"Heiti SC",sans-serif;\n }\n kuc-base-label-1-17-0 {\n font-size: 14px;\n color: #333333;\n display: inline-table;\n vertical-align: top;\n }\n kuc-base-label-1-17-0[hidden] {\n display: none;\n }\n .kuc-base-label-1-17-0__required-icon {\n font-size: 20px;\n vertical-align: -3px;\n color: #e74c3c;\n margin-left: 4px;\n line-height: 1;\n }\n .kuc-base-label-1-17-0__required-icon[hidden] {\n display: none;\n }\n'),window.customElements.define("kuc-base-label-1-17-0",Ni));var Ui=function(e,t,i,n){var o,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(o=e[r])&&(s=(a<3?o(s):a>3?o(t,i,s):o(t,i))||s);return a>3&&s&&Object.defineProperty(t,i,s),s};let Pi;(()=>{if(Pi=window.customElements.get("kuc-checkbox-1-17-0"),!Pi){class e extends bi{constructor(e){super(),this.className="",this.error="",this.id="",this.itemLayout="horizontal",this.label="",this.borderVisible=!0,this.disabled=!1,this.requiredIcon=!1,this.visible=!0,this.items=[],this.selectedIndex=[],this.value=[],this._valueMapping={},this._GUID=fi();const t=vi(e);this._setInitialValue(t),Object.assign(this,t)}_setInitialValue(e){const t="value"in e,i="selectedIndex"in e,n=e.selectedIndex||[];if(!t&&i){if(!Ti(n))return;const t=this._getValueMapping(e);this.value=this._getValidValue(t,n)}}shouldUpdate(e){return e.has("items")&&!Ti(this.items)?(this.throwErrorAfterUpdateComplete(nt),!1):e.has("value")&&!Ti(this.value)?(this.throwErrorAfterUpdateComplete(rt),!1):!(e.has("selectedIndex")&&!Ti(this.selectedIndex)&&(this.throwErrorAfterUpdateComplete(dt),1))}willUpdate(e){if(e.has("value")){if(this.value.length>0)return;this.selectedIndex=[]}}_getNewValueMapping(e,t){const i=parseInt(t,10),n=Object.keys(this._valueMapping),o={...this._valueMapping};return n.indexOf(t)>-1?(delete o[i],o):(o[i]=e,o)}_handleChangeInput(e){e.stopPropagation();const t=e.target,i=t.dataset.index||"0",n=t.value,o=this.value?[...this.value]:this.value,a=this._getNewValueMapping(n,i),s=this.items.map((e=>e.value)),r=Object.values(a).filter((e=>s.indexOf(e)>-1));if(r===o)return;const l=Object.keys(a).map((e=>parseInt(e,10)));this.value=r,this.selectedIndex=l,gi(this,"change",{oldValue:o,value:r})}_handleFocusInput(e){e.target.parentNode.setAttribute("focused","")}_handleBlurInput(e){e.target.parentNode.removeAttribute("focused")}_getCheckboxIconSvgTemplate(e,t){return Ce`
+ `:we`
${this.text} `}}Oi([Ge({type:Boolean})],Ni.prototype,"requiredIcon",void 0),Oi([Ge({type:String})],Ni.prototype,"guid",void 0),Oi([Ge({type:String})],Ni.prototype,"text",void 0),window.customElements.get("kuc-base-label-1-17-1")||(mi('\n kuc-base-label-1-17-1,\n kuc-base-label-1-17-1 *,\n kuc-base-label-1-17-1:lang(en),\n kuc-base-label-1-17-1:lang(en) * {\n font-family: sans-serif;\n }\n kuc-base-label-1-17-1:lang(ja),\n kuc-base-label-1-17-1:lang(ja) * {\n font-family: "メイリオ", "Hiragino Kaku Gothic ProN", Meiryo,\n sans-serif;\n }\n kuc-base-label-1-17-1:lang(zh),\n kuc-base-label-1-17-1:lang(zh) * {\n font-family: "微软雅黑", "Microsoft YaHei", "新宋体", NSimSun, STHeiti,\n Hei, "Heiti SC", sans-serif;\n }\n kuc-base-label-1-17-1:lang(zh-TW),\n kuc-base-label-1-17-1:lang(zh-TW) * {\n font-family: "微軟正黑體","Microsoft JhengHei","新宋体",NSimSun,STHeiti,\n Hei,"Heiti SC",sans-serif;\n }\n kuc-base-label-1-17-1 {\n font-size: 14px;\n color: #333333;\n display: inline-table;\n vertical-align: top;\n }\n kuc-base-label-1-17-1[hidden] {\n display: none;\n }\n .kuc-base-label-1-17-1__required-icon {\n font-size: 20px;\n vertical-align: -3px;\n color: #e74c3c;\n margin-left: 4px;\n line-height: 1;\n }\n .kuc-base-label-1-17-1__required-icon[hidden] {\n display: none;\n }\n'),window.customElements.define("kuc-base-label-1-17-1",Ni));var Ui=function(e,t,i,n){var o,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(o=e[r])&&(s=(a<3?o(s):a>3?o(t,i,s):o(t,i))||s);return a>3&&s&&Object.defineProperty(t,i,s),s};let Pi;(()=>{if(Pi=window.customElements.get("kuc-checkbox-1-17-1"),!Pi){class e extends bi{constructor(e){super(),this.className="",this.error="",this.id="",this.itemLayout="horizontal",this.label="",this.borderVisible=!0,this.disabled=!1,this.requiredIcon=!1,this.visible=!0,this.items=[],this.selectedIndex=[],this.value=[],this._valueMapping={},this._GUID=fi();const t=vi(e);this._setInitialValue(t),Object.assign(this,t)}_setInitialValue(e){const t="value"in e,i="selectedIndex"in e,n=e.selectedIndex||[];if(!t&&i){if(!Ti(n))return;const t=this._getValueMapping(e);this.value=this._getValidValue(t,n)}}shouldUpdate(e){return e.has("items")&&!Ti(this.items)?(this.throwErrorAfterUpdateComplete(it),!1):e.has("value")&&!Ti(this.value)?(this.throwErrorAfterUpdateComplete(st),!1):!(e.has("selectedIndex")&&!Ti(this.selectedIndex)&&(this.throwErrorAfterUpdateComplete(lt),1))}willUpdate(e){if(e.has("value")){if(this.value.length>0)return;this.selectedIndex=[]}}_getNewValueMapping(e,t){const i=parseInt(t,10),n=Object.keys(this._valueMapping),o={...this._valueMapping};return n.indexOf(t)>-1?(delete o[i],o):(o[i]=e,o)}_handleChangeInput(e){e.stopPropagation();const t=e.target,i=t.dataset.index||"0",n=t.value,o=this.value?[...this.value]:this.value,a=this._getNewValueMapping(n,i),s=this.items.map((e=>e.value)),r=Object.values(a).filter((e=>s.indexOf(e)>-1));if(r===o)return;const l=Object.keys(a).map((e=>parseInt(e,10)));this.value=r,this.selectedIndex=l,gi(this,"change",{oldValue:o,value:r})}_handleFocusInput(e){e.target.parentNode.setAttribute("focused","")}_handleBlurInput(e){e.target.parentNode.removeAttribute("focused")}_getCheckboxIconSvgTemplate(e,t){return $e`
- ${t?Ce`
`:""}
- `}_getSVGStrokeValue(e,t){return e?"#d8d8d8":t?"#3498db":"#d8d8d8"}_isCheckedItem(e,t){const i=Object.values(this._valueMapping),n=Object.keys(this._valueMapping);return i.filter(((i,o)=>i===e.value&&t===parseInt(n[o],10))).length>0}_getItemTemplate(e,t){const i=this._isCheckedItem(e,t),n=e.disabled||this.disabled;return $e`
+ `}_getSVGStrokeValue(e,t){return e?"#d8d8d8":t?"#3498db":"#d8d8d8"}_isCheckedItem(e,t){const i=Object.values(this._valueMapping),n=Object.keys(this._valueMapping);return i.filter(((i,o)=>i===e.value&&t===parseInt(n[o],10))).length>0}_getItemTemplate(e,t){const i=this._isCheckedItem(e,t),n=e.disabled||this.disabled;return we`
- `}update(e){(e.has("items")||e.has("value")||e.has("selectedIndex"))&&(this._valueMapping=this._getValueMapping({items:this.items,value:this.value,selectedIndex:this.selectedIndex}),this._setValueAndSelectedIndex()),super.update(e)}render(){return $e`
+ `}update(e){(e.has("items")||e.has("value")||e.has("selectedIndex"))&&(this._valueMapping=this._getValueMapping({items:this.items,value:this.value,selectedIndex:this.selectedIndex}),this._setValueAndSelectedIndex()),super.update(e)}render(){return we`
- `}updated(){this._inputEls.forEach((e=>{e.checked=this.value.indexOf(e.value)>-1}))}_getValueMapping(e){const t=e.items||[],i=e.value||[],n=e.selectedIndex||[],o=t.map((e=>e.value||"")),a=Object.assign({},o),s={};if(0===i.length){const e=this._getValidValue(a,n);return n.forEach(((t,i)=>s[t]=e[i])),s}return this._getValidSelectedIndex(a).forEach(((e,t)=>s[e]=i[t])),s}_getValidValue(e,t){return t.filter((t=>e[t])).map((t=>e[t]))}_getValidSelectedIndex(e){const t=[];for(let i=0;i
e.value===this.value[i]));t.push(o)}return t}_setValueAndSelectedIndex(){this.value=Object.values(this._valueMapping),this.selectedIndex=Object.keys(this._valueMapping).map((e=>parseInt(e,10)))}}Ui([Fe({type:String,reflect:!0,attribute:"class"})],e.prototype,"className",void 0),Ui([Fe({type:String})],e.prototype,"error",void 0),Ui([Fe({type:String,reflect:!0,attribute:"id"})],e.prototype,"id",void 0),Ui([Fe({type:String})],e.prototype,"itemLayout",void 0),Ui([Fe({type:String})],e.prototype,"label",void 0),Ui([Fe({type:Boolean})],e.prototype,"borderVisible",void 0),Ui([Fe({type:Boolean})],e.prototype,"disabled",void 0),Ui([Fe({type:Boolean})],e.prototype,"requiredIcon",void 0),Ui([Fe({type:Boolean,attribute:"hidden",reflect:!0,converter:oi})],e.prototype,"visible",void 0),Ui([Fe({type:Array})],e.prototype,"items",void 0),Ui([Fe({type:Array})],e.prototype,"selectedIndex",void 0),Ui([Fe({type:Array})],e.prototype,"value",void 0),Ui([Je(".kuc-checkbox-1-17-0__group__select-menu__item__input")],e.prototype,"_inputEls",void 0),Ui([We()],e.prototype,"_valueMapping",void 0),window.customElements.define("kuc-checkbox-1-17-0",e),mi('\n kuc-checkbox-1-17-0,\n kuc-checkbox-1-17-0 *,\n kuc-checkbox-1-17-0:lang(en),\n kuc-checkbox-1-17-0:lang(en) * {\n font-family: sans-serif;\n }\n kuc-checkbox-1-17-0:lang(ja),\n kuc-checkbox-1-17-0:lang(ja) * {\n font-family: "メイリオ", "Hiragino Kaku Gothic ProN", Meiryo,\n sans-serif;\n }\n kuc-checkbox-1-17-0:lang(zh),\n kuc-checkbox-1-17-0:lang(zh) * {\n font-family: "微软雅黑", "Microsoft YaHei", "新宋体", NSimSun, STHeiti,\n Hei, "Heiti SC", sans-serif;\n }\n kuc-checkbox-1-17-0:lang(zh-TW),\n kuc-checkbox-1-17-0:lang(zh-TW) * {\n font-family: "微軟正黑體","Microsoft JhengHei","新宋体",NSimSun,STHeiti,\n Hei,"Heiti SC",sans-serif;\n }\n kuc-checkbox-1-17-0 {\n font-size: 14px;\n color: #333333;\n display: inline-table;\n vertical-align: top;\n width: var(--kuc-checkbox-menu-width, 239px);\n min-width: var(--kuc-checkbox-menu-width, 239px);\n line-height: 1.5;\n }\n kuc-checkbox-1-17-0[hidden] {\n display: none;\n }\n .kuc-checkbox-1-17-0__group {\n border: none;\n padding: 0px;\n height: auto;\n display: inline-block;\n width: 100%;\n margin: 0px;\n }\n .kuc-checkbox-1-17-0__group__select-menu {\n white-space: nowrap;\n width: var(--kuc-checkbox-menu-width, auto);\n height: var(--kuc-checkbox-menu-height, auto);\n color: var(--kuc-checkbox-menu-color, #333333);\n font-size: var(--kuc-checkbox-menu-font-size, 14px);\n display: flex;\n align-items: flex-start;\n }\n .kuc-checkbox-1-17-0__group__select-menu[itemLayout="vertical"] {\n display: block;\n }\n .kuc-checkbox-1-17-0__group__label {\n display: inline-block;\n padding: 4px 0 8px 0;\n white-space: nowrap;\n }\n .kuc-checkbox-1-17-0__group__label[hidden] {\n display: none;\n }\n .kuc-checkbox-1-17-0__group__select-menu[borderVisible] {\n border-color: #e3e7e8;\n border-width: 1px;\n border-style: solid;\n padding: 4px 0 0 4px;\n }\n .kuc-checkbox-1-17-0__group__select-menu__item {\n margin-bottom: 4px;\n margin-right: 16px;\n padding: 4px;\n border: 1px solid transparent;\n position: relative;\n white-space: normal;\n word-wrap: normal;\n display: flex;\n align-items: center;\n }\n .kuc-checkbox-1-17-0__group__select-menu__item[focused] {\n border: 1px solid #3498db;\n }\n .kuc-checkbox-1-17-0__group__select-menu__item__input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n }\n .kuc-checkbox-1-17-0__group__select-menu__item__input:hover\n + .kuc-checkbox-1-17-0__group__select-menu__item__label {\n color: var(--kuc-checkbox-menu-color-hover, #666666);\n }\n .kuc-checkbox-1-17-0__group__select-menu__item__label__icon {\n position: absolute;\n left: -30px;\n box-sizing: border-box;\n width: 21px;\n height: 21px;\n box-shadow: 1px 1px 3px #f5f5f5 inset, -1px -1px 3px #f5f5f5 inset;\n content: "";\n }\n .kuc-checkbox-1-17-0__group__select-menu__item__input[disabled]\n + .kuc-checkbox-1-17-0__group__select-menu__item__label {\n color: #888888;\n cursor: not-allowed;\n }\n .kuc-checkbox-1-17-0__group__select-menu__item__label {\n cursor: pointer;\n position: relative;\n margin-left: 32px;\n display: flex;\n align-items: center;\n vertical-align: middle;\n white-space: nowrap;\n min-height: 24px;\n line-height: 1.2;\n }'),Pi=e}})();var zi=function(e,t,i,n){var o,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(o=e[r])&&(s=(a<3?o(s):a>3?o(t,i,s):o(t,i))||s);return a>3&&s&&Object.defineProperty(t,i,s),s};let Ri;(()=>{if(Ri=window.customElements.get("kuc-combobox-1-17-0"),!Ri){class e extends bi{constructor(e){super(),this.className="",this.error="",this.id="",this.label="",this.value="",this.disabled=!1,this.requiredIcon=!1,this.visible=!0,this.items=[],this._selectorVisible=!1,this._searchText="",this._DISABLED_CLASS="kuc-combobox-1-17-0__group__select-menu__item--disabled",this._query="",this._matchingItems=[],this._GUID=fi();const t=vi(e);this._handleClickDocument=this._handleClickDocument.bind(this),Object.assign(this,t)}shouldUpdate(e){if(e.has("items")){if(!Ti(this.items))return this.throwErrorAfterUpdateComplete(nt),!1;if(!Ii(this.items.map((e=>e.value))))return this.throwErrorAfterUpdateComplete(ot),!1}return!(e.has("value")&&!$i(this.value)&&(this.throwErrorAfterUpdateComplete(lt),1))}willUpdate(e){e.has("value")&&(this._searchText=this._getSelectedLabel()||"")}render(){return $e`
-
+ `}updated(){this._inputEls.forEach((e=>{e.checked=this.value.indexOf(e.value)>-1}))}_getValueMapping(e){const t=e.items||[],i=e.value||[],n=e.selectedIndex||[],o=t.map((e=>e.value||"")),a=Object.assign({},o),s={};if(0===i.length){const e=this._getValidValue(a,n);return n.forEach(((t,i)=>s[t]=e[i])),s}return this._getValidSelectedIndex(a).forEach(((e,t)=>s[e]=i[t])),s}_getValidValue(e,t){return t.filter((t=>e[t])).map((t=>e[t]))}_getValidSelectedIndex(e){const t=[];for(let i=0;i
e.value===this.value[i]));t.push(o)}return t}_setValueAndSelectedIndex(){this.value=Object.values(this._valueMapping),this.selectedIndex=Object.keys(this._valueMapping).map((e=>parseInt(e,10)))}}Ui([Ge({type:String,reflect:!0,attribute:"class"})],e.prototype,"className",void 0),Ui([Ge({type:String})],e.prototype,"error",void 0),Ui([Ge({type:String,reflect:!0,attribute:"id"})],e.prototype,"id",void 0),Ui([Ge({type:String})],e.prototype,"itemLayout",void 0),Ui([Ge({type:String})],e.prototype,"label",void 0),Ui([Ge({type:Boolean})],e.prototype,"borderVisible",void 0),Ui([Ge({type:Boolean})],e.prototype,"disabled",void 0),Ui([Ge({type:Boolean})],e.prototype,"requiredIcon",void 0),Ui([Ge({type:Boolean,attribute:"hidden",reflect:!0,converter:ni})],e.prototype,"visible",void 0),Ui([Ge({type:Array})],e.prototype,"items",void 0),Ui([Ge({type:Array})],e.prototype,"selectedIndex",void 0),Ui([Ge({type:Array})],e.prototype,"value",void 0),Ui([Ye(".kuc-checkbox-1-17-1__group__select-menu__item__input")],e.prototype,"_inputEls",void 0),Ui([Fe()],e.prototype,"_valueMapping",void 0),window.customElements.define("kuc-checkbox-1-17-1",e),mi('\n kuc-checkbox-1-17-1,\n kuc-checkbox-1-17-1 *,\n kuc-checkbox-1-17-1:lang(en),\n kuc-checkbox-1-17-1:lang(en) * {\n font-family: sans-serif;\n }\n kuc-checkbox-1-17-1:lang(ja),\n kuc-checkbox-1-17-1:lang(ja) * {\n font-family: "メイリオ", "Hiragino Kaku Gothic ProN", Meiryo,\n sans-serif;\n }\n kuc-checkbox-1-17-1:lang(zh),\n kuc-checkbox-1-17-1:lang(zh) * {\n font-family: "微软雅黑", "Microsoft YaHei", "新宋体", NSimSun, STHeiti,\n Hei, "Heiti SC", sans-serif;\n }\n kuc-checkbox-1-17-1:lang(zh-TW),\n kuc-checkbox-1-17-1:lang(zh-TW) * {\n font-family: "微軟正黑體","Microsoft JhengHei","新宋体",NSimSun,STHeiti,\n Hei,"Heiti SC",sans-serif;\n }\n kuc-checkbox-1-17-1 {\n font-size: 14px;\n color: #333333;\n display: inline-table;\n vertical-align: top;\n width: var(--kuc-checkbox-menu-width, 239px);\n min-width: var(--kuc-checkbox-menu-width, 239px);\n line-height: 1.5;\n }\n kuc-checkbox-1-17-1[hidden] {\n display: none;\n }\n .kuc-checkbox-1-17-1__group {\n border: none;\n padding: 0px;\n height: auto;\n display: inline-block;\n width: 100%;\n margin: 0px;\n }\n .kuc-checkbox-1-17-1__group__select-menu {\n white-space: nowrap;\n width: var(--kuc-checkbox-menu-width, auto);\n height: var(--kuc-checkbox-menu-height, auto);\n color: var(--kuc-checkbox-menu-color, #333333);\n font-size: var(--kuc-checkbox-menu-font-size, 14px);\n display: flex;\n align-items: flex-start;\n }\n .kuc-checkbox-1-17-1__group__select-menu[itemLayout="vertical"] {\n display: block;\n }\n .kuc-checkbox-1-17-1__group__label {\n display: inline-block;\n padding: 4px 0 8px 0;\n white-space: nowrap;\n }\n .kuc-checkbox-1-17-1__group__label[hidden] {\n display: none;\n }\n .kuc-checkbox-1-17-1__group__select-menu[borderVisible] {\n border-color: #e3e7e8;\n border-width: 1px;\n border-style: solid;\n padding: 4px 0 0 4px;\n }\n .kuc-checkbox-1-17-1__group__select-menu__item {\n margin-bottom: 4px;\n margin-right: 16px;\n padding: 4px;\n border: 1px solid transparent;\n position: relative;\n white-space: normal;\n word-wrap: normal;\n display: flex;\n align-items: center;\n }\n .kuc-checkbox-1-17-1__group__select-menu__item[focused] {\n border: 1px solid #3498db;\n }\n .kuc-checkbox-1-17-1__group__select-menu__item__input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n }\n .kuc-checkbox-1-17-1__group__select-menu__item__input:hover\n + .kuc-checkbox-1-17-1__group__select-menu__item__label {\n color: var(--kuc-checkbox-menu-color-hover, #666666);\n }\n .kuc-checkbox-1-17-1__group__select-menu__item__label__icon {\n position: absolute;\n left: -30px;\n box-sizing: border-box;\n width: 21px;\n height: 21px;\n box-shadow: 1px 1px 3px #f5f5f5 inset, -1px -1px 3px #f5f5f5 inset;\n content: "";\n }\n .kuc-checkbox-1-17-1__group__select-menu__item__input[disabled]\n + .kuc-checkbox-1-17-1__group__select-menu__item__label {\n color: #888888;\n cursor: not-allowed;\n }\n .kuc-checkbox-1-17-1__group__select-menu__item__label {\n cursor: pointer;\n position: relative;\n margin-left: 32px;\n display: flex;\n align-items: center;\n vertical-align: middle;\n white-space: nowrap;\n min-height: 24px;\n line-height: 1.2;\n }'),Pi=e}})();var zi=function(e,t,i,n){var o,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var r=e.length-1;r>=0;r--)(o=e[r])&&(s=(a<3?o(s):a>3?o(t,i,s):o(t,i))||s);return a>3&&s&&Object.defineProperty(t,i,s),s};let Ri;(()=>{if(Ri=window.customElements.get("kuc-combobox-1-17-1"),!Ri){class e extends bi{constructor(e){super(),this.className="",this.error="",this.id="",this.label="",this.value="",this.disabled=!1,this.requiredIcon=!1,this.visible=!0,this.items=[],this._selectorVisible=!1,this._searchText="",this._DISABLED_CLASS="kuc-combobox-1-17-1__group__select-menu__item--disabled",this._query="",this._matchingItems=[],this._GUID=fi();const t=vi(e);this._handleClickDocument=this._handleClickDocument.bind(this),Object.assign(this,t)}shouldUpdate(e){if(e.has("items")){if(!Ti(this.items))return this.throwErrorAfterUpdateComplete(it),!1;if(!Ii(this.items.map((e=>e.value))))return this.throwErrorAfterUpdateComplete(nt),!1}return!(e.has("value")&&!$i(this.value)&&(this.throwErrorAfterUpdateComplete(rt),1))}willUpdate(e){e.has("value")&&(this._searchText=this._getSelectedLabel()||"")}render(){return we`
+
-
+ >
-
+
-
- `}firstUpdated(){window.addEventListener("resize",(()=>{this._actionResizeScrollWindow()})),window.addEventListener("scroll",(()=>{this._actionResizeScrollWindow()}))}async updated(e){super.updated(e),await this.updateComplete,this._selectorVisible?(this._setMenuPosition(),this._scrollToView(),null===this._selectedItemEl||this._selectedItemEl.classList.contains(this._DISABLED_CLASS)?this._actionClearAllHighlightMenuItem():this._setHighlightAndActiveDescendantMenu(this._selectedItemEl),setTimeout((()=>{document.addEventListener("click",this._handleClickDocument,!0)}),1)):setTimeout((()=>{document.removeEventListener("click",this._handleClickDocument,!0)}),1)}_getToggleIconSvgTemplate(){return Ce`
+ `}firstUpdated(){window.addEventListener("resize",(()=>{this._actionResizeScrollWindow()})),window.addEventListener("scroll",(()=>{this._actionResizeScrollWindow()}))}async updated(e){super.updated(e),await this.updateComplete,this._selectorVisible?(this._setMenuPosition(),this._scrollToView(),null===this._selectedItemEl||this._selectedItemEl.classList.contains(this._DISABLED_CLASS)?this._actionClearAllHighlightMenuItem():this._setHighlightAndActiveDescendantMenu(this._selectedItemEl),setTimeout((()=>{document.addEventListener("click",this._handleClickDocument,!0)}),1)):setTimeout((()=>{document.removeEventListener("click",this._handleClickDocument,!0)}),1)}_getToggleIconSvgTemplate(){return $e`
- `}_getItemTemplate(e,t){const i=this._isCheckedItem(e),n=e.disabled,o=void 0===e.label?e.value:e.label;let a=i?$e`
${o}`:$e`${o}`;const s=this._query.trim().toLowerCase();if(s&&o){const e=o.toLowerCase().indexOf(s),t=e+s.length;a=$e`
+ `}_getItemTemplate(e,t){const i=this._isCheckedItem(e),n=e.disabled,o=void 0===e.label?e.value:e.label;let a=i?we`
${o}`:we`${o}`;const s=this._query.trim().toLowerCase();if(s&&o){const e=o.toLowerCase().indexOf(s),t=e+s.length;a=we`
${o.slice(0,e)}
${o.slice(e,t)}${o.slice(t)}
- `}return $e`
+ `}return we`