@descope/web-components-ui 1.0.295 → 1.0.297
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +586 -359
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +569 -341
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1224.js +1 -1
- package/dist/umd/1438.js +16 -9
- package/dist/umd/1438.js.LICENSE.txt +12 -0
- package/dist/umd/1612.js +338 -0
- package/dist/umd/1621.js +2 -2
- package/dist/umd/2362.js +129 -0
- package/dist/umd/3830.js +2 -0
- package/dist/umd/{3003.js.LICENSE.txt → 3830.js.LICENSE.txt} +12 -0
- package/dist/umd/3951.js +116 -4
- package/dist/umd/3951.js.LICENSE.txt +18 -0
- package/dist/umd/{9211.js → 4024.js} +5 -5
- package/dist/umd/{2775.js → 4028.js} +10 -10
- package/dist/umd/4028.js.LICENSE.txt +23 -0
- package/dist/umd/4052.js +338 -0
- package/dist/umd/4392.js +1 -0
- package/dist/umd/4569.js +1 -0
- package/dist/umd/4746.js +124 -0
- package/dist/umd/{6091.js.LICENSE.txt → 4746.js.LICENSE.txt} +6 -0
- package/dist/umd/4978.js +1 -0
- package/dist/umd/{4595.js → 5135.js} +93 -5
- package/dist/umd/{2775.js.LICENSE.txt → 5135.js.LICENSE.txt} +2 -2
- package/dist/umd/5517.js +1 -1
- package/dist/umd/5806.js +4 -4
- package/dist/umd/5910.js +1 -1
- package/dist/umd/63.js +147 -1
- package/dist/umd/63.js.LICENSE.txt +13 -1
- package/dist/umd/6594.js +2 -0
- package/dist/umd/{1940.js.LICENSE.txt → 6594.js.LICENSE.txt} +1 -1
- package/dist/umd/6770.js +4 -4
- package/dist/umd/7056.js +376 -5
- package/dist/umd/7056.js.LICENSE.txt +6 -0
- package/dist/umd/7164.js +148 -0
- package/dist/umd/{2106.js.LICENSE.txt → 7164.js.LICENSE.txt} +1 -7
- package/dist/umd/7531.js +2 -2
- package/dist/umd/7911.js +4 -4
- package/dist/umd/7911.js.LICENSE.txt +6 -0
- package/dist/umd/{3092.js → 8191.js} +40 -5
- package/dist/umd/8866.js +97 -5
- package/dist/umd/8866.js.LICENSE.txt +12 -0
- package/dist/umd/9092.js +440 -12
- package/dist/umd/9092.js.LICENSE.txt +6 -0
- package/dist/umd/{1940.js → 9314.js} +126 -7
- package/dist/umd/9314.js.LICENSE.txt +11 -0
- package/dist/umd/9423.js +608 -0
- package/dist/umd/9423.js.LICENSE.txt +23 -0
- package/dist/umd/9562.js +338 -0
- package/dist/umd/9562.js.LICENSE.txt +11 -0
- package/dist/umd/DescopeDev.js +1 -0
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +2 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +2 -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-multi-selection-group-internal-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-internal-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-avatar-index-js.js +1 -1
- package/dist/umd/descope-badge-index-js.js +1 -1
- package/dist/umd/descope-button-index-js.js +338 -1
- package/dist/umd/descope-button-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-combo-box-index-js.js +113 -1
- package/dist/umd/descope-container-index-js.js +1 -1
- package/dist/umd/descope-date-picker-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +54 -1
- package/dist/umd/descope-email-field-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +90 -1
- package/dist/umd/{1735.js.LICENSE.txt → descope-grid-descope-grid-custom-column-index-js.js.LICENSE.txt} +2 -2
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +2 -1
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +90 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-image-index-js.js +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-loader-linear-index-js.js +1 -1
- package/dist/umd/descope-loader-radial-index-js.js +1 -1
- package/dist/umd/descope-logo-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-descope-new-password-internal-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-notp-image-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 +37 -1
- package/dist/umd/descope-passcode-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-policy-validation-index-js.js +1 -1
- package/dist/umd/descope-recaptcha-index-js.js +1 -1
- package/dist/umd/descope-text-area-index-js.js +1 -1
- package/dist/umd/descope-text-field-index-js.js +37 -1
- package/dist/umd/descope-text-field-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-totp-image-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-descope-mapping-item-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -126
- package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-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 +37 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/dist/umd/text-components-descope-markdown-content-index-js.js +1 -0
- package/dist/umd/text-components-descope-text-index-js.js +1 -0
- package/package.json +4 -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-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 +3 -2
- 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/components/text-components/createBaseTextClass.js +26 -0
- package/src/components/text-components/descope-markdown-content/MarkdownContentClass.js +98 -0
- package/src/components/text-components/descope-markdown-content/helpers.js +41 -0
- package/src/components/text-components/descope-markdown-content/index.js +5 -0
- package/src/components/text-components/descope-text/TextClass.js +34 -0
- package/src/components/text-components/hideWhenEmptyMixin.js +17 -0
- package/src/dev/index.js +1 -0
- package/src/index.cjs.js +2 -1
- package/src/index.d.ts +2 -1
- package/src/index.js +2 -1
- package/src/mixins/normalizeBooleanAttributesMixin.js +1 -1
- package/src/theme/components/index.js +2 -0
- package/src/theme/components/markdownContent.js +84 -0
- package/src/theme/components/text.js +1 -1
- package/dist/umd/1000.js +0 -1
- package/dist/umd/1037.js +0 -2
- package/dist/umd/1721.js +0 -1
- package/dist/umd/1735.js +0 -73
- package/dist/umd/2066.js +0 -2
- package/dist/umd/2106.js +0 -73
- package/dist/umd/2269.js +0 -2
- package/dist/umd/2269.js.LICENSE.txt +0 -5
- package/dist/umd/2481.js +0 -1
- package/dist/umd/262.js +0 -2
- package/dist/umd/262.js.LICENSE.txt +0 -5
- package/dist/umd/3003.js +0 -2
- package/dist/umd/3208.js +0 -2
- package/dist/umd/3208.js.LICENSE.txt +0 -5
- package/dist/umd/322.js +0 -90
- package/dist/umd/322.js.LICENSE.txt +0 -5
- package/dist/umd/3249.js +0 -2
- package/dist/umd/3249.js.LICENSE.txt +0 -5
- package/dist/umd/3373.js +0 -2
- package/dist/umd/3373.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/4226.js +0 -114
- package/dist/umd/4447.js +0 -1
- package/dist/umd/4567.js +0 -1
- package/dist/umd/4577.js +0 -1
- package/dist/umd/4595.js.LICENSE.txt +0 -11
- package/dist/umd/4803.js +0 -1
- package/dist/umd/4905.js +0 -2
- package/dist/umd/4905.js.LICENSE.txt +0 -5
- package/dist/umd/4946.js +0 -2
- package/dist/umd/4946.js.LICENSE.txt +0 -5
- package/dist/umd/6091.js +0 -124
- package/dist/umd/6606.js +0 -17
- package/dist/umd/6687.js +0 -9
- package/dist/umd/6687.js.LICENSE.txt +0 -5
- package/dist/umd/6977.js +0 -2
- package/dist/umd/6977.js.LICENSE.txt +0 -5
- package/dist/umd/7044.js +0 -1
- package/dist/umd/7583.js +0 -113
- package/dist/umd/8623.js +0 -2
- package/dist/umd/8623.js.LICENSE.txt +0 -5
- package/dist/umd/8725.js +0 -37
- package/dist/umd/9189.js +0 -2
- package/dist/umd/9189.js.LICENSE.txt +0 -5
- package/dist/umd/9211.js.LICENSE.txt +0 -5
- package/dist/umd/9214.js +0 -1
- package/dist/umd/9320.js +0 -2
- package/dist/umd/9320.js.LICENSE.txt +0 -5
- package/dist/umd/9383.js +0 -94
- package/dist/umd/9434.js +0 -1
- package/dist/umd/9437.js +0 -19
- package/dist/umd/9437.js.LICENSE.txt +0 -5
- package/dist/umd/9680.js +0 -2
- package/dist/umd/9680.js.LICENSE.txt +0 -5
- package/dist/umd/9789.js +0 -1
- package/dist/umd/descope-text-index-js.js +0 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.LICENSE.txt +0 -5
- package/src/components/descope-text/TextClass.js +0 -67
- /package/dist/umd/{3092.js.LICENSE.txt → 1612.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6606.js.LICENSE.txt → 2362.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4226.js.LICENSE.txt → 4024.js.LICENSE.txt} +0 -0
- /package/dist/umd/{8725.js.LICENSE.txt → 4052.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9383.js.LICENSE.txt → 8191.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1037.js.LICENSE.txt → boolean-fields-descope-checkbox-index-js.js.LICENSE.txt} +0 -0
- /package/dist/umd/{2066.js.LICENSE.txt → boolean-fields-descope-switch-toggle-index-js.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7583.js.LICENSE.txt → descope-combo-box-index-js.js.LICENSE.txt} +0 -0
- /package/src/components/{descope-text → text-components/descope-text}/index.js +0 -0
package/dist/umd/6606.js
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
/*! For license information please see 6606.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[6606],{1360:(t,e,s)=>{s.d(e,{W:()=>n});var i=s(1014),o=s(3550);const n=(0,i.o)((t=>class extends t{get _keyboardActive(){return(0,o.LQ)()}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}}))},9229:(t,e,s)=>{s.d(e,{n:()=>d});var i=s(3726);class o{constructor(t,e){this.slot=t,this.callback=e,this._storedNodes=[],this._connected=!1,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){this.slot.addEventListener("slotchange",this._boundSchedule),this._connected=!0}disconnect(){this.slot.removeEventListener("slotchange",this._boundSchedule),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,queueMicrotask((()=>{this.flush()})))}flush(){this._connected&&(this._scheduled=!1,this._processNodes())}_processNodes(){const t=this.slot.assignedNodes({flatten:!0});let e=[];const s=[],i=[];t.length&&(e=t.filter((t=>!this._storedNodes.includes(t)))),this._storedNodes.length&&this._storedNodes.forEach(((e,o)=>{const n=t.indexOf(e);-1===n?s.push(e):n!==o&&i.push(e)})),(e.length||s.length||i.length)&&this.callback({addedNodes:e,movedNodes:i,removedNodes:s}),this._storedNodes=t}}var n=s(3971);class d extends EventTarget{static generateId(t,e){return`${e||"default"}-${t.localName}-${(0,n.l)()}`}constructor(t,e,s,i={}){super();const{initializer:o,multiple:n,observe:d,useUniqueId:h}=i;this.host=t,this.slotName=e,this.tagName=s,this.observe="boolean"!=typeof d||d,this.multiple="boolean"==typeof n&&n,this.slotInitializer=o,n&&(this.nodes=[]),h&&(this.defaultId=this.constructor.generateId(t,e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(0===t.length){const t=this.attachDefaultNode();t&&(this.nodes=[t],this.initNode(t))}else this.nodes=t,t.forEach((t=>{this.initAddedNode(t)}))}attachDefaultNode(){const{host:t,slotName:e,tagName:s}=this;let i=this.defaultNode;return!i&&s&&(i=document.createElement(s),i instanceof Element&&(""!==e&&i.setAttribute("slot",e),this.node=i,this.defaultNode=i)),i&&t.appendChild(i),i}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter((e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&""===t))}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=""===t?"slot:not([name])":`slot[name=${t}]`,s=this.host.shadowRoot.querySelector(e);this.__slotObserver=new o(s,(({addedNodes:t,removedNodes:e})=>{const s=this.multiple?this.nodes:[this.node],o=t.filter((t=>!(0,i.eC)(t)&&!s.includes(t)));e.length&&(this.nodes=s.filter((t=>!e.includes(t))),e.forEach((t=>{this.teardownNode(t)}))),o&&o.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...s,...o].filter((t=>t!==this.defaultNode)),o.forEach((t=>{this.initAddedNode(t)}))):(this.node&&this.node.remove(),this.node=o[0],this.initAddedNode(this.node)))}))}}},4463:(t,e,s)=>{s.d(e,{f:()=>o});var i=s(9229);class o extends i.n{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,void 0!==this.ariaTarget&&(t.ariaTarget=this.ariaTarget),void 0!==this.context&&(t.context=this.context),void 0!==this.manual&&(t.manual=this.manual),void 0!==this.opened&&(t.opened=this.opened),void 0!==this.position&&(t._position=this.position),void 0!==this.shouldShow&&(t.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(t){this.ariaTarget=t;const e=this.node;e&&(e.ariaTarget=t)}setContext(t){this.context=t;const e=this.node;e&&(e.context=t)}setManual(t){this.manual=t;const e=this.node;e&&(e.manual=t)}setOpened(t){this.opened=t;const e=this.node;e&&(e.opened=t)}setPosition(t){this.position=t;const e=this.node;e&&(e._position=t)}setShouldShow(t){this.shouldShow=t;const e=this.node;e&&(e.shouldShow=t)}setTarget(t){this.target=t;const e=this.node;e&&(e.target=t)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}},3971:(t,e,s)=>{s.d(e,{l:()=>o});let i=0;function o(){return i++}},9098:(t,e,s)=>{s(4407);var i=s(6570),o=s(2463);const n=i.iv`
|
3
|
-
:host {
|
4
|
-
--lumo-size-xs: 1.625rem;
|
5
|
-
--lumo-size-s: 1.875rem;
|
6
|
-
--lumo-size-m: 2.25rem;
|
7
|
-
--lumo-size-l: 2.75rem;
|
8
|
-
--lumo-size-xl: 3.5rem;
|
9
|
-
|
10
|
-
/* Icons */
|
11
|
-
--lumo-icon-size-s: 1.25em;
|
12
|
-
--lumo-icon-size-m: 1.5em;
|
13
|
-
--lumo-icon-size-l: 2.25em;
|
14
|
-
/* For backwards compatibility */
|
15
|
-
--lumo-icon-size: var(--lumo-icon-size-m);
|
16
|
-
}
|
17
|
-
`;(0,o.K)("sizing-props",n)}}]);
|
package/dist/umd/6687.js
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
/*! For license information please see 6687.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[6687],{3423:(a,e,d)=>{d.d(e,{a:()=>n});var t=d(4241),r=d(2807),i=d(1914),v=d(262),o=d(6570),s=d(4457),l=d(6196);(0,o.hC)("vaadin-overlay",l.r,{moduleId:"vaadin-overlay-styles"});class n extends((0,s.F)((0,o.Tb)((0,i.U)(t.H3)))){static get template(){return t.dy`
|
3
|
-
<div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
|
4
|
-
<div part="overlay" id="overlay" tabindex="0">
|
5
|
-
<div part="content" id="content">
|
6
|
-
<slot></slot>
|
7
|
-
</div>
|
8
|
-
</div>
|
9
|
-
`}static get is(){return"vaadin-overlay"}ready(){super.ready(),(0,v.k)(this)}}(0,r.M)(n)},6687:(a,e,d)=>{var t=d(510);(0,d(6570).hC)("vaadin-overlay",t.I,{moduleId:"lumo-vaadin-overlay"}),d(3423)}}]);
|
package/dist/umd/6977.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see 6977.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[6977],{6977:(e,s,p)=>{p.d(s,{VJ:()=>o,hN:()=>t});var c=p(3692);const{D:i}=c._$LH,o={HTML:1,SVG:2},t=(e,s)=>void 0===s?void 0!==e?._$litType$:e?._$litType$===s}}]);
|
package/dist/umd/7044.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[7044],{7044:(e,t,s)=>{s.d(t,{C:()=>a});var r=s(322);class a extends r.n{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(e,t,s){const r=s.item[this.path]||"",a=Array.isArray(r)?r.join(", "):r;this.__setTextContent(e,a),e.title=a}_defaultHeaderRenderer(e,t){this.sortable?super._defaultHeaderRenderer(e,t):this.__setTextContent(e,this.__getHeader(this.header,this.path))}}}}]);
|
package/dist/umd/7583.js
DELETED
@@ -1,113 +0,0 @@
|
|
1
|
-
/*! For license information please see 7583.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[7583],{7583:(t,e,o)=>{o(8900),o(3891),o(1578),o(1735);var a=o(7205),i=o(6570);const r=i.iv`
|
3
|
-
:host {
|
4
|
-
outline: none;
|
5
|
-
}
|
6
|
-
|
7
|
-
[part='toggle-button']::before {
|
8
|
-
content: var(--lumo-icons-dropdown);
|
9
|
-
}
|
10
|
-
`;(0,i.hC)("vaadin-combo-box",[a.J,r],{moduleId:"lumo-combo-box"}),o(3553);var n=o(4241),s=o(2807),l=o(1914),d=o(5115);class c extends((0,d.O)((0,i.Tb)((0,l.U)(n.H3)))){static get template(){return n.dy`
|
11
|
-
<style>
|
12
|
-
:host {
|
13
|
-
display: block;
|
14
|
-
}
|
15
|
-
|
16
|
-
:host([hidden]) {
|
17
|
-
display: none;
|
18
|
-
}
|
19
|
-
</style>
|
20
|
-
<span part="checkmark" aria-hidden="true"></span>
|
21
|
-
<div part="content">
|
22
|
-
<slot></slot>
|
23
|
-
</div>
|
24
|
-
`}static get is(){return"vaadin-combo-box-item"}}(0,s.M)(c);var p=o(4457),v=o(6196),b=o(3515);const u=i.iv`
|
25
|
-
#overlay {
|
26
|
-
width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
|
27
|
-
}
|
28
|
-
|
29
|
-
[part='content'] {
|
30
|
-
display: flex;
|
31
|
-
flex-direction: column;
|
32
|
-
height: 100%;
|
33
|
-
}
|
34
|
-
`;(0,i.hC)("vaadin-combo-box-overlay",[v.r,u],{moduleId:"vaadin-combo-box-overlay-styles"});class h extends((0,b.H)((0,p.F)((0,l.U)((0,i.Tb)(n.H3))))){static get is(){return"vaadin-combo-box-overlay"}static get template(){return n.dy`
|
35
|
-
<div id="backdrop" part="backdrop" hidden></div>
|
36
|
-
<div part="overlay" id="overlay">
|
37
|
-
<div part="loader"></div>
|
38
|
-
<div part="content" id="content"><slot></slot></div>
|
39
|
-
</div>
|
40
|
-
`}}(0,s.M)(h);var m=o(6557);class g extends((0,m.t)(n.H3)){static get is(){return"vaadin-combo-box-scroller"}static get template(){return n.dy`
|
41
|
-
<style>
|
42
|
-
:host {
|
43
|
-
display: block;
|
44
|
-
min-height: 1px;
|
45
|
-
overflow: auto;
|
46
|
-
|
47
|
-
/* Fixes item background from getting on top of scrollbars on Safari */
|
48
|
-
transform: translate3d(0, 0, 0);
|
49
|
-
|
50
|
-
/* Enable momentum scrolling on iOS */
|
51
|
-
-webkit-overflow-scrolling: touch;
|
52
|
-
|
53
|
-
/* Fixes scrollbar disappearing when 'Show scroll bars: Always' enabled in Safari */
|
54
|
-
box-shadow: 0 0 0 white;
|
55
|
-
}
|
56
|
-
|
57
|
-
#selector {
|
58
|
-
border-width: var(--_vaadin-combo-box-items-container-border-width);
|
59
|
-
border-style: var(--_vaadin-combo-box-items-container-border-style);
|
60
|
-
border-color: var(--_vaadin-combo-box-items-container-border-color, transparent);
|
61
|
-
position: relative;
|
62
|
-
}
|
63
|
-
</style>
|
64
|
-
<div id="selector">
|
65
|
-
<slot></slot>
|
66
|
-
</div>
|
67
|
-
`}}(0,s.M)(g);var y=o(2521),x=o(4463),_=o(3406),f=o(3208),w=o(6729),C=o(9091);const k=t=>class extends((0,C.t)(t)){static get properties(){return{pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"pattern"]}static get constraints(){return[...super.constraints,"pattern"]}};var T=o(2743),S=o(9031),E=o(2589);(0,i.hC)("vaadin-combo-box",T.J,{moduleId:"vaadin-combo-box-styles"});class H extends((0,S.Y)((0,E.t)(k((0,_.L)((0,i.Tb)((0,y.S)(n.H3))))))){static get is(){return"vaadin-combo-box"}static get template(){return n.dy`
|
68
|
-
<style>
|
69
|
-
:host([opened]) {
|
70
|
-
pointer-events: auto;
|
71
|
-
}
|
72
|
-
</style>
|
73
|
-
|
74
|
-
<div class="vaadin-combo-box-container">
|
75
|
-
<div part="label">
|
76
|
-
<slot name="label"></slot>
|
77
|
-
<span part="required-indicator" aria-hidden="true" on-click="focus"></span>
|
78
|
-
</div>
|
79
|
-
|
80
|
-
<vaadin-input-container
|
81
|
-
part="input-field"
|
82
|
-
readonly="[[readonly]]"
|
83
|
-
disabled="[[disabled]]"
|
84
|
-
invalid="[[invalid]]"
|
85
|
-
theme$="[[_theme]]"
|
86
|
-
>
|
87
|
-
<slot name="prefix" slot="prefix"></slot>
|
88
|
-
<slot name="input"></slot>
|
89
|
-
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
|
90
|
-
<div id="toggleButton" part="toggle-button" slot="suffix" aria-hidden="true"></div>
|
91
|
-
</vaadin-input-container>
|
92
|
-
|
93
|
-
<div part="helper-text">
|
94
|
-
<slot name="helper"></slot>
|
95
|
-
</div>
|
96
|
-
|
97
|
-
<div part="error-message">
|
98
|
-
<slot name="error-message"></slot>
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
|
102
|
-
<vaadin-combo-box-overlay
|
103
|
-
id="overlay"
|
104
|
-
opened="[[_overlayOpened]]"
|
105
|
-
loading$="[[loading]]"
|
106
|
-
theme$="[[_theme]]"
|
107
|
-
position-target="[[_positionTarget]]"
|
108
|
-
no-vertical-overlap
|
109
|
-
restore-focus-node="[[inputElement]]"
|
110
|
-
></vaadin-combo-box-overlay>
|
111
|
-
|
112
|
-
<slot name="tooltip"></slot>
|
113
|
-
`}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new f.b(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new w.v(this.inputElement,this._labelController)),this._tooltipController=new x.f(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((t=>!t.opened)),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(t){t.stopPropagation(),super._onClearButtonClick(t)}_onHostClick(t){const e=t.composedPath();(e.includes(this._labelNode)||e.includes(this._positionTarget))&&super._onHostClick(t)}}(0,s.M)(H)}}]);
|
package/dist/umd/8623.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see 8623.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[8623],{8623:(e,t,i)=>{i.d(t,{w:()=>_}),i(3556),i(3654);var s=i(2807),r=i(5517),d=i(9109);const n=e=>class extends e{static get properties(){return{width:{type:String,value:"58px",sync:!0},flexGrow:{type:Number,value:0,sync:!0},selectAll:{type:Boolean,value:!1,notify:!0,sync:!0},autoSelect:{type:Boolean,value:!1,sync:!0},dragSelect:{type:Boolean,value:!1,sync:!0},_indeterminate:{type:Boolean,sync:!0},_selectAllHidden:Boolean}}static get observers(){return["_onHeaderRendererOrBindingChanged(_headerRenderer, _headerCell, path, header, selectAll, _indeterminate, _selectAllHidden)"]}_defaultHeaderRenderer(e,t){let i=e.firstElementChild;i||(i=document.createElement("vaadin-checkbox"),i.setAttribute("aria-label","Select All"),i.classList.add("vaadin-grid-select-all-checkbox"),e.appendChild(i),i.addEventListener("checked-changed",this.__onSelectAllCheckedChanged.bind(this)));const s=this.__isChecked(this.selectAll,this._indeterminate);i.__rendererChecked=s,i.checked=s,i.hidden=this._selectAllHidden,i.indeterminate=this._indeterminate}_defaultRenderer(e,t,{item:i,selected:s}){let r=e.firstElementChild;r||(r=document.createElement("vaadin-checkbox"),r.setAttribute("aria-label","Select Row"),e.appendChild(r),r.addEventListener("checked-changed",this.__onSelectRowCheckedChanged.bind(this)),(0,d.NH)(e,"track",this.__onCellTrack.bind(this)),e.addEventListener("mousedown",this.__onCellMouseDown.bind(this)),e.addEventListener("click",this.__onCellClick.bind(this))),r.__item=i,r.__rendererChecked=s,r.checked=s}__onSelectAllCheckedChanged(e){e.target.checked!==e.target.__rendererChecked&&(this._indeterminate||e.target.checked?this._selectAll():this._deselectAll())}__onSelectRowCheckedChanged(e){e.target.checked!==e.target.__rendererChecked&&(e.target.checked?this._selectItem(e.target.__item):this._deselectItem(e.target.__item))}__onCellTrack(e){if(this.dragSelect)if(this.__dragCurrentY=e.detail.y,this.__dragDy=e.detail.dy,"start"===e.detail.state){const t=this._grid._getRenderedRows().find((t=>t.contains(e.currentTarget.assignedSlot)));this.__selectOnDrag=!this._grid._isSelected(t._item),this.__dragStartIndex=t.index,this.__dragStartItem=t._item,this.__dragAutoScroller()}else"end"===e.detail.state&&(this.__dragStartItem&&(this.__selectOnDrag?this._selectItem(this.__dragStartItem):this._deselectItem(this.__dragStartItem)),setTimeout((()=>{this.__dragStartIndex=void 0})))}__onCellMouseDown(e){this.dragSelect&&e.preventDefault()}__onCellClick(e){void 0!==this.__dragStartIndex&&e.preventDefault()}__dragAutoScroller(){if(void 0===this.__dragStartIndex)return;const e=this._grid._getRenderedRows(),t=e.find((e=>{const t=e.getBoundingClientRect();return this.__dragCurrentY>=t.top&&this.__dragCurrentY<=t.bottom}));let i=t?t.index:void 0;const s=this.__getScrollableArea();this.__dragCurrentY<s.top?i=this._grid._firstVisibleIndex:this.__dragCurrentY>s.bottom&&(i=this._grid._lastVisibleIndex),void 0!==i&&e.forEach((e=>{(i>this.__dragStartIndex&&e.index>=this.__dragStartIndex&&e.index<=i||i<this.__dragStartIndex&&e.index<=this.__dragStartIndex&&e.index>=i)&&(this.__selectOnDrag?this._selectItem(e._item):this._deselectItem(e._item),this.__dragStartItem=void 0)}));const r=.15*s.height;if(this.__dragDy<0&&this.__dragCurrentY<s.top+r){const e=s.top+r-this.__dragCurrentY,t=Math.min(1,e/r);this._grid.$.table.scrollTop-=10*t}if(this.__dragDy>0&&this.__dragCurrentY>s.bottom-r){const e=this.__dragCurrentY-(s.bottom-r),t=Math.min(1,e/r);this._grid.$.table.scrollTop+=10*t}setTimeout((()=>this.__dragAutoScroller()),10)}__getScrollableArea(){const e=this._grid.$.table.getBoundingClientRect(),t=this._grid.$.header.getBoundingClientRect(),i=this._grid.$.footer.getBoundingClientRect();return{top:e.top+t.height,bottom:e.bottom-i.height,left:e.left,right:e.right,height:e.height-t.height-i.height,width:e.width}}_selectAll(){}_deselectAll(){}_selectItem(e){}_deselectItem(e){}__isChecked(e,t){return t||e}},a=e=>class extends(n(e)){static get properties(){return{__previousActiveItem:Object}}static get observers(){return["__onSelectAllChanged(selectAll)"]}constructor(){super(),this.__boundOnActiveItemChanged=this.__onActiveItemChanged.bind(this),this.__boundOnDataProviderChanged=this.__onDataProviderChanged.bind(this),this.__boundOnSelectedItemsChanged=this.__onSelectedItemsChanged.bind(this)}disconnectedCallback(){this._grid.removeEventListener("active-item-changed",this.__boundOnActiveItemChanged),this._grid.removeEventListener("data-provider-changed",this.__boundOnDataProviderChanged),this._grid.removeEventListener("filter-changed",this.__boundOnSelectedItemsChanged),this._grid.removeEventListener("selected-items-changed",this.__boundOnSelectedItemsChanged),super.disconnectedCallback()}connectedCallback(){super.connectedCallback(),this._grid&&(this._grid.addEventListener("active-item-changed",this.__boundOnActiveItemChanged),this._grid.addEventListener("data-provider-changed",this.__boundOnDataProviderChanged),this._grid.addEventListener("filter-changed",this.__boundOnSelectedItemsChanged),this._grid.addEventListener("selected-items-changed",this.__boundOnSelectedItemsChanged))}__onSelectAllChanged(e){void 0!==e&&this._grid&&(this.__selectAllInitialized?this._selectAllChangeLock||(e&&this.__hasArrayDataProvider()?this.__withFilteredItemsArray((e=>{this._grid.selectedItems=e})):this._grid.selectedItems=[]):this.__selectAllInitialized=!0)}__arrayContains(e,t){return Array.isArray(e)&&Array.isArray(t)&&t.every((t=>e.includes(t)))}_selectAll(){this.selectAll=!0}_deselectAll(){this.selectAll=!1}_selectItem(e){this._grid.selectItem(e)}_deselectItem(e){this._grid.deselectItem(e)}__onActiveItemChanged(e){const t=e.detail.value;if(this.autoSelect){const e=t||this.__previousActiveItem;e&&this._grid._toggleItem(e)}this.__previousActiveItem=t}__hasArrayDataProvider(){return Array.isArray(this._grid.items)&&!!this._grid.dataProvider}__onSelectedItemsChanged(){this._selectAllChangeLock=!0,this.__hasArrayDataProvider()&&this.__withFilteredItemsArray((e=>{this._grid.selectedItems.length?this.__arrayContains(this._grid.selectedItems,e)?(this.selectAll=!0,this._indeterminate=!1):(this.selectAll=!1,this._indeterminate=!0):(this.selectAll=!1,this._indeterminate=!1)})),this._selectAllChangeLock=!1}__onDataProviderChanged(){this._selectAllHidden=!Array.isArray(this._grid.items)}__withFilteredItemsArray(e){const t={page:0,pageSize:1/0,sortOrders:[],filters:this._grid._mapFilters()};this._grid.dataProvider(t,(t=>e(t)))}};class _ extends(a(r.C)){static get is(){return"vaadin-grid-selection-column"}}(0,s.M)(_)}}]);
|
package/dist/umd/8725.js
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
/*! For license information please see 8725.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[8725],{8005:(t,e,i)=>{i.d(e,{n:()=>m}),i(3553);var r=i(4241),s=i(2807),l=i(2521),a=i(4463),n=i(2743),o=i(6570),d=i(3208),p=i(422),u=i(6729);const h=t=>class extends((0,p.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"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new d.b(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new u.v(this.inputElement,this._labelController))}};(0,o.hC)("vaadin-text-field",n.J,{moduleId:"vaadin-text-field-styles"});class m extends(h((0,o.Tb)((0,l.S)(r.H3)))){static get is(){return"vaadin-text-field"}static get template(){return r.dy`
|
3
|
-
<style>
|
4
|
-
[part='input-field'] {
|
5
|
-
flex-grow: 0;
|
6
|
-
}
|
7
|
-
</style>
|
8
|
-
|
9
|
-
<div class="vaadin-field-container">
|
10
|
-
<div part="label">
|
11
|
-
<slot name="label"></slot>
|
12
|
-
<span part="required-indicator" aria-hidden="true" on-click="focus"></span>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<vaadin-input-container
|
16
|
-
part="input-field"
|
17
|
-
readonly="[[readonly]]"
|
18
|
-
disabled="[[disabled]]"
|
19
|
-
invalid="[[invalid]]"
|
20
|
-
theme$="[[_theme]]"
|
21
|
-
>
|
22
|
-
<slot name="prefix" slot="prefix"></slot>
|
23
|
-
<slot name="input"></slot>
|
24
|
-
<slot name="suffix" slot="suffix"></slot>
|
25
|
-
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
|
26
|
-
</vaadin-input-container>
|
27
|
-
|
28
|
-
<div part="helper-text">
|
29
|
-
<slot name="helper"></slot>
|
30
|
-
</div>
|
31
|
-
|
32
|
-
<div part="error-message">
|
33
|
-
<slot name="error-message"></slot>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
<slot name="tooltip"></slot>
|
37
|
-
`}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new a.f(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,s.M)(m)},8725:(t,e,i)=>{i(1578);var r=i(7205);(0,i(6570).hC)("vaadin-text-field",r.J,{moduleId:"lumo-text-field-styles"}),i(8005)}}]);
|
package/dist/umd/9189.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see 9189.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[9189],{3392:(e,s,t)=>{t.d(s,{G:()=>n});var o=t(3550);class n{saveFocus(e){this.focusNode=e||(0,o.Gf)()}restoreFocus(){const e=this.focusNode;e&&((0,o.Gf)()===document.body?setTimeout((()=>e.focus())):e.focus(),this.focusNode=null)}}},1486:(e,s,t)=>{t.d(s,{f:()=>c});var o=t(3550);const n=[];class c{constructor(e){this.host=e,this.__trapNode=null,this.__onKeyDown=this.__onKeyDown.bind(this)}get __focusableElements(){return(0,o.GO)(this.__trapNode)}get __focusedElementIndex(){const e=this.__focusableElements;return e.indexOf(e.filter(o.Qw).pop())}hostConnected(){document.addEventListener("keydown",this.__onKeyDown)}hostDisconnected(){document.removeEventListener("keydown",this.__onKeyDown)}trapFocus(e){if(this.__trapNode=e,0===this.__focusableElements.length)throw this.__trapNode=null,new Error("The trap node should have at least one focusable descendant or be focusable itself.");n.push(this),-1===this.__focusedElementIndex&&this.__focusableElements[0].focus()}releaseFocus(){this.__trapNode=null,n.pop()}__onKeyDown(e){if(this.__trapNode&&this===Array.from(n).pop()&&"Tab"===e.key){e.preventDefault();const s=e.shiftKey;this.__focusNextElement(s)}}__focusNextElement(e=!1){const s=this.__focusableElements,t=e?-1:1,o=this.__focusedElementIndex,n=s[(s.length+o+t)%s.length];n.focus(),"input"===n.localName&&n.select()}}}}]);
|
package/dist/umd/9214.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[9214],{9214:(e,t,s)=>{s.d(t,{D:()=>o});var n=s(3878),i=s(4567),r=s(7878);const o=e=>{class t extends((0,n.P)({componentName:e,baseSelector:"slot"})){constructor(){super(),this.innerHTML='\n <style>\n slot {\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n }\n </style>\n <slot part="wrapper"></slot>\n '}dispatchChange=r.C.bind(this,"change");get items(){return this.querySelector("slot").assignedElements()}get isReadonly(){return"true"===this.getAttribute("readonly")}get size(){return this.getAttribute("size")||"md"}get value(){console.warn("get value","is not implemented")}set value(e){console.warn("set value","is not implemented")}onSizeChange(){this.items.forEach((e=>{e.setAttribute("size",this.size)}))}onReadOnlyChange(){this.querySelector("slot").toggleAttribute("inert",this.isReadonly)}getValidity(){console.warn("getValidity","is not implemented")}onObservedAttributeChange(e){e.forEach((e=>{switch(e){case"size":this.onSizeChange();break;case"readonly":this.onReadOnlyChange()}}))}init(){this.addEventListener("focus",(e=>{e.isTrusted&&this.items[0]?.focus()})),super.init?.(),(0,i.FX)(this,this.onObservedAttributeChange.bind(this),{includeAttrs:["size","readonly"]})}}return t}}}]);
|
package/dist/umd/9320.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see 9320.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[9320],{9320:(s,e,t)=>{t.d(e,{u:()=>a});const a=s=>class extends s{static get properties(){return{overlayClass:{type:String},_overlayElement:{type:Object}}}static get observers(){return["__updateOverlayClassNames(overlayClass, _overlayElement)"]}__updateOverlayClassNames(s,e){if(!e)return;if(void 0===s)return;const{classList:t}=e;if(this.__initialClasses||(this.__initialClasses=new Set(t)),Array.isArray(this.__previousClasses)){const s=this.__previousClasses.filter((s=>!this.__initialClasses.has(s)));s.length>0&&t.remove(...s)}const a="string"==typeof s?s.split(" "):[];a.length>0&&t.add(...a),this.__previousClasses=a}}}}]);
|
package/dist/umd/9383.js
DELETED
@@ -1,94 +0,0 @@
|
|
1
|
-
/*! For license information please see 9383.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[9383],{9580:(e,t,a)=>{a.d(t,{B:()=>o});class o{constructor(e){this.host=e,e.addEventListener("opened-changed",(()=>{e.opened||this.__setVirtualKeyboardEnabled(!1)})),e.addEventListener("blur",(()=>this.__setVirtualKeyboardEnabled(!0))),e.addEventListener("touchstart",(()=>this.__setVirtualKeyboardEnabled(!0)))}__setVirtualKeyboardEnabled(e){this.host.inputElement&&(this.host.inputElement.inputMode=e?"":"none")}}},6754:(e,t,a)=>{a.d(t,{L:()=>s,e:()=>r}),a(9416),a(9849);var o=a(6570),n=a(510);const r=o.iv`
|
3
|
-
:host([opening]),
|
4
|
-
:host([closing]) {
|
5
|
-
animation: 0.14s lumo-overlay-dummy-animation;
|
6
|
-
}
|
7
|
-
|
8
|
-
[part='overlay'] {
|
9
|
-
will-change: opacity, transform;
|
10
|
-
}
|
11
|
-
|
12
|
-
:host([opening]) [part='overlay'] {
|
13
|
-
animation: 0.1s lumo-menu-overlay-enter ease-out both;
|
14
|
-
}
|
15
|
-
|
16
|
-
@keyframes lumo-menu-overlay-enter {
|
17
|
-
0% {
|
18
|
-
opacity: 0;
|
19
|
-
transform: translateY(-4px);
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
:host([closing]) [part='overlay'] {
|
24
|
-
animation: 0.1s lumo-menu-overlay-exit both;
|
25
|
-
}
|
26
|
-
|
27
|
-
@keyframes lumo-menu-overlay-exit {
|
28
|
-
100% {
|
29
|
-
opacity: 0;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
`;(0,o.hC)("",r,{moduleId:"lumo-menu-overlay-core"});const i=o.iv`
|
33
|
-
/* Small viewport (bottom sheet) styles */
|
34
|
-
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
35
|
-
@media (max-width: 420px), (max-height: 420px) {
|
36
|
-
:host {
|
37
|
-
top: 0 !important;
|
38
|
-
right: 0 !important;
|
39
|
-
bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;
|
40
|
-
left: 0 !important;
|
41
|
-
align-items: stretch !important;
|
42
|
-
justify-content: flex-end !important;
|
43
|
-
}
|
44
|
-
|
45
|
-
[part='overlay'] {
|
46
|
-
max-height: 50vh;
|
47
|
-
width: 100vw;
|
48
|
-
border-radius: 0;
|
49
|
-
box-shadow: var(--lumo-box-shadow-xl);
|
50
|
-
}
|
51
|
-
|
52
|
-
/* The content part scrolls instead of the overlay part, because of the gradient fade-out */
|
53
|
-
[part='content'] {
|
54
|
-
padding: 30px var(--lumo-space-m);
|
55
|
-
max-height: inherit;
|
56
|
-
box-sizing: border-box;
|
57
|
-
-webkit-overflow-scrolling: touch;
|
58
|
-
overflow: auto;
|
59
|
-
-webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
60
|
-
mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
61
|
-
}
|
62
|
-
|
63
|
-
[part='backdrop'] {
|
64
|
-
display: block;
|
65
|
-
}
|
66
|
-
|
67
|
-
/* Animations */
|
68
|
-
|
69
|
-
:host([opening]) [part='overlay'] {
|
70
|
-
animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
|
71
|
-
}
|
72
|
-
|
73
|
-
:host([closing]),
|
74
|
-
:host([closing]) [part='backdrop'] {
|
75
|
-
animation-delay: 0.14s;
|
76
|
-
}
|
77
|
-
|
78
|
-
:host([closing]) [part='overlay'] {
|
79
|
-
animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
@keyframes lumo-mobile-menu-overlay-enter {
|
84
|
-
0% {
|
85
|
-
transform: translateY(150%);
|
86
|
-
}
|
87
|
-
}
|
88
|
-
|
89
|
-
@keyframes lumo-mobile-menu-overlay-exit {
|
90
|
-
100% {
|
91
|
-
transform: translateY(150%);
|
92
|
-
}
|
93
|
-
}
|
94
|
-
`,s=[n.I,r,i];(0,o.hC)("",s,{moduleId:"lumo-menu-overlay"})}}]);
|
package/dist/umd/9434.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[9434],{9434:(t,e,n)=>{n.d(e,{Mc:()=>h,W2:()=>c,Xm:()=>i});var r=n(4567),a=n(4201);const i=t=>class extends t{#t=({value:t,label:e})=>`<descope-button-selection-group-item value="${t}">${e}</descope-button-selection-group-item>`;#e;get renderItem(){return this.#t}set renderItem(t){this.#t=t,this.renderItems()}get size(){return this.inputElement?.size}get data(){if(this.#e)return this.#e;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" - ',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#e=t,this.renderItems())}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.(((t,e)=>t+(this.renderItem?.(e||{})||"")),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}init(){super.init?.(),this.renderItems(),(0,r.FX)(this,this.renderItems.bind(this),{includeAttrs:["data"]}),(0,r.P$)(this,(({addedNodes:t})=>{t.forEach((t=>{t.setAttribute("size",this.size)}))}))}},{host:s,label:o,requiredIndicator:d,internalWrapper:l,errorMessage:p}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},internalWrapper:{selector:()=>':host [part="internal-component"] slot'},errorMessage:{selector:"::part(error-message)"}},c={hostWidth:{...s,property:"width"},hostDirection:{...s,property:"direction"},fontFamily:s,labelTextColor:[{...o,property:"color"},{...d,property:"color"}],labelRequiredIndicator:{...d,property:"content"},errorMessageTextColor:{...p,property:"color"},itemsSpacing:{...l,property:"gap"}},h=`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t\t${(0,a.DY)()}\n\t\t\t:host::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t:host::part(input-field)::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\n [part="internal-component"] {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n display: inline-block;\n\t\t\t\tmin-height: initial;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tpadding: 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t}\n\n\t\t\tvaadin-text-field {\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%\n\t\t\t}\n\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly] > input:placeholder-shown {\n\t\t\t\topacity: 1;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly]::part(input-field)::after {\n\t\t\t\tborder: 0 solid;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n ${(0,a.Wf)("vaadin-text-field")}\n\t\t\t${(0,a.Pd)("vaadin-text-field")}\n `}}]);
|
package/dist/umd/9437.js
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
/*! For license information please see 9437.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[9437],{9437:(e,t,i)=>{i(8725);var l=i(7205),a=i(6570);const r=a.iv`
|
3
|
-
:host([dir='rtl']) [part='input-field'] ::slotted(input) {
|
4
|
-
--_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent, #000 1.25em);
|
5
|
-
}
|
6
|
-
|
7
|
-
:host([dir='rtl']) [part='input-field'] ::slotted(input:placeholder-shown) {
|
8
|
-
--_lumo-text-field-overflow-mask-image: none;
|
9
|
-
}
|
10
|
-
`;(0,a.hC)("vaadin-email-field",[l.J,r],{moduleId:"lumo-email-field"});var s=i(2807),d=i(8005);const n=i(9392).iv`
|
11
|
-
:host([dir='rtl']) [part='input-field'] {
|
12
|
-
direction: ltr;
|
13
|
-
}
|
14
|
-
|
15
|
-
:host([dir='rtl']) [part='input-field'] ::slotted(input)::placeholder {
|
16
|
-
direction: rtl;
|
17
|
-
text-align: left;
|
18
|
-
}
|
19
|
-
`;(0,a.hC)("vaadin-email-field",n,{moduleId:"vaadin-email-field-styles"});class o extends d.n{static get is(){return"vaadin-email-field"}constructor(){super(),this._setType("email"),this.pattern="^([a-zA-Z0-9_\\.\\-+])+@[a-zA-Z0-9\\-.]+\\.[a-zA-Z0-9\\-]{2,}$"}ready(){super.ready(),this.inputElement&&(this.inputElement.autocapitalize="off")}}(0,s.M)(o)}}]);
|
package/dist/umd/9680.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see 9680.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[9680],{9680:(e,s,t)=>{t.d(s,{F:()=>r});var n=t(1014);const a=new ResizeObserver((e=>{setTimeout((()=>{e.forEach((e=>{e.target.resizables?e.target.resizables.forEach((s=>{s._onResize(e.contentRect)})):e.target._onResize(e.contentRect)}))}))})),r=(0,n.o)((e=>class extends e{get _observeParent(){return!1}connectedCallback(){if(super.connectedCallback(),a.observe(this),this._observeParent){const e=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;e.resizables||(e.resizables=new Set,a.observe(e)),e.resizables.add(this),this.__parent=e}}disconnectedCallback(){super.disconnectedCallback(),a.unobserve(this);const e=this.__parent;if(this._observeParent&&e){const s=e.resizables;s&&(s.delete(this),0===s.size&&a.unobserve(e)),this.__parent=null}}_onResize(e){}}))}}]);
|
package/dist/umd/9789.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[9789],{9789:(e,s,c)=>{c(8725),c(8005)}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[2528],{2138:(t,e,s)=>{s.d(e,{f:()=>h,k:()=>p});var o=s(1e3),n=s(2561),i=s(2061),r=s(4567);const h=(0,r.iY)("text");class l extends((0,n.s)({componentName:h,baseSelector:":host > slot"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t<style>\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t}\n\t\t\t:host > slot {\n\t\t\t\twidth: 100%;\n\t\t\t\tdisplay: inline-block;\n\t\t\t}\n\t\t</style>\n\t\t<slot part="text-wrapper"></slot>\n\t\t'}}const p=(0,i.qC)((0,o.yk)({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:{selector:()=>":host",property:"direction"},fontSize:{},textColor:{property:"color"},textLineHeight:{property:"line-height"},textLetterSpacing:{property:"letter-spacing"},textShadow:{},textAlign:{},textTransform:{},fontFamily:{},fontStyle:{},fontWeight:{},borderWidth:{},borderStyle:{},borderColor:{}}}),o.e4,o.Ae,(t=>class extends t{get hideWhenEmpty(){return"true"===this.getAttribute("hide-when-empty")}init(){super.init(),(0,r.P$)(this,(()=>{const t=!!this.childNodes.length;this.style.display=!t&&this.hideWhenEmpty?"none":""}))}}))(l)},1876:(t,e,s)=>{s.r(e),s.d(e,{TextClass:()=>o.k});var o=s(2138);customElements.define(o.f,o.k)}}]);
|
@@ -1,67 +0,0 @@
|
|
1
|
-
// eslint-disable-next-line max-classes-per-file
|
2
|
-
import { createStyleMixin, draggableMixin, componentNameValidationMixin } from '../../mixins';
|
3
|
-
import { createBaseClass } from '../../baseClasses/createBaseClass';
|
4
|
-
import { compose } from '../../helpers';
|
5
|
-
import { getComponentName, observeChildren } from '../../helpers/componentHelpers';
|
6
|
-
|
7
|
-
export const componentName = getComponentName('text');
|
8
|
-
|
9
|
-
class RawText extends createBaseClass({ componentName, baseSelector: ':host > slot' }) {
|
10
|
-
constructor() {
|
11
|
-
super();
|
12
|
-
|
13
|
-
this.attachShadow({ mode: 'open' }).innerHTML = `
|
14
|
-
<style>
|
15
|
-
:host {
|
16
|
-
display: inline-block;
|
17
|
-
}
|
18
|
-
:host > slot {
|
19
|
-
width: 100%;
|
20
|
-
display: inline-block;
|
21
|
-
}
|
22
|
-
</style>
|
23
|
-
<slot part="text-wrapper"></slot>
|
24
|
-
`;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
const customTextMixin = (superclass) =>
|
29
|
-
class CustomTextMixin extends superclass {
|
30
|
-
get hideWhenEmpty() {
|
31
|
-
return this.getAttribute('hide-when-empty') === 'true';
|
32
|
-
}
|
33
|
-
|
34
|
-
init() {
|
35
|
-
super.init();
|
36
|
-
|
37
|
-
observeChildren(this, () => {
|
38
|
-
const hasChildren = !!this.childNodes.length;
|
39
|
-
this.style.display = !hasChildren && this.hideWhenEmpty ? 'none' : '';
|
40
|
-
});
|
41
|
-
}
|
42
|
-
};
|
43
|
-
|
44
|
-
export const TextClass = compose(
|
45
|
-
createStyleMixin({
|
46
|
-
mappings: {
|
47
|
-
hostWidth: { selector: () => ':host', property: 'width' },
|
48
|
-
hostDirection: { selector: () => ':host', property: 'direction' },
|
49
|
-
fontSize: {},
|
50
|
-
textColor: { property: 'color' },
|
51
|
-
textLineHeight: { property: 'line-height' },
|
52
|
-
textLetterSpacing: { property: 'letter-spacing' },
|
53
|
-
textShadow: {},
|
54
|
-
textAlign: {},
|
55
|
-
textTransform: {},
|
56
|
-
fontFamily: {},
|
57
|
-
fontStyle: {},
|
58
|
-
fontWeight: {},
|
59
|
-
borderWidth: {},
|
60
|
-
borderStyle: {},
|
61
|
-
borderColor: {},
|
62
|
-
},
|
63
|
-
}),
|
64
|
-
draggableMixin,
|
65
|
-
componentNameValidationMixin,
|
66
|
-
customTextMixin
|
67
|
-
)(RawText);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/umd/{1037.js.LICENSE.txt → boolean-fields-descope-checkbox-index-js.js.LICENSE.txt}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|