@arcgis/map-components 5.1.0-next.17 → 5.1.0-next.19
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/{US7LKUHP.js → 25C2WYON.js} +1 -1
- package/dist/cdn/{CJX4GSEZ.js → 2F4VMURG.js} +1 -1
- package/dist/cdn/{B4IPMHN5.js → 2ZPMEF52.js} +1 -1
- package/dist/cdn/{PJHO2DXQ.js → 4IATWN2B.js} +1 -1
- package/dist/cdn/{7U4AFNWK.js → 5EEHZIM7.js} +1 -1
- package/dist/cdn/{OJCZ3DV5.js → 6747ZUJC.js} +1 -1
- package/dist/cdn/{JSISELHB.js → AOYK64AS.js} +1 -1
- package/dist/cdn/{X35NN2TZ.js → CQZVPPYJ.js} +1 -1
- package/dist/cdn/{LYJM7ALP.js → D3NPU6MI.js} +1 -1
- package/dist/cdn/{I4SD3GKU.js → F7S63XRR.js} +1 -1
- package/dist/cdn/{ANLNLB7F.js → IM47JQ76.js} +1 -1
- package/dist/cdn/NOP2E6CA.js +2 -0
- package/dist/cdn/{DWW7KAMQ.js → UH33CM5U.js} +1 -1
- package/dist/cdn/{L6E647YW.js → WHGU6HOR.js} +1 -1
- package/dist/cdn/{BGOWWLCQ.js → YC562S5E.js} +1 -1
- package/dist/cdn/{IVHQAQZW.js → YUE7PKLG.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-daylight/customElement.d.ts +5 -5
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-expression/customElement.js +23 -26
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.d.ts +9 -6
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-legend/customElement.d.ts +10 -10
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -3
- package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +2 -5
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +1 -1
- package/dist/components/arcgis-paste/customElement.js +51 -47
- package/dist/components/arcgis-popup/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -6
- package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
- package/dist/components/arcgis-search/customElement.d.ts +6 -7
- package/dist/components/arcgis-search/types.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +7 -7
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +8 -9
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -3
- package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +0 -2
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -16
- package/dist/components/arcgis-version-management/types.d.ts +15 -0
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +17 -17
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -5
- package/dist/components/arcgis-zoom/types.d.ts +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/loader.js +9 -9
- package/dist/types/lumina.d.ts +8 -8
- package/dist/types/preact.d.ts +8 -8
- package/dist/types/react.d.ts +8 -8
- package/dist/types/stencil.d.ts +8 -8
- package/package.json +4 -4
- package/dist/cdn/SKUQ3U6A.js +0 -2
|
@@ -5,6 +5,7 @@ import type TemplateItemGroup from "@arcgis/core/widgets/FeatureTemplates/Templa
|
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
7
|
import type { SelectEvent, FeatureTemplatesViewModelState } from "@arcgis/core/widgets/FeatureTemplates/FeatureTemplatesViewModel.js";
|
|
8
|
+
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
8
9
|
import type { Filter, GroupByType } from "@arcgis/core/widgets/FeatureTemplates/types.js";
|
|
9
10
|
import type { HeadingLevel } from "@arcgis/core/widgets/support/types.js";
|
|
10
11
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
@@ -37,7 +38,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
37
38
|
* an object containing a [name](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTemplates/TemplateItem/#label)
|
|
38
39
|
* property of the [template item](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTemplates/TemplateItem/).
|
|
39
40
|
*
|
|
40
|
-
* 
|
|
41
42
|
*
|
|
42
43
|
* @example
|
|
43
44
|
* // Filter and display templates only if their labels contain the word `Street`
|
|
@@ -69,10 +70,10 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
69
70
|
*
|
|
70
71
|
* Type | Description | Example
|
|
71
72
|
* ----- | ----------- | -------
|
|
72
|
-
* layer | This is the *default* grouping. Groups template items by layers. |  | Custom function that takes an object containing a [FeatureTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureTemplate/) and [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/). | 
|
|
74
|
+
* geometry | Groups template items by geometry type. | 
|
|
75
|
+
* none | The component displays everything in one list with no grouping. | 
|
|
76
|
+
* [GroupByFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTemplates/types/#GroupByFunction) | Custom function that takes an object containing a [FeatureTemplate](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureTemplate/) and [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/). | 
|
|
76
77
|
*
|
|
77
78
|
* @default "layer"
|
|
78
79
|
* @example
|
|
@@ -113,7 +114,7 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
113
114
|
accessor headingLevel: HeadingLevel;
|
|
114
115
|
/**
|
|
115
116
|
* Indicates whether the templates filter displays.
|
|
116
|
-
* 
|
|
117
118
|
*
|
|
118
119
|
* @default false
|
|
119
120
|
* @since 5.0
|
|
@@ -185,6 +186,8 @@ export abstract class ArcgisFeatureTemplates extends LitElement {
|
|
|
185
186
|
* @default "disabled"
|
|
186
187
|
*/
|
|
187
188
|
get state(): FeatureTemplatesViewModelState;
|
|
189
|
+
/** A reference to the MapView or SceneView. */
|
|
190
|
+
accessor view: MapViewOrSceneView | null | undefined;
|
|
188
191
|
/** Permanently destroy the component. */
|
|
189
192
|
destroy(): Promise<void>;
|
|
190
193
|
/**
|
|
@@ -9,10 +9,10 @@ import { css as n } from "lit";
|
|
|
9
9
|
const c = n`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-item-list{width:100%}.esri-item-list__filter-container--sticky{z-index:1;position:sticky;top:0}.esri-item-list__group{margin-top:12px}.esri-item-list__scroller{overflow-y:auto}.esri-item-list__scroller{z-index:0;position:relative}.esri-item-list__scroller--enabled{max-height:420px}.esri-item-list__group__header{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-medium)}.esri-item-list__list-item{cursor:pointer;min-height:32px}.esri-item-list__list-item[class^=esri-icon-],.esri-item-list__list-item[class*=" esri-icon-"]{padding-inline-end:2.8px}.esri-item-list__list-item--disabled{cursor:default}.esri-item-list__list-item-icon{justify-content:center;align-items:center;min-width:32px;height:32px;display:flex}.esri-item-list__list-item-icon span{line-height:0}.esri-thumbnail-preview{background-position:50%;width:22px;height:22px}.esri-item-list__no-matches-message{justify-content:center;align-items:center;height:96px;display:flex}.esri-feature-templates{background:var(--calcite-color-background);width:100%}.esri-feature-templates__list-item-icon{flex:0;justify-content:center;align-items:center;width:48px;min-width:48px;display:flex}.esri-feature-templates__list-item-icon>div{display:flex}.esri-ui .esri-feature-templates{width:300px}.esri-ui .esri-widget .esri-feature-templates{width:100%}.esri-feature-templates .esri-item-list__scroller--enabled{max-height:var(--arcgis-feature-templates-max-list-height, 420px)}`, d = l(o);
|
|
10
10
|
class g extends s {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.enableListScroll = this.widget.enableListScroll, this.filterFunction = this.widget.filterFunction, this.filterText = this.widget.filterText, this.groupBy = this.widget.groupBy, this.headingLevel = this.widget.headingLevel, this.hideFilter = this.widget.visibleElements.filter, this.disabledItemFunction = this.viewModel.disabledItemFunction, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.selectionMode = this.widget.selectionMode, this.state = this.viewModel.state, this.items = this.viewModel.items, this.selectedItem = this.viewModel.selectedItem, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisSelect = r(() => this.widget, "select");
|
|
12
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.enableListScroll = this.widget.enableListScroll, this.filterFunction = this.widget.filterFunction, this.filterText = this.widget.filterText, this.groupBy = this.widget.groupBy, this.headingLevel = this.widget.headingLevel, this.hideFilter = this.widget.visibleElements.filter, this.disabledItemFunction = this.viewModel.disabledItemFunction, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.selectionMode = this.widget.selectionMode, this.state = this.viewModel.state, this.items = this.viewModel.items, this.selectedItem = this.viewModel.selectedItem, this.view = this.viewModel.view, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisSelect = r(() => this.widget, "select");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { autoDestroyDisabled: 5, enableListScroll: 5, filterFunction: 0, filterText: 1, groupBy: 1, headingLevel: 9, hideFilter: 5, disabledItemFunction: 0, icon: 1, label: 1, layers: 0, referenceElement: 1, selectionMode: 1, state: 32, items: 32, selectedItem: 32 };
|
|
15
|
+
this.properties = { autoDestroyDisabled: 5, enableListScroll: 5, filterFunction: 0, filterText: 1, groupBy: 1, headingLevel: 9, hideFilter: 5, disabledItemFunction: 0, icon: 1, label: 1, layers: 0, referenceElement: 1, selectionMode: 1, state: 32, items: 32, selectedItem: 32, view: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -105,12 +105,12 @@ export abstract class ArcgisHome extends LitElement {
|
|
|
105
105
|
* ```js
|
|
106
106
|
* // Create viewpoint centered on extent of a polygon geometry
|
|
107
107
|
*
|
|
108
|
-
* let
|
|
108
|
+
* let viewpoint = new Viewpoint({
|
|
109
109
|
* targetGeometry: geom.extent
|
|
110
110
|
* });
|
|
111
111
|
*
|
|
112
112
|
* // Sets the Home's viewpoint to that Viewpoint
|
|
113
|
-
* home.viewpoint =
|
|
113
|
+
* home.viewpoint = viewpoint;
|
|
114
114
|
* ```
|
|
115
115
|
*/
|
|
116
116
|
accessor viewpoint: null | undefined | Viewpoint;
|
|
@@ -409,8 +409,8 @@ export abstract class ArcgisLayerList extends LitElement {
|
|
|
409
409
|
*
|
|
410
410
|
* | Value | Description | Example |
|
|
411
411
|
* | ----- | ----------- | ------- |
|
|
412
|
-
* | default | Displays view icons on the far side. Icons are hidden except on hover or if they have keyboard focus. See [view-visible](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-visible&library=Calcite%20UI&query=view) and [view-hide](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-hide&library=Calcite%20UI&query=view) calcite icons. |  and [square](https://developers.arcgis.com/calcite-design-system/icons/?icon=square&library=Calcite%20UI&query=square) calcite icons. |  and [view-hide](https://developers.arcgis.com/calcite-design-system/icons/?icon=view-hide&library=Calcite%20UI&query=view) calcite icons. |  |
|
|
413
|
+
* | checkbox | Displays checkbox icons on the near side. See [check-square-f](https://developers.arcgis.com/calcite-design-system/icons/?icon=check-square-f&library=Calcite%20UI&query=check) and [square](https://developers.arcgis.com/calcite-design-system/icons/?icon=square&library=Calcite%20UI&query=square) calcite icons. |  |
|
|
414
414
|
*
|
|
415
415
|
* @default "default"
|
|
416
416
|
* @since 4.29
|
|
@@ -42,35 +42,35 @@ import type { LegendViewModelState } from "@arcgis/core/widgets/Legend/LegendVie
|
|
|
42
42
|
*
|
|
43
43
|
* ### Unique values
|
|
44
44
|
*
|
|
45
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/visualization-location-types/)
|
|
46
46
|
*
|
|
47
47
|
* ### Continuous color
|
|
48
48
|
*
|
|
49
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/visualization-vv-color/)
|
|
50
50
|
*
|
|
51
51
|
* ### Classed color
|
|
52
52
|
*
|
|
53
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/visualization-classbreaks/)
|
|
54
54
|
*
|
|
55
55
|
* ### Continuous size
|
|
56
56
|
*
|
|
57
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-size/)
|
|
58
58
|
*
|
|
59
59
|
* ### Size - above and below
|
|
60
60
|
*
|
|
61
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-size-themes/)
|
|
62
62
|
*
|
|
63
63
|
* ### Dot density
|
|
64
64
|
*
|
|
65
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/visualization-dot-density/)
|
|
66
66
|
*
|
|
67
67
|
* ### Predominance
|
|
68
68
|
*
|
|
69
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/visualization-arcade/)
|
|
70
70
|
*
|
|
71
71
|
* ### Relationship
|
|
72
72
|
*
|
|
73
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-relationship/)
|
|
74
74
|
*
|
|
75
75
|
*
|
|
76
76
|
* ## Legend labels
|
|
@@ -130,7 +130,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
130
130
|
* Indicates the layout of the legend when the [legendStyle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#legendStyle) is set to the string value of `"card"`.
|
|
131
131
|
* The layout determines how the legend's content is arranged.
|
|
132
132
|
*
|
|
133
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/legend-card/)
|
|
134
134
|
*
|
|
135
135
|
* @since 4.34
|
|
136
136
|
* @example
|
|
@@ -257,7 +257,7 @@ export abstract class ArcgisLegend extends LitElement {
|
|
|
257
257
|
* You can either specify a string or an object to indicate the style. The known string values are the same values listed in
|
|
258
258
|
* the table within the `type` property.
|
|
259
259
|
*
|
|
260
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/legend-card/)
|
|
261
261
|
*
|
|
262
262
|
* @default "classic"
|
|
263
263
|
* @see [cardStyleLayout](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-legend/#cardStyleLayout)
|
|
@@ -12,7 +12,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
12
12
|
* in an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/). Visibility between a given observer and multiple target points is calculated against the currently
|
|
13
13
|
* displayed content in the view, including the ground, integrated meshes, and 3D objects such as buildings or trees.
|
|
14
14
|
*
|
|
15
|
-
* 
|
|
16
16
|
*
|
|
17
17
|
* The analysis results are displayed as colored lines, where areas visible to the observer are
|
|
18
18
|
* shown green and occluded parts are marked in red. Also, the color of the target points indicates their visibility.
|
|
@@ -3,6 +3,7 @@ import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
|
3
3
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
4
4
|
import type { LinkChartLayoutSwitcherViewModelEvents, LinkChartLayoutSwitcherViewModelState } from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
+
import type { DiagramLayoutType } from "./types.js";
|
|
6
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
8
|
import type { LayoutMode } from "@arcgis/core/layers/knowledgeGraph/types.js";
|
|
8
9
|
|
|
@@ -166,6 +167,4 @@ export abstract class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
166
167
|
arcgisReady: ArcgisLinkChartLayoutSwitcher["arcgisReady"]["detail"];
|
|
167
168
|
arcgisSwitchLayout: ArcgisLinkChartLayoutSwitcher["arcgisSwitchLayout"]["detail"];
|
|
168
169
|
};
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export type DiagramLayoutType = "basic-grid" | "chronological-mono-timeline" | "chronological-multi-timeline" | "geographic-organic-standard" | "hierarchical-bottom-to-top" | "organic-community" | "organic-standard" | "radial-root-centric" | "tree-left-to-right";
|
|
170
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type DiagramLayoutType = "basic-grid" | "chronological-mono-timeline" | "chronological-multi-timeline" | "geographic-organic-standard" | "hierarchical-bottom-to-top" | "organic-community" | "organic-standard" | "radial-root-centric" | "tree-left-to-right";
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
3
3
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
+
import type { State, NonspatialMode } from "./types.js";
|
|
5
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -73,8 +74,4 @@ export abstract class ArcgisLinkChartNonspatialVisibilityToggle extends LitEleme
|
|
|
73
74
|
arcgisPropertyChange: ArcgisLinkChartNonspatialVisibilityToggle["arcgisPropertyChange"]["detail"];
|
|
74
75
|
arcgisReady: ArcgisLinkChartNonspatialVisibilityToggle["arcgisReady"]["detail"];
|
|
75
76
|
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export type State = "disabled" | "ready";
|
|
79
|
-
|
|
80
|
-
export type NonspatialMode = "hidden" | "visible";
|
|
77
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
2
|
+
import { c as de } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as pe, html as d, svg as X } from "lit";
|
|
4
4
|
import { keyed as w } from "lit/directives/keyed.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { u as
|
|
7
|
-
import { m as
|
|
5
|
+
import { LitElement as he, createEvent as T, safeStyleMap as Z, nothing as ue, safeClassMap as me } from "@arcgis/lumina";
|
|
6
|
+
import { u as ge } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as ve } from "../../chunks/useViewModel.js";
|
|
8
8
|
import { property as r, subclass as C } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
9
9
|
import U from "@arcgis/core/core/Accessor.js";
|
|
10
10
|
import B from "@arcgis/core/Graphic.js";
|
|
11
|
-
import { getApplicationClipboard as
|
|
12
|
-
import
|
|
13
|
-
import { g as
|
|
11
|
+
import { getApplicationClipboard as fe } from "@arcgis/core/applications/Components/clipboard.js";
|
|
12
|
+
import we from "@arcgis/core/layers/GraphicsLayer.js";
|
|
13
|
+
import { g as be, a as ye } from "../../chunks/clipoardSymbolHelper.js";
|
|
14
14
|
import j from "@arcgis/core/core/Collection.js";
|
|
15
|
-
import { getFullTemplate as J, isSharedTemplate as Q, getCreationAttributes as
|
|
15
|
+
import { getFullTemplate as J, isSharedTemplate as Q, getCreationAttributes as Me, isSharedTemplateOrMetadata as ie } from "@arcgis/core/applications/Components/templateUtils.js";
|
|
16
16
|
import { createApplySetModifyItem as W, createApplySet as q, createFeatureStateProvider as K, createApplySetAddItem as R, writeApplySetToService as Ce } from "@arcgis/core/applications/Components/applySetUtils.js";
|
|
17
|
-
import { whenOnce as
|
|
17
|
+
import { whenOnce as ae, watch as N } from "@arcgis/core/core/reactiveUtils.js";
|
|
18
18
|
import { getRendererFields as Y, getFeatureEditFields as Fe } from "@arcgis/core/layers/support/fieldUtils.js";
|
|
19
19
|
import _e from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
|
|
20
20
|
import { f as ee } from "../../chunks/layer-utils.js";
|
|
@@ -23,13 +23,13 @@ import { usePropertyChange as xe } from "@arcgis/lumina/controllers";
|
|
|
23
23
|
import { createRef as V, ref as D } from "lit/directives/ref.js";
|
|
24
24
|
import "../arcgis-multi-feature-form/customElement.js";
|
|
25
25
|
import { createGraphicsMover as Pe } from "@arcgis/core/applications/Components/editUtils.js";
|
|
26
|
-
const $e =
|
|
26
|
+
const $e = pe`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-paste{height:var(--arcgis-paste-height, 300px);width:var(--arcgis-paste-width, 300px);flex:1}.hidden{display:none}.flex-row{flex-direction:row}.justify-center{justify-content:center}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.text-center{text-align:center}.pad-contents{padding:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md))}.merge-feature-form{padding-left:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-right:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-bottom:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md))}.pad-start-end{padding-left:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-right:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md))}.gallery-content{padding-top:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-bottom:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));display:flex;row-gap:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));flex-direction:column}.chip-indent{margin-left:5px;margin-right:5px}.merge-split-view-container{display:flex;flex-direction:column;height:100%}.merge-split-view-items{flex:0 1 auto;max-height:50%;overflow-y:scroll}.merge-split-view-attributes{flex:1;overflow-y:scroll}.choose-feature{position:absolute;width:100%;max-height:100%;z-index:2;overflow-y:auto}.bau-pick{display:flex;flex-direction:row;align-items:center;gap:4px}.danger-icon-warning{--calcite-icon-color: var(--calcite-color-status-danger)}.paste-feature-templates{--arcgis-feature-templates-max-list-height: 100%}`;
|
|
27
27
|
async function Ae(e, t = {}) {
|
|
28
28
|
if (e?.type === "subtype-group") {
|
|
29
29
|
if (!e.subtypeField)
|
|
30
30
|
return [];
|
|
31
31
|
const a = t[e.subtypeField];
|
|
32
|
-
if (!
|
|
32
|
+
if (!le(a))
|
|
33
33
|
return [];
|
|
34
34
|
const s = e.findSublayerForSubtypeCode(a);
|
|
35
35
|
return s ? s.renderer && s.fieldsIndex ? await Y(s.renderer, e.fieldsIndex) : [] : [];
|
|
@@ -78,7 +78,7 @@ function Oe(e, t) {
|
|
|
78
78
|
}
|
|
79
79
|
return i;
|
|
80
80
|
}
|
|
81
|
-
async function
|
|
81
|
+
async function se(e, t, i, a) {
|
|
82
82
|
let s = !0;
|
|
83
83
|
const o = { hasAsyncArcadeExpressions: !1 }, l = e.items.filter((h) => h.type === "add");
|
|
84
84
|
for (const h of l) {
|
|
@@ -117,15 +117,15 @@ function Ge(e, t) {
|
|
|
117
117
|
}
|
|
118
118
|
async function ke(e, t, i, a, s) {
|
|
119
119
|
const o = i.formTemplate, l = i.fields.filter((f) => {
|
|
120
|
-
const z = t.attributes[f.name],
|
|
121
|
-
return f.editable && !f.nullable &&
|
|
120
|
+
const z = t.attributes[f.name], ce = z === null || z === "" || z === void 0;
|
|
121
|
+
return f.editable && !f.nullable && ce;
|
|
122
122
|
});
|
|
123
123
|
if (!o)
|
|
124
124
|
return l.length !== 0;
|
|
125
125
|
const h = /* @__PURE__ */ new Set();
|
|
126
|
-
|
|
126
|
+
oe(o.elements ?? [], h);
|
|
127
127
|
const p = /* @__PURE__ */ new Set();
|
|
128
|
-
if (
|
|
128
|
+
if (re(o.elements ?? [], p), h.size === 0 && p.size === 0)
|
|
129
129
|
return l.length > 0;
|
|
130
130
|
const u = t.clone();
|
|
131
131
|
u.layer = i, delete u.attributes[i.objectIdField], a.has(i) || a.set(
|
|
@@ -136,7 +136,7 @@ async function ke(e, t, i, a, s) {
|
|
|
136
136
|
})
|
|
137
137
|
);
|
|
138
138
|
const g = a.get(i);
|
|
139
|
-
if (g.features = new j([u]), await
|
|
139
|
+
if (g.features = new j([u]), await ae(
|
|
140
140
|
() => (g.status === "loaded" || g.status === "failed") && !g.updating
|
|
141
141
|
), g.hasAsyncArcadeExpressions && (s.hasAsyncArcadeExpressions = !0), g.status === "failed")
|
|
142
142
|
return !0;
|
|
@@ -153,15 +153,15 @@ async function ke(e, t, i, a, s) {
|
|
|
153
153
|
));
|
|
154
154
|
}), g.invalidFeatures.length > 0;
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function re(e, t) {
|
|
157
157
|
for (const i of e)
|
|
158
|
-
i.type === "group" ?
|
|
158
|
+
i.type === "group" ? re(i.elements, t) : i.type === "field" && i.valueExpression && t.add(i.fieldName);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function oe(e, t) {
|
|
161
161
|
for (const i of e)
|
|
162
|
-
i.type === "group" ?
|
|
162
|
+
i.type === "group" ? oe(i.elements, t) : i.type === "field" && i.requiredExpression && t.add(i.fieldName);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function le(e) {
|
|
165
165
|
return typeof e == "number";
|
|
166
166
|
}
|
|
167
167
|
function He(e) {
|
|
@@ -179,7 +179,7 @@ function Le(e, t, i) {
|
|
|
179
179
|
return He(e) ? e : window.parseInt(e);
|
|
180
180
|
case "single":
|
|
181
181
|
case "double":
|
|
182
|
-
return
|
|
182
|
+
return le(e) ? e : window.parseFloat(e);
|
|
183
183
|
case "global-id":
|
|
184
184
|
case "guid":
|
|
185
185
|
return e === "" ? null : e;
|
|
@@ -220,7 +220,7 @@ var Ve = Object.defineProperty, De = Object.getOwnPropertyDescriptor, A = (e, t,
|
|
|
220
220
|
(l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
|
|
221
221
|
return a && s && Ve(t, i, s), s;
|
|
222
222
|
};
|
|
223
|
-
const
|
|
223
|
+
const ne = {
|
|
224
224
|
noChangeError: "Operation has not made any changes",
|
|
225
225
|
noSelectedError: "Operation requires a selected feature",
|
|
226
226
|
deletesGeometryError: "Operation would result in a null geometry",
|
|
@@ -290,7 +290,7 @@ let v = class extends U {
|
|
|
290
290
|
// If too many features, dont run anything
|
|
291
291
|
a.items.length > this.viewModel.maximumFeatureCount || // If going to show feature form, then do not do all the analysis!
|
|
292
292
|
this.viewModel.alwaysShowFeatureForm || i?.showFeatureForm === !0 || // Otherwise, need to see what is mandatory or not.
|
|
293
|
-
!await
|
|
293
|
+
!await se(
|
|
294
294
|
a,
|
|
295
295
|
this.viewModel.view,
|
|
296
296
|
this.viewModel.formViewModelMap,
|
|
@@ -332,7 +332,7 @@ let v = class extends U {
|
|
|
332
332
|
* Builds an ApplySet for the Paste, Paste-as and Paste-merge command
|
|
333
333
|
*/
|
|
334
334
|
async prepareCopy(e) {
|
|
335
|
-
const
|
|
335
|
+
const t = e === "paste" || e === "paste-as" && this.viewModel.pasteWithAttributes || e === "paste-merge" && this.viewModel.pasteWithAttributes, i = t && e === "paste-merge" ? this.viewModel.clipboard.items.getItemAt(this.viewModel.selectedClipboardItemIndex) : null, a = q();
|
|
336
336
|
if (a.featureState = K(this.viewModel.view), e === "paste-merge") {
|
|
337
337
|
const s = this.viewModel.pasteTemplate?.template ? await J(this.viewModel.view, this.viewModel.pasteTemplate.template) : null;
|
|
338
338
|
if (!s)
|
|
@@ -353,7 +353,11 @@ let v = class extends U {
|
|
|
353
353
|
return null;
|
|
354
354
|
const o = Q(s) ? s.layer : this.viewModel.pasteTemplate.layer;
|
|
355
355
|
for (const l of this.viewModel.clipboardFeatures) {
|
|
356
|
-
const h = await this.constructFeatureAttributesCopy(
|
|
356
|
+
const h = await this.constructFeatureAttributesCopy(
|
|
357
|
+
s,
|
|
358
|
+
o,
|
|
359
|
+
t ? l : null
|
|
360
|
+
), p = new B({
|
|
357
361
|
geometry: l.graphic?.geometry?.clone() ?? null,
|
|
358
362
|
attributes: h
|
|
359
363
|
});
|
|
@@ -363,7 +367,7 @@ let v = class extends U {
|
|
|
363
367
|
return a;
|
|
364
368
|
}
|
|
365
369
|
async constructFeatureAttributesCopy(e, t, i) {
|
|
366
|
-
let a =
|
|
370
|
+
let a = Me(e, {});
|
|
367
371
|
if (i) {
|
|
368
372
|
const s = i.layer?.fields;
|
|
369
373
|
if (s) {
|
|
@@ -448,7 +452,7 @@ let F = class extends v {
|
|
|
448
452
|
if (i.applySet && (t = i.applySet), !i.success) {
|
|
449
453
|
this.viewModel.lastPasteError = {
|
|
450
454
|
errorCode: i.failReason,
|
|
451
|
-
errorMessage:
|
|
455
|
+
errorMessage: ne[i.failReason],
|
|
452
456
|
localizedErrorMessage: i.failReason
|
|
453
457
|
}, e.onPasteError(this.viewModel.lastPasteError);
|
|
454
458
|
return;
|
|
@@ -627,7 +631,7 @@ let _ = class extends v {
|
|
|
627
631
|
if (i.applySet && (t = i.applySet), !i.success) {
|
|
628
632
|
this.viewModel.lastPasteError = {
|
|
629
633
|
errorCode: i.failReason,
|
|
630
|
-
errorMessage:
|
|
634
|
+
errorMessage: ne[i.failReason],
|
|
631
635
|
localizedErrorMessage: i.failReason
|
|
632
636
|
}, e.onPasteError(this.viewModel.lastPasteError);
|
|
633
637
|
return;
|
|
@@ -773,7 +777,7 @@ let P = class extends v {
|
|
|
773
777
|
const e = await this.prepareCopy("paste");
|
|
774
778
|
if (!e || e.items.length === 0)
|
|
775
779
|
throw new Error("arcgis-paste: No items to paste");
|
|
776
|
-
return e.items.length > this.viewModel.maximumFeatureCount || !await
|
|
780
|
+
return e.items.length > this.viewModel.maximumFeatureCount || !await se(
|
|
777
781
|
e,
|
|
778
782
|
this.viewModel.view,
|
|
779
783
|
this.viewModel.formViewModelMap,
|
|
@@ -964,12 +968,12 @@ var Ye = Object.defineProperty, et = Object.getOwnPropertyDescriptor, c = (e, t,
|
|
|
964
968
|
return a && s && Ye(t, i, s), s;
|
|
965
969
|
};
|
|
966
970
|
function te(e) {
|
|
967
|
-
return !
|
|
971
|
+
return !ie(e) || e.type === "feature";
|
|
968
972
|
}
|
|
969
973
|
let n = class extends U {
|
|
970
974
|
//#region Lifecycle
|
|
971
975
|
constructor(e) {
|
|
972
|
-
super(e), this.customPasteCommands = new j(), this.bauInvalidFeatures = [], this.bauFormValid = !0, this.bauFormUpdating = !1, this.bauActiveFeatureIndex = -1, this.bauHasTooManyFeatures = !1, this.bauHasTooManyComplexFeatures = !1, this.bauOriginalGraphics = [], this.formViewModelMap = /* @__PURE__ */ new Map(), this.supportedCommands = ["paste-append", "paste-as", "paste-subtract", "paste", "paste-merge"], this.pasteWithMultipleLayersEnabled = !1, this.pasteWithMultipleFeaturesEnabled = !1, this.alwaysShowFeatureForm = !1, this.selectedClipboardItemIndex = -1, this.pasteWithAttributes = !0, this.closeOnApply = !1, this.currentPasteOperation = "", this._activeFlowPage = "commands-page", this.showClipboardItems = !1, this.hideTooltips = !1, this.hideFooter = !1, this.hideFooterCancelButton = !1, this.hideHeaderCloseButton = !1, this.hideViewClipboard = !1, this.hideErrorNotice = !1, this.highlightGroup = "temporary", this._hoverHighlightHandle = null, this.maximumFeatureCount =
|
|
976
|
+
super(e), this.customPasteCommands = new j(), this.bauInvalidFeatures = [], this.bauFormValid = !0, this.bauFormUpdating = !1, this.bauActiveFeatureIndex = -1, this.bauHasTooManyFeatures = !1, this.bauHasTooManyComplexFeatures = !1, this.bauOriginalGraphics = [], this.formViewModelMap = /* @__PURE__ */ new Map(), this.supportedCommands = ["paste-append", "paste-as", "paste-subtract", "paste", "paste-merge"], this.pasteWithMultipleLayersEnabled = !1, this.pasteWithMultipleFeaturesEnabled = !1, this.alwaysShowFeatureForm = !1, this.selectedClipboardItemIndex = -1, this.pasteWithAttributes = !0, this.closeOnApply = !1, this.currentPasteOperation = "", this._activeFlowPage = "commands-page", this.showClipboardItems = !1, this.hideTooltips = !1, this.hideFooter = !1, this.hideFooterCancelButton = !1, this.hideHeaderCloseButton = !1, this.hideViewClipboard = !1, this.hideErrorNotice = !1, this.highlightGroup = "temporary", this._hoverHighlightHandle = null, this.maximumFeatureCount = 200, this.maximumFeatureCountWithComplexForms = 50, this.layerPermissionsCheck = {
|
|
973
977
|
canCreate: (t) => t ? !!t.effectiveCapabilities?.operations.supportsAdd : !1,
|
|
974
978
|
canUpdate: (t) => {
|
|
975
979
|
if (!t)
|
|
@@ -1067,7 +1071,7 @@ let n = class extends U {
|
|
|
1067
1071
|
return;
|
|
1068
1072
|
const t = new B({
|
|
1069
1073
|
geometry: e.graphic.geometry,
|
|
1070
|
-
symbol:
|
|
1074
|
+
symbol: be(e.graphic.geometry.type)
|
|
1071
1075
|
});
|
|
1072
1076
|
this.view.graphics.add(t), this._hoverHighlightHandle = {
|
|
1073
1077
|
remove: () => {
|
|
@@ -1126,7 +1130,7 @@ let n = class extends U {
|
|
|
1126
1130
|
return;
|
|
1127
1131
|
}
|
|
1128
1132
|
if (this.showClipboardItems && this.view) {
|
|
1129
|
-
this.clipboardGraphicsLayer || (this.clipboardGraphicsLayer = new
|
|
1133
|
+
this.clipboardGraphicsLayer || (this.clipboardGraphicsLayer = new we(), this.view.map?.layers.add(this.clipboardGraphicsLayer));
|
|
1130
1134
|
const e = this.clipboard.items;
|
|
1131
1135
|
this.clipboardGraphicsLayer.removeAll();
|
|
1132
1136
|
let t = -1;
|
|
@@ -1138,7 +1142,7 @@ let n = class extends U {
|
|
|
1138
1142
|
attributes: {
|
|
1139
1143
|
clipboardIdx: t
|
|
1140
1144
|
},
|
|
1141
|
-
symbol:
|
|
1145
|
+
symbol: ye(i.graphic.geometry.type)
|
|
1142
1146
|
});
|
|
1143
1147
|
this.clipboardGraphicsLayer.add(a);
|
|
1144
1148
|
}
|
|
@@ -1154,7 +1158,7 @@ let n = class extends U {
|
|
|
1154
1158
|
this.clipboardGraphicsLayer && (this.clipboardGraphicsLayer.visible = !e), this.clipboardMover && (this.clipboardMover.suspended = e);
|
|
1155
1159
|
}
|
|
1156
1160
|
get clipboard() {
|
|
1157
|
-
return
|
|
1161
|
+
return fe();
|
|
1158
1162
|
}
|
|
1159
1163
|
get clipboardFeatures() {
|
|
1160
1164
|
return this.clipboard.items.filter((e) => e.type === "feature");
|
|
@@ -1532,10 +1536,10 @@ S([
|
|
|
1532
1536
|
M = S([
|
|
1533
1537
|
C("components.paste.ClipboardMove")
|
|
1534
1538
|
], M);
|
|
1535
|
-
const at =
|
|
1536
|
-
class st extends
|
|
1539
|
+
const at = ve(n);
|
|
1540
|
+
class st extends he {
|
|
1537
1541
|
constructor() {
|
|
1538
|
-
super(), this._featureFormElement = V(), this._floatingChoiceContainer = V(), this._bauForm = V(), this._templateGallery = V(), this._messages =
|
|
1542
|
+
super(), this._featureFormElement = V(), this._floatingChoiceContainer = V(), this._bauForm = V(), this._templateGallery = V(), this._messages = ge(), this.viewModel = at(this), this.hasPasteCommandsPage = this.viewModel.hasPasteCommandsPage, this.activeCommand = this.viewModel.activeCommand, this.availableCommands = this.viewModel.availableCommands, this._showFloatingChoice = !1, this.activeFlowPage = this.viewModel.activeFlowPage, this.autoDestroyDisabled = !1, this.view = this.viewModel.view, this.selectedFeature = this.viewModel.selectedFeature, this.closed = !1, this.highlightGroup = this.viewModel.highlightGroup, this.pasteWithMultipleLayersEnabled = this.viewModel.pasteWithMultipleLayersEnabled, this.pasteWithMultipleFeaturesEnabled = this.viewModel.pasteWithMultipleFeaturesEnabled, this.alwaysShowFeatureForm = this.viewModel.alwaysShowFeatureForm, this.closeOnApply = this.viewModel.closeOnApply, this.hideErrorNotice = this.viewModel.hideErrorNotice, this.hideFooterCancelButton = this.viewModel.hideFooterCancelButton, this.hideFooter = this.viewModel.hideFooter, this.hideHeaderCloseButton = this.viewModel.hideHeaderCloseButton, this.hideTooltips = this.viewModel.hideTooltips, this.hideViewClipboard = this.viewModel.hideViewClipboard, this.maximumFeatureCount = this.viewModel.maximumFeatureCount, this.maximumFeatureCountWithComplexForms = this.viewModel.maximumFeatureCountWithComplexForms, this.layerPermissionsCheck = this.viewModel.layerPermissionsCheck, this.pasteCommandsState = this.viewModel.pasteCommandsState, this.arcgisApplyPasteCommand = T(), this.arcgisApplyPasteError = T(), this.arcgisBeforeClipboardMove = T(), this.arcgisClipboardMoveStateChanged = T(), this.arcgisClose = T(), this.arcgisPropertyChange = xe()("pasteCommandsState", "activeFlowPage"), this.arcgisReady = T(), this.listenOn(window, "click", this._handleClickAway), this.listenOn(window, "keydown", this._handleKeyDown);
|
|
1539
1543
|
}
|
|
1540
1544
|
static {
|
|
1541
1545
|
this.properties = { hasPasteCommandsPage: 16, activeCommand: 16, availableCommands: 16, _showFloatingChoice: 16, activeFlowPage: 32, autoDestroyDisabled: 5, referenceElement: 1, view: 0, selectedFeature: 0, closed: 7, highlightGroup: 1, supportedCommands: 1, pasteWithMultipleLayersEnabled: 5, pasteWithMultipleFeaturesEnabled: 5, alwaysShowFeatureForm: 5, beforeApply: 0, clipboard: 32, closeOnApply: 5, hideErrorNotice: 5, hideFooterCancelButton: 5, hideFooter: 5, hideHeaderCloseButton: 5, hideTooltips: 5, hideViewClipboard: 5, maximumFeatureCount: 9, maximumFeatureCountWithComplexForms: 9, layerPermissionsCheck: 0, pasteCommandsState: 0 };
|
|
@@ -1754,13 +1758,13 @@ class st extends pe {
|
|
|
1754
1758
|
}
|
|
1755
1759
|
}}>${this.viewModel.alwaysShowFeatureForm ? this._messages.next : (this.viewModel.clipboardFeatures.length ?? 0) > 1 && this.activeCommand !== "paste-merge" ? b(this._messages.pasteMany ?? "", { num: this.viewModel.clipboardFeatures.length }) : this._messages.paste}</calcite-button></div></div>`}${this.viewModel.hasTooManyPasteCreateFeatures ? d`<div class="pad-start-end gallery-content"><calcite-notice open icon=exclamation-point kind=warning><div slot=message>${b(this._messages.tooManyCreateFeatures ?? "", { num: this.maximumFeatureCount })}</div></calcite-notice></div>` : null}<slot name=gallery-page-message></slot><div class="pad-start-end gallery-content"><div>${!this.viewModel.clipboardAndTemplateSupportAttributes && this.viewModel.pasteTemplate ? d`<div class="pad-contents"><calcite-notice open icon=exclamation-point kind=info><div slot=message>${this._messages.attributesNotCopied}</div>${this.activeCommand === "paste-merge" && this.viewModel.hasClipboardItemMatchingTemplate ? d`<calcite-link slot=link @click=${() => {
|
|
1756
1760
|
this.viewModel.activeFlowPage = "merge-page";
|
|
1757
|
-
}} title=${this._messages.seeMergeOptions ??
|
|
1761
|
+
}} title=${this._messages.seeMergeOptions ?? ue}>${this._messages.seeMergeOptions}</calcite-link>` : null}</calcite-notice></div>` : null}${this.viewModel.clipboardAndTemplateSupportAttributes && this.viewModel.pasteTemplate ? this._renderAttributeCheckbox(!this.viewModel.clipboardAndTemplateSupportAttributes) : null}${this.viewModel.clipboardAndTemplateSupportAttributes ? null : this._renderAttributeCheckbox(!1)}</div><calcite-list .hidden=${this.viewModel.activeCommand !== "paste-merge"} .label=${this._messages.pasteCommandChoices ?? ""} selection-mode=none selection-appearance=border><calcite-list-item .label=${this._messages.mergeOptionsTitle} .description=${this._messages.mergeOptionsDesc} .disabled=${this.viewModel.updating} @click=${() => {
|
|
1758
1762
|
this.viewModel.activeFlowPage = "merge-page";
|
|
1759
|
-
}}><calcite-icon slot=content-start icon=configure></calcite-icon><calcite-icon slot=content-end icon=chevron-right></calcite-icon></calcite-list-item></calcite-list><div>${this.viewModel.workingLayers.length > 0 ? d`<arcgis-feature-templates class="paste-feature-templates" .layers=${this.viewModel.workingLayers} selection-mode=single
|
|
1763
|
+
}}><calcite-icon slot=content-start icon=configure></calcite-icon><calcite-icon slot=content-end icon=chevron-right></calcite-icon></calcite-list-item></calcite-list><div>${this.viewModel.workingLayers.length > 0 ? d`<arcgis-feature-templates .disabledItemFunction=${(i) => !!(i.template && ie(i.template) && i.template.type !== "feature")} class="paste-feature-templates" .layers=${this.viewModel.workingLayers} selection-mode=single @arcgisPropertyChange=${(i) => {
|
|
1760
1764
|
this._checkAndUpdateInitialPasteTemplate();
|
|
1761
1765
|
}} @arcgisSelect=${(i) => {
|
|
1762
1766
|
this.viewModel.pasteTemplate = i.detail.item;
|
|
1763
|
-
}} .referenceElement=${this.referenceElement} ${D(this._templateGallery)}></arcgis-feature-templates>` : d`<calcite-notice open icon=exclamation-point kind=warning><div slot=message>${b(this._messages.noMatchingEditableLayers ?? "", { num: this.maximumFeatureCount })}</div></calcite-notice>`}</div></div></calcite-panel>${this._renderApplying()}</calcite-flow-item>`) : w("paste-gallery", d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${(i) => {
|
|
1767
|
+
}} .view=${this.viewModel.view} .referenceElement=${this.referenceElement} ${D(this._templateGallery)}></arcgis-feature-templates>` : d`<calcite-notice open icon=exclamation-point kind=warning><div slot=message>${b(this._messages.noMatchingEditableLayers ?? "", { num: this.maximumFeatureCount })}</div></calcite-notice>`}</div></div></calcite-panel>${this._renderApplying()}</calcite-flow-item>`) : w("paste-gallery", d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${(i) => {
|
|
1764
1768
|
i.preventDefault(), this.viewModel.hasPasteCommandsPage && (this.viewModel.activeFlowPage = "commands-page");
|
|
1765
1769
|
}}>${this._renderFlowCommandStart(!this.viewModel.hasPasteCommandsPage)}</calcite-flow-item>`);
|
|
1766
1770
|
}
|
|
@@ -1797,7 +1801,7 @@ class st extends pe {
|
|
|
1797
1801
|
this.viewModel.resetHome(), this.closed = !0, this.arcgisClose.emit();
|
|
1798
1802
|
}}>${this._messages.cancel}</calcite-button><calcite-button .disabled=${this.viewModel.updating || this.viewModel.bauFormUpdating || this.viewModel.bauHasTooManyFeatures || this.viewModel.bauHasTooManyComplexFeatures} kind=brand appearance=solid .width=${this.viewModel.hideFooterCancelButton ? "full" : "half"} @click=${async () => {
|
|
1799
1803
|
try {
|
|
1800
|
-
if (await
|
|
1804
|
+
if (await ae(() => !this.viewModel.bauFormUpdating), !this.viewModel.bauFormValid) {
|
|
1801
1805
|
this._bauForm.value?.goToFirstError();
|
|
1802
1806
|
return;
|
|
1803
1807
|
}
|
|
@@ -1830,7 +1834,7 @@ class st extends pe {
|
|
|
1830
1834
|
this.viewModel.previousActiveFeature();
|
|
1831
1835
|
}}></calcite-action><calcite-action slot=actions-end icon=chevron-right icon-flip-rtl scale=s .text=${this._messages.next ?? ""} .disabled=${!o || a || !i} @click=${() => {
|
|
1832
1836
|
this.viewModel.nextActiveFeature();
|
|
1833
|
-
}}></calcite-action></calcite-action-bar>${this._renderFloatingUIChoice(i)}` : ""}<div class=${
|
|
1837
|
+
}}></calcite-action></calcite-action-bar>${this._renderFloatingUIChoice(i)}` : ""}<div class=${me(this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures ? "hidden" : void 0)}>${this._renderPasteFormBreadcrumb()}<arcgis-multi-feature-form edit-type=INSERT submit-has-been-attempted .referenceElement=${this.referenceElement} .hidden=${this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures} .disabled=${this.viewModel.updating} .maximumFeatureCount=${this.maximumFeatureCount} .maximumFeatureCountWithComplexForms=${this.maximumFeatureCountWithComplexForms} .features=${this.viewModel.bauFeatures} .activeFeatureIndex=${this.viewModel.bauActiveFeatureIndex} @arcgisPropertyChange=${(p) => {
|
|
1834
1838
|
this._updateBauViewModelFields(p.target);
|
|
1835
1839
|
}} @arcgisValueChange=${(p) => {
|
|
1836
1840
|
let u = 0;
|
|
@@ -1899,7 +1903,7 @@ class st extends pe {
|
|
|
1899
1903
|
return this.activeFlowPage === "clipboard-empty-page" ? d`<calcite-flow class="arcgis-paste" .hidden=${this.closed}>${this._renderNoClipboardData(this.activeFlowPage === "clipboard-empty-page")}</calcite-flow>` : this.activeFlowPage === "no-command-page" ? d`<calcite-flow class="arcgis-paste" .hidden=${this.closed}>${this._renderNoCommandPage(this.activeFlowPage === "no-command-page")}</calcite-flow>` : d`<calcite-flow class="arcgis-paste" .hidden=${this.closed}>${this.hasPasteCommandsPage && this._renderPasteCommands(this.activeFlowPage === "commands-page") || ""}${this._renderFlowPasteAs(this.activeFlowPage === "gallery-page")}${this._renderFlowPasteMerge(this.activeFlowPage === "merge-page")}${this._renderFlowPasteForm(this.activeFlowPage === "form-page")}${this._renderClipboard(this.activeFlowPage === "clipboard")}</calcite-flow>`;
|
|
1900
1904
|
}
|
|
1901
1905
|
}
|
|
1902
|
-
|
|
1906
|
+
de("arcgis-paste", st);
|
|
1903
1907
|
export {
|
|
1904
1908
|
st as ArcgisPaste
|
|
1905
1909
|
};
|