@descope/web-components-ui 1.0.419 → 1.0.421
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 +1 -0
- package/dist/cjs/index.cjs.js +1439 -1353
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.esm.js +1983 -1091
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1172.js +240 -0
- package/dist/umd/{8162.js → 1396.js} +3 -3
- package/dist/umd/1402.js +1 -0
- package/dist/umd/1484.js +148 -0
- package/dist/umd/{5026.js → 189.js} +5 -117
- package/dist/umd/{6637.js → 201.js} +5 -5
- package/dist/umd/{1053.js → 2159.js} +13 -13
- package/dist/umd/2540.js +1 -0
- package/dist/umd/2570.js +338 -0
- package/dist/umd/2666.js +148 -0
- package/dist/umd/3110.js +275 -0
- package/dist/umd/{9167.js → 3191.js} +66 -12
- package/dist/umd/3437.js +2 -0
- package/dist/umd/{6418.js → 3638.js} +2 -2
- package/dist/umd/{7212.js → 404.js} +8 -8
- package/dist/umd/4114.js +124 -0
- package/dist/umd/{7607.js → 4127.js} +9 -9
- package/dist/umd/4187.js +2 -0
- package/dist/umd/4218.js +129 -0
- package/dist/umd/4455.js +422 -0
- package/dist/umd/4480.js +1 -1
- package/dist/umd/{5086.js → 4554.js} +5 -5
- package/dist/umd/{4834.js → 4574.js} +5 -5
- package/dist/umd/4619.js +1 -1
- package/dist/umd/4902.js +170 -0
- package/dist/umd/{5273.js → 507.js} +5 -5
- package/dist/umd/5096.js +109 -0
- package/dist/umd/5318.js +1 -0
- package/dist/umd/5414.js +2 -0
- package/dist/umd/5414.js.LICENSE.txt +1 -0
- package/dist/umd/{8164.js → 5563.js} +5 -5
- package/dist/umd/{7824.js → 7097.js} +5 -117
- package/dist/umd/7150.js +2 -0
- package/dist/umd/7150.js.LICENSE.txt +485 -0
- package/dist/umd/731.js +832 -0
- package/dist/umd/742.js +2 -0
- package/dist/umd/{351.js → 7979.js} +10 -10
- package/dist/umd/8823.js +1 -0
- package/dist/umd/{6474.js → 9030.js} +12 -12
- package/dist/umd/9243.js +202 -0
- package/dist/umd/9243.js.LICENSE.txt +51 -0
- package/dist/umd/{5443.js → 9478.js} +5 -117
- package/dist/umd/DescopeDev.js +1 -2
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/descope-alert-index-js.js +1 -1
- package/dist/umd/descope-apps-list-index-js.js +1 -1
- package/dist/umd/descope-avatar.js +1 -0
- package/dist/umd/descope-button-index-js.js +4 -116
- package/dist/umd/descope-code-snippet-index-js.js +1 -1
- package/dist/umd/descope-combo-box-index-js.js +5 -5
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
- package/dist/umd/descope-date-field-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +4 -4
- package/dist/umd/descope-enriched-text-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +4 -4
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js +19 -4
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js.LICENSE.txt +12 -0
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +4 -4
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-hybrid-field-index-js.js +3 -3
- package/dist/umd/descope-icon-index-js.js +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-modal-index-js.js +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -1
- package/dist/umd/descope-notification-index-js.js +1 -1
- package/dist/umd/descope-number-field-index-js.js +1 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
- package/dist/umd/descope-passcode-index-js.js +1 -1
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-radio-group-index-js.js +1 -1
- package/dist/umd/descope-scopes-list-index-js.js +1 -1
- package/dist/umd/descope-security-questions-setup-index-js.js +1 -1
- package/dist/umd/descope-security-questions-verify-index-js.js +2 -2
- package/dist/umd/descope-text-area-index-js.js +1 -1
- package/dist/umd/descope-text-field-index-js.js +2 -2
- package/dist/umd/descope-text.js +1 -0
- package/dist/umd/descope-third-party-app-logo-index-js.js +1 -1
- package/dist/umd/descope-upload-file-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +2 -2
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +7 -7
- package/node_modules/common/.eslintrc.json +18 -0
- package/node_modules/common/README.md +7 -0
- package/node_modules/common/package.json +34 -0
- package/node_modules/common/project.json +7 -0
- package/node_modules/common/src/baseClasses/baseClasses/createBaseClass.js +66 -0
- package/node_modules/common/src/baseClasses/baseClasses/createBaseInputClass.js +14 -0
- package/node_modules/common/src/baseClasses/baseClasses/createCssVarImageClass.js +55 -0
- package/node_modules/common/src/baseClasses/index.js +3 -0
- package/node_modules/common/src/componentsHelpers/index.js +95 -0
- package/node_modules/common/src/componentsMixins/helpers/mixinsHelpers.js +10 -0
- package/node_modules/common/src/componentsMixins/index.js +1 -0
- package/node_modules/common/src/componentsMixins/mixins/activableMixin.js +14 -0
- package/node_modules/common/src/componentsMixins/mixins/changeMixin.js +22 -0
- package/node_modules/common/src/componentsMixins/mixins/componentNameValidationMixin.js +23 -0
- package/node_modules/common/src/componentsMixins/mixins/componentsContextMixin.js +12 -0
- package/node_modules/common/src/componentsMixins/mixins/createDynamicDataMixin.js +100 -0
- package/node_modules/common/src/componentsMixins/mixins/createProxy.js +58 -0
- package/node_modules/common/src/componentsMixins/mixins/createStyleMixin/helpers.js +106 -0
- package/node_modules/common/src/componentsMixins/mixins/createStyleMixin/index.js +167 -0
- package/node_modules/common/src/componentsMixins/mixins/draggableMixin.js +62 -0
- package/node_modules/common/src/componentsMixins/mixins/externalInputHelpers.js +93 -0
- package/node_modules/common/src/componentsMixins/mixins/externalInputMixin.js +170 -0
- package/node_modules/common/src/componentsMixins/mixins/hoverableMixin.js +13 -0
- package/node_modules/common/src/componentsMixins/mixins/index.js +14 -0
- package/node_modules/common/src/componentsMixins/mixins/inputEventsDispatchingMixin.js +76 -0
- package/node_modules/common/src/componentsMixins/mixins/inputValidationMixin.js +210 -0
- package/node_modules/common/src/componentsMixins/mixins/lifecycleEventsMixin.js +23 -0
- package/node_modules/common/src/componentsMixins/mixins/normalizeBooleanAttributesMixin.js +57 -0
- package/node_modules/common/src/componentsMixins/mixins/portalMixin.js +112 -0
- package/node_modules/common/src/componentsMixins/mixins/proxyInputMixin.js +242 -0
- package/node_modules/common/src/constants.js +4 -0
- package/node_modules/common/src/icons/errorMessageIconBase64.js +1 -0
- package/node_modules/common/src/sbControls.js +302 -0
- package/node_modules/common/src/themeHelpers/colorsHelpers.js +94 -0
- package/node_modules/common/src/themeHelpers/index.js +176 -0
- package/node_modules/common/src/utils/index.js +68 -0
- package/node_modules/descope-avatar/e2e/descope-avatar.spec.ts +54 -0
- package/node_modules/descope-avatar/package.json +34 -0
- package/node_modules/descope-avatar/project.json +7 -0
- package/{src/components/descope-avatar → node_modules/descope-avatar/src/component}/AvatarClass.js +4 -4
- package/{src/theme/components/avatar.js → node_modules/descope-avatar/src/theme.js} +3 -3
- package/node_modules/descope-avatar/stories/avatar.jpeg +0 -0
- package/node_modules/descope-avatar/stories/descope-avatar.stories.js +32 -0
- package/node_modules/descope-text/e2e/descope-text.spec.ts +35 -0
- package/node_modules/descope-text/package.json +31 -0
- package/node_modules/descope-text/project.json +7 -0
- package/{src/components/descope-text → node_modules/descope-text/src/component}/TextClass.js +4 -4
- package/{src/theme/components/text.js → node_modules/descope-text/src/theme.js} +3 -3
- package/node_modules/descope-text/stories/descope-text.stories.js +55 -0
- package/node_modules/theme-globals/package.json +16 -0
- package/node_modules/theme-globals/project.json +7 -0
- package/node_modules/theme-globals/src/index.js +180 -0
- package/package.json +54 -43
- package/src/components/descope-apps-list/AppsListClass.js +1 -1
- package/src/components/descope-apps-list/index.js +2 -2
- package/src/components/descope-divider/DividerClass.js +1 -1
- package/src/components/descope-divider/index.js +1 -1
- package/src/components/descope-link/LinkClass.js +1 -1
- package/src/components/descope-link/index.js +1 -1
- package/src/components/descope-security-questions-verify/SecurityQuestionsVerifyClass.js +1 -1
- package/src/components/descope-security-questions-verify/index.js +1 -1
- package/src/components/descope-user-attribute/UserAttributeClass.js +1 -1
- package/src/components/descope-user-attribute/index.js +1 -1
- package/src/components/descope-user-auth-method/UserAuthMethodClass.js +1 -1
- package/src/components/descope-user-auth-method/index.js +1 -1
- package/src/components/mapping-fields/descope-mappings-field/MappingsFieldClass.js +1 -1
- package/src/components/mapping-fields/descope-mappings-field/index.js +1 -1
- package/src/helpers/themeHelpers/index.js +1 -1
- package/src/index.cjs.js +2 -2
- package/src/index.d.ts +0 -2
- package/src/index.js +2 -2
- package/src/index.umd.js +3 -1
- package/src/mixins/createStyleMixin/index.js +1 -1
- package/src/theme/components/alert.js +1 -1
- package/src/theme/components/comboBox.js +2 -2
- package/src/theme/components/enrichedText.js +1 -1
- package/src/theme/components/index.js +2 -2
- package/dist/umd/1033.js +0 -2
- package/dist/umd/1414.js +0 -352
- package/dist/umd/1437.js +0 -422
- package/dist/umd/1672.js +0 -1
- package/dist/umd/2566.js +0 -2
- package/dist/umd/2838.js +0 -2
- package/dist/umd/2838.js.LICENSE.txt +0 -1
- package/dist/umd/286.js +0 -148
- package/dist/umd/2919.js +0 -832
- package/dist/umd/3222.js +0 -282
- package/dist/umd/3607.js +0 -2
- package/dist/umd/3711.js +0 -123
- package/dist/umd/5412.js +0 -109
- package/dist/umd/650.js +0 -1
- package/dist/umd/6726.js +0 -148
- package/dist/umd/7407.js +0 -450
- package/dist/umd/8980.js +0 -143
- package/dist/umd/8980.js.LICENSE.txt +0 -29
- package/dist/umd/9632.js +0 -275
- package/dist/umd/9878.js +0 -1
- package/dist/umd/9895.js +0 -17
- package/dist/umd/DescopeDev.js.LICENSE.txt +0 -1
- package/dist/umd/bcdfe87ae253c2cf789c9a737f8d8c22.woff +0 -0
- package/dist/umd/descope-avatar-index-js.js +0 -1
- package/dist/umd/descope-text-index-js.js +0 -1
- /package/dist/umd/{1414.js.LICENSE.txt → 1172.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1437.js.LICENSE.txt → 1396.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6726.js.LICENSE.txt → 1484.js.LICENSE.txt} +0 -0
- /package/dist/umd/{286.js.LICENSE.txt → 189.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6637.js.LICENSE.txt → 201.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1053.js.LICENSE.txt → 2159.js.LICENSE.txt} +0 -0
- /package/dist/umd/{351.js.LICENSE.txt → 2570.js.LICENSE.txt} +0 -0
- /package/dist/umd/{5026.js.LICENSE.txt → 2666.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9632.js.LICENSE.txt → 3110.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9167.js.LICENSE.txt → 3191.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1033.js.LICENSE.txt → 3437.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6418.js.LICENSE.txt → 3638.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7212.js.LICENSE.txt → 404.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3711.js.LICENSE.txt → 4114.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7607.js.LICENSE.txt → 4127.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3607.js.LICENSE.txt → 4187.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3222.js.LICENSE.txt → 4218.js.LICENSE.txt} +0 -0
- /package/dist/umd/{5086.js.LICENSE.txt → 4455.js.LICENSE.txt} +0 -0
- /package/dist/umd/{5273.js.LICENSE.txt → 4554.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4834.js.LICENSE.txt → 4574.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9895.js.LICENSE.txt → 4902.js.LICENSE.txt} +0 -0
- /package/dist/umd/{5443.js.LICENSE.txt → 507.js.LICENSE.txt} +0 -0
- /package/dist/umd/{5412.js.LICENSE.txt → 5096.js.LICENSE.txt} +0 -0
- /package/dist/umd/{8164.js.LICENSE.txt → 5563.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7407.js.LICENSE.txt → 7097.js.LICENSE.txt} +0 -0
- /package/dist/umd/{2919.js.LICENSE.txt → 731.js.LICENSE.txt} +0 -0
- /package/dist/umd/{2566.js.LICENSE.txt → 742.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7824.js.LICENSE.txt → 7979.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6474.js.LICENSE.txt → 9030.js.LICENSE.txt} +0 -0
- /package/dist/umd/{8162.js.LICENSE.txt → 9478.js.LICENSE.txt} +0 -0
- /package/{src/helpers → node_modules/common/src}/themeHelpers/componentsThemeManager.js +0 -0
- /package/{src/components/descope-avatar → node_modules/descope-avatar/src/component}/index.js +0 -0
- /package/{src/components/descope-text → node_modules/descope-text/src/component}/index.js +0 -0
package/dist/umd/7407.js
DELETED
@@ -1,450 +0,0 @@
|
|
1
|
-
/*! For license information please see 7407.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[7407,7824,5026,5443],{50063:(t,e,o)=>{o.d(e,{i:()=>r});const r=(0,o(85297).y)((t=>class extends t{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}}))},98751:(t,e,o)=>{o.d(e,{y:()=>n});var r=o(85297),i=o(90075);const n=(0,r.y)((t=>class extends t{get _keyboardActive(){return(0,i.aJ)()}ready(){this.addEventListener("focusin",(t=>{this._shouldSetFocus(t)&&this._setFocused(!0)})),this.addEventListener("focusout",(t=>{this._shouldRemoveFocus(t)&&this._setFocused(!1)})),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(t){this.toggleAttribute("focused",t),this.toggleAttribute("focus-ring",t&&this._keyboardActive)}_shouldSetFocus(t){return!0}_shouldRemoveFocus(t){return!0}}))},90075:(t,e,o)=>{o.d(e,{Qj:()=>u,aJ:()=>n,dw:()=>i,iq:()=>h,n8:()=>c});let r=!1;function i(){let t=document.activeElement||document.body;for(;t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function n(){return r}function a(t){const e=t.style;if("hidden"===e.visibility||"none"===e.display)return!0;const o=window.getComputedStyle(t);return"hidden"===o.visibility||"none"===o.display}function s(t,e){const o=Math.max(t.tabIndex,0),r=Math.max(e.tabIndex,0);return 0===o||0===r?r>o:o>r}function l(t){const e=t.length;if(e<2)return t;const o=Math.ceil(e/2);return function(t,e){const o=[];for(;t.length>0&&e.length>0;)s(t[0],e[0])?o.push(e.shift()):o.push(t.shift());return o.concat(t,e)}(l(t.slice(0,o)),l(t.slice(o)))}function c(t){return null===t.offsetParent&&0===t.clientWidth&&0===t.clientHeight||a(t)}function u(t){return t.getRootNode().activeElement===t}function d(t,e){if(t.nodeType!==Node.ELEMENT_NODE||a(t))return!1;const o=t,r=function(t){if(!function(t){return!t.matches('[tabindex="-1"]')&&(t.matches("input, select, textarea, button, object")?t.matches(":not([disabled])"):t.matches("a[href], area[href], iframe, [tabindex], [contentEditable]"))}(t))return-1;const e=t.getAttribute("tabindex")||0;return Number(e)}(o);let i=r>0;r>=0&&e.push(o);let n=[];return n="slot"===o.localName?o.assignedNodes({flatten:!0}):(o.shadowRoot||o).children,[...n].forEach((t=>{i=d(t,e)||i})),i}function h(t){const e=[];return d(t,e)?l(e):e}window.addEventListener("keydown",(()=>{r=!0}),{capture:!0}),window.addEventListener("mousedown",(()=>{r=!1}),{capture:!0})},67766:(t,e,o)=>{o.d(e,{f:()=>r});const r=(0,o(85297).y)((t=>class extends t{ready(){super.ready(),this.addEventListener("keydown",(t=>{this._onKeyDown(t)})),this.addEventListener("keyup",(t=>{this._onKeyUp(t)}))}_onKeyDown(t){switch(t.key){case"Enter":this._onEnter(t);break;case"Escape":this._onEscape(t)}}_onKeyUp(t){}_onEnter(t){}_onEscape(t){}}))},1886:(t,e,o)=>{o.d(e,{l:()=>i});var r=o(50063);const i=t=>class extends((0,r.i)(t)){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(t,e){super._disabledChanged(t,e),t?(void 0!==this.tabindex&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):e&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(t){this.disabled&&-1!==t&&(this._lastTabIndex=t,this.tabindex=-1)}}},86292:(t,e,o)=>{o.d(e,{$:()=>b});var r=o(33791),i=o(988),n=o(38735),a=o(31846),s=o(58074),l=o(6052);const c=o(16684).AH`
|
3
|
-
:host {
|
4
|
-
display: inline-block;
|
5
|
-
position: relative;
|
6
|
-
outline: none;
|
7
|
-
white-space: nowrap;
|
8
|
-
-webkit-user-select: none;
|
9
|
-
-moz-user-select: none;
|
10
|
-
user-select: none;
|
11
|
-
}
|
12
|
-
|
13
|
-
:host([hidden]) {
|
14
|
-
display: none !important;
|
15
|
-
}
|
16
|
-
|
17
|
-
/* Aligns the button with form fields when placed on the same line.
|
18
|
-
Note, to make it work, the form fields should have the same "::before" pseudo-element. */
|
19
|
-
.vaadin-button-container::before {
|
20
|
-
content: '\\2003';
|
21
|
-
display: inline-block;
|
22
|
-
width: 0;
|
23
|
-
max-height: 100%;
|
24
|
-
}
|
25
|
-
|
26
|
-
.vaadin-button-container {
|
27
|
-
display: inline-flex;
|
28
|
-
align-items: center;
|
29
|
-
justify-content: center;
|
30
|
-
text-align: center;
|
31
|
-
width: 100%;
|
32
|
-
height: 100%;
|
33
|
-
min-height: inherit;
|
34
|
-
text-shadow: inherit;
|
35
|
-
}
|
36
|
-
|
37
|
-
[part='prefix'],
|
38
|
-
[part='suffix'] {
|
39
|
-
flex: none;
|
40
|
-
}
|
41
|
-
|
42
|
-
[part='label'] {
|
43
|
-
white-space: nowrap;
|
44
|
-
overflow: hidden;
|
45
|
-
text-overflow: ellipsis;
|
46
|
-
}
|
47
|
-
|
48
|
-
@media (forced-colors: active) {
|
49
|
-
:host {
|
50
|
-
outline: 1px solid;
|
51
|
-
outline-offset: -1px;
|
52
|
-
}
|
53
|
-
|
54
|
-
:host([focused]) {
|
55
|
-
outline-width: 2px;
|
56
|
-
}
|
57
|
-
|
58
|
-
:host([disabled]) {
|
59
|
-
outline-color: GrayText;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
`;var u=o(1033),d=o(98751),h=o(1886);const m=t=>class extends((0,u.e)((0,h.l)((0,d.y)(t)))){static get properties(){return{tabindex:{type:Number,value:0,reflectToAttribute:!0}}}get _activeKeys(){return["Enter"," "]}ready(){super.ready(),this.hasAttribute("role")||this.setAttribute("role","button")}_onKeyDown(t){super._onKeyDown(t),t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||this._activeKeys.includes(t.key)&&(t.preventDefault(),this.click())}};(0,l.SF)("vaadin-button",c,{moduleId:"vaadin-button-styles"});class b extends(m((0,a.q)((0,l.cp)((0,i.w)(r.Pu))))){static get is(){return"vaadin-button"}static get template(){return r.qy`
|
63
|
-
<div class="vaadin-button-container">
|
64
|
-
<span part="prefix" aria-hidden="true">
|
65
|
-
<slot name="prefix"></slot>
|
66
|
-
</span>
|
67
|
-
<span part="label">
|
68
|
-
<slot></slot>
|
69
|
-
</span>
|
70
|
-
<span part="suffix" aria-hidden="true">
|
71
|
-
<slot name="suffix"></slot>
|
72
|
-
</span>
|
73
|
-
</div>
|
74
|
-
<slot name="tooltip"></slot>
|
75
|
-
`}ready(){super.ready(),this._tooltipController=new s.I(this),this.addController(this._tooltipController)}}(0,n.X)(b)},83961:(t,e,o)=>{o.d(e,{x:()=>i}),o(92541),o(66206),o(1159),o(23395),o(41745);var r=o(6052);const i=r.AH`
|
76
|
-
:host {
|
77
|
-
/* Sizing */
|
78
|
-
--lumo-button-size: var(--lumo-size-m);
|
79
|
-
min-width: var(--vaadin-button-min-width, calc(var(--_button-size) * 2));
|
80
|
-
height: var(--_button-size);
|
81
|
-
padding: var(--vaadin-button-padding, 0 calc(var(--_button-size) / 3 + var(--lumo-border-radius-m) / 2));
|
82
|
-
margin: var(--vaadin-button-margin, var(--lumo-space-xs) 0);
|
83
|
-
box-sizing: border-box;
|
84
|
-
/* Style */
|
85
|
-
font-family: var(--lumo-font-family);
|
86
|
-
font-size: var(--vaadin-button-font-size, var(--lumo-font-size-m));
|
87
|
-
font-weight: var(--vaadin-button-font-weight, 500);
|
88
|
-
color: var(--_lumo-button-text-color);
|
89
|
-
background: var(--_lumo-button-background);
|
90
|
-
border: var(--vaadin-button-border, none);
|
91
|
-
border-radius: var(--vaadin-button-border-radius, var(--lumo-border-radius-m));
|
92
|
-
cursor: var(--lumo-clickable-cursor);
|
93
|
-
-webkit-tap-highlight-color: transparent;
|
94
|
-
-webkit-font-smoothing: antialiased;
|
95
|
-
-moz-osx-font-smoothing: grayscale;
|
96
|
-
flex-shrink: 0;
|
97
|
-
--_button-size: var(--vaadin-button-height, var(--lumo-button-size));
|
98
|
-
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
99
|
-
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
100
|
-
/* Used by notification */
|
101
|
-
--_lumo-button-background: var(--vaadin-button-background, var(--lumo-contrast-5pct));
|
102
|
-
--_lumo-button-text-color: var(--vaadin-button-text-color, var(--lumo-primary-text-color));
|
103
|
-
--_lumo-button-primary-background: var(--vaadin-button-primary-background, var(--lumo-primary-color));
|
104
|
-
--_lumo-button-primary-text-color: var(--vaadin-button-primary-text-color, var(--lumo-primary-contrast-color));
|
105
|
-
}
|
106
|
-
|
107
|
-
/* Set only for the internal parts so we don't affect the host vertical alignment */
|
108
|
-
[part='label'],
|
109
|
-
[part='prefix'],
|
110
|
-
[part='suffix'] {
|
111
|
-
line-height: var(--lumo-line-height-xs);
|
112
|
-
}
|
113
|
-
|
114
|
-
[part='label'] {
|
115
|
-
padding: calc(var(--lumo-button-size) / 6) 0;
|
116
|
-
}
|
117
|
-
|
118
|
-
:host([theme~='small']) {
|
119
|
-
font-size: var(--lumo-font-size-s);
|
120
|
-
--lumo-button-size: var(--lumo-size-s);
|
121
|
-
}
|
122
|
-
|
123
|
-
:host([theme~='large']) {
|
124
|
-
font-size: var(--lumo-font-size-l);
|
125
|
-
--lumo-button-size: var(--lumo-size-l);
|
126
|
-
}
|
127
|
-
|
128
|
-
/* For interaction states */
|
129
|
-
:host::before,
|
130
|
-
:host::after {
|
131
|
-
content: '';
|
132
|
-
/* We rely on the host always being relative */
|
133
|
-
position: absolute;
|
134
|
-
z-index: 1;
|
135
|
-
inset: 0;
|
136
|
-
background-color: currentColor;
|
137
|
-
border-radius: inherit;
|
138
|
-
opacity: 0;
|
139
|
-
pointer-events: none;
|
140
|
-
}
|
141
|
-
|
142
|
-
/* Hover */
|
143
|
-
|
144
|
-
@media (any-hover: hover) {
|
145
|
-
:host(:hover)::before {
|
146
|
-
opacity: 0.02;
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
/* Active */
|
151
|
-
|
152
|
-
:host::after {
|
153
|
-
transition: opacity 1.4s, transform 0.1s;
|
154
|
-
filter: blur(8px);
|
155
|
-
}
|
156
|
-
|
157
|
-
:host([active])::before {
|
158
|
-
opacity: 0.05;
|
159
|
-
transition-duration: 0s;
|
160
|
-
}
|
161
|
-
|
162
|
-
:host([active])::after {
|
163
|
-
opacity: 0.1;
|
164
|
-
transition-duration: 0s, 0s;
|
165
|
-
transform: scale(0);
|
166
|
-
}
|
167
|
-
|
168
|
-
/* Keyboard focus */
|
169
|
-
|
170
|
-
:host([focus-ring]) {
|
171
|
-
box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color);
|
172
|
-
}
|
173
|
-
|
174
|
-
:host([theme~='primary'][focus-ring]) {
|
175
|
-
box-shadow: 0 0 0 1px var(--lumo-base-color), 0 0 0 3px var(--lumo-primary-color-50pct);
|
176
|
-
}
|
177
|
-
|
178
|
-
/* Types (primary, tertiary, tertiary-inline */
|
179
|
-
|
180
|
-
:host([theme~='tertiary']),
|
181
|
-
:host([theme~='tertiary-inline']) {
|
182
|
-
--_background: transparent !important;
|
183
|
-
background: var(--vaadin-button-tertiary-background, var(--_background));
|
184
|
-
min-width: 0;
|
185
|
-
}
|
186
|
-
|
187
|
-
:host([theme~='tertiary']) {
|
188
|
-
border: var(--vaadin-button-tertiary-border, none);
|
189
|
-
color: var(--vaadin-button-tertiary-text-color, var(--lumo-primary-text-color));
|
190
|
-
font-weight: var(--vaadin-button-tertiary-font-weight, 500);
|
191
|
-
padding: var(--vaadin-button-tertiary-padding, 0 calc(var(--_button-size) / 6));
|
192
|
-
}
|
193
|
-
|
194
|
-
:host([theme~='tertiary-inline'])::before {
|
195
|
-
display: none;
|
196
|
-
}
|
197
|
-
|
198
|
-
:host([theme~='tertiary-inline']) {
|
199
|
-
margin: 0;
|
200
|
-
height: auto;
|
201
|
-
padding: 0;
|
202
|
-
line-height: inherit;
|
203
|
-
font-size: inherit;
|
204
|
-
}
|
205
|
-
|
206
|
-
:host([theme~='tertiary-inline']) [part='label'] {
|
207
|
-
padding: 0;
|
208
|
-
overflow: visible;
|
209
|
-
line-height: inherit;
|
210
|
-
}
|
211
|
-
|
212
|
-
:host([theme~='primary']) {
|
213
|
-
background: var(--_lumo-button-primary-background);
|
214
|
-
border: var(--vaadin-button-primary-border, none);
|
215
|
-
color: var(--_lumo-button-primary-text-color);
|
216
|
-
font-weight: var(--vaadin-button-primary-font-weight, 600);
|
217
|
-
min-width: calc(var(--lumo-button-size) * 2.5);
|
218
|
-
}
|
219
|
-
|
220
|
-
:host([theme~='primary'])::before {
|
221
|
-
background-color: black;
|
222
|
-
}
|
223
|
-
|
224
|
-
@media (any-hover: hover) {
|
225
|
-
:host([theme~='primary']:hover)::before {
|
226
|
-
opacity: 0.05;
|
227
|
-
}
|
228
|
-
}
|
229
|
-
|
230
|
-
:host([theme~='primary'][active])::before {
|
231
|
-
opacity: 0.1;
|
232
|
-
}
|
233
|
-
|
234
|
-
:host([theme~='primary'][active])::after {
|
235
|
-
opacity: 0.2;
|
236
|
-
}
|
237
|
-
|
238
|
-
/* Colors (success, error, contrast) */
|
239
|
-
|
240
|
-
:host([theme~='success']) {
|
241
|
-
color: var(--lumo-success-text-color);
|
242
|
-
}
|
243
|
-
|
244
|
-
:host([theme~='success'][theme~='primary']) {
|
245
|
-
background-color: var(--lumo-success-color);
|
246
|
-
color: var(--lumo-success-contrast-color);
|
247
|
-
}
|
248
|
-
|
249
|
-
:host([theme~='error']) {
|
250
|
-
color: var(--lumo-error-text-color);
|
251
|
-
}
|
252
|
-
|
253
|
-
:host([theme~='error'][theme~='primary']) {
|
254
|
-
background-color: var(--lumo-error-color);
|
255
|
-
color: var(--lumo-error-contrast-color);
|
256
|
-
}
|
257
|
-
|
258
|
-
:host([theme~='contrast']) {
|
259
|
-
color: var(--lumo-contrast);
|
260
|
-
}
|
261
|
-
|
262
|
-
:host([theme~='contrast'][theme~='primary']) {
|
263
|
-
background-color: var(--lumo-contrast);
|
264
|
-
color: var(--lumo-base-color);
|
265
|
-
}
|
266
|
-
|
267
|
-
/* Disabled state. Keep selectors after other color variants. */
|
268
|
-
|
269
|
-
:host([disabled]) {
|
270
|
-
pointer-events: none;
|
271
|
-
color: var(--lumo-disabled-text-color);
|
272
|
-
}
|
273
|
-
|
274
|
-
:host([theme~='primary'][disabled]) {
|
275
|
-
background-color: var(--lumo-contrast-30pct);
|
276
|
-
color: var(--lumo-base-color);
|
277
|
-
}
|
278
|
-
|
279
|
-
:host([theme~='primary'][disabled]) [part] {
|
280
|
-
opacity: 0.7;
|
281
|
-
}
|
282
|
-
|
283
|
-
/* Icons */
|
284
|
-
|
285
|
-
[part] ::slotted(vaadin-icon) {
|
286
|
-
display: inline-block;
|
287
|
-
width: var(--lumo-icon-size-m);
|
288
|
-
height: var(--lumo-icon-size-m);
|
289
|
-
}
|
290
|
-
|
291
|
-
/* Vaadin icons are based on a 16x16 grid (unlike Lumo and Material icons with 24x24), so they look too big by default */
|
292
|
-
[part] ::slotted(vaadin-icon[icon^='vaadin:']) {
|
293
|
-
padding: 0.25em;
|
294
|
-
box-sizing: border-box !important;
|
295
|
-
}
|
296
|
-
|
297
|
-
[part='prefix'] {
|
298
|
-
margin-left: -0.25em;
|
299
|
-
margin-right: 0.25em;
|
300
|
-
}
|
301
|
-
|
302
|
-
[part='suffix'] {
|
303
|
-
margin-left: 0.25em;
|
304
|
-
margin-right: -0.25em;
|
305
|
-
}
|
306
|
-
|
307
|
-
/* Icon-only */
|
308
|
-
|
309
|
-
:host([theme~='icon']:not([theme~='tertiary-inline'])) {
|
310
|
-
min-width: var(--lumo-button-size);
|
311
|
-
padding-left: calc(var(--lumo-button-size) / 4);
|
312
|
-
padding-right: calc(var(--lumo-button-size) / 4);
|
313
|
-
}
|
314
|
-
|
315
|
-
:host([theme~='icon']) [part='prefix'],
|
316
|
-
:host([theme~='icon']) [part='suffix'] {
|
317
|
-
margin-left: 0;
|
318
|
-
margin-right: 0;
|
319
|
-
}
|
320
|
-
|
321
|
-
/* RTL specific styles */
|
322
|
-
|
323
|
-
:host([dir='rtl']) [part='prefix'] {
|
324
|
-
margin-left: 0.25em;
|
325
|
-
margin-right: -0.25em;
|
326
|
-
}
|
327
|
-
|
328
|
-
:host([dir='rtl']) [part='suffix'] {
|
329
|
-
margin-left: -0.25em;
|
330
|
-
margin-right: 0.25em;
|
331
|
-
}
|
332
|
-
|
333
|
-
:host([dir='rtl'][theme~='icon']) [part='prefix'],
|
334
|
-
:host([dir='rtl'][theme~='icon']) [part='suffix'] {
|
335
|
-
margin-left: 0;
|
336
|
-
margin-right: 0;
|
337
|
-
}
|
338
|
-
`;(0,r.SF)("vaadin-button",i,{moduleId:"lumo-button"})},97745:(t,e,o)=>{o(83961),o(86292)},53794:(t,e,o)=>{o.d(e,{CI:()=>d,H8:()=>a,gm:()=>s,m0:()=>n,nr:()=>u,un:()=>c});const r=t=>t.test(navigator.userAgent),i=t=>t.test(navigator.platform),n=r(/Android/u),a=r(/Chrome/u)&&/Google Inc/u.test(navigator.vendor),s=r(/Firefox/u),l=i(/^iPad/u)||i(/^Mac/u)&&navigator.maxTouchPoints>1,c=i(/^iPhone/u)||l,u=r(/^((?!chrome|android).)*safari/iu),d=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}})()},51939:(t,e,o)=>{o.d(e,{C:()=>n});var r=o(85297);const i=new WeakMap,n=(0,r.y)((t=>class extends t{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const t=this.getRootNode(),e=function(t){return i.has(t)||i.set(t,new Set),i.get(t)}(t);this.slotStyles.forEach((o=>{e.has(o)||(function(t,e){const o=document.createElement("style");o.textContent=t,e===document?document.head.appendChild(o):e.insertBefore(o,e.firstChild)}(o,t),e.add(o))}))}}))},41745:(t,e,o)=>{o(56830);var r=o(6052),i=o(35543);const n=r.AH`
|
339
|
-
:host {
|
340
|
-
/* prettier-ignore */
|
341
|
-
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
342
|
-
|
343
|
-
/* Font sizes */
|
344
|
-
--lumo-font-size-xxs: 0.75rem;
|
345
|
-
--lumo-font-size-xs: 0.8125rem;
|
346
|
-
--lumo-font-size-s: 0.875rem;
|
347
|
-
--lumo-font-size-m: 1rem;
|
348
|
-
--lumo-font-size-l: 1.125rem;
|
349
|
-
--lumo-font-size-xl: 1.375rem;
|
350
|
-
--lumo-font-size-xxl: 1.75rem;
|
351
|
-
--lumo-font-size-xxxl: 2.5rem;
|
352
|
-
|
353
|
-
/* Line heights */
|
354
|
-
--lumo-line-height-xs: 1.25;
|
355
|
-
--lumo-line-height-s: 1.375;
|
356
|
-
--lumo-line-height-m: 1.625;
|
357
|
-
}
|
358
|
-
`,a=r.AH`
|
359
|
-
body,
|
360
|
-
:host {
|
361
|
-
font-family: var(--lumo-font-family);
|
362
|
-
font-size: var(--lumo-font-size-m);
|
363
|
-
line-height: var(--lumo-line-height-m);
|
364
|
-
-webkit-text-size-adjust: 100%;
|
365
|
-
-webkit-font-smoothing: antialiased;
|
366
|
-
-moz-osx-font-smoothing: grayscale;
|
367
|
-
}
|
368
|
-
|
369
|
-
small,
|
370
|
-
[theme~='font-size-s'] {
|
371
|
-
font-size: var(--lumo-font-size-s);
|
372
|
-
line-height: var(--lumo-line-height-s);
|
373
|
-
}
|
374
|
-
|
375
|
-
[theme~='font-size-xs'] {
|
376
|
-
font-size: var(--lumo-font-size-xs);
|
377
|
-
line-height: var(--lumo-line-height-xs);
|
378
|
-
}
|
379
|
-
|
380
|
-
:where(h1, h2, h3, h4, h5, h6) {
|
381
|
-
font-weight: 600;
|
382
|
-
line-height: var(--lumo-line-height-xs);
|
383
|
-
margin-block: 0;
|
384
|
-
}
|
385
|
-
|
386
|
-
:where(h1) {
|
387
|
-
font-size: var(--lumo-font-size-xxxl);
|
388
|
-
}
|
389
|
-
|
390
|
-
:where(h2) {
|
391
|
-
font-size: var(--lumo-font-size-xxl);
|
392
|
-
}
|
393
|
-
|
394
|
-
:where(h3) {
|
395
|
-
font-size: var(--lumo-font-size-xl);
|
396
|
-
}
|
397
|
-
|
398
|
-
:where(h4) {
|
399
|
-
font-size: var(--lumo-font-size-l);
|
400
|
-
}
|
401
|
-
|
402
|
-
:where(h5) {
|
403
|
-
font-size: var(--lumo-font-size-m);
|
404
|
-
}
|
405
|
-
|
406
|
-
:where(h6) {
|
407
|
-
font-size: var(--lumo-font-size-xs);
|
408
|
-
text-transform: uppercase;
|
409
|
-
letter-spacing: 0.03em;
|
410
|
-
}
|
411
|
-
|
412
|
-
p,
|
413
|
-
blockquote {
|
414
|
-
margin-top: 0.5em;
|
415
|
-
margin-bottom: 0.75em;
|
416
|
-
}
|
417
|
-
|
418
|
-
a {
|
419
|
-
text-decoration: none;
|
420
|
-
}
|
421
|
-
|
422
|
-
a:where(:any-link):hover {
|
423
|
-
text-decoration: underline;
|
424
|
-
}
|
425
|
-
|
426
|
-
hr {
|
427
|
-
display: block;
|
428
|
-
align-self: stretch;
|
429
|
-
height: 1px;
|
430
|
-
border: 0;
|
431
|
-
padding: 0;
|
432
|
-
margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
|
433
|
-
background-color: var(--lumo-contrast-10pct);
|
434
|
-
}
|
435
|
-
|
436
|
-
blockquote {
|
437
|
-
border-left: 2px solid var(--lumo-contrast-30pct);
|
438
|
-
}
|
439
|
-
|
440
|
-
b,
|
441
|
-
strong {
|
442
|
-
font-weight: 600;
|
443
|
-
}
|
444
|
-
|
445
|
-
/* RTL specific styles */
|
446
|
-
blockquote[dir='rtl'] {
|
447
|
-
border-left: none;
|
448
|
-
border-right: 2px solid var(--lumo-contrast-30pct);
|
449
|
-
}
|
450
|
-
`;(0,r.SF)("",a,{moduleId:"lumo-typography"}),(0,i.q)("typography-props",n)}}]);
|
package/dist/umd/8980.js
DELETED
@@ -1,143 +0,0 @@
|
|
1
|
-
/*! For license information please see 8980.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[8980],{53430:(e,t,o)=>{o.d(t,{a:()=>i});var s=o(32318);const i=e=>class extends((0,s.R)(e)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.value&&e.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),e.value=""),this.value&&(e.value=this.value))}_setFocused(e){super._setFocused(e),!e&&document.hasFocus()&&this.validate()}_onInput(e){super._onInput(e),this.invalid&&this.validate()}_valueChanged(e,t){super._valueChanged(e,t),void 0!==t&&this.invalid&&this.validate()}}},19071:(e,t,o)=>{var s=o(16684),i=o(90075),r=o(38735),n=o(35717);const a=new WeakMap;var l=o(42067);const h={},_=/([A-Z])/gu;function d(e){return h[e]||(h[e]=e.replace(_,"-$1").toLowerCase()),h[e]}function u(e){return e[0].toUpperCase()+e.substring(1)}function c(e){const[t,o]=e.split("(");return{method:t,observerProps:o.replace(")","").split(",").map((e=>e.trim()))}}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)||(e[t]=new Map(e[t])),e[t]}const v=(g=e=>class extends e{static createProperty(e,t){[String,Boolean,Number,Array].includes(t)&&(t={type:t}),t.reflectToAttribute&&(t.reflect=!0),super.createProperty(e,t)}static getOrCreateMap(e){return p(this,e)}static finalize(){if(super.finalize(),Array.isArray(this.observers)){const e=this.getOrCreateMap("__complexObservers");this.observers.forEach((t=>{const{method:o,observerProps:s}=c(t);e.set(o,s)}))}}static addCheckedInitializer(e){super.addInitializer((t=>{t instanceof this&&e(t)}))}static getPropertyDescriptor(e,t,o){const s=super.getPropertyDescriptor(e,t,o);let i=s;if(o.sync&&(i={get:s.get,set(s){const i=this[e];this[t]=s,this.requestUpdate(e,i,o),this.hasUpdated&&this.performUpdate()},configurable:!0,enumerable:!0}),o.readOnly){const t=s.set;this.addCheckedInitializer((s=>{s[`_set${u(e)}`]=function(e){t.call(s,e),o.sync&&this.performUpdate()}})),i={get:s.get,set(){},configurable:!0,enumerable:!0}}if("value"in o&&this.addCheckedInitializer((t=>{const s="function"==typeof o.value?o.value.call(t):o.value;o.readOnly?t[`_set${u(e)}`](s):t[e]=s})),o.observer){const t=o.observer;this.getOrCreateMap("__observers").set(e,t),this.addCheckedInitializer((e=>{e[t]||console.warn(`observer method ${t} not defined`)}))}if(o.notify){if(this.__notifyProps){if(!this.hasOwnProperty("__notifyProps")){const e=this.__notifyProps;this.__notifyProps=new Set(e)}}else this.__notifyProps=new Set;this.__notifyProps.add(e)}if(o.computed){const t=`__assignComputed${e}`,s=c(o.computed);this.prototype[t]=function(...t){this[e]=this[s.method](...t)},this.getOrCreateMap("__complexObservers").set(t,s.observerProps)}return o.attribute||(o.attribute=d(e)),i}firstUpdated(){super.firstUpdated(),this.$||(this.$={}),this.renderRoot.querySelectorAll("[id]").forEach((e=>{this.$[e.id]=e}))}ready(){}updated(e){this.constructor.__observers&&this.__runObservers(e,this.constructor.__observers),this.constructor.__complexObservers&&this.__runComplexObservers(e,this.constructor.__complexObservers),this.__dynamicObservers&&this.__runComplexObservers(e,this.__dynamicObservers),this.constructor.__notifyProps&&this.__runNotifyProps(e,this.constructor.__notifyProps),this.__isReadyInvoked||(this.__isReadyInvoked=!0,this.ready())}_createMethodObserver(e){const t=p(this,"__dynamicObservers"),{method:o,observerProps:s}=c(e);t.set(o,s)}__runComplexObservers(e,t){t.forEach(((t,o)=>{t.some((t=>e.has(t)))&&(this[o]?this[o](...t.map((e=>this[e]))):console.warn(`observer method ${o} not defined`))}))}__runObservers(e,t){e.forEach(((e,o)=>{const s=t.get(o);void 0!==s&&this[s]&&this[s](this[o],e)}))}__runNotifyProps(e,t){e.forEach(((e,o)=>{t.has(o)&&this.dispatchEvent(new CustomEvent(`${d(o)}-changed`,{detail:{value:this[o]}}))}))}_get(e,t){return(0,l.J)(e,t)}_set(e,t,o){(0,l.h)(e,t,o)}},e=>{if(function(e,t){let o=t;for(;o;){if(a.get(o)===e)return!0;o=Object.getPrototypeOf(o)}return!1}(g,e))return e;const t=g(e);return a.set(t,g),t});var g,y=o(52718),m=o(6052),f=o(21380),b=o(10331);const C=e=>class extends((0,b.t)((0,f.c)(e))){static get properties(){return{position:{type:String,reflectToAttribute:!0}}}get _tagNamePrefix(){return"vaadin-popover"}requestContentUpdate(){if(super.requestContentUpdate(),this.positionTarget&&this.owner){const e=getComputedStyle(this.owner);["top","bottom","start","end"].forEach((t=>{this.style.setProperty(`--${this._tagNamePrefix}-offset-${t}`,e.getPropertyValue(`--${this._tagNamePrefix}-offset-${t}`))}))}}_updatePosition(){if(super._updatePosition(),this.positionTarget&&this.opened){if(this.removeAttribute("arrow-centered"),"bottom"===this.position||"top"===this.position){const e=this.positionTarget.getBoundingClientRect(),t=this.$.overlay.getBoundingClientRect(),o=e.width/2-t.width/2;if(this.style.left){const e=t.left+o;e>0&&(this.style.left=`${e}px`,this.setAttribute("arrow-centered",""))}if(this.style.right){const e=parseFloat(this.style.right)+o;e>0&&(this.style.right=`${e}px`,this.setAttribute("arrow-centered",""))}}if("start"===this.position||"end"===this.position){const e=this.positionTarget.getBoundingClientRect(),t=this.$.overlay.getBoundingClientRect(),o=e.height/2-t.height/2;this.style.top=`${t.top+o}px`}}}};class T extends(C((0,n.v)((0,m.cp)(v(s.WF))))){static get is(){return"vaadin-popover-overlay"}static get styles(){return[y.B,s.AH`
|
3
|
-
:host {
|
4
|
-
--_vaadin-popover-content-width: auto;
|
5
|
-
--_vaadin-popover-content-height: auto;
|
6
|
-
}
|
7
|
-
|
8
|
-
:host([modeless][with-backdrop]) [part='backdrop'] {
|
9
|
-
pointer-events: none;
|
10
|
-
}
|
11
|
-
|
12
|
-
:host([position^='top'][top-aligned]) [part='overlay'],
|
13
|
-
:host([position^='bottom'][top-aligned]) [part='overlay'] {
|
14
|
-
margin-top: var(--vaadin-popover-offset-top, 0);
|
15
|
-
}
|
16
|
-
|
17
|
-
[part='overlay'] {
|
18
|
-
position: relative;
|
19
|
-
overflow: visible;
|
20
|
-
max-height: 100%;
|
21
|
-
}
|
22
|
-
|
23
|
-
[part='content'] {
|
24
|
-
overflow: auto;
|
25
|
-
box-sizing: border-box;
|
26
|
-
max-height: 100%;
|
27
|
-
width: var(--_vaadin-popover-content-width);
|
28
|
-
height: var(--_vaadin-popover-content-height);
|
29
|
-
}
|
30
|
-
|
31
|
-
/* Increase the area of the popover so the pointer can go from the target directly to it. */
|
32
|
-
[part='overlay']::before {
|
33
|
-
position: absolute;
|
34
|
-
content: '';
|
35
|
-
inset-block: calc(var(--vaadin-popover-offset-top, 0) * -1) calc(var(--vaadin-popover-offset-bottom, 0) * -1);
|
36
|
-
inset-inline: calc(var(--vaadin-popover-offset-start, 0) * -1) calc(var(--vaadin-popover-offset-end, 0) * -1);
|
37
|
-
z-index: -1;
|
38
|
-
pointer-events: auto;
|
39
|
-
}
|
40
|
-
|
41
|
-
:host([position^='top'][bottom-aligned]) [part='overlay'],
|
42
|
-
:host([position^='bottom'][bottom-aligned]) [part='overlay'] {
|
43
|
-
margin-bottom: var(--vaadin-popover-offset-bottom, 0);
|
44
|
-
}
|
45
|
-
|
46
|
-
:host([position^='start'][start-aligned]) [part='overlay'],
|
47
|
-
:host([position^='end'][start-aligned]) [part='overlay'] {
|
48
|
-
margin-inline-start: var(--vaadin-popover-offset-start, 0);
|
49
|
-
}
|
50
|
-
|
51
|
-
:host([position^='start'][end-aligned]) [part='overlay'],
|
52
|
-
:host([position^='end'][end-aligned]) [part='overlay'] {
|
53
|
-
margin-inline-end: var(--vaadin-popover-offset-end, 0);
|
54
|
-
}
|
55
|
-
|
56
|
-
[part='arrow'] {
|
57
|
-
display: none;
|
58
|
-
position: absolute;
|
59
|
-
height: 0;
|
60
|
-
width: 0;
|
61
|
-
}
|
62
|
-
|
63
|
-
:host([theme~='arrow']) [part='arrow'] {
|
64
|
-
display: block;
|
65
|
-
}
|
66
|
-
`]}render(){return s.qy`
|
67
|
-
<div id="backdrop" part="backdrop" hidden ?hidden="${!this.withBackdrop}"></div>
|
68
|
-
<div part="overlay" id="overlay" tabindex="0">
|
69
|
-
<div part="arrow"></div>
|
70
|
-
<div part="content" id="content"><slot></slot></div>
|
71
|
-
</div>
|
72
|
-
`}_shouldCloseOnOutsideClick(e){return(!this.owner.__hasTrigger("focus")||!(0,i.Qj)(this))&&super._shouldCloseOnOutsideClick(e)}}(0,r.X)(T);var O=o(36752);const E=e=>e??O.s6;var w=o(31846),$=o(55231),k=o(78065),x=o(18626),D=o(3843),F=o(81510),I=o(27111);const P=e=>class extends e{static get properties(){return{for:{type:String,observer:"__forChanged"},target:{type:Object,observer:"__targetChanged"}}}connectedCallback(){super.connectedCallback(),this.target&&this._addTargetListeners(this.target)}disconnectedCallback(){super.disconnectedCallback(),this.target&&this._removeTargetListeners(this.target)}__forChanged(e){e&&(this.__setTargetByIdDebouncer=I.aq.debounce(this.__setTargetByIdDebouncer,F._3,(()=>this.__setTargetById(e))))}__setTargetById(e){if(!this.isConnected)return;const t=this.getRootNode().getElementById(e);t?this.target=t:console.warn(`No element with id="${e}" set via "for" property found on the page.`)}__targetChanged(e,t){t&&this._removeTargetListeners(t),e&&this._addTargetListeners(e)}_addTargetListeners(e){}_removeTargetListeners(e){}},L=500;let S=L,A=L,M=L;class N{constructor(e){this.host=e}get isClosing(){return null!=this.__closeTimeout}get __focusDelay(){const e=this.host;return null!=e.focusDelay&&e.focusDelay>=0?e.focusDelay:S}get __hoverDelay(){const e=this.host;return null!=e.hoverDelay&&e.hoverDelay>=0?e.hoverDelay:A}get __hideDelay(){const e=this.host;return null!=e.hideDelay&&e.hideDelay>=0?e.hideDelay:M}open(e={immediate:!1}){const{immediate:t,trigger:o}=e,s="hover"===o&&this.__hoverDelay>0,i="focus"===o&&this.__focusDelay>0;t||!s&&!i||this.__closeTimeout?this.__showPopover():this.__scheduleOpen(o)}close(e){!e&&this.__hideDelay>0?this.__scheduleClose():(this.__abortClose(),this.__setOpened(!1)),this.__abortOpen()}__setOpened(e){this.host.opened=e}__showPopover(){this.__abortClose(),this.__setOpened(!0)}__abortClose(){this.__closeTimeout&&(clearTimeout(this.__closeTimeout),this.__closeTimeout=null)}__abortOpen(){this.__openTimeout&&(clearTimeout(this.__openTimeout),this.__openTimeout=null)}__scheduleClose(){this.__closeTimeout=setTimeout((()=>{this.__closeTimeout=null,this.__setOpened(!1)}),this.__hideDelay)}__scheduleOpen(e){this.__abortOpen();const t="focus"===e?this.__focusDelay:this.__hoverDelay;this.__openTimeout=setTimeout((()=>{this.__openTimeout=null,this.__showPopover()}),t)}}class B extends((e=>class extends e{static get properties(){return{position:{type:String},_position:{type:String,value:"bottom"},__effectivePosition:{type:String,computed:"__computePosition(position, _position)"}}}__computeHorizontalAlign(e){return["top-end","bottom-end","start-top","start","start-bottom"].includes(e)?"end":"start"}__computeNoHorizontalOverlap(e){return["start-top","start","start-bottom","end-top","end","end-bottom"].includes(e)}__computeNoVerticalOverlap(e){return["top-start","top-end","top","bottom-start","bottom","bottom-end"].includes(e)}__computeVerticalAlign(e){return["top-start","top-end","top","start-bottom","end-bottom"].includes(e)?"bottom":"top"}__computePosition(e,t){return e||t}})(P((0,$.i)((0,D._)((0,w.q)(v(s.WF))))))){static get is(){return"vaadin-popover"}static get styles(){return s.AH`
|
73
|
-
:host {
|
74
|
-
display: none !important;
|
75
|
-
}
|
76
|
-
`}static get properties(){return{accessibleName:{type:String},accessibleNameRef:{type:String},autofocus:{type:Boolean},contentHeight:{type:String},contentWidth:{type:String},focusDelay:{type:Number},hideDelay:{type:Number},hoverDelay:{type:Number},opened:{type:Boolean,value:!1,notify:!0,observer:"__openedChanged"},overlayRole:{type:String,value:"dialog"},renderer:{type:Object},modal:{type:Boolean,value:!1},noCloseOnOutsideClick:{type:Boolean,value:!1},noCloseOnEsc:{type:Boolean,value:!1},trigger:{type:Array,value:()=>["click"]},withBackdrop:{type:Boolean,value:!1},__shouldRestoreFocus:{type:Boolean,value:!1,sync:!0},__overlayId:{type:String}}}static get observers(){return["__updateContentHeight(contentHeight, _overlayElement)","__updateContentWidth(contentWidth, _overlayElement)","__openedOrTargetChanged(opened, target)","__overlayRoleOrTargetChanged(overlayRole, target)"]}static setDefaultFocusDelay(e){S=null!=e&&e>=0?e:L}static setDefaultHideDelay(e){M=null!=e&&e>=0?e:L}static setDefaultHoverDelay(e){A=null!=e&&e>=0?e:L}constructor(){super(),this.__overlayId=`vaadin-popover-${(0,k.I)()}`,this.__onGlobalClick=this.__onGlobalClick.bind(this),this.__onGlobalKeyDown=this.__onGlobalKeyDown.bind(this),this.__onTargetClick=this.__onTargetClick.bind(this),this.__onTargetFocusIn=this.__onTargetFocusIn.bind(this),this.__onTargetFocusOut=this.__onTargetFocusOut.bind(this),this.__onTargetMouseEnter=this.__onTargetMouseEnter.bind(this),this.__onTargetMouseLeave=this.__onTargetMouseLeave.bind(this),this._openedStateController=new N(this)}render(){const e=this.__effectivePosition;return s.qy`
|
77
|
-
<vaadin-popover-overlay
|
78
|
-
id="${this.__overlayId}"
|
79
|
-
role="${this.overlayRole}"
|
80
|
-
aria-label="${E(this.accessibleName)}"
|
81
|
-
aria-labelledby="${E(this.accessibleNameRef)}"
|
82
|
-
.renderer="${this.renderer}"
|
83
|
-
.owner="${this}"
|
84
|
-
theme="${E(this._theme)}"
|
85
|
-
.positionTarget="${this.target}"
|
86
|
-
.position="${e}"
|
87
|
-
.opened="${this.opened}"
|
88
|
-
.modeless="${!this.modal}"
|
89
|
-
.focusTrap="${this.modal}"
|
90
|
-
.withBackdrop="${this.withBackdrop}"
|
91
|
-
?no-horizontal-overlap="${this.__computeNoHorizontalOverlap(e)}"
|
92
|
-
?no-vertical-overlap="${this.__computeNoVerticalOverlap(e)}"
|
93
|
-
.horizontalAlign="${this.__computeHorizontalAlign(e)}"
|
94
|
-
.verticalAlign="${this.__computeVerticalAlign(e)}"
|
95
|
-
@mousedown="${this.__onOverlayMouseDown}"
|
96
|
-
@mouseenter="${this.__onOverlayMouseEnter}"
|
97
|
-
@mouseleave="${this.__onOverlayMouseLeave}"
|
98
|
-
@focusin="${this.__onOverlayFocusIn}"
|
99
|
-
@focusout="${this.__onOverlayFocusOut}"
|
100
|
-
@opened-changed="${this.__onOpenedChanged}"
|
101
|
-
.restoreFocusOnClose="${this.__shouldRestoreFocus}"
|
102
|
-
.restoreFocusNode="${this.target}"
|
103
|
-
@vaadin-overlay-escape-press="${this.__onEscapePress}"
|
104
|
-
@vaadin-overlay-outside-click="${this.__onOutsideClick}"
|
105
|
-
@vaadin-overlay-open="${this.__onOverlayOpened}"
|
106
|
-
@vaadin-overlay-closed="${this.__onOverlayClosed}"
|
107
|
-
></vaadin-popover-overlay>
|
108
|
-
`}requestContentUpdate(){this.renderer&&this._overlayElement&&this._overlayElement.requestContentUpdate()}ready(){super.ready(),this._overlayElement=this.shadowRoot.querySelector("vaadin-popover-overlay")}connectedCallback(){super.connectedCallback(),document.documentElement.addEventListener("click",this.__onGlobalClick,!0)}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.__onGlobalClick,!0),this._openedStateController.close(!0)}_addTargetListeners(e){e.addEventListener("click",this.__onTargetClick),e.addEventListener("mouseenter",this.__onTargetMouseEnter),e.addEventListener("mouseleave",this.__onTargetMouseLeave),e.addEventListener("focusin",this.__onTargetFocusIn),e.addEventListener("focusout",this.__onTargetFocusOut)}_removeTargetListeners(e){e.removeEventListener("click",this.__onTargetClick),e.removeEventListener("mouseenter",this.__onTargetMouseEnter),e.removeEventListener("mouseleave",this.__onTargetMouseLeave),e.removeEventListener("focusin",this.__onTargetFocusIn),e.removeEventListener("focusout",this.__onTargetFocusOut)}__openedChanged(e,t){e?document.addEventListener("keydown",this.__onGlobalKeyDown,!0):t&&document.removeEventListener("keydown",this.__onGlobalKeyDown,!0)}__openedOrTargetChanged(e,t){t&&(t.setAttribute("aria-expanded",e?"true":"false"),e?t.setAttribute("aria-controls",this.__overlayId):t.removeAttribute("aria-controls"))}__overlayRoleOrTargetChanged(e,t){if(this.__oldTarget&&this.__oldTarget.removeAttribute("aria-haspopup"),t){const o="dialog"===e||"alertdialog"===e;t.setAttribute("aria-haspopup",o?"dialog":"true"),this.__oldTarget=t}}__onGlobalClick(e){!this.opened||this.__isManual||this.modal||e.composedPath().some((e=>e===this._overlayElement||e===this.target))||this.noCloseOnOutsideClick||!(0,x.$)(this._overlayElement)||this._openedStateController.close(!0)}__onTargetClick(){this.__hasTrigger("click")&&(this.opened||(this.__shouldRestoreFocus=!0),this.opened?this._openedStateController.close(!0):this._openedStateController.open({immediate:!0}))}__onGlobalKeyDown(e){this.modal||("Escape"===e.key&&!this.noCloseOnEsc&&this.opened&&!this.__isManual&&(0,x.$)(this._overlayElement)&&(e.stopPropagation(),this._openedStateController.close(!0)),"Tab"===e.key&&(e.shiftKey?this.__onGlobalShiftTab(e):this.__onGlobalTab(e)))}__onGlobalTab(e){const t=this._overlayElement.$.overlay;if(this.target&&(0,i.Qj)(this.target))return e.preventDefault(),void t.focus();const o=this.__getLastFocusable(t);if(o&&(0,i.Qj)(o)){const o=this.__getNextBodyFocusable(this.target);if(o&&o!==t)return e.preventDefault(),void o.focus()}const s=(0,i.dw)();this.__getNextBodyFocusable(s)===t&&o&&o.focus()}__onGlobalShiftTab(e){const t=this._overlayElement.$.overlay;if(this.target&&(0,i.Qj)(this.target)&&this.__shouldRestoreFocus)return void(this.__shouldRestoreFocus=!1);if(this.target&&(0,i.Qj)(t))return e.preventDefault(),void this.target.focus();const o=this.__getNextBodyFocusable(this.target);if(o&&(0,i.Qj)(o)){const o=this.__getLastFocusable(t);o&&(e.preventDefault(),o.focus())}}__getNextBodyFocusable(e){const t=(0,i.iq)(document.body),o=t.findIndex((t=>t===e));return t[o+1]}__getLastFocusable(e){return(0,i.iq)(e).pop()}__onTargetFocusIn(){if(this.__focusInside=!0,this.__hasTrigger("focus")){if(this.__hasTrigger("click")&&!(0,i.aJ)())return;this.__shouldRestoreFocus||(this.__shouldRestoreFocus=!0,this._openedStateController.open({trigger:"focus"}))}}__onTargetFocusOut(e){(0,x.$)(this._overlayElement)&&(this.__hasTrigger("focus")&&this.__mouseDownInside||this._overlayElement.contains(e.relatedTarget)||this.__handleFocusout())}__onTargetMouseEnter(){this.__hoverInside=!0,this.__hasTrigger("hover")&&!this.opened&&(this.modal&&(this.target.style.pointerEvents="auto"),this._openedStateController.open({trigger:"hover"}))}__onTargetMouseLeave(e){this._overlayElement.opened&&!(0,x.$)(this._overlayElement)||this._overlayElement.contains(e.relatedTarget)||this.__handleMouseLeave()}__onOverlayFocusIn(){this.__focusInside=!0,(this.__hasTrigger("focus")||this.__hasTrigger("click"))&&(this.__shouldRestoreFocus=!0)}__onOverlayFocusOut(e){(0,x.$)(this._overlayElement)&&(this.__hasTrigger("focus")&&this.__mouseDownInside||e.relatedTarget===this.target||this._overlayElement.contains(e.relatedTarget)||this.__handleFocusout())}__onOverlayMouseDown(){this.__hasTrigger("focus")&&(this.__mouseDownInside=!0,document.addEventListener("mouseup",(()=>{this.__mouseDownInside=!1}),{once:!0}))}__onOverlayMouseEnter(){this.__hoverInside=!0,this.__hasTrigger("hover")&&this._openedStateController.isClosing&&this._openedStateController.open({immediate:!0})}__onOverlayMouseLeave(e){(0,x.$)(this._overlayElement)&&e.relatedTarget!==this.target&&this.__handleMouseLeave()}__handleFocusout(){this.__focusInside=!1,this.__hasTrigger("hover")&&this.__hoverInside||this.__hasTrigger("focus")&&this._openedStateController.close(!0)}__handleMouseLeave(){this.__hoverInside=!1,this.__hasTrigger("focus")&&this.__focusInside||this.__hasTrigger("hover")&&this._openedStateController.close()}__onOpenedChanged(e){this.opened=e.detail.value}__onOverlayOpened(){this.autofocus&&!this.modal&&this._overlayElement.$.overlay.focus()}__onOverlayClosed(){this.__shouldRestoreFocus&&setTimeout((()=>{this.__shouldRestoreFocus=!1})),this.modal&&this.target.style.pointerEvents&&(this.target.style.pointerEvents=""),this.dispatchEvent(new CustomEvent("closed"))}__onEscapePress(e){(this.noCloseOnEsc||this.__isManual)&&e.preventDefault()}__onOutsideClick(e){(this.noCloseOnOutsideClick||this.__isManual)&&e.preventDefault()}__hasTrigger(e){return Array.isArray(this.trigger)&&this.trigger.includes(e)}get __isManual(){return null==this.trigger||Array.isArray(this.trigger)&&0===this.trigger.length}__updateDimension(e,t,o){const s=`--_vaadin-popover-content-${t}`;o?e.style.setProperty(s,o):e.style.removeProperty(s)}__updateContentHeight(e,t){t&&this.__updateDimension(t,"height",e)}__updateContentWidth(e,t){t&&this.__updateDimension(t,"width",e)}}(0,r.X)(B)},34068:(e,t,o)=>{o.d(t,{A:()=>c}),o(9077);var s=o(33791),i=o(38735),r=o(31846),n=o(58074),a=o(89385),l=o(6052),h=o(15408),_=o(53430),d=o(3550);const u=e=>class extends((0,_.a)(e)){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new h.f(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new d.q(this.inputElement,this._labelController))}};(0,l.SF)("vaadin-text-field",a.k,{moduleId:"vaadin-text-field-styles"});class c extends(u((0,l.cp)((0,r.q)(s.Pu)))){static get is(){return"vaadin-text-field"}static get template(){return s.qy`
|
109
|
-
<style>
|
110
|
-
[part='input-field'] {
|
111
|
-
flex-grow: 0;
|
112
|
-
}
|
113
|
-
</style>
|
114
|
-
|
115
|
-
<div class="vaadin-field-container">
|
116
|
-
<div part="label">
|
117
|
-
<slot name="label"></slot>
|
118
|
-
<span part="required-indicator" aria-hidden="true" on-click="focus"></span>
|
119
|
-
</div>
|
120
|
-
|
121
|
-
<vaadin-input-container
|
122
|
-
part="input-field"
|
123
|
-
readonly="[[readonly]]"
|
124
|
-
disabled="[[disabled]]"
|
125
|
-
invalid="[[invalid]]"
|
126
|
-
theme$="[[_theme]]"
|
127
|
-
>
|
128
|
-
<slot name="prefix" slot="prefix"></slot>
|
129
|
-
<slot name="input"></slot>
|
130
|
-
<slot name="suffix" slot="suffix"></slot>
|
131
|
-
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
|
132
|
-
</vaadin-input-container>
|
133
|
-
|
134
|
-
<div part="helper-text">
|
135
|
-
<slot name="helper"></slot>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
<div part="error-message">
|
139
|
-
<slot name="error-message"></slot>
|
140
|
-
</div>
|
141
|
-
</div>
|
142
|
-
<slot name="tooltip"></slot>
|
143
|
-
`}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new n.I(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,i.X)(c)},70297:(e,t,o)=>{o(37451);var s=o(90500);(0,o(6052).SF)("vaadin-text-field",s.k,{moduleId:"lumo-text-field-styles"}),o(34068)},39542:(e,t,o)=>{o(70297),o(34068)}}]);
|
@@ -1,29 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
5
|
-
*/
|
6
|
-
|
7
|
-
/**
|
8
|
-
* @license
|
9
|
-
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
10
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
11
|
-
*/
|
12
|
-
|
13
|
-
/**
|
14
|
-
* @license
|
15
|
-
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
16
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
17
|
-
*/
|
18
|
-
|
19
|
-
/**
|
20
|
-
* @license
|
21
|
-
* Copyright (c) 2024 Vaadin Ltd.
|
22
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
23
|
-
*/
|
24
|
-
|
25
|
-
/**
|
26
|
-
* @license
|
27
|
-
* Copyright 2018 Google LLC
|
28
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
29
|
-
*/
|