@umbraco-ui/uui-checkbox 0.0.15 → 0.0.19

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/README.md CHANGED
@@ -13,25 +13,13 @@ npm i @umbraco-ui/uui-checkbox
13
13
  Import the registration of `<uui-checkbox>` via:
14
14
 
15
15
  ```javascript
16
- import '@umbraco-ui/uui-checkbox/lib';
16
+ import '@umbraco-ui/uui-checkbox';
17
17
  ```
18
18
 
19
19
  When looking to leverage the `UUICheckboxElement` base class as a type and/or for extension purposes, do so via:
20
20
 
21
21
  ```javascript
22
- import { UUICheckboxElement } from '@umbraco-ui/uui-checkbox/lib/uui-checkbox.element';
23
- ```
24
-
25
- ### CDN
26
-
27
- The component is available via CDN. This means it can be added to your application without the need of any bundler configuration. Here is how to use it with jsDelivr.
28
-
29
- ```html
30
- <!-- Latest Version -->
31
- <script src="https://cdn.jsdelivr.net/npm/@umbraco-ui/uui-checkbox@latest/dist/uui-checkbox.min.js"></script>
32
-
33
- <!-- Specific version -->
34
- <script src="https://cdn.jsdelivr.net/npm/@umbraco-ui/uui-checkbox@X.X.X/dist/uui-checkbox.min.js"></script>
22
+ import { UUICheckboxElement } from '@umbraco-ui/uui-checkbox';
35
23
  ```
36
24
 
37
25
  ## Usage
@@ -7,50 +7,66 @@
7
7
  "description": "Umbraco checkbox, toggles between checked and uncheck",
8
8
  "attributes": [
9
9
  {
10
- "name": "value",
11
- "description": "This is a value property of the uui-checkbox or the uui-toggle component. The default value of this property is 'on'. It reflects the behaviour of the native input type=\"checkbox\" element and its value attribute.",
12
- "type": "string",
13
- "default": "\"on\""
10
+ "name": "label-position",
11
+ "description": "Specifies the label position of the checkbox or the toggle",
12
+ "type": "'left' | 'right' | 'top' | 'bottom'",
13
+ "default": "\"right\""
14
+ },
15
+ {
16
+ "name": "checked",
17
+ "description": "Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.",
18
+ "type": "boolean",
19
+ "default": "\"false\""
20
+ },
21
+ {
22
+ "name": "disabled",
23
+ "description": "Disables the input.",
24
+ "type": "boolean",
25
+ "default": "\"false\""
14
26
  },
15
27
  {
16
28
  "name": "name",
17
- "description": "This is the name property of the uui-checkbox or the uui-toggle component. It reflects the behaviour of the native input type=\"checkbox\" element and its name attribute.",
29
+ "description": "This is a name property of the component.",
18
30
  "type": "string",
19
31
  "default": "\"''\""
20
32
  },
21
33
  {
22
- "name": "label-position",
23
- "description": "Specifies the label position of the checkbox or the toggle",
24
- "type": "'left' | 'right' | 'top' | 'bottom'",
25
- "default": "\"right\""
34
+ "name": "value",
35
+ "description": "intentional overwrite of FormControlMixins value getter and setter method.",
36
+ "type": "string",
37
+ "default": "\"''\""
26
38
  },
27
39
  {
28
- "name": "hide-label",
29
- "description": "Set to true to hide the labeling provided by the component.",
40
+ "name": "pristine",
41
+ "description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
30
42
  "type": "boolean",
31
43
  "default": "\"false\""
32
44
  },
33
45
  {
34
- "name": "error",
35
- "description": "Set to true if the component should have an error state. Property is reflected to the corresponding attribute.",
46
+ "name": "required",
47
+ "description": "Apply validation rule for requiring a value of this form control.",
36
48
  "type": "boolean",
37
49
  "default": "\"false\""
38
50
  },
39
51
  {
40
- "name": "checked",
41
- "description": "Reflects the state of the element. True if checkbox or toggle is checked. Change this to switch the state programmatically.",
42
- "type": "boolean",
43
- "default": "\"false\""
52
+ "name": "required-message",
53
+ "description": "Required validation message.",
54
+ "type": "boolean"
44
55
  },
45
56
  {
46
- "name": "disabled",
47
- "description": "Reflects the disabled state of the element. True if checkbox or toggle is disabled. Change this to switch the state programmatically.",
57
+ "name": "error",
58
+ "description": "Apply custom error on this input.",
48
59
  "type": "boolean",
49
60
  "default": "\"false\""
50
61
  },
62
+ {
63
+ "name": "error-message",
64
+ "description": "Custom error message.",
65
+ "type": "boolean"
66
+ },
51
67
  {
52
68
  "name": "label",
53
- "description": "Text with which component should be labeled",
69
+ "description": "Label to be used for aria-label and eventually as visual label",
54
70
  "type": "string"
55
71
  }
56
72
  ],
@@ -60,6 +76,27 @@
60
76
  "type": "CSSResult[]",
61
77
  "default": "[null,\"UUIHorizontalShakeKeyframes\",null]"
62
78
  },
79
+ {
80
+ "name": "labelPosition",
81
+ "attribute": "label-position",
82
+ "description": "Specifies the label position of the checkbox or the toggle",
83
+ "type": "'left' | 'right' | 'top' | 'bottom'",
84
+ "default": "\"right\""
85
+ },
86
+ {
87
+ "name": "checked",
88
+ "attribute": "checked",
89
+ "description": "Reflects the state of the element.\nTrue if checkbox or toggle is checked. Change this to switch the state programmatically.",
90
+ "type": "boolean",
91
+ "default": "\"false\""
92
+ },
93
+ {
94
+ "name": "disabled",
95
+ "attribute": "disabled",
96
+ "description": "Disables the input.",
97
+ "type": "boolean",
98
+ "default": "\"false\""
99
+ },
63
100
  {
64
101
  "name": "formAssociated",
65
102
  "description": "This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/",
@@ -67,58 +104,59 @@
67
104
  "default": "true"
68
105
  },
69
106
  {
70
- "name": "value",
71
- "attribute": "value",
72
- "description": "This is a value property of the uui-checkbox or the uui-toggle component. The default value of this property is 'on'. It reflects the behaviour of the native input type=\"checkbox\" element and its value attribute.",
107
+ "name": "name",
108
+ "attribute": "name",
109
+ "description": "This is a name property of the component.",
73
110
  "type": "string",
74
- "default": "\"on\""
111
+ "default": "\"''\""
75
112
  },
76
113
  {
77
- "name": "name",
78
- "attribute": "name",
79
- "description": "This is the name property of the uui-checkbox or the uui-toggle component. It reflects the behaviour of the native input type=\"checkbox\" element and its name attribute.",
114
+ "name": "value",
115
+ "attribute": "value",
116
+ "description": "intentional overwrite of FormControlMixins value getter and setter method.",
80
117
  "type": "string",
81
118
  "default": "\"''\""
82
119
  },
83
120
  {
84
- "name": "labelPosition",
85
- "attribute": "label-position",
86
- "description": "Specifies the label position of the checkbox or the toggle",
87
- "type": "'left' | 'right' | 'top' | 'bottom'",
88
- "default": "\"right\""
121
+ "name": "pristine",
122
+ "attribute": "pristine",
123
+ "description": "Determines wether the form control has been touched or interacted with, this determines wether the validation-status of this form control should be made visible.",
124
+ "type": "boolean",
125
+ "default": "\"false\""
89
126
  },
90
127
  {
91
- "name": "hideLabel",
92
- "attribute": "hide-label",
93
- "description": "Set to true to hide the labeling provided by the component.",
128
+ "name": "required",
129
+ "attribute": "required",
130
+ "description": "Apply validation rule for requiring a value of this form control.",
94
131
  "type": "boolean",
95
132
  "default": "\"false\""
96
133
  },
134
+ {
135
+ "name": "requiredMessage",
136
+ "attribute": "required-message",
137
+ "description": "Required validation message.",
138
+ "type": "boolean"
139
+ },
97
140
  {
98
141
  "name": "error",
99
142
  "attribute": "error",
100
- "description": "Set to true if the component should have an error state. Property is reflected to the corresponding attribute.",
143
+ "description": "Apply custom error on this input.",
101
144
  "type": "boolean",
102
145
  "default": "\"false\""
103
146
  },
104
147
  {
105
- "name": "checked",
106
- "attribute": "checked",
107
- "description": "Reflects the state of the element. True if checkbox or toggle is checked. Change this to switch the state programmatically.",
108
- "type": "boolean",
109
- "default": "\"false\""
148
+ "name": "errorMessage",
149
+ "attribute": "error-message",
150
+ "description": "Custom error message.",
151
+ "type": "boolean"
110
152
  },
111
153
  {
112
- "name": "disabled",
113
- "attribute": "disabled",
114
- "description": "Reflects the disabled state of the element. True if checkbox or toggle is disabled. Change this to switch the state programmatically.",
115
- "type": "boolean",
116
- "default": "\"false\""
154
+ "name": "validationMessage"
117
155
  },
118
156
  {
119
157
  "name": "label",
120
158
  "attribute": "label",
121
- "description": "Text with which component should be labeled",
159
+ "description": "Label to be used for aria-label and eventually as visual label",
122
160
  "type": "string"
123
161
  }
124
162
  ],
package/lib/index.d.ts CHANGED
@@ -1 +1 @@
1
- export {};
1
+ export * from './uui-checkbox.element';
package/lib/index.js CHANGED
@@ -1,13 +1,21 @@
1
- import { svg, css, html } from 'lit';
2
1
  import { UUIHorizontalShakeKeyframes, UUIHorizontalShakeAnimationValue } from '@umbraco-ui/uui-base/lib/animations';
3
- import { UUIBooleanInputBaseElement } from '@umbraco-ui/uui-base/lib/uui-boolean-input';
4
2
  import { defineElement } from '@umbraco-ui/uui-base/lib/registration';
3
+ import { UUIBooleanInputElement } from '@umbraco-ui/uui-boolean-input/lib';
4
+ import { iconCheck } from '@umbraco-ui/uui-icon-registry-essential/lib/svgs';
5
+ import { css, html } from 'lit';
5
6
 
