@public-ui/hydrate 3.0.0-3f7ce4d6fae47ec93967f553e36b3173cbf0ab8d.0 → 3.0.0-5b77407d5176cae7a2828963773736f2e84d442f.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2168 -196
- package/dist/index.mjs +2168 -196
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1450,7 +1450,7 @@ var serverSideConnected = (elm) => {
|
|
|
1450
1450
|
};
|
|
1451
1451
|
|
|
1452
1452
|
// src/runtime/set-value.ts
|
|
1453
|
-
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1453
|
+
var getValue$1 = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1454
1454
|
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1455
1455
|
const hostRef = getHostRef(ref);
|
|
1456
1456
|
if (!hostRef) {
|
|
@@ -1500,7 +1500,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1500
1500
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1501
1501
|
Object.defineProperty(prototype, memberName, {
|
|
1502
1502
|
get() {
|
|
1503
|
-
return getValue(this, memberName);
|
|
1503
|
+
return getValue$1(this, memberName);
|
|
1504
1504
|
},
|
|
1505
1505
|
set(newValue) {
|
|
1506
1506
|
setValue(this, memberName, newValue, cmpMeta);
|
|
@@ -1933,7 +1933,7 @@ function proxyHostElement(elm, cmpMeta) {
|
|
|
1933
1933
|
}
|
|
1934
1934
|
Object.defineProperty(elm, memberName, {
|
|
1935
1935
|
get() {
|
|
1936
|
-
return getValue(this, memberName);
|
|
1936
|
+
return getValue$1(this, memberName);
|
|
1937
1937
|
},
|
|
1938
1938
|
set(newValue) {
|
|
1939
1939
|
setValue(this, memberName, newValue, cmpMeta);
|
|
@@ -2651,9 +2651,9 @@ var loglevel = {exports: {}};
|
|
|
2651
2651
|
}));
|
|
2652
2652
|
}(loglevel));
|
|
2653
2653
|
|
|
2654
|
-
var
|
|
2654
|
+
var m = loglevel.exports;
|
|
2655
2655
|
|
|
2656
|
-
const
|
|
2656
|
+
const a$1={A11yUi:{CSS_STYLE_CACHE:new Map,HYDRATED_HISTORY:[],STYLING_TASK_QUEUE:new Map,Themes:{}}};let h=!1;const O=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,_=t=>typeof t=="string"&&O.test(t),g=t=>{if(_(t)===!1)throw new Error(`[Theming] The theme identifier "${typeof t=="string"?t:""}" (Type: ${typeof t}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},I=(t,e,s,o)=>u$1(t,e,s,o),u$1=(t,e,s,o)=>{o=o??{},o.append=o.append??!1,g(t),h===!1&&(h=!0,m.warn(`[Theming] The theme process is locked. This means that the theme "${t}" should not be patched.
|
|
2657
2657
|
|
|
2658
2658
|
import { register } from 'adopted-style-sheets';
|
|
2659
2659
|
import { defineCustomElements } from '...';
|
|
@@ -2663,7 +2663,7 @@ const M=new Map,Y=[],$=new Map,o$1={A11yUi:{CSS_STYLE_CACHE:M,HYDRATED_HISTORY:Y
|
|
|
2663
2663
|
.then(() => {
|
|
2664
2664
|
// run your app or website
|
|
2665
2665
|
})
|
|
2666
|
-
.catch(console.warn);`)),(typeof
|
|
2666
|
+
.catch(console.warn);`)),(typeof a$1.A11yUi.Themes[t]!="object"||a$1.A11yUi.Themes[t]===null)&&(a$1.A11yUi.Themes[t]={}),o.append&&typeof a$1.A11yUi.Themes[t][e]=="string"?a$1.A11yUi.Themes[t][e]+=s:a$1.A11yUi.Themes[t][e]=s;},P$1=(t,e,s,o)=>p(t,e,s,o),p=(t,e,s,o)=>(g(t),typeof e=="object"&&e!==null&&Object.getOwnPropertyNames(e).forEach(r=>{const n=e[r],i=r.toLowerCase(),c=typeof o?.transformTagName=="function"&&!["GLOBAL","PROPERTIES"].includes(r)?o.transformTagName(i):r;typeof n=="string"&&n.length>0&&u$1(t,c.toUpperCase(),n,s);}),t);const C=new Set,D=/--[^;]+/g,F=/:/;let f=0,w;const Q=(t,e)=>{let s=e.match(D);if(Array.isArray(s)){s=s.filter(r=>F.test(r));const o=document.createElement("style");o.innerHTML=`.${t} {${s.join(";")}}`,document.querySelector("head")?.appendChild(o);}C.add(t);},y=(t,e)=>typeof a$1.A11yUi=="object"&&a$1.A11yUi!==null&&typeof a$1.A11yUi.Themes=="object"&&a$1.A11yUi.Themes!==null&&typeof a$1.A11yUi.Themes[t]=="object"&&a$1.A11yUi.Themes[t]!==null&&typeof a$1.A11yUi.Themes[t][e]=="string"?a$1.A11yUi.Themes[t][e].replace(/\r?\n/g,""):"",q=t=>{for(const e of Array.from(t.childNodes))if(e instanceof HTMLStyleElement&&e.tagName==="STYLE"&&e.dataset.themingFallback===void 0)t.removeChild(e);else break},J=(t,e)=>{try{if(a$1.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const s=[];e.forEach(o=>{const r=new CSSStyleSheet;r.replaceSync(o),s.push(r);}),t.adoptedStyleSheets=s;}catch{[...e].reverse().forEach((o,r)=>{if(typeof o!="string"||o.length===0)return;const n=document.createElement("style");switch(n.dataset.themingFallback="",r){case 4:n.dataset.themingBaseA11y="";break;case 3:n.dataset.themingBaseGlobal="";break;case 2:n.dataset.themingBaseComponent="";break;case 1:n.dataset.themingCustomGlobal="";break;case 0:n.dataset.themingCustomComponent="";break;default:n.dataset.themingUnknown="";break}n.innerHTML=o,t.insertBefore(n,t.firstChild);});}},V=(t,e,s)=>{if(s!==!1){const o=[...Array.from(t.childNodes).filter(n=>n instanceof HTMLStyleElement&&n.tagName==="STYLE")];let r;try{r=[...Array.from(t.adoptedStyleSheets)];}catch{r=[];}s?.mode==="before"?(o.reverse().forEach(n=>e.unshift(n.innerHTML)),r.reverse().forEach(n=>e.unshift(Array.from(n.cssRules).map(i=>i.cssText).join("")))):s?.mode==="after"&&(o.forEach(n=>e.push(n.innerHTML)),r.forEach(n=>e.push(Array.from(n.cssRules).map(i=>i.cssText).join(""))));}},L=(t,e,s)=>{const o=e.name||"default";let r;try{if(t.shadowRoot===null)throw new Error("ShadowRoot is null");r=t.shadowRoot;}catch{r=t;}if(a$1.A11yUi.CSS_STYLE_CACHE.get(o)?.has(t.tagName))v(t,r,a$1.A11yUi.CSS_STYLE_CACHE.get(o)?.get(t.tagName),s);else {const n=y(o,"PROPERTIES"),i=y(o,"GLOBAL"),c=y(o,t.tagName);C.has(o)===!1&&Q(o,i);const d=[n,i,c];V(r,d,e.encroachCss),e.cache===!0&&(a$1.A11yUi.CSS_STYLE_CACHE.has(o)===!1&&a$1.A11yUi.CSS_STYLE_CACHE.set(o,new Map),a$1.A11yUi.CSS_STYLE_CACHE.get(o)?.set(t.tagName,d)),v(t,r,d,s);}},v=(t,e,s,o)=>{q(e),J(e,s),requestAnimationFrame(()=>{t.style.opacity=o;});},W={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1},X={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},j=new MutationObserver(t=>{for(const e of t){const s=e.target;if(s.classList.contains("hydrated")){const o=a$1.A11yUi.STYLING_TASK_QUEUE.get(s);if(o){const{hidingStyleProp:r,themeDetails:n}=o;L(s,n,r),N(s);}j.observe(s,X);}}}),M=new IntersectionObserver(t=>{for(const e of t){const s=e.target;if(e.isIntersecting){if(f===0&&(f=performance.now()),s.classList.contains("hydrated")){const o=a$1.A11yUi.STYLING_TASK_QUEUE.get(s);if(o){const{hidingStyleProp:r,themeDetails:n}=o;L(s,n,r),N(s);}}else j.observe(s,W);M.unobserve(s);}}},{root:null,rootMargin:"15%",threshold:0}),N=t=>{a$1.A11yUi.STYLING_TASK_QUEUE.delete(t),clearTimeout(w),w=setTimeout(()=>{const e=Math.round(performance.now()-f-2500);console.log(`Theming finished for all components in ${e}ms`),f=0;},2500);};
|
|
2667
2667
|
|
|
2668
2668
|
const alertTypeOptions = ['default', 'info', 'success', 'warning', 'error'];
|
|
2669
2669
|
const alertVariantOptions = ['card', 'msg'];
|
|
@@ -2681,7 +2681,7 @@ let EXPERIMENTAL_MODE = false;
|
|
|
2681
2681
|
const getDevMode = () => DEV_MODE === true;
|
|
2682
2682
|
const getExperimentalMode = () => EXPERIMENTAL_MODE === true;
|
|
2683
2683
|
const LOG_STYLE = 'color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000';
|
|
2684
|
-
const mapToArray = (msg) => {
|
|
2684
|
+
const mapToArray$1 = (msg) => {
|
|
2685
2685
|
return Array.isArray(msg) ? msg : [msg];
|
|
2686
2686
|
};
|
|
2687
2687
|
const getLogLabel = (label) => {
|
|
@@ -2706,30 +2706,30 @@ class Logger {
|
|
|
2706
2706
|
}
|
|
2707
2707
|
debug(msg, options) {
|
|
2708
2708
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2709
|
-
console.debug(...getShield(this.label, options), ...mapToArray(msg));
|
|
2709
|
+
console.debug(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2710
2710
|
}
|
|
2711
2711
|
}
|
|
2712
2712
|
info(msg, options) {
|
|
2713
2713
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2714
|
-
console.info(...getShield(this.label, options), ...mapToArray(msg));
|
|
2714
|
+
console.info(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2715
2715
|
}
|
|
2716
2716
|
}
|
|
2717
2717
|
trace(msg, options) {
|
|
2718
2718
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2719
|
-
console.trace(...getShield(this.label, options), ...mapToArray(msg));
|
|
2719
|
+
console.trace(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2720
2720
|
}
|
|
2721
2721
|
}
|
|
2722
2722
|
warn(msg, options) {
|
|
2723
2723
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2724
|
-
console.warn(...getShield(this.label, options), ...mapToArray(msg));
|
|
2724
|
+
console.warn(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2725
2725
|
}
|
|
2726
2726
|
}
|
|
2727
2727
|
error(msg, options) {
|
|
2728
|
-
console.error(...getShield(this.label, options), ...mapToArray(msg));
|
|
2728
|
+
console.error(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2729
2729
|
}
|
|
2730
2730
|
throw(msg, options) {
|
|
2731
2731
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2732
|
-
throw new Error(...getShield(this.label, options), ...mapToArray(msg));
|
|
2732
|
+
throw new Error(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2733
2733
|
}
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
@@ -3197,7 +3197,7 @@ function hsl2rgb(hsl) {
|
|
|
3197
3197
|
|
|
3198
3198
|
var colorRgba$1 = colorRgba;
|
|
3199
3199
|
|
|
3200
|
-
var n=.2126,r$
|
|
3200
|
+
var n=.2126,r$2=.7152,t=.0722,e=1/12.92;function u(n){return Math.pow((n+.055)/1.055,2.4)}function a(a){var i=a[0]/255,c=a[1]/255,o=a[2]/255,s=i<=.03928?i*e:u(i),f=c<=.03928?c*e:u(c),l=o<=.03928?o*e:u(o);return s*n+f*r$2+l*t}function i(n){var r=255;8===(n=n.replace(/^#/,"")).length&&(r=parseInt(n.slice(6,8),16),n=n.substring(0,6)),4===n.length&&(r=parseInt(n.slice(3,4).repeat(2),16),n=n.substring(0,3)),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);var t=parseInt(n,16);return [t>>16,t>>8&255,255&t,r]}function c(n,r){return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function o(n,r){return c(a(n),a(r))}function s$1(n,r){return o(i(n),i(r))}
|
|
3201
3201
|
|
|
3202
3202
|
var rgbaConvert = {exports: {}};
|
|
3203
3203
|
|
|
@@ -3437,7 +3437,7 @@ const calcColorContrast = (baseColor, contrastColor, ratio, dir = 1) => {
|
|
|
3437
3437
|
Math.max(Math.min(Math.round(contrastColor[1] + dir * Math.max(1, contrastColor[1] / 100)), 255), 0),
|
|
3438
3438
|
Math.max(Math.min(Math.round(contrastColor[2] + dir * Math.max(1, contrastColor[2] / 100)), 255), 0),
|
|
3439
3439
|
];
|
|
3440
|
-
const contrast = s(rgba$1.hex(`rgba(${baseColor.join(',')},1)`), rgba$1.hex(`rgba(${color.join(',')},1)`));
|
|
3440
|
+
const contrast = s$1(rgba$1.hex(`rgba(${baseColor.join(',')},1)`), rgba$1.hex(`rgba(${color.join(',')},1)`));
|
|
3441
3441
|
const summe = color[0] + color[1] + color[2];
|
|
3442
3442
|
if (summe === 0 || summe === 765 || contrast > ratio) {
|
|
3443
3443
|
return {
|
|
@@ -3709,9 +3709,9 @@ const koliBriQuerySelector = (selector, node) => querySelector(selector, node ||
|
|
|
3709
3709
|
const koliBriQuerySelectorAll = (selector, node) => querySelectorAll(selector, node || getDocument());
|
|
3710
3710
|
class KoliBriDevHelper {
|
|
3711
3711
|
}
|
|
3712
|
-
KoliBriDevHelper.getCssStyle =
|
|
3712
|
+
KoliBriDevHelper.getCssStyle = y;
|
|
3713
3713
|
KoliBriDevHelper.patchTheme = P$1;
|
|
3714
|
-
KoliBriDevHelper.patchThemeTag =
|
|
3714
|
+
KoliBriDevHelper.patchThemeTag = I;
|
|
3715
3715
|
KoliBriDevHelper.querySelector = koliBriQuerySelector;
|
|
3716
3716
|
KoliBriDevHelper.querySelectorAll = koliBriQuerySelectorAll;
|
|
3717
3717
|
KoliBriDevHelper.stringifyJson = stringifyJson;
|
|
@@ -4496,7 +4496,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
4496
4496
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
4497
4497
|
};
|
|
4498
4498
|
|
|
4499
|
-
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
4499
|
+
function r$1(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r$1(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
|
|
4500
4500
|
|
|
4501
4501
|
let KolAlertWcTag = 'kol-alert-wc';
|
|
4502
4502
|
let KolAvatarWcTag = 'kol-avatar-wc';
|
|
@@ -4722,7 +4722,7 @@ class KolAccordion {
|
|
|
4722
4722
|
}; }
|
|
4723
4723
|
}
|
|
4724
4724
|
|
|
4725
|
-
const defaultStyleCss$K = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
4725
|
+
const defaultStyleCss$K = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-alert {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}";
|
|
4726
4726
|
var KolAlertDefaultStyle0 = defaultStyleCss$K;
|
|
4727
4727
|
|
|
4728
4728
|
class KolAlert {
|
|
@@ -4966,10 +4966,73 @@ if (processEnv === 'test') {
|
|
|
4966
4966
|
translate = (key) => key;
|
|
4967
4967
|
}
|
|
4968
4968
|
|
|
4969
|
+
/**
|
|
4970
|
+
* BEM class name factory.
|
|
4971
|
+
*
|
|
4972
|
+
* @typedef {Function} Bem
|
|
4973
|
+
* @param {String|Object} [elementOrMods] Element name or hash object with mods
|
|
4974
|
+
* @param {Object} [mods] Hash object with mods
|
|
4975
|
+
* @returns {String}
|
|
4976
|
+
*/
|
|
4977
|
+
|
|
4978
|
+
/**
|
|
4979
|
+
* Returns BEM class name factory.
|
|
4980
|
+
*
|
|
4981
|
+
* @param {String} componentName Block name
|
|
4982
|
+
* @returns {Bem}
|
|
4983
|
+
*/
|
|
4984
|
+
var easyBem = function bem(componentName) {
|
|
4985
|
+
return function (elementOrMods, mods) {
|
|
4986
|
+
if (!elementOrMods) {
|
|
4987
|
+
return componentName;
|
|
4988
|
+
}
|
|
4989
|
+
|
|
4990
|
+
var element;
|
|
4991
|
+
|
|
4992
|
+
if (typeof elementOrMods === 'string') {
|
|
4993
|
+
element = elementOrMods;
|
|
4994
|
+
} else {
|
|
4995
|
+
mods = elementOrMods;
|
|
4996
|
+
}
|
|
4997
|
+
|
|
4998
|
+
var base = componentName;
|
|
4999
|
+
if (element) {
|
|
5000
|
+
base += '__' + element;
|
|
5001
|
+
}
|
|
5002
|
+
|
|
5003
|
+
return base + (
|
|
5004
|
+
mods
|
|
5005
|
+
? Object.keys(mods).reduce(function (result, name) {
|
|
5006
|
+
var value = mods[name];
|
|
5007
|
+
|
|
5008
|
+
if (value) {
|
|
5009
|
+
result += ' ' + (
|
|
5010
|
+
typeof value === 'boolean'
|
|
5011
|
+
? (base + '--' + name)
|
|
5012
|
+
: (base + '--' + name + '_' + value)
|
|
5013
|
+
);
|
|
5014
|
+
}
|
|
5015
|
+
|
|
5016
|
+
return result;
|
|
5017
|
+
}, '')
|
|
5018
|
+
: ''
|
|
5019
|
+
);
|
|
5020
|
+
};
|
|
5021
|
+
};
|
|
5022
|
+
|
|
5023
|
+
var r = easyBem;
|
|
5024
|
+
|
|
5025
|
+
function s(){const e=new Map;return (t,n,o)=>{try{return e.get(t)(n,o)}catch{return e.set(t,r(t)).get(t)(n,o)}}}
|
|
5026
|
+
|
|
5027
|
+
const bem$1 = s();
|
|
5028
|
+
const BEM_CLASS_ALERT__CLOSER = bem$1('kol-alert', 'closer');
|
|
5029
|
+
const BEM_CLASS_ALERT__CONTENT = bem$1('kol-alert', 'content');
|
|
5030
|
+
const BEM_CLASS_ALERT__ICON = bem$1('kol-alert', 'icon');
|
|
5031
|
+
|
|
4969
5032
|
const Icon = ({ ariaLabel, icon }) => {
|
|
4970
5033
|
return (hAsync(Fragment, null,
|
|
4971
5034
|
hAsync("span", { class: "visually-hidden" }, ariaLabel),
|
|
4972
|
-
hAsync(KolIconTag, { class:
|
|
5035
|
+
hAsync(KolIconTag, { class: BEM_CLASS_ALERT__ICON, _label: "", _icons: icon })));
|
|
4973
5036
|
};
|
|
4974
5037
|
const AlertIcon = ({ type, label }) => {
|
|
4975
5038
|
switch (type) {
|
|
@@ -4989,7 +5052,7 @@ var AlertIcon$1 = AlertIcon;
|
|
|
4989
5052
|
|
|
4990
5053
|
const KolAlertFc = (props, children) => {
|
|
4991
5054
|
var _a, _b;
|
|
4992
|
-
const { class: classNames = {}, type = 'default', variant = 'msg',
|
|
5055
|
+
const { class: classNames = {}, alert = false, hasCloser = false, label, level = 0, type = 'default', variant = 'msg', onAlertTimeout, onCloserClick } = props, other = __rest(props, ["class", "alert", "hasCloser", "label", "level", "type", "variant", "onAlertTimeout", "onCloserClick"]);
|
|
4993
5056
|
if (alert) {
|
|
4994
5057
|
if ((_a = navigator.userActivation) === null || _a === void 0 ? void 0 : _a.hasBeenActive) {
|
|
4995
5058
|
(_b = navigator === null || navigator === void 0 ? void 0 : navigator.vibrate) === null || _b === void 0 ? void 0 : _b.call(navigator, [100, 75, 100, 75, 100]);
|
|
@@ -4998,19 +5061,27 @@ const KolAlertFc = (props, children) => {
|
|
|
4998
5061
|
onAlertTimeout === null || onAlertTimeout === void 0 ? void 0 : onAlertTimeout();
|
|
4999
5062
|
}, 10000);
|
|
5000
5063
|
}
|
|
5001
|
-
const
|
|
5064
|
+
const BEM_CLASS_ROOT = bem$1('kol-alert', {
|
|
5065
|
+
hasCloser: !!hasCloser,
|
|
5066
|
+
[`type-${type}`]: true,
|
|
5067
|
+
[`variant-${variant}`]: true,
|
|
5068
|
+
});
|
|
5069
|
+
const BEM_CLASS__HEADING = bem$1('kol-alert', 'heading', {
|
|
5070
|
+
[`h${level}`]: true,
|
|
5071
|
+
});
|
|
5072
|
+
const rootProps = Object.assign({ class: clsx(classNames, BEM_CLASS_ROOT), role: alert ? (type === 'error' ? 'alert' : 'status') : undefined }, other);
|
|
5002
5073
|
return (hAsync("div", Object.assign({}, rootProps),
|
|
5003
5074
|
hAsync("div", { class: "kol-alert__container" },
|
|
5004
5075
|
hAsync(AlertIcon$1, { label: label, type: type }),
|
|
5005
5076
|
hAsync("div", { class: "kol-alert__container-content" },
|
|
5006
|
-
label
|
|
5007
|
-
variant === 'msg' && hAsync("
|
|
5008
|
-
hasCloser && (hAsync(KolButtonWcTag, { class:
|
|
5077
|
+
label && (hAsync(KolHeadingFc$1, { class: BEM_CLASS__HEADING, level: level, id: "heading" }, label)),
|
|
5078
|
+
variant === 'msg' && (hAsync("span", { class: BEM_CLASS_ALERT__CONTENT, "aria-describedby": label ? 'heading' : undefined }, children))),
|
|
5079
|
+
hasCloser && (hAsync(KolButtonWcTag, { class: BEM_CLASS_ALERT__CLOSER, "data-testid": "alert-close-button", _ariaDescription: (label === null || label === void 0 ? void 0 : label.trim()) || '', _hideLabel: true, _icons: {
|
|
5009
5080
|
left: {
|
|
5010
5081
|
icon: 'codicon codicon-close',
|
|
5011
5082
|
},
|
|
5012
5083
|
}, _label: translate('kol-close-alert'), _on: { onClick: onCloserClick }, _tooltipAlign: "left" }))),
|
|
5013
|
-
variant === 'card' && hAsync("div", { class: "
|
|
5084
|
+
variant === 'card' && (hAsync("div", { class: BEM_CLASS_ALERT__CONTENT, "aria-describedby": label ? 'heading' : undefined }, children))));
|
|
5014
5085
|
};
|
|
5015
5086
|
var KolAlertFc$1 = KolAlertFc;
|
|
5016
5087
|
|
|
@@ -5234,175 +5305,2006 @@ var Symbol = root$1.Symbol;
|
|
|
5234
5305
|
var Symbol$1 = Symbol;
|
|
5235
5306
|
|
|
5236
5307
|
/** Used for built-in method references. */
|
|
5237
|
-
var objectProto$
|
|
5308
|
+
var objectProto$b = Object.prototype;
|
|
5309
|
+
|
|
5310
|
+
/** Used to check objects for own properties. */
|
|
5311
|
+
var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
|
|
5312
|
+
|
|
5313
|
+
/**
|
|
5314
|
+
* Used to resolve the
|
|
5315
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
5316
|
+
* of values.
|
|
5317
|
+
*/
|
|
5318
|
+
var nativeObjectToString$1 = objectProto$b.toString;
|
|
5319
|
+
|
|
5320
|
+
/** Built-in value references. */
|
|
5321
|
+
var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
5322
|
+
|
|
5323
|
+
/**
|
|
5324
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
5325
|
+
*
|
|
5326
|
+
* @private
|
|
5327
|
+
* @param {*} value The value to query.
|
|
5328
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
5329
|
+
*/
|
|
5330
|
+
function getRawTag(value) {
|
|
5331
|
+
var isOwn = hasOwnProperty$8.call(value, symToStringTag$1),
|
|
5332
|
+
tag = value[symToStringTag$1];
|
|
5333
|
+
|
|
5334
|
+
try {
|
|
5335
|
+
value[symToStringTag$1] = undefined;
|
|
5336
|
+
var unmasked = true;
|
|
5337
|
+
} catch (e) {}
|
|
5338
|
+
|
|
5339
|
+
var result = nativeObjectToString$1.call(value);
|
|
5340
|
+
if (unmasked) {
|
|
5341
|
+
if (isOwn) {
|
|
5342
|
+
value[symToStringTag$1] = tag;
|
|
5343
|
+
} else {
|
|
5344
|
+
delete value[symToStringTag$1];
|
|
5345
|
+
}
|
|
5346
|
+
}
|
|
5347
|
+
return result;
|
|
5348
|
+
}
|
|
5349
|
+
|
|
5350
|
+
/** Used for built-in method references. */
|
|
5351
|
+
var objectProto$a = Object.prototype;
|
|
5352
|
+
|
|
5353
|
+
/**
|
|
5354
|
+
* Used to resolve the
|
|
5355
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
5356
|
+
* of values.
|
|
5357
|
+
*/
|
|
5358
|
+
var nativeObjectToString = objectProto$a.toString;
|
|
5359
|
+
|
|
5360
|
+
/**
|
|
5361
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
5362
|
+
*
|
|
5363
|
+
* @private
|
|
5364
|
+
* @param {*} value The value to convert.
|
|
5365
|
+
* @returns {string} Returns the converted string.
|
|
5366
|
+
*/
|
|
5367
|
+
function objectToString(value) {
|
|
5368
|
+
return nativeObjectToString.call(value);
|
|
5369
|
+
}
|
|
5370
|
+
|
|
5371
|
+
/** `Object#toString` result references. */
|
|
5372
|
+
var nullTag = '[object Null]',
|
|
5373
|
+
undefinedTag = '[object Undefined]';
|
|
5374
|
+
|
|
5375
|
+
/** Built-in value references. */
|
|
5376
|
+
var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
5377
|
+
|
|
5378
|
+
/**
|
|
5379
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
5380
|
+
*
|
|
5381
|
+
* @private
|
|
5382
|
+
* @param {*} value The value to query.
|
|
5383
|
+
* @returns {string} Returns the `toStringTag`.
|
|
5384
|
+
*/
|
|
5385
|
+
function baseGetTag(value) {
|
|
5386
|
+
if (value == null) {
|
|
5387
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
5388
|
+
}
|
|
5389
|
+
return (symToStringTag && symToStringTag in Object(value))
|
|
5390
|
+
? getRawTag(value)
|
|
5391
|
+
: objectToString(value);
|
|
5392
|
+
}
|
|
5393
|
+
|
|
5394
|
+
/**
|
|
5395
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
5396
|
+
* and has a `typeof` result of "object".
|
|
5397
|
+
*
|
|
5398
|
+
* @static
|
|
5399
|
+
* @memberOf _
|
|
5400
|
+
* @since 4.0.0
|
|
5401
|
+
* @category Lang
|
|
5402
|
+
* @param {*} value The value to check.
|
|
5403
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
5404
|
+
* @example
|
|
5405
|
+
*
|
|
5406
|
+
* _.isObjectLike({});
|
|
5407
|
+
* // => true
|
|
5408
|
+
*
|
|
5409
|
+
* _.isObjectLike([1, 2, 3]);
|
|
5410
|
+
* // => true
|
|
5411
|
+
*
|
|
5412
|
+
* _.isObjectLike(_.noop);
|
|
5413
|
+
* // => false
|
|
5414
|
+
*
|
|
5415
|
+
* _.isObjectLike(null);
|
|
5416
|
+
* // => false
|
|
5417
|
+
*/
|
|
5418
|
+
function isObjectLike(value) {
|
|
5419
|
+
return value != null && typeof value == 'object';
|
|
5420
|
+
}
|
|
5421
|
+
|
|
5422
|
+
/**
|
|
5423
|
+
* Checks if `value` is classified as an `Array` object.
|
|
5424
|
+
*
|
|
5425
|
+
* @static
|
|
5426
|
+
* @memberOf _
|
|
5427
|
+
* @since 0.1.0
|
|
5428
|
+
* @category Lang
|
|
5429
|
+
* @param {*} value The value to check.
|
|
5430
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
5431
|
+
* @example
|
|
5432
|
+
*
|
|
5433
|
+
* _.isArray([1, 2, 3]);
|
|
5434
|
+
* // => true
|
|
5435
|
+
*
|
|
5436
|
+
* _.isArray(document.body.children);
|
|
5437
|
+
* // => false
|
|
5438
|
+
*
|
|
5439
|
+
* _.isArray('abc');
|
|
5440
|
+
* // => false
|
|
5441
|
+
*
|
|
5442
|
+
* _.isArray(_.noop);
|
|
5443
|
+
* // => false
|
|
5444
|
+
*/
|
|
5445
|
+
var isArray = Array.isArray;
|
|
5446
|
+
|
|
5447
|
+
var isArray$1 = isArray;
|
|
5448
|
+
|
|
5449
|
+
/**
|
|
5450
|
+
* Checks if `value` is the
|
|
5451
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
5452
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
5453
|
+
*
|
|
5454
|
+
* @static
|
|
5455
|
+
* @memberOf _
|
|
5456
|
+
* @since 0.1.0
|
|
5457
|
+
* @category Lang
|
|
5458
|
+
* @param {*} value The value to check.
|
|
5459
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
5460
|
+
* @example
|
|
5461
|
+
*
|
|
5462
|
+
* _.isObject({});
|
|
5463
|
+
* // => true
|
|
5464
|
+
*
|
|
5465
|
+
* _.isObject([1, 2, 3]);
|
|
5466
|
+
* // => true
|
|
5467
|
+
*
|
|
5468
|
+
* _.isObject(_.noop);
|
|
5469
|
+
* // => true
|
|
5470
|
+
*
|
|
5471
|
+
* _.isObject(null);
|
|
5472
|
+
* // => false
|
|
5473
|
+
*/
|
|
5474
|
+
function isObject$1(value) {
|
|
5475
|
+
var type = typeof value;
|
|
5476
|
+
return value != null && (type == 'object' || type == 'function');
|
|
5477
|
+
}
|
|
5478
|
+
|
|
5479
|
+
/** `Object#toString` result references. */
|
|
5480
|
+
var asyncTag = '[object AsyncFunction]',
|
|
5481
|
+
funcTag$1 = '[object Function]',
|
|
5482
|
+
genTag = '[object GeneratorFunction]',
|
|
5483
|
+
proxyTag = '[object Proxy]';
|
|
5484
|
+
|
|
5485
|
+
/**
|
|
5486
|
+
* Checks if `value` is classified as a `Function` object.
|
|
5487
|
+
*
|
|
5488
|
+
* @static
|
|
5489
|
+
* @memberOf _
|
|
5490
|
+
* @since 0.1.0
|
|
5491
|
+
* @category Lang
|
|
5492
|
+
* @param {*} value The value to check.
|
|
5493
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
5494
|
+
* @example
|
|
5495
|
+
*
|
|
5496
|
+
* _.isFunction(_);
|
|
5497
|
+
* // => true
|
|
5498
|
+
*
|
|
5499
|
+
* _.isFunction(/abc/);
|
|
5500
|
+
* // => false
|
|
5501
|
+
*/
|
|
5502
|
+
function isFunction$1(value) {
|
|
5503
|
+
if (!isObject$1(value)) {
|
|
5504
|
+
return false;
|
|
5505
|
+
}
|
|
5506
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
5507
|
+
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
5508
|
+
var tag = baseGetTag(value);
|
|
5509
|
+
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
5510
|
+
}
|
|
5511
|
+
|
|
5512
|
+
/** Used to detect overreaching core-js shims. */
|
|
5513
|
+
var coreJsData = root$1['__core-js_shared__'];
|
|
5514
|
+
|
|
5515
|
+
var coreJsData$1 = coreJsData;
|
|
5516
|
+
|
|
5517
|
+
/** Used to detect methods masquerading as native. */
|
|
5518
|
+
var maskSrcKey = (function() {
|
|
5519
|
+
var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || '');
|
|
5520
|
+
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
5521
|
+
}());
|
|
5522
|
+
|
|
5523
|
+
/**
|
|
5524
|
+
* Checks if `func` has its source masked.
|
|
5525
|
+
*
|
|
5526
|
+
* @private
|
|
5527
|
+
* @param {Function} func The function to check.
|
|
5528
|
+
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
5529
|
+
*/
|
|
5530
|
+
function isMasked(func) {
|
|
5531
|
+
return !!maskSrcKey && (maskSrcKey in func);
|
|
5532
|
+
}
|
|
5533
|
+
|
|
5534
|
+
/** Used for built-in method references. */
|
|
5535
|
+
var funcProto$1 = Function.prototype;
|
|
5536
|
+
|
|
5537
|
+
/** Used to resolve the decompiled source of functions. */
|
|
5538
|
+
var funcToString$1 = funcProto$1.toString;
|
|
5539
|
+
|
|
5540
|
+
/**
|
|
5541
|
+
* Converts `func` to its source code.
|
|
5542
|
+
*
|
|
5543
|
+
* @private
|
|
5544
|
+
* @param {Function} func The function to convert.
|
|
5545
|
+
* @returns {string} Returns the source code.
|
|
5546
|
+
*/
|
|
5547
|
+
function toSource(func) {
|
|
5548
|
+
if (func != null) {
|
|
5549
|
+
try {
|
|
5550
|
+
return funcToString$1.call(func);
|
|
5551
|
+
} catch (e) {}
|
|
5552
|
+
try {
|
|
5553
|
+
return (func + '');
|
|
5554
|
+
} catch (e) {}
|
|
5555
|
+
}
|
|
5556
|
+
return '';
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5559
|
+
/**
|
|
5560
|
+
* Used to match `RegExp`
|
|
5561
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
5562
|
+
*/
|
|
5563
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
5564
|
+
|
|
5565
|
+
/** Used to detect host constructors (Safari). */
|
|
5566
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
5567
|
+
|
|
5568
|
+
/** Used for built-in method references. */
|
|
5569
|
+
var funcProto = Function.prototype,
|
|
5570
|
+
objectProto$9 = Object.prototype;
|
|
5571
|
+
|
|
5572
|
+
/** Used to resolve the decompiled source of functions. */
|
|
5573
|
+
var funcToString = funcProto.toString;
|
|
5574
|
+
|
|
5575
|
+
/** Used to check objects for own properties. */
|
|
5576
|
+
var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
|
|
5577
|
+
|
|
5578
|
+
/** Used to detect if a method is native. */
|
|
5579
|
+
var reIsNative = RegExp('^' +
|
|
5580
|
+
funcToString.call(hasOwnProperty$7).replace(reRegExpChar, '\\$&')
|
|
5581
|
+
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
5582
|
+
);
|
|
5583
|
+
|
|
5584
|
+
/**
|
|
5585
|
+
* The base implementation of `_.isNative` without bad shim checks.
|
|
5586
|
+
*
|
|
5587
|
+
* @private
|
|
5588
|
+
* @param {*} value The value to check.
|
|
5589
|
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
5590
|
+
* else `false`.
|
|
5591
|
+
*/
|
|
5592
|
+
function baseIsNative(value) {
|
|
5593
|
+
if (!isObject$1(value) || isMasked(value)) {
|
|
5594
|
+
return false;
|
|
5595
|
+
}
|
|
5596
|
+
var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
|
|
5597
|
+
return pattern.test(toSource(value));
|
|
5598
|
+
}
|
|
5599
|
+
|
|
5600
|
+
/**
|
|
5601
|
+
* Gets the value at `key` of `object`.
|
|
5602
|
+
*
|
|
5603
|
+
* @private
|
|
5604
|
+
* @param {Object} [object] The object to query.
|
|
5605
|
+
* @param {string} key The key of the property to get.
|
|
5606
|
+
* @returns {*} Returns the property value.
|
|
5607
|
+
*/
|
|
5608
|
+
function getValue(object, key) {
|
|
5609
|
+
return object == null ? undefined : object[key];
|
|
5610
|
+
}
|
|
5611
|
+
|
|
5612
|
+
/**
|
|
5613
|
+
* Gets the native function at `key` of `object`.
|
|
5614
|
+
*
|
|
5615
|
+
* @private
|
|
5616
|
+
* @param {Object} object The object to query.
|
|
5617
|
+
* @param {string} key The key of the method to get.
|
|
5618
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
5619
|
+
*/
|
|
5620
|
+
function getNative(object, key) {
|
|
5621
|
+
var value = getValue(object, key);
|
|
5622
|
+
return baseIsNative(value) ? value : undefined;
|
|
5623
|
+
}
|
|
5624
|
+
|
|
5625
|
+
/* Built-in method references that are verified to be native. */
|
|
5626
|
+
var WeakMap$1 = getNative(root$1, 'WeakMap');
|
|
5627
|
+
|
|
5628
|
+
var WeakMap$2 = WeakMap$1;
|
|
5629
|
+
|
|
5630
|
+
/** Used as references for various `Number` constants. */
|
|
5631
|
+
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
5632
|
+
|
|
5633
|
+
/** Used to detect unsigned integer values. */
|
|
5634
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
5635
|
+
|
|
5636
|
+
/**
|
|
5637
|
+
* Checks if `value` is a valid array-like index.
|
|
5638
|
+
*
|
|
5639
|
+
* @private
|
|
5640
|
+
* @param {*} value The value to check.
|
|
5641
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
5642
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
5643
|
+
*/
|
|
5644
|
+
function isIndex(value, length) {
|
|
5645
|
+
var type = typeof value;
|
|
5646
|
+
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
5647
|
+
|
|
5648
|
+
return !!length &&
|
|
5649
|
+
(type == 'number' ||
|
|
5650
|
+
(type != 'symbol' && reIsUint.test(value))) &&
|
|
5651
|
+
(value > -1 && value % 1 == 0 && value < length);
|
|
5652
|
+
}
|
|
5653
|
+
|
|
5654
|
+
/**
|
|
5655
|
+
* Performs a
|
|
5656
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
5657
|
+
* comparison between two values to determine if they are equivalent.
|
|
5658
|
+
*
|
|
5659
|
+
* @static
|
|
5660
|
+
* @memberOf _
|
|
5661
|
+
* @since 4.0.0
|
|
5662
|
+
* @category Lang
|
|
5663
|
+
* @param {*} value The value to compare.
|
|
5664
|
+
* @param {*} other The other value to compare.
|
|
5665
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
5666
|
+
* @example
|
|
5667
|
+
*
|
|
5668
|
+
* var object = { 'a': 1 };
|
|
5669
|
+
* var other = { 'a': 1 };
|
|
5670
|
+
*
|
|
5671
|
+
* _.eq(object, object);
|
|
5672
|
+
* // => true
|
|
5673
|
+
*
|
|
5674
|
+
* _.eq(object, other);
|
|
5675
|
+
* // => false
|
|
5676
|
+
*
|
|
5677
|
+
* _.eq('a', 'a');
|
|
5678
|
+
* // => true
|
|
5679
|
+
*
|
|
5680
|
+
* _.eq('a', Object('a'));
|
|
5681
|
+
* // => false
|
|
5682
|
+
*
|
|
5683
|
+
* _.eq(NaN, NaN);
|
|
5684
|
+
* // => true
|
|
5685
|
+
*/
|
|
5686
|
+
function eq(value, other) {
|
|
5687
|
+
return value === other || (value !== value && other !== other);
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5690
|
+
/** Used as references for various `Number` constants. */
|
|
5691
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
5692
|
+
|
|
5693
|
+
/**
|
|
5694
|
+
* Checks if `value` is a valid array-like length.
|
|
5695
|
+
*
|
|
5696
|
+
* **Note:** This method is loosely based on
|
|
5697
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
5698
|
+
*
|
|
5699
|
+
* @static
|
|
5700
|
+
* @memberOf _
|
|
5701
|
+
* @since 4.0.0
|
|
5702
|
+
* @category Lang
|
|
5703
|
+
* @param {*} value The value to check.
|
|
5704
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
5705
|
+
* @example
|
|
5706
|
+
*
|
|
5707
|
+
* _.isLength(3);
|
|
5708
|
+
* // => true
|
|
5709
|
+
*
|
|
5710
|
+
* _.isLength(Number.MIN_VALUE);
|
|
5711
|
+
* // => false
|
|
5712
|
+
*
|
|
5713
|
+
* _.isLength(Infinity);
|
|
5714
|
+
* // => false
|
|
5715
|
+
*
|
|
5716
|
+
* _.isLength('3');
|
|
5717
|
+
* // => false
|
|
5718
|
+
*/
|
|
5719
|
+
function isLength(value) {
|
|
5720
|
+
return typeof value == 'number' &&
|
|
5721
|
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
5722
|
+
}
|
|
5723
|
+
|
|
5724
|
+
/**
|
|
5725
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
5726
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
5727
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
5728
|
+
*
|
|
5729
|
+
* @static
|
|
5730
|
+
* @memberOf _
|
|
5731
|
+
* @since 4.0.0
|
|
5732
|
+
* @category Lang
|
|
5733
|
+
* @param {*} value The value to check.
|
|
5734
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
5735
|
+
* @example
|
|
5736
|
+
*
|
|
5737
|
+
* _.isArrayLike([1, 2, 3]);
|
|
5738
|
+
* // => true
|
|
5739
|
+
*
|
|
5740
|
+
* _.isArrayLike(document.body.children);
|
|
5741
|
+
* // => true
|
|
5742
|
+
*
|
|
5743
|
+
* _.isArrayLike('abc');
|
|
5744
|
+
* // => true
|
|
5745
|
+
*
|
|
5746
|
+
* _.isArrayLike(_.noop);
|
|
5747
|
+
* // => false
|
|
5748
|
+
*/
|
|
5749
|
+
function isArrayLike(value) {
|
|
5750
|
+
return value != null && isLength(value.length) && !isFunction$1(value);
|
|
5751
|
+
}
|
|
5752
|
+
|
|
5753
|
+
/** Used for built-in method references. */
|
|
5754
|
+
var objectProto$8 = Object.prototype;
|
|
5755
|
+
|
|
5756
|
+
/**
|
|
5757
|
+
* Checks if `value` is likely a prototype object.
|
|
5758
|
+
*
|
|
5759
|
+
* @private
|
|
5760
|
+
* @param {*} value The value to check.
|
|
5761
|
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
5762
|
+
*/
|
|
5763
|
+
function isPrototype(value) {
|
|
5764
|
+
var Ctor = value && value.constructor,
|
|
5765
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$8;
|
|
5766
|
+
|
|
5767
|
+
return value === proto;
|
|
5768
|
+
}
|
|
5769
|
+
|
|
5770
|
+
/**
|
|
5771
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
5772
|
+
* or max array length checks.
|
|
5773
|
+
*
|
|
5774
|
+
* @private
|
|
5775
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
5776
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
5777
|
+
* @returns {Array} Returns the array of results.
|
|
5778
|
+
*/
|
|
5779
|
+
function baseTimes(n, iteratee) {
|
|
5780
|
+
var index = -1,
|
|
5781
|
+
result = Array(n);
|
|
5782
|
+
|
|
5783
|
+
while (++index < n) {
|
|
5784
|
+
result[index] = iteratee(index);
|
|
5785
|
+
}
|
|
5786
|
+
return result;
|
|
5787
|
+
}
|
|
5788
|
+
|
|
5789
|
+
/** `Object#toString` result references. */
|
|
5790
|
+
var argsTag$2 = '[object Arguments]';
|
|
5791
|
+
|
|
5792
|
+
/**
|
|
5793
|
+
* The base implementation of `_.isArguments`.
|
|
5794
|
+
*
|
|
5795
|
+
* @private
|
|
5796
|
+
* @param {*} value The value to check.
|
|
5797
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
5798
|
+
*/
|
|
5799
|
+
function baseIsArguments(value) {
|
|
5800
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag$2;
|
|
5801
|
+
}
|
|
5802
|
+
|
|
5803
|
+
/** Used for built-in method references. */
|
|
5804
|
+
var objectProto$7 = Object.prototype;
|
|
5805
|
+
|
|
5806
|
+
/** Used to check objects for own properties. */
|
|
5807
|
+
var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
|
|
5808
|
+
|
|
5809
|
+
/** Built-in value references. */
|
|
5810
|
+
var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
|
|
5811
|
+
|
|
5812
|
+
/**
|
|
5813
|
+
* Checks if `value` is likely an `arguments` object.
|
|
5814
|
+
*
|
|
5815
|
+
* @static
|
|
5816
|
+
* @memberOf _
|
|
5817
|
+
* @since 0.1.0
|
|
5818
|
+
* @category Lang
|
|
5819
|
+
* @param {*} value The value to check.
|
|
5820
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
5821
|
+
* else `false`.
|
|
5822
|
+
* @example
|
|
5823
|
+
*
|
|
5824
|
+
* _.isArguments(function() { return arguments; }());
|
|
5825
|
+
* // => true
|
|
5826
|
+
*
|
|
5827
|
+
* _.isArguments([1, 2, 3]);
|
|
5828
|
+
* // => false
|
|
5829
|
+
*/
|
|
5830
|
+
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
5831
|
+
return isObjectLike(value) && hasOwnProperty$6.call(value, 'callee') &&
|
|
5832
|
+
!propertyIsEnumerable$1.call(value, 'callee');
|
|
5833
|
+
};
|
|
5834
|
+
|
|
5835
|
+
var isArguments$1 = isArguments;
|
|
5836
|
+
|
|
5837
|
+
/**
|
|
5838
|
+
* This method returns `false`.
|
|
5839
|
+
*
|
|
5840
|
+
* @static
|
|
5841
|
+
* @memberOf _
|
|
5842
|
+
* @since 4.13.0
|
|
5843
|
+
* @category Util
|
|
5844
|
+
* @returns {boolean} Returns `false`.
|
|
5845
|
+
* @example
|
|
5846
|
+
*
|
|
5847
|
+
* _.times(2, _.stubFalse);
|
|
5848
|
+
* // => [false, false]
|
|
5849
|
+
*/
|
|
5850
|
+
function stubFalse() {
|
|
5851
|
+
return false;
|
|
5852
|
+
}
|
|
5853
|
+
|
|
5854
|
+
/** Detect free variable `exports`. */
|
|
5855
|
+
var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
5856
|
+
|
|
5857
|
+
/** Detect free variable `module`. */
|
|
5858
|
+
var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
|
|
5859
|
+
|
|
5860
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
5861
|
+
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
5862
|
+
|
|
5863
|
+
/** Built-in value references. */
|
|
5864
|
+
var Buffer = moduleExports$1 ? root$1.Buffer : undefined;
|
|
5865
|
+
|
|
5866
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
5867
|
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
5868
|
+
|
|
5869
|
+
/**
|
|
5870
|
+
* Checks if `value` is a buffer.
|
|
5871
|
+
*
|
|
5872
|
+
* @static
|
|
5873
|
+
* @memberOf _
|
|
5874
|
+
* @since 4.3.0
|
|
5875
|
+
* @category Lang
|
|
5876
|
+
* @param {*} value The value to check.
|
|
5877
|
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
5878
|
+
* @example
|
|
5879
|
+
*
|
|
5880
|
+
* _.isBuffer(new Buffer(2));
|
|
5881
|
+
* // => true
|
|
5882
|
+
*
|
|
5883
|
+
* _.isBuffer(new Uint8Array(2));
|
|
5884
|
+
* // => false
|
|
5885
|
+
*/
|
|
5886
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
|
5887
|
+
|
|
5888
|
+
var isBuffer$1 = isBuffer;
|
|
5889
|
+
|
|
5890
|
+
/** `Object#toString` result references. */
|
|
5891
|
+
var argsTag$1 = '[object Arguments]',
|
|
5892
|
+
arrayTag$1 = '[object Array]',
|
|
5893
|
+
boolTag$1 = '[object Boolean]',
|
|
5894
|
+
dateTag$1 = '[object Date]',
|
|
5895
|
+
errorTag$1 = '[object Error]',
|
|
5896
|
+
funcTag = '[object Function]',
|
|
5897
|
+
mapTag$2 = '[object Map]',
|
|
5898
|
+
numberTag$1 = '[object Number]',
|
|
5899
|
+
objectTag$2 = '[object Object]',
|
|
5900
|
+
regexpTag$1 = '[object RegExp]',
|
|
5901
|
+
setTag$2 = '[object Set]',
|
|
5902
|
+
stringTag$2 = '[object String]',
|
|
5903
|
+
weakMapTag$1 = '[object WeakMap]';
|
|
5904
|
+
|
|
5905
|
+
var arrayBufferTag$1 = '[object ArrayBuffer]',
|
|
5906
|
+
dataViewTag$2 = '[object DataView]',
|
|
5907
|
+
float32Tag = '[object Float32Array]',
|
|
5908
|
+
float64Tag = '[object Float64Array]',
|
|
5909
|
+
int8Tag = '[object Int8Array]',
|
|
5910
|
+
int16Tag = '[object Int16Array]',
|
|
5911
|
+
int32Tag = '[object Int32Array]',
|
|
5912
|
+
uint8Tag = '[object Uint8Array]',
|
|
5913
|
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
5914
|
+
uint16Tag = '[object Uint16Array]',
|
|
5915
|
+
uint32Tag = '[object Uint32Array]';
|
|
5916
|
+
|
|
5917
|
+
/** Used to identify `toStringTag` values of typed arrays. */
|
|
5918
|
+
var typedArrayTags = {};
|
|
5919
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
|
5920
|
+
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
|
5921
|
+
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
|
5922
|
+
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
|
5923
|
+
typedArrayTags[uint32Tag] = true;
|
|
5924
|
+
typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] =
|
|
5925
|
+
typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] =
|
|
5926
|
+
typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] =
|
|
5927
|
+
typedArrayTags[errorTag$1] = typedArrayTags[funcTag] =
|
|
5928
|
+
typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] =
|
|
5929
|
+
typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] =
|
|
5930
|
+
typedArrayTags[setTag$2] = typedArrayTags[stringTag$2] =
|
|
5931
|
+
typedArrayTags[weakMapTag$1] = false;
|
|
5932
|
+
|
|
5933
|
+
/**
|
|
5934
|
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
5935
|
+
*
|
|
5936
|
+
* @private
|
|
5937
|
+
* @param {*} value The value to check.
|
|
5938
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
5939
|
+
*/
|
|
5940
|
+
function baseIsTypedArray(value) {
|
|
5941
|
+
return isObjectLike(value) &&
|
|
5942
|
+
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
5943
|
+
}
|
|
5944
|
+
|
|
5945
|
+
/**
|
|
5946
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
5947
|
+
*
|
|
5948
|
+
* @private
|
|
5949
|
+
* @param {Function} func The function to cap arguments for.
|
|
5950
|
+
* @returns {Function} Returns the new capped function.
|
|
5951
|
+
*/
|
|
5952
|
+
function baseUnary(func) {
|
|
5953
|
+
return function(value) {
|
|
5954
|
+
return func(value);
|
|
5955
|
+
};
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
/** Detect free variable `exports`. */
|
|
5959
|
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
5960
|
+
|
|
5961
|
+
/** Detect free variable `module`. */
|
|
5962
|
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
|
5963
|
+
|
|
5964
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
5965
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
5966
|
+
|
|
5967
|
+
/** Detect free variable `process` from Node.js. */
|
|
5968
|
+
var freeProcess = moduleExports && freeGlobal$1.process;
|
|
5969
|
+
|
|
5970
|
+
/** Used to access faster Node.js helpers. */
|
|
5971
|
+
var nodeUtil = (function() {
|
|
5972
|
+
try {
|
|
5973
|
+
// Use `util.types` for Node.js 10+.
|
|
5974
|
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
5975
|
+
|
|
5976
|
+
if (types) {
|
|
5977
|
+
return types;
|
|
5978
|
+
}
|
|
5979
|
+
|
|
5980
|
+
// Legacy `process.binding('util')` for Node.js < 10.
|
|
5981
|
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
5982
|
+
} catch (e) {}
|
|
5983
|
+
}());
|
|
5984
|
+
|
|
5985
|
+
var nodeUtil$1 = nodeUtil;
|
|
5986
|
+
|
|
5987
|
+
/* Node.js helper references. */
|
|
5988
|
+
var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
|
|
5989
|
+
|
|
5990
|
+
/**
|
|
5991
|
+
* Checks if `value` is classified as a typed array.
|
|
5992
|
+
*
|
|
5993
|
+
* @static
|
|
5994
|
+
* @memberOf _
|
|
5995
|
+
* @since 3.0.0
|
|
5996
|
+
* @category Lang
|
|
5997
|
+
* @param {*} value The value to check.
|
|
5998
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
5999
|
+
* @example
|
|
6000
|
+
*
|
|
6001
|
+
* _.isTypedArray(new Uint8Array);
|
|
6002
|
+
* // => true
|
|
6003
|
+
*
|
|
6004
|
+
* _.isTypedArray([]);
|
|
6005
|
+
* // => false
|
|
6006
|
+
*/
|
|
6007
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
6008
|
+
|
|
6009
|
+
var isTypedArray$1 = isTypedArray;
|
|
6010
|
+
|
|
6011
|
+
/** Used for built-in method references. */
|
|
6012
|
+
var objectProto$6 = Object.prototype;
|
|
6013
|
+
|
|
6014
|
+
/** Used to check objects for own properties. */
|
|
6015
|
+
var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
6016
|
+
|
|
6017
|
+
/**
|
|
6018
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
6019
|
+
*
|
|
6020
|
+
* @private
|
|
6021
|
+
* @param {*} value The value to query.
|
|
6022
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
6023
|
+
* @returns {Array} Returns the array of property names.
|
|
6024
|
+
*/
|
|
6025
|
+
function arrayLikeKeys(value, inherited) {
|
|
6026
|
+
var isArr = isArray$1(value),
|
|
6027
|
+
isArg = !isArr && isArguments$1(value),
|
|
6028
|
+
isBuff = !isArr && !isArg && isBuffer$1(value),
|
|
6029
|
+
isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
|
|
6030
|
+
skipIndexes = isArr || isArg || isBuff || isType,
|
|
6031
|
+
result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
6032
|
+
length = result.length;
|
|
6033
|
+
|
|
6034
|
+
for (var key in value) {
|
|
6035
|
+
if ((inherited || hasOwnProperty$5.call(value, key)) &&
|
|
6036
|
+
!(skipIndexes && (
|
|
6037
|
+
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6038
|
+
key == 'length' ||
|
|
6039
|
+
// Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6040
|
+
(isBuff && (key == 'offset' || key == 'parent')) ||
|
|
6041
|
+
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6042
|
+
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
|
6043
|
+
// Skip index properties.
|
|
6044
|
+
isIndex(key, length)
|
|
6045
|
+
))) {
|
|
6046
|
+
result.push(key);
|
|
6047
|
+
}
|
|
6048
|
+
}
|
|
6049
|
+
return result;
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
/**
|
|
6053
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
6054
|
+
*
|
|
6055
|
+
* @private
|
|
6056
|
+
* @param {Function} func The function to wrap.
|
|
6057
|
+
* @param {Function} transform The argument transform.
|
|
6058
|
+
* @returns {Function} Returns the new function.
|
|
6059
|
+
*/
|
|
6060
|
+
function overArg(func, transform) {
|
|
6061
|
+
return function(arg) {
|
|
6062
|
+
return func(transform(arg));
|
|
6063
|
+
};
|
|
6064
|
+
}
|
|
6065
|
+
|
|
6066
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
6067
|
+
var nativeKeys = overArg(Object.keys, Object);
|
|
6068
|
+
|
|
6069
|
+
var nativeKeys$1 = nativeKeys;
|
|
6070
|
+
|
|
6071
|
+
/** Used for built-in method references. */
|
|
6072
|
+
var objectProto$5 = Object.prototype;
|
|
6073
|
+
|
|
6074
|
+
/** Used to check objects for own properties. */
|
|
6075
|
+
var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
|
|
6076
|
+
|
|
6077
|
+
/**
|
|
6078
|
+
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
6079
|
+
*
|
|
6080
|
+
* @private
|
|
6081
|
+
* @param {Object} object The object to query.
|
|
6082
|
+
* @returns {Array} Returns the array of property names.
|
|
6083
|
+
*/
|
|
6084
|
+
function baseKeys(object) {
|
|
6085
|
+
if (!isPrototype(object)) {
|
|
6086
|
+
return nativeKeys$1(object);
|
|
6087
|
+
}
|
|
6088
|
+
var result = [];
|
|
6089
|
+
for (var key in Object(object)) {
|
|
6090
|
+
if (hasOwnProperty$4.call(object, key) && key != 'constructor') {
|
|
6091
|
+
result.push(key);
|
|
6092
|
+
}
|
|
6093
|
+
}
|
|
6094
|
+
return result;
|
|
6095
|
+
}
|
|
6096
|
+
|
|
6097
|
+
/**
|
|
6098
|
+
* Creates an array of the own enumerable property names of `object`.
|
|
6099
|
+
*
|
|
6100
|
+
* **Note:** Non-object values are coerced to objects. See the
|
|
6101
|
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
6102
|
+
* for more details.
|
|
6103
|
+
*
|
|
6104
|
+
* @static
|
|
6105
|
+
* @since 0.1.0
|
|
6106
|
+
* @memberOf _
|
|
6107
|
+
* @category Object
|
|
6108
|
+
* @param {Object} object The object to query.
|
|
6109
|
+
* @returns {Array} Returns the array of property names.
|
|
6110
|
+
* @example
|
|
6111
|
+
*
|
|
6112
|
+
* function Foo() {
|
|
6113
|
+
* this.a = 1;
|
|
6114
|
+
* this.b = 2;
|
|
6115
|
+
* }
|
|
6116
|
+
*
|
|
6117
|
+
* Foo.prototype.c = 3;
|
|
6118
|
+
*
|
|
6119
|
+
* _.keys(new Foo);
|
|
6120
|
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
6121
|
+
*
|
|
6122
|
+
* _.keys('hi');
|
|
6123
|
+
* // => ['0', '1']
|
|
6124
|
+
*/
|
|
6125
|
+
function keys(object) {
|
|
6126
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
6127
|
+
}
|
|
6128
|
+
|
|
6129
|
+
/* Built-in method references that are verified to be native. */
|
|
6130
|
+
var nativeCreate = getNative(Object, 'create');
|
|
6131
|
+
|
|
6132
|
+
var nativeCreate$1 = nativeCreate;
|
|
6133
|
+
|
|
6134
|
+
/**
|
|
6135
|
+
* Removes all key-value entries from the hash.
|
|
6136
|
+
*
|
|
6137
|
+
* @private
|
|
6138
|
+
* @name clear
|
|
6139
|
+
* @memberOf Hash
|
|
6140
|
+
*/
|
|
6141
|
+
function hashClear() {
|
|
6142
|
+
this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
|
|
6143
|
+
this.size = 0;
|
|
6144
|
+
}
|
|
6145
|
+
|
|
6146
|
+
/**
|
|
6147
|
+
* Removes `key` and its value from the hash.
|
|
6148
|
+
*
|
|
6149
|
+
* @private
|
|
6150
|
+
* @name delete
|
|
6151
|
+
* @memberOf Hash
|
|
6152
|
+
* @param {Object} hash The hash to modify.
|
|
6153
|
+
* @param {string} key The key of the value to remove.
|
|
6154
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
6155
|
+
*/
|
|
6156
|
+
function hashDelete(key) {
|
|
6157
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
6158
|
+
this.size -= result ? 1 : 0;
|
|
6159
|
+
return result;
|
|
6160
|
+
}
|
|
6161
|
+
|
|
6162
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
6163
|
+
var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
|
6164
|
+
|
|
6165
|
+
/** Used for built-in method references. */
|
|
6166
|
+
var objectProto$4 = Object.prototype;
|
|
6167
|
+
|
|
6168
|
+
/** Used to check objects for own properties. */
|
|
6169
|
+
var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
|
|
6170
|
+
|
|
6171
|
+
/**
|
|
6172
|
+
* Gets the hash value for `key`.
|
|
6173
|
+
*
|
|
6174
|
+
* @private
|
|
6175
|
+
* @name get
|
|
6176
|
+
* @memberOf Hash
|
|
6177
|
+
* @param {string} key The key of the value to get.
|
|
6178
|
+
* @returns {*} Returns the entry value.
|
|
6179
|
+
*/
|
|
6180
|
+
function hashGet(key) {
|
|
6181
|
+
var data = this.__data__;
|
|
6182
|
+
if (nativeCreate$1) {
|
|
6183
|
+
var result = data[key];
|
|
6184
|
+
return result === HASH_UNDEFINED$2 ? undefined : result;
|
|
6185
|
+
}
|
|
6186
|
+
return hasOwnProperty$3.call(data, key) ? data[key] : undefined;
|
|
6187
|
+
}
|
|
6188
|
+
|
|
6189
|
+
/** Used for built-in method references. */
|
|
6190
|
+
var objectProto$3 = Object.prototype;
|
|
6191
|
+
|
|
6192
|
+
/** Used to check objects for own properties. */
|
|
6193
|
+
var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
|
|
6194
|
+
|
|
6195
|
+
/**
|
|
6196
|
+
* Checks if a hash value for `key` exists.
|
|
6197
|
+
*
|
|
6198
|
+
* @private
|
|
6199
|
+
* @name has
|
|
6200
|
+
* @memberOf Hash
|
|
6201
|
+
* @param {string} key The key of the entry to check.
|
|
6202
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6203
|
+
*/
|
|
6204
|
+
function hashHas(key) {
|
|
6205
|
+
var data = this.__data__;
|
|
6206
|
+
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$2.call(data, key);
|
|
6207
|
+
}
|
|
6208
|
+
|
|
6209
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
6210
|
+
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
6211
|
+
|
|
6212
|
+
/**
|
|
6213
|
+
* Sets the hash `key` to `value`.
|
|
6214
|
+
*
|
|
6215
|
+
* @private
|
|
6216
|
+
* @name set
|
|
6217
|
+
* @memberOf Hash
|
|
6218
|
+
* @param {string} key The key of the value to set.
|
|
6219
|
+
* @param {*} value The value to set.
|
|
6220
|
+
* @returns {Object} Returns the hash instance.
|
|
6221
|
+
*/
|
|
6222
|
+
function hashSet(key, value) {
|
|
6223
|
+
var data = this.__data__;
|
|
6224
|
+
this.size += this.has(key) ? 0 : 1;
|
|
6225
|
+
data[key] = (nativeCreate$1 && value === undefined) ? HASH_UNDEFINED$1 : value;
|
|
6226
|
+
return this;
|
|
6227
|
+
}
|
|
6228
|
+
|
|
6229
|
+
/**
|
|
6230
|
+
* Creates a hash object.
|
|
6231
|
+
*
|
|
6232
|
+
* @private
|
|
6233
|
+
* @constructor
|
|
6234
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
6235
|
+
*/
|
|
6236
|
+
function Hash(entries) {
|
|
6237
|
+
var index = -1,
|
|
6238
|
+
length = entries == null ? 0 : entries.length;
|
|
6239
|
+
|
|
6240
|
+
this.clear();
|
|
6241
|
+
while (++index < length) {
|
|
6242
|
+
var entry = entries[index];
|
|
6243
|
+
this.set(entry[0], entry[1]);
|
|
6244
|
+
}
|
|
6245
|
+
}
|
|
6246
|
+
|
|
6247
|
+
// Add methods to `Hash`.
|
|
6248
|
+
Hash.prototype.clear = hashClear;
|
|
6249
|
+
Hash.prototype['delete'] = hashDelete;
|
|
6250
|
+
Hash.prototype.get = hashGet;
|
|
6251
|
+
Hash.prototype.has = hashHas;
|
|
6252
|
+
Hash.prototype.set = hashSet;
|
|
6253
|
+
|
|
6254
|
+
/**
|
|
6255
|
+
* Removes all key-value entries from the list cache.
|
|
6256
|
+
*
|
|
6257
|
+
* @private
|
|
6258
|
+
* @name clear
|
|
6259
|
+
* @memberOf ListCache
|
|
6260
|
+
*/
|
|
6261
|
+
function listCacheClear() {
|
|
6262
|
+
this.__data__ = [];
|
|
6263
|
+
this.size = 0;
|
|
6264
|
+
}
|
|
6265
|
+
|
|
6266
|
+
/**
|
|
6267
|
+
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
6268
|
+
*
|
|
6269
|
+
* @private
|
|
6270
|
+
* @param {Array} array The array to inspect.
|
|
6271
|
+
* @param {*} key The key to search for.
|
|
6272
|
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
6273
|
+
*/
|
|
6274
|
+
function assocIndexOf(array, key) {
|
|
6275
|
+
var length = array.length;
|
|
6276
|
+
while (length--) {
|
|
6277
|
+
if (eq(array[length][0], key)) {
|
|
6278
|
+
return length;
|
|
6279
|
+
}
|
|
6280
|
+
}
|
|
6281
|
+
return -1;
|
|
6282
|
+
}
|
|
6283
|
+
|
|
6284
|
+
/** Used for built-in method references. */
|
|
6285
|
+
var arrayProto = Array.prototype;
|
|
6286
|
+
|
|
6287
|
+
/** Built-in value references. */
|
|
6288
|
+
var splice = arrayProto.splice;
|
|
6289
|
+
|
|
6290
|
+
/**
|
|
6291
|
+
* Removes `key` and its value from the list cache.
|
|
6292
|
+
*
|
|
6293
|
+
* @private
|
|
6294
|
+
* @name delete
|
|
6295
|
+
* @memberOf ListCache
|
|
6296
|
+
* @param {string} key The key of the value to remove.
|
|
6297
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
6298
|
+
*/
|
|
6299
|
+
function listCacheDelete(key) {
|
|
6300
|
+
var data = this.__data__,
|
|
6301
|
+
index = assocIndexOf(data, key);
|
|
6302
|
+
|
|
6303
|
+
if (index < 0) {
|
|
6304
|
+
return false;
|
|
6305
|
+
}
|
|
6306
|
+
var lastIndex = data.length - 1;
|
|
6307
|
+
if (index == lastIndex) {
|
|
6308
|
+
data.pop();
|
|
6309
|
+
} else {
|
|
6310
|
+
splice.call(data, index, 1);
|
|
6311
|
+
}
|
|
6312
|
+
--this.size;
|
|
6313
|
+
return true;
|
|
6314
|
+
}
|
|
6315
|
+
|
|
6316
|
+
/**
|
|
6317
|
+
* Gets the list cache value for `key`.
|
|
6318
|
+
*
|
|
6319
|
+
* @private
|
|
6320
|
+
* @name get
|
|
6321
|
+
* @memberOf ListCache
|
|
6322
|
+
* @param {string} key The key of the value to get.
|
|
6323
|
+
* @returns {*} Returns the entry value.
|
|
6324
|
+
*/
|
|
6325
|
+
function listCacheGet(key) {
|
|
6326
|
+
var data = this.__data__,
|
|
6327
|
+
index = assocIndexOf(data, key);
|
|
6328
|
+
|
|
6329
|
+
return index < 0 ? undefined : data[index][1];
|
|
6330
|
+
}
|
|
6331
|
+
|
|
6332
|
+
/**
|
|
6333
|
+
* Checks if a list cache value for `key` exists.
|
|
6334
|
+
*
|
|
6335
|
+
* @private
|
|
6336
|
+
* @name has
|
|
6337
|
+
* @memberOf ListCache
|
|
6338
|
+
* @param {string} key The key of the entry to check.
|
|
6339
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6340
|
+
*/
|
|
6341
|
+
function listCacheHas(key) {
|
|
6342
|
+
return assocIndexOf(this.__data__, key) > -1;
|
|
6343
|
+
}
|
|
6344
|
+
|
|
6345
|
+
/**
|
|
6346
|
+
* Sets the list cache `key` to `value`.
|
|
6347
|
+
*
|
|
6348
|
+
* @private
|
|
6349
|
+
* @name set
|
|
6350
|
+
* @memberOf ListCache
|
|
6351
|
+
* @param {string} key The key of the value to set.
|
|
6352
|
+
* @param {*} value The value to set.
|
|
6353
|
+
* @returns {Object} Returns the list cache instance.
|
|
6354
|
+
*/
|
|
6355
|
+
function listCacheSet(key, value) {
|
|
6356
|
+
var data = this.__data__,
|
|
6357
|
+
index = assocIndexOf(data, key);
|
|
6358
|
+
|
|
6359
|
+
if (index < 0) {
|
|
6360
|
+
++this.size;
|
|
6361
|
+
data.push([key, value]);
|
|
6362
|
+
} else {
|
|
6363
|
+
data[index][1] = value;
|
|
6364
|
+
}
|
|
6365
|
+
return this;
|
|
6366
|
+
}
|
|
6367
|
+
|
|
6368
|
+
/**
|
|
6369
|
+
* Creates an list cache object.
|
|
6370
|
+
*
|
|
6371
|
+
* @private
|
|
6372
|
+
* @constructor
|
|
6373
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
6374
|
+
*/
|
|
6375
|
+
function ListCache(entries) {
|
|
6376
|
+
var index = -1,
|
|
6377
|
+
length = entries == null ? 0 : entries.length;
|
|
6378
|
+
|
|
6379
|
+
this.clear();
|
|
6380
|
+
while (++index < length) {
|
|
6381
|
+
var entry = entries[index];
|
|
6382
|
+
this.set(entry[0], entry[1]);
|
|
6383
|
+
}
|
|
6384
|
+
}
|
|
6385
|
+
|
|
6386
|
+
// Add methods to `ListCache`.
|
|
6387
|
+
ListCache.prototype.clear = listCacheClear;
|
|
6388
|
+
ListCache.prototype['delete'] = listCacheDelete;
|
|
6389
|
+
ListCache.prototype.get = listCacheGet;
|
|
6390
|
+
ListCache.prototype.has = listCacheHas;
|
|
6391
|
+
ListCache.prototype.set = listCacheSet;
|
|
6392
|
+
|
|
6393
|
+
/* Built-in method references that are verified to be native. */
|
|
6394
|
+
var Map$1 = getNative(root$1, 'Map');
|
|
6395
|
+
|
|
6396
|
+
var Map$2 = Map$1;
|
|
6397
|
+
|
|
6398
|
+
/**
|
|
6399
|
+
* Removes all key-value entries from the map.
|
|
6400
|
+
*
|
|
6401
|
+
* @private
|
|
6402
|
+
* @name clear
|
|
6403
|
+
* @memberOf MapCache
|
|
6404
|
+
*/
|
|
6405
|
+
function mapCacheClear() {
|
|
6406
|
+
this.size = 0;
|
|
6407
|
+
this.__data__ = {
|
|
6408
|
+
'hash': new Hash,
|
|
6409
|
+
'map': new (Map$2 || ListCache),
|
|
6410
|
+
'string': new Hash
|
|
6411
|
+
};
|
|
6412
|
+
}
|
|
6413
|
+
|
|
6414
|
+
/**
|
|
6415
|
+
* Checks if `value` is suitable for use as unique object key.
|
|
6416
|
+
*
|
|
6417
|
+
* @private
|
|
6418
|
+
* @param {*} value The value to check.
|
|
6419
|
+
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
6420
|
+
*/
|
|
6421
|
+
function isKeyable(value) {
|
|
6422
|
+
var type = typeof value;
|
|
6423
|
+
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
6424
|
+
? (value !== '__proto__')
|
|
6425
|
+
: (value === null);
|
|
6426
|
+
}
|
|
6427
|
+
|
|
6428
|
+
/**
|
|
6429
|
+
* Gets the data for `map`.
|
|
6430
|
+
*
|
|
6431
|
+
* @private
|
|
6432
|
+
* @param {Object} map The map to query.
|
|
6433
|
+
* @param {string} key The reference key.
|
|
6434
|
+
* @returns {*} Returns the map data.
|
|
6435
|
+
*/
|
|
6436
|
+
function getMapData(map, key) {
|
|
6437
|
+
var data = map.__data__;
|
|
6438
|
+
return isKeyable(key)
|
|
6439
|
+
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
6440
|
+
: data.map;
|
|
6441
|
+
}
|
|
6442
|
+
|
|
6443
|
+
/**
|
|
6444
|
+
* Removes `key` and its value from the map.
|
|
6445
|
+
*
|
|
6446
|
+
* @private
|
|
6447
|
+
* @name delete
|
|
6448
|
+
* @memberOf MapCache
|
|
6449
|
+
* @param {string} key The key of the value to remove.
|
|
6450
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
6451
|
+
*/
|
|
6452
|
+
function mapCacheDelete(key) {
|
|
6453
|
+
var result = getMapData(this, key)['delete'](key);
|
|
6454
|
+
this.size -= result ? 1 : 0;
|
|
6455
|
+
return result;
|
|
6456
|
+
}
|
|
6457
|
+
|
|
6458
|
+
/**
|
|
6459
|
+
* Gets the map value for `key`.
|
|
6460
|
+
*
|
|
6461
|
+
* @private
|
|
6462
|
+
* @name get
|
|
6463
|
+
* @memberOf MapCache
|
|
6464
|
+
* @param {string} key The key of the value to get.
|
|
6465
|
+
* @returns {*} Returns the entry value.
|
|
6466
|
+
*/
|
|
6467
|
+
function mapCacheGet(key) {
|
|
6468
|
+
return getMapData(this, key).get(key);
|
|
6469
|
+
}
|
|
6470
|
+
|
|
6471
|
+
/**
|
|
6472
|
+
* Checks if a map value for `key` exists.
|
|
6473
|
+
*
|
|
6474
|
+
* @private
|
|
6475
|
+
* @name has
|
|
6476
|
+
* @memberOf MapCache
|
|
6477
|
+
* @param {string} key The key of the entry to check.
|
|
6478
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6479
|
+
*/
|
|
6480
|
+
function mapCacheHas(key) {
|
|
6481
|
+
return getMapData(this, key).has(key);
|
|
6482
|
+
}
|
|
6483
|
+
|
|
6484
|
+
/**
|
|
6485
|
+
* Sets the map `key` to `value`.
|
|
6486
|
+
*
|
|
6487
|
+
* @private
|
|
6488
|
+
* @name set
|
|
6489
|
+
* @memberOf MapCache
|
|
6490
|
+
* @param {string} key The key of the value to set.
|
|
6491
|
+
* @param {*} value The value to set.
|
|
6492
|
+
* @returns {Object} Returns the map cache instance.
|
|
6493
|
+
*/
|
|
6494
|
+
function mapCacheSet(key, value) {
|
|
6495
|
+
var data = getMapData(this, key),
|
|
6496
|
+
size = data.size;
|
|
6497
|
+
|
|
6498
|
+
data.set(key, value);
|
|
6499
|
+
this.size += data.size == size ? 0 : 1;
|
|
6500
|
+
return this;
|
|
6501
|
+
}
|
|
6502
|
+
|
|
6503
|
+
/**
|
|
6504
|
+
* Creates a map cache object to store key-value pairs.
|
|
6505
|
+
*
|
|
6506
|
+
* @private
|
|
6507
|
+
* @constructor
|
|
6508
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
6509
|
+
*/
|
|
6510
|
+
function MapCache(entries) {
|
|
6511
|
+
var index = -1,
|
|
6512
|
+
length = entries == null ? 0 : entries.length;
|
|
6513
|
+
|
|
6514
|
+
this.clear();
|
|
6515
|
+
while (++index < length) {
|
|
6516
|
+
var entry = entries[index];
|
|
6517
|
+
this.set(entry[0], entry[1]);
|
|
6518
|
+
}
|
|
6519
|
+
}
|
|
6520
|
+
|
|
6521
|
+
// Add methods to `MapCache`.
|
|
6522
|
+
MapCache.prototype.clear = mapCacheClear;
|
|
6523
|
+
MapCache.prototype['delete'] = mapCacheDelete;
|
|
6524
|
+
MapCache.prototype.get = mapCacheGet;
|
|
6525
|
+
MapCache.prototype.has = mapCacheHas;
|
|
6526
|
+
MapCache.prototype.set = mapCacheSet;
|
|
6527
|
+
|
|
6528
|
+
/**
|
|
6529
|
+
* Appends the elements of `values` to `array`.
|
|
6530
|
+
*
|
|
6531
|
+
* @private
|
|
6532
|
+
* @param {Array} array The array to modify.
|
|
6533
|
+
* @param {Array} values The values to append.
|
|
6534
|
+
* @returns {Array} Returns `array`.
|
|
6535
|
+
*/
|
|
6536
|
+
function arrayPush(array, values) {
|
|
6537
|
+
var index = -1,
|
|
6538
|
+
length = values.length,
|
|
6539
|
+
offset = array.length;
|
|
6540
|
+
|
|
6541
|
+
while (++index < length) {
|
|
6542
|
+
array[offset + index] = values[index];
|
|
6543
|
+
}
|
|
6544
|
+
return array;
|
|
6545
|
+
}
|
|
6546
|
+
|
|
6547
|
+
/**
|
|
6548
|
+
* Removes all key-value entries from the stack.
|
|
6549
|
+
*
|
|
6550
|
+
* @private
|
|
6551
|
+
* @name clear
|
|
6552
|
+
* @memberOf Stack
|
|
6553
|
+
*/
|
|
6554
|
+
function stackClear() {
|
|
6555
|
+
this.__data__ = new ListCache;
|
|
6556
|
+
this.size = 0;
|
|
6557
|
+
}
|
|
6558
|
+
|
|
6559
|
+
/**
|
|
6560
|
+
* Removes `key` and its value from the stack.
|
|
6561
|
+
*
|
|
6562
|
+
* @private
|
|
6563
|
+
* @name delete
|
|
6564
|
+
* @memberOf Stack
|
|
6565
|
+
* @param {string} key The key of the value to remove.
|
|
6566
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
6567
|
+
*/
|
|
6568
|
+
function stackDelete(key) {
|
|
6569
|
+
var data = this.__data__,
|
|
6570
|
+
result = data['delete'](key);
|
|
6571
|
+
|
|
6572
|
+
this.size = data.size;
|
|
6573
|
+
return result;
|
|
6574
|
+
}
|
|
6575
|
+
|
|
6576
|
+
/**
|
|
6577
|
+
* Gets the stack value for `key`.
|
|
6578
|
+
*
|
|
6579
|
+
* @private
|
|
6580
|
+
* @name get
|
|
6581
|
+
* @memberOf Stack
|
|
6582
|
+
* @param {string} key The key of the value to get.
|
|
6583
|
+
* @returns {*} Returns the entry value.
|
|
6584
|
+
*/
|
|
6585
|
+
function stackGet(key) {
|
|
6586
|
+
return this.__data__.get(key);
|
|
6587
|
+
}
|
|
6588
|
+
|
|
6589
|
+
/**
|
|
6590
|
+
* Checks if a stack value for `key` exists.
|
|
6591
|
+
*
|
|
6592
|
+
* @private
|
|
6593
|
+
* @name has
|
|
6594
|
+
* @memberOf Stack
|
|
6595
|
+
* @param {string} key The key of the entry to check.
|
|
6596
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6597
|
+
*/
|
|
6598
|
+
function stackHas(key) {
|
|
6599
|
+
return this.__data__.has(key);
|
|
6600
|
+
}
|
|
6601
|
+
|
|
6602
|
+
/** Used as the size to enable large array optimizations. */
|
|
6603
|
+
var LARGE_ARRAY_SIZE = 200;
|
|
6604
|
+
|
|
6605
|
+
/**
|
|
6606
|
+
* Sets the stack `key` to `value`.
|
|
6607
|
+
*
|
|
6608
|
+
* @private
|
|
6609
|
+
* @name set
|
|
6610
|
+
* @memberOf Stack
|
|
6611
|
+
* @param {string} key The key of the value to set.
|
|
6612
|
+
* @param {*} value The value to set.
|
|
6613
|
+
* @returns {Object} Returns the stack cache instance.
|
|
6614
|
+
*/
|
|
6615
|
+
function stackSet(key, value) {
|
|
6616
|
+
var data = this.__data__;
|
|
6617
|
+
if (data instanceof ListCache) {
|
|
6618
|
+
var pairs = data.__data__;
|
|
6619
|
+
if (!Map$2 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
|
6620
|
+
pairs.push([key, value]);
|
|
6621
|
+
this.size = ++data.size;
|
|
6622
|
+
return this;
|
|
6623
|
+
}
|
|
6624
|
+
data = this.__data__ = new MapCache(pairs);
|
|
6625
|
+
}
|
|
6626
|
+
data.set(key, value);
|
|
6627
|
+
this.size = data.size;
|
|
6628
|
+
return this;
|
|
6629
|
+
}
|
|
6630
|
+
|
|
6631
|
+
/**
|
|
6632
|
+
* Creates a stack cache object to store key-value pairs.
|
|
6633
|
+
*
|
|
6634
|
+
* @private
|
|
6635
|
+
* @constructor
|
|
6636
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
6637
|
+
*/
|
|
6638
|
+
function Stack(entries) {
|
|
6639
|
+
var data = this.__data__ = new ListCache(entries);
|
|
6640
|
+
this.size = data.size;
|
|
6641
|
+
}
|
|
6642
|
+
|
|
6643
|
+
// Add methods to `Stack`.
|
|
6644
|
+
Stack.prototype.clear = stackClear;
|
|
6645
|
+
Stack.prototype['delete'] = stackDelete;
|
|
6646
|
+
Stack.prototype.get = stackGet;
|
|
6647
|
+
Stack.prototype.has = stackHas;
|
|
6648
|
+
Stack.prototype.set = stackSet;
|
|
6649
|
+
|
|
6650
|
+
/**
|
|
6651
|
+
* A specialized version of `_.filter` for arrays without support for
|
|
6652
|
+
* iteratee shorthands.
|
|
6653
|
+
*
|
|
6654
|
+
* @private
|
|
6655
|
+
* @param {Array} [array] The array to iterate over.
|
|
6656
|
+
* @param {Function} predicate The function invoked per iteration.
|
|
6657
|
+
* @returns {Array} Returns the new filtered array.
|
|
6658
|
+
*/
|
|
6659
|
+
function arrayFilter(array, predicate) {
|
|
6660
|
+
var index = -1,
|
|
6661
|
+
length = array == null ? 0 : array.length,
|
|
6662
|
+
resIndex = 0,
|
|
6663
|
+
result = [];
|
|
6664
|
+
|
|
6665
|
+
while (++index < length) {
|
|
6666
|
+
var value = array[index];
|
|
6667
|
+
if (predicate(value, index, array)) {
|
|
6668
|
+
result[resIndex++] = value;
|
|
6669
|
+
}
|
|
6670
|
+
}
|
|
6671
|
+
return result;
|
|
6672
|
+
}
|
|
6673
|
+
|
|
6674
|
+
/**
|
|
6675
|
+
* This method returns a new empty array.
|
|
6676
|
+
*
|
|
6677
|
+
* @static
|
|
6678
|
+
* @memberOf _
|
|
6679
|
+
* @since 4.13.0
|
|
6680
|
+
* @category Util
|
|
6681
|
+
* @returns {Array} Returns the new empty array.
|
|
6682
|
+
* @example
|
|
6683
|
+
*
|
|
6684
|
+
* var arrays = _.times(2, _.stubArray);
|
|
6685
|
+
*
|
|
6686
|
+
* console.log(arrays);
|
|
6687
|
+
* // => [[], []]
|
|
6688
|
+
*
|
|
6689
|
+
* console.log(arrays[0] === arrays[1]);
|
|
6690
|
+
* // => false
|
|
6691
|
+
*/
|
|
6692
|
+
function stubArray() {
|
|
6693
|
+
return [];
|
|
6694
|
+
}
|
|
6695
|
+
|
|
6696
|
+
/** Used for built-in method references. */
|
|
6697
|
+
var objectProto$2 = Object.prototype;
|
|
6698
|
+
|
|
6699
|
+
/** Built-in value references. */
|
|
6700
|
+
var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
|
|
6701
|
+
|
|
6702
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
6703
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
6704
|
+
|
|
6705
|
+
/**
|
|
6706
|
+
* Creates an array of the own enumerable symbols of `object`.
|
|
6707
|
+
*
|
|
6708
|
+
* @private
|
|
6709
|
+
* @param {Object} object The object to query.
|
|
6710
|
+
* @returns {Array} Returns the array of symbols.
|
|
6711
|
+
*/
|
|
6712
|
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
|
6713
|
+
if (object == null) {
|
|
6714
|
+
return [];
|
|
6715
|
+
}
|
|
6716
|
+
object = Object(object);
|
|
6717
|
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
|
6718
|
+
return propertyIsEnumerable.call(object, symbol);
|
|
6719
|
+
});
|
|
6720
|
+
};
|
|
6721
|
+
|
|
6722
|
+
var getSymbols$1 = getSymbols;
|
|
6723
|
+
|
|
6724
|
+
/**
|
|
6725
|
+
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
6726
|
+
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
|
6727
|
+
* symbols of `object`.
|
|
6728
|
+
*
|
|
6729
|
+
* @private
|
|
6730
|
+
* @param {Object} object The object to query.
|
|
6731
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
6732
|
+
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
|
6733
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
6734
|
+
*/
|
|
6735
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
6736
|
+
var result = keysFunc(object);
|
|
6737
|
+
return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
6738
|
+
}
|
|
6739
|
+
|
|
6740
|
+
/**
|
|
6741
|
+
* Creates an array of own enumerable property names and symbols of `object`.
|
|
6742
|
+
*
|
|
6743
|
+
* @private
|
|
6744
|
+
* @param {Object} object The object to query.
|
|
6745
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
6746
|
+
*/
|
|
6747
|
+
function getAllKeys(object) {
|
|
6748
|
+
return baseGetAllKeys(object, keys, getSymbols$1);
|
|
6749
|
+
}
|
|
6750
|
+
|
|
6751
|
+
/* Built-in method references that are verified to be native. */
|
|
6752
|
+
var DataView = getNative(root$1, 'DataView');
|
|
6753
|
+
|
|
6754
|
+
var DataView$1 = DataView;
|
|
6755
|
+
|
|
6756
|
+
/* Built-in method references that are verified to be native. */
|
|
6757
|
+
var Promise$1 = getNative(root$1, 'Promise');
|
|
6758
|
+
|
|
6759
|
+
var Promise$2 = Promise$1;
|
|
6760
|
+
|
|
6761
|
+
/* Built-in method references that are verified to be native. */
|
|
6762
|
+
var Set$1 = getNative(root$1, 'Set');
|
|
6763
|
+
|
|
6764
|
+
var Set$2 = Set$1;
|
|
6765
|
+
|
|
6766
|
+
/** `Object#toString` result references. */
|
|
6767
|
+
var mapTag$1 = '[object Map]',
|
|
6768
|
+
objectTag$1 = '[object Object]',
|
|
6769
|
+
promiseTag = '[object Promise]',
|
|
6770
|
+
setTag$1 = '[object Set]',
|
|
6771
|
+
weakMapTag = '[object WeakMap]';
|
|
6772
|
+
|
|
6773
|
+
var dataViewTag$1 = '[object DataView]';
|
|
6774
|
+
|
|
6775
|
+
/** Used to detect maps, sets, and weakmaps. */
|
|
6776
|
+
var dataViewCtorString = toSource(DataView$1),
|
|
6777
|
+
mapCtorString = toSource(Map$2),
|
|
6778
|
+
promiseCtorString = toSource(Promise$2),
|
|
6779
|
+
setCtorString = toSource(Set$2),
|
|
6780
|
+
weakMapCtorString = toSource(WeakMap$2);
|
|
6781
|
+
|
|
6782
|
+
/**
|
|
6783
|
+
* Gets the `toStringTag` of `value`.
|
|
6784
|
+
*
|
|
6785
|
+
* @private
|
|
6786
|
+
* @param {*} value The value to query.
|
|
6787
|
+
* @returns {string} Returns the `toStringTag`.
|
|
6788
|
+
*/
|
|
6789
|
+
var getTag = baseGetTag;
|
|
6790
|
+
|
|
6791
|
+
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
6792
|
+
if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$1) ||
|
|
6793
|
+
(Map$2 && getTag(new Map$2) != mapTag$1) ||
|
|
6794
|
+
(Promise$2 && getTag(Promise$2.resolve()) != promiseTag) ||
|
|
6795
|
+
(Set$2 && getTag(new Set$2) != setTag$1) ||
|
|
6796
|
+
(WeakMap$2 && getTag(new WeakMap$2) != weakMapTag)) {
|
|
6797
|
+
getTag = function(value) {
|
|
6798
|
+
var result = baseGetTag(value),
|
|
6799
|
+
Ctor = result == objectTag$1 ? value.constructor : undefined,
|
|
6800
|
+
ctorString = Ctor ? toSource(Ctor) : '';
|
|
6801
|
+
|
|
6802
|
+
if (ctorString) {
|
|
6803
|
+
switch (ctorString) {
|
|
6804
|
+
case dataViewCtorString: return dataViewTag$1;
|
|
6805
|
+
case mapCtorString: return mapTag$1;
|
|
6806
|
+
case promiseCtorString: return promiseTag;
|
|
6807
|
+
case setCtorString: return setTag$1;
|
|
6808
|
+
case weakMapCtorString: return weakMapTag;
|
|
6809
|
+
}
|
|
6810
|
+
}
|
|
6811
|
+
return result;
|
|
6812
|
+
};
|
|
6813
|
+
}
|
|
6814
|
+
|
|
6815
|
+
var getTag$1 = getTag;
|
|
6816
|
+
|
|
6817
|
+
/** Built-in value references. */
|
|
6818
|
+
var Uint8Array = root$1.Uint8Array;
|
|
6819
|
+
|
|
6820
|
+
var Uint8Array$1 = Uint8Array;
|
|
6821
|
+
|
|
6822
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
6823
|
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
6824
|
+
|
|
6825
|
+
/**
|
|
6826
|
+
* Adds `value` to the array cache.
|
|
6827
|
+
*
|
|
6828
|
+
* @private
|
|
6829
|
+
* @name add
|
|
6830
|
+
* @memberOf SetCache
|
|
6831
|
+
* @alias push
|
|
6832
|
+
* @param {*} value The value to cache.
|
|
6833
|
+
* @returns {Object} Returns the cache instance.
|
|
6834
|
+
*/
|
|
6835
|
+
function setCacheAdd(value) {
|
|
6836
|
+
this.__data__.set(value, HASH_UNDEFINED);
|
|
6837
|
+
return this;
|
|
6838
|
+
}
|
|
6839
|
+
|
|
6840
|
+
/**
|
|
6841
|
+
* Checks if `value` is in the array cache.
|
|
6842
|
+
*
|
|
6843
|
+
* @private
|
|
6844
|
+
* @name has
|
|
6845
|
+
* @memberOf SetCache
|
|
6846
|
+
* @param {*} value The value to search for.
|
|
6847
|
+
* @returns {number} Returns `true` if `value` is found, else `false`.
|
|
6848
|
+
*/
|
|
6849
|
+
function setCacheHas(value) {
|
|
6850
|
+
return this.__data__.has(value);
|
|
6851
|
+
}
|
|
6852
|
+
|
|
6853
|
+
/**
|
|
6854
|
+
*
|
|
6855
|
+
* Creates an array cache object to store unique values.
|
|
6856
|
+
*
|
|
6857
|
+
* @private
|
|
6858
|
+
* @constructor
|
|
6859
|
+
* @param {Array} [values] The values to cache.
|
|
6860
|
+
*/
|
|
6861
|
+
function SetCache(values) {
|
|
6862
|
+
var index = -1,
|
|
6863
|
+
length = values == null ? 0 : values.length;
|
|
6864
|
+
|
|
6865
|
+
this.__data__ = new MapCache;
|
|
6866
|
+
while (++index < length) {
|
|
6867
|
+
this.add(values[index]);
|
|
6868
|
+
}
|
|
6869
|
+
}
|
|
6870
|
+
|
|
6871
|
+
// Add methods to `SetCache`.
|
|
6872
|
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
6873
|
+
SetCache.prototype.has = setCacheHas;
|
|
6874
|
+
|
|
6875
|
+
/**
|
|
6876
|
+
* A specialized version of `_.some` for arrays without support for iteratee
|
|
6877
|
+
* shorthands.
|
|
6878
|
+
*
|
|
6879
|
+
* @private
|
|
6880
|
+
* @param {Array} [array] The array to iterate over.
|
|
6881
|
+
* @param {Function} predicate The function invoked per iteration.
|
|
6882
|
+
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
|
6883
|
+
* else `false`.
|
|
6884
|
+
*/
|
|
6885
|
+
function arraySome(array, predicate) {
|
|
6886
|
+
var index = -1,
|
|
6887
|
+
length = array == null ? 0 : array.length;
|
|
5238
6888
|
|
|
5239
|
-
|
|
5240
|
-
|
|
6889
|
+
while (++index < length) {
|
|
6890
|
+
if (predicate(array[index], index, array)) {
|
|
6891
|
+
return true;
|
|
6892
|
+
}
|
|
6893
|
+
}
|
|
6894
|
+
return false;
|
|
6895
|
+
}
|
|
5241
6896
|
|
|
5242
6897
|
/**
|
|
5243
|
-
*
|
|
5244
|
-
*
|
|
5245
|
-
*
|
|
6898
|
+
* Checks if a `cache` value for `key` exists.
|
|
6899
|
+
*
|
|
6900
|
+
* @private
|
|
6901
|
+
* @param {Object} cache The cache to query.
|
|
6902
|
+
* @param {string} key The key of the entry to check.
|
|
6903
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
5246
6904
|
*/
|
|
5247
|
-
|
|
6905
|
+
function cacheHas(cache, key) {
|
|
6906
|
+
return cache.has(key);
|
|
6907
|
+
}
|
|
5248
6908
|
|
|
5249
|
-
/**
|
|
5250
|
-
var
|
|
6909
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
6910
|
+
var COMPARE_PARTIAL_FLAG$3 = 1,
|
|
6911
|
+
COMPARE_UNORDERED_FLAG$1 = 2;
|
|
5251
6912
|
|
|
5252
6913
|
/**
|
|
5253
|
-
* A specialized version of `
|
|
6914
|
+
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
|
6915
|
+
* partial deep comparisons.
|
|
5254
6916
|
*
|
|
5255
6917
|
* @private
|
|
5256
|
-
* @param {
|
|
5257
|
-
* @
|
|
6918
|
+
* @param {Array} array The array to compare.
|
|
6919
|
+
* @param {Array} other The other array to compare.
|
|
6920
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
6921
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
6922
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
6923
|
+
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
|
6924
|
+
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
|
5258
6925
|
*/
|
|
5259
|
-
function
|
|
5260
|
-
var
|
|
5261
|
-
|
|
6926
|
+
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
6927
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3,
|
|
6928
|
+
arrLength = array.length,
|
|
6929
|
+
othLength = other.length;
|
|
5262
6930
|
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
6931
|
+
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
6932
|
+
return false;
|
|
6933
|
+
}
|
|
6934
|
+
// Check that cyclic values are equal.
|
|
6935
|
+
var arrStacked = stack.get(array);
|
|
6936
|
+
var othStacked = stack.get(other);
|
|
6937
|
+
if (arrStacked && othStacked) {
|
|
6938
|
+
return arrStacked == other && othStacked == array;
|
|
6939
|
+
}
|
|
6940
|
+
var index = -1,
|
|
6941
|
+
result = true,
|
|
6942
|
+
seen = (bitmask & COMPARE_UNORDERED_FLAG$1) ? new SetCache : undefined;
|
|
5267
6943
|
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
6944
|
+
stack.set(array, other);
|
|
6945
|
+
stack.set(other, array);
|
|
6946
|
+
|
|
6947
|
+
// Ignore non-index properties.
|
|
6948
|
+
while (++index < arrLength) {
|
|
6949
|
+
var arrValue = array[index],
|
|
6950
|
+
othValue = other[index];
|
|
6951
|
+
|
|
6952
|
+
if (customizer) {
|
|
6953
|
+
var compared = isPartial
|
|
6954
|
+
? customizer(othValue, arrValue, index, other, array, stack)
|
|
6955
|
+
: customizer(arrValue, othValue, index, array, other, stack);
|
|
6956
|
+
}
|
|
6957
|
+
if (compared !== undefined) {
|
|
6958
|
+
if (compared) {
|
|
6959
|
+
continue;
|
|
6960
|
+
}
|
|
6961
|
+
result = false;
|
|
6962
|
+
break;
|
|
6963
|
+
}
|
|
6964
|
+
// Recursively compare arrays (susceptible to call stack limits).
|
|
6965
|
+
if (seen) {
|
|
6966
|
+
if (!arraySome(other, function(othValue, othIndex) {
|
|
6967
|
+
if (!cacheHas(seen, othIndex) &&
|
|
6968
|
+
(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
|
6969
|
+
return seen.push(othIndex);
|
|
6970
|
+
}
|
|
6971
|
+
})) {
|
|
6972
|
+
result = false;
|
|
6973
|
+
break;
|
|
6974
|
+
}
|
|
6975
|
+
} else if (!(
|
|
6976
|
+
arrValue === othValue ||
|
|
6977
|
+
equalFunc(arrValue, othValue, bitmask, customizer, stack)
|
|
6978
|
+
)) {
|
|
6979
|
+
result = false;
|
|
6980
|
+
break;
|
|
5274
6981
|
}
|
|
5275
6982
|
}
|
|
6983
|
+
stack['delete'](array);
|
|
6984
|
+
stack['delete'](other);
|
|
5276
6985
|
return result;
|
|
5277
6986
|
}
|
|
5278
6987
|
|
|
5279
|
-
/** Used for built-in method references. */
|
|
5280
|
-
var objectProto = Object.prototype;
|
|
5281
|
-
|
|
5282
6988
|
/**
|
|
5283
|
-
*
|
|
5284
|
-
*
|
|
5285
|
-
*
|
|
6989
|
+
* Converts `map` to its key-value pairs.
|
|
6990
|
+
*
|
|
6991
|
+
* @private
|
|
6992
|
+
* @param {Object} map The map to convert.
|
|
6993
|
+
* @returns {Array} Returns the key-value pairs.
|
|
5286
6994
|
*/
|
|
5287
|
-
|
|
6995
|
+
function mapToArray(map) {
|
|
6996
|
+
var index = -1,
|
|
6997
|
+
result = Array(map.size);
|
|
6998
|
+
|
|
6999
|
+
map.forEach(function(value, key) {
|
|
7000
|
+
result[++index] = [key, value];
|
|
7001
|
+
});
|
|
7002
|
+
return result;
|
|
7003
|
+
}
|
|
5288
7004
|
|
|
5289
7005
|
/**
|
|
5290
|
-
* Converts `
|
|
7006
|
+
* Converts `set` to an array of its values.
|
|
5291
7007
|
*
|
|
5292
7008
|
* @private
|
|
5293
|
-
* @param {
|
|
5294
|
-
* @returns {
|
|
7009
|
+
* @param {Object} set The set to convert.
|
|
7010
|
+
* @returns {Array} Returns the values.
|
|
5295
7011
|
*/
|
|
5296
|
-
function
|
|
5297
|
-
|
|
7012
|
+
function setToArray(set) {
|
|
7013
|
+
var index = -1,
|
|
7014
|
+
result = Array(set.size);
|
|
7015
|
+
|
|
7016
|
+
set.forEach(function(value) {
|
|
7017
|
+
result[++index] = value;
|
|
7018
|
+
});
|
|
7019
|
+
return result;
|
|
5298
7020
|
}
|
|
5299
7021
|
|
|
5300
|
-
/**
|
|
5301
|
-
var
|
|
5302
|
-
|
|
7022
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
7023
|
+
var COMPARE_PARTIAL_FLAG$2 = 1,
|
|
7024
|
+
COMPARE_UNORDERED_FLAG = 2;
|
|
5303
7025
|
|
|
5304
|
-
/**
|
|
5305
|
-
var
|
|
7026
|
+
/** `Object#toString` result references. */
|
|
7027
|
+
var boolTag = '[object Boolean]',
|
|
7028
|
+
dateTag = '[object Date]',
|
|
7029
|
+
errorTag = '[object Error]',
|
|
7030
|
+
mapTag = '[object Map]',
|
|
7031
|
+
numberTag = '[object Number]',
|
|
7032
|
+
regexpTag = '[object RegExp]',
|
|
7033
|
+
setTag = '[object Set]',
|
|
7034
|
+
stringTag$1 = '[object String]',
|
|
7035
|
+
symbolTag = '[object Symbol]';
|
|
7036
|
+
|
|
7037
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
7038
|
+
dataViewTag = '[object DataView]';
|
|
7039
|
+
|
|
7040
|
+
/** Used to convert symbols to primitives and strings. */
|
|
7041
|
+
var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
|
|
7042
|
+
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
5306
7043
|
|
|
5307
7044
|
/**
|
|
5308
|
-
*
|
|
7045
|
+
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
7046
|
+
* the same `toStringTag`.
|
|
7047
|
+
*
|
|
7048
|
+
* **Note:** This function only supports comparing values with tags of
|
|
7049
|
+
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
|
5309
7050
|
*
|
|
5310
7051
|
* @private
|
|
5311
|
-
* @param {
|
|
5312
|
-
* @
|
|
7052
|
+
* @param {Object} object The object to compare.
|
|
7053
|
+
* @param {Object} other The other object to compare.
|
|
7054
|
+
* @param {string} tag The `toStringTag` of the objects to compare.
|
|
7055
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
7056
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
7057
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
7058
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
7059
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
5313
7060
|
*/
|
|
5314
|
-
function
|
|
5315
|
-
|
|
5316
|
-
|
|
7061
|
+
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
7062
|
+
switch (tag) {
|
|
7063
|
+
case dataViewTag:
|
|
7064
|
+
if ((object.byteLength != other.byteLength) ||
|
|
7065
|
+
(object.byteOffset != other.byteOffset)) {
|
|
7066
|
+
return false;
|
|
7067
|
+
}
|
|
7068
|
+
object = object.buffer;
|
|
7069
|
+
other = other.buffer;
|
|
7070
|
+
|
|
7071
|
+
case arrayBufferTag:
|
|
7072
|
+
if ((object.byteLength != other.byteLength) ||
|
|
7073
|
+
!equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
|
|
7074
|
+
return false;
|
|
7075
|
+
}
|
|
7076
|
+
return true;
|
|
7077
|
+
|
|
7078
|
+
case boolTag:
|
|
7079
|
+
case dateTag:
|
|
7080
|
+
case numberTag:
|
|
7081
|
+
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
|
7082
|
+
// Invalid dates are coerced to `NaN`.
|
|
7083
|
+
return eq(+object, +other);
|
|
7084
|
+
|
|
7085
|
+
case errorTag:
|
|
7086
|
+
return object.name == other.name && object.message == other.message;
|
|
7087
|
+
|
|
7088
|
+
case regexpTag:
|
|
7089
|
+
case stringTag$1:
|
|
7090
|
+
// Coerce regexes to strings and treat strings, primitives and objects,
|
|
7091
|
+
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
|
7092
|
+
// for more details.
|
|
7093
|
+
return object == (other + '');
|
|
7094
|
+
|
|
7095
|
+
case mapTag:
|
|
7096
|
+
var convert = mapToArray;
|
|
7097
|
+
|
|
7098
|
+
case setTag:
|
|
7099
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2;
|
|
7100
|
+
convert || (convert = setToArray);
|
|
7101
|
+
|
|
7102
|
+
if (object.size != other.size && !isPartial) {
|
|
7103
|
+
return false;
|
|
7104
|
+
}
|
|
7105
|
+
// Assume cyclic values are equal.
|
|
7106
|
+
var stacked = stack.get(object);
|
|
7107
|
+
if (stacked) {
|
|
7108
|
+
return stacked == other;
|
|
7109
|
+
}
|
|
7110
|
+
bitmask |= COMPARE_UNORDERED_FLAG;
|
|
7111
|
+
|
|
7112
|
+
// Recursively compare objects (susceptible to call stack limits).
|
|
7113
|
+
stack.set(object, other);
|
|
7114
|
+
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
7115
|
+
stack['delete'](object);
|
|
7116
|
+
return result;
|
|
7117
|
+
|
|
7118
|
+
case symbolTag:
|
|
7119
|
+
if (symbolValueOf) {
|
|
7120
|
+
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
|
7121
|
+
}
|
|
5317
7122
|
}
|
|
5318
|
-
return
|
|
5319
|
-
? getRawTag(value)
|
|
5320
|
-
: objectToString(value);
|
|
7123
|
+
return false;
|
|
5321
7124
|
}
|
|
5322
7125
|
|
|
7126
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
7127
|
+
var COMPARE_PARTIAL_FLAG$1 = 1;
|
|
7128
|
+
|
|
7129
|
+
/** Used for built-in method references. */
|
|
7130
|
+
var objectProto$1 = Object.prototype;
|
|
7131
|
+
|
|
7132
|
+
/** Used to check objects for own properties. */
|
|
7133
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
7134
|
+
|
|
5323
7135
|
/**
|
|
5324
|
-
*
|
|
5325
|
-
*
|
|
5326
|
-
*
|
|
5327
|
-
* @static
|
|
5328
|
-
* @memberOf _
|
|
5329
|
-
* @since 4.0.0
|
|
5330
|
-
* @category Lang
|
|
5331
|
-
* @param {*} value The value to check.
|
|
5332
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
5333
|
-
* @example
|
|
5334
|
-
*
|
|
5335
|
-
* _.isObjectLike({});
|
|
5336
|
-
* // => true
|
|
5337
|
-
*
|
|
5338
|
-
* _.isObjectLike([1, 2, 3]);
|
|
5339
|
-
* // => true
|
|
7136
|
+
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
7137
|
+
* partial deep comparisons.
|
|
5340
7138
|
*
|
|
5341
|
-
*
|
|
5342
|
-
*
|
|
5343
|
-
*
|
|
5344
|
-
*
|
|
5345
|
-
*
|
|
7139
|
+
* @private
|
|
7140
|
+
* @param {Object} object The object to compare.
|
|
7141
|
+
* @param {Object} other The other object to compare.
|
|
7142
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
7143
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
7144
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
7145
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
7146
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
5346
7147
|
*/
|
|
5347
|
-
function
|
|
5348
|
-
|
|
7148
|
+
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
7149
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1,
|
|
7150
|
+
objProps = getAllKeys(object),
|
|
7151
|
+
objLength = objProps.length,
|
|
7152
|
+
othProps = getAllKeys(other),
|
|
7153
|
+
othLength = othProps.length;
|
|
7154
|
+
|
|
7155
|
+
if (objLength != othLength && !isPartial) {
|
|
7156
|
+
return false;
|
|
7157
|
+
}
|
|
7158
|
+
var index = objLength;
|
|
7159
|
+
while (index--) {
|
|
7160
|
+
var key = objProps[index];
|
|
7161
|
+
if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
|
|
7162
|
+
return false;
|
|
7163
|
+
}
|
|
7164
|
+
}
|
|
7165
|
+
// Check that cyclic values are equal.
|
|
7166
|
+
var objStacked = stack.get(object);
|
|
7167
|
+
var othStacked = stack.get(other);
|
|
7168
|
+
if (objStacked && othStacked) {
|
|
7169
|
+
return objStacked == other && othStacked == object;
|
|
7170
|
+
}
|
|
7171
|
+
var result = true;
|
|
7172
|
+
stack.set(object, other);
|
|
7173
|
+
stack.set(other, object);
|
|
7174
|
+
|
|
7175
|
+
var skipCtor = isPartial;
|
|
7176
|
+
while (++index < objLength) {
|
|
7177
|
+
key = objProps[index];
|
|
7178
|
+
var objValue = object[key],
|
|
7179
|
+
othValue = other[key];
|
|
7180
|
+
|
|
7181
|
+
if (customizer) {
|
|
7182
|
+
var compared = isPartial
|
|
7183
|
+
? customizer(othValue, objValue, key, other, object, stack)
|
|
7184
|
+
: customizer(objValue, othValue, key, object, other, stack);
|
|
7185
|
+
}
|
|
7186
|
+
// Recursively compare objects (susceptible to call stack limits).
|
|
7187
|
+
if (!(compared === undefined
|
|
7188
|
+
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
|
7189
|
+
: compared
|
|
7190
|
+
)) {
|
|
7191
|
+
result = false;
|
|
7192
|
+
break;
|
|
7193
|
+
}
|
|
7194
|
+
skipCtor || (skipCtor = key == 'constructor');
|
|
7195
|
+
}
|
|
7196
|
+
if (result && !skipCtor) {
|
|
7197
|
+
var objCtor = object.constructor,
|
|
7198
|
+
othCtor = other.constructor;
|
|
7199
|
+
|
|
7200
|
+
// Non `Object` object instances with different constructors are not equal.
|
|
7201
|
+
if (objCtor != othCtor &&
|
|
7202
|
+
('constructor' in object && 'constructor' in other) &&
|
|
7203
|
+
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
|
7204
|
+
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
|
7205
|
+
result = false;
|
|
7206
|
+
}
|
|
7207
|
+
}
|
|
7208
|
+
stack['delete'](object);
|
|
7209
|
+
stack['delete'](other);
|
|
7210
|
+
return result;
|
|
5349
7211
|
}
|
|
5350
7212
|
|
|
7213
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
7214
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
|
7215
|
+
|
|
7216
|
+
/** `Object#toString` result references. */
|
|
7217
|
+
var argsTag = '[object Arguments]',
|
|
7218
|
+
arrayTag = '[object Array]',
|
|
7219
|
+
objectTag = '[object Object]';
|
|
7220
|
+
|
|
7221
|
+
/** Used for built-in method references. */
|
|
7222
|
+
var objectProto = Object.prototype;
|
|
7223
|
+
|
|
7224
|
+
/** Used to check objects for own properties. */
|
|
7225
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
7226
|
+
|
|
5351
7227
|
/**
|
|
5352
|
-
*
|
|
5353
|
-
*
|
|
5354
|
-
*
|
|
5355
|
-
* @memberOf _
|
|
5356
|
-
* @since 0.1.0
|
|
5357
|
-
* @category Lang
|
|
5358
|
-
* @param {*} value The value to check.
|
|
5359
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
5360
|
-
* @example
|
|
5361
|
-
*
|
|
5362
|
-
* _.isArray([1, 2, 3]);
|
|
5363
|
-
* // => true
|
|
7228
|
+
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
|
7229
|
+
* deep comparisons and tracks traversed objects enabling objects with circular
|
|
7230
|
+
* references to be compared.
|
|
5364
7231
|
*
|
|
5365
|
-
*
|
|
5366
|
-
*
|
|
5367
|
-
*
|
|
5368
|
-
*
|
|
5369
|
-
*
|
|
5370
|
-
*
|
|
5371
|
-
*
|
|
5372
|
-
*
|
|
7232
|
+
* @private
|
|
7233
|
+
* @param {Object} object The object to compare.
|
|
7234
|
+
* @param {Object} other The other object to compare.
|
|
7235
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
7236
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
7237
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
7238
|
+
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
|
7239
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
5373
7240
|
*/
|
|
5374
|
-
|
|
7241
|
+
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
7242
|
+
var objIsArr = isArray$1(object),
|
|
7243
|
+
othIsArr = isArray$1(other),
|
|
7244
|
+
objTag = objIsArr ? arrayTag : getTag$1(object),
|
|
7245
|
+
othTag = othIsArr ? arrayTag : getTag$1(other);
|
|
5375
7246
|
|
|
5376
|
-
|
|
7247
|
+
objTag = objTag == argsTag ? objectTag : objTag;
|
|
7248
|
+
othTag = othTag == argsTag ? objectTag : othTag;
|
|
7249
|
+
|
|
7250
|
+
var objIsObj = objTag == objectTag,
|
|
7251
|
+
othIsObj = othTag == objectTag,
|
|
7252
|
+
isSameTag = objTag == othTag;
|
|
7253
|
+
|
|
7254
|
+
if (isSameTag && isBuffer$1(object)) {
|
|
7255
|
+
if (!isBuffer$1(other)) {
|
|
7256
|
+
return false;
|
|
7257
|
+
}
|
|
7258
|
+
objIsArr = true;
|
|
7259
|
+
objIsObj = false;
|
|
7260
|
+
}
|
|
7261
|
+
if (isSameTag && !objIsObj) {
|
|
7262
|
+
stack || (stack = new Stack);
|
|
7263
|
+
return (objIsArr || isTypedArray$1(object))
|
|
7264
|
+
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
|
7265
|
+
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
7266
|
+
}
|
|
7267
|
+
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
|
7268
|
+
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
|
7269
|
+
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
|
7270
|
+
|
|
7271
|
+
if (objIsWrapped || othIsWrapped) {
|
|
7272
|
+
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
7273
|
+
othUnwrapped = othIsWrapped ? other.value() : other;
|
|
7274
|
+
|
|
7275
|
+
stack || (stack = new Stack);
|
|
7276
|
+
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
|
7277
|
+
}
|
|
7278
|
+
}
|
|
7279
|
+
if (!isSameTag) {
|
|
7280
|
+
return false;
|
|
7281
|
+
}
|
|
7282
|
+
stack || (stack = new Stack);
|
|
7283
|
+
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
7284
|
+
}
|
|
5377
7285
|
|
|
5378
7286
|
/**
|
|
5379
|
-
*
|
|
5380
|
-
*
|
|
5381
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
5382
|
-
*
|
|
5383
|
-
* @static
|
|
5384
|
-
* @memberOf _
|
|
5385
|
-
* @since 0.1.0
|
|
5386
|
-
* @category Lang
|
|
5387
|
-
* @param {*} value The value to check.
|
|
5388
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
5389
|
-
* @example
|
|
5390
|
-
*
|
|
5391
|
-
* _.isObject({});
|
|
5392
|
-
* // => true
|
|
5393
|
-
*
|
|
5394
|
-
* _.isObject([1, 2, 3]);
|
|
5395
|
-
* // => true
|
|
5396
|
-
*
|
|
5397
|
-
* _.isObject(_.noop);
|
|
5398
|
-
* // => true
|
|
7287
|
+
* The base implementation of `_.isEqual` which supports partial comparisons
|
|
7288
|
+
* and tracks traversed objects.
|
|
5399
7289
|
*
|
|
5400
|
-
*
|
|
5401
|
-
*
|
|
7290
|
+
* @private
|
|
7291
|
+
* @param {*} value The value to compare.
|
|
7292
|
+
* @param {*} other The other value to compare.
|
|
7293
|
+
* @param {boolean} bitmask The bitmask flags.
|
|
7294
|
+
* 1 - Unordered comparison
|
|
7295
|
+
* 2 - Partial comparison
|
|
7296
|
+
* @param {Function} [customizer] The function to customize comparisons.
|
|
7297
|
+
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
|
7298
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
5402
7299
|
*/
|
|
5403
|
-
function
|
|
5404
|
-
|
|
5405
|
-
|
|
7300
|
+
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
7301
|
+
if (value === other) {
|
|
7302
|
+
return true;
|
|
7303
|
+
}
|
|
7304
|
+
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
|
7305
|
+
return value !== value && other !== other;
|
|
7306
|
+
}
|
|
7307
|
+
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
5406
7308
|
}
|
|
5407
7309
|
|
|
5408
7310
|
/** `Object#toString` result references. */
|
|
@@ -5430,6 +7332,38 @@ function isString$2(value) {
|
|
|
5430
7332
|
(!isArray$1(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
|
|
5431
7333
|
}
|
|
5432
7334
|
|
|
7335
|
+
/**
|
|
7336
|
+
* Performs a deep comparison between two values to determine if they are
|
|
7337
|
+
* equivalent.
|
|
7338
|
+
*
|
|
7339
|
+
* **Note:** This method supports comparing arrays, array buffers, booleans,
|
|
7340
|
+
* date objects, error objects, maps, numbers, `Object` objects, regexes,
|
|
7341
|
+
* sets, strings, symbols, and typed arrays. `Object` objects are compared
|
|
7342
|
+
* by their own, not inherited, enumerable properties. Functions and DOM
|
|
7343
|
+
* nodes are compared by strict equality, i.e. `===`.
|
|
7344
|
+
*
|
|
7345
|
+
* @static
|
|
7346
|
+
* @memberOf _
|
|
7347
|
+
* @since 0.1.0
|
|
7348
|
+
* @category Lang
|
|
7349
|
+
* @param {*} value The value to compare.
|
|
7350
|
+
* @param {*} other The other value to compare.
|
|
7351
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
7352
|
+
* @example
|
|
7353
|
+
*
|
|
7354
|
+
* var object = { 'a': 1 };
|
|
7355
|
+
* var other = { 'a': 1 };
|
|
7356
|
+
*
|
|
7357
|
+
* _.isEqual(object, other);
|
|
7358
|
+
* // => true
|
|
7359
|
+
*
|
|
7360
|
+
* object === other;
|
|
7361
|
+
* // => false
|
|
7362
|
+
*/
|
|
7363
|
+
function isEqual(value, other) {
|
|
7364
|
+
return baseIsEqual(value, other);
|
|
7365
|
+
}
|
|
7366
|
+
|
|
5433
7367
|
const IconHelper = (props) => {
|
|
5434
7368
|
const { class: classNames, style, label, icon } = props;
|
|
5435
7369
|
return hAsync(KolIconFc$1, { class: clsx('icon', classNames), style: style, label: label || '', icons: icon });
|
|
@@ -14137,7 +16071,7 @@ const watchNavLinks = (className, component, value) => {
|
|
|
14137
16071
|
uiUxHintMillerscheZahl(className, component.state._links.length);
|
|
14138
16072
|
};
|
|
14139
16073
|
|
|
14140
|
-
const defaultStyleCss$H = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-breadcrumb {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n gap: 0.5em;\n flex-wrap: wrap;\n place-items: center;\n }\n .kol-breadcrumb__icon::part(separator) {\n font-weight: 900;\n font-size: 0.7em;\n }\n .kol-breadcrumb__icon::part(separator):before {\n content: \"\\f054\";\n font-family: \"Font Awesome 6 Free\";\n }\n}";
|
|
16074
|
+
const defaultStyleCss$H = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-breadcrumb {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n gap: 0.5em;\n flex-wrap: wrap;\n place-items: center;\n }\n .kol-breadcrumb__icon::part(separator) {\n font-weight: 900;\n font-size: 0.7em;\n }\n .kol-breadcrumb__icon::part(separator):before {\n content: \"\\f054\";\n font-family: \"Font Awesome 6 Free\";\n }\n}";
|
|
14141
16075
|
var KolBreadcrumbDefaultStyle0 = defaultStyleCss$H;
|
|
14142
16076
|
|
|
14143
16077
|
class KolBreadcrumb {
|
|
@@ -14145,7 +16079,7 @@ class KolBreadcrumb {
|
|
|
14145
16079
|
registerInstance(this, hostRef);
|
|
14146
16080
|
this.renderLink = (link, index) => {
|
|
14147
16081
|
const lastIndex = this.state._links.length - 1;
|
|
14148
|
-
return (hAsync("li", { class: "kol-breadcrumb__list-element", key: index }, index !== 0 && hAsync(KolIconTag, { class: "kol-breadcrumb__icon", _label: "", _icons: "codicon codicon-chevron-right" }), index === lastIndex ? (hAsync("span", { class: "kol-breadcrumb__list-element-span" }, link._hideLabel ? (hAsync(KolIconTag, { class: "kol-breadcrumb__icon", _label: link._label, _icons: typeof link._icons === 'string' ? link._icons : 'codicon codicon-symbol-event' })) : (hAsync(Fragment, null, link._label)))) : (hAsync(
|
|
16082
|
+
return (hAsync("li", { class: "kol-breadcrumb__list-element", key: index }, index !== 0 && hAsync(KolIconTag, { class: "kol-breadcrumb__icon", _label: "", _icons: "codicon codicon-chevron-right" }), index === lastIndex ? (hAsync("span", { class: "kol-breadcrumb__list-element-span" }, link._hideLabel ? (hAsync(KolIconTag, { class: "kol-breadcrumb__icon", _label: link._label, _icons: typeof link._icons === 'string' ? link._icons : 'codicon codicon-symbol-event' })) : (hAsync(Fragment, null, link._label)))) : (hAsync(KolLinkWcTag, Object.assign({ class: "kol-breadcrumb__link" }, link)))));
|
|
14149
16083
|
};
|
|
14150
16084
|
this._label = undefined;
|
|
14151
16085
|
this._links = undefined;
|
|
@@ -14155,7 +16089,7 @@ class KolBreadcrumb {
|
|
|
14155
16089
|
};
|
|
14156
16090
|
}
|
|
14157
16091
|
render() {
|
|
14158
|
-
return (hAsync("nav", { key: '
|
|
16092
|
+
return (hAsync("nav", { key: 'ec5c76bf09d3c9feaaf2e54dea8849f3df35f8cf', class: "kol-breadcrumb", "aria-label": this.state._label }, hAsync("ul", { key: '58258d0d211e35b1c10ea81d57ce664b5b365da1', class: "kol-breadcrumb__list" }, this.state._links.length === 0 && (hAsync("li", { key: '380473fa2c97a40a8f36042a7859edc30a13dcea' }, hAsync(KolIconTag, { key: '6f9289fa4d708da3b9bfbb7da105db05807dce39', class: "kol-breadcrumb_icon", _label: "", _icons: "codicon codicon-home" }), "\u2026")), this.state._links.map(this.renderLink))));
|
|
14159
16093
|
}
|
|
14160
16094
|
validateLabel(value, _oldValue, initial = false) {
|
|
14161
16095
|
if (!initial) {
|
|
@@ -14606,12 +16540,12 @@ class KolButtonWc {
|
|
|
14606
16540
|
const hasExpertSlot = showExpertSlot(this.state._label);
|
|
14607
16541
|
const hasAriaDescription = Boolean((_b = (_a = this.state._ariaDescription) === null || _a === void 0 ? void 0 : _a.trim()) === null || _b === void 0 ? void 0 : _b.length);
|
|
14608
16542
|
const badgeText = this.state._accessKey || this.state._shortKey;
|
|
14609
|
-
return (hAsync(Host, { key: '
|
|
16543
|
+
return (hAsync(Host, { key: '88fb283ddcb117a16a7d9bbbe4af5d95e982e705' }, hAsync("button", { key: '32101891390c1f05618744d94c960ce14bd55189', ref: this.catchRef, accessKey: this.state._accessKey || undefined, "aria-controls": this.state._ariaControls, "aria-describedby": hasAriaDescription ? this.internalDescriptionById : undefined, "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-haspopup": this._ariaHasPopup, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapStringOrBoolean2String(this.state._ariaSelected), class: clsx('kol-button', {
|
|
14610
16544
|
'kol-button--disabled': this.state._disabled === true,
|
|
14611
16545
|
[`kol-button--${this.state._variant}`]: this.state._variant !== 'custom',
|
|
14612
16546
|
'kol-button--hide-label': this.state._hideLabel === true,
|
|
14613
16547
|
[this.state._customClass]: this.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,
|
|
14614
|
-
}), disabled: this.state._disabled, id: this.state._id, name: this.state._name, onClick: this.onClick, onMouseDown: this.onMouseDown, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }, hAsync(KolSpanFc$1, { key: '
|
|
16548
|
+
}), disabled: this.state._disabled, id: this.state._id, name: this.state._name, onClick: this.onClick, onMouseDown: this.onMouseDown, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }, hAsync(KolSpanFc$1, { key: '79a1291431a07ebc737fd1de6dec4dda69b7da83', class: "kol-button__text", badgeText: badgeText, icons: this.state._icons, hideLabel: this.state._hideLabel, label: hasExpertSlot ? '' : this.state._label }, hAsync("slot", { key: '3b3a224e254beb9ad133bbd37d1cb32f1554a46f', name: "expert", slot: "expert" }))), hAsync(KolTooltipWcTag, { key: 'a61ba5756fd55dd58f097c4a15fc5ef252622948', "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, class: "kol-button__tooltip", _badgeText: badgeText, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' }), hasAriaDescription && (hAsync("span", { key: '27b3e166d07a876a05613e5e09454becbded2bf7', class: "visually-hidden", id: this.internalDescriptionById }, this.state._ariaDescription))));
|
|
14615
16549
|
}
|
|
14616
16550
|
constructor(hostRef) {
|
|
14617
16551
|
registerInstance(this, hostRef);
|
|
@@ -14655,6 +16589,7 @@ class KolButtonWc {
|
|
|
14655
16589
|
this._ariaControls = undefined;
|
|
14656
16590
|
this._ariaDescription = undefined;
|
|
14657
16591
|
this._ariaExpanded = undefined;
|
|
16592
|
+
this._ariaHasPopup = undefined;
|
|
14658
16593
|
this._ariaSelected = undefined;
|
|
14659
16594
|
this._customClass = undefined;
|
|
14660
16595
|
this._disabled = false;
|
|
@@ -14805,6 +16740,7 @@ class KolButtonWc {
|
|
|
14805
16740
|
"_ariaControls": [1, "_aria-controls"],
|
|
14806
16741
|
"_ariaDescription": [1, "_aria-description"],
|
|
14807
16742
|
"_ariaExpanded": [4, "_aria-expanded"],
|
|
16743
|
+
"_ariaHasPopup": [1, "_aria-has-popup"],
|
|
14808
16744
|
"_ariaSelected": [4, "_aria-selected"],
|
|
14809
16745
|
"_customClass": [1, "_custom-class"],
|
|
14810
16746
|
"_disabled": [4],
|
|
@@ -15329,14 +17265,14 @@ const CustomSuggestionsOptionFc = ({ index, ref, selected, onClick, onMouseOver,
|
|
|
15329
17265
|
};
|
|
15330
17266
|
var CustomSuggestionsOptionFc$1 = CustomSuggestionsOptionFc;
|
|
15331
17267
|
|
|
15332
|
-
const CustomSuggestionsOptionsGroupFc = ({ blockSuggestionMouseOver, onKeyDown }, children) => {
|
|
15333
|
-
return (hAsync("ul", { role: "listbox", class: clsx('kol-custom-suggestions-options-group', {
|
|
17268
|
+
const CustomSuggestionsOptionsGroupFc = ({ blockSuggestionMouseOver, onKeyDown, style }, children) => {
|
|
17269
|
+
return (hAsync("ul", { role: "listbox", style: style, class: clsx('kol-custom-suggestions-options-group', {
|
|
15334
17270
|
'kol-custom-suggestions-options-group--cursor-hidden': blockSuggestionMouseOver,
|
|
15335
17271
|
}), onKeyDown: onKeyDown }, children));
|
|
15336
17272
|
};
|
|
15337
17273
|
var CustomSuggestionsOptionsGroupFc$1 = CustomSuggestionsOptionsGroupFc;
|
|
15338
17274
|
|
|
15339
|
-
const defaultStyleCss$D = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
17275
|
+
const defaultStyleCss$D = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-option {\n cursor: pointer;\n white-space: normal;\n overflow-wrap: break-word;\n word-wrap: break-word;\n line-height: 1.5;\n box-sizing: border-box;\n }\n .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option {\n cursor: none !important;\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-options-group {\n display: block;\n position: absolute;\n list-style-type: none;\n margin: 0;\n padding: 0;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 2;\n background-color: white;\n max-height: calc(250rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-toggle {\n align-items: center;\n display: flex;\n height: var(--a11y-min-size);\n width: var(--a11y-min-size);\n }\n .kol-custom-suggestions-toggle:not(:disabled) {\n cursor: pointer;\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
15340
17276
|
var KolComboboxDefaultStyle0 = defaultStyleCss$D;
|
|
15341
17277
|
|
|
15342
17278
|
class KolCombobox {
|
|
@@ -15441,6 +17377,8 @@ class KolCombobox {
|
|
|
15441
17377
|
}, selected: this.state._value === option, onClick: () => {
|
|
15442
17378
|
this.selectOption(option);
|
|
15443
17379
|
this.toggleListbox();
|
|
17380
|
+
this._isOpen = false;
|
|
17381
|
+
this._hasOpened = false;
|
|
15444
17382
|
}, onMouseOver: () => {
|
|
15445
17383
|
if (!this.blockSuggestionMouseOver) {
|
|
15446
17384
|
this.focusOption(index);
|
|
@@ -15483,7 +17421,7 @@ class KolCombobox {
|
|
|
15483
17421
|
}
|
|
15484
17422
|
case 'Tab':
|
|
15485
17423
|
if (this._isOpen) {
|
|
15486
|
-
this._isOpen =
|
|
17424
|
+
this._isOpen = false;
|
|
15487
17425
|
(_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
15488
17426
|
}
|
|
15489
17427
|
break;
|
|
@@ -15491,13 +17429,21 @@ class KolCombobox {
|
|
|
15491
17429
|
case 'Escape': {
|
|
15492
17430
|
this._hasOpened = false;
|
|
15493
17431
|
this._isOpen = false;
|
|
15494
|
-
|
|
17432
|
+
event.preventDefault();
|
|
15495
17433
|
(_b = this.refInput) === null || _b === void 0 ? void 0 : _b.focus();
|
|
15496
17434
|
break;
|
|
15497
17435
|
}
|
|
15498
17436
|
case 'NumpadEnter':
|
|
15499
17437
|
case 'Enter': {
|
|
15500
|
-
this.
|
|
17438
|
+
if (this._isOpen && this._focusedOptionIndex >= 0) {
|
|
17439
|
+
this._filteredSuggestions && this.selectOption(this._filteredSuggestions[this._focusedOptionIndex]);
|
|
17440
|
+
this._isOpen = false;
|
|
17441
|
+
this._hasOpened = false;
|
|
17442
|
+
}
|
|
17443
|
+
else {
|
|
17444
|
+
this.toggleListbox();
|
|
17445
|
+
}
|
|
17446
|
+
event.preventDefault();
|
|
15501
17447
|
break;
|
|
15502
17448
|
}
|
|
15503
17449
|
case 'Home': {
|
|
@@ -16008,7 +17954,7 @@ class KolDrawer {
|
|
|
16008
17954
|
}; }
|
|
16009
17955
|
}
|
|
16010
17956
|
|
|
16011
|
-
const defaultStyleCss$A = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n @layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n }\n @layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
17957
|
+
const defaultStyleCss$A = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n @layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n }\n @layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n }\n .kol-form {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}";
|
|
16012
17958
|
var KolFormDefaultStyle0 = defaultStyleCss$A;
|
|
16013
17959
|
|
|
16014
17960
|
class KolForm {
|
|
@@ -16181,6 +18127,10 @@ class KolHeading {
|
|
|
16181
18127
|
}; }
|
|
16182
18128
|
}
|
|
16183
18129
|
|
|
18130
|
+
const bem = s();
|
|
18131
|
+
const BEM_CLASS_ICON = bem('kol-icon');
|
|
18132
|
+
const BEM_CLASS_ICON__ICON = bem('kol-icon', 'icon');
|
|
18133
|
+
|
|
16184
18134
|
const defaultStyleCss$y = "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n@font-face {\n font-family: \"codicon\";\n font-display: block;\n src: url(\"./codicon.ttf?be64b7213e352cd7f91ef58198e71237\") format(\"truetype\");\n}\n.codicon[class*=codicon-] {\n font: normal normal normal 16px/1 codicon;\n display: inline-block;\n text-decoration: none;\n text-rendering: auto;\n text-align: center;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n/*---------------------\n * Modifiers\n *-------------------*/\n@keyframes codicon-spin {\n 100% {\n transform: rotate(360deg);\n }\n}\n.codicon-sync.codicon-modifier-spin,\n.codicon-loading.codicon-modifier-spin,\n.codicon-gear.codicon-modifier-spin {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.5s steps(30) infinite;\n}\n\n.codicon-modifier-disabled {\n opacity: 0.5;\n}\n\n.codicon-modifier-hidden {\n opacity: 0;\n}\n\n/* custom speed & easing for loading icon */\n.codicon-loading {\n animation-duration: 1s !important;\n animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\n}\n\n/*---------------------\n * Icons\n *-------------------*/\n.codicon-add:before {\n content: \"\\ea60\";\n}\n\n.codicon-plus:before {\n content: \"\\ea60\";\n}\n\n.codicon-gist-new:before {\n content: \"\\ea60\";\n}\n\n.codicon-repo-create:before {\n content: \"\\ea60\";\n}\n\n.codicon-lightbulb:before {\n content: \"\\ea61\";\n}\n\n.codicon-light-bulb:before {\n content: \"\\ea61\";\n}\n\n.codicon-repo:before {\n content: \"\\ea62\";\n}\n\n.codicon-repo-delete:before {\n content: \"\\ea62\";\n}\n\n.codicon-gist-fork:before {\n content: \"\\ea63\";\n}\n\n.codicon-repo-forked:before {\n content: \"\\ea63\";\n}\n\n.codicon-git-pull-request:before {\n content: \"\\ea64\";\n}\n\n.codicon-git-pull-request-abandoned:before {\n content: \"\\ea64\";\n}\n\n.codicon-record-keys:before {\n content: \"\\ea65\";\n}\n\n.codicon-keyboard:before {\n content: \"\\ea65\";\n}\n\n.codicon-tag:before {\n content: \"\\ea66\";\n}\n\n.codicon-git-pull-request-label:before {\n content: \"\\ea66\";\n}\n\n.codicon-tag-add:before {\n content: \"\\ea66\";\n}\n\n.codicon-tag-remove:before {\n content: \"\\ea66\";\n}\n\n.codicon-person:before {\n content: \"\\ea67\";\n}\n\n.codicon-person-follow:before {\n content: \"\\ea67\";\n}\n\n.codicon-person-outline:before {\n content: \"\\ea67\";\n}\n\n.codicon-person-filled:before {\n content: \"\\ea67\";\n}\n\n.codicon-git-branch:before {\n content: \"\\ea68\";\n}\n\n.codicon-git-branch-create:before {\n content: \"\\ea68\";\n}\n\n.codicon-git-branch-delete:before {\n content: \"\\ea68\";\n}\n\n.codicon-source-control:before {\n content: \"\\ea68\";\n}\n\n.codicon-mirror:before {\n content: \"\\ea69\";\n}\n\n.codicon-mirror-public:before {\n content: \"\\ea69\";\n}\n\n.codicon-star:before {\n content: \"\\ea6a\";\n}\n\n.codicon-star-add:before {\n content: \"\\ea6a\";\n}\n\n.codicon-star-delete:before {\n content: \"\\ea6a\";\n}\n\n.codicon-star-empty:before {\n content: \"\\ea6a\";\n}\n\n.codicon-comment:before {\n content: \"\\ea6b\";\n}\n\n.codicon-comment-add:before {\n content: \"\\ea6b\";\n}\n\n.codicon-alert:before {\n content: \"\\ea6c\";\n}\n\n.codicon-warning:before {\n content: \"\\ea6c\";\n}\n\n.codicon-search:before {\n content: \"\\ea6d\";\n}\n\n.codicon-search-save:before {\n content: \"\\ea6d\";\n}\n\n.codicon-log-out:before {\n content: \"\\ea6e\";\n}\n\n.codicon-sign-out:before {\n content: \"\\ea6e\";\n}\n\n.codicon-log-in:before {\n content: \"\\ea6f\";\n}\n\n.codicon-sign-in:before {\n content: \"\\ea6f\";\n}\n\n.codicon-eye:before {\n content: \"\\ea70\";\n}\n\n.codicon-eye-unwatch:before {\n content: \"\\ea70\";\n}\n\n.codicon-eye-watch:before {\n content: \"\\ea70\";\n}\n\n.codicon-circle-filled:before {\n content: \"\\ea71\";\n}\n\n.codicon-primitive-dot:before {\n content: \"\\ea71\";\n}\n\n.codicon-close-dirty:before {\n content: \"\\ea71\";\n}\n\n.codicon-debug-breakpoint:before {\n content: \"\\ea71\";\n}\n\n.codicon-debug-breakpoint-disabled:before {\n content: \"\\ea71\";\n}\n\n.codicon-debug-hint:before {\n content: \"\\ea71\";\n}\n\n.codicon-terminal-decoration-success:before {\n content: \"\\ea71\";\n}\n\n.codicon-primitive-square:before {\n content: \"\\ea72\";\n}\n\n.codicon-edit:before {\n content: \"\\ea73\";\n}\n\n.codicon-pencil:before {\n content: \"\\ea73\";\n}\n\n.codicon-info:before {\n content: \"\\ea74\";\n}\n\n.codicon-issue-opened:before {\n content: \"\\ea74\";\n}\n\n.codicon-gist-private:before {\n content: \"\\ea75\";\n}\n\n.codicon-git-fork-private:before {\n content: \"\\ea75\";\n}\n\n.codicon-lock:before {\n content: \"\\ea75\";\n}\n\n.codicon-mirror-private:before {\n content: \"\\ea75\";\n}\n\n.codicon-close:before {\n content: \"\\ea76\";\n}\n\n.codicon-remove-close:before {\n content: \"\\ea76\";\n}\n\n.codicon-x:before {\n content: \"\\ea76\";\n}\n\n.codicon-repo-sync:before {\n content: \"\\ea77\";\n}\n\n.codicon-sync:before {\n content: \"\\ea77\";\n}\n\n.codicon-clone:before {\n content: \"\\ea78\";\n}\n\n.codicon-desktop-download:before {\n content: \"\\ea78\";\n}\n\n.codicon-beaker:before {\n content: \"\\ea79\";\n}\n\n.codicon-microscope:before {\n content: \"\\ea79\";\n}\n\n.codicon-vm:before {\n content: \"\\ea7a\";\n}\n\n.codicon-device-desktop:before {\n content: \"\\ea7a\";\n}\n\n.codicon-file:before {\n content: \"\\ea7b\";\n}\n\n.codicon-file-text:before {\n content: \"\\ea7b\";\n}\n\n.codicon-more:before {\n content: \"\\ea7c\";\n}\n\n.codicon-ellipsis:before {\n content: \"\\ea7c\";\n}\n\n.codicon-kebab-horizontal:before {\n content: \"\\ea7c\";\n}\n\n.codicon-mail-reply:before {\n content: \"\\ea7d\";\n}\n\n.codicon-reply:before {\n content: \"\\ea7d\";\n}\n\n.codicon-organization:before {\n content: \"\\ea7e\";\n}\n\n.codicon-organization-filled:before {\n content: \"\\ea7e\";\n}\n\n.codicon-organization-outline:before {\n content: \"\\ea7e\";\n}\n\n.codicon-new-file:before {\n content: \"\\ea7f\";\n}\n\n.codicon-file-add:before {\n content: \"\\ea7f\";\n}\n\n.codicon-new-folder:before {\n content: \"\\ea80\";\n}\n\n.codicon-file-directory-create:before {\n content: \"\\ea80\";\n}\n\n.codicon-trash:before {\n content: \"\\ea81\";\n}\n\n.codicon-trashcan:before {\n content: \"\\ea81\";\n}\n\n.codicon-history:before {\n content: \"\\ea82\";\n}\n\n.codicon-clock:before {\n content: \"\\ea82\";\n}\n\n.codicon-folder:before {\n content: \"\\ea83\";\n}\n\n.codicon-file-directory:before {\n content: \"\\ea83\";\n}\n\n.codicon-symbol-folder:before {\n content: \"\\ea83\";\n}\n\n.codicon-logo-github:before {\n content: \"\\ea84\";\n}\n\n.codicon-mark-github:before {\n content: \"\\ea84\";\n}\n\n.codicon-github:before {\n content: \"\\ea84\";\n}\n\n.codicon-terminal:before {\n content: \"\\ea85\";\n}\n\n.codicon-console:before {\n content: \"\\ea85\";\n}\n\n.codicon-repl:before {\n content: \"\\ea85\";\n}\n\n.codicon-zap:before {\n content: \"\\ea86\";\n}\n\n.codicon-symbol-event:before {\n content: \"\\ea86\";\n}\n\n.codicon-error:before {\n content: \"\\ea87\";\n}\n\n.codicon-stop:before {\n content: \"\\ea87\";\n}\n\n.codicon-variable:before {\n content: \"\\ea88\";\n}\n\n.codicon-symbol-variable:before {\n content: \"\\ea88\";\n}\n\n.codicon-array:before {\n content: \"\\ea8a\";\n}\n\n.codicon-symbol-array:before {\n content: \"\\ea8a\";\n}\n\n.codicon-symbol-module:before {\n content: \"\\ea8b\";\n}\n\n.codicon-symbol-package:before {\n content: \"\\ea8b\";\n}\n\n.codicon-symbol-namespace:before {\n content: \"\\ea8b\";\n}\n\n.codicon-symbol-object:before {\n content: \"\\ea8b\";\n}\n\n.codicon-symbol-method:before {\n content: \"\\ea8c\";\n}\n\n.codicon-symbol-function:before {\n content: \"\\ea8c\";\n}\n\n.codicon-symbol-constructor:before {\n content: \"\\ea8c\";\n}\n\n.codicon-symbol-boolean:before {\n content: \"\\ea8f\";\n}\n\n.codicon-symbol-null:before {\n content: \"\\ea8f\";\n}\n\n.codicon-symbol-numeric:before {\n content: \"\\ea90\";\n}\n\n.codicon-symbol-number:before {\n content: \"\\ea90\";\n}\n\n.codicon-symbol-structure:before {\n content: \"\\ea91\";\n}\n\n.codicon-symbol-struct:before {\n content: \"\\ea91\";\n}\n\n.codicon-symbol-parameter:before {\n content: \"\\ea92\";\n}\n\n.codicon-symbol-type-parameter:before {\n content: \"\\ea92\";\n}\n\n.codicon-symbol-key:before {\n content: \"\\ea93\";\n}\n\n.codicon-symbol-text:before {\n content: \"\\ea93\";\n}\n\n.codicon-symbol-reference:before {\n content: \"\\ea94\";\n}\n\n.codicon-go-to-file:before {\n content: \"\\ea94\";\n}\n\n.codicon-symbol-enum:before {\n content: \"\\ea95\";\n}\n\n.codicon-symbol-value:before {\n content: \"\\ea95\";\n}\n\n.codicon-symbol-ruler:before {\n content: \"\\ea96\";\n}\n\n.codicon-symbol-unit:before {\n content: \"\\ea96\";\n}\n\n.codicon-activate-breakpoints:before {\n content: \"\\ea97\";\n}\n\n.codicon-archive:before {\n content: \"\\ea98\";\n}\n\n.codicon-arrow-both:before {\n content: \"\\ea99\";\n}\n\n.codicon-arrow-down:before {\n content: \"\\ea9a\";\n}\n\n.codicon-arrow-left:before {\n content: \"\\ea9b\";\n}\n\n.codicon-arrow-right:before {\n content: \"\\ea9c\";\n}\n\n.codicon-arrow-small-down:before {\n content: \"\\ea9d\";\n}\n\n.codicon-arrow-small-left:before {\n content: \"\\ea9e\";\n}\n\n.codicon-arrow-small-right:before {\n content: \"\\ea9f\";\n}\n\n.codicon-arrow-small-up:before {\n content: \"\\eaa0\";\n}\n\n.codicon-arrow-up:before {\n content: \"\\eaa1\";\n}\n\n.codicon-bell:before {\n content: \"\\eaa2\";\n}\n\n.codicon-bold:before {\n content: \"\\eaa3\";\n}\n\n.codicon-book:before {\n content: \"\\eaa4\";\n}\n\n.codicon-bookmark:before {\n content: \"\\eaa5\";\n}\n\n.codicon-debug-breakpoint-conditional-unverified:before {\n content: \"\\eaa6\";\n}\n\n.codicon-debug-breakpoint-conditional:before {\n content: \"\\eaa7\";\n}\n\n.codicon-debug-breakpoint-conditional-disabled:before {\n content: \"\\eaa7\";\n}\n\n.codicon-debug-breakpoint-data-unverified:before {\n content: \"\\eaa8\";\n}\n\n.codicon-debug-breakpoint-data:before {\n content: \"\\eaa9\";\n}\n\n.codicon-debug-breakpoint-data-disabled:before {\n content: \"\\eaa9\";\n}\n\n.codicon-debug-breakpoint-log-unverified:before {\n content: \"\\eaaa\";\n}\n\n.codicon-debug-breakpoint-log:before {\n content: \"\\eaab\";\n}\n\n.codicon-debug-breakpoint-log-disabled:before {\n content: \"\\eaab\";\n}\n\n.codicon-briefcase:before {\n content: \"\\eaac\";\n}\n\n.codicon-broadcast:before {\n content: \"\\eaad\";\n}\n\n.codicon-browser:before {\n content: \"\\eaae\";\n}\n\n.codicon-bug:before {\n content: \"\\eaaf\";\n}\n\n.codicon-calendar:before {\n content: \"\\eab0\";\n}\n\n.codicon-case-sensitive:before {\n content: \"\\eab1\";\n}\n\n.codicon-check:before {\n content: \"\\eab2\";\n}\n\n.codicon-checklist:before {\n content: \"\\eab3\";\n}\n\n.codicon-chevron-down:before {\n content: \"\\eab4\";\n}\n\n.codicon-chevron-left:before {\n content: \"\\eab5\";\n}\n\n.codicon-chevron-right:before {\n content: \"\\eab6\";\n}\n\n.codicon-chevron-up:before {\n content: \"\\eab7\";\n}\n\n.codicon-chrome-close:before {\n content: \"\\eab8\";\n}\n\n.codicon-chrome-maximize:before {\n content: \"\\eab9\";\n}\n\n.codicon-chrome-minimize:before {\n content: \"\\eaba\";\n}\n\n.codicon-chrome-restore:before {\n content: \"\\eabb\";\n}\n\n.codicon-circle-outline:before {\n content: \"\\eabc\";\n}\n\n.codicon-circle:before {\n content: \"\\eabc\";\n}\n\n.codicon-debug-breakpoint-unverified:before {\n content: \"\\eabc\";\n}\n\n.codicon-terminal-decoration-incomplete:before {\n content: \"\\eabc\";\n}\n\n.codicon-circle-slash:before {\n content: \"\\eabd\";\n}\n\n.codicon-circuit-board:before {\n content: \"\\eabe\";\n}\n\n.codicon-clear-all:before {\n content: \"\\eabf\";\n}\n\n.codicon-clippy:before {\n content: \"\\eac0\";\n}\n\n.codicon-close-all:before {\n content: \"\\eac1\";\n}\n\n.codicon-cloud-download:before {\n content: \"\\eac2\";\n}\n\n.codicon-cloud-upload:before {\n content: \"\\eac3\";\n}\n\n.codicon-code:before {\n content: \"\\eac4\";\n}\n\n.codicon-collapse-all:before {\n content: \"\\eac5\";\n}\n\n.codicon-color-mode:before {\n content: \"\\eac6\";\n}\n\n.codicon-comment-discussion:before {\n content: \"\\eac7\";\n}\n\n.codicon-credit-card:before {\n content: \"\\eac9\";\n}\n\n.codicon-dash:before {\n content: \"\\eacc\";\n}\n\n.codicon-dashboard:before {\n content: \"\\eacd\";\n}\n\n.codicon-database:before {\n content: \"\\eace\";\n}\n\n.codicon-debug-continue:before {\n content: \"\\eacf\";\n}\n\n.codicon-debug-disconnect:before {\n content: \"\\ead0\";\n}\n\n.codicon-debug-pause:before {\n content: \"\\ead1\";\n}\n\n.codicon-debug-restart:before {\n content: \"\\ead2\";\n}\n\n.codicon-debug-start:before {\n content: \"\\ead3\";\n}\n\n.codicon-debug-step-into:before {\n content: \"\\ead4\";\n}\n\n.codicon-debug-step-out:before {\n content: \"\\ead5\";\n}\n\n.codicon-debug-step-over:before {\n content: \"\\ead6\";\n}\n\n.codicon-debug-stop:before {\n content: \"\\ead7\";\n}\n\n.codicon-debug:before {\n content: \"\\ead8\";\n}\n\n.codicon-device-camera-video:before {\n content: \"\\ead9\";\n}\n\n.codicon-device-camera:before {\n content: \"\\eada\";\n}\n\n.codicon-device-mobile:before {\n content: \"\\eadb\";\n}\n\n.codicon-diff-added:before {\n content: \"\\eadc\";\n}\n\n.codicon-diff-ignored:before {\n content: \"\\eadd\";\n}\n\n.codicon-diff-modified:before {\n content: \"\\eade\";\n}\n\n.codicon-diff-removed:before {\n content: \"\\eadf\";\n}\n\n.codicon-diff-renamed:before {\n content: \"\\eae0\";\n}\n\n.codicon-diff:before {\n content: \"\\eae1\";\n}\n\n.codicon-diff-sidebyside:before {\n content: \"\\eae1\";\n}\n\n.codicon-discard:before {\n content: \"\\eae2\";\n}\n\n.codicon-editor-layout:before {\n content: \"\\eae3\";\n}\n\n.codicon-empty-window:before {\n content: \"\\eae4\";\n}\n\n.codicon-exclude:before {\n content: \"\\eae5\";\n}\n\n.codicon-extensions:before {\n content: \"\\eae6\";\n}\n\n.codicon-eye-closed:before {\n content: \"\\eae7\";\n}\n\n.codicon-file-binary:before {\n content: \"\\eae8\";\n}\n\n.codicon-file-code:before {\n content: \"\\eae9\";\n}\n\n.codicon-file-media:before {\n content: \"\\eaea\";\n}\n\n.codicon-file-pdf:before {\n content: \"\\eaeb\";\n}\n\n.codicon-file-submodule:before {\n content: \"\\eaec\";\n}\n\n.codicon-file-symlink-directory:before {\n content: \"\\eaed\";\n}\n\n.codicon-file-symlink-file:before {\n content: \"\\eaee\";\n}\n\n.codicon-file-zip:before {\n content: \"\\eaef\";\n}\n\n.codicon-files:before {\n content: \"\\eaf0\";\n}\n\n.codicon-filter:before {\n content: \"\\eaf1\";\n}\n\n.codicon-flame:before {\n content: \"\\eaf2\";\n}\n\n.codicon-fold-down:before {\n content: \"\\eaf3\";\n}\n\n.codicon-fold-up:before {\n content: \"\\eaf4\";\n}\n\n.codicon-fold:before {\n content: \"\\eaf5\";\n}\n\n.codicon-folder-active:before {\n content: \"\\eaf6\";\n}\n\n.codicon-folder-opened:before {\n content: \"\\eaf7\";\n}\n\n.codicon-gear:before {\n content: \"\\eaf8\";\n}\n\n.codicon-gift:before {\n content: \"\\eaf9\";\n}\n\n.codicon-gist-secret:before {\n content: \"\\eafa\";\n}\n\n.codicon-gist:before {\n content: \"\\eafb\";\n}\n\n.codicon-git-commit:before {\n content: \"\\eafc\";\n}\n\n.codicon-git-compare:before {\n content: \"\\eafd\";\n}\n\n.codicon-compare-changes:before {\n content: \"\\eafd\";\n}\n\n.codicon-git-merge:before {\n content: \"\\eafe\";\n}\n\n.codicon-github-action:before {\n content: \"\\eaff\";\n}\n\n.codicon-github-alt:before {\n content: \"\\eb00\";\n}\n\n.codicon-globe:before {\n content: \"\\eb01\";\n}\n\n.codicon-grabber:before {\n content: \"\\eb02\";\n}\n\n.codicon-graph:before {\n content: \"\\eb03\";\n}\n\n.codicon-gripper:before {\n content: \"\\eb04\";\n}\n\n.codicon-heart:before {\n content: \"\\eb05\";\n}\n\n.codicon-home:before {\n content: \"\\eb06\";\n}\n\n.codicon-horizontal-rule:before {\n content: \"\\eb07\";\n}\n\n.codicon-hubot:before {\n content: \"\\eb08\";\n}\n\n.codicon-inbox:before {\n content: \"\\eb09\";\n}\n\n.codicon-issue-reopened:before {\n content: \"\\eb0b\";\n}\n\n.codicon-issues:before {\n content: \"\\eb0c\";\n}\n\n.codicon-italic:before {\n content: \"\\eb0d\";\n}\n\n.codicon-jersey:before {\n content: \"\\eb0e\";\n}\n\n.codicon-json:before {\n content: \"\\eb0f\";\n}\n\n.codicon-kebab-vertical:before {\n content: \"\\eb10\";\n}\n\n.codicon-key:before {\n content: \"\\eb11\";\n}\n\n.codicon-law:before {\n content: \"\\eb12\";\n}\n\n.codicon-lightbulb-autofix:before {\n content: \"\\eb13\";\n}\n\n.codicon-link-external:before {\n content: \"\\eb14\";\n}\n\n.codicon-link:before {\n content: \"\\eb15\";\n}\n\n.codicon-list-ordered:before {\n content: \"\\eb16\";\n}\n\n.codicon-list-unordered:before {\n content: \"\\eb17\";\n}\n\n.codicon-live-share:before {\n content: \"\\eb18\";\n}\n\n.codicon-loading:before {\n content: \"\\eb19\";\n}\n\n.codicon-location:before {\n content: \"\\eb1a\";\n}\n\n.codicon-mail-read:before {\n content: \"\\eb1b\";\n}\n\n.codicon-mail:before {\n content: \"\\eb1c\";\n}\n\n.codicon-markdown:before {\n content: \"\\eb1d\";\n}\n\n.codicon-megaphone:before {\n content: \"\\eb1e\";\n}\n\n.codicon-mention:before {\n content: \"\\eb1f\";\n}\n\n.codicon-milestone:before {\n content: \"\\eb20\";\n}\n\n.codicon-git-pull-request-milestone:before {\n content: \"\\eb20\";\n}\n\n.codicon-mortar-board:before {\n content: \"\\eb21\";\n}\n\n.codicon-move:before {\n content: \"\\eb22\";\n}\n\n.codicon-multiple-windows:before {\n content: \"\\eb23\";\n}\n\n.codicon-mute:before {\n content: \"\\eb24\";\n}\n\n.codicon-no-newline:before {\n content: \"\\eb25\";\n}\n\n.codicon-note:before {\n content: \"\\eb26\";\n}\n\n.codicon-octoface:before {\n content: \"\\eb27\";\n}\n\n.codicon-open-preview:before {\n content: \"\\eb28\";\n}\n\n.codicon-package:before {\n content: \"\\eb29\";\n}\n\n.codicon-paintcan:before {\n content: \"\\eb2a\";\n}\n\n.codicon-pin:before {\n content: \"\\eb2b\";\n}\n\n.codicon-play:before {\n content: \"\\eb2c\";\n}\n\n.codicon-run:before {\n content: \"\\eb2c\";\n}\n\n.codicon-plug:before {\n content: \"\\eb2d\";\n}\n\n.codicon-preserve-case:before {\n content: \"\\eb2e\";\n}\n\n.codicon-preview:before {\n content: \"\\eb2f\";\n}\n\n.codicon-project:before {\n content: \"\\eb30\";\n}\n\n.codicon-pulse:before {\n content: \"\\eb31\";\n}\n\n.codicon-question:before {\n content: \"\\eb32\";\n}\n\n.codicon-quote:before {\n content: \"\\eb33\";\n}\n\n.codicon-radio-tower:before {\n content: \"\\eb34\";\n}\n\n.codicon-reactions:before {\n content: \"\\eb35\";\n}\n\n.codicon-references:before {\n content: \"\\eb36\";\n}\n\n.codicon-refresh:before {\n content: \"\\eb37\";\n}\n\n.codicon-regex:before {\n content: \"\\eb38\";\n}\n\n.codicon-remote-explorer:before {\n content: \"\\eb39\";\n}\n\n.codicon-remote:before {\n content: \"\\eb3a\";\n}\n\n.codicon-remove:before {\n content: \"\\eb3b\";\n}\n\n.codicon-replace-all:before {\n content: \"\\eb3c\";\n}\n\n.codicon-replace:before {\n content: \"\\eb3d\";\n}\n\n.codicon-repo-clone:before {\n content: \"\\eb3e\";\n}\n\n.codicon-repo-force-push:before {\n content: \"\\eb3f\";\n}\n\n.codicon-repo-pull:before {\n content: \"\\eb40\";\n}\n\n.codicon-repo-push:before {\n content: \"\\eb41\";\n}\n\n.codicon-report:before {\n content: \"\\eb42\";\n}\n\n.codicon-request-changes:before {\n content: \"\\eb43\";\n}\n\n.codicon-rocket:before {\n content: \"\\eb44\";\n}\n\n.codicon-root-folder-opened:before {\n content: \"\\eb45\";\n}\n\n.codicon-root-folder:before {\n content: \"\\eb46\";\n}\n\n.codicon-rss:before {\n content: \"\\eb47\";\n}\n\n.codicon-ruby:before {\n content: \"\\eb48\";\n}\n\n.codicon-save-all:before {\n content: \"\\eb49\";\n}\n\n.codicon-save-as:before {\n content: \"\\eb4a\";\n}\n\n.codicon-save:before {\n content: \"\\eb4b\";\n}\n\n.codicon-screen-full:before {\n content: \"\\eb4c\";\n}\n\n.codicon-screen-normal:before {\n content: \"\\eb4d\";\n}\n\n.codicon-search-stop:before {\n content: \"\\eb4e\";\n}\n\n.codicon-server:before {\n content: \"\\eb50\";\n}\n\n.codicon-settings-gear:before {\n content: \"\\eb51\";\n}\n\n.codicon-settings:before {\n content: \"\\eb52\";\n}\n\n.codicon-shield:before {\n content: \"\\eb53\";\n}\n\n.codicon-smiley:before {\n content: \"\\eb54\";\n}\n\n.codicon-sort-precedence:before {\n content: \"\\eb55\";\n}\n\n.codicon-split-horizontal:before {\n content: \"\\eb56\";\n}\n\n.codicon-split-vertical:before {\n content: \"\\eb57\";\n}\n\n.codicon-squirrel:before {\n content: \"\\eb58\";\n}\n\n.codicon-star-full:before {\n content: \"\\eb59\";\n}\n\n.codicon-star-half:before {\n content: \"\\eb5a\";\n}\n\n.codicon-symbol-class:before {\n content: \"\\eb5b\";\n}\n\n.codicon-symbol-color:before {\n content: \"\\eb5c\";\n}\n\n.codicon-symbol-constant:before {\n content: \"\\eb5d\";\n}\n\n.codicon-symbol-enum-member:before {\n content: \"\\eb5e\";\n}\n\n.codicon-symbol-field:before {\n content: \"\\eb5f\";\n}\n\n.codicon-symbol-file:before {\n content: \"\\eb60\";\n}\n\n.codicon-symbol-interface:before {\n content: \"\\eb61\";\n}\n\n.codicon-symbol-keyword:before {\n content: \"\\eb62\";\n}\n\n.codicon-symbol-misc:before {\n content: \"\\eb63\";\n}\n\n.codicon-symbol-operator:before {\n content: \"\\eb64\";\n}\n\n.codicon-symbol-property:before {\n content: \"\\eb65\";\n}\n\n.codicon-wrench:before {\n content: \"\\eb65\";\n}\n\n.codicon-wrench-subaction:before {\n content: \"\\eb65\";\n}\n\n.codicon-symbol-snippet:before {\n content: \"\\eb66\";\n}\n\n.codicon-tasklist:before {\n content: \"\\eb67\";\n}\n\n.codicon-telescope:before {\n content: \"\\eb68\";\n}\n\n.codicon-text-size:before {\n content: \"\\eb69\";\n}\n\n.codicon-three-bars:before {\n content: \"\\eb6a\";\n}\n\n.codicon-thumbsdown:before {\n content: \"\\eb6b\";\n}\n\n.codicon-thumbsup:before {\n content: \"\\eb6c\";\n}\n\n.codicon-tools:before {\n content: \"\\eb6d\";\n}\n\n.codicon-triangle-down:before {\n content: \"\\eb6e\";\n}\n\n.codicon-triangle-left:before {\n content: \"\\eb6f\";\n}\n\n.codicon-triangle-right:before {\n content: \"\\eb70\";\n}\n\n.codicon-triangle-up:before {\n content: \"\\eb71\";\n}\n\n.codicon-twitter:before {\n content: \"\\eb72\";\n}\n\n.codicon-unfold:before {\n content: \"\\eb73\";\n}\n\n.codicon-unlock:before {\n content: \"\\eb74\";\n}\n\n.codicon-unmute:before {\n content: \"\\eb75\";\n}\n\n.codicon-unverified:before {\n content: \"\\eb76\";\n}\n\n.codicon-verified:before {\n content: \"\\eb77\";\n}\n\n.codicon-versions:before {\n content: \"\\eb78\";\n}\n\n.codicon-vm-active:before {\n content: \"\\eb79\";\n}\n\n.codicon-vm-outline:before {\n content: \"\\eb7a\";\n}\n\n.codicon-vm-running:before {\n content: \"\\eb7b\";\n}\n\n.codicon-watch:before {\n content: \"\\eb7c\";\n}\n\n.codicon-whitespace:before {\n content: \"\\eb7d\";\n}\n\n.codicon-whole-word:before {\n content: \"\\eb7e\";\n}\n\n.codicon-window:before {\n content: \"\\eb7f\";\n}\n\n.codicon-word-wrap:before {\n content: \"\\eb80\";\n}\n\n.codicon-zoom-in:before {\n content: \"\\eb81\";\n}\n\n.codicon-zoom-out:before {\n content: \"\\eb82\";\n}\n\n.codicon-list-filter:before {\n content: \"\\eb83\";\n}\n\n.codicon-list-flat:before {\n content: \"\\eb84\";\n}\n\n.codicon-list-selection:before {\n content: \"\\eb85\";\n}\n\n.codicon-selection:before {\n content: \"\\eb85\";\n}\n\n.codicon-list-tree:before {\n content: \"\\eb86\";\n}\n\n.codicon-debug-breakpoint-function-unverified:before {\n content: \"\\eb87\";\n}\n\n.codicon-debug-breakpoint-function:before {\n content: \"\\eb88\";\n}\n\n.codicon-debug-breakpoint-function-disabled:before {\n content: \"\\eb88\";\n}\n\n.codicon-debug-stackframe-active:before {\n content: \"\\eb89\";\n}\n\n.codicon-circle-small-filled:before {\n content: \"\\eb8a\";\n}\n\n.codicon-debug-stackframe-dot:before {\n content: \"\\eb8a\";\n}\n\n.codicon-terminal-decoration-mark:before {\n content: \"\\eb8a\";\n}\n\n.codicon-debug-stackframe:before {\n content: \"\\eb8b\";\n}\n\n.codicon-debug-stackframe-focused:before {\n content: \"\\eb8b\";\n}\n\n.codicon-debug-breakpoint-unsupported:before {\n content: \"\\eb8c\";\n}\n\n.codicon-symbol-string:before {\n content: \"\\eb8d\";\n}\n\n.codicon-debug-reverse-continue:before {\n content: \"\\eb8e\";\n}\n\n.codicon-debug-step-back:before {\n content: \"\\eb8f\";\n}\n\n.codicon-debug-restart-frame:before {\n content: \"\\eb90\";\n}\n\n.codicon-debug-alt:before {\n content: \"\\eb91\";\n}\n\n.codicon-call-incoming:before {\n content: \"\\eb92\";\n}\n\n.codicon-call-outgoing:before {\n content: \"\\eb93\";\n}\n\n.codicon-menu:before {\n content: \"\\eb94\";\n}\n\n.codicon-expand-all:before {\n content: \"\\eb95\";\n}\n\n.codicon-feedback:before {\n content: \"\\eb96\";\n}\n\n.codicon-git-pull-request-reviewer:before {\n content: \"\\eb96\";\n}\n\n.codicon-group-by-ref-type:before {\n content: \"\\eb97\";\n}\n\n.codicon-ungroup-by-ref-type:before {\n content: \"\\eb98\";\n}\n\n.codicon-account:before {\n content: \"\\eb99\";\n}\n\n.codicon-git-pull-request-assignee:before {\n content: \"\\eb99\";\n}\n\n.codicon-bell-dot:before {\n content: \"\\eb9a\";\n}\n\n.codicon-debug-console:before {\n content: \"\\eb9b\";\n}\n\n.codicon-library:before {\n content: \"\\eb9c\";\n}\n\n.codicon-output:before {\n content: \"\\eb9d\";\n}\n\n.codicon-run-all:before {\n content: \"\\eb9e\";\n}\n\n.codicon-sync-ignored:before {\n content: \"\\eb9f\";\n}\n\n.codicon-pinned:before {\n content: \"\\eba0\";\n}\n\n.codicon-github-inverted:before {\n content: \"\\eba1\";\n}\n\n.codicon-server-process:before {\n content: \"\\eba2\";\n}\n\n.codicon-server-environment:before {\n content: \"\\eba3\";\n}\n\n.codicon-pass:before {\n content: \"\\eba4\";\n}\n\n.codicon-issue-closed:before {\n content: \"\\eba4\";\n}\n\n.codicon-stop-circle:before {\n content: \"\\eba5\";\n}\n\n.codicon-play-circle:before {\n content: \"\\eba6\";\n}\n\n.codicon-record:before {\n content: \"\\eba7\";\n}\n\n.codicon-debug-alt-small:before {\n content: \"\\eba8\";\n}\n\n.codicon-vm-connect:before {\n content: \"\\eba9\";\n}\n\n.codicon-cloud:before {\n content: \"\\ebaa\";\n}\n\n.codicon-merge:before {\n content: \"\\ebab\";\n}\n\n.codicon-export:before {\n content: \"\\ebac\";\n}\n\n.codicon-graph-left:before {\n content: \"\\ebad\";\n}\n\n.codicon-magnet:before {\n content: \"\\ebae\";\n}\n\n.codicon-notebook:before {\n content: \"\\ebaf\";\n}\n\n.codicon-redo:before {\n content: \"\\ebb0\";\n}\n\n.codicon-check-all:before {\n content: \"\\ebb1\";\n}\n\n.codicon-pinned-dirty:before {\n content: \"\\ebb2\";\n}\n\n.codicon-pass-filled:before {\n content: \"\\ebb3\";\n}\n\n.codicon-circle-large-filled:before {\n content: \"\\ebb4\";\n}\n\n.codicon-circle-large:before {\n content: \"\\ebb5\";\n}\n\n.codicon-circle-large-outline:before {\n content: \"\\ebb5\";\n}\n\n.codicon-combine:before {\n content: \"\\ebb6\";\n}\n\n.codicon-gather:before {\n content: \"\\ebb6\";\n}\n\n.codicon-table:before {\n content: \"\\ebb7\";\n}\n\n.codicon-variable-group:before {\n content: \"\\ebb8\";\n}\n\n.codicon-type-hierarchy:before {\n content: \"\\ebb9\";\n}\n\n.codicon-type-hierarchy-sub:before {\n content: \"\\ebba\";\n}\n\n.codicon-type-hierarchy-super:before {\n content: \"\\ebbb\";\n}\n\n.codicon-git-pull-request-create:before {\n content: \"\\ebbc\";\n}\n\n.codicon-run-above:before {\n content: \"\\ebbd\";\n}\n\n.codicon-run-below:before {\n content: \"\\ebbe\";\n}\n\n.codicon-notebook-template:before {\n content: \"\\ebbf\";\n}\n\n.codicon-debug-rerun:before {\n content: \"\\ebc0\";\n}\n\n.codicon-workspace-trusted:before {\n content: \"\\ebc1\";\n}\n\n.codicon-workspace-untrusted:before {\n content: \"\\ebc2\";\n}\n\n.codicon-workspace-unknown:before {\n content: \"\\ebc3\";\n}\n\n.codicon-terminal-cmd:before {\n content: \"\\ebc4\";\n}\n\n.codicon-terminal-debian:before {\n content: \"\\ebc5\";\n}\n\n.codicon-terminal-linux:before {\n content: \"\\ebc6\";\n}\n\n.codicon-terminal-powershell:before {\n content: \"\\ebc7\";\n}\n\n.codicon-terminal-tmux:before {\n content: \"\\ebc8\";\n}\n\n.codicon-terminal-ubuntu:before {\n content: \"\\ebc9\";\n}\n\n.codicon-terminal-bash:before {\n content: \"\\ebca\";\n}\n\n.codicon-arrow-swap:before {\n content: \"\\ebcb\";\n}\n\n.codicon-copy:before {\n content: \"\\ebcc\";\n}\n\n.codicon-person-add:before {\n content: \"\\ebcd\";\n}\n\n.codicon-filter-filled:before {\n content: \"\\ebce\";\n}\n\n.codicon-wand:before {\n content: \"\\ebcf\";\n}\n\n.codicon-debug-line-by-line:before {\n content: \"\\ebd0\";\n}\n\n.codicon-inspect:before {\n content: \"\\ebd1\";\n}\n\n.codicon-layers:before {\n content: \"\\ebd2\";\n}\n\n.codicon-layers-dot:before {\n content: \"\\ebd3\";\n}\n\n.codicon-layers-active:before {\n content: \"\\ebd4\";\n}\n\n.codicon-compass:before {\n content: \"\\ebd5\";\n}\n\n.codicon-compass-dot:before {\n content: \"\\ebd6\";\n}\n\n.codicon-compass-active:before {\n content: \"\\ebd7\";\n}\n\n.codicon-azure:before {\n content: \"\\ebd8\";\n}\n\n.codicon-issue-draft:before {\n content: \"\\ebd9\";\n}\n\n.codicon-git-pull-request-closed:before {\n content: \"\\ebda\";\n}\n\n.codicon-git-pull-request-draft:before {\n content: \"\\ebdb\";\n}\n\n.codicon-debug-all:before {\n content: \"\\ebdc\";\n}\n\n.codicon-debug-coverage:before {\n content: \"\\ebdd\";\n}\n\n.codicon-run-errors:before {\n content: \"\\ebde\";\n}\n\n.codicon-folder-library:before {\n content: \"\\ebdf\";\n}\n\n.codicon-debug-continue-small:before {\n content: \"\\ebe0\";\n}\n\n.codicon-beaker-stop:before {\n content: \"\\ebe1\";\n}\n\n.codicon-graph-line:before {\n content: \"\\ebe2\";\n}\n\n.codicon-graph-scatter:before {\n content: \"\\ebe3\";\n}\n\n.codicon-pie-chart:before {\n content: \"\\ebe4\";\n}\n\n.codicon-bracket:before {\n content: \"\\eb0f\";\n}\n\n.codicon-bracket-dot:before {\n content: \"\\ebe5\";\n}\n\n.codicon-bracket-error:before {\n content: \"\\ebe6\";\n}\n\n.codicon-lock-small:before {\n content: \"\\ebe7\";\n}\n\n.codicon-azure-devops:before {\n content: \"\\ebe8\";\n}\n\n.codicon-verified-filled:before {\n content: \"\\ebe9\";\n}\n\n.codicon-newline:before {\n content: \"\\ebea\";\n}\n\n.codicon-layout:before {\n content: \"\\ebeb\";\n}\n\n.codicon-layout-activitybar-left:before {\n content: \"\\ebec\";\n}\n\n.codicon-layout-activitybar-right:before {\n content: \"\\ebed\";\n}\n\n.codicon-layout-panel-left:before {\n content: \"\\ebee\";\n}\n\n.codicon-layout-panel-center:before {\n content: \"\\ebef\";\n}\n\n.codicon-layout-panel-justify:before {\n content: \"\\ebf0\";\n}\n\n.codicon-layout-panel-right:before {\n content: \"\\ebf1\";\n}\n\n.codicon-layout-panel:before {\n content: \"\\ebf2\";\n}\n\n.codicon-layout-sidebar-left:before {\n content: \"\\ebf3\";\n}\n\n.codicon-layout-sidebar-right:before {\n content: \"\\ebf4\";\n}\n\n.codicon-layout-statusbar:before {\n content: \"\\ebf5\";\n}\n\n.codicon-layout-menubar:before {\n content: \"\\ebf6\";\n}\n\n.codicon-layout-centered:before {\n content: \"\\ebf7\";\n}\n\n.codicon-target:before {\n content: \"\\ebf8\";\n}\n\n.codicon-indent:before {\n content: \"\\ebf9\";\n}\n\n.codicon-record-small:before {\n content: \"\\ebfa\";\n}\n\n.codicon-error-small:before {\n content: \"\\ebfb\";\n}\n\n.codicon-terminal-decoration-error:before {\n content: \"\\ebfb\";\n}\n\n.codicon-arrow-circle-down:before {\n content: \"\\ebfc\";\n}\n\n.codicon-arrow-circle-left:before {\n content: \"\\ebfd\";\n}\n\n.codicon-arrow-circle-right:before {\n content: \"\\ebfe\";\n}\n\n.codicon-arrow-circle-up:before {\n content: \"\\ebff\";\n}\n\n.codicon-layout-sidebar-right-off:before {\n content: \"\\ec00\";\n}\n\n.codicon-layout-panel-off:before {\n content: \"\\ec01\";\n}\n\n.codicon-layout-sidebar-left-off:before {\n content: \"\\ec02\";\n}\n\n.codicon-blank:before {\n content: \"\\ec03\";\n}\n\n.codicon-heart-filled:before {\n content: \"\\ec04\";\n}\n\n.codicon-map:before {\n content: \"\\ec05\";\n}\n\n.codicon-map-horizontal:before {\n content: \"\\ec05\";\n}\n\n.codicon-fold-horizontal:before {\n content: \"\\ec05\";\n}\n\n.codicon-map-filled:before {\n content: \"\\ec06\";\n}\n\n.codicon-map-horizontal-filled:before {\n content: \"\\ec06\";\n}\n\n.codicon-fold-horizontal-filled:before {\n content: \"\\ec06\";\n}\n\n.codicon-circle-small:before {\n content: \"\\ec07\";\n}\n\n.codicon-bell-slash:before {\n content: \"\\ec08\";\n}\n\n.codicon-bell-slash-dot:before {\n content: \"\\ec09\";\n}\n\n.codicon-comment-unresolved:before {\n content: \"\\ec0a\";\n}\n\n.codicon-git-pull-request-go-to-changes:before {\n content: \"\\ec0b\";\n}\n\n.codicon-git-pull-request-new-changes:before {\n content: \"\\ec0c\";\n}\n\n.codicon-search-fuzzy:before {\n content: \"\\ec0d\";\n}\n\n.codicon-comment-draft:before {\n content: \"\\ec0e\";\n}\n\n.codicon-send:before {\n content: \"\\ec0f\";\n}\n\n.codicon-sparkle:before {\n content: \"\\ec10\";\n}\n\n.codicon-insert:before {\n content: \"\\ec11\";\n}\n\n.codicon-mic:before {\n content: \"\\ec12\";\n}\n\n.codicon-thumbsdown-filled:before {\n content: \"\\ec13\";\n}\n\n.codicon-thumbsup-filled:before {\n content: \"\\ec14\";\n}\n\n.codicon-coffee:before {\n content: \"\\ec15\";\n}\n\n.codicon-snake:before {\n content: \"\\ec16\";\n}\n\n.codicon-game:before {\n content: \"\\ec17\";\n}\n\n.codicon-vr:before {\n content: \"\\ec18\";\n}\n\n.codicon-chip:before {\n content: \"\\ec19\";\n}\n\n.codicon-piano:before {\n content: \"\\ec1a\";\n}\n\n.codicon-music:before {\n content: \"\\ec1b\";\n}\n\n.codicon-mic-filled:before {\n content: \"\\ec1c\";\n}\n\n.codicon-repo-fetch:before {\n content: \"\\ec1d\";\n}\n\n.codicon-copilot:before {\n content: \"\\ec1e\";\n}\n\n.codicon-lightbulb-sparkle:before {\n content: \"\\ec1f\";\n}\n\n.codicon-robot:before {\n content: \"\\ec20\";\n}\n\n.codicon-sparkle-filled:before {\n content: \"\\ec21\";\n}\n\n.codicon-diff-single:before {\n content: \"\\ec22\";\n}\n\n.codicon-diff-multiple:before {\n content: \"\\ec23\";\n}\n\n.codicon-surround-with:before {\n content: \"\\ec24\";\n}\n\n.codicon-share:before {\n content: \"\\ec25\";\n}\n\n.codicon-git-stash:before {\n content: \"\\ec26\";\n}\n\n.codicon-git-stash-apply:before {\n content: \"\\ec27\";\n}\n\n.codicon-git-stash-pop:before {\n content: \"\\ec28\";\n}\n\n.codicon-vscode:before {\n content: \"\\ec29\";\n}\n\n.codicon-vscode-insiders:before {\n content: \"\\ec2a\";\n}\n\n.codicon-code-oss:before {\n content: \"\\ec2b\";\n}\n\n.codicon-run-coverage:before {\n content: \"\\ec2c\";\n}\n\n.codicon-run-all-coverage:before {\n content: \"\\ec2d\";\n}\n\n.codicon-coverage:before {\n content: \"\\ec2e\";\n}\n\n.codicon-github-project:before {\n content: \"\\ec2f\";\n}\n\n.codicon-map-vertical:before {\n content: \"\\ec30\";\n}\n\n.codicon-fold-vertical:before {\n content: \"\\ec30\";\n}\n\n.codicon-map-vertical-filled:before {\n content: \"\\ec31\";\n}\n\n.codicon-fold-vertical-filled:before {\n content: \"\\ec31\";\n}\n\n.codicon-go-to-search:before {\n content: \"\\ec32\";\n}\n\n.codicon-percentage:before {\n content: \"\\ec33\";\n}\n\n.codicon-sort-percentage:before {\n content: \"\\ec33\";\n}\n\n.codicon-attach:before {\n content: \"\\ec34\";\n}\n\n.codicon-go-to-editing-session:before {\n content: \"\\ec35\";\n}\n\n.codicon-edit-session:before {\n content: \"\\ec36\";\n}\n\n.codicon-code-review:before {\n content: \"\\ec37\";\n}\n\n.codicon-copilot-warning:before {\n content: \"\\ec38\";\n}\n\n.codicon-python:before {\n content: \"\\ec39\";\n}\n\n.codicon-git-fetch:before {\n content: \"\\f101\";\n}\n\n@layer kol-component {\n /*\n * Necessary to center icon\n */\n :host {\n display: contents;\n }\n .kol-icon {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n color: inherit;\n line-height: inherit;\n }\n .kol-icon__icon, .kol-icon__icon:before {\n font-size: inherit !important;\n }\n .kol-icon__icon:before {\n line-height: normal;\n }\n}";
|
|
16185
18135
|
var KolIconDefaultStyle0 = defaultStyleCss$y;
|
|
16186
18136
|
|
|
@@ -16196,7 +18146,7 @@ class KolIcon {
|
|
|
16196
18146
|
}
|
|
16197
18147
|
render() {
|
|
16198
18148
|
const ariaShow = this.state._label.length > 0;
|
|
16199
|
-
return (hAsync(Host, { key: '
|
|
18149
|
+
return (hAsync(Host, { key: '7af77fdb58dcda68c7b39486bd80adb6605afd3d', exportparts: "icon", class: BEM_CLASS_ICON }, hAsync("i", { key: '8d8041a785fa85206a2b49d813ad1606bddd3a45', "aria-hidden": ariaShow ? undefined : 'true', "aria-label": ariaShow ? this.state._label : undefined, class: clsx(BEM_CLASS_ICON__ICON, this.state._icons), part: "icon", role: "img" })));
|
|
16200
18150
|
}
|
|
16201
18151
|
validateIcons(value) {
|
|
16202
18152
|
watchString(this, '_icons', value, {
|
|
@@ -16827,7 +18777,7 @@ class InputColorController extends InputIconController {
|
|
|
16827
18777
|
}
|
|
16828
18778
|
}
|
|
16829
18779
|
|
|
16830
|
-
const defaultStyleCss$v = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
18780
|
+
const defaultStyleCss$v = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n.kol-input-color__input--color {\n flex-grow: 1;\n}\n.kol-input-color__input--text {\n width: calc(112rem / var(--kolibri-root-font-size, 16));\n}\n.kol-input-color__inputs-wrapper {\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: calc(6rem / var(--kolibri-root-font-size, 16)) !important;\n}\n\n.kol-input {\n cursor: pointer;\n}\n.kol-input:disabled {\n cursor: not-allowed;\n}";
|
|
16831
18781
|
var KolInputColorDefaultStyle0 = defaultStyleCss$v;
|
|
16832
18782
|
|
|
16833
18783
|
class KolInputColor {
|
|
@@ -17202,7 +19152,7 @@ InputDateController.isoTimeRegex = /^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/;
|
|
|
17202
19152
|
InputDateController.isoWeekRegex = /^\d{4}-W(?:[0-4]\d|5[0-3])$/;
|
|
17203
19153
|
InputDateController.DEFAULT_MAX_DATE = new Date(9999, 11, 31, 23, 59, 59);
|
|
17204
19154
|
|
|
17205
|
-
const defaultStyleCss$u = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
19155
|
+
const defaultStyleCss$u = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
17206
19156
|
var KolInputDateDefaultStyle0 = defaultStyleCss$u;
|
|
17207
19157
|
|
|
17208
19158
|
class KolInputDate {
|
|
@@ -17599,7 +19549,7 @@ class InputEmailController extends InputTextEmailController {
|
|
|
17599
19549
|
}
|
|
17600
19550
|
}
|
|
17601
19551
|
|
|
17602
|
-
const defaultStyleCss$t = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
19552
|
+
const defaultStyleCss$t = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
17603
19553
|
var KolInputEmailDefaultStyle0 = defaultStyleCss$t;
|
|
17604
19554
|
|
|
17605
19555
|
class KolInputEmail {
|
|
@@ -17870,7 +19820,7 @@ class InputFileController extends InputIconController {
|
|
|
17870
19820
|
}
|
|
17871
19821
|
}
|
|
17872
19822
|
|
|
17873
|
-
const defaultStyleCss$s = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
19823
|
+
const defaultStyleCss$s = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n@layer kol-component {\n .kol-input {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n }\n .kol-input::-webkit-file-upload-button, .kol-input::file-selector-button {\n cursor: pointer;\n }\n .kol-input:disabled, .kol-input:disabled::-webkit-file-upload-button, .kol-input:disabled::file-selector-button {\n cursor: not-allowed;\n pointer-events: none;\n }\n .kol-input-container__container {\n display: flex;\n align-items: center;\n overflow: hidden;\n height: var(--a11y-min-size);\n }\n .kol-input-container__filename {\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin-left: calc(4rem / var(--kolibri-root-font-size, 16));\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr;\n }\n}";
|
|
17874
19824
|
var KolInputFileDefaultStyle0 = defaultStyleCss$s;
|
|
17875
19825
|
|
|
17876
19826
|
class KolInputFile {
|
|
@@ -17901,7 +19851,7 @@ class KolInputFile {
|
|
|
17901
19851
|
} });
|
|
17902
19852
|
}
|
|
17903
19853
|
render() {
|
|
17904
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '6c81b473b7ba7db7b45405159e0ae33913fdea8a' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: '5e7229bb6eb56acb38c9354bd3a2f1d5e101aa93', state: this.state }, hAsync("span", { key: '
|
|
19854
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '6c81b473b7ba7db7b45405159e0ae33913fdea8a' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: '5e7229bb6eb56acb38c9354bd3a2f1d5e101aa93', state: this.state }, hAsync("span", { key: '3742d51be8c2cc4ee6723269a964589a990f9e23', class: clsx('kol-input-container__filename', { 'kol-input-container__filename--has-file': this.hasFileSelected }) }, this.filename), hAsync(KolInputStateWrapperFc, Object.assign({ key: 'a1f03cccb74166437976eea391187546537fdfff' }, this.getInputProps())), hAsync(KolButtonWcTag, { key: '97492f6a7ef31282d00a182281ea29571cd056a8', class: "kol-input-container__button", _label: translate('kol-data-browse-text'), _variant: "primary", _disabled: this._disabled }))));
|
|
17905
19855
|
}
|
|
17906
19856
|
constructor(hostRef) {
|
|
17907
19857
|
registerInstance(this, hostRef);
|
|
@@ -17932,6 +19882,7 @@ class KolInputFile {
|
|
|
17932
19882
|
this.onChange = (event) => {
|
|
17933
19883
|
if (this.inputRef instanceof HTMLInputElement && this.inputRef.type === 'file') {
|
|
17934
19884
|
const value = this.inputRef.files;
|
|
19885
|
+
this.hasFileSelected = !!(value === null || value === void 0 ? void 0 : value.length);
|
|
17935
19886
|
this.filename = (value === null || value === void 0 ? void 0 : value.length)
|
|
17936
19887
|
? Array.from(value)
|
|
17937
19888
|
.map((file) => file.name)
|
|
@@ -17967,6 +19918,7 @@ class KolInputFile {
|
|
|
17967
19918
|
this._tooltipAlign = 'top';
|
|
17968
19919
|
this._touched = false;
|
|
17969
19920
|
this.filename = translate('kol-filename-text');
|
|
19921
|
+
this.hasFileSelected = false;
|
|
17970
19922
|
this.state = {
|
|
17971
19923
|
_hideMsg: false,
|
|
17972
19924
|
_id: `id-${nonce()}`,
|
|
@@ -18092,6 +20044,7 @@ class KolInputFile {
|
|
|
18092
20044
|
"_tooltipAlign": [1, "_tooltip-align"],
|
|
18093
20045
|
"_touched": [1540],
|
|
18094
20046
|
"filename": [32],
|
|
20047
|
+
"hasFileSelected": [32],
|
|
18095
20048
|
"state": [32],
|
|
18096
20049
|
"inputHasFocus": [32],
|
|
18097
20050
|
"getValue": [64],
|
|
@@ -18185,7 +20138,7 @@ class InputNumberController extends InputIconController {
|
|
|
18185
20138
|
}
|
|
18186
20139
|
}
|
|
18187
20140
|
|
|
18188
|
-
const defaultStyleCss$r = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
20141
|
+
const defaultStyleCss$r = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
18189
20142
|
var KolInputNumberDefaultStyle0 = defaultStyleCss$r;
|
|
18190
20143
|
|
|
18191
20144
|
class KolInputNumber {
|
|
@@ -18426,7 +20379,7 @@ class KolInputNumber {
|
|
|
18426
20379
|
}; }
|
|
18427
20380
|
}
|
|
18428
20381
|
|
|
18429
|
-
const defaultStyleCss$q = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
20382
|
+
const defaultStyleCss$q = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n@layer kol-component {\n .kol-input-password {\n --kol-tooltip-width: calc(160rem / var(--kolibri-root-font-size, 16));\n }\n}";
|
|
18430
20383
|
var KolInputPasswordDefaultStyle0 = defaultStyleCss$q;
|
|
18431
20384
|
|
|
18432
20385
|
class KolInputPassword {
|
|
@@ -18684,7 +20637,7 @@ class KolInputPassword {
|
|
|
18684
20637
|
}; }
|
|
18685
20638
|
}
|
|
18686
20639
|
|
|
18687
|
-
const defaultStyleCss$p = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__close-button {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-field-control {\n min-height: var(--a11y-min-size);\n display: grid;\n grid-template-columns: auto 1fr;\n grid-template-areas: \"input label\";\n grid-template-rows: auto;\n align-items: center;\n justify-content: left;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-columns: auto 1fr;\n grid-template-areas: \"input label\" \"hint hint\";\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-columns: 1fr auto;\n grid-template-areas: \"label input\";\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-columns: 1fr auto;\n grid-template-areas: \"label input\" \"hint hint\";\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n grid-area: input;\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n }\n .kol-field-control__label {\n align-items: center;\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n grid-area: label;\n min-height: var(--a11y-min-size);\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: \"\";\n }\n .kol-field-control__tooltip .span-label::after {\n content: \"\";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n cursor: not-allowed;\n opacity: 0.5;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: \"*\";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-form-field {\n --border-width: 2px;\n --input-size: 1.5em;\n }\n .kol-form-field__label {\n display: contents;\n }\n .kol-form-field__input {\n display: flex;\n flex-direction: column;\n }\n .kol-form-field__input--orientation-horizontal {\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n }\n .kol-form-field--disabled {\n opacity: unset;\n }\n .kol-input-radio {\n appearance: none;\n border-width: var(--border-width);\n border-style: solid;\n border-radius: 100%;\n cursor: pointer;\n display: flex;\n height: var(--input-size);\n margin: 0;\n min-height: var(--input-size);\n min-width: var(--input-size);\n padding: 0;\n width: var(--input-size);\n }\n .kol-input-radio:before {\n border-radius: 100%;\n content: \"\";\n margin: auto;\n height: calc(var(--input-size) / 2);\n width: calc(var(--input-size) / 2);\n }\n .kol-input-radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-input-radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n .kol-input-radio:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n}";
|
|
20640
|
+
const defaultStyleCss$p = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-field-control {\n min-height: var(--a11y-min-size);\n display: grid;\n grid-template-columns: auto 1fr;\n grid-template-areas: \"input label\";\n grid-template-rows: auto;\n align-items: center;\n justify-content: left;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-columns: auto 1fr;\n grid-template-areas: \"input label\" \"hint hint\";\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-columns: 1fr auto;\n grid-template-areas: \"label input\";\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-columns: 1fr auto;\n grid-template-areas: \"label input\" \"hint hint\";\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n grid-area: input;\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n }\n .kol-field-control__label {\n align-items: center;\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n grid-area: label;\n min-height: var(--a11y-min-size);\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: \"\";\n }\n .kol-field-control__tooltip .span-label::after {\n content: \"\";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n cursor: not-allowed;\n opacity: 0.5;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: \"*\";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-form-field {\n --border-width: 2px;\n --input-size: 1.5em;\n }\n .kol-form-field__label {\n display: contents;\n }\n .kol-form-field__input {\n display: flex;\n flex-direction: column;\n }\n .kol-form-field__input--orientation-horizontal {\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n }\n .kol-form-field--disabled {\n opacity: unset;\n }\n .kol-input-radio {\n appearance: none;\n border-width: var(--border-width);\n border-style: solid;\n border-radius: 100%;\n cursor: pointer;\n display: flex;\n height: var(--input-size);\n margin: 0;\n min-height: var(--input-size);\n min-width: var(--input-size);\n padding: 0;\n width: var(--input-size);\n }\n .kol-input-radio:before {\n border-radius: 100%;\n content: \"\";\n margin: auto;\n height: calc(var(--input-size) / 2);\n width: calc(var(--input-size) / 2);\n }\n .kol-input-radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-input-radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n .kol-input-radio:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n}";
|
|
18688
20641
|
var KolInputRadioDefaultStyle0 = defaultStyleCss$p;
|
|
18689
20642
|
|
|
18690
20643
|
class KolInputRadio {
|
|
@@ -18964,7 +20917,7 @@ class InputRangeController extends InputIconController {
|
|
|
18964
20917
|
}
|
|
18965
20918
|
}
|
|
18966
20919
|
|
|
18967
|
-
const defaultStyleCss$o = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
20920
|
+
const defaultStyleCss$o = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n@layer kol-component {\n .kol-input-range__inputs-wrapper {\n align-items: center;\n display: flex;\n flex-direction: row;\n flex-grow: 1;\n }\n .kol-input-range__input--number {\n width: var(--kolibri-input-range--input-number--width);\n }\n .kol-input-range__input--range {\n appearance: none;\n background-color: #d3d3d3;\n border: 1px solid #000;\n display: inline-block;\n flex-grow: 1;\n height: calc(8rem / var(--kolibri-root-font-size, 16));\n line-height: 1.5;\n padding: 0;\n margin: 0;\n /* Design-Hack - related with flex-grow */\n width: 0;\n }\n .kol-input-range__input--range::-webkit-slider-thumb {\n box-sizing: border-box;\n background-color: #000;\n height: calc(20rem / var(--kolibri-root-font-size, 16));\n width: calc(20rem / var(--kolibri-root-font-size, 16));\n border-radius: 20px;\n -webkit-appearance: none;\n }\n .kol-input-range__input:not(:disabled).kol-input-range__input--range::-webkit-slider-thumb {\n cursor: pointer;\n }\n @media (prefers-contrast: more) or (forced-colors: active) {\n .kol-input-range__input--range::-webkit-slider-thumb {\n outline: 1px solid currentColor;\n }\n }\n .kol-input-range__input--range::-moz-range-thumb {\n box-sizing: border-box;\n background-color: #000;\n height: calc(20rem / var(--kolibri-root-font-size, 16));\n width: calc(20rem / var(--kolibri-root-font-size, 16));\n border-radius: 20px;\n -moz-appearance: none;\n }\n .kol-input-range__input:not(:disabled).kol-input-range__input--range::-moz-range-thumb {\n cursor: pointer;\n }\n}";
|
|
18968
20921
|
var KolInputRangeDefaultStyle0 = defaultStyleCss$o;
|
|
18969
20922
|
|
|
18970
20923
|
class KolInputRange {
|
|
@@ -19220,7 +21173,7 @@ class KolInputRange {
|
|
|
19220
21173
|
}; }
|
|
19221
21174
|
}
|
|
19222
21175
|
|
|
19223
|
-
const defaultStyleCss$n = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
21176
|
+
const defaultStyleCss$n = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
19224
21177
|
var KolInputTextDefaultStyle0 = defaultStyleCss$n;
|
|
19225
21178
|
|
|
19226
21179
|
class KolInputText {
|
|
@@ -22808,7 +24761,6 @@ class KolPopoverButton$1 {
|
|
|
22808
24761
|
this._accessKey = undefined;
|
|
22809
24762
|
this._ariaControls = undefined;
|
|
22810
24763
|
this._ariaDescription = undefined;
|
|
22811
|
-
this._ariaExpanded = undefined;
|
|
22812
24764
|
this._ariaSelected = undefined;
|
|
22813
24765
|
this._customClass = undefined;
|
|
22814
24766
|
this._disabled = false;
|
|
@@ -22833,7 +24785,7 @@ class KolPopoverButton$1 {
|
|
|
22833
24785
|
void ((_a = this.ref) === null || _a === void 0 ? void 0 : _a.hidePopover());
|
|
22834
24786
|
}
|
|
22835
24787
|
render() {
|
|
22836
|
-
return (hAsync(KolPopoverButtonWcTag, { key: '
|
|
24788
|
+
return (hAsync(KolPopoverButtonWcTag, { key: 'ac50da23376edfdc25049941e056ef97c70aba58', ref: (element) => (this.ref = element), _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _popoverAlign: this._popoverAlign, _role: this._role, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { key: '896b5ac5822256a2119f89ea8f5dd588449945c1', name: "expert", slot: "expert" }), hAsync("slot", { key: '3811e387221b70284f7db983a8ae96eaac90de70' })));
|
|
22837
24789
|
}
|
|
22838
24790
|
static get style() { return {
|
|
22839
24791
|
default: KolPopoverButtonDefaultStyle0
|
|
@@ -22845,7 +24797,6 @@ class KolPopoverButton$1 {
|
|
|
22845
24797
|
"_accessKey": [1, "_access-key"],
|
|
22846
24798
|
"_ariaControls": [1, "_aria-controls"],
|
|
22847
24799
|
"_ariaDescription": [1, "_aria-description"],
|
|
22848
|
-
"_ariaExpanded": [4, "_aria-expanded"],
|
|
22849
24800
|
"_ariaSelected": [4, "_aria-selected"],
|
|
22850
24801
|
"_customClass": [1, "_custom-class"],
|
|
22851
24802
|
"_disabled": [4],
|
|
@@ -22880,10 +24831,10 @@ class KolPopoverButton {
|
|
|
22880
24831
|
_popoverAlign: 'bottom',
|
|
22881
24832
|
};
|
|
22882
24833
|
this.justClosed = false;
|
|
24834
|
+
this.popoverOpen = false;
|
|
22883
24835
|
this._accessKey = undefined;
|
|
22884
24836
|
this._ariaControls = undefined;
|
|
22885
24837
|
this._ariaDescription = undefined;
|
|
22886
|
-
this._ariaExpanded = undefined;
|
|
22887
24838
|
this._ariaSelected = undefined;
|
|
22888
24839
|
this._customClass = undefined;
|
|
22889
24840
|
this._disabled = false;
|
|
@@ -22919,7 +24870,8 @@ class KolPopoverButton {
|
|
|
22919
24870
|
}
|
|
22920
24871
|
}
|
|
22921
24872
|
handleToggle(event) {
|
|
22922
|
-
|
|
24873
|
+
this.popoverOpen = event.newState === 'open';
|
|
24874
|
+
if (this.popoverOpen && this.refPopover && this.refButton) {
|
|
22923
24875
|
void alignFloatingElements({
|
|
22924
24876
|
align: this.state._popoverAlign,
|
|
22925
24877
|
floatingElement: this.refPopover,
|
|
@@ -22944,7 +24896,7 @@ class KolPopoverButton {
|
|
|
22944
24896
|
(_b = this.refPopover) === null || _b === void 0 ? void 0 : _b.removeEventListener('beforetoggle', this.handleBeforeToggle.bind(this));
|
|
22945
24897
|
}
|
|
22946
24898
|
render() {
|
|
22947
|
-
return (hAsync("div", { key: '
|
|
24899
|
+
return (hAsync("div", { key: 'e310202a31741732615e5a8453e33526b1b8f7d8', class: "kol-popover-button" }, hAsync(KolButtonWcTag, { key: 'dada592a9de4648a23e50ebb255bb4e89e86aae7', _accessKey: this._accessKey, "_aria-controls": "popover", _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this.popoverOpen, _ariaHasPopup: 'dialog', _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: this._role, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant, "data-testid": "popover-button", class: "kol-popover-button__button", ref: (element) => (this.refButton = element), onClick: this.handleButtonClick.bind(this) }, hAsync("slot", { key: '97406159faccf301e7ae4962a19f21b61ff30fb0', name: "expert", slot: "expert" })), hAsync("div", { key: '6d2cf6834ef7911ed7d9d3ca50957e6bf0888d0a', ref: (element) => (this.refPopover = element), "data-testid": "popover-content", popover: "auto", id: "popover", class: "kol-popover-button__popover" }, hAsync("slot", { key: 'ebf56d984939bc0e125c5c90b56252d55863060e' }))));
|
|
22948
24900
|
}
|
|
22949
24901
|
validatePopoverAlign(value) {
|
|
22950
24902
|
validatePopoverAlign(this, value);
|
|
@@ -22962,7 +24914,6 @@ class KolPopoverButton {
|
|
|
22962
24914
|
"_accessKey": [1, "_access-key"],
|
|
22963
24915
|
"_ariaControls": [1, "_aria-controls"],
|
|
22964
24916
|
"_ariaDescription": [1, "_aria-description"],
|
|
22965
|
-
"_ariaExpanded": [4, "_aria-expanded"],
|
|
22966
24917
|
"_ariaSelected": [4, "_aria-selected"],
|
|
22967
24918
|
"_customClass": [1, "_custom-class"],
|
|
22968
24919
|
"_disabled": [4],
|
|
@@ -22983,6 +24934,7 @@ class KolPopoverButton {
|
|
|
22983
24934
|
"_variant": [1],
|
|
22984
24935
|
"state": [32],
|
|
22985
24936
|
"justClosed": [32],
|
|
24937
|
+
"popoverOpen": [32],
|
|
22986
24938
|
"hidePopover": [64]
|
|
22987
24939
|
},
|
|
22988
24940
|
"$listeners$": undefined,
|
|
@@ -23331,7 +25283,7 @@ const SelectStateWrapper = (_a) => {
|
|
|
23331
25283
|
};
|
|
23332
25284
|
var KolSelectStateWrapperFc = SelectStateWrapper;
|
|
23333
25285
|
|
|
23334
|
-
const defaultStyleCss$d = "@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
25286
|
+
const defaultStyleCss$d = "@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-select {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n /* needed hack for vertical alignment */\n }\n .kol-select:not(:disabled) {\n cursor: pointer;\n }\n .kol-select:not([multiple], [size]) {\n height: 2.75em;\n }\n .kol-select:focus {\n outline: none;\n }\n .kol-select__option:checked::before {\n content: \"✓ \";\n }\n .kol-select[multiple] option {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\n }\n}";
|
|
23335
25287
|
var KolSelectDefaultStyle0 = defaultStyleCss$d;
|
|
23336
25288
|
|
|
23337
25289
|
class KolSelect {
|
|
@@ -23588,6 +25540,9 @@ class SingleSelectController extends InputIconController {
|
|
|
23588
25540
|
validateHideClearButton(value) {
|
|
23589
25541
|
watchBoolean(this.component, '_hideClearButton', value);
|
|
23590
25542
|
}
|
|
25543
|
+
validateRows(value) {
|
|
25544
|
+
watchNumber(this.component, '_rows', value);
|
|
25545
|
+
}
|
|
23591
25546
|
componentWillLoad() {
|
|
23592
25547
|
super.componentWillLoad();
|
|
23593
25548
|
this.validateOptions(this.component._options);
|
|
@@ -23595,10 +25550,11 @@ class SingleSelectController extends InputIconController {
|
|
|
23595
25550
|
this.validateValue(this.component._value);
|
|
23596
25551
|
this.validatePlaceholder(this.component._placeholder);
|
|
23597
25552
|
this.validateHideClearButton(this.component._hideClearButton);
|
|
25553
|
+
this.validateRows(this.component._rows);
|
|
23598
25554
|
}
|
|
23599
25555
|
}
|
|
23600
25556
|
|
|
23601
|
-
const defaultStyleCss$c = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
25557
|
+
const defaultStyleCss$c = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-option {\n cursor: pointer;\n white-space: normal;\n overflow-wrap: break-word;\n word-wrap: break-word;\n line-height: 1.5;\n box-sizing: border-box;\n }\n .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option {\n cursor: none !important;\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-options-group {\n display: block;\n position: absolute;\n list-style-type: none;\n margin: 0;\n padding: 0;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 2;\n background-color: white;\n max-height: calc(250rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-toggle {\n align-items: center;\n display: flex;\n height: var(--a11y-min-size);\n width: var(--a11y-min-size);\n }\n .kol-custom-suggestions-toggle:not(:disabled) {\n cursor: pointer;\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n@layer kol-component {\n .kol-single-select__delete {\n cursor: pointer;\n }\n .kol-single-select__delete--disabled {\n cursor: not-allowed;\n }\n .kol-single-select__no-results-message {\n cursor: default;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: calc(50rem / var(--kolibri-root-font-size, 16));\n }\n .kol-single-select .kol-custom-suggestions-options-group {\n max-height: calc((40rem / var(--kolibri-root-font-size, 16)) * var(--visible-options, 5) + (2rem / var(--kolibri-root-font-size, 16))) !important;\n }\n}";
|
|
23602
25558
|
var KolSingleSelectDefaultStyle0 = defaultStyleCss$c;
|
|
23603
25559
|
|
|
23604
25560
|
class KolSingleSelect {
|
|
@@ -23713,13 +25669,14 @@ class KolSingleSelect {
|
|
|
23713
25669
|
} });
|
|
23714
25670
|
}
|
|
23715
25671
|
render() {
|
|
23716
|
-
|
|
25672
|
+
var _a;
|
|
25673
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: 'cdb72de6f61b1615cd32870580153774691c6b43' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: '2cefeed94b8376156b6ad75e777319ca2db9c656', state: this.state }, hAsync("div", { key: 'b4ef7f976dc946bc1f38bc41d5a942b2ea4ced93', class: "kol-single-select__group" }, hAsync(KolInputStateWrapperFc, Object.assign({ key: '492a3beb4fca89b1d1303caf71df136515c5fba0' }, this.getInputProps())), this._inputValue && !this.state._hideClearButton && (hAsync(KolIconTag, { key: 'e6af67ff63addc06e3a2b83d5b477f333b5a68f2', _icons: "codicon codicon-close", "data-testid": "single-select-delete", _label: translate('kol-delete-selection'), onClick: () => {
|
|
23717
25674
|
var _a;
|
|
23718
25675
|
this.clearSelection();
|
|
23719
25676
|
(_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
23720
25677
|
}, class: clsx('kol-single-select__delete', {
|
|
23721
25678
|
'kol-single-select__delete--disabled': this.state._disabled,
|
|
23722
|
-
}) })), hAsync(CustomSuggestionsToggleFc$1, { key: '
|
|
25679
|
+
}) })), hAsync(CustomSuggestionsToggleFc$1, { key: 'd6cb818ee47ff1b65c3ca2b88a941d27a89cdf2e', onClick: this.toggleListbox.bind(this), disabled: this.state._disabled })), this._isOpen && !(this.state._disabled === true) && (hAsync(CustomSuggestionsOptionsGroupFc$1, { key: '06327f8bcc101cc0a836d293300a506bd99ecd1b', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), style: { '--visible-options': `${(_a = this._rows) !== null && _a !== void 0 ? _a : 5}` } }, Array.isArray(this._filteredOptions) && this._filteredOptions.length > 0 ? (this._filteredOptions.map((option, index) => (hAsync(CustomSuggestionsOptionFc$1, { index: index, option: option.label, ref: (el) => {
|
|
23723
25680
|
if (el)
|
|
23724
25681
|
this.refOptions[index] = el;
|
|
23725
25682
|
}, selected: this._value === option.value, onClick: (event) => {
|
|
@@ -23727,6 +25684,8 @@ class KolSingleSelect {
|
|
|
23727
25684
|
this.selectOption(option);
|
|
23728
25685
|
(_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
23729
25686
|
this.toggleListbox(event);
|
|
25687
|
+
this._isOpen = false;
|
|
25688
|
+
this._hasOpened = false;
|
|
23730
25689
|
}, onMouseOver: () => {
|
|
23731
25690
|
if (!this.blockSuggestionMouseOver) {
|
|
23732
25691
|
this._focusedOptionIndex = index;
|
|
@@ -23811,6 +25770,8 @@ class KolSingleSelect {
|
|
|
23811
25770
|
case 'NumpadEnter':
|
|
23812
25771
|
case 'Enter': {
|
|
23813
25772
|
this.toggleListbox(event);
|
|
25773
|
+
this._hasOpened = false;
|
|
25774
|
+
this._isOpen = false;
|
|
23814
25775
|
break;
|
|
23815
25776
|
}
|
|
23816
25777
|
case 'Home': {
|
|
@@ -23894,6 +25855,7 @@ class KolSingleSelect {
|
|
|
23894
25855
|
this._touched = false;
|
|
23895
25856
|
this._value = undefined;
|
|
23896
25857
|
this._hideClearButton = false;
|
|
25858
|
+
this._rows = undefined;
|
|
23897
25859
|
this.state = {
|
|
23898
25860
|
_hideMsg: false,
|
|
23899
25861
|
_id: `id-${nonce()}`,
|
|
@@ -23968,6 +25930,9 @@ class KolSingleSelect {
|
|
|
23968
25930
|
validateHideClearButton(value) {
|
|
23969
25931
|
this.controller.validateHideClearButton(value);
|
|
23970
25932
|
}
|
|
25933
|
+
validateRows(value) {
|
|
25934
|
+
this.controller.validateRows(value);
|
|
25935
|
+
}
|
|
23971
25936
|
handleMouseEvent() {
|
|
23972
25937
|
this.blockSuggestionMouseOver = false;
|
|
23973
25938
|
}
|
|
@@ -24019,7 +25984,8 @@ class KolSingleSelect {
|
|
|
24019
25984
|
"_syncValueBySelector": ["validateSyncValueBySelector"],
|
|
24020
25985
|
"_touched": ["validateTouched"],
|
|
24021
25986
|
"_value": ["validateValue"],
|
|
24022
|
-
"_hideClearButton ": ["validateHideClearButton"]
|
|
25987
|
+
"_hideClearButton ": ["validateHideClearButton"],
|
|
25988
|
+
"_rows": ["validateRows"]
|
|
24023
25989
|
}; }
|
|
24024
25990
|
static get style() { return {
|
|
24025
25991
|
default: KolSingleSelectDefaultStyle0
|
|
@@ -24048,6 +26014,7 @@ class KolSingleSelect {
|
|
|
24048
26014
|
"_touched": [1540],
|
|
24049
26015
|
"_value": [1544],
|
|
24050
26016
|
"_hideClearButton": [4, "_hide-clear-button"],
|
|
26017
|
+
"_rows": [2],
|
|
24051
26018
|
"_isOpen": [32],
|
|
24052
26019
|
"_filteredOptions": [32],
|
|
24053
26020
|
"_inputValue": [32],
|
|
@@ -24394,7 +26361,7 @@ const validateTableSettings = (component, value) => {
|
|
|
24394
26361
|
watchValidator(component, `_tableSettings`, (value) => typeof value === 'object' && value !== null, new Set(['TableSettings']), value);
|
|
24395
26362
|
};
|
|
24396
26363
|
|
|
24397
|
-
const defaultStyleCss$8 = "@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__close-button {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"\";\n }\n .kol-button__text {\n margin: auto;\n width: 100%;\n }\n}\n@layer kol-component {\n .kol-popover-button__button {\n display: inline-block;\n }\n .kol-popover-button__popover {\n border: 1px solid #000;\n margin: 0;\n padding: 0;\n }\n}\n@layer kol-component {\n .kol-table-settings {\n background: #fff;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n }\n .kol-table-settings__columns-container {\n margin-top: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: calc(200rem / var(--kolibri-root-font-size, 16));\n overflow: auto;\n }\n .kol-table-settings__columns {\n align-items: center;\n display: grid;\n gap: calc(8rem / var(--kolibri-root-font-size, 16));\n grid-auto-rows: min-content;\n grid-template-columns: min-content 1fr calc(100rem / var(--kolibri-root-font-size, 16)) auto auto;\n overflow: hidden;\n }\n .kol-table-settings__column {\n display: contents;\n }\n}\n@layer kol-component {\n .kol-table {\n display: block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-width: 100%;\n position: relative;\n }\n .kol-table__scroll-container {\n overflow-x: auto;\n overflow-y: hidden;\n }\n .kol-table__table {\n width: 100%;\n }\n .kol-table__caption {\n text-align: start;\n min-height: var(--a11y-min-size);\n padding-right: var(--a11y-min-size);\n }\n .kol-table__focus-element {\n font-size: 0;\n }\n .kol-table__focus-element:focus {\n outline: 0 !important;\n /* @see https://remysharp.com/til/css/focus-ring-default-styles */\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: 2px;\n }\n .kol-table__sort-button .kol-button {\n color: inherit;\n }\n .kol-table__body {\n text-align: left;\n }\n .kol-table__body .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-left {\n text-align: left;\n }\n .kol-table__cell--align-left .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-center {\n text-align: center;\n }\n .kol-table__cell--align-center .kol-button__text {\n justify-items: center;\n }\n .kol-table__cell--align-right {\n text-align: right;\n }\n .kol-table__cell--align-right .kol-button__text {\n justify-items: end;\n }\n .kol-table__cell--selection {\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n white-space: nowrap;\n }\n .kol-table__spacer {\n display: none;\n }\n .kol-table__selection-label {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-table__selection-label--disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-icon {\n display: block;\n inset: auto;\n position: absolute;\n z-index: 1;\n }\n .kol-table__selection-input {\n appearance: none;\n border-style: solid;\n cursor: pointer;\n margin: 0;\n }\n .kol-table__selection-input:disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-input:before {\n content: \"\";\n }\n .kol-table__selection-input--checkbox {\n position: relative;\n display: flex;\n height: calc(var(--a11y-min-size) / 2);\n width: calc(var(--a11y-min-size) / 2);\n align-items: center;\n justify-content: center;\n background-color: rgb(255, 255, 255);\n border-width: 2px;\n line-height: 1.5;\n transition: all 0.5s ease 0s;\n }\n .kol-table__selection-input--radio {\n display: flex;\n border-width: 2px;\n border-radius: 100%;\n height: 1.5em;\n min-height: 1.5em;\n min-width: 1.5em;\n padding: 0;\n width: 1.5em;\n }\n .kol-table__selection-input--radio:before {\n border-radius: 100%;\n margin: auto;\n height: 0.75em;\n width: 0.75em;\n }\n .kol-table__selection-input--radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-table__selection-input--radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-table-stateful__pagination, .kol-table-stateful__pagination-wrapper {\n display: grid;\n place-items: center;\n }\n @media (min-width: 1024px) {\n .kol-table-stateful__pagination, .kol-table-stateful__pagination-wrapper {\n grid-auto-flow: column;\n }\n }\n .kol-pagination {\n display: flex;\n flex-wrap: wrap;\n }\n @media (min-width: 1024px) {\n .kol-pagination {\n display: flex;\n }\n }\n @media (max-width: 1024px) {\n .kol-pagination {\n flex-direction: column;\n }\n }\n}";
|
|
26364
|
+
const defaultStyleCss$8 = "@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"\";\n }\n .kol-button__text {\n margin: auto;\n width: 100%;\n }\n}\n@layer kol-component {\n .kol-popover-button__button {\n display: inline-block;\n }\n .kol-popover-button__popover {\n border: 1px solid #000;\n margin: 0;\n padding: 0;\n }\n}\n@layer kol-component {\n .kol-table-settings {\n background: #fff;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n }\n .kol-table-settings__columns-container {\n margin-top: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: calc(200rem / var(--kolibri-root-font-size, 16));\n overflow: auto;\n }\n .kol-table-settings__columns {\n align-items: center;\n display: grid;\n gap: calc(8rem / var(--kolibri-root-font-size, 16));\n grid-auto-rows: min-content;\n grid-template-columns: min-content 1fr calc(100rem / var(--kolibri-root-font-size, 16)) auto auto;\n overflow: hidden;\n }\n .kol-table-settings__column {\n display: contents;\n }\n}\n@layer kol-component {\n .kol-table {\n display: block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-width: 100%;\n position: relative;\n }\n .kol-table__scroll-container {\n overflow-x: auto;\n overflow-y: hidden;\n }\n .kol-table__table {\n width: 100%;\n }\n .kol-table__caption {\n text-align: start;\n min-height: var(--a11y-min-size);\n padding-right: var(--a11y-min-size);\n }\n .kol-table__focus-element {\n font-size: 0;\n }\n .kol-table__focus-element:focus {\n outline: 0 !important;\n /* @see https://remysharp.com/til/css/focus-ring-default-styles */\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: 2px;\n }\n .kol-table__sort-button .kol-button {\n color: inherit;\n }\n .kol-table__body {\n text-align: left;\n }\n .kol-table__body .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-left {\n text-align: left;\n }\n .kol-table__cell--align-left .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-center {\n text-align: center;\n }\n .kol-table__cell--align-center .kol-button__text {\n justify-items: center;\n }\n .kol-table__cell--align-right {\n text-align: right;\n }\n .kol-table__cell--align-right .kol-button__text {\n justify-items: end;\n }\n .kol-table__cell--selection {\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n white-space: nowrap;\n }\n .kol-table__spacer {\n display: none;\n }\n .kol-table__selection-label {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-table__selection-label--disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-icon {\n display: block;\n inset: auto;\n position: absolute;\n z-index: 1;\n }\n .kol-table__selection-input {\n appearance: none;\n border-style: solid;\n cursor: pointer;\n margin: 0;\n }\n .kol-table__selection-input:disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-input:before {\n content: \"\";\n }\n .kol-table__selection-input--checkbox {\n position: relative;\n display: flex;\n height: calc(var(--a11y-min-size) / 2);\n width: calc(var(--a11y-min-size) / 2);\n align-items: center;\n justify-content: center;\n background-color: rgb(255, 255, 255);\n border-width: 2px;\n line-height: 1.5;\n transition: all 0.5s ease 0s;\n }\n .kol-table__selection-input--radio {\n display: flex;\n border-width: 2px;\n border-radius: 100%;\n height: 1.5em;\n min-height: 1.5em;\n min-width: 1.5em;\n padding: 0;\n width: 1.5em;\n }\n .kol-table__selection-input--radio:before {\n border-radius: 100%;\n margin: auto;\n height: 0.75em;\n width: 0.75em;\n }\n .kol-table__selection-input--radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-table__selection-input--radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-table-stateful__pagination, .kol-table-stateful__pagination-wrapper {\n display: grid;\n place-items: center;\n }\n @media (min-width: 1024px) {\n .kol-table-stateful__pagination, .kol-table-stateful__pagination-wrapper {\n grid-auto-flow: column;\n }\n }\n .kol-pagination {\n display: flex;\n flex-wrap: wrap;\n }\n @media (min-width: 1024px) {\n .kol-pagination {\n display: flex;\n }\n }\n @media (max-width: 1024px) {\n .kol-pagination {\n flex-direction: column;\n }\n }\n}";
|
|
24398
26365
|
var KolTableStatefulDefaultStyle0 = defaultStyleCss$8;
|
|
24399
26366
|
|
|
24400
26367
|
const PAGINATION_OPTIONS = [10, 20, 50, 100];
|
|
@@ -24442,9 +26409,9 @@ class KolTableStateful {
|
|
|
24442
26409
|
setState(this, '_sortedData', this.state._data);
|
|
24443
26410
|
return;
|
|
24444
26411
|
}
|
|
24445
|
-
|
|
26412
|
+
const sortedData = [...this.state._data];
|
|
24446
26413
|
if (this.sortData.length > 0) {
|
|
24447
|
-
sortedData
|
|
26414
|
+
sortedData.sort((a, b) => {
|
|
24448
26415
|
for (let index = 0; index < this.sortData.length; index++) {
|
|
24449
26416
|
const data = this.sortData[index];
|
|
24450
26417
|
const result = data.compareFn(a, b);
|
|
@@ -24722,13 +26689,13 @@ class KolTableStateful {
|
|
|
24722
26689
|
return this.getSelectedData(selectedKeys);
|
|
24723
26690
|
}
|
|
24724
26691
|
render() {
|
|
24725
|
-
var _a, _b, _c, _d;
|
|
26692
|
+
var _a, _b, _c, _d, _e, _f;
|
|
24726
26693
|
const displayedData = this.selectDisplayedData(this.state._sortedData, this.showPagination ? ((_b = (_a = this.state._pagination) === null || _a === void 0 ? void 0 : _a._pageSize) !== null && _b !== void 0 ? _b : 10) : this.state._sortedData.length, this.state._pagination._page || 1);
|
|
24727
26694
|
const paginationTop = this._paginationPosition === 'top' || this._paginationPosition === 'both' ? this.renderPagination('top') : null;
|
|
24728
26695
|
const paginationBottom = this._paginationPosition === 'bottom' || this._paginationPosition === 'both' ? this.renderPagination('bottom') : null;
|
|
24729
26696
|
const headerCells = {
|
|
24730
|
-
horizontal: (_c = this.state._headers.horizontal) === null || _c === void 0 ? void 0 : _c.map((row) => row.map((cell) => (Object.assign(Object.assign({}, cell), { sortDirection: this.getHeaderCellSortState(cell) })))),
|
|
24731
|
-
vertical: (
|
|
26697
|
+
horizontal: (_d = (_c = this.state._headers.horizontal) === null || _c === void 0 ? void 0 : _c.map((row) => row.map((cell) => (Object.assign(Object.assign({}, cell), { sortDirection: this.getHeaderCellSortState(cell) }))))) !== null && _d !== void 0 ? _d : [],
|
|
26698
|
+
vertical: (_f = (_e = this.state._headers.vertical) === null || _e === void 0 ? void 0 : _e.map((column) => column.map((cell) => (Object.assign(Object.assign({}, cell), { sortDirection: this.getHeaderCellSortState(cell) }))))) !== null && _f !== void 0 ? _f : [],
|
|
24732
26699
|
};
|
|
24733
26700
|
return (hAsync(Host, { key: '28ef6723c730e6f9a52694c65b984b27b97bbe43', class: "kol-table-stateful" }, this.pageEndSlice > 0 && this.showPagination && paginationTop, hAsync(KolTableStatelessWcTag, { key: '78fcf96661bd3e57bc41fbc3523096e7de513eeb', ref: this.catchRef, _data: displayedData, _headerCells: headerCells, _label: this.state._label, _dataFoot: this.state._dataFoot, _minWidth: this.state._minWidth, _on: {
|
|
24734
26701
|
onSort: (_, payload) => {
|
|
@@ -24780,7 +26747,7 @@ class KolTableStateful {
|
|
|
24780
26747
|
}; }
|
|
24781
26748
|
}
|
|
24782
26749
|
|
|
24783
|
-
const defaultStyleCss$7 = "@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__close-button {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"\";\n }\n .kol-button__text {\n margin: auto;\n width: 100%;\n }\n}\n@layer kol-component {\n .kol-popover-button__button {\n display: inline-block;\n }\n .kol-popover-button__popover {\n border: 1px solid #000;\n margin: 0;\n padding: 0;\n }\n}\n@layer kol-component {\n .kol-table-settings {\n background: #fff;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n }\n .kol-table-settings__columns-container {\n margin-top: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: calc(200rem / var(--kolibri-root-font-size, 16));\n overflow: auto;\n }\n .kol-table-settings__columns {\n align-items: center;\n display: grid;\n gap: calc(8rem / var(--kolibri-root-font-size, 16));\n grid-auto-rows: min-content;\n grid-template-columns: min-content 1fr calc(100rem / var(--kolibri-root-font-size, 16)) auto auto;\n overflow: hidden;\n }\n .kol-table-settings__column {\n display: contents;\n }\n}\n@layer kol-component {\n .kol-table {\n display: block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-width: 100%;\n position: relative;\n }\n .kol-table__scroll-container {\n overflow-x: auto;\n overflow-y: hidden;\n }\n .kol-table__table {\n width: 100%;\n }\n .kol-table__caption {\n text-align: start;\n min-height: var(--a11y-min-size);\n padding-right: var(--a11y-min-size);\n }\n .kol-table__focus-element {\n font-size: 0;\n }\n .kol-table__focus-element:focus {\n outline: 0 !important;\n /* @see https://remysharp.com/til/css/focus-ring-default-styles */\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: 2px;\n }\n .kol-table__sort-button .kol-button {\n color: inherit;\n }\n .kol-table__body {\n text-align: left;\n }\n .kol-table__body .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-left {\n text-align: left;\n }\n .kol-table__cell--align-left .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-center {\n text-align: center;\n }\n .kol-table__cell--align-center .kol-button__text {\n justify-items: center;\n }\n .kol-table__cell--align-right {\n text-align: right;\n }\n .kol-table__cell--align-right .kol-button__text {\n justify-items: end;\n }\n .kol-table__cell--selection {\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n white-space: nowrap;\n }\n .kol-table__spacer {\n display: none;\n }\n .kol-table__selection-label {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-table__selection-label--disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-icon {\n display: block;\n inset: auto;\n position: absolute;\n z-index: 1;\n }\n .kol-table__selection-input {\n appearance: none;\n border-style: solid;\n cursor: pointer;\n margin: 0;\n }\n .kol-table__selection-input:disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-input:before {\n content: \"\";\n }\n .kol-table__selection-input--checkbox {\n position: relative;\n display: flex;\n height: calc(var(--a11y-min-size) / 2);\n width: calc(var(--a11y-min-size) / 2);\n align-items: center;\n justify-content: center;\n background-color: rgb(255, 255, 255);\n border-width: 2px;\n line-height: 1.5;\n transition: all 0.5s ease 0s;\n }\n .kol-table__selection-input--radio {\n display: flex;\n border-width: 2px;\n border-radius: 100%;\n height: 1.5em;\n min-height: 1.5em;\n min-width: 1.5em;\n padding: 0;\n width: 1.5em;\n }\n .kol-table__selection-input--radio:before {\n border-radius: 100%;\n margin: auto;\n height: 0.75em;\n width: 0.75em;\n }\n .kol-table__selection-input--radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-table__selection-input--radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n}";
|
|
26750
|
+
const defaultStyleCss$7 = "@charset \"UTF-8\";\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"\";\n }\n .kol-button__text {\n margin: auto;\n width: 100%;\n }\n}\n@layer kol-component {\n .kol-popover-button__button {\n display: inline-block;\n }\n .kol-popover-button__popover {\n border: 1px solid #000;\n margin: 0;\n padding: 0;\n }\n}\n@layer kol-component {\n .kol-table-settings {\n background: #fff;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n }\n .kol-table-settings__columns-container {\n margin-top: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: calc(200rem / var(--kolibri-root-font-size, 16));\n overflow: auto;\n }\n .kol-table-settings__columns {\n align-items: center;\n display: grid;\n gap: calc(8rem / var(--kolibri-root-font-size, 16));\n grid-auto-rows: min-content;\n grid-template-columns: min-content 1fr calc(100rem / var(--kolibri-root-font-size, 16)) auto auto;\n overflow: hidden;\n }\n .kol-table-settings__column {\n display: contents;\n }\n}\n@layer kol-component {\n .kol-table {\n display: block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-width: 100%;\n position: relative;\n }\n .kol-table__scroll-container {\n overflow-x: auto;\n overflow-y: hidden;\n }\n .kol-table__table {\n width: 100%;\n }\n .kol-table__caption {\n text-align: start;\n min-height: var(--a11y-min-size);\n padding-right: var(--a11y-min-size);\n }\n .kol-table__focus-element {\n font-size: 0;\n }\n .kol-table__focus-element:focus {\n outline: 0 !important;\n /* @see https://remysharp.com/til/css/focus-ring-default-styles */\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: 2px;\n }\n .kol-table__sort-button .kol-button {\n color: inherit;\n }\n .kol-table__body {\n text-align: left;\n }\n .kol-table__body .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-left {\n text-align: left;\n }\n .kol-table__cell--align-left .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-center {\n text-align: center;\n }\n .kol-table__cell--align-center .kol-button__text {\n justify-items: center;\n }\n .kol-table__cell--align-right {\n text-align: right;\n }\n .kol-table__cell--align-right .kol-button__text {\n justify-items: end;\n }\n .kol-table__cell--selection {\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n white-space: nowrap;\n }\n .kol-table__spacer {\n display: none;\n }\n .kol-table__selection-label {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-table__selection-label--disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-icon {\n display: block;\n inset: auto;\n position: absolute;\n z-index: 1;\n }\n .kol-table__selection-input {\n appearance: none;\n border-style: solid;\n cursor: pointer;\n margin: 0;\n }\n .kol-table__selection-input:disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-input:before {\n content: \"\";\n }\n .kol-table__selection-input--checkbox {\n position: relative;\n display: flex;\n height: calc(var(--a11y-min-size) / 2);\n width: calc(var(--a11y-min-size) / 2);\n align-items: center;\n justify-content: center;\n background-color: rgb(255, 255, 255);\n border-width: 2px;\n line-height: 1.5;\n transition: all 0.5s ease 0s;\n }\n .kol-table__selection-input--radio {\n display: flex;\n border-width: 2px;\n border-radius: 100%;\n height: 1.5em;\n min-height: 1.5em;\n min-width: 1.5em;\n padding: 0;\n width: 1.5em;\n }\n .kol-table__selection-input--radio:before {\n border-radius: 100%;\n margin: auto;\n height: 0.75em;\n width: 0.75em;\n }\n .kol-table__selection-input--radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-table__selection-input--radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n}";
|
|
24784
26751
|
var KolTableStatelessDefaultStyle0 = defaultStyleCss$7;
|
|
24785
26752
|
|
|
24786
26753
|
class KolTableStateless$1 {
|
|
@@ -24879,6 +26846,7 @@ class KolTableStateless {
|
|
|
24879
26846
|
_minWidth: 'auto',
|
|
24880
26847
|
};
|
|
24881
26848
|
this.tableDivElementHasScrollbar = false;
|
|
26849
|
+
this.previousHeaderCells = undefined;
|
|
24882
26850
|
this._data = undefined;
|
|
24883
26851
|
this._dataFoot = undefined;
|
|
24884
26852
|
this._headerCells = undefined;
|
|
@@ -24900,7 +26868,10 @@ class KolTableStateless {
|
|
|
24900
26868
|
}
|
|
24901
26869
|
validateHeaderCells(value) {
|
|
24902
26870
|
validateTableHeaderCells(this, value);
|
|
24903
|
-
this.
|
|
26871
|
+
if (!isEqual(this.previousHeaderCells, this.state._headerCells)) {
|
|
26872
|
+
this.initializeTableSettings();
|
|
26873
|
+
}
|
|
26874
|
+
this.previousHeaderCells = this.state._headerCells;
|
|
24904
26875
|
}
|
|
24905
26876
|
validateLabel(value) {
|
|
24906
26877
|
validateLabel(this, value, {
|
|
@@ -25356,12 +27327,12 @@ class KolTableStateless {
|
|
|
25356
27327
|
const dataField = this.createDataField(this.state._data, this.state._headerCells);
|
|
25357
27328
|
this.checkboxRefs = [];
|
|
25358
27329
|
const sortedHorizontalHeaders = (_a = this.state._headerCells.horizontal) === null || _a === void 0 ? void 0 : _a.map((row) => this.sortByColumnPosition(row));
|
|
25359
|
-
return (hAsync("div", { key: '
|
|
27330
|
+
return (hAsync("div", { key: '41ef1f9232f94305a6492420a311cf543b582a22', class: "kol-table" }, hAsync(KolTableSettingsWcTag, { key: '3e0def33d6cf806d72c305d0e350b7ee4b2d3899', _tableSettings: this.state._tableSettings }), hAsync("div", { key: 'cc55a031f7bae8733cc5877763b68f9b1717b3e2', ref: (element) => (this.tableDivElement = element), class: "kol-table__scroll-container", tabindex: this.tableDivElementHasScrollbar ? '-1' : undefined }, hAsync("table", { key: 'c96b4770ff54fb28a6d6eea1a9f021132e04652c', class: "kol-table__table", style: {
|
|
25360
27331
|
minWidth: this.getTableMinWidth(),
|
|
25361
|
-
} }, hAsync("div", { key: '
|
|
27332
|
+
} }, hAsync("div", { key: '96095fade8aa2347d2db8e4a42a735e07a683f05', class: "kol-table__focus-element", tabindex: this.tableDivElementHasScrollbar ? '0' : undefined, "aria-describedby": "caption" }, "\u00A0"), hAsync("caption", { key: 'fbf77baecd9f1f569c97df6596e598926f4fc420', class: "kol-table__caption", id: "caption" }, this.state._label), Array.isArray(sortedHorizontalHeaders) && (hAsync("thead", { key: 'aeab10b5b582c3134e5e0e7a483fbd441e00edc1', class: "kol-table__head" }, [
|
|
25362
27333
|
sortedHorizontalHeaders.map((cols, rowIndex) => (hAsync("tr", { class: "kol-table__head-row", key: `thead-${rowIndex}` }, this.state._selection && this.renderHeadingSelectionCell(), rowIndex === 0 && this.renderHeaderTdCell(), Array.isArray(cols) && cols.map((cell, colIndex) => this.renderHeadingCell(cell, rowIndex, colIndex, false))))),
|
|
25363
27334
|
this.renderSpacer('head', sortedHorizontalHeaders),
|
|
25364
|
-
])), hAsync("tbody", { key: '
|
|
27335
|
+
])), hAsync("tbody", { key: '536ad9c3574792ce18cf2694a4251cd781587aea', class: "kol-table__body" }, dataField.map((row, rowIndex) => this.renderTableRow(row, rowIndex, true))), this.renderFoot()))));
|
|
25365
27336
|
}
|
|
25366
27337
|
get host() { return getElement(this); }
|
|
25367
27338
|
static get watchers() { return {
|
|
@@ -25387,7 +27358,8 @@ class KolTableStateless {
|
|
|
25387
27358
|
"_selection": [1],
|
|
25388
27359
|
"_tableSettings": [16],
|
|
25389
27360
|
"state": [32],
|
|
25390
|
-
"tableDivElementHasScrollbar": [32]
|
|
27361
|
+
"tableDivElementHasScrollbar": [32],
|
|
27362
|
+
"previousHeaderCells": [32]
|
|
25391
27363
|
},
|
|
25392
27364
|
"$listeners$": [[0, "keydown", "handleKeyDown"], [0, "settingsChange", "handleSettingsChange"]],
|
|
25393
27365
|
"$lazyBundleId$": "-",
|
|
@@ -25819,7 +27791,7 @@ class TextareaController extends InputIconController {
|
|
|
25819
27791
|
}
|
|
25820
27792
|
}
|
|
25821
27793
|
|
|
25822
|
-
const defaultStyleCss$5 = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
27794
|
+
const defaultStyleCss$5 = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-textarea {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n }\n .kol-textarea:focus {\n outline: none;\n }\n}";
|
|
25823
27795
|
var KolTextareaDefaultStyle0 = defaultStyleCss$5;
|
|
25824
27796
|
|
|
25825
27797
|
const increaseTextareaHeight = (el) => {
|
|
@@ -26083,7 +28055,7 @@ class KolTextarea {
|
|
|
26083
28055
|
}; }
|
|
26084
28056
|
}
|
|
26085
28057
|
|
|
26086
|
-
const defaultStyleCss$4 = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
28058
|
+
const defaultStyleCss$4 = "/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]) {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n background-color: lightgray;\n color: black;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: flex;\n flex-direction: column;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n position: fixed;\n z-index: 200;\n }\n .kol-toast-container__close-all {\n align-self: flex-end;\n }\n}";
|
|
26087
28059
|
var KolToastContainerDefaultStyle0 = defaultStyleCss$4;
|
|
26088
28060
|
|
|
26089
28061
|
const TRANSITION_TIMEOUT = 300;
|