first commit

This commit is contained in:
2026-02-09 10:48:21 +01:00
commit 15f28c0dd6
848 changed files with 107188 additions and 0 deletions

View File

@@ -0,0 +1 @@
.emby-checkbox-label{position:relative;vertical-align:middle;display:-webkit-inline-flex;display:inline-flex;box-sizing:border-box;width:100%;margin:0;padding:0;-webkit-align-items:center;align-items:center;outline:0!important}.checkboxFieldDescription{-webkit-padding-start:2.4em;padding-inline-start:2.4em}.checkboxContainer{margin-top:.3em;margin-bottom:1.5em;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0}.checkboxListContainer{margin-bottom:1.41em}.listItem .checkboxContainer{margin-bottom:0}.checkboxContainer-withDescription{-webkit-flex-direction:column;flex-direction:column}.emby-checkbox{position:absolute;width:1px;height:1px;margin:0;padding:0;-webkit-appearance:none;appearance:none;border:none;outline:0!important;width:100%;height:100%;z-index:-1;background:0 0!important}.checkboxLabel{position:relative;margin:0;display:-webkit-inline-flex;display:inline-flex;-webkit-align-items:flex-start;align-items:flex-start;border-radius:.42em;-webkit-padding-end:.5em;padding-inline-end:.5em;z-index:1;-webkit-user-select:none;user-select:none}.emby-checkbox-notext+.checkboxLabel{-webkit-padding-end:0;padding-inline-end:0}.checkboxList>.emby-checkbox-label,.checkboxList>.checkboxContainer{display:-webkit-flex;display:flex;margin:.75em 0}.checkboxListLabel{margin-bottom:1rem}.checkboxLabel::before{content:"";display:inline-block;height:1.56em;width:1.56em;border:.16em solid;border-radius:.3em;position:static;-webkit-margin-end:.5em;margin-inline-end:.5em;margin-top:-.18em;-webkit-flex-shrink:0;flex-shrink:0}.emby-checkbox-notext+.checkboxLabel::before{-webkit-margin-end:0;margin-inline-end:0}.emby-checkbox[disabled]+.checkboxLabel::before{opacity:.5}.checkboxLabel::after{position:absolute;content:"";display:inline-block;height:.36em;width:1em;border-left:.18em solid;border-bottom:.18em solid;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);top:.32em;left:.33em;inset-inline-start:.33em;inset-inline-end:initial;color:#fff}.emby-checkbox-notext+.checkboxLabel::after{position:absolute;content:"";display:inline-block;height:.54em;width:1.18em;border-left:.18em solid;border-bottom:.18em solid;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);top:50%;left:50%;inset-inline-start:50%;inset-inline-end:initial;color:#fff;margin-top:-.4425em;-webkit-margin-start:-.59em;margin-inline-start:-.59em;box-sizing:border-box}.emby-checkbox+.checkboxLabel::after{display:none}.emby-checkbox:checked+.checkboxLabel::after{display:block}.emby-checkbox-focusoutline{display:none;position:absolute;top:-.94em;left:-.78em;inset-inline-start:-0.78em;inset-inline-end:initial;width:3.4em;height:3.4em;border-radius:100em}.emby-checkbox:focus-visible+.checkboxLabel+.emby-checkbox-focusoutline{display:block}

View File

@@ -0,0 +1 @@
define(["exports","./../../input/keyboard.js"],function(_exports,_keyboard){function onKeyDown(e){var key=_keyboard.default.normalizeKeyFromEvent(e);if("Enter"===key)return e.preventDefault(),e.repeat?void 0:(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})),!1)}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,require(["css!modules/emby-elements/emby-checkbox/emby-checkbox.css","css!tv|modules/emby-elements/emby-checkbox/emby-checkbox_tv.css"]);var EmbyCheckbox=function(_HTMLInputElement){function EmbyCheckbox(){var _this;_this=_HTMLInputElement.call(this)||this;return babelHelpers.possibleConstructorReturn(_this,_this)}return babelHelpers.inherits(EmbyCheckbox,_HTMLInputElement),babelHelpers.createClass(EmbyCheckbox,[{key:"connectedCallback",value:function(){var labelElement;!this.hasAttribute("data-classes")&&(this.classList.add("emby-checkbox"),(labelElement=this.parentNode).classList.add("emby-checkbox-label"),labelElement=labelElement.querySelector("span"))&&(labelElement.classList.add("checkboxLabel"),labelElement.insertAdjacentHTML("afterend",'<div class="emby-checkbox-focusoutline"></div>')),-1!==this.tabIndex&&this.addEventListener("keydown",onKeyDown)}},{key:"disconnectedCallback",value:function(){this.removeEventListener("keydown",onKeyDown)}}])}(babelHelpers.wrapNativeSuper(HTMLInputElement));customElements.define("emby-checkbox",EmbyCheckbox,{extends:"input"}),_exports.default=EmbyCheckbox});

View File

@@ -0,0 +1 @@
.emby-checkbox:focus+.checkboxLabel+.emby-checkbox-focusoutline{display:block}