6
- const iconCheck = svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
7
- <path d="M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z"/>
8
- </svg>`;
9
-
10
- class UUICheckboxElement extends UUIBooleanInputBaseElement {
7
+ var __defProp = Object.defineProperty;
8
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
+ var __decorateClass = (decorators, target, key, kind) => {
10
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
11
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
12
+ if (decorator = decorators[i])
13
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14
+ if (kind && result)
15
+ __defProp(target, key, result);
16
+ return result;
17
+ };
18
+ let UUICheckboxElement = class extends UUIBooleanInputElement {
11
19
  renderCheckbox() {
12
20
  return html`
13
21
  <div id="ticker">
@@ -15,9 +23,10 @@ class UUICheckboxElement extends UUIBooleanInputBaseElement {
15
23
  </div>
16
24
  `;
17
25
  }
18
- }
26
+ };
27
+ UUICheckboxElement.formAssociated = true;
19
28
  UUICheckboxElement.styles = [
20
- ...UUIBooleanInputBaseElement.styles,
29
+ ...UUIBooleanInputElement.styles,
21
30
  UUIHorizontalShakeKeyframes,
22
31
  css`
23
32
  :host {
@@ -39,13 +48,13 @@ UUICheckboxElement.styles = [
39
48
  var(--uui-border-radius,3px)
40
49
  );
41
50
 
42
- color: var(--uui-toggle-color, var(--uui-interface-chosen-contrast,#FEFEFE));
51
+ color: var(--uui-toggle-color, var(--uui-interface-chosen-contrast,#fefefe));
43
52
  background-color: var(
44
53
  --uui-toggle-background-color,
45
- var(--uui-interface-surface,#FEFEFE)
54
+ var(--uui-interface-surface,#fefefe)
46
55
  );
47
56
  border: 1px solid
48
- var(--uui-checkbox-border-color, var(--uui-interface-border,#C4C4C4));
57
+ var(--uui-checkbox-border-color, var(--uui-interface-border,#c4c4c4));
49
58
  font-size: calc(var(--uui-checkbox-size) * 0.7);
50
59
  }
51
60
  label:hover input:not([disabled]) + #ticker {
@@ -69,13 +78,13 @@ UUICheckboxElement.styles = [
69
78
  );
70
79
  }
71
80
  input:checked + #ticker {
72
- border-color: var(--uui-interface-chosen,#1B264F);
81
+ border-color: var(--uui-interface-chosen,#1b264f);
73
82
  }
74
83
  label:hover input:checked:not([disabled]) + #ticker {
75
84
  border-color: var(--uui-interface-chosen-hover,rgb(38, 53, 110));
76
85
  }
77
86
  label:focus input:checked + #ticker {
78
- border-color: var(--uui-interface-chosen-focus,#1B264F);
87
+ border-color: var(--uui-interface-chosen-focus,#1b264f);
79
88
  }
80
89
 
81
90
  #icon-check {
@@ -85,7 +94,7 @@ UUICheckboxElement.styles = [
85
94
  height: 1em;
86
95
  line-height: 0;
87
96
  transition: fill 120ms, opacity 120ms;
88
- fill: var(--uui-interface-chosen-contrast,#FEFEFE);
97
+ fill: var(--uui-interface-chosen-contrast,#fefefe);
89
98
  opacity: 0;
90
99
  }
91
100
 
@@ -99,7 +108,7 @@ UUICheckboxElement.styles = [
99
108
  border-radius: calc(
100
109
  var(--uui-checkbox-border-radius, var(--uui-border-radius,3px)) * 0.5
101
110
  );
102
- background-color: var(--uui-interface-chosen,#1B264F);
111
+ background-color: var(--uui-interface-chosen,#1b264f);
103
112
  transition: transform 120ms ease, opacity 120ms, background-color 120ms;
104
113
  transform: scale(0);
105
114
  opacity: 0;
@@ -116,7 +125,12 @@ UUICheckboxElement.styles = [
116
125
  opacity: 1;
117
126
  }
118
127
  label:focus input:checked + #ticker {
119
- background-color: var(--uui-interface-chosen-focus,#1B264F);
128
+ background-color: var(--uui-interface-chosen-focus,#1b264f);
129
+ }
130
+
131
+ input:focus + #ticker {
132
+ outline: calc(2px * var(--uui-show-focus-outline, 1)) solid
133
+ var(--uui-interface-outline,#3879ff);
120
134
  }
121
135
 
122
136
  :host(:not([disabled])) label:active input:checked + #ticker::before {
@@ -124,19 +138,16 @@ UUICheckboxElement.styles = [
124
138
  transform: scale(0.9);
125
139
  }
126
140
 
127
- :host([error]) #ticker {
128
- border: 1px solid var(--uui-look-danger-border, #d42054);
129
- }
130
-
131
- :host([error]) label:hover #ticker {
132
- border: 1px solid var(--uui-look-danger-border, #d42054);
133
- }
134
-
135
- :host([error]) label:hover input:checked:not([disabled]) + #ticker {
136
- border: 1px solid var(--uui-look-danger-border, #d42054);
137
- }
138
- :host([error]) label:focus input:checked + #ticker {
139
- border: 1px solid var(--uui-look-danger-border, #d42054);
141
+ :host(:not([pristine]):invalid) #ticker,
142
+ :host(:not([pristine]):invalid) label:hover #ticker,
143
+ :host(:not([pristine]):invalid) label:hover input:checked:not([disabled]) + #ticker,
144
+ :host(:not([pristine]):invalid) label:focus input:checked + #ticker,
145
+ /* polyfill support */
146
+ :host(:not([pristine])[internals-invalid]) #ticker,
147
+ :host(:not([pristine])[internals-invalid]) label:hover #ticker,
148
+ :host(:not([pristine])[internals-invalid]) label:hover input:checked:not([disabled]) + #ticker,
149
+ :host(:not([pristine])[internals-invalid]) label:focus input:checked + #ticker {
150
+ border: 1px solid var(--uui-look-danger-border,#d42054);
140
151
  }
141
152
 
142
153
  :host([disabled]) #ticker {
@@ -152,14 +163,15 @@ UUICheckboxElement.styles = [
152
163
  fill: var(--uui-interface-contrast-disabled,rgb(115, 113, 110));
153
164
  }
154
165
  :host([disabled]) label:active #ticker {
155
- -webkit-animation: ${UUIHorizontalShakeAnimationValue};
156
- animation: ${UUIHorizontalShakeAnimationValue};
166
+ animation: ${UUIHorizontalShakeAnimationValue};
157
167
  }
158
168
  :host([disabled]) input:checked + #ticker #icon-check {
159
169
  fill: var(--uui-interface-chosen-contrast-disabled,rgb(228, 228, 228));
160
170
  }
161
171
  `
162
172
  ];
163
- UUICheckboxElement.formAssociated = true;
173
+ UUICheckboxElement = __decorateClass([
174
+ defineElement("uui-checkbox")
175
+ ], UUICheckboxElement);
164
176
 
165
- defineElement("uui-checkbox", UUICheckboxElement);
177
+ export { UUICheckboxElement };
@@ -1,17 +1,23 @@
1
- import { UUIBooleanInputBaseElement } from '@umbraco-ui/uui-base/lib/uui-boolean-input';
1
+ import { UUIBooleanInputElement } from '@umbraco-ui/uui-boolean-input/lib';
2
2
  /**
3
3
  * Umbraco checkbox, toggles between checked and uncheck
4
4
  * @element uui-checkbox
5
- * @fires UUIBooleanInputBaseEvent#change - fires when the element is begin checked by a user action
5
+ * @fires UUIBooleanInputEvent#change - fires when the element is begin checked by a user action
6
6
  * @slot to overwrite displayed label content
7
7
  * @cssprop --uui-checkbox-size - To set the size of the checkbox.
8
+ * @extends UUIBooleanInputElement
8
9
  */
9
- export declare class UUICheckboxElement extends UUIBooleanInputBaseElement {
10
- static styles: import("lit").CSSResult[];
10
+ export declare class UUICheckboxElement extends UUIBooleanInputElement {
11
11
  /**
12
12
  * This is a static class field indicating that the element is can be used inside a native form and participate in its events. It may require a polyfill, check support here https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/attachInternals. Read more about form controls here https://web.dev/more-capable-form-controls/
13
13
  * @type {boolean}
14
14
  */
15
15
  static readonly formAssociated = true;
16
+ static styles: import("lit").CSSResult[];
16
17
  renderCheckbox(): import("lit-html").TemplateResult<1>;
17
18
  }
19
+ declare global {
20
+ interface HTMLElementTagNameMap {
21
+ 'uui-checkbox': UUICheckboxElement;
22
+ }
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui-checkbox",
3
- "version": "0.0.15",
3
+ "version": "0.0.19",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "Umbraco",
@@ -22,17 +22,19 @@
22
22
  "bugs": {
23
23
  "url": "https://github.com/umbraco/Umbraco.UI/issues"
24
24
  },
25
- "main": "./dist/uui-checkbox.min.js",
25
+ "main": "./lib/index.js",
26
26
  "module": "./lib/index.js",
27
+ "types": "./lib/index.d.ts",
28
+ "type": "module",
27
29
  "customElements": "custom-elements.json",
28
30
  "files": [
29
- "dist",
30
31
  "lib/**/*.d.ts",
31
32
  "lib/**/*.js",
32
33
  "custom-elements.json"
33
34
  ],
34
35
  "dependencies": {
35
- "@umbraco-ui/uui-base": "0.0.13"
36
+ "@umbraco-ui/uui-base": "0.0.17",
37
+ "@umbraco-ui/uui-boolean-input": "0.0.3"
36
38
  },
37
39
  "scripts": {
38
40
  "build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
@@ -43,5 +45,5 @@
43
45
  "access": "public"
44
46
  },
45
47
  "homepage": "https://uui.umbraco.com/?path=/story/uui-checkbox",
46
- "gitHead": "fa4be54d3e80b0a6e14070b2881799dc56df089f"
48
+ "gitHead": "3b7c6cf892e89054b2980b19d8c2f8bead2752e8"
47
49
  }
@@ -1,34 +0,0 @@
1
- (function(y){typeof define=="function"&&define.amd?define(y):y()})(function(){"use strict";/**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */const y=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,L=Symbol(),F=new Map;class G{constructor(e,t){if(this._$cssResult$=!0,t!==L)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){let e=F.get(this.cssText);return y&&e===void 0&&(F.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const N=r=>new G(typeof r=="string"?r:r+"",L),w=(r,...e)=>{const t=r.length===1?r[0]:e.reduce((i,s,o)=>i+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+r[o+1],r[0]);return new G(t,L)},me=(r,e)=>{y?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{const i=document.createElement("style"),s=window.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=t.cssText,r.appendChild(i)})},J=y?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(const i of e.cssRules)t+=i.cssText;return N(t)})(r):r;/**
6
- * @license
7
- * Copyright 2017 Google LLC
8
- * SPDX-License-Identifier: BSD-3-Clause
9
- */var B;const Z=window.trustedTypes,ye=Z?Z.emptyScript:"",Q=window.reactiveElementPolyfillSupport,j={toAttribute(r,e){switch(e){case Boolean:r=r?ye:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch(i){t=null}}return t}},Y=(r,e)=>e!==r&&(e==e||r==r),D={attribute:!0,type:String,converter:j,reflect:!1,hasChanged:Y};class g extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var t;(t=this.l)!==null&&t!==void 0||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((t,i)=>{const s=this._$Eh(i,t);s!==void 0&&(this._$Eu.set(s,i),e.push(s))}),e}static createProperty(e,t=D){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const i=typeof e=="symbol"?Symbol():"__"+e,s=this.getPropertyDescriptor(e,i,t);s!==void 0&&Object.defineProperty(this.prototype,e,s)}}static getPropertyDescriptor(e,t,i){return{get(){return this[t]},set(s){const o=this[e];this[t]=s,this.requestUpdate(e,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||D}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const s of i)t.unshift(J(s))}else e!==void 0&&t.push(J(e));return t}static _$Eh(e,t){const i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}o(){var e;this._$Ep=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Em(),this.requestUpdate(),(e=this.constructor.l)===null||e===void 0||e.forEach(t=>t(this))}addController(e){var t,i;((t=this._$Eg)!==null&&t!==void 0?t:this._$Eg=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((i=e.hostConnected)===null||i===void 0||i.call(e))}removeController(e){var t;(t=this._$Eg)===null||t===void 0||t.splice(this._$Eg.indexOf(e)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Et.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;const t=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return me(t,this.constructor.elementStyles),t}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$Eg)===null||e===void 0||e.forEach(t=>{var i;return(i=t.hostConnected)===null||i===void 0?void 0:i.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$Eg)===null||e===void 0||e.forEach(t=>{var i;return(i=t.hostDisconnected)===null||i===void 0?void 0:i.call(t)})}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$ES(e,t,i=D){var s,o;const n=this.constructor._$Eh(e,i);if(n!==void 0&&i.reflect===!0){const c=((o=(s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==null&&o!==void 0?o:j.toAttribute)(t,i.type);this._$Ei=e,c==null?this.removeAttribute(n):this.setAttribute(n,c),this._$Ei=null}}_$AK(e,t){var i,s,o;const n=this.constructor,c=n._$Eu.get(e);if(c!==void 0&&this._$Ei!==c){const l=n.getPropertyOptions(c),a=l.converter,v=(o=(s=(i=a)===null||i===void 0?void 0:i.fromAttribute)!==null&&s!==void 0?s:typeof a=="function"?a:null)!==null&&o!==void 0?o:j.fromAttribute;this._$Ei=c,this[c]=v(t,l.type),this._$Ei=null}}requestUpdate(e,t,i){let s=!0;e!==void 0&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||Y)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),i.reflect===!0&&this._$Ei!==e&&(this._$E_===void 0&&(this._$E_=new Map),this._$E_.set(e,i))):s=!1),!this.isUpdatePending&&s&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((s,o)=>this[o]=s),this._$Et=void 0);let t=!1;const i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),(e=this._$Eg)===null||e===void 0||e.forEach(s=>{var o;return(o=s.hostUpdate)===null||o===void 0?void 0:o.call(s)}),this.update(i)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(i)}willUpdate(e){}_$AE(e){var t;(t=this._$Eg)===null||t===void 0||t.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(e){return!0}update(e){this._$E_!==void 0&&(this._$E_.forEach((t,i)=>this._$ES(i,this[i],t)),this._$E_=void 0),this._$EU()}updated(e){}firstUpdated(e){}}g.finalized=!0,g.elementProperties=new Map,g.elementStyles=[],g.shadowRootOptions={mode:"open"},Q==null||Q({ReactiveElement:g}),((B=globalThis.reactiveElementVersions)!==null&&B!==void 0?B:globalThis.reactiveElementVersions=[]).push("1.0.2");/**
10
- * @license
11
- * Copyright 2017 Google LLC
12
- * SPDX-License-Identifier: BSD-3-Clause
13
- */var V;const A=globalThis.trustedTypes,ee=A?A.createPolicy("lit-html",{createHTML:r=>r}):void 0,$=`lit$${(Math.random()+"").slice(9)}$`,te="?"+$,ge=`<${te}>`,k=document,C=(r="")=>k.createComment(r),U=r=>r===null||typeof r!="object"&&typeof r!="function",ie=Array.isArray,Ae=r=>{var e;return ie(r)||typeof((e=r)===null||e===void 0?void 0:e[Symbol.iterator])=="function"},P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,se=/-->/g,re=/>/g,m=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,oe=/'/g,ne=/"/g,le=/^(?:script|style|textarea)$/i,ae=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),z=ae(1),ke=ae(2),E=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),ce=new WeakMap,Ee=(r,e,t)=>{var i,s;const o=(i=t==null?void 0:t.renderBefore)!==null&&i!==void 0?i:e;let n=o._$litPart$;if(n===void 0){const c=(s=t==null?void 0:t.renderBefore)!==null&&s!==void 0?s:null;o._$litPart$=n=new O(e.insertBefore(C(),c),c,void 0,t??{})}return n._$AI(r),n},x=k.createTreeWalker(k,129,null,!1),xe=(r,e)=>{const t=r.length-1,i=[];let s,o=e===2?"<svg>":"",n=P;for(let l=0;l<t;l++){const a=r[l];let v,h,d=-1,f=0;for(;f<a.length&&(n.lastIndex=f,h=n.exec(a),h!==null);)f=n.lastIndex,n===P?h[1]==="!--"?n=se:h[1]!==void 0?n=re:h[2]!==void 0?(le.test(h[2])&&(s=RegExp("</"+h[2],"g")),n=m):h[3]!==void 0&&(n=m):n===m?h[0]===">"?(n=s??P,d=-1):h[1]===void 0?d=-2:(d=n.lastIndex-h[2].length,v=h[1],n=h[3]===void 0?m:h[3]==='"'?ne:oe):n===ne||n===oe?n=m:n===se||n===re?n=P:(n=m,s=void 0);const R=n===m&&r[l+1].startsWith("/>")?" ":"";o+=n===P?a+ge:d>=0?(i.push(v),a.slice(0,d)+"$lit$"+a.slice(d)+$+R):a+$+(d===-2?(i.push(void 0),l):R)}const c=o+(r[t]||"<?>")+(e===2?"</svg>":"");return[ee!==void 0?ee.createHTML(c):c,i]};class H{constructor({strings:e,_$litType$:t},i){let s;this.parts=[];let o=0,n=0;const c=e.length-1,l=this.parts,[a,v]=xe(e,t);if(this.el=H.createElement(a,i),x.currentNode=this.el.content,t===2){const h=this.el.content,d=h.firstChild;d.remove(),h.append(...d.childNodes)}for(;(s=x.nextNode())!==null&&l.length<c;){if(s.nodeType===1){if(s.hasAttributes()){const h=[];for(const d of s.getAttributeNames())if(d.endsWith("$lit$")||d.startsWith($)){const f=v[n++];if(h.push(d),f!==void 0){const R=s.getAttribute(f.toLowerCase()+"$lit$").split($),I=/([.?@])?(.*)/.exec(f);l.push({type:1,index:o,name:I[2],strings:R,ctor:I[1]==="."?we:I[1]==="?"?Ue:I[1]==="@"?Pe:M})}else l.push({type:6,index:o})}for(const d of h)s.removeAttribute(d)}if(le.test(s.tagName)){const h=s.textContent.split($),d=h.length-1;if(d>0){s.textContent=A?A.emptyScript:"";for(let f=0;f<d;f++)s.append(h[f],C()),x.nextNode(),l.push({type:2,index:++o});s.append(h[d],C())}}}else if(s.nodeType===8)if(s.data===te)l.push({type:2,index:o});else{let h=-1;for(;(h=s.data.indexOf($,h+1))!==-1;)l.push({type:7,index:o}),h+=$.length-1}o++}}static createElement(e,t){const i=k.createElement("template");return i.innerHTML=e,i}}function S(r,e,t=r,i){var s,o,n,c;if(e===E)return e;let l=i!==void 0?(s=t._$Cl)===null||s===void 0?void 0:s[i]:t._$Cu;const a=U(e)?void 0:e._$litDirective$;return(l==null?void 0:l.constructor)!==a&&((o=l==null?void 0:l._$AO)===null||o===void 0||o.call(l,!1),a===void 0?l=void 0:(l=new a(r),l._$AT(r,t,i)),i!==void 0?((n=(c=t)._$Cl)!==null&&n!==void 0?n:c._$Cl=[])[i]=l:t._$Cu=l),l!==void 0&&(e=S(r,l._$AS(r,e.values),l,i)),e}class Se{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:i},parts:s}=this._$AD,o=((t=e==null?void 0:e.creationScope)!==null&&t!==void 0?t:k).importNode(i,!0);x.currentNode=o;let n=x.nextNode(),c=0,l=0,a=s[0];for(;a!==void 0;){if(c===a.index){let v;a.type===2?v=new O(n,n.nextSibling,this,e):a.type===1?v=new a.ctor(n,a.name,a.strings,this,e):a.type===6&&(v=new He(n,this,e)),this.v.push(v),a=s[++l]}c!==(a==null?void 0:a.index)&&(n=x.nextNode(),c++)}return o}m(e){let t=0;for(const i of this.v)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class O{constructor(e,t,i,s){var o;this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=s,this._$Cg=(o=s==null?void 0:s.isConnected)===null||o===void 0||o}get _$AU(){var e,t;return(t=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&t!==void 0?t:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&e.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=S(this,e,t),U(e)?e===u||e==null||e===""?(this._$AH!==u&&this._$AR(),this._$AH=u):e!==this._$AH&&e!==E&&this.$(e):e._$litType$!==void 0?this.T(e):e.nodeType!==void 0?this.S(e):Ae(e)?this.M(e):this.$(e)}A(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}S(e){this._$AH!==e&&(this._$AR(),this._$AH=this.A(e))}$(e){this._$AH!==u&&U(this._$AH)?this._$AA.nextSibling.data=e:this.S(k.createTextNode(e)),this._$AH=e}T(e){var t;const{values:i,_$litType$:s}=e,o=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=H.createElement(s.h,this.options)),s);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===o)this._$AH.m(i);else{const n=new Se(o,this),c=n.p(this.options);n.m(i),this.S(c),this._$AH=n}}_$AC(e){let t=ce.get(e.strings);return t===void 0&&ce.set(e.strings,t=new H(e)),t}M(e){ie(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,s=0;for(const o of e)s===t.length?t.push(i=new O(this.A(C()),this.A(C()),this,this.options)):i=t[s],i._$AI(o),s++;s<t.length&&(this._$AR(i&&i._$AB.nextSibling,s),t.length=s)}_$AR(e=this._$AA.nextSibling,t){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,t);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var t;this._$AM===void 0&&(this._$Cg=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}}class M{constructor(e,t,i,s,o){this.type=1,this._$AH=u,this._$AN=void 0,this.element=e,this.name=t,this._$AM=s,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=u}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,s){const o=this.strings;let n=!1;if(o===void 0)e=S(this,e,t,0),n=!U(e)||e!==this._$AH&&e!==E,n&&(this._$AH=e);else{const c=e;let l,a;for(e=o[0],l=0;l<o.length-1;l++)a=S(this,c[i+l],t,l),a===E&&(a=this._$AH[l]),n||(n=!U(a)||a!==this._$AH[l]),a===u?e=u:e!==u&&(e+=(a??"")+o[l+1]),this._$AH[l]=a}n&&!s&&this.k(e)}k(e){e===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class we extends M{constructor(){super(...arguments),this.type=3}k(e){this.element[this.name]=e===u?void 0:e}}const Ce=A?A.emptyScript:"";class Ue extends M{constructor(){super(...arguments),this.type=4}k(e){e&&e!==u?this.element.setAttribute(this.name,Ce):this.element.removeAttribute(this.name)}}class Pe extends M{constructor(e,t,i,s,o){super(e,t,i,s,o),this.type=5}_$AI(e,t=this){var i;if((e=(i=S(this,e,t,0))!==null&&i!==void 0?i:u)===E)return;const s=this._$AH,o=e===u&&s!==u||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,n=e!==u&&(s===u||o);o&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&i!==void 0?i:this.element,e):this._$AH.handleEvent(e)}}class He{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){S(this,e)}}const he=window.litHtmlPolyfillSupport;he==null||he(H,O),((V=globalThis.litHtmlVersions)!==null&&V!==void 0?V:globalThis.litHtmlVersions=[]).push("2.0.2");/**
14
- * @license
15
- * Copyright 2017 Google LLC
16
- * SPDX-License-Identifier: BSD-3-Clause
17
- */var X,q;class T extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,t;const i=super.createRenderRoot();return(e=(t=this.renderOptions).renderBefore)!==null&&e!==void 0||(t.renderBefore=i.firstChild),i}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=Ee(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Dt)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Dt)===null||e===void 0||e.setConnected(!1)}render(){return E}}T.finalized=!0,T._$litElement$=!0,(X=globalThis.litElementHydrateSupport)===null||X===void 0||X.call(globalThis,{LitElement:T});const de=globalThis.litElementPolyfillSupport;de==null||de({LitElement:T}),((q=globalThis.litElementVersions)!==null&&q!==void 0?q:globalThis.litElementVersions=[]).push("3.0.2"),w`@-webkit-keyframes uui-blink{0%{opacity:1}50%{opacity:.5}100%{opacity:1}}@keyframes uui-blink{0%{opacity:1}50%{opacity:.5}100%{opacity:1}}`,N("uui-blink 0.9s infinite both"),w`@-webkit-keyframes pulse{0%{transform:translate(-50%,-50%) scale(.2);opacity:.9}80%{transform:translate(-50%,-50%) scale(1.2);opacity:0}100%{transform:translate(-50%,-50%) scale(2.2);opacity:0}}@keyframes pulse{0%{transform:translate(-50%,-50%) scale(.2);opacity:.9}80%{transform:translate(-50%,-50%) scale(1.2);opacity:0}100%{transform:translate(-50%,-50%) scale(2.2);opacity:0}}`,N("pulse 0.8s ease-in-out infinite both");const Oe=w`@-webkit-keyframes uui-horizontal-shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(1px)}30%,50%,70%{transform:translateX(-2px)}40%,60%{transform:translateX(2px)}}@keyframes uui-horizontal-shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(1px)}30%,50%,70%{transform:translateX(-2px)}40%,60%{transform:translateX(2px)}}`,ue=N("uui-horizontal-shake 600ms ease backwards");/**
18
- * @license
19
- * Copyright 2017 Google LLC
20
- * SPDX-License-Identifier: BSD-3-Clause
21
- */const Te=(r,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(t){t.createProperty(e.key,r)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(t){t.createProperty(e.key,r)}};function b(r){return(e,t)=>t!==void 0?((i,s,o)=>{s.constructor.createProperty(o,i)})(r,e,t):Te(r,e)}/**
22
- * @license
23
- * Copyright 2017 Google LLC
24
- * SPDX-License-Identifier: BSD-3-Clause
25
- */function Ne(r){return b({...r,state:!0})}/**
26
- * @license
27
- * Copyright 2017 Google LLC
28
- * SPDX-License-Identifier: BSD-3-Clause
29
- */const ze=({finisher:r,descriptor:e})=>(t,i)=>{var s;if(i===void 0){const o=(s=t.originalKey)!==null&&s!==void 0?s:t.key,n=e!=null?{kind:"method",placement:"prototype",key:o,descriptor:e(t.key)}:{...t,key:o};return r!=null&&(n.finisher=function(c){r(c,o)}),n}{const o=t.constructor;e!==void 0&&Object.defineProperty(t,i,e(i)),r==null||r(o,i)}};/**
30
- * @license
31
- * Copyright 2017 Google LLC
32
- * SPDX-License-Identifier: BSD-3-Clause
33
- */function Me(r,e){return ze({descriptor:t=>{const i={get(){var s,o;return(o=(s=this.renderRoot)===null||s===void 0?void 0:s.querySelector(r))!==null&&o!==void 0?o:null},enumerable:!0,configurable:!0};if(e){const s=typeof t=="symbol"?Symbol():"__"+t;i.get=function(){var o,n;return this[s]===void 0&&(this[s]=(n=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector(r))!==null&&n!==void 0?n:null),this[s]}}return i}})}var Re=Object.defineProperty,Ie=Object.getOwnPropertyDescriptor,pe=(r,e,t,i)=>{for(var s=i>1?void 0:i?Ie(e,t):e,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(e,t,s):n(s))||s);return i&&s&&Re(e,t,s),s};const Le=(r,e)=>{class t extends e{constructor(){super(...arguments);this.labelSlotHasContent=!1}connectedCallback(){super.connectedCallback(),this.label||console.warn(this.tagName+" needs a `label`")}labelSlotChanged(s){this.labelSlotHasContent=s.target.assignedNodes({flatten:!0}).length>0}renderLabel(){return z`${this.labelSlotHasContent===!1?z`<span class="label">${this.label}</span>`:""}<slot class="label" style="${this.labelSlotHasContent?"":"visibility: hidden"}" name="${r||""}" @slotchange="${this.labelSlotChanged}"></slot>`}}return pe([b({type:String})],t.prototype,"label",2),pe([Ne()],t.prototype,"labelSlotHasContent",2),t};var Be=Object.defineProperty,ve=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,fe=(r,e,t)=>e in r?Be(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,be=(r,e)=>{for(var t in e||(e={}))je.call(e,t)&&fe(r,t,e[t]);if(ve)for(var t of ve(e))De.call(e,t)&&fe(r,t,e[t]);return r};const $e=class extends Event{constructor(r,e={}){super(r,be(be({},$e.defaultInit),e));this.detail=e.detail||{}}};let _e=$e;_e.defaultInit={composed:!0};class K extends _e{}K.CHANGE="change";var Ve=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,_=(r,e,t,i)=>{for(var s=i>1?void 0:i?Xe(e,t):e,o=r.length-1,n;o>=0;o--)(n=r[o])&&(s=(i?n(e,t,s):n(s))||s);return i&&s&&Ve(e,t,s),s};class p extends Le("",T){constructor(e="checkbox"){super();this._value="on",this.name="",this.labelPosition="right",this.hideLabel=!1,this.error=!1,this._checked=!1,this.disabled=!1,this.inputRole=e,this._internals=this.attachInternals()}get value(){return this._value}set value(e){const t=this._value;this._value=e,this._internals.setFormValue(this._checked&&this.name!==""?this._value:null),this.requestUpdate("value",t)}get checked(){return this._checked}set checked(e){const t=this._checked;this._checked=e,this._internals.setFormValue(this._checked&&this.name!==""?this._value?this._value:"on":null),this.requestUpdate("checked",t)}_onInputChange(){this.checked=this._input.checked,this.dispatchEvent(new K(K.CHANGE,{bubbles:!0}))}render(){return z`<label><input type="checkbox" id="input" ?disabled="${this.disabled}" @change="${this._onInputChange}" .checked="${this.checked}" aria-checked="${this.checked?"true":"false"}" aria-label="${this.label}" role="${this.inputRole}"> ${this.renderCheckbox()} ${this.hideLabel===!1?this.renderLabel():""}</label>`}}p.styles=[w`:host{display:inline-block}label{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-wrap:nowrap;align-items:center;justify-items:center;gap:var(--uui-size-3,9px)}input{position:absolute;height:0;width:0}:host([label-position=left]) label{flex-direction:row-reverse}:host([label-position=top]) label{gap:var(--uui-size-half-base-unit);flex-direction:column-reverse}:host([label-position=bottom]) label{gap:var(--uui-size-half-base-unit);flex-direction:column}:host([disabled]) .label{opacity:.5}`],p.formAssociated=!0,_([Me("#input")],p.prototype,"_input",2),_([b({type:String})],p.prototype,"value",1),_([b({type:String})],p.prototype,"name",2),_([b({type:String,attribute:"label-position",reflect:!0})],p.prototype,"labelPosition",2),_([b({type:Boolean,attribute:"hide-label",reflect:!0})],p.prototype,"hideLabel",2),_([b({type:Boolean,reflect:!0})],p.prototype,"error",2),_([b({type:Boolean,reflect:!0})],p.prototype,"checked",1),_([b({type:Boolean,reflect:!0})],p.prototype,"disabled",2);const qe=ke`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z"/></svg>`;class W extends p{renderCheckbox(){return z`<div id="ticker"><div id="icon-check">${qe}</div></div>`}}W.styles=[...p.styles,Oe,w`:host{--uui-checkbox-size:18px}#ticker{position:relative;grid-area:'input';display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--uui-checkbox-size);height:var(--uui-checkbox-size);border-radius:var(--uui-checkbox-border-radius,var(--uui-border-radius,3px));color:var(--uui-toggle-color,var(--uui-interface-chosen-contrast,#fefefe));background-color:var(--uui-toggle-background-color,var(--uui-interface-surface,#fefefe));border:1px solid var(--uui-checkbox-border-color,var(--uui-interface-border,#c4c4c4));font-size:calc(var(--uui-checkbox-size) * .7)}label:hover input:not([disabled])+#ticker{border-color:var(--uui-checkbox-border-color-hover,var(--uui-interface-border-hover,#b3b3b3));background-color:var(--uui-checkbox-background-color-hover,var(--uui-interface-surface-hover,#fafafa))}label:focus #ticker{border-color:var(--uui-checkbox-border-color-focus,var(--uui-interface-border-focus,#b3b3b3));background-color:var(--uui-checkbox-background-color-focus,var(--uui-interface-surface-alt-focus,#d8d7d9))}input:checked+#ticker{border-color:var(--uui-interface-chosen,#1b264f)}label:hover input:checked:not([disabled])+#ticker{border-color:var(--uui-interface-chosen-hover,#26356e)}label:focus input:checked+#ticker{border-color:var(--uui-interface-chosen-focus,#1b264f)}#icon-check{position:absolute;vertical-align:middle;width:1em;height:1em;line-height:0;transition:fill 120ms,opacity 120ms;fill:var(--uui-interface-chosen-contrast,#fefefe);opacity:0}#ticker::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:calc(var(--uui-checkbox-border-radius,var(--uui-border-radius,3px)) * .5);background-color:var(--uui-interface-chosen,#1b264f);transition:transform 120ms ease,opacity 120ms,background-color 120ms;transform:scale(0);opacity:0}label:hover input:checked:not([disabled])+#ticker::before{background-color:var(--uui-interface-chosen-hover,#26356e)}input:checked+#ticker::before{transform:scale(1);opacity:1}input:checked+#ticker #icon-check{opacity:1}label:focus input:checked+#ticker{background-color:var(--uui-interface-chosen-focus,#1b264f)}:host(:not([disabled])) label:active input:checked+#ticker::before{transform:scale(.9)}:host([error]) #ticker{border:1px solid var(--uui-look-danger-border,#d42054)}:host([error]) label:hover #ticker{border:1px solid var(--uui-look-danger-border,#d42054)}:host([error]) label:hover input:checked:not([disabled])+#ticker{border:1px solid var(--uui-look-danger-border,#d42054)}:host([error]) label:focus input:checked+#ticker{border:1px solid var(--uui-look-danger-border,#d42054)}:host([disabled]) #ticker{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) input:checked+#ticker{background-color:var(--uui-interface-chosen-disabled,#6a759a)}:host([disabled]) #ticker:after{background-color:var(--uui-interface-surface-disabled,#e4e4e4)}:host([disabled]) #ticker #icon-check{fill:var(--uui-interface-contrast-disabled,#73716e)}:host([disabled]) label:active #ticker{-webkit-animation:${ue};animation:${ue}}:host([disabled]) input:checked+#ticker #icon-check{fill:var(--uui-interface-chosen-contrast-disabled,#e4e4e4)}`],W.formAssociated=!0,((r,e,t)=>{if(r.indexOf("-")>0===!1){console.error(`${r} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);return}customElements.get(r)?console.error(`${r} is already defined`):customElements.define(r,e,t)})("uui-checkbox",W)});
34
- //# sourceMappingURL=uui-checkbox.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uui-checkbox.min.js","sources":["../../../node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/lit-html/lit-html.js","../../../node_modules/lit/node_modules/lit-element/lit-element.js","../../uui-base/lib/animations/index.js","../../../node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/@lit/reactive-element/decorators/state.js","../../../node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/@lit/reactive-element/decorators/query.js","../../uui-base/lib/uui-boolean-input/index.js","../lib/uui-checkbox.element.js","../lib/index.ts","../../uui-base/lib/registration/index.js"],"sourcesContent":["/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,e=Symbol(),n=new Map;class s{constructor(t,n){if(this._$cssResult$=!0,n!==e)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t}get styleSheet(){let e=n.get(this.cssText);return t&&void 0===e&&(n.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const o=t=>new s(\"string\"==typeof t?t:t+\"\",e),r=(t,...n)=>{const o=1===t.length?t[0]:n.reduce(((e,n,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(n)+t[s+1]),t[0]);return new s(o,e)},i=(e,n)=>{t?e.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((t=>{const n=document.createElement(\"style\"),s=window.litNonce;void 0!==s&&n.setAttribute(\"nonce\",s),n.textContent=t.cssText,e.appendChild(n)}))},S=t?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const n of t.cssRules)e+=n.cssText;return o(e)})(t):t;export{s as CSSResult,i as adoptStyles,r as css,S as getCompatibleStyle,t as supportsAdoptingStyleSheets,o as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as i}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */var s;const e=window.trustedTypes,r=e?e.emptyScript:\"\",h=window.reactiveElementPolyfillSupport,o={toAttribute(t,i){switch(i){case Boolean:t=t?r:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},n=(t,i)=>i!==t&&(i==i||t==t),l={attribute:!0,type:String,converter:o,reflect:!1,hasChanged:n};class a extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Eh(s,i);void 0!==e&&(this._$Eu.set(e,s),t.push(e))})),t}static createProperty(t,i=l){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=\"symbol\"==typeof t?Symbol():\"__\"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,i,s){return{get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l}static finalize(){if(this.hasOwnProperty(\"finalized\"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty(\"properties\")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(t(i))}else void 0!==i&&s.push(t(i));return s}static _$Eh(t,i){const s=i.attribute;return!1===s?void 0:\"string\"==typeof s?s:\"string\"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,s;(null!==(i=this._$Eg)&&void 0!==i?i:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var i;null===(i=this._$Eg)||void 0===i||i.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,s){this._$AK(t,s)}_$ES(t,i,s=l){var e,r;const h=this.constructor._$Eh(t,s);if(void 0!==h&&!0===s.reflect){const n=(null!==(r=null===(e=s.converter)||void 0===e?void 0:e.toAttribute)&&void 0!==r?r:o.toAttribute)(i,s.type);this._$Ei=t,null==n?this.removeAttribute(h):this.setAttribute(h,n),this._$Ei=null}}_$AK(t,i){var s,e,r;const h=this.constructor,n=h._$Eu.get(t);if(void 0!==n&&this._$Ei!==n){const t=h.getPropertyOptions(n),l=t.converter,a=null!==(r=null!==(e=null===(s=l)||void 0===s?void 0:s.fromAttribute)&&void 0!==e?e:\"function\"==typeof l?l:null)&&void 0!==r?r:o.fromAttribute;this._$Ei=n,this[n]=a(i,t.type),this._$Ei=null}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||n)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,i)=>this[i]=t)),this._$Et=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$EU()}catch(t){throw i=!1,this._$EU(),t}i&&this._$AE(s)}willUpdate(t){}_$AE(t){var i;null===(i=this._$Eg)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,i)=>this._$ES(i,this[i],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}a.finalized=!0,a.elementProperties=new Map,a.elementStyles=[],a.shadowRootOptions={mode:\"open\"},null==h||h({ReactiveElement:a}),(null!==(s=globalThis.reactiveElementVersions)&&void 0!==s?s:globalThis.reactiveElementVersions=[]).push(\"1.0.2\");export{a as ReactiveElement,o as defaultConverter,n as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar t;const i=globalThis.trustedTypes,s=i?i.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,e=`lit$${(Math.random()+\"\").slice(9)}$`,o=\"?\"+e,n=`<${o}>`,l=document,h=(t=\"\")=>l.createComment(t),r=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,d=Array.isArray,u=t=>{var i;return d(t)||\"function\"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])},c=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,v=/-->/g,a=/>/g,f=/>|[ \t\\n\f\\r](?:([^\\s\"'>=/]+)([ \t\\n\f\\r]*=[ \t\\n\f\\r]*(?:[^ \t\\n\f\\r\"'`<>=]|(\"|')|))|$)/g,_=/'/g,m=/\"/g,g=/^(?:script|style|textarea)$/i,$=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),p=$(1),y=$(2),b=Symbol.for(\"lit-noChange\"),T=Symbol.for(\"lit-nothing\"),x=new WeakMap,w=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new N(i.insertBefore(h(),t),t,void 0,null!=s?s:{})}return l._$AI(t),l},A=l.createTreeWalker(l,129,null,!1),C=(t,i)=>{const o=t.length-1,l=[];let h,r=2===i?\"<svg>\":\"\",d=c;for(let i=0;i<o;i++){const s=t[i];let o,u,$=-1,p=0;for(;p<s.length&&(d.lastIndex=p,u=d.exec(s),null!==u);)p=d.lastIndex,d===c?\"!--\"===u[1]?d=v:void 0!==u[1]?d=a:void 0!==u[2]?(g.test(u[2])&&(h=RegExp(\"</\"+u[2],\"g\")),d=f):void 0!==u[3]&&(d=f):d===f?\">\"===u[0]?(d=null!=h?h:c,$=-1):void 0===u[1]?$=-2:($=d.lastIndex-u[2].length,o=u[1],d=void 0===u[3]?f:'\"'===u[3]?m:_):d===m||d===_?d=f:d===v||d===a?d=c:(d=f,h=void 0);const y=d===f&&t[i+1].startsWith(\"/>\")?\" \":\"\";r+=d===c?s+n:$>=0?(l.push(o),s.slice(0,$)+\"$lit$\"+s.slice($)+e+y):s+e+(-2===$?(l.push(void 0),i):y)}const u=r+(t[o]||\"<?>\")+(2===i?\"</svg>\":\"\");return[void 0!==s?s.createHTML(u):u,l]};class P{constructor({strings:t,_$litType$:s},n){let l;this.parts=[];let r=0,d=0;const u=t.length-1,c=this.parts,[v,a]=C(t,s);if(this.el=P.createElement(v,n),A.currentNode=this.el.content,2===s){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(l=A.nextNode())&&c.length<u;){if(1===l.nodeType){if(l.hasAttributes()){const t=[];for(const i of l.getAttributeNames())if(i.endsWith(\"$lit$\")||i.startsWith(e)){const s=a[d++];if(t.push(i),void 0!==s){const t=l.getAttribute(s.toLowerCase()+\"$lit$\").split(e),i=/([.?@])?(.*)/.exec(s);c.push({type:1,index:r,name:i[2],strings:t,ctor:\".\"===i[1]?M:\"?\"===i[1]?H:\"@\"===i[1]?I:S})}else c.push({type:6,index:r})}for(const i of t)l.removeAttribute(i)}if(g.test(l.tagName)){const t=l.textContent.split(e),s=t.length-1;if(s>0){l.textContent=i?i.emptyScript:\"\";for(let i=0;i<s;i++)l.append(t[i],h()),A.nextNode(),c.push({type:2,index:++r});l.append(t[s],h())}}}else if(8===l.nodeType)if(l.data===o)c.push({type:2,index:r});else{let t=-1;for(;-1!==(t=l.data.indexOf(e,t+1));)c.push({type:7,index:r}),t+=e.length-1}r++}}static createElement(t,i){const s=l.createElement(\"template\");return s.innerHTML=t,s}}function V(t,i,s=t,e){var o,n,l,h;if(i===b)return i;let d=void 0!==e?null===(o=s._$Cl)||void 0===o?void 0:o[e]:s._$Cu;const u=r(i)?void 0:i._$litDirective$;return(null==d?void 0:d.constructor)!==u&&(null===(n=null==d?void 0:d._$AO)||void 0===n||n.call(d,!1),void 0===u?d=void 0:(d=new u(t),d._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Cl)&&void 0!==l?l:h._$Cl=[])[e]=d:s._$Cu=d),void 0!==d&&(i=V(t,d._$AS(t,i.values),d,e)),i}class E{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:l).importNode(s,!0);A.currentNode=o;let n=A.nextNode(),h=0,r=0,d=e[0];for(;void 0!==d;){if(h===d.index){let i;2===d.type?i=new N(n,n.nextSibling,this,t):1===d.type?i=new d.ctor(n,d.name,d.strings,this,t):6===d.type&&(i=new L(n,this,t)),this.v.push(i),d=e[++r]}h!==(null==d?void 0:d.index)&&(n=A.nextNode(),h++)}return o}m(t){let i=0;for(const s of this.v)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class N{constructor(t,i,s,e){var o;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cg=null===(o=null==e?void 0:e.isConnected)||void 0===o||o}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=V(this,t,i),r(t)?t===T||null==t||\"\"===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==b&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):u(t)?this.M(t):this.$(t)}A(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==T&&r(this._$AH)?this._$AA.nextSibling.data=t:this.S(l.createTextNode(t)),this._$AH=t}T(t){var i;const{values:s,_$litType$:e}=t,o=\"number\"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=P.createElement(e.h,this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.m(s);else{const t=new E(o,this),i=t.p(this.options);t.m(s),this.S(i),this._$AH=t}}_$AC(t){let i=x.get(t.strings);return void 0===i&&x.set(t.strings,i=new P(t)),i}M(t){d(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new N(this.A(h()),this.A(h()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class S{constructor(t,i,s,e,o){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=V(this,t,i,0),n=!r(t)||t!==this._$AH&&t!==b,n&&(this._$AH=t);else{const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=V(this,e[s+l],i,l),h===b&&(h=this._$AH[l]),n||(n=!r(h)||h!==this._$AH[l]),h===T?t=T:t!==T&&(t+=(null!=h?h:\"\")+o[l+1]),this._$AH[l]=h}n&&!e&&this.k(t)}k(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:\"\")}}class M extends S{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===T?void 0:t}}const k=i?i.emptyScript:\"\";class H extends S{constructor(){super(...arguments),this.type=4}k(t){t&&t!==T?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}}class I extends S{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5}_$AI(t,i=this){var s;if((t=null!==(s=V(this,t,i,0))&&void 0!==s?s:T)===b)return;const e=this._$AH,o=t===T&&e!==T||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==T&&(e===T||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,s;\"function\"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class L{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){V(this,t)}}const R={P:\"$lit$\",V:e,L:o,I:1,N:C,R:E,D:u,j:V,H:N,O:S,F:H,B:I,W:M,Z:L},z=window.litHtmlPolyfillSupport;null==z||z(P,N),(null!==(t=globalThis.litHtmlVersions)&&void 0!==t?t:globalThis.litHtmlVersions=[]).push(\"2.0.2\");export{R as _$LH,p as html,b as noChange,T as nothing,w as render,y as svg};\n//# sourceMappingURL=lit-html.js.map\n","import{ReactiveElement as t}from\"@lit/reactive-element\";export*from\"@lit/reactive-element\";import{render as e,noChange as i}from\"lit-html\";export*from\"lit-html\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */var l,o;const r=t;class s extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=e(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return i}}s.finalized=!0,s._$litElement$=!0,null===(l=globalThis.litElementHydrateSupport)||void 0===l||l.call(globalThis,{LitElement:s});const n=globalThis.litElementPolyfillSupport;null==n||n({LitElement:s});const h={_$AK:(t,e,i)=>{t._$AK(e,i)},_$AL:t=>t._$AL};(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push(\"3.0.2\");export{s as LitElement,r as UpdatingElement,h as _$LE};\n//# sourceMappingURL=lit-element.js.map\n","import { css, unsafeCSS } from 'lit';\n\nconst UUIBlinkKeyframes = css`\n @-webkit-keyframes uui-blink {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.5;\n }\n 100% {\n opacity: 1;\n }\n }\n @keyframes uui-blink {\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.5;\n }\n 100% {\n opacity: 1;\n }\n }\n`;\nconst UUIBlinkAnimationValue = unsafeCSS(\"uui-blink 0.9s infinite both\");\n\nconst UUIHorizontalPulseKeyframes = css`\n @-webkit-keyframes pulse {\n 0% {\n transform: translate(-50%, -50%) scale(0.2);\n opacity: 0.9;\n }\n 80% {\n transform: translate(-50%, -50%) scale(1.2);\n opacity: 0;\n }\n 100% {\n transform: translate(-50%, -50%) scale(2.2);\n opacity: 0;\n }\n }\n @keyframes pulse {\n 0% {\n transform: translate(-50%, -50%) scale(0.2);\n opacity: 0.9;\n }\n 80% {\n transform: translate(-50%, -50%) scale(1.2);\n opacity: 0;\n }\n 100% {\n transform: translate(-50%, -50%) scale(2.2);\n opacity: 0;\n }\n }\n`;\nconst UUIHorizontalPulseAnimationValue = unsafeCSS(\"pulse 0.8s ease-in-out infinite both\");\n\nconst UUIHorizontalShakeKeyframes = css`\n @-webkit-keyframes uui-horizontal-shake {\n 10%,\n 90% {\n transform: translateX(-1px);\n }\n\n 20%,\n 80% {\n transform: translateX(1px);\n }\n\n 30%,\n 50%,\n 70% {\n transform: translateX(-2px);\n }\n\n 40%,\n 60% {\n transform: translateX(2px);\n }\n }\n@keyframes uui-horizontal-shake {\n 10%,\n 90% {\n transform: translateX(-1px);\n }\n\n 20%,\n 80% {\n transform: translateX(1px);\n }\n\n 30%,\n 50%,\n 70% {\n transform: translateX(-2px);\n }\n\n 40%,\n 60% {\n transform: translateX(2px);\n }\n }\n`;\nconst UUIHorizontalShakeAnimationValue = unsafeCSS(\"uui-horizontal-shake 600ms ease backwards\");\n\nexport { UUIBlinkAnimationValue, UUIBlinkKeyframes, UUIHorizontalPulseAnimationValue, UUIHorizontalPulseKeyframes, UUIHorizontalShakeAnimationValue, UUIHorizontalShakeKeyframes };\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst i=(i,e)=>\"method\"===e.kind&&e.descriptor&&!(\"value\"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,i)}}:{kind:\"field\",key:Symbol(),placement:\"own\",descriptor:{},originalKey:e.key,initializer(){\"function\"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,i)}};function e(e){return(n,t)=>void 0!==t?((i,e,n)=>{e.constructor.createProperty(n,i)})(e,n,t):i(e,n)}export{e as property};\n//# sourceMappingURL=property.js.map\n","import{property as r}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function t(t){return r({...t,state:!0})}export{t as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,o)=>{Object.defineProperty(t,o,e)},t=(e,t)=>({kind:\"method\",placement:\"prototype\",key:t.key,descriptor:e}),o=({finisher:e,descriptor:t})=>(o,n)=>{var r;if(void 0===n){const n=null!==(r=o.originalKey)&&void 0!==r?r:o.key,i=null!=t?{kind:\"method\",placement:\"prototype\",key:n,descriptor:t(o.key)}:{...o,key:n};return null!=e&&(i.finisher=function(t){e(t,n)}),i}{const r=o.constructor;void 0!==t&&Object.defineProperty(o,n,t(n)),null==e||e(r,n)}};export{o as decorateProperty,e as legacyPrototypeMethod,t as standardPrototypeMethod};\n//# sourceMappingURL=base.js.map\n","import{decorateProperty as o}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function i(i,n){return o({descriptor:o=>{const t={get(){var o,n;return null!==(n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(n){const n=\"symbol\"==typeof o?Symbol():\"__\"+o;t.get=function(){var o,t;return void 0===this[n]&&(this[n]=null!==(t=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i))&&void 0!==t?t:null),this[n]}}return t}})}export{i as query};\n//# sourceMappingURL=query.js.map\n","import { html, css, LitElement } from 'lit';\nimport { property, state, query } from 'lit/decorators.js';\n\nvar __defProp$2 = Object.defineProperty;\nvar __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;\nvar __decorateClass$1 = (decorators, target, key, kind) => {\n var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;\n for (var i = decorators.length - 1, decorator; i >= 0; i--)\n if (decorator = decorators[i])\n result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n if (kind && result)\n __defProp$2(target, key, result);\n return result;\n};\nconst LabelMixin = (labelSlotName, superClass) => {\n class LabelMixinClass extends superClass {\n constructor() {\n super(...arguments);\n this.labelSlotHasContent = false;\n }\n connectedCallback() {\n super.connectedCallback();\n if (!this.label) {\n console.warn(this.tagName + \" needs a `label`\");\n }\n }\n labelSlotChanged(e) {\n this.labelSlotHasContent = e.target.assignedNodes({ flatten: true }).length > 0;\n }\n renderLabel() {\n return html`\n ${this.labelSlotHasContent === false ? html`<span class=\"label\">${this.label}</span>` : \"\"}\n <slot\n class=\"label\"\n style=${this.labelSlotHasContent ? \"\" : \"visibility: hidden\"}\n name=${labelSlotName ? labelSlotName : \"\"}\n @slotchange=${this.labelSlotChanged}></slot>\n `;\n }\n }\n __decorateClass$1([\n property({ type: String })\n ], LabelMixinClass.prototype, \"label\", 2);\n __decorateClass$1([\n state()\n ], LabelMixinClass.prototype, \"labelSlotHasContent\", 2);\n return LabelMixinClass;\n};\n\nvar __defProp$1 = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nconst _UUIEvent = class extends Event {\n constructor(evName, eventInit = {}) {\n super(evName, __spreadValues(__spreadValues({}, _UUIEvent.defaultInit), eventInit));\n this.detail = eventInit.detail || {};\n }\n};\nlet UUIEvent = _UUIEvent;\nUUIEvent.defaultInit = {\n composed: true\n};\n\nclass UUIBooleanInputEvent extends UUIEvent {\n}\nUUIBooleanInputEvent.CHANGE = \"change\";\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __decorateClass = (decorators, target, key, kind) => {\n var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;\n for (var i = decorators.length - 1, decorator; i >= 0; i--)\n if (decorator = decorators[i])\n result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n if (kind && result)\n __defProp(target, key, result);\n return result;\n};\nclass UUIBooleanInputBaseElement extends LabelMixin(\"\", LitElement) {\n constructor(inputRole = \"checkbox\") {\n super();\n this._value = \"on\";\n this.name = \"\";\n this.labelPosition = \"right\";\n this.hideLabel = false;\n this.error = false;\n this._checked = false;\n this.disabled = false;\n this.inputRole = inputRole;\n this._internals = this.attachInternals();\n }\n get value() {\n return this._value;\n }\n set value(newVal) {\n const oldValue = this._value;\n this._value = newVal;\n this._internals.setFormValue(this._checked && this.name !== \"\" ? this._value : null);\n this.requestUpdate(\"value\", oldValue);\n }\n get checked() {\n return this._checked;\n }\n set checked(newVal) {\n const oldValue = this._checked;\n this._checked = newVal;\n this._internals.setFormValue(this._checked && this.name !== \"\" ? this._value ? this._value : \"on\" : null);\n this.requestUpdate(\"checked\", oldValue);\n }\n _onInputChange() {\n this.checked = this._input.checked;\n this.dispatchEvent(new UUIBooleanInputEvent(UUIBooleanInputEvent.CHANGE, { bubbles: true }));\n }\n render() {\n return html`\n <label>\n <input\n type=\"checkbox\"\n id=\"input\"\n ?disabled=\"${this.disabled}\"\n @change=\"${this._onInputChange}\"\n .checked=\"${this.checked}\"\n aria-checked=\"${this.checked ? \"true\" : \"false\"}\"\n aria-label=${this.label}\n role=\"${this.inputRole}\" />\n ${this.renderCheckbox()}\n ${this.hideLabel === false ? this.renderLabel() : \"\"}\n </label>\n `;\n }\n}\nUUIBooleanInputBaseElement.styles = [\n css`\n :host {\n display: inline-block;\n }\n\n label {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n justify-items: center;\n gap: var(--uui-size-3,9px);\n }\n\n input {\n position: absolute;\n height: 0px;\n width: 0px;\n }\n\n :host([label-position='left']) label {\n flex-direction: row-reverse;\n }\n\n :host([label-position='top']) label {\n gap: var(--uui-size-half-base-unit);\n flex-direction: column-reverse;\n }\n\n :host([label-position='bottom']) label {\n gap: var(--uui-size-half-base-unit);\n flex-direction: column;\n }\n\n :host([disabled]) .label {\n opacity: 0.5;\n }\n `\n];\nUUIBooleanInputBaseElement.formAssociated = true;\n__decorateClass([\n query(\"#input\")\n], UUIBooleanInputBaseElement.prototype, \"_input\", 2);\n__decorateClass([\n property({ type: String })\n], UUIBooleanInputBaseElement.prototype, \"value\", 1);\n__decorateClass([\n property({ type: String })\n], UUIBooleanInputBaseElement.prototype, \"name\", 2);\n__decorateClass([\n property({ type: String, attribute: \"label-position\", reflect: true })\n], UUIBooleanInputBaseElement.prototype, \"labelPosition\", 2);\n__decorateClass([\n property({ type: Boolean, attribute: \"hide-label\", reflect: true })\n], UUIBooleanInputBaseElement.prototype, \"hideLabel\", 2);\n__decorateClass([\n property({ type: Boolean, reflect: true })\n], UUIBooleanInputBaseElement.prototype, \"error\", 2);\n__decorateClass([\n property({ type: Boolean, reflect: true })\n], UUIBooleanInputBaseElement.prototype, \"checked\", 1);\n__decorateClass([\n property({ type: Boolean, reflect: true })\n], UUIBooleanInputBaseElement.prototype, \"disabled\", 2);\n\nexport { UUIBooleanInputBaseElement };\n","import { svg, css, html } from 'lit';\nimport { UUIHorizontalShakeKeyframes, UUIHorizontalShakeAnimationValue } from '@umbraco-ui/uui-base/lib/animations';\nimport { UUIBooleanInputBaseElement } from '@umbraco-ui/uui-base/lib/uui-boolean-input';\n\nconst iconCheck = svg`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n<path d=\"M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z\"/>\n</svg>`;\n\nclass UUICheckboxElement extends UUIBooleanInputBaseElement {\n renderCheckbox() {\n return html`\n <div id=\"ticker\">\n <div id=\"icon-check\">${iconCheck}</div>\n </div>\n `;\n }\n}\nUUICheckboxElement.styles = [\n ...UUIBooleanInputBaseElement.styles,\n UUIHorizontalShakeKeyframes,\n css`\n :host {\n --uui-checkbox-size: 18px;\n }\n\n #ticker {\n position: relative;\n grid-area: 'input';\n display: flex;\n align-items: center;\n justify-content: center;\n\n box-sizing: border-box;\n width: var(--uui-checkbox-size);\n height: var(--uui-checkbox-size);\n border-radius: var(\n --uui-checkbox-border-radius,\n var(--uui-border-radius,3px)\n );\n\n color: var(--uui-toggle-color, var(--uui-interface-chosen-contrast,#FEFEFE));\n background-color: var(\n --uui-toggle-background-color,\n var(--uui-interface-surface,#FEFEFE)\n );\n border: 1px solid\n var(--uui-checkbox-border-color, var(--uui-interface-border,#C4C4C4));\n font-size: calc(var(--uui-checkbox-size) * 0.7);\n }\n label:hover input:not([disabled]) + #ticker {\n border-color: var(\n --uui-checkbox-border-color-hover,\n var(--uui-interface-border-hover,rgb(179, 179, 179))\n );\n background-color: var(\n --uui-checkbox-background-color-hover,\n var(--uui-interface-surface-hover,rgb(250, 250, 250))\n );\n }\n label:focus #ticker {\n border-color: var(\n --uui-checkbox-border-color-focus,\n var(--uui-interface-border-focus,rgb(179, 179, 179))\n );\n background-color: var(\n --uui-checkbox-background-color-focus,\n var(--uui-interface-surface-alt-focus,#d8d7d9)\n );\n }\n input:checked + #ticker {\n border-color: var(--uui-interface-chosen,#1B264F);\n }\n label:hover input:checked:not([disabled]) + #ticker {\n border-color: var(--uui-interface-chosen-hover,rgb(38, 53, 110));\n }\n label:focus input:checked + #ticker {\n border-color: var(--uui-interface-chosen-focus,#1B264F);\n }\n\n #icon-check {\n position: absolute;\n vertical-align: middle;\n width: 1em;\n height: 1em;\n line-height: 0;\n transition: fill 120ms, opacity 120ms;\n fill: var(--uui-interface-chosen-contrast,#FEFEFE);\n opacity: 0;\n }\n\n #ticker::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n border-radius: calc(\n var(--uui-checkbox-border-radius, var(--uui-border-radius,3px)) * 0.5\n );\n background-color: var(--uui-interface-chosen,#1B264F);\n transition: transform 120ms ease, opacity 120ms, background-color 120ms;\n transform: scale(0);\n opacity: 0;\n }\n label:hover input:checked:not([disabled]) + #ticker::before {\n background-color: var(--uui-interface-chosen-hover,rgb(38, 53, 110));\n }\n\n input:checked + #ticker::before {\n transform: scale(1);\n opacity: 1;\n }\n input:checked + #ticker #icon-check {\n opacity: 1;\n }\n label:focus input:checked + #ticker {\n background-color: var(--uui-interface-chosen-focus,#1B264F);\n }\n\n :host(:not([disabled])) label:active input:checked + #ticker::before {\n /** Stretch when mouse down */\n transform: scale(0.9);\n }\n\n :host([error]) #ticker {\n border: 1px solid var(--uui-look-danger-border, #d42054);\n }\n\n :host([error]) label:hover #ticker {\n border: 1px solid var(--uui-look-danger-border, #d42054);\n }\n\n :host([error]) label:hover input:checked:not([disabled]) + #ticker {\n border: 1px solid var(--uui-look-danger-border, #d42054);\n }\n :host([error]) label:focus input:checked + #ticker {\n border: 1px solid var(--uui-look-danger-border, #d42054);\n }\n\n :host([disabled]) #ticker {\n background-color: var(--uui-interface-surface-disabled,rgb(228, 228, 228));\n }\n :host([disabled]) input:checked + #ticker {\n background-color: var(--uui-interface-chosen-disabled,rgb(106, 117, 154));\n }\n :host([disabled]) #ticker:after {\n background-color: var(--uui-interface-surface-disabled,rgb(228, 228, 228));\n }\n :host([disabled]) #ticker #icon-check {\n fill: var(--uui-interface-contrast-disabled,rgb(115, 113, 110));\n }\n :host([disabled]) label:active #ticker {\n -webkit-animation: ${UUIHorizontalShakeAnimationValue};\n animation: ${UUIHorizontalShakeAnimationValue};\n }\n :host([disabled]) input:checked + #ticker #icon-check {\n fill: var(--uui-interface-chosen-contrast-disabled,rgb(228, 228, 228));\n }\n `\n];\nUUICheckboxElement.formAssociated = true;\n\nexport { UUICheckboxElement };\n","import { UUICheckboxElement } from './uui-checkbox.element';\nimport { defineElement } from '@umbraco-ui/uui-base/lib/registration';\n\ndefineElement('uui-checkbox', UUICheckboxElement as any);\n","const defineElement = (name, constructor, options) => {\n const isValidElementName = name.indexOf(\"-\") > 0;\n if (isValidElementName === false) {\n console.error(`${name} is not a valid custom element name. A custom element name should consist of at least two words separated by a hyphen.`);\n return;\n }\n if (customElements.get(name)) {\n console.error(`${name} is already defined`);\n } else {\n customElements.define(name, constructor, options);\n }\n};\n\nexport { defineElement };\n"],"names":["t","e","n","o","s","r","i","S","h","l","a","css","unsafeCSS","html","property","state","LitElement","query","svg"],"mappings":"2FAAA;AAAA;AAAA;AAAA;AAAA,GAKA,KAAMA,GAAE,OAAO,YAAa,CAAS,OAAO,W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B,EAA2B,UAAW,OAAQ,GACjD,EAAgB,CACdA,EAAS,CAAE,KAAM,OAAQ,UAAW,iBAAkB,QAAS,MAC9D,EAA2B,UAAW,gBAAiB,GAC1D,EAAgB,CACdA,EAAS,CAAE,KAAM,QAAS,UAAW,aAAc,QAAS,MAC3D,EAA2B,UAAW,YAAa,GACtD,EAAgB,CACdA,EAAS,CAAE,KAAM,QAAS,QAAS,MAClC,EAA2B,UAAW,QAAS,GAClD,EAAgB,CACdA,EAAS,CAAE,KAAM,QAAS,QAAS,MAClC,EAA2B,UAAW,UAAW,GACpD,EAAgB,CACdA,EAAS,CAAE,KAAM,QAAS,QAAS,MAClC,EAA2B,UAAW,WAAY,GCjNrD,KAAM,IAAYI,4PAIlB,eAAiC,EAA2B,CAC1D,gBAAiB,OACRL,2CAEoB,kBAK/B,EAAmB,OAAS,CAC1B,GAAG,EAA2B,OAC9B,GACAF,+9FAqI2B,gBACA,sHAO7B,EAAmB,eAAiB,GC9JpC,ACHsB,EAAC,EAAM,EAAa,IAAY,IAEhD,AADuB,EAAK,QAAQ,KAAO,IACpB,GAAO,SACxB,MAAM,GAAG,kIAGf,eAAe,IAAI,WACb,MAAM,GAAG,uCAEF,OAAO,EAAM,EAAa,KDN/B,eAAgB"}
@@ -1 +0,0 @@
1
- export declare const iconCheck: import("lit-html").TemplateResult<2>;
@@ -1,164 +0,0 @@
1
- import { svg, css, html } from 'lit';
2
- import { UUIHorizontalShakeKeyframes, UUIHorizontalShakeAnimationValue } from '@umbraco-ui/uui-base/lib/animations';
3
- import { UUIBooleanInputBaseElement } from '@umbraco-ui/uui-base/lib/uui-boolean-input';
4
-
5
- const iconCheck = svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
6
- <path d="M461.884 68.14c-132.601 81.297-228.817 183.87-272.048 235.345l-105.874-82.95-46.751 37.691 182.941 186.049c31.485-80.646 131.198-238.264 252.956-350.252L461.884 68.14z"/>
7
- </svg>`;
8
-
9
- class UUICheckboxElement extends UUIBooleanInputBaseElement {
10
- renderCheckbox() {
11
- return html`
12
- <div id="ticker">
13
- <div id="icon-check">${iconCheck}</div>
14
- </div>
15
- `;
16
- }
17
- }
18
- UUICheckboxElement.styles = [
19
- ...UUIBooleanInputBaseElement.styles,
20
- UUIHorizontalShakeKeyframes,
21
- css`
22
- :host {
23
- --uui-checkbox-size: 18px;
24
- }
25
-
26
- #ticker {
27
- position: relative;
28
- grid-area: 'input';
29
- display: flex;
30
- align-items: center;
31
- justify-content: center;
32
-
33
- box-sizing: border-box;
34
- width: var(--uui-checkbox-size);
35
- height: var(--uui-checkbox-size);
36
- border-radius: var(
37
- --uui-checkbox-border-radius,
38
- var(--uui-border-radius,3px)
39
- );
40
-
41
- color: var(--uui-toggle-color, var(--uui-interface-chosen-contrast,#FEFEFE));
42
- background-color: var(
43
- --uui-toggle-background-color,
44
- var(--uui-interface-surface,#FEFEFE)
45
- );
46
- border: 1px solid
47
- var(--uui-checkbox-border-color, var(--uui-interface-border,#C4C4C4));
48
- font-size: calc(var(--uui-checkbox-size) * 0.7);
49
- }
50
- label:hover input:not([disabled]) + #ticker {
51
- border-color: var(
52
- --uui-checkbox-border-color-hover,
53
- var(--uui-interface-border-hover,rgb(179, 179, 179))
54
- );
55
- background-color: var(
56
- --uui-checkbox-background-color-hover,
57
- var(--uui-interface-surface-hover,rgb(250, 250, 250))
58
- );
59
- }
60
- label:focus #ticker {
61
- border-color: var(
62
- --uui-checkbox-border-color-focus,
63
- var(--uui-interface-border-focus,rgb(179, 179, 179))
64
- );
65
- background-color: var(
66
- --uui-checkbox-background-color-focus,
67
- var(--uui-interface-surface-alt-focus,#d8d7d9)
68
- );
69
- }
70
- input:checked + #ticker {
71
- border-color: var(--uui-interface-chosen,#1B264F);
72
- }
73
- label:hover input:checked:not([disabled]) + #ticker {
74
- border-color: var(--uui-interface-chosen-hover,rgb(38, 53, 110));
75
- }
76
- label:focus input:checked + #ticker {
77
- border-color: var(--uui-interface-chosen-focus,#1B264F);
78
- }
79
-
80
- #icon-check {
81
- position: absolute;
82
- vertical-align: middle;
83
- width: 1em;
84
- height: 1em;
85
- line-height: 0;
86
- transition: fill 120ms, opacity 120ms;
87
- fill: var(--uui-interface-chosen-contrast,#FEFEFE);
88
- opacity: 0;
89
- }
90
-
91
- #ticker::before {
92
- content: '';
93
- position: absolute;
94
- top: 0;
95
- left: 0;
96
- bottom: 0;
97
- right: 0;
98
- border-radius: calc(
99
- var(--uui-checkbox-border-radius, var(--uui-border-radius,3px)) * 0.5
100
- );
101
- background-color: var(--uui-interface-chosen,#1B264F);
102
- transition: transform 120ms ease, opacity 120ms, background-color 120ms;
103
- transform: scale(0);
104
- opacity: 0;
105
- }
106
- label:hover input:checked:not([disabled]) + #ticker::before {
107
- background-color: var(--uui-interface-chosen-hover,rgb(38, 53, 110));
108
- }
109
-
110
- input:checked + #ticker::before {
111
- transform: scale(1);
112
- opacity: 1;
113
- }
114
- input:checked + #ticker #icon-check {
115
- opacity: 1;
116
- }
117
- label:focus input:checked + #ticker {
118
- background-color: var(--uui-interface-chosen-focus,#1B264F);
119
- }
120
-
121
- :host(:not([disabled])) label:active input:checked + #ticker::before {
122
- /** Stretch when mouse down */
123
- transform: scale(0.9);
124
- }
125
-
126
- :host([error]) #ticker {
127
- border: 1px solid var(--uui-look-danger-border, #d42054);
128
- }
129
-
130
- :host([error]) label:hover #ticker {
131
- border: 1px solid var(--uui-look-danger-border, #d42054);
132
- }
133
-
134
- :host([error]) label:hover input:checked:not([disabled]) + #ticker {
135
- border: 1px solid var(--uui-look-danger-border, #d42054);
136
- }
137
- :host([error]) label:focus input:checked + #ticker {
138
- border: 1px solid var(--uui-look-danger-border, #d42054);
139
- }
140
-
141
- :host([disabled]) #ticker {
142
- background-color: var(--uui-interface-surface-disabled,rgb(228, 228, 228));
143
- }
144
- :host([disabled]) input:checked + #ticker {
145
- background-color: var(--uui-interface-chosen-disabled,rgb(106, 117, 154));
146
- }
147
- :host([disabled]) #ticker:after {
148
- background-color: var(--uui-interface-surface-disabled,rgb(228, 228, 228));
149
- }
150
- :host([disabled]) #ticker #icon-check {
151
- fill: var(--uui-interface-contrast-disabled,rgb(115, 113, 110));
152
- }
153
- :host([disabled]) label:active #ticker {
154
- -webkit-animation: ${UUIHorizontalShakeAnimationValue};
155
- animation: ${UUIHorizontalShakeAnimationValue};
156
- }
157
- :host([disabled]) input:checked + #ticker #icon-check {
158
- fill: var(--uui-interface-chosen-contrast-disabled,rgb(228, 228, 228));
159
- }
160
- `
161
- ];
162
- UUICheckboxElement.formAssociated = true;
163
-
164
- export { UUICheckboxElement };