Custom Gis Application with Arcgis Javascript API with modern layouting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
6.8 KiB

// All material copyright Esri, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.30/esri/copyright.txt for details.
//>>built
define("exports ./componentsUtils ./dom ./interactive ./loadable ./locale ./t9n ./panel ./action ./action-menu ./icon ./loader ./popover ./scrim".split(" "),function(h,b,t,f,k,n,g,c,u,v,w,x,y,z){function p(){"undefined"!==typeof customElements&&"calcite-flow-item calcite-action calcite-action-menu calcite-icon calcite-loader calcite-panel calcite-popover calcite-scrim".split(" ").forEach(a=>{switch(a){case "calcite-flow-item":customElements.get(a)||customElements.define(a,q);break;case "calcite-action":customElements.get(a)||
u.defineCustomElement();break;case "calcite-action-menu":customElements.get(a)||v.defineCustomElement();break;case "calcite-icon":customElements.get(a)||w.defineCustomElement();break;case "calcite-loader":customElements.get(a)||x.defineCustomElement();break;case "calcite-panel":customElements.get(a)||c.defineCustomElement();break;case "calcite-popover":customElements.get(a)||y.defineCustomElement();break;case "calcite-scrim":customElements.get(a)||z.defineCustomElement()}})}const q=b.proxyCustomElement(class extends b.H{constructor(){super();
this.__registerHost();this.__attachShadow();this.calciteFlowItemBack=b.createEvent(this,"calciteFlowItemBack",7);this.calciteFlowItemScroll=b.createEvent(this,"calciteFlowItemScroll",6);this.calciteFlowItemClose=b.createEvent(this,"calciteFlowItemClose",6);this.calciteFlowItemToggle=b.createEvent(this,"calciteFlowItemToggle",6);this.handlePanelScroll=a=>{a.stopPropagation();this.calciteFlowItemScroll.emit()};this.handlePanelClose=a=>{a.stopPropagation();this.calciteFlowItemClose.emit()};this.handlePanelToggle=
a=>{a.stopPropagation();this.collapsed=a.target.collapsed;this.calciteFlowItemToggle.emit()};this.backButtonClick=()=>{this.calciteFlowItemBack.emit()};this.setBackRef=a=>{this.backButtonEl=a};this.setContainerRef=a=>{this.containerEl=a};this.collapsed=this.closed=this.closable=!1;this.collapseDirection="down";this.collapsible=!1;this.description=this.beforeBack=void 0;this.disabled=!1;this.headingLevel=this.heading=void 0;this.menuOpen=this.loading=!1;this.messages=this.messageOverrides=void 0;this.overlayPositioning=
"absolute";this.showBackButton=!1;this.defaultMessages=void 0;this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){f.connectInteractive(this);n.connectLocalized(this);g.connectMessages(this)}async componentWillLoad(){await g.setUpMessages(this);k.setUpLoadableComponent(this)}componentDidRender(){f.updateHostInteraction(this)}disconnectedCallback(){f.disconnectInteractive(this);n.disconnectLocalized(this);g.disconnectMessages(this)}componentDidLoad(){k.setComponentLoaded(this)}effectiveLocaleChange(){g.updateMessages(this,
this.effectiveLocale)}async setFocus(){await k.componentFocusable(this);const {backButtonEl:a,containerEl:d}=this;if(a)return a.setFocus();if(d)return d.setFocus()}async scrollContentTo(a){await this.containerEl?.scrollContentTo(a)}renderBackButton(){var {el:a}=this;a="rtl"===t.getElementDir(a);const {showBackButton:d,backButtonClick:l,messages:m}=this,e=m.back;return d?b.h("calcite-action",{"aria-label":e,class:"back-button",icon:a?"chevron-right":"chevron-left",key:"flow-back-button",onClick:l,
scale:"s",slot:"header-actions-start",text:e,title:e,ref:this.setBackRef}):null}render(){const {collapsed:a,collapseDirection:d,collapsible:l,closable:m,closed:e,description:A,disabled:r,heading:B,headingLevel:C,loading:D,menuOpen:E,messages:F,overlayPositioning:G}=this;return b.h(b.Host,{key:"ab926d381ff2493f3fd49a5c8724260211d69ca9"},b.h(f.InteractiveContainer,{key:"6799b56c2116de5e08739ddc2ec1557bd291f3f8",disabled:r},b.h("calcite-panel",{key:"2e438b8abf573eabaaa2e966dcca5c4843a53cba",closable:m,
closed:e,collapseDirection:d,collapsed:a,collapsible:l,description:A,disabled:r,heading:B,headingLevel:C,loading:D,menuOpen:E,messageOverrides:F,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,onCalcitePanelToggle:this.handlePanelToggle,overlayPositioning:G,ref:this.setContainerRef},this.renderBackButton(),b.h("slot",{key:"39b650abdf64df16f535d45f64dc1b367acfcc9e",name:"action-bar",slot:c.SLOTS.actionBar}),b.h("slot",{key:"5b36c56874ad762f842c81f9ffbdcdbd3168cf75",
name:"header-actions-start",slot:c.SLOTS.headerActionsStart}),b.h("slot",{key:"2dbf552425d238a4479a12bbec79571d11124577",name:"header-actions-end",slot:c.SLOTS.headerActionsEnd}),b.h("slot",{key:"2dd0a30236844c91c2cf10a9fbacbe9935ea234c",name:"header-content",slot:c.SLOTS.headerContent}),b.h("slot",{key:"1b025f746e2e7d58fb057aab36b24e46872e607e",name:"header-menu-actions",slot:c.SLOTS.headerMenuActions}),b.h("slot",{key:"5dd5986e93dcc11e0b0fade6822814b160053c70",name:"fab",slot:c.SLOTS.fab}),b.h("slot",
{key:"e7cf2702cd2e423d07a8a8ac57c142bc4738b3ef",name:"footer-actions",slot:c.SLOTS.footerActions}),b.h("slot",{key:"e2561d89aaebe4fbb82b1f546551d05ebb23b0bf",name:"footer",slot:c.SLOTS.footer}),b.h("slot",{key:"fb6bf40456038f84486b2858765bb9d147800e84"}))))}static get assetsDirs(){return["assets"]}get el(){return this}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}static get style(){return":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}"}},
[1,"calcite-flow-item",{closable:[516],closed:[516],collapsed:[516],collapseDirection:[1,"collapse-direction"],collapsible:[516],beforeBack:[16],description:[1],disabled:[516],heading:[1],headingLevel:[514,"heading-level"],loading:[516],menuOpen:[516,"menu-open"],messageOverrides:[1040],messages:[1040],overlayPositioning:[513,"overlay-positioning"],showBackButton:[4,"show-back-button"],defaultMessages:[32],effectiveLocale:[32],setFocus:[64],scrollContentTo:[64]},void 0,{messageOverrides:["onMessagesChange"],
effectiveLocale:["effectiveLocaleChange"]}]);p();h.CalciteFlowItem=q;h.defineCustomElement=p;Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});