@arcgis/common-components 5.2.0-next.128 → 5.2.0-next.129
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/{6I3L4CHP.js → 2E2QBY2J.js} +1 -1
- package/dist/cdn/{M6O7RB6H.js → 2IDDI3CL.js} +1 -1
- package/dist/cdn/{UWPFI3FM.js → 4LQHU5XS.js} +1 -1
- package/dist/cdn/{2JWLNXKK.js → 5DN7BGGJ.js} +1 -1
- package/dist/cdn/{LBL5JX7I.js → 5ESJPPJ3.js} +1 -1
- package/dist/cdn/{O5G3GGFN.js → 6KPYL34Q.js} +1 -1
- package/dist/cdn/{RQ3SFMWQ.js → A5NQGETV.js} +1 -1
- package/dist/cdn/{MFZWVZ4J.js → BU4CQ2UT.js} +1 -1
- package/dist/cdn/{DNDGMNQ6.js → DBBRUMRI.js} +1 -1
- package/dist/cdn/{3MUDYCFO.js → DE72K2VB.js} +1 -1
- package/dist/cdn/{DCYRAXUQ.js → EPTIOSEA.js} +1 -1
- package/dist/cdn/{IACFLMRY.js → FSIEKVKO.js} +1 -1
- package/dist/cdn/{XW5OA5GP.js → H4Q2JVNO.js} +1 -1
- package/dist/cdn/{74O35VVO.js → IFXBIZ77.js} +1 -1
- package/dist/cdn/{LJOJ4WBJ.js → KWLXXTWN.js} +1 -1
- package/dist/cdn/{JCJJMHY2.js → LON5GSEV.js} +1 -1
- package/dist/cdn/{RMDZMV2W.js → LZ4RIDXD.js} +1 -1
- package/dist/cdn/{AI7WAXLA.js → MXGA3EHW.js} +1 -1
- package/dist/cdn/{TEBL4RES.js → NP3R6HKT.js} +1 -1
- package/dist/cdn/{ACMKI55V.js → NPVQBA5D.js} +1 -1
- package/dist/cdn/{JIXVIP6C.js → RMIP56UK.js} +1 -1
- package/dist/cdn/{SDNHLWH7.js → VYLXSYY4.js} +1 -1
- package/dist/cdn/{NTYPSPGN.js → WG2YHQHU.js} +1 -1
- package/dist/cdn/{2GHZKJ5F.js → WJQZVHBV.js} +1 -1
- package/dist/cdn/{HVJ2CATW.js → Y2G4R4SG.js} +1 -1
- package/dist/cdn/{VUA2TP4G.js → YNJHUBFL.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +5 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as i}from"./UGWLCTVM.js";import{a as u,b as m}from"./M3SD6ANM.js";import{f as g}from"./
|
|
2
|
+
import{a as i}from"./UGWLCTVM.js";import{a as u,b as m}from"./M3SD6ANM.js";import{f as g}from"./H4Q2JVNO.js";import{J as o,K as a,L as d,M as e,O as p,R as h,h as l,j as n,t as s,w as c}from"./HS7W72ER.js";var v=l`.arcgis-app-ckeditor-popover-footer{display:flex;justify-content:flex-end;margin-top:var(--calcite-space-sm);padding:0 var(--calcite-space-lg)}.arcgis-app-ckeditor-popover-container{margin:0 var(--calcite-space-md) 0 0;padding-bottom:var(--calcite-space-lg);box-shadow:val(--calcite-shadow-1)}`,r=class extends d{constructor(){super(),this.okButton=o(),this.popoverNode=o(),this._propWatcherTask=new u(this,{task:async([t])=>{if(!m(t)){console.error("[ckeditor5] Required properties are missing.");return}},args:()=>[this.refElement]}),this.guid=c(),this.intlOk="Ok",this.intlCancel="Cancel",this.arcgisCkeditor5PopoverClosed=s(),this.arcgisPopoverClosed=s(),this.listen("arcgisCreated",this.afterEditorCreated),this.listen("arcgisSourceEditingChanged",this.onSourceEditingStatusChanged)}static{this.properties={guid:1,refElement:0,intlOk:1,intlCancel:1,intlLabel:1}}static{this.styles=v}async reposition(){this.popoverNode.value?.reposition()}afterEditorCreated(t){this.editor=t.target,this.reposition(),this.requestUpdate()}onSourceEditingStatusChanged(t){this.okButton.value&&(this.okButton.value.disabled=t.detail)}render(){return this.el.classList.add("js-app-flyout"),this._propWatcherTask.render({complete:()=>n`<calcite-popover class=${e(i.popover)} dir=${g(this.el)??p} placement=leading-start open pointer-disabled .referenceElement=${this.refElement} .offsetDistance=${-Math.round(this.refElement.getBoundingClientRect().width)} offset-skidding=50 .label=${this.intlLabel??""} focus-trap-disabled trigger-disabled top-layer-disabled ${a(this.popoverNode)}><div class=${e(i.arcgisAppCkeditorPopoverContainer)}><slot></slot><div class=${e(i.arcgisAppCkeditorPopoverFooter)}><calcite-button .label=${this.intlOk} @click=${async t=>{this.okButton.value?.disabled||(t.stopPropagation(),this.arcgisCkeditor5PopoverClosed.emit({guid:this.guid,data:await this.editor?.getData()}),this.arcgisPopoverClosed.emit({guid:this.guid,data:await this.editor?.getData()}))}} ${a(this.okButton)}>${this.intlOk}</calcite-button><calcite-button appearance=outline-fill .label=${this.intlCancel} @click=${t=>{t.stopPropagation(),this.arcgisCkeditor5PopoverClosed.emit({guid:this.guid}),this.arcgisPopoverClosed.emit({guid:this.guid})}}>${this.intlCancel}</calcite-button></div></div></calcite-popover>`})}};h("arcgis-ckeditor5-popover",r);export{r as ArcgisCkeditor5Popover};
|