@ezeep/ezeep-js 1.0.271 → 1.0.277
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-D7ISNeUi.js → app-globals-L_3XPZxT.js} +7 -1
- package/dist/cjs/ezeep.cjs.js +4 -4
- package/dist/cjs/ezp-auth_15.cjs.entry.js +7240 -3678
- package/dist/cjs/{index-dv_gozsq.js → index-DM5v_sge.js} +3 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/ezp-auth/ezp-auth.css +1 -1
- package/dist/collection/components/ezp-auth/ezp-auth.js +56 -15
- package/dist/collection/components/ezp-backdrop/ezp-backdrop.js +5 -5
- package/dist/collection/components/ezp-dialog/ezp-dialog.js +85 -13
- package/dist/collection/components/ezp-icon/ezp-icon.js +7 -2
- package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +4 -1
- package/dist/collection/components/ezp-input/ezp-input.css +9 -12
- package/dist/collection/components/ezp-input/ezp-input.js +15 -13
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +207 -323
- package/dist/collection/components/ezp-printing/ezp-printing.css +9 -9
- package/dist/collection/components/ezp-printing/ezp-printing.js +107 -35
- package/dist/collection/components/ezp-select/ezp-select.css +2 -2
- package/dist/collection/components/ezp-select/ezp-select.js +92 -13
- package/dist/collection/components/ezp-status/ezp-status.js +23 -13
- package/dist/collection/components/ezp-stepper/ezp-stepper.js +13 -6
- package/dist/collection/components/ezp-text-button/ezp-text-button.js +1 -1
- package/dist/collection/components/ezp-upload/ezp-upload.css +9 -9
- package/dist/collection/components/ezp-upload/ezp-upload.js +26 -8
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +2 -1
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +15 -15
- package/dist/collection/services/auth.js +37 -36
- package/dist/collection/services/http.js +11 -0
- package/dist/collection/services/print-job.js +72 -0
- package/dist/collection/services/print.js +21 -69
- package/dist/collection/services/user.js +2 -9
- package/dist/collection/shared/constants.js +55 -0
- package/dist/collection/shared/global.js +7 -1
- package/dist/collection/shared/storage.js +71 -0
- package/dist/collection/types/shared/types.d.ts +40 -9
- package/dist/collection/utils/printer.js +68 -0
- package/dist/collection/utils/utils.js +24 -9
- package/dist/components/auth.js +1 -1
- package/dist/components/ezp-auth2.js +1 -1
- package/dist/components/ezp-backdrop2.js +1 -1
- package/dist/components/ezp-dialog2.js +1 -1
- package/dist/components/ezp-icon-button2.js +1 -1
- package/dist/components/ezp-icon2.js +1 -1
- package/dist/components/ezp-input2.js +1 -1
- package/dist/components/ezp-printer-selection2.js +1 -1
- package/dist/components/ezp-printing.js +1 -1
- package/dist/components/ezp-select2.js +1 -1
- package/dist/components/ezp-status2.js +1 -1
- package/dist/components/ezp-stepper2.js +1 -1
- package/dist/components/ezp-text-button2.js +1 -1
- package/dist/components/ezp-upload2.js +1 -1
- package/dist/components/ezp-user-menu.js +1 -1
- package/dist/components/ezp-user-menu2.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/utils.js +1 -0
- package/dist/directives/proxies.ts +82 -59
- package/dist/esm/{app-globals-CpP67t2l.js → app-globals-C0WTlb31.js} +7 -1
- package/dist/esm/ezeep.js +5 -5
- package/dist/esm/ezp-auth_15.entry.js +7240 -3678
- package/dist/esm/{index-BTfWEHH9.js → index-BButrLnB.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm-es5/{app-globals-CpP67t2l.js → app-globals-C0WTlb31.js} +1 -1
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_15.entry.js +2 -2
- package/dist/esm-es5/{index-BTfWEHH9.js → index-BButrLnB.js} +3 -3
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/ezeep.js +1 -1
- package/dist/ezeep/p-644e48a0.system.entry.js +7 -0
- package/dist/ezeep/{p-BTfWEHH9.js → p-BButrLnB.js} +2 -2
- package/dist/ezeep/{p-CpP67t2l.js → p-C0WTlb31.js} +1 -1
- package/{www/build/p-DhXN1yGM.system.js → dist/ezeep/p-CYpousxy.system.js} +2 -2
- package/dist/ezeep/{p-5ok9OZMg.system.js → p-D4aCr1OK.system.js} +1 -1
- package/dist/ezeep/{p-CfQRcOh8.system.js → p-DCznw2Ee.system.js} +1 -1
- package/dist/ezeep/p-ebd2beda.entry.js +1 -0
- package/dist/ezeep/types/shared/types.d.ts +40 -9
- package/dist/types/components/ezp-auth/ezp-auth.d.ts +8 -5
- package/dist/types/components/ezp-backdrop/ezp-backdrop.d.ts +2 -2
- package/dist/types/components/ezp-dialog/ezp-dialog.d.ts +14 -3
- package/dist/types/components/ezp-input/ezp-input.d.ts +17 -14
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +23 -7
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +25 -2
- package/dist/types/components/ezp-select/ezp-select.d.ts +10 -4
- package/dist/types/components/ezp-status/ezp-status.d.ts +6 -4
- package/dist/types/components/ezp-stepper/ezp-stepper.d.ts +1 -1
- package/dist/types/components/ezp-upload/ezp-upload.d.ts +4 -1
- package/dist/types/components/ezp-user-menu/ezp-user-menu.d.ts +5 -2
- package/dist/types/components.d.ts +38 -38
- package/dist/types/services/auth.d.ts +10 -0
- package/dist/types/services/http.d.ts +4 -0
- package/dist/types/services/print-job.d.ts +48 -0
- package/dist/types/services/print.d.ts +10 -9
- package/dist/types/services/user.d.ts +13 -2
- package/dist/types/shared/constants.d.ts +51 -0
- package/dist/types/shared/storage.d.ts +24 -0
- package/dist/types/shared/types.d.ts +40 -9
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/printer.d.ts +22 -0
- package/dist/types/utils/utils.d.ts +22 -10
- package/package.json +30 -18
- package/readme.md +1 -0
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/ezeep.js +1 -1
- package/www/build/p-644e48a0.system.entry.js +7 -0
- package/www/build/{p-BTfWEHH9.js → p-BButrLnB.js} +2 -2
- package/www/build/{p-CpP67t2l.js → p-C0WTlb31.js} +1 -1
- package/{dist/ezeep/p-DhXN1yGM.system.js → www/build/p-CYpousxy.system.js} +2 -2
- package/www/build/{p-5ok9OZMg.system.js → p-D4aCr1OK.system.js} +1 -1
- package/www/build/{p-CfQRcOh8.system.js → p-DCznw2Ee.system.js} +1 -1
- package/www/build/p-c7252f1c.js +1 -0
- package/www/build/p-ebd2beda.entry.js +1 -0
- package/www/data/locales/de.json +1 -0
- package/www/data/locales/en.json +1 -0
- package/www/index.html +2 -5
- package/dist/components/i18next.js +0 -1
- package/dist/ezeep/p-2177b8f4.system.entry.js +0 -7
- package/dist/ezeep/p-de8f6583.entry.js +0 -1
- package/www/build/p-2177b8f4.system.entry.js +0 -7
- package/www/build/p-256870db.js +0 -1
- package/www/build/p-de8f6583.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,createEvent as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,createEvent as i,h as a,Host as o,transformTag as c}from"@stencil/core/internal/client";import{i as n,s}from"./utils.js";import{d}from"./ezp-icon2.js";import{d as l}from"./ezp-icon-button2.js";import{d as r}from"./ezp-label2.js";import{d as p}from"./ezp-text-button2.js";const b=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.dialogClose=i(this,"dialogClose",7),this.dialogAction=i(this,"dialogAction",7),this.action=n.t("button_actions.close"),this.iconSize="large",this.iconFramed=!0,this.handleClose=()=>{this.dialogClose.emit(this.instance)},this.handleAction=()=>{this.dialogAction.emit(this.instance)}}connectedCallback(){this.unsubscribeLanguage=s(this)}componentDidLoad(){var e;null===(e=this.box)||void 0===e||e.focus()}disconnectedCallback(){var e;null===(e=this.unsubscribeLanguage)||void 0===e||e.call(this)}handleKeydown(e){"Escape"!==e.key?"Tab"===e.key&&this.trapFocus(e):this.handleClose()}trapFocus(e){if(!this.box)return;const t=this.collectFocusable(this.box);if(0===t.length)return;const i=t[0],a=t[t.length-1],o=this.deepActiveElement();o&&t.includes(o)?e.shiftKey&&o===i?(e.preventDefault(),a.focus()):e.shiftKey||o!==a||(e.preventDefault(),i.focus()):(e.preventDefault(),i.focus())}collectFocusable(e){const t=[],i=e=>{e.querySelectorAll("*").forEach((e=>{e.tabIndex>=0&&!e.disabled&&t.push(e),e.shadowRoot&&i(e.shadowRoot)}))};return i(e),t}deepActiveElement(){var e;let t=document.activeElement;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t}render(){return a(o,{key:"4f86872972538970ab0d3e6e15055ae558537f4d"},a("div",{key:"fd78a41cf3f37ecc2481e6fb11c9031dcb45a063",id:"box",role:"dialog","aria-modal":"true","aria-label":this.heading,tabindex:-1,ref:e=>this.box=e},a("div",{key:"defd711c745edc2fd0be5349f67f6795659c4c80",id:"header"},a("ezp-icon-button",{key:"7da94b33c02de9acca8e5a77bb74757d36e607fd",level:"tertiary",icon:"close",type:"button",onClick:this.handleClose})),a("div",{key:"092387310d14f01aea60d0e7750de470a5184fe4",id:"body"},this.iconName&&a("ezp-icon",{key:"a933e2cb2e686544d9fbb31e3b7ee1eee2766deb",name:this.iconName,size:this.iconSize,framed:this.iconFramed}),a("div",{key:"45cafccc90a14bc5993c0696eed9567e01ab62e7",id:"text"},a("ezp-label",{key:"ffbd56a50d2fb7f6d62309eadeeb0f1da7fc93b6",text:this.heading,weight:"heavy"}),a("ezp-label",{key:"7563c3d9085eee67361c4ff8220da5c9a5de9d5c",text:this.description}))),a("div",{key:"999423e06a1b5721cc8c3788471235759e50b14a",id:"footer"},a("ezp-text-button",{key:"16c8a33207a06d3e1a436e08098bfd9b6587306e",type:"button",level:"primary",onClick:this.handleAction,label:this.action}))))}static get style(){return":host{--ezp-icon-fill:var(--ezp-theme-solid);-ms-flex-line-pack:center;align-content:center;background:var(--ezp-core-backdrop);display:grid;grid-template:auto/minmax(auto, 280px);height:100%;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100%}#box{background:var(--ezp-core-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-black-10));box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-black-10))}#header{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding:var(--ezp-spacing-2) var(--ezp-spacing-3)}#body{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-5);padding:0 var(--ezp-spacing-5);text-align:center}#text{color:var(--ezp-core-foreground-primary);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4)}#footer{display:grid;grid-template:auto/minmax(144px, auto);-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-5)}"}},[1,"ezp-dialog",{heading:[1],description:[1],action:[1],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],iconFramed:[4,"icon-framed"],instance:[1]},[[8,"keydown","handleKeydown"]]]);function f(){"undefined"!=typeof customElements&&["ezp-dialog","ezp-icon","ezp-icon-button","ezp-label","ezp-text-button"].forEach((e=>{switch(e){case"ezp-dialog":customElements.get(c(e))||customElements.define(c(e),b);break;case"ezp-icon":customElements.get(c(e))||d();break;case"ezp-icon-button":customElements.get(c(e))||l();break;case"ezp-label":customElements.get(c(e))||r();break;case"ezp-text-button":customElements.get(c(e))||p()}}))}export{b as E,f as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as o,HTMLElement as e,h as t,Host as n,transformTag as r}from"@stencil/core/internal/client";import{d as i}from"./ezp-icon2.js";const
|
|
1
|
+
import{proxyCustomElement as o,HTMLElement as e,h as t,Host as n,transformTag as r}from"@stencil/core/internal/client";import{d as i}from"./ezp-icon2.js";const a=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.blank=!1,this.disabled=!1,this.level="primary"}render(){const o=void 0!==this.type?"button":"a",e=void 0!==this.type?{type:this.type,disabled:this.disabled}:{href:this.href,target:this.blank?"_blank":"_self"},r=this.icon.replace(/[-_]/g," ");return t(n,{key:"7d3d43ec31503ff7ecc87e9f498ee5b2d09d5d96",class:`${this.level}`},t(o,Object.assign({key:"b7d5c646bb66ebff92d661574c647f8a2773a908",id:"button","aria-label":r},e),t("ezp-icon",{key:"bc4c322b7c9389a8aaa27feac7084ae9e1befaa4",name:this.icon})))}static get style(){return":host{display:block}:host(.primary){--ezp-iconButton-background-disabled:var(--ezp-core-shade-primary);--ezp-iconButton-background-init:var(--ezp-theme-solid);--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-white-100);--ezp-iconButton-opacity-active:0.74;--ezp-iconButton-opacity-hover:0.84}:host(.secondary){--ezp-iconButton-background-active:var(--ezp-core-shade-tertiary);--ezp-iconButton-background-disabled:var(--ezp-core-shade-primary);--ezp-iconButton-background-hover:var(--ezp-core-shade-secondary);--ezp-iconButton-background-init:var(--ezp-core-shade-primary);--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-iconButton-background-active:var(--ezp-core-shade-secondary);--ezp-iconButton-background-hover:var(--ezp-core-shade-primary);--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid)}:host(.quaternary){--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid);--ezp-iconButton-opacity-active:0.58;--ezp-iconButton-opacity-hover:0.74}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-iconButton-background, var(--ezp-iconButton-background-init));border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-iconButton-color, var(--ezp-iconButton-color-init));cursor:var(--ezp-iconButton-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-iconButton-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){#button:not(:disabled):hover{--ezp-iconButton-background:var( --ezp-iconButton-background-hover, var(--ezp-iconButton-background-init) );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-iconButton-background:var( --ezp-iconButton-background-active, var(--ezp-iconButton-background-init) );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-active, 1)}}#button:disabled{--ezp-iconButton-background:var( --ezp-iconButton-background-disabled, var(--ezp-iconButton-background-init) );--ezp-iconButton-color:var(--ezp-iconButton-color-disabled);--ezp-iconButton-cursor:default}"}},[1,"ezp-icon-button",{blank:[4],disabled:[4],href:[1],icon:[1],level:[1],type:[1]}]);function c(){"undefined"!=typeof customElements&&["ezp-icon-button","ezp-icon"].forEach((o=>{switch(o){case"ezp-icon-button":customElements.get(r(o))||customElements.define(r(o),a);break;case"ezp-icon":customElements.get(r(o))||i()}}))}export{a as E,c as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as i,getAssetPath as n,h as r,Host as
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as i,getAssetPath as n,h as r,Host as a,transformTag as t}from"@stencil/core/internal/client";const c=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.size="normal",this.framed=!1}async componentWillLoad(){await fetch(n(`./assets/glyph-${this.name}.svg`)).then((e=>e.text())).then((e=>{this.glyph=e})).catch((()=>{}))}render(){return r(a,{key:"e1b22ece00f1260a34561c8d1efd44c2d5f37c73",class:`${this.size} ${this.framed?"framed":""}`,"aria-hidden":"true"},r("div",{key:"0734d4b5fdc363303d69b7e5dc138f8caeaa316c",id:"glyph",innerHTML:this.glyph}))}static get assetsDirs(){return["assets"]}static get style(){return":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-icon-background, transparent);border-radius:var(--ezp-icon-borderRadius, 0);display:grid;grid-template:var(--ezp-icon-gridTemplate)/var(--ezp-icon-gridTemplate);height:var(--ezp-icon-height, var(--ezp-icon-size));-ms-flex-pack:center;justify-content:center;padding:var(--ezp-icon-padding, 0);width:var(--ezp-icon-width, var(--ezp-icon-size))}:host(.framed){--ezp-icon-background:var(--ezp-core-shade-primary);--ezp-icon-borderRadius:50%;--ezp-icon-padding:var(--ezp-icon-frame)}:host(.normal){--ezp-icon-size:18px;--ezp-icon-gridTemplate:24px;--ezp-icon-frame:var(--ezp-spacing-3)}:host(.large){--ezp-icon-size:36px;--ezp-icon-gridTemplate:48px;--ezp-icon-frame:var(--ezp-spacing-4)}:host(.huge){--ezp-icon-size:54px;--ezp-icon-gridTemplate:72px;--ezp-icon-frame:var(--ezp-spacing-5)}svg{display:block;fill:var(--ezp-icon-fill, currentColor);height:100%;width:100%}"}},[1,"ezp-icon",{name:[1],size:[1],framed:[4]}]);function s(){"undefined"!=typeof customElements&&["ezp-icon"].forEach((e=>{"ezp-icon"===e&&(customElements.get(t(e))||customElements.define(t(e),c))}))}export{c as E,s as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{proxyCustomElement as e,HTMLElement as t,createEvent as i,h as o,Host as r,transformTag as a}from"@stencil/core/internal/client";import{d as n}from"./ezp-icon2.js";import{d as p}from"./ezp-label2.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.inputValueChanged=i(this,"inputValueChanged",7),this.timeout=null,this.label="Label",this.type="text",this.icon="color",this.placeholder="",this.focused=!1,this.setFocus=()=>{this.input.focus()},this.handleBlur=()=>{this.focused=!1},this.handleFocus=()=>{this.focused=!0}}handleChange(e){this.timeout&&clearTimeout(this.timeout)
|
|
1
|
+
import{proxyCustomElement as e,HTMLElement as t,createEvent as i,h as o,Host as r,transformTag as a}from"@stencil/core/internal/client";import{d as n}from"./ezp-icon2.js";import{d as p}from"./ezp-label2.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.inputValueChanged=i(this,"inputValueChanged",7),this.timeout=null,this.label="Label",this.type="text",this.icon="color",this.placeholder="",this.focused=!1,this.setFocus=()=>{var e;null===(e=this.input)||void 0===e||e.focus()},this.handleBlur=()=>{this.focused=!1},this.handleFocus=()=>{this.focused=!0}}handleChange(e){this.timeout&&clearTimeout(this.timeout);const t=e.target;this.value=t.value?t.value:"number"===this.type?0:"",this.timeout=setTimeout((()=>{this.inputValueChanged.emit({type:this.eventType.toLowerCase(),value:this.value})}),500)}render(){return o(r,{key:"ba8958137bce0592dbe4ec23c03284885f570e27",class:{focused:this.focused},onClick:this.setFocus},o("ezp-icon",{key:"9d3b108841ffdabec9b9a98d6d6b2ea19fba37fc",id:"icon",name:this.icon}),o("ezp-label",{key:"5fee00202e9c6407bddf8a1b7090d983d79e42b3",id:"label",noWrap:!0,level:"secondary",text:this.label}),o("input",{key:"99c71e9c6d29193046bd0b6094efbac828ffab15",id:"input",type:this.type,value:this.value,placeholder:this.placeholder,"aria-label":this.label,onInput:e=>this.handleChange(e),ref:e=>this.input=e,onFocus:this.handleFocus,onBlur:this.handleBlur}),this.suffix?o("ezp-label",{id:"suffix",level:"secondary",text:this.suffix}):null)}static get style(){return':host{-ms-flex-align:center;align-items:center;background:var(--ezp-input-background, var(--ezp-core-surface-tertiary));border-radius:var(--ezp-input-border-radius, 0);-webkit-box-shadow:var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-input-grid-template, auto/auto auto 1fr);height:30px;padding:0 var(--ezp-spacing-3);position:relative;z-index:var(--ezp-input-z-index, 3)}:host([suffix]){--ezp-input-grid-template:auto / auto auto 1fr auto;--ezp-input-input-padding-right:0}:host(.focused){--ezp-input-icon-color:var(--ezp-theme-solid);--ezp-input-label-color:var(--ezp-theme-solid)}:host(:first-child){--ezp-input-border-radius:3px 3px 0 0}:host(:last-child){--ezp-input-border-radius:0 0 3px 3px}:host(:first-child:last-child){--ezp-input-border-radius:3px}:host(:not(:last-child)){--ezp-input-box-shadow-position-bottom:0 0 0 0}:host(:hover){--ezp-input-background:linear-gradient(0deg, var(--ezp-core-shade-primary) 0%, var(--ezp-core-shade-primary) 100%), var(--ezp-core-surface-tertiary)}#label{color:var(--ezp-input-label-color, var(--ezp-core-foreground-secondary))}#icon{color:var(--ezp-input-icon-color, var(--ezp-core-foreground-secondary))}#input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:inherit;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:14px;-webkit-font-smoothing:antialiased;height:30px;letter-spacing:-0.0062235443em;margin:0;outline:none;padding:0 var(--ezp-input-input-padding-right, var(--ezp-spacing-1)) 0 0;text-align:right;width:100%}#input[type=number]::-webkit-inner-spin-button,#input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}#suffix{color:var(--ezp-core-foreground-tertiary)}'}},[1,"ezp-input",{label:[1],value:[1032],type:[1],icon:[1],suffix:[513],eventType:[1,"event-type"],placeholder:[1],focused:[32]}]);function u(){"undefined"!=typeof customElements&&["ezp-input","ezp-icon","ezp-label"].forEach((e=>{switch(e){case"ezp-input":customElements.get(a(e))||customElements.define(a(e),s);break;case"ezp-icon":customElements.get(a(e))||n();break;case"ezp-label":customElements.get(a(e))||p()}}))}export{s as E,u as d}
|