@arcgis/common-components 5.2.0-next.10 → 5.2.0-next.11
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/cdn/{232BH3SJ.js → 2XA6O2MP.js} +1 -1
- package/dist/cdn/3P53QRGS.js +2 -0
- package/dist/cdn/{6XE5JNJ7.js → 3V5M7OHL.js} +1 -1
- package/dist/cdn/4W7JZPB6.js +2 -0
- package/dist/cdn/{YG4PY2H3.js → 5KS7T5BY.js} +1 -1
- package/dist/cdn/5U5NQ3F5.js +2 -0
- package/dist/cdn/77HZGUSC.js +2 -0
- package/dist/cdn/A3CISHRB.js +2 -0
- package/dist/cdn/{OOBX2C2L.js → AFBKMYU6.js} +1 -1
- package/dist/cdn/GVOQ2CB7.js +2 -0
- package/dist/cdn/{F45Q3BRT.js → IUJ4ILLQ.js} +1 -1
- package/dist/cdn/{WJ3TYWP2.js → JLPZ3OR2.js} +1 -1
- package/dist/cdn/JPD7Z3MB.js +2 -0
- package/dist/cdn/L2JNUMXB.js +2 -0
- package/dist/cdn/L5RMOAO3.js +2 -0
- package/dist/cdn/LB7I345F.js +2 -0
- package/dist/cdn/LBD3GPSD.js +2 -0
- package/dist/cdn/LKUOAV7B.js +2 -0
- package/dist/cdn/MCH3WQ4X.js +2 -0
- package/dist/cdn/{YVCGEEMG.js → MCZBUYS5.js} +1 -1
- package/dist/cdn/N7C4DINF.js +2 -0
- package/dist/cdn/OBIWQRXY.js +2 -0
- package/dist/cdn/PSITQBDP.js +2 -0
- package/dist/cdn/{BDF4ZLUF.js → TXYPZ6MB.js} +1 -1
- package/dist/cdn/{MINFRX4Y.js → VQLI4IE7.js} +1 -1
- package/dist/cdn/WEKRF34E.js +2 -0
- package/dist/cdn/WLYFLEI6.js +2 -0
- package/dist/cdn/XRARFMJ7.js +2 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/components/arcgis-color-input/customElement.js +5 -5
- package/dist/components/arcgis-picker-input/customElement.d.ts +6 -2
- package/dist/components/arcgis-picker-input/customElement.js +7 -7
- package/dist/components/arcgis-value-picker/customElement.d.ts +377 -0
- package/dist/components/arcgis-value-picker/customElement.js +87 -0
- package/dist/components/arcgis-value-picker/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker/index.js +3 -0
- package/dist/components/arcgis-value-picker/types.d.ts +69 -0
- package/dist/components/arcgis-value-picker-collection/customElement.d.ts +113 -0
- package/dist/components/arcgis-value-picker-collection/customElement.js +43 -0
- package/dist/components/arcgis-value-picker-collection/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker-collection/index.js +1 -0
- package/dist/components/arcgis-value-picker-combobox/customElement.d.ts +90 -0
- package/dist/components/arcgis-value-picker-combobox/customElement.js +55 -0
- package/dist/components/arcgis-value-picker-combobox/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker-combobox/index.js +3 -0
- package/dist/components/arcgis-value-picker-label/customElement.d.ts +81 -0
- package/dist/components/arcgis-value-picker-label/customElement.js +51 -0
- package/dist/components/arcgis-value-picker-label/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker-label/index.js +1 -0
- package/dist/components/arcgis-value-picker-slider/customElement.d.ts +173 -0
- package/dist/components/arcgis-value-picker-slider/customElement.js +60 -0
- package/dist/components/arcgis-value-picker-slider/index.d.ts +1 -0
- package/dist/components/arcgis-value-picker-slider/index.js +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +50 -0
- package/dist/loader.js +8 -3
- package/dist/types/lumina.d.ts +36 -0
- package/dist/types/preact.d.ts +41 -0
- package/dist/types/react.d.ts +46 -0
- package/dist/types/stencil.d.ts +36 -0
- package/package.json +3 -3
- package/dist/cdn/2MN6S2HH.js +0 -2
- package/dist/cdn/4NANIXN7.js +0 -2
- package/dist/cdn/5I5ODGDD.js +0 -2
- package/dist/cdn/AGGCAE6P.js +0 -2
- package/dist/cdn/D3WBDGDH.js +0 -2
- package/dist/cdn/HWEOBUAY.js +0 -2
- package/dist/cdn/OTXMT4H5.js +0 -2
- package/dist/cdn/OUUS7VKS.js +0 -2
- package/dist/cdn/OYXJA2QF.js +0 -2
- package/dist/cdn/QS7JRY4H.js +0 -2
- package/dist/cdn/SKYXMBD4.js +0 -2
- package/dist/cdn/UEGSIUVY.js +0 -2
- package/dist/cdn/YVWFGK4M.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{d as N,g as $}from"./IUJ4ILLQ.js";import{a as x,b as C,c as P,d as f,e as m,f as L,g as O,n as g,q as v,r as w,t as A}from"./AFBKMYU6.js";var _=t=>(...s)=>{let o=m(),e=new t(...s),r=e.exports;f(o.at(-1));let n=e.component.manager;n.W(e,r),e.watchExports(n.W.bind(n,e)),L(e);let a=[e.component,...o].reverse();return v(a,i=>i===void 0?void 0:M(e,i,r),r)},M=(t,{host:s,key:o,isReactive:e},r)=>{let n=s,a=n[o]!==t.exports,i=n[o]!==r,c=r!==t.exports;if(a&&!i&&c&&(n[o]=t.exports),s===t.component){if(e){let l=t.component.manager;i&&l.W(t,n[o]),t.onUpdate(u=>{if(u.has(o)){let y=n[o];y!==t.exports&&l.W(t,y)}})}t.O=e?void 0:o}let d=t.component.constructor.elementProperties.get(o)?.readOnly;t.watchExports(()=>{n[o]!==t.exports&&(d?O(()=>{n[o]=t.exports}):n[o]=t.exports)})};var S="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),T=new Set(S),h="en",U={pt:"pt-BR",nb:"no",nn:"no",zh:"zh-CN"},F=async(t,s,o="")=>{let e=`${s}/${o}`,r=`${e}${t}.json`;return j[r]??=D(t,e),await j[r]},j={},D=async(t,s)=>{let o=`${s}${t}.json`;try{let e=await fetch(o);if(e.ok)return await e.json()}catch(e){return g("error","intl",`An unknown error occurred while fetching localization strings at ${o}`,{detail:{error:e}}),{}}return t===h?{}:await D(h,s)},b=t=>{let s=$(t,"lang",globalThis.navigator?.language||h);return{lang:s,t9nLocale:V(s)}},V=t=>{let[s,o]=t.split("-"),e=s.toLowerCase(),r=e;return o&&(r=`${e}-${o.toUpperCase()}`),r=U[r]??r,T.has(r)?r:o?V(e):h},k=(t,s,o,e)=>{let r,n=()=>W(t,s(),e).then(a=>{(r?.lang!==a.lang||r.t9nLocale!==a.t9nLocale||r.t9nStrings!==a.t9nStrings)&&o(a),r=a}).catch(a=>{g("error","intl","Error updating component locale state",{detail:{error:a}})});return queueMicrotask(n),N(t,["lang"],n)},W=async(t,s,o=t.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:r}=b(t),n=`${s}/${o}/t9n`,i=o===null?{}:await F(r,n,"messages.");return{lang:e,t9nLocale:r,t9nStrings:i}};var K=t=>q(void 0,t);var E=class extends A{constructor(s,o){super(s);let e=this.exports;try{C(this.component);let r=o(this.component,this),n=this.exports!==e;if(x(r)){n||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r)}}catchUpLifecycle(){}},q=_(E);var nt=t=>(s={})=>K((o,e)=>{let r=b(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=o;e.onLifecycle(()=>k(o.el,()=>t("./assets"),({t9nLocale:c,t9nStrings:p,lang:d})=>{let l={...p,_lang:d,_t9nLocale:c,_loading:!1};e.exports=l;let u=p.componentLabel;typeof u=="string"&&"label"in o&&o.label==null&&(o.label??=u),i(a.messageOverrides)},s.name));let i=c=>{let p=e.exports,d=p._original??p,l=z(d,c);c&&(l._original=d),e.exports=l};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),z=(t,s)=>{if(!s)return t;let o={...t};return Object.entries(s).forEach(([e,r])=>{t[e]!==void 0&&(typeof r=="object"?o[e]=z(t[e],r):o[e]=r??t[e])}),o},at=t=>I,R="arcgisPropertyChange",I=(...t)=>{let s=P(),o=w(R,void 0,s),e=!0;return s.manager.onUpdated(r=>{if(e||!s.el.isConnected){e=!1;return}for(let n of t)r.has(n)&&o.emit({name:n})}),o};export{_ as a,nt as b,at as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{B as l,C as t,D as a,F as r,J as c,h as n,j as o,s as i}from"./AFBKMYU6.js";var d=n`:host{display:flex}:host([disabled]){opacity:.25;pointer-events:none}button{overflow:hidden;background-color:transparent;align-items:center;border:none;border-radius:0;box-sizing:border-box;cursor:pointer;display:flex;font-family:inherit;gap:var(--calcite-space-sm);height:100%;justify-content:center;outline-color:transparent;outline-offset:0;padding:3px 0;padding-inline:3px var(--calcite-space-sm);position:relative;text-decoration:none;user-select:none;text-align:center;-webkit-appearance:none;width:100%;&:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:var(--calcite-border-width-md)}&:hover{text-decoration:none}}.preview{border:var(--calcite-border-width-sm) solid #949494;display:flex;align-items:center;flex-grow:1}.container{display:flex;gap:5px;width:100%}::slotted([slot="preview"]){flex-grow:1;display:flex}calcite-icon{color:var(--calcite-color-text-3)}`,s=class extends a{constructor(){super(),this.panelEl=l(),this.open=!1,this.disabled=!1,this.iconEnd="pencil",this.label="",this.arcgisPopoverOpen=i(),this.arcgisPopoverClose=i(),this.listenOn(document.body,"arcgisPopoverOpen",this.onPopoverOpen)}static{this.properties={open:16,disabled:7,heading:1,iconEnd:1,intlDone:1,label:1,popoverProps:0}}static{this.styles=d}async close(e){this.onPopoverClose(e)}async setFocus(){this.buttonEl?.focus()}setPreviewContainerRef(e){this.previewContainerEl=e}setButtonRef(e){this.buttonEl=e}handlePopoverOpen(e){this.panelEl.value.closed=!1,this.arcgisPopoverOpen.emit(),e.stopPropagation()}handlePopoverKeyUp({key:e}){e==="Escape"&&this.onPopoverClose({focus:!0})}onPopoverOpen(e){this.open&&(e.composedPath().includes(this.el)||(this.open=!1))}onPopoverClose(e){this.open=!1,this.arcgisPopoverClose.emit(),e?.focus&&setTimeout(()=>this.buttonEl?.focus(),300)}handlePanelClose(e){e.stopPropagation(),this.onPopoverClose({focus:!0})}handleButtonClick(){this.open=!this.open,this.open&&setTimeout(()=>{this.panelEl.value?.setFocus()},300)}render(){let{popoverProps:e}=this;return o`<calcite-popover pointer-disabled trigger-disabled @keyup=${this.handlePopoverKeyUp} .label=${this.label} .offsetDistance=${e?.offsetDistance??0} .offsetSkidding=${e?.offsetSkidding??0} .flipDisabled=${e?.flipDisabled??!1} .open=${this.disabled?!1:this.open} .overlayPositioning=${e?.overlayPositioning??"fixed"} .placement=${e?.placement??"bottom"} @calcitePopoverOpen=${this.handlePopoverOpen} @calcitePopoverClose=${p=>p.stopPropagation()} .referenceElement=${e?.refElement??this.previewContainerEl}><calcite-panel closable .heading=${this.heading} style=${r(e?.maxHeight?{maxHeight:e.maxHeight}:void 0)} @calcitePanelClose=${this.handlePanelClose} ${t(this.panelEl)}><slot name=content></slot><calcite-button appearance=solid slot=footer width=full .label=${this.intlDone} @click=${()=>this.onPopoverClose({focus:!0})}>${this.intlDone}</calcite-button></calcite-panel></calcite-popover><div class="container"><div class="preview" ${t(this.setPreviewContainerRef)}><button .disabled=${this.disabled} @click=${this.handleButtonClick} type=button .ariaLabel=${this.label} ${t(this.setButtonRef)}><slot name=preview></slot>${this.iconEnd?o`<calcite-icon .icon=${this.iconEnd} scale=s></calcite-icon>`:null}</button></div><slot name=content-end></slot></div>`}};c("arcgis-picker-input",s);export{s as ArcgisPickerInput};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"بيت_Value Picker_____________لاحقة","next":"بيت_Next_________لاحقة","previous":"بيت_Previous_________________لاحقة","play":"بيت_Play_________لاحقة","pause":"بيت_Pause___________لاحقة"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"й_Value Picker_____________й","next":"й_Next_________й","previous":"й_Previous_________________й","play":"й_Play_________й","pause":"й_Pause___________й"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Č_Value Picker_____________ž","next":"Č_Next_________ž","previous":"Č_Previous_________________ž","play":"Č_Play_________ž","pause":"Č_Pause___________ž"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ó_Value Picker_____________à","next":"ó_Next_________à","previous":"ó_Previous_________________à","play":"ó_Play_________à","pause":"ó_Pause___________à"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Ř_Value Picker_____________ů","next":"Ř_Next_________ů","previous":"Ř_Previous_________________ů","play":"Ř_Play_________ů","pause":"Ř_Pause___________ů"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ø_Value Picker_____________å","next":"ø_Next_________å","previous":"ø_Previous_________________å","play":"ø_Play_________å","pause":"ø_Pause___________å"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ä_Value Picker_____________Ü","next":"ä_Next_________Ü","previous":"ä_Previous_________________Ü","play":"ä_Play_________Ü","pause":"ä_Pause___________Ü"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"π_Value Picker_____________Ω","next":"π_Next_________Ω","previous":"π_Previous_________________Ω","play":"π_Play_________Ω","pause":"π_Pause___________Ω"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Value Picker","next":"Next","previous":"Previous","play":"Play","pause":"Pause"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"á_Value Picker_____________Ó","next":"á_Next_________Ó","previous":"á_Previous_________________Ó","play":"á_Play_________Ó","pause":"á_Pause___________Ó"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Š_Value Picker_____________ä","next":"Š_Next_________ä","previous":"Š_Previous_________________ä","play":"Š_Play_________ä","pause":"Š_Pause___________ä"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Å_Value Picker_____________ö","next":"Å_Next_________ö","previous":"Å_Previous_________________ö","play":"Å_Play_________ö","pause":"Å_Pause___________ö"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"æ_Value Picker_____________Â","next":"æ_Next_________Â","previous":"æ_Previous_________________Â","play":"æ_Play_________Â","pause":"æ_Pause___________Â"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"כן_Value Picker_____________ש","next":"כן_Next_________ש","previous":"כן_Previous_________________ש","play":"כן_Play_________ש","pause":"כן_Pause___________ש"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Č_Value Picker_____________ž","next":"Č_Next_________ž","previous":"Č_Previous_________________ž","play":"Č_Play_________ž","pause":"Č_Pause___________ž"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"í_Value Picker_____________ő","next":"í_Next_________ő","previous":"í_Previous_________________ő","play":"í_Play_________ő","pause":"í_Pause___________ő"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ng_Value Picker_____________ny","next":"ng_Next_________ny","previous":"ng_Previous_________________ny","play":"ng_Play_________ny","pause":"ng_Pause___________ny"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"é_Value Picker_____________È","next":"é_Next_________È","previous":"é_Previous_________________È","play":"é_Play_________È","pause":"é_Pause___________È"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"須_Value Picker_____________鷗","next":"須_Next_________鷗","previous":"須_Previous_________________鷗","play":"須_Play_________鷗","pause":"須_Pause___________鷗"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"한_Value Picker_____________빠","next":"한_Next_________빠","previous":"한_Previous_________________빠","play":"한_Play_________빠","pause":"한_Pause___________빠"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Į_Value Picker_____________š","next":"Į_Next_________š","previous":"Į_Previous_________________š","play":"Į_Play_________š","pause":"Į_Pause___________š"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ķ_Value Picker_____________ū","next":"ķ_Next_________ū","previous":"ķ_Previous_________________ū","play":"ķ_Play_________ū","pause":"ķ_Pause___________ū"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"IJ_Value Picker_____________ä","next":"IJ_Next_________ä","previous":"IJ_Previous_________________ä","play":"IJ_Play_________ä","pause":"IJ_Pause___________ä"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"å_Value Picker_____________ø","next":"å_Next_________ø","previous":"å_Previous_________________ø","play":"å_Play_________ø","pause":"å_Pause___________ø"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ł_Value Picker_____________ą","next":"ł_Next_________ą","previous":"ł_Previous_________________ą","play":"ł_Play_________ą","pause":"ł_Pause___________ą"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ã_Value Picker_____________Ç","next":"ã_Next_________Ç","previous":"ã_Previous_________________Ç","play":"ã_Play_________Ç","pause":"ã_Pause___________Ç"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ã_Value Picker_____________Ç","next":"ã_Next_________Ç","previous":"ã_Previous_________________Ç","play":"ã_Play_________Ç","pause":"ã_Pause___________Ç"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Ă_Value Picker_____________ș","next":"Ă_Next_________ș","previous":"Ă_Previous_________________ș","play":"Ă_Play_________ș","pause":"Ă_Pause___________ș"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Ж_Value Picker_____________Я","next":"Ж_Next_________Я","previous":"Ж_Previous_________________Я","play":"Ж_Play_________Я","pause":"Ж_Pause___________Я"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ĺ_Value Picker_____________ľ","next":"ĺ_Next_________ľ","previous":"ĺ_Previous_________________ľ","play":"ĺ_Play_________ľ","pause":"ĺ_Pause___________ľ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Š_Value Picker_____________č","next":"Š_Next_________č","previous":"Š_Previous_________________č","play":"Š_Play_________č","pause":"Š_Pause___________č"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Č_Value Picker_____________ž","next":"Č_Next_________ž","previous":"Č_Previous_________________ž","play":"Č_Play_________ž","pause":"Č_Pause___________ž"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Å_Value Picker_____________ö","next":"Å_Next_________ö","previous":"Å_Previous_________________ö","play":"Å_Play_________ö","pause":"Å_Pause___________ö"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ก้_Value Picker_____________ษฺ","next":"ก้_Next_________ษฺ","previous":"ก้_Previous_________________ษฺ","play":"ก้_Play_________ษฺ","pause":"ก้_Pause___________ษฺ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ı_Value Picker_____________İ","next":"ı_Next_________İ","previous":"ı_Previous_________________İ","play":"ı_Play_________İ","pause":"ı_Pause___________İ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"ґ_Value Picker_____________Ї","next":"ґ_Next_________Ї","previous":"ґ_Previous_________________Ї","play":"ґ_Play_________Ї","pause":"ґ_Pause___________Ї"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"Đ_Value Picker_____________ớ","next":"Đ_Next_________ớ","previous":"Đ_Previous_________________ớ","play":"Đ_Play_________ớ","pause":"Đ_Pause___________ớ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"试_Value Picker_____________验","next":"试_Next_________验","previous":"试_Previous_________________验","play":"试_Play_________验","pause":"试_Pause___________验"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"試_Value Picker_____________驗","next":"試_Next_________驗","previous":"試_Previous_________________驗","play":"試_Play_________驗","pause":"試_Pause___________驗"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"componentLabel":"試_Value Picker_____________驗","next":"試_Next_________驗","previous":"試_Previous_________________驗","play":"試_Play_________驗","pause":"試_Pause___________驗"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"بيت_Value Picker Combobox______________________لاحقة"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"й_Value Picker Combobox______________________й"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Č_Value Picker Combobox______________________ž"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ó_Value Picker Combobox______________________à"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Ř_Value Picker Combobox______________________ů"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ø_Value Picker Combobox______________________å"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ä_Value Picker Combobox______________________Ü"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"π_Value Picker Combobox______________________Ω"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Value Picker Combobox"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"á_Value Picker Combobox______________________Ó"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Š_Value Picker Combobox______________________ä"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Å_Value Picker Combobox______________________ö"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"æ_Value Picker Combobox______________________Â"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"כן_Value Picker Combobox______________________ש"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Č_Value Picker Combobox______________________ž"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"í_Value Picker Combobox______________________ő"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ng_Value Picker Combobox______________________ny"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"é_Value Picker Combobox______________________È"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"須_Value Picker Combobox______________________鷗"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"한_Value Picker Combobox______________________빠"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Į_Value Picker Combobox______________________š"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ķ_Value Picker Combobox______________________ū"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"IJ_Value Picker Combobox______________________ä"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"å_Value Picker Combobox______________________ø"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ł_Value Picker Combobox______________________ą"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ã_Value Picker Combobox______________________Ç"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ã_Value Picker Combobox______________________Ç"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Ă_Value Picker Combobox______________________ș"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Ж_Value Picker Combobox______________________Я"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ĺ_Value Picker Combobox______________________ľ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Š_Value Picker Combobox______________________č"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Č_Value Picker Combobox______________________ž"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Å_Value Picker Combobox______________________ö"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ก้_Value Picker Combobox______________________ษฺ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ı_Value Picker Combobox______________________İ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"ґ_Value Picker Combobox______________________Ї"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"Đ_Value Picker Combobox______________________ớ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"试_Value Picker Combobox______________________验"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"試_Value Picker Combobox______________________驗"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comboboxLabel":"試_Value Picker Combobox______________________驗"}
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{I as i,x as e}from"./AFBKMYU6.js";var a=e(i,{"arcgis-ckeditor5":[()=>import("./3V5M7OHL.js"),"canResizeVertically,currentLanguage,customConfig,customExpressionCheck:,editorType,groupFieldsAndExpressions,intlExpressionsGroupHeading,intlFieldsGroupHeading,intlTextPlaceHolder,mentionFields:,readOnly,textData;getData,setFocus"],"arcgis-ckeditor5-popover":[()=>import("./LBD3GPSD.js"),"guid,intlCancel,intlLabel,intlOk,refElement:;reposition"],"arcgis-color-input":[()=>import("./PSITQBDP.js"),"_messages:,clearable,color,compact,disabled,hideRecentColors,messageOverrides:,placement,popoverProps:,showTransparency,storageId;close,setFocus;isOpen"],"arcgis-coordinate-system-picker":[()=>import("./77HZGUSC.js"),"_messages:,autoFilterToDefault,defaultWkid,filterEnabled,hideCategories:,value:;getSRDescription"],"arcgis-coordinate-system-picker-tree":[()=>import("./L5RMOAO3.js"),"data:,value"],"arcgis-field-info":[()=>import("./MCH3WQ4X.js"),"_messages:,fieldName,hideAlias,hideNumericFormat,hideStatistics,layer:,view:;refresh"],"arcgis-field-pick-list":[()=>import("./A3CISHRB.js"),"_messages:,customExpressionCheck:,expressionsGroupHeading,fields:,fieldsGroupHeading,filterNoResultsText,filterPlaceholderText,groupFieldsAndExpressions,heading,hideCancel,hideSort,layer:,listOnly,mapView:,multiple,okBtnText,popoverProps:,selectedFields:,showCancel,showDescription,showFieldInfo,showFieldName,showFieldTypeIcon,showFilterLength,showSelectionAll,showSort,sortBy,view:;reposition,setDisabled,setFocus"],"arcgis-histogram":[()=>import("./JPD7Z3MB.js"),"_messages:,average,bins:,colorBlendingEnabled,colorStops:,dataLines:,icon,label,layout,max,messageOverrides:,min,standardDeviation"],"arcgis-label-input":[()=>import("./2XA6O2MP.js"),"alignment,editing,labelFormatter:,readOnly,value;edit;getLabelBoundingClientRect"],"arcgis-picker-input":[()=>import("./XRARFMJ7.js"),"disabled,heading,iconEnd,intlDone,label,popoverProps:;close,setFocus"],"arcgis-ramp-color":[()=>import("./WEKRF34E.js"),"layout,max,min,stops:"],"arcgis-ramp-color-break":[()=>import("./VQLI4IE7.js"),"layout,max,min,stops:"],"arcgis-ramp-opacity":[()=>import("./MCZBUYS5.js"),"fillColor,layout,max,min,stops:"],"arcgis-slider":[()=>import("./LB7I345F.js"),"activeValue:,allowValuesOverlap,autoDestroyDisabled,disabled,fillPlacement,fullRangeMax,fullRangeMin,keyboardLargeStep,labelFormatter:,layout,max,messageOverrides:,messages:,min,mirrored,popoverLabel,popoverPlacement,precision,rangeLabelsEditingEnabled,rangeLabelsPlacement,segmentsDraggingDisabled,showRangeLabels,steps,valueLabelsDisplay,valueLabelsEditingEnabled,valueLabelsPlacement,values;destroy"],"arcgis-slider-input":[()=>import("./OBIWQRXY.js"),"disabled,flipLabels,label,max,min,scale,step,unitsLabel,value,withSteppers"],"arcgis-ticks":[()=>import("./TXYPZ6MB.js"),"interactive,interpolationExponent,labelFormatter:,labelPlacement,layout,max,min,mirrored,mode,showBaseline,showLabels,values"],"arcgis-unique-values-list":[()=>import("./5U5NQ3F5.js"),"_messages:,fieldName,layer:,maxHeight,multiple,numberFormatOptions:,partialUniqueValues,selectedValues:,showFilterLength,sortBy,uniqueValues:,view:,visualizationSource;getUniqueValues,setFocus"],"arcgis-value-picker":[()=>import("./4W7JZPB6.js"),"autoDestroyDisabled,disabled,hideNextButton,hidePlayButton,hidePreviousButton,icon,label,layout,loop,messages:,playRate,state:;destroy;next,pause,play,previous"],"arcgis-value-picker-collection":[()=>import("./3P53QRGS.js"),"autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,items:;destroy;reset,step"],"arcgis-value-picker-combobox":[()=>import("./L2JNUMXB.js"),"autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,disabled,items:,messages:;destroy;reset,step"],"arcgis-value-picker-label":[()=>import("./LKUOAV7B.js"),"autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue:,items:;destroy;reset,step"],"arcgis-value-picker-slider":[()=>import("./GVOQ2CB7.js"),"autoDestroyDisabled,canNext,canPlay,canPrevious,currentValue,disabled,labelFormatter:,labels:,layout,majorTicks:,max,min,minorTicks:,mirrored,steps:;destroy;reset,step"]});a({resourcesUrl:import.meta.url});var s=new CSSStyleSheet;s.replaceSync("@layer{:not([hydrated]):is(arcgis-ckeditor5,arcgis-ckeditor5-popover,arcgis-color-input,arcgis-coordinate-system-picker,arcgis-coordinate-system-picker-tree,arcgis-field-info,arcgis-field-pick-list,arcgis-histogram,arcgis-label-input,arcgis-picker-input,arcgis-ramp-color,arcgis-ramp-color-break,arcgis-ramp-opacity,arcgis-slider,arcgis-slider-input,arcgis-ticks,arcgis-unique-values-list,arcgis-value-picker,arcgis-value-picker-collection,arcgis-value-picker-combobox,arcgis-value-picker-label,arcgis-value-picker-slider){visibility:hidden}:root{--arcgis-ckeditor5-initial-height: 30vh;--arcgis-ckeditor5-max-width: 35vw;--arcgis-ckeditor5-mentions-max-width: 33vw;--arcgis-coordinate-system-picker-height: 45vh;--arcgis-coordinate-system-picker-min-width: 20rem;--arcgis-coordinate-system-picker-max-width: 27rem}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,s];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,i)
|
package/dist/cdn/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer{:not([hydrated]):is(arcgis-ckeditor5,arcgis-ckeditor5-popover,arcgis-color-input,arcgis-coordinate-system-picker,arcgis-coordinate-system-picker-tree,arcgis-field-info,arcgis-field-pick-list,arcgis-histogram,arcgis-label-input,arcgis-picker-input,arcgis-ramp-color,arcgis-ramp-color-break,arcgis-ramp-opacity,arcgis-slider,arcgis-slider-input,arcgis-ticks,arcgis-unique-values-list){visibility:hidden}:root{--arcgis-ckeditor5-initial-height: 30vh;--arcgis-ckeditor5-max-width: 35vw;--arcgis-ckeditor5-mentions-max-width: 33vw;--arcgis-coordinate-system-picker-height: 45vh;--arcgis-coordinate-system-picker-min-width: 20rem;--arcgis-coordinate-system-picker-max-width: 27rem}}
|
|
1
|
+
@layer{:not([hydrated]):is(arcgis-ckeditor5,arcgis-ckeditor5-popover,arcgis-color-input,arcgis-coordinate-system-picker,arcgis-coordinate-system-picker-tree,arcgis-field-info,arcgis-field-pick-list,arcgis-histogram,arcgis-label-input,arcgis-picker-input,arcgis-ramp-color,arcgis-ramp-color-break,arcgis-ramp-opacity,arcgis-slider,arcgis-slider-input,arcgis-ticks,arcgis-unique-values-list,arcgis-value-picker,arcgis-value-picker-collection,arcgis-value-picker-combobox,arcgis-value-picker-label,arcgis-value-picker-slider){visibility:hidden}:root{--arcgis-ckeditor5-initial-height: 30vh;--arcgis-ckeditor5-max-width: 35vw;--arcgis-ckeditor5-mentions-max-width: 33vw;--arcgis-coordinate-system-picker-height: 45vh;--arcgis-coordinate-system-picker-min-width: 20rem;--arcgis-coordinate-system-picker-max-width: 27rem}}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as n } from "lit/directives/keyed.js";
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
4
|
+
import { LitElement as u, createEvent as i } from "@arcgis/lumina";
|
|
5
|
+
import { css as m, render as g, html as s, svg as f } from "lit";
|
|
6
6
|
import { createRef as w, ref as a } from "lit/directives/ref.js";
|
|
7
7
|
import { unsafeGetElementDirection as v } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { debounce as E } from "@arcgis/toolkit/function";
|
|
@@ -14,8 +14,8 @@ function y(l, e) {
|
|
|
14
14
|
const o = window.localStorage.getItem(l);
|
|
15
15
|
return o && e ? JSON.parse(o) : o;
|
|
16
16
|
}
|
|
17
|
-
const S =
|
|
18
|
-
class I extends
|
|
17
|
+
const S = m`:host,arcgis-picker-input{display:block}.color-picker-container{display:flex;flex-direction:column}.color-picker{--calcite-color-border-1: transparent;overflow-x:hidden}.preview-swatch{width:100%;height:24px}.recent-colors-container{align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-input);display:flex;gap:var(--calcite-space-sm);height:32px;padding:0 var(--calcite-space-xs);transition:outline-offset .1s ease-in-out,outline-color .1s ease-in-out}.preview-recent-swatch{cursor:pointer}.recent-colors-container:focus,.preview-recent-swatch:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:var(--calcite-border-width-md)}.empty-swatch{cursor:default}.end-action{display:flex}`;
|
|
18
|
+
class I extends u {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(), this._messages = k(), this.actionEl = w(), this.open = !1, this.setRecentColorElement = (e) => (o) => {
|
|
21
21
|
switch (e) {
|
|
@@ -37,7 +37,7 @@ class I extends m {
|
|
|
37
37
|
this.styles = S;
|
|
38
38
|
}
|
|
39
39
|
async close() {
|
|
40
|
-
await this.inlineInputEl?.close();
|
|
40
|
+
await this.inlineInputEl?.close({ focus: !1 });
|
|
41
41
|
}
|
|
42
42
|
async setFocus() {
|
|
43
43
|
await this.inlineInputEl?.setFocus();
|
|
@@ -29,8 +29,12 @@ export abstract class ArcgisPickerInput extends LitElement {
|
|
|
29
29
|
accessor label: string;
|
|
30
30
|
/** Convenience prop to specify common popover props. */
|
|
31
31
|
accessor popoverProps: PopoverProps | undefined;
|
|
32
|
-
/**
|
|
33
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Close the component.
|
|
34
|
+
*
|
|
35
|
+
* @param options
|
|
36
|
+
*/
|
|
37
|
+
close(options?: { focus: boolean; }): Promise<void>;
|
|
34
38
|
/** Set focus on the component. */
|
|
35
39
|
setFocus(): Promise<void>;
|
|
36
40
|
/** Emitted when the component has been closed. */
|
|
@@ -14,8 +14,8 @@ class d extends a {
|
|
|
14
14
|
static {
|
|
15
15
|
this.styles = p;
|
|
16
16
|
}
|
|
17
|
-
async close() {
|
|
18
|
-
this.onPopoverClose();
|
|
17
|
+
async close(e) {
|
|
18
|
+
this.onPopoverClose(e);
|
|
19
19
|
}
|
|
20
20
|
async setFocus() {
|
|
21
21
|
this.buttonEl?.focus();
|
|
@@ -30,16 +30,16 @@ class d extends a {
|
|
|
30
30
|
this.panelEl.value.closed = !1, this.arcgisPopoverOpen.emit(), e.stopPropagation();
|
|
31
31
|
}
|
|
32
32
|
handlePopoverKeyUp({ key: e }) {
|
|
33
|
-
e === "Escape" && this.onPopoverClose();
|
|
33
|
+
e === "Escape" && this.onPopoverClose({ focus: !0 });
|
|
34
34
|
}
|
|
35
35
|
onPopoverOpen(e) {
|
|
36
36
|
this.open && (e.composedPath().includes(this.el) || (this.open = !1));
|
|
37
37
|
}
|
|
38
|
-
onPopoverClose() {
|
|
39
|
-
this.open = !1, this.arcgisPopoverClose.emit(), setTimeout(() => this.buttonEl?.focus(), 300);
|
|
38
|
+
onPopoverClose(e) {
|
|
39
|
+
this.open = !1, this.arcgisPopoverClose.emit(), e?.focus && setTimeout(() => this.buttonEl?.focus(), 300);
|
|
40
40
|
}
|
|
41
41
|
handlePanelClose(e) {
|
|
42
|
-
e.stopPropagation(), this.onPopoverClose();
|
|
42
|
+
e.stopPropagation(), this.onPopoverClose({ focus: !0 });
|
|
43
43
|
}
|
|
44
44
|
handleButtonClick() {
|
|
45
45
|
this.open = !this.open, this.open && setTimeout(() => {
|
|
@@ -48,7 +48,7 @@ class d extends a {
|
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
50
|
const { popoverProps: e } = this;
|
|
51
|
-
return o`<calcite-popover pointer-disabled trigger-disabled @keyup=${this.handlePopoverKeyUp} .label=${this.label} .offsetDistance=${e?.offsetDistance ?? 0} .offsetSkidding=${e?.offsetSkidding ?? 0} .flipDisabled=${e?.flipDisabled ?? !1} .open=${this.disabled ? !1 : this.open} .overlayPositioning=${e?.overlayPositioning ?? "fixed"} .placement=${e?.placement ?? "bottom"} @calcitePopoverOpen=${this.handlePopoverOpen} @calcitePopoverClose=${(s) => s.stopPropagation()} .referenceElement=${e?.refElement ?? this.previewContainerEl}><calcite-panel closable .heading=${this.heading} style=${r(e?.maxHeight ? { maxHeight: e.maxHeight } : void 0)} @calcitePanelClose=${this.handlePanelClose} ${t(this.panelEl)}><slot name=content></slot><calcite-button appearance=solid slot=footer width=full .label=${this.intlDone} @click=${this.onPopoverClose}>${this.intlDone}</calcite-button></calcite-panel></calcite-popover><div class="container"><div class="preview" ${t(this.setPreviewContainerRef)}><button .disabled=${this.disabled} @click=${this.handleButtonClick} type=button .ariaLabel=${this.label} ${t(this.setButtonRef)}><slot name=preview></slot>${this.iconEnd ? o`<calcite-icon .icon=${this.iconEnd} scale=s></calcite-icon>` : null}</button></div><slot name=content-end></slot></div>`;
|
|
51
|
+
return o`<calcite-popover pointer-disabled trigger-disabled @keyup=${this.handlePopoverKeyUp} .label=${this.label} .offsetDistance=${e?.offsetDistance ?? 0} .offsetSkidding=${e?.offsetSkidding ?? 0} .flipDisabled=${e?.flipDisabled ?? !1} .open=${this.disabled ? !1 : this.open} .overlayPositioning=${e?.overlayPositioning ?? "fixed"} .placement=${e?.placement ?? "bottom"} @calcitePopoverOpen=${this.handlePopoverOpen} @calcitePopoverClose=${(s) => s.stopPropagation()} .referenceElement=${e?.refElement ?? this.previewContainerEl}><calcite-panel closable .heading=${this.heading} style=${r(e?.maxHeight ? { maxHeight: e.maxHeight } : void 0)} @calcitePanelClose=${this.handlePanelClose} ${t(this.panelEl)}><slot name=content></slot><calcite-button appearance=solid slot=footer width=full .label=${this.intlDone} @click=${() => this.onPopoverClose({ focus: !0 })}>${this.intlDone}</calcite-button></calcite-panel></calcite-popover><div class="container"><div class="preview" ${t(this.setPreviewContainerRef)}><button .disabled=${this.disabled} @click=${this.handleButtonClick} type=button .ariaLabel=${this.label} ${t(this.setButtonRef)}><slot name=preview></slot>${this.iconEnd ? o`<calcite-icon .icon=${this.iconEnd} scale=s></calcite-icon>` : null}</button></div><slot name=content-end></slot></div>`;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
n("arcgis-picker-input", d);
|