@descope/web-components-ui 1.0.135 → 1.0.148
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +77 -56
- package/src/baseClasses/createBaseClass.js +18 -16
- package/src/baseClasses/createBaseInputClass.js +14 -8
- package/src/baseClasses/createCssVarImageClass.js +27 -23
- package/src/components/boolean-fields/booleanFieldMixin.js +18 -29
- package/src/components/boolean-fields/commonStyles.js +1 -1
- package/src/components/boolean-fields/descope-boolean-field-internal/BooleanFieldInternal.js +46 -51
- package/src/components/boolean-fields/descope-boolean-field-internal/index.js +1 -1
- package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +80 -85
- package/src/components/boolean-fields/descope-checkbox/index.js +2 -2
- package/src/components/boolean-fields/descope-switch-toggle/SwitchToggleClass.js +88 -95
- package/src/components/boolean-fields/descope-switch-toggle/index.js +2 -2
- package/src/components/descope-button/ButtonClass.js +57 -47
- package/src/components/descope-button/clickableMixin.js +10 -0
- package/src/components/descope-combo-box/ComboBoxClass.js +156 -160
- package/src/components/descope-container/ContainerClass.js +32 -42
- package/src/components/descope-date-picker/index.js +9 -14
- package/src/components/descope-divider/DividerClass.js +52 -62
- package/src/components/descope-email-field/EmailFieldClass.js +25 -20
- package/src/components/descope-image/ImageClass.js +21 -24
- package/src/components/descope-link/LinkClass.js +31 -35
- package/src/components/descope-loader-linear/LoaderLinearClass.js +31 -36
- package/src/components/descope-loader-radial/LoaderRadialClass.js +23 -30
- package/src/components/descope-logo/LogoClass.js +5 -1
- package/src/components/descope-new-password/NewPasswordClass.js +63 -81
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +157 -162
- package/src/components/descope-new-password/descope-new-password-internal/componentName.js +1 -1
- package/src/components/descope-new-password/descope-new-password-internal/index.js +3 -3
- package/src/components/descope-new-password/index.js +3 -3
- package/src/components/descope-number-field/NumberFieldClass.js +25 -20
- package/src/components/descope-passcode/PasscodeClass.js +95 -95
- package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +151 -157
- package/src/components/descope-passcode/descope-passcode-internal/helpers.js +7 -8
- package/src/components/descope-passcode/descope-passcode-internal/index.js +2 -2
- package/src/components/descope-passcode/index.js +2 -2
- package/src/components/descope-password/PasswordClass.js +75 -83
- package/src/components/descope-password/passwordDraggableMixin.js +28 -27
- package/src/components/descope-phone-field/CountryCodes.js +1210 -1210
- package/src/components/descope-phone-field/PhoneFieldClass.js +139 -141
- package/src/components/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +157 -173
- package/src/components/descope-phone-field/helpers.js +3 -3
- package/src/components/descope-text/TextClass.js +25 -29
- package/src/components/descope-text-area/TextAreaClass.js +68 -67
- package/src/components/descope-text-field/TextFieldClass.js +42 -37
- package/src/components/descope-text-field/textFieldMappings.js +40 -55
- package/src/components/descope-totp-image/TotpImageClass.js +5 -1
- package/src/components/descope-upload-file/UploadFileClass.js +202 -0
- package/src/components/descope-upload-file/helpers.js +11 -0
- package/src/components/descope-upload-file/index.js +6 -0
- package/src/constants.js +3 -3
- package/src/helpers/componentHelpers.js +68 -74
- package/src/helpers/index.js +17 -16
- package/src/helpers/mixinsHelpers.js +21 -10
- package/src/helpers/themeHelpers/colorsHelpers.js +18 -18
- package/src/helpers/themeHelpers/componentsThemeManager.js +7 -6
- package/src/helpers/themeHelpers/index.js +114 -124
- package/src/helpers/themeHelpers/resetHelpers.js +16 -16
- package/src/index.cjs.js +3 -3
- package/src/index.d.ts +22 -21
- package/src/index.js +5 -4
- package/src/index.umd.js +14 -13
- package/src/mixins/changeMixin.js +18 -17
- package/src/mixins/componentNameValidationMixin.js +19 -19
- package/src/mixins/createProxy.js +33 -33
- package/src/mixins/createStyleMixin/helpers.js +54 -64
- package/src/mixins/createStyleMixin/index.js +155 -141
- package/src/mixins/draggableMixin.js +61 -61
- package/src/mixins/hoverableMixin.js +11 -13
- package/src/mixins/index.js +6 -6
- package/src/mixins/inputEventsDispatchingMixin.js +61 -60
- package/src/mixins/inputValidationMixin.js +153 -148
- package/src/mixins/lifecycleEventsMixin.js +17 -15
- package/src/mixins/normalizeBooleanAttributesMixin.js +31 -23
- package/src/mixins/portalMixin.js +58 -52
- package/src/mixins/proxyInputMixin.js +138 -132
- package/src/theme/components/button.js +86 -81
- package/src/theme/components/checkbox.js +26 -28
- package/src/theme/components/comboBox.js +32 -31
- package/src/theme/components/container.js +99 -89
- package/src/theme/components/divider.js +30 -31
- package/src/theme/components/emailField.js +20 -19
- package/src/theme/components/image.js +3 -3
- package/src/theme/components/index.js +33 -25
- package/src/theme/components/inputWrapper.js +28 -25
- package/src/theme/components/link.js +29 -36
- package/src/theme/components/loader/index.js +3 -3
- package/src/theme/components/loader/loaderLinear.js +34 -34
- package/src/theme/components/loader/loaderRadial.js +40 -34
- package/src/theme/components/logo.js +4 -4
- package/src/theme/components/newPassword.js +14 -13
- package/src/theme/components/numberField.js +20 -19
- package/src/theme/components/passcode.js +20 -22
- package/src/theme/components/password.js +22 -21
- package/src/theme/components/phoneField.js +23 -23
- package/src/theme/components/switchToggle.js +47 -46
- package/src/theme/components/text.js +72 -72
- package/src/theme/components/textArea.js +27 -25
- package/src/theme/components/textField.js +23 -22
- package/src/theme/components/totpImage.js +4 -4
- package/src/theme/components/uploadFile.js +60 -0
- package/src/theme/globals.js +123 -124
- package/src/theme/index.js +1 -1
- package/dist/cjs/index.cjs.js +0 -5924
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/package.json +0 -1
- package/dist/index.d.ts +0 -51
- package/dist/index.esm.js +0 -6606
- package/dist/index.esm.js.map +0 -1
- package/dist/umd/1018.js +0 -577
- package/dist/umd/1018.js.LICENSE.txt +0 -23
- package/dist/umd/2481.js +0 -1
- package/dist/umd/3208.js +0 -2
- package/dist/umd/3208.js.LICENSE.txt +0 -5
- package/dist/umd/3585.js +0 -1
- package/dist/umd/3878.js +0 -1
- package/dist/umd/4201.js +0 -1
- package/dist/umd/422.js +0 -2
- package/dist/umd/422.js.LICENSE.txt +0 -5
- package/dist/umd/4447.js +0 -1
- package/dist/umd/4513.js +0 -1
- package/dist/umd/4803.js +0 -1
- package/dist/umd/541.js +0 -744
- package/dist/umd/541.js.LICENSE.txt +0 -21
- package/dist/umd/5767.js +0 -2
- package/dist/umd/5767.js.LICENSE.txt +0 -15
- package/dist/umd/5806.js +0 -109
- package/dist/umd/5806.js.LICENSE.txt +0 -5
- package/dist/umd/7056.js +0 -48
- package/dist/umd/7056.js.LICENSE.txt +0 -5
- package/dist/umd/7101.js +0 -148
- package/dist/umd/7101.js.LICENSE.txt +0 -11
- package/dist/umd/729.js +0 -1
- package/dist/umd/7824.js +0 -229
- package/dist/umd/7824.js.LICENSE.txt +0 -27
- package/dist/umd/7840.js +0 -356
- package/dist/umd/7840.js.LICENSE.txt +0 -61
- package/dist/umd/8725.js +0 -37
- package/dist/umd/8725.js.LICENSE.txt +0 -11
- package/dist/umd/9211.js +0 -312
- package/dist/umd/9211.js.LICENSE.txt +0 -5
- package/dist/umd/9241.js +0 -1
- package/dist/umd/9314.js +0 -283
- package/dist/umd/9314.js.LICENSE.txt +0 -27
- package/dist/umd/9437.js +0 -19
- package/dist/umd/9437.js.LICENSE.txt +0 -5
- package/dist/umd/9515.js +0 -202
- package/dist/umd/9515.js.LICENSE.txt +0 -11
- package/dist/umd/9789.js +0 -1
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +0 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +0 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +0 -1
- package/dist/umd/descope-button-index-js.js +0 -1
- package/dist/umd/descope-combo-box-index-js.js +0 -1
- package/dist/umd/descope-container-index-js.js +0 -1
- package/dist/umd/descope-date-picker-index-js.js +0 -1
- package/dist/umd/descope-divider-index-js.js +0 -1
- package/dist/umd/descope-email-field-index-js.js +0 -1
- package/dist/umd/descope-image-index-js.js +0 -1
- package/dist/umd/descope-link-index-js.js +0 -1
- package/dist/umd/descope-loader-linear-index-js.js +0 -1
- package/dist/umd/descope-loader-radial-index-js.js +0 -1
- package/dist/umd/descope-logo-index-js.js +0 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +0 -1
- package/dist/umd/descope-new-password-index-js.js +0 -1
- package/dist/umd/descope-number-field-index-js.js +0 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +0 -1
- package/dist/umd/descope-passcode-index-js.js +0 -1
- package/dist/umd/descope-password-index-js.js +0 -1
- package/dist/umd/descope-phone-field-descope-phone-field-internal-index-js.js +0 -1
- package/dist/umd/descope-phone-field-index-js.js +0 -1
- package/dist/umd/descope-text-area-index-js.js +0 -1
- package/dist/umd/descope-text-field-index-js.js +0 -1
- package/dist/umd/descope-text-index-js.js +0 -1
- package/dist/umd/descope-totp-image-index-js.js +0 -1
- package/dist/umd/index.js +0 -1
@@ -1,21 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright (c) 2016 - 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) 2017 The Polymer Project Authors. All rights reserved.
|
16
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
17
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
18
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
19
|
-
Code distributed by Google as part of the polymer project is also
|
20
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
21
|
-
*/
|
package/dist/umd/5767.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see 5767.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[5767],{5767:(t,e,n)=>{n.d(e,{D:()=>c});var o=n(1598),s=n(9109),i=n(602);const c=t=>class extends((0,o.f)((0,i.L)(t))){get _activeKeys(){return[" "]}ready(){super.ready(),(0,s.NH)(this,"down",(t=>{this._shouldSetActive(t)&&this._setActive(!0)})),(0,s.NH)(this,"up",(()=>{this._setActive(!1)}))}disconnectedCallback(){super.disconnectedCallback(),this._setActive(!1)}_shouldSetActive(t){return!this.disabled}_onKeyDown(t){super._onKeyDown(t),this._shouldSetActive(t)&&this._activeKeys.includes(t.key)&&(this._setActive(!0),document.addEventListener("keyup",(t=>{this._activeKeys.includes(t.key)&&this._setActive(!1)}),{once:!0}))}_setActive(t){this.toggleAttribute("active",t)}}},9109:(t,e,n)=>{n.d(e,{BP:()=>Y,NH:()=>M});var o=n(7913);const s=!1,i=t=>t,c="string"==typeof document.head.style.touchAction,u="__polymerGestures",r="__polymerGesturesHandled",a="__polymerGesturesTouchAction",h=["mousedown","mousemove","mouseup","click"],d=[0,1,4,2],f=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(t){return!1}}();function l(t){return h.indexOf(t)>-1}let m=!1;function v(t){if(!l(t)&&"touchend"!==t)return c&&m&&s?{passive:!0}:void 0}!function(){try{const t=Object.defineProperty({},"passive",{get(){m=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}}();const p=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),y={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function w(t){const e=t.type;if(!l(e))return!1;if("mousemove"===e){let e=void 0===t.buttons?1:t.buttons;return t instanceof window.MouseEvent&&!f&&(e=d[t.which]||0),Boolean(1&e)}return 0===(void 0===t.button?0:t.button)}const g={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function b(t,e,n){t.movefn=e,t.upfn=n,document.addEventListener("mousemove",e),document.addEventListener("mouseup",n)}function x(t){document.removeEventListener("mousemove",t.movefn),document.removeEventListener("mouseup",t.upfn),t.movefn=null,t.upfn=null}const k=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:t=>t.composedPath&&t.composedPath()||[],_={},E=[];function A(t){const e=k(t);return e.length>0?e[0]:t.target}function N(t){const e=t.type,n=t.currentTarget[u];if(!n)return;const o=n[e];if(!o)return;if(!t[r]&&(t[r]={},e.startsWith("touch"))){const n=t.changedTouches[0];if("touchstart"===e&&1===t.touches.length&&(g.touch.id=n.identifier),g.touch.id!==n.identifier)return;c||"touchstart"!==e&&"touchmove"!==e||function(t){const e=t.changedTouches[0],n=t.type;if("touchstart"===n)g.touch.x=e.clientX,g.touch.y=e.clientY,g.touch.scrollDecided=!1;else if("touchmove"===n){if(g.touch.scrollDecided)return;g.touch.scrollDecided=!0;const n=function(t){let e="auto";const n=k(t);for(let t,o=0;o<n.length;o++)if(t=n[o],t[a]){e=t[a];break}return e}(t);let o=!1;const s=Math.abs(g.touch.x-e.clientX),i=Math.abs(g.touch.y-e.clientY);t.cancelable&&("none"===n?o=!0:"pan-x"===n?o=i>s:"pan-y"===n&&(o=s>i)),o?t.preventDefault():X("track")}}(t)}const s=t[r];if(!s.skip){for(let e,n=0;n<E.length;n++)e=E[n],o[e.name]&&!s[e.name]&&e.flow&&e.flow.start.indexOf(t.type)>-1&&e.reset&&e.reset();for(let n,i=0;i<E.length;i++)n=E[i],o[n.name]&&!s[n.name]&&(s[n.name]=!0,n[e](t))}}function M(t,e,n){return!!_[e]&&(function(t,e,n){const o=_[e],s=o.deps,i=o.name;let c=t[u];c||(t[u]=c={});for(let e,n,o=0;o<s.length;o++)e=s[o],p&&l(e)&&"click"!==e||(n=c[e],n||(c[e]=n={_count:0}),0===n._count&&t.addEventListener(e,N,v(e)),n[i]=(n[i]||0)+1,n._count=(n._count||0)+1);t.addEventListener(e,n),o.touchAction&&Y(t,o.touchAction)}(t,e,n),!0)}function D(t){E.push(t),t.emits.forEach((e=>{_[e]=t}))}function Y(t,e){c&&t instanceof HTMLElement&&o.YA.run((()=>{t.style.touchAction=e})),t[a]=e}function T(t,e,n){const o=new Event(e,{bubbles:!0,cancelable:!0,composed:!0});if(o.detail=n,i(t).dispatchEvent(o),o.defaultPrevented){const t=n.preventer||n.sourceEvent;t&&t.preventDefault&&t.preventDefault()}}function X(t){const e=function(t){for(let e,n=0;n<E.length;n++){e=E[n];for(let n,o=0;o<e.emits.length;o++)if(n=e.emits[o],n===t)return e}return null}(t);e.info&&(e.info.prevent=!0)}function L(t,e,n,o){e&&T(e,t,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:o,prevent:t=>X(t)})}function P(t,e,n){if(t.prevent)return!1;if(t.started)return!0;const o=Math.abs(t.x-e),s=Math.abs(t.y-n);return o>=5||s>=5}function O(t,e,n){if(!e)return;const o=t.moves[t.moves.length-2],s=t.moves[t.moves.length-1],i=s.x-t.x,c=s.y-t.y;let u,r=0;o&&(u=s.x-o.x,r=s.y-o.y),T(e,"track",{state:t.state,x:n.clientX,y:n.clientY,dx:i,dy:c,ddx:u,ddy:r,sourceEvent:n,hover:()=>function(t,e){let n=document.elementFromPoint(t,e),o=n;for(;o&&o.shadowRoot&&!window.ShadyDOM;){const s=o;if(o=o.shadowRoot.elementFromPoint(t,e),s===o)break;o&&(n=o)}return n}(n.clientX,n.clientY)})}function S(t,e,n){const o=Math.abs(e.clientX-t.x),s=Math.abs(e.clientY-t.y),i=A(n||e);!i||y[i.localName]&&i.hasAttribute("disabled")||(isNaN(o)||isNaN(s)||o<=25&&s<=25||function(t){if("click"===t.type){if(0===t.detail)return!0;const e=A(t);if(!e.nodeType||e.nodeType!==Node.ELEMENT_NODE)return!0;const n=e.getBoundingClientRect(),o=t.pageX,s=t.pageY;return!(o>=n.left&&o<=n.right&&s>=n.top&&s<=n.bottom)}return!1}(e))&&(t.prevent||T(i,"tap",{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:n}))}D({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){x(this.info)},mousedown(t){if(!w(t))return;const e=A(t),n=this;b(this.info,(t=>{w(t)||(L("up",e,t),x(n.info))}),(t=>{w(t)&&L("up",e,t),x(n.info)})),L("down",e,t)},touchstart(t){L("down",A(t),t.changedTouches[0],t)},touchend(t){L("up",A(t),t.changedTouches[0],t)}}),D({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(t){this.moves.length>2&&this.moves.shift(),this.moves.push(t)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,x(this.info)},mousedown(t){if(!w(t))return;const e=A(t),n=this,o=t=>{const o=t.clientX,s=t.clientY;P(n.info,o,s)&&(n.info.state=n.info.started?"mouseup"===t.type?"end":"track":"start","start"===n.info.state&&X("tap"),n.info.addMove({x:o,y:s}),w(t)||(n.info.state="end",x(n.info)),e&&O(n.info,e,t),n.info.started=!0)};b(this.info,o,(t=>{n.info.started&&o(t),x(n.info)})),this.info.x=t.clientX,this.info.y=t.clientY},touchstart(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchmove(t){const e=A(t),n=t.changedTouches[0],o=n.clientX,s=n.clientY;P(this.info,o,s)&&("start"===this.info.state&&X("tap"),this.info.addMove({x:o,y:s}),O(this.info,e,n),this.info.state="track",this.info.started=!0)},touchend(t){const e=A(t),n=t.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),O(this.info,e,n))}}),D({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(t){w(t)&&(this.info.x=t.clientX,this.info.y=t.clientY)},click(t){w(t)&&S(this.info,t)},touchstart(t){const e=t.changedTouches[0];this.info.x=e.clientX,this.info.y=e.clientY},touchend(t){S(this.info,t.changedTouches[0],t)}})}}]);
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright (c) 2021 - 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) 2017 The Polymer Project Authors. All rights reserved.
|
10
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
11
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
12
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
13
|
-
Code distributed by Google as part of the polymer project is also
|
14
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
15
|
-
*/
|
package/dist/umd/5806.js
DELETED
@@ -1,109 +0,0 @@
|
|
1
|
-
/*! For license information please see 5806.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[5806],{5806:(e,t,n)=>{n(3787),n(9098);var i=n(4398),s=n(2279),a=n(5128);const r=a.iv`
|
3
|
-
:host([step-buttons-visible]:not([theme~='align-right'])) ::slotted(input) {
|
4
|
-
text-align: center;
|
5
|
-
}
|
6
|
-
|
7
|
-
[part$='button'][disabled] {
|
8
|
-
opacity: 0.2;
|
9
|
-
}
|
10
|
-
|
11
|
-
:host([step-buttons-visible]) [part='input-field'] {
|
12
|
-
padding: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
[part\$='button'] {
|
16
|
-
cursor: pointer;
|
17
|
-
font-size: var(--lumo-icon-size-s);
|
18
|
-
width: 1.6em;
|
19
|
-
height: 1.6em;
|
20
|
-
}
|
21
|
-
|
22
|
-
[part\$='button']::before {
|
23
|
-
margin-top: 0.3em;
|
24
|
-
}
|
25
|
-
|
26
|
-
[part='decrease-button']::before {
|
27
|
-
content: var(--lumo-icons-minus);
|
28
|
-
}
|
29
|
-
|
30
|
-
[part='increase-button']::before {
|
31
|
-
content: var(--lumo-icons-plus);
|
32
|
-
}
|
33
|
-
|
34
|
-
/* RTL specific styles */
|
35
|
-
:host([dir='rtl']:not([theme~='align-right'])) ::slotted(input) {
|
36
|
-
--_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent, #000 1.25em);
|
37
|
-
}
|
38
|
-
`;(0,a.hC)("vaadin-number-field",[s.J,i.q,r],{moduleId:"lumo-number-field"}),n(3130);var l=n(4241),o=n(1402),u=n(4463),h=n(2743),d=n(3208),p=n(422),c=n(6729);const m=e=>class extends((0,p.j)(e)){static get properties(){return{min:{type:Number},max:{type:Number},step:{type:Number},stepButtonsVisible:{type:Boolean,value:!1,reflectToAttribute:!0}}}static get observers(){return["_stepChanged(step, inputElement)"]}static get delegateProps(){return[...super.delegateProps,"min","max"]}static get constraints(){return[...super.constraints,"min","max","step"]}constructor(){super(),this._setType("number")}get slotStyles(){const e=this.localName;return[`\n ${e} input[type="number"]::-webkit-outer-spin-button,\n ${e} input[type="number"]::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n ${e} input[type="number"] {\n -moz-appearance: textfield;\n }\n\n ${e}[dir='rtl'] input[type="number"]::placeholder {\n direction: rtl;\n }\n\n ${e}[dir='rtl']:not([step-buttons-visible]) input[type="number"]::placeholder {\n text-align: left;\n }\n `]}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new d.b(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new c.v(this.inputElement,this._labelController))}checkValidity(){return this.inputElement?this.inputElement.checkValidity():!this.invalid}_onDecreaseButtonTouchend(e){e.preventDefault(),this._decreaseValue()}_onIncreaseButtonTouchend(e){e.preventDefault(),this._increaseValue()}_onDecreaseButtonClick(){this._decreaseValue()}_onIncreaseButtonClick(){this._increaseValue()}_decreaseValue(){this._incrementValue(-1)}_increaseValue(){this._incrementValue(1)}_incrementValue(e){if(this.disabled||this.readonly)return;const t=this.step||1;let n=parseFloat(this.value);this.value?n<this.min?(e=0,n=this.min):n>this.max&&(e=0,n=this.max):0===this.min&&e<0||0===this.max&&e>0||0===this.max&&0===this.min?(e=0,n=0):(null==this.max||this.max>=0)&&(null==this.min||this.min<=0)?n=0:this.min>0?(n=this.min,this.max<0&&e<0&&(n=this.max),e=0):this.max<0&&(n=this.max,e<0?e=0:this._getIncrement(1,n-t)>this.max?n-=2*t:n-=t);const i=this._getIncrement(e,n);this.value&&0!==e&&!this._incrementIsInsideTheLimits(e,n)||this._setValue(i)}_setValue(e){this.value=this.inputElement.value=String(parseFloat(e)),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}_getIncrement(e,t){let n=this.step||1,i=this.min||0;const s=Math.max(this._getMultiplier(t),this._getMultiplier(n),this._getMultiplier(i));n*=s,i*=s;const a=((t=Math.round(t*s))-i)%n;return e>0?(t-a+n)/s:e<0?(t-(a||n))/s:t/s}_getDecimalCount(e){const t=String(e),n=t.indexOf(".");return-1===n?1:t.length-n-1}_getMultiplier(e){if(!isNaN(e))return 10**this._getDecimalCount(e)}_incrementIsInsideTheLimits(e,t){return e<0?null==this.min||this._getIncrement(e,t)>=this.min:e>0?null==this.max||this._getIncrement(e,t)<=this.max:this._getIncrement(e,t)<=this.max&&this._getIncrement(e,t)>=this.min}_isButtonEnabled(e){const t=e*(this.step||1),n=parseFloat(this.value);return!this.value||!this.disabled&&this._incrementIsInsideTheLimits(t,n)}_stepChanged(e,t){t&&(t.step=e||"any")}_valueChanged(e,t){e&&isNaN(parseFloat(e))?this.value="":"string"!=typeof this.value&&(this.value=String(this.value)),super._valueChanged(this.value,t)}_onKeyDown(e){"ArrowUp"===e.key?(e.preventDefault(),this._increaseValue()):"ArrowDown"===e.key&&(e.preventDefault(),this._decreaseValue()),super._onKeyDown(e)}_setHasInputValue(e){const t=e.composedPath()[0];this._hasInputValue=t.value.length>0||t.validity.badInput}},b=n(9897).iv`
|
39
|
-
:host([readonly]) [part$='button'] {
|
40
|
-
pointer-events: none;
|
41
|
-
}
|
42
|
-
|
43
|
-
[part='decrease-button']::before {
|
44
|
-
content: '\\2212';
|
45
|
-
}
|
46
|
-
|
47
|
-
[part='increase-button']::before {
|
48
|
-
content: '+';
|
49
|
-
}
|
50
|
-
|
51
|
-
[part='decrease-button'],
|
52
|
-
[part='increase-button'] {
|
53
|
-
-webkit-user-select: none;
|
54
|
-
-moz-user-select: none;
|
55
|
-
user-select: none;
|
56
|
-
}
|
57
|
-
|
58
|
-
:host([dir='rtl']) [part='input-field'] {
|
59
|
-
direction: ltr;
|
60
|
-
}
|
61
|
-
`;(0,a.hC)("vaadin-number-field",[h.J,b],{moduleId:"vaadin-number-field-styles"});class v extends(m((0,a.Tb)((0,o.S)(l.H3)))){static get is(){return"vaadin-number-field"}static get template(){return l.dy`
|
62
|
-
<div class="vaadin-field-container">
|
63
|
-
<div part="label">
|
64
|
-
<slot name="label"></slot>
|
65
|
-
<span part="required-indicator" aria-hidden="true" on-click="focus"></span>
|
66
|
-
</div>
|
67
|
-
|
68
|
-
<vaadin-input-container
|
69
|
-
part="input-field"
|
70
|
-
readonly="[[readonly]]"
|
71
|
-
disabled="[[disabled]]"
|
72
|
-
invalid="[[invalid]]"
|
73
|
-
theme$="[[_theme]]"
|
74
|
-
>
|
75
|
-
<div
|
76
|
-
disabled$="[[!_isButtonEnabled(-1, value, min, max, step)]]"
|
77
|
-
part="decrease-button"
|
78
|
-
on-click="_onDecreaseButtonClick"
|
79
|
-
on-touchend="_onDecreaseButtonTouchend"
|
80
|
-
hidden$="[[!stepButtonsVisible]]"
|
81
|
-
aria-hidden="true"
|
82
|
-
slot="prefix"
|
83
|
-
></div>
|
84
|
-
<slot name="prefix" slot="prefix"></slot>
|
85
|
-
<slot name="input"></slot>
|
86
|
-
<slot name="suffix" slot="suffix"></slot>
|
87
|
-
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
|
88
|
-
<div
|
89
|
-
disabled$="[[!_isButtonEnabled(1, value, min, max, step)]]"
|
90
|
-
part="increase-button"
|
91
|
-
on-click="_onIncreaseButtonClick"
|
92
|
-
on-touchend="_onIncreaseButtonTouchend"
|
93
|
-
hidden$="[[!stepButtonsVisible]]"
|
94
|
-
aria-hidden="true"
|
95
|
-
slot="suffix"
|
96
|
-
></div>
|
97
|
-
</vaadin-input-container>
|
98
|
-
|
99
|
-
<div part="helper-text">
|
100
|
-
<slot name="helper"></slot>
|
101
|
-
</div>
|
102
|
-
|
103
|
-
<div part="error-message">
|
104
|
-
<slot name="error-message"></slot>
|
105
|
-
</div>
|
106
|
-
</div>
|
107
|
-
|
108
|
-
<slot name="tooltip"></slot>
|
109
|
-
`}ready(){super.ready(),this._tooltipController=new u.f(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top")}}customElements.define(v.is,v)}}]);
|
package/dist/umd/7056.js
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
/*! For license information please see 7056.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[7056],{7056:(e,t,s)=>{s(8725);var i=s(4750),a=s(5128);const o=a.iv`
|
3
|
-
:host {
|
4
|
-
position: absolute;
|
5
|
-
right: 0;
|
6
|
-
top: 0;
|
7
|
-
margin: 0;
|
8
|
-
padding: 0;
|
9
|
-
width: 100%;
|
10
|
-
height: 100%;
|
11
|
-
min-width: auto;
|
12
|
-
background: transparent;
|
13
|
-
outline: none;
|
14
|
-
}
|
15
|
-
`;(0,a.hC)("vaadin-password-field-button",[i.L,o],{moduleId:"lumo-password-field-button"}),s(1735),s(9098),s(9849);var r=s(2279);const l=a.iv`
|
16
|
-
[part='reveal-button']::before {
|
17
|
-
content: var(--lumo-icons-eye);
|
18
|
-
}
|
19
|
-
|
20
|
-
:host([password-visible]) [part='reveal-button']::before {
|
21
|
-
content: var(--lumo-icons-eye-disabled);
|
22
|
-
}
|
23
|
-
|
24
|
-
/* Make it easy to hide the button across the whole app */
|
25
|
-
[part='reveal-button'] {
|
26
|
-
position: relative;
|
27
|
-
display: var(--lumo-password-field-reveal-button-display, block);
|
28
|
-
}
|
29
|
-
|
30
|
-
[part='reveal-button'][hidden] {
|
31
|
-
display: none !important;
|
32
|
-
}
|
33
|
-
`;(0,a.hC)("vaadin-password-field",[r.J,l],{moduleId:"lumo-password-field"});var n=s(4241),d=s(7078);class u extends d.z{static get is(){return"vaadin-password-field-button"}static get template(){return n.dy`
|
34
|
-
<style>
|
35
|
-
:host {
|
36
|
-
display: block;
|
37
|
-
}
|
38
|
-
|
39
|
-
:host([hidden]) {
|
40
|
-
display: none !important;
|
41
|
-
}
|
42
|
-
</style>
|
43
|
-
<slot name="tooltip"></slot>
|
44
|
-
`}}customElements.define(u.is,u);var h=s(1121),v=s(4271),p=s(8005);const _=h.d`
|
45
|
-
<div part="reveal-button" slot="suffix">
|
46
|
-
<slot name="reveal"></slot>
|
47
|
-
</div>
|
48
|
-
`;let b;class c extends p.n{static get is(){return"vaadin-password-field"}static get template(){if(!b){b=super.template.cloneNode(!0);const e=_.content.querySelector('[part="reveal-button"]');b.content.querySelector('[part="input-field"]').appendChild(e)}return b}static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n.*)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonTouchend=this._onRevealButtonTouchend.bind(this)}get slotStyles(){const e=this.localName;return[...super.slotStyles,`\n ${e} [slot="input"]::-ms-reveal {\n display: none;\n }\n `]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new v.n(this,"reveal","vaadin-password-field-button",{initializer:e=>{e.disabled=this.disabled,e.addEventListener("click",this.__boundRevealButtonClick),e.addEventListener("touchend",this.__boundRevealButtonTouchend)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_shouldSetFocus(e){return e.target===this.inputElement||e.target===this._revealNode}_shouldRemoveFocus(e){return!(e.relatedTarget===this._revealNode||e.relatedTarget===this.inputElement&&e.target===this._revealNode)}_setFocused(e){if(super._setFocused(e),e){const e=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!e)}else this._setPasswordVisible(!1)}__updateAriaLabel(e){e.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",e.reveal)}__i18nChanged(e){this.__updateAriaLabel(e.base)}_revealButtonHiddenChanged(e){this._toggleRevealHidden(e)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonTouchend(e){e.preventDefault(),this._togglePasswordVisibility(),this.inputElement.focus()}_toggleRevealHidden(e){this._revealNode&&(e?(this._revealPart.setAttribute("hidden",""),this._revealNode.setAttribute("tabindex","-1"),this._revealNode.setAttribute("aria-hidden","true")):(this._revealPart.removeAttribute("hidden"),this._revealNode.setAttribute("tabindex","0"),this._revealNode.removeAttribute("aria-hidden")))}_updateToggleState(e){this._revealNode&&this._revealNode.setAttribute("aria-pressed",e?"true":"false")}_passwordVisibleChanged(e){this._setType(e?"text":"password"),this._updateToggleState(e)}_disabledChanged(e,t){super._disabledChanged(e,t),this._revealNode&&(this._revealNode.disabled=e)}}customElements.define(c.is,c)}}]);
|
package/dist/umd/7101.js
DELETED
@@ -1,148 +0,0 @@
|
|
1
|
-
/*! For license information please see 7101.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[7101],{7101:(t,e,i)=>{i(3787),i(1195),i(9098),i(4173);var a=i(2279),n=i(5128);const r=n.iv`
|
3
|
-
[part='input-field'],
|
4
|
-
[part='input-field'] ::slotted(textarea) {
|
5
|
-
height: auto;
|
6
|
-
box-sizing: border-box;
|
7
|
-
}
|
8
|
-
|
9
|
-
[part='input-field'] {
|
10
|
-
/* Equal to the implicit padding in vaadin-text-field */
|
11
|
-
padding-top: calc((var(--lumo-text-field-size) - 1em * var(--lumo-line-height-s)) / 2);
|
12
|
-
padding-bottom: calc((var(--lumo-text-field-size) - 1em * var(--lumo-line-height-s)) / 2);
|
13
|
-
transition: background-color 0.1s;
|
14
|
-
line-height: var(--lumo-line-height-s);
|
15
|
-
}
|
16
|
-
|
17
|
-
:host(:not([readonly])) [part='input-field']::after {
|
18
|
-
display: none;
|
19
|
-
}
|
20
|
-
|
21
|
-
:host([readonly]) [part='input-field'] {
|
22
|
-
border: 1px dashed var(--lumo-contrast-30pct);
|
23
|
-
}
|
24
|
-
|
25
|
-
:host([readonly]) [part='input-field']::after {
|
26
|
-
border: none;
|
27
|
-
}
|
28
|
-
|
29
|
-
:host(:hover:not([readonly]):not([focused]):not([invalid])) [part='input-field'] {
|
30
|
-
background-color: var(--lumo-contrast-20pct);
|
31
|
-
}
|
32
|
-
|
33
|
-
@media (pointer: coarse) {
|
34
|
-
:host(:hover:not([readonly]):not([focused]):not([invalid])) [part='input-field'] {
|
35
|
-
background-color: var(--lumo-contrast-10pct);
|
36
|
-
}
|
37
|
-
|
38
|
-
:host(:active:not([readonly]):not([focused])) [part='input-field'] {
|
39
|
-
background-color: var(--lumo-contrast-20pct);
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
[part='input-field'] ::slotted(textarea) {
|
44
|
-
line-height: inherit;
|
45
|
-
--_lumo-text-field-overflow-mask-image: none;
|
46
|
-
}
|
47
|
-
|
48
|
-
/* Vertically align icon prefix/suffix with the first line of text */
|
49
|
-
[part='input-field'] ::slotted(vaadin-icon) {
|
50
|
-
margin-top: calc((var(--lumo-icon-size-m) - 1em * var(--lumo-line-height-s)) / -2);
|
51
|
-
}
|
52
|
-
`;(0,n.hC)("vaadin-text-area",[a.J,r],{moduleId:"lumo-text-area"}),i(3130);var o=i(4241),s=i(1402),l=i(4463),d=i(2743),p=i(1014);const h=new ResizeObserver((t=>{setTimeout((()=>{t.forEach((t=>{t.target.resizables?t.target.resizables.forEach((e=>{e._onResize(t.contentRect)})):t.target._onResize(t.contentRect)}))}))})),u=(0,p.o)((t=>class extends t{get _observeParent(){return!1}connectedCallback(){if(super.connectedCallback(),h.observe(this),this._observeParent){const t=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;t.resizables||(t.resizables=new Set,h.observe(t)),t.resizables.add(this),this.__parent=t}}disconnectedCallback(){super.disconnectedCallback(),h.unobserve(this);const t=this.__parent;if(this._observeParent&&t){const e=t.resizables;e&&(e.delete(this),0===e.size&&h.unobserve(t)),this.__parent=null}}_onResize(t){}}));var c=i(422),m=i(6729),v=i(4271);class g extends v.n{constructor(t,e){super(t,"textarea","textarea",{initializer:(t,i)=>{const a=i.getAttribute("value");a&&(t.value=a);const n=i.getAttribute("name");n&&t.setAttribute("name",n),t.id=this.defaultId,"function"==typeof e&&e(t)},useUniqueId:!0})}}const f=t=>class extends(u((0,c.j)(t))){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"]}get clearElement(){return this.$.clearButton}_onResize(){this.__scrollPositionUpdated()}_onScroll(){this.__scrollPositionUpdated()}ready(){super.ready(),this.addController(new g(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new m.v(this.inputElement,this._labelController)),this.addEventListener("animationend",this._onAnimationEnd),this._inputField=this.shadowRoot.querySelector("[part=input-field]"),this._inputField.addEventListener("wheel",(t=>{const e=this._inputField.scrollTop;this._inputField.scrollTop+=t.deltaY,e!==this._inputField.scrollTop&&(t.preventDefault(),this.__scrollPositionUpdated())})),this._updateHeight(),this.__scrollPositionUpdated()}__scrollPositionUpdated(){this._inputField.style.setProperty("--_text-area-vertical-scroll-position","0px"),this._inputField.style.setProperty("--_text-area-vertical-scroll-position",`${this._inputField.scrollTop}px`)}_onAnimationEnd(t){0===t.animationName.indexOf("vaadin-text-area-appear")&&this._updateHeight()}_valueChanged(t,e){super._valueChanged(t,e),this._updateHeight()}_updateHeight(){const t=this.inputElement,e=this._inputField;if(!t||!e)return;const i=e.scrollTop,a=this.value?this.value.length:0;if(this._oldValueLength>=a){const i=getComputedStyle(e).height,a=getComputedStyle(t).width;e.style.display="block",e.style.height=i,t.style.maxWidth=a,t.style.height="auto"}this._oldValueLength=a;const n=t.scrollHeight;n>t.clientHeight&&(t.style.height=`${n}px`),t.style.removeProperty("max-width"),e.style.removeProperty("display"),e.style.removeProperty("height"),e.scrollTop=i}checkValidity(){if(!super.checkValidity())return!1;if(!this.pattern||!this.inputElement.value)return!0;try{const t=this.inputElement.value.match(this.pattern);return!!t&&t[0]===t.input}catch(t){return!0}}},x=i(9897).iv`
|
53
|
-
:host {
|
54
|
-
animation: 1ms vaadin-text-area-appear;
|
55
|
-
}
|
56
|
-
|
57
|
-
.vaadin-text-area-container {
|
58
|
-
flex: auto;
|
59
|
-
}
|
60
|
-
|
61
|
-
/* The label, helper text and the error message should neither grow nor shrink. */
|
62
|
-
[part='label'],
|
63
|
-
[part='helper-text'],
|
64
|
-
[part='error-message'] {
|
65
|
-
flex: none;
|
66
|
-
}
|
67
|
-
|
68
|
-
[part='input-field'] {
|
69
|
-
flex: auto;
|
70
|
-
overflow: auto;
|
71
|
-
-webkit-overflow-scrolling: touch;
|
72
|
-
}
|
73
|
-
|
74
|
-
::slotted(textarea) {
|
75
|
-
-webkit-appearance: none;
|
76
|
-
-moz-appearance: none;
|
77
|
-
flex: auto;
|
78
|
-
overflow: hidden;
|
79
|
-
width: 100%;
|
80
|
-
height: 100%;
|
81
|
-
outline: none;
|
82
|
-
resize: none;
|
83
|
-
margin: 0;
|
84
|
-
padding: 0 0.25em;
|
85
|
-
border: 0;
|
86
|
-
border-radius: 0;
|
87
|
-
min-width: 0;
|
88
|
-
font: inherit;
|
89
|
-
font-size: 1em;
|
90
|
-
line-height: normal;
|
91
|
-
color: inherit;
|
92
|
-
background-color: transparent;
|
93
|
-
/* Disable default invalid style in Firefox */
|
94
|
-
box-shadow: none;
|
95
|
-
}
|
96
|
-
|
97
|
-
/* Override styles from <vaadin-input-container> */
|
98
|
-
[part='input-field'] ::slotted(textarea) {
|
99
|
-
align-self: stretch;
|
100
|
-
white-space: pre-wrap;
|
101
|
-
}
|
102
|
-
|
103
|
-
[part='input-field'] ::slotted(:not(textarea)) {
|
104
|
-
align-self: flex-start;
|
105
|
-
}
|
106
|
-
|
107
|
-
/* Workaround https://bugzilla.mozilla.org/show_bug.cgi?id=1739079 */
|
108
|
-
:host([disabled]) ::slotted(textarea) {
|
109
|
-
user-select: none;
|
110
|
-
}
|
111
|
-
|
112
|
-
@keyframes vaadin-text-area-appear {
|
113
|
-
to {
|
114
|
-
opacity: 1;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
`;(0,n.hC)("vaadin-text-area",[d.J,x],{moduleId:"vaadin-text-area-styles"});class b extends(f((0,n.Tb)((0,s.S)(o.H3)))){static get is(){return"vaadin-text-area"}static get template(){return o.dy`
|
118
|
-
<div class="vaadin-text-area-container">
|
119
|
-
<div part="label">
|
120
|
-
<slot name="label"></slot>
|
121
|
-
<span part="required-indicator" aria-hidden="true"></span>
|
122
|
-
</div>
|
123
|
-
|
124
|
-
<vaadin-input-container
|
125
|
-
part="input-field"
|
126
|
-
readonly="[[readonly]]"
|
127
|
-
disabled="[[disabled]]"
|
128
|
-
invalid="[[invalid]]"
|
129
|
-
theme$="[[_theme]]"
|
130
|
-
on-scroll="_onScroll"
|
131
|
-
>
|
132
|
-
<slot name="prefix" slot="prefix"></slot>
|
133
|
-
<slot name="textarea"></slot>
|
134
|
-
<slot name="suffix" slot="suffix"></slot>
|
135
|
-
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
|
136
|
-
</vaadin-input-container>
|
137
|
-
|
138
|
-
<div part="helper-text">
|
139
|
-
<slot name="helper"></slot>
|
140
|
-
</div>
|
141
|
-
|
142
|
-
<div part="error-message">
|
143
|
-
<slot name="error-message"></slot>
|
144
|
-
</div>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
<slot name="tooltip"></slot>
|
148
|
-
`}ready(){super.ready(),this._tooltipController=new l.f(this),this._tooltipController.setPosition("top"),this.addController(this._tooltipController)}}customElements.define(b.is,b)}}]);
|
@@ -1,11 +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
|
-
*/
|
package/dist/umd/729.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[729],{729:(e,s,c)=>{c(4513),c(7078)}}]);
|