@arcgis/map-components 5.2.0-next.90 → 5.2.0-next.91

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.
Files changed (125) hide show
  1. package/dist/cdn/2AKHVAG7.js +2 -0
  2. package/dist/cdn/2GM4O42V.js +2 -0
  3. package/dist/cdn/{2LDYIMCE.js → 2U6EB7BN.js} +1 -1
  4. package/dist/cdn/{HOUQ3XZ3.js → 34CXVCB3.js} +1 -1
  5. package/dist/cdn/{NWLNFKT6.js → 3TRAIJXM.js} +1 -1
  6. package/dist/cdn/{YLXNHUYF.js → 3VFBYBX4.js} +1 -1
  7. package/dist/cdn/{JGMSDKM3.js → 43XQKUF6.js} +1 -1
  8. package/dist/cdn/{AYRZUPV2.js → 5IXZDVTF.js} +1 -1
  9. package/dist/cdn/{RTUHTKTO.js → 5OQPTYP5.js} +1 -1
  10. package/dist/cdn/{SOOJLVZP.js → 73N362E5.js} +1 -1
  11. package/dist/cdn/{CEY5WBEU.js → 7BOYQGKF.js} +1 -1
  12. package/dist/cdn/{67ZLFQ5D.js → A5ZHWVI3.js} +1 -1
  13. package/dist/cdn/{HRX3VZC6.js → AF65YZXZ.js} +1 -1
  14. package/dist/cdn/{M7ARKSCG.js → AL52T6VH.js} +1 -1
  15. package/dist/cdn/{C32RBBXZ.js → B23TN7FG.js} +1 -1
  16. package/dist/cdn/{S474C2LJ.js → B2FQHBTX.js} +1 -1
  17. package/dist/cdn/{HXOGSZ3H.js → BSLVN2NW.js} +1 -1
  18. package/dist/cdn/{3RKXZISX.js → BXDUMWWE.js} +1 -1
  19. package/dist/cdn/{SD5FKQFO.js → CH6EWFKV.js} +1 -1
  20. package/dist/cdn/{ZFLMRC4G.js → CQ7HNSA2.js} +1 -1
  21. package/dist/cdn/{JK4KRK6P.js → CYWMBY4Y.js} +1 -1
  22. package/dist/cdn/{2VSQARQL.js → DDGANMOY.js} +1 -1
  23. package/dist/cdn/{BPB6FTQK.js → DMFYRFSD.js} +1 -1
  24. package/dist/cdn/{PUNT3Q36.js → EEVHASMU.js} +1 -1
  25. package/dist/cdn/{M6FA6DZH.js → EVKOQOVV.js} +1 -1
  26. package/dist/cdn/{II5MODDO.js → FR3EHEIV.js} +1 -1
  27. package/dist/cdn/{MJRXLGST.js → GC65JYR2.js} +1 -1
  28. package/dist/cdn/{IBOB5TYX.js → H32EDCZG.js} +1 -1
  29. package/dist/cdn/{5EOKOS52.js → H4FPSA53.js} +1 -1
  30. package/dist/cdn/{O6F37YLT.js → HAUHWMHN.js} +1 -1
  31. package/dist/cdn/{6HSLIZLD.js → I22IJPSN.js} +1 -1
  32. package/dist/cdn/{WQQVESNN.js → I5DFLVVJ.js} +1 -1
  33. package/dist/cdn/IGFJHWQN.js +2 -0
  34. package/dist/cdn/{L66K2IBM.js → IORWRMMG.js} +1 -1
  35. package/dist/cdn/{3VZGQUZE.js → IXS5O6G4.js} +1 -1
  36. package/dist/cdn/{MZ2KYVWD.js → J3743ZYD.js} +1 -1
  37. package/dist/cdn/{JTBVK3AS.js → JFHEHJOQ.js} +1 -1
  38. package/dist/cdn/{AACTDN7T.js → KGXZG3YI.js} +1 -1
  39. package/dist/cdn/{LKAMRNMI.js → KX3XJGXZ.js} +1 -1
  40. package/dist/cdn/{VRRD4HXH.js → LBYKVAQ2.js} +1 -1
  41. package/dist/cdn/MAPYP35W.js +2 -0
  42. package/dist/cdn/{CFANWKE6.js → NMQLILVV.js} +1 -1
  43. package/dist/cdn/{UBD7D3LO.js → NO6MFBNV.js} +1 -1
  44. package/dist/cdn/{B3W2SZIJ.js → NP5NJFWN.js} +1 -1
  45. package/dist/cdn/{FQTVI2JC.js → NQ5OGG4I.js} +1 -1
  46. package/dist/cdn/NUPOLDDX.js +2 -0
  47. package/dist/cdn/{4SV6HHMC.js → O7RSAJOS.js} +1 -1
  48. package/dist/cdn/{WE2GHP5E.js → Q6TYHAOA.js} +1 -1
  49. package/dist/cdn/{D325DZEQ.js → QVM6UFNB.js} +1 -1
  50. package/dist/cdn/{BBFLUSKF.js → QX7CIDD3.js} +1 -1
  51. package/dist/cdn/{OEGPO4V4.js → R6ZUE6GP.js} +1 -1
  52. package/dist/cdn/RJSJ53UD.js +2 -0
  53. package/dist/cdn/{OWT2YYBJ.js → RJZ424ZP.js} +1 -1
  54. package/dist/cdn/{CS5IVOG4.js → TTDOV3LD.js} +1 -1
  55. package/dist/cdn/{K43HEYQI.js → U2ZQWROE.js} +1 -1
  56. package/dist/cdn/UVD3M6B5.js +2 -0
  57. package/dist/cdn/VIHVSV4P.js +2 -0
  58. package/dist/cdn/{CJLQURQH.js → VLKHH2Y6.js} +1 -1
  59. package/dist/cdn/VNX2AHM5.js +2 -0
  60. package/dist/cdn/{5KXZQI7G.js → VY2FRIAX.js} +1 -1
  61. package/dist/cdn/{PPTHUNKC.js → W2HQAUUA.js} +1 -1
  62. package/dist/cdn/WTTWWX57.js +2 -0
  63. package/dist/cdn/{KEE5SJGE.js → ZTRUEI25.js} +1 -1
  64. package/dist/cdn/index.js +1 -1
  65. package/dist/chunks/GeolocationPositioning.js +45 -45
  66. package/dist/chunks/async-utils.js +18 -14
  67. package/dist/chunks/slots.js +1 -1
  68. package/dist/chunks/time-utils.js +2 -2
  69. package/dist/components/arcgis-building-phase-picker/customElement.js +13 -13
  70. package/dist/components/arcgis-color-select/customElement.js +6 -6
  71. package/dist/components/arcgis-coordinate-conversion/customElement.js +18 -17
  72. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +11 -10
  73. package/dist/components/arcgis-daylight/customElement.d.ts +7 -0
  74. package/dist/components/arcgis-daylight/customElement.js +135 -135
  75. package/dist/components/arcgis-feature/customElement.d.ts +1 -1
  76. package/dist/components/arcgis-feature-expression/customElement.js +24 -24
  77. package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
  78. package/dist/components/arcgis-feature-relationship/customElement.js +42 -41
  79. package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
  80. package/dist/components/arcgis-feature-templates/customElement.js +15 -14
  81. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +32 -31
  82. package/dist/components/arcgis-features/customElement.d.ts +1 -1
  83. package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
  84. package/dist/components/arcgis-floor-filter/customElement.js +9 -8
  85. package/dist/components/arcgis-link-chart/customElement.d.ts +19 -7
  86. package/dist/components/arcgis-link-chart/customElement.js +16 -16
  87. package/dist/components/arcgis-map/customElement.d.ts +19 -7
  88. package/dist/components/arcgis-map/customElement.js +3 -3
  89. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +72 -72
  90. package/dist/components/arcgis-paste/customElement.d.ts +23 -3
  91. package/dist/components/arcgis-paste/customElement.js +102 -101
  92. package/dist/components/arcgis-presentation/customElement.js +43 -40
  93. package/dist/components/arcgis-scene/customElement.d.ts +42 -7
  94. package/dist/components/arcgis-scene/customElement.js +5 -5
  95. package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -3
  96. package/dist/components/arcgis-time-bar/customElement.d.ts +14 -5
  97. package/dist/components/arcgis-time-bar/customElement.js +29 -29
  98. package/dist/components/arcgis-time-bar/types.d.ts +3 -1
  99. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +2 -2
  100. package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
  101. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +3 -3
  102. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +3 -3
  103. package/dist/components/arcgis-video/customElement.d.ts +19 -7
  104. package/dist/components/arcgis-volume-measurement/customElement.js +5 -5
  105. package/dist/docs/api.json +1 -1
  106. package/dist/docs/docs.json +1 -1
  107. package/dist/docs/vscode.css-custom-data.json +1 -1
  108. package/dist/docs/vscode.html-custom-data.json +1 -1
  109. package/dist/docs/web-types.json +1 -1
  110. package/dist/loader.js +2 -2
  111. package/dist/types/lumina.d.ts +2 -2
  112. package/dist/types/preact.d.ts +2 -2
  113. package/dist/types/react.d.ts +2 -2
  114. package/dist/types/stencil.d.ts +2 -2
  115. package/package.json +5 -5
  116. package/dist/cdn/2FTL6T53.js +0 -2
  117. package/dist/cdn/2XHGISYY.js +0 -2
  118. package/dist/cdn/4CJBWGTY.js +0 -2
  119. package/dist/cdn/5GIJFUEJ.js +0 -2
  120. package/dist/cdn/HASESZDN.js +0 -2
  121. package/dist/cdn/LMBTPOT3.js +0 -2
  122. package/dist/cdn/OU7XFISZ.js +0 -2
  123. package/dist/cdn/UU4FSZYG.js +0 -2
  124. package/dist/cdn/YVZI2KY2.js +0 -2
  125. package/dist/cdn/Z3XLCKLP.js +0 -2
@@ -1,59 +1,60 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as de } from "../../chunks/runtime.js";
3
- import { css as pe, html as d, svg as X } from "lit";
2
+ import { c as pe } from "../../chunks/runtime.js";
3
+ import { css as he, html as d, svg as X } from "lit";
4
4
  import { keyed as w } from "lit/directives/keyed.js";
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";
5
+ import { LitElement as ue, createEvent as T, safeStyleMap as Z, nothing as me, safeClassMap as ge } from "@arcgis/lumina";
6
+ import { u as ve } from "../../chunks/useT9n.js";
7
+ import { m as fe } from "../../chunks/useViewModel.js";
8
8
  import { property as o, 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 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";
11
+ import { getApplicationClipboard as we } from "@arcgis/core/applications/Components/clipboard.js";
12
+ import be from "@arcgis/core/layers/GraphicsLayer.js";
13
+ import { g as ye, a as Me } from "../../chunks/clipoardSymbolHelper.js";
14
14
  import j from "@arcgis/core/core/Collection.js";
15
- import { getFullTemplate as J, isSharedTemplate as Q, getCreationAttributes as Me, isSharedTemplateOrMetadata as ie } from "@arcgis/core/applications/Components/templateUtils.js";
16
- import { createApplySetModifyItem as W, createApplySet as q, createFeatureStateProvider as K, createApplySetAddItem as R, writeApplySetToService as Ce } from "@arcgis/core/applications/Components/applySetUtils.js";
15
+ import { getFullTemplate as J, isSharedTemplate as Q, getCreationAttributes as Ce, isSharedTemplateOrMetadata as ie } from "@arcgis/core/applications/Components/templateUtils.js";
16
+ import { createApplySetModifyItem as W, createApplySet as q, createFeatureStateProvider as K, createApplySetAddItem as R, writeApplySetToService as Fe } from "@arcgis/core/applications/Components/applySetUtils.js";
17
17
  import { whenOnce as ae, watch as N } from "@arcgis/core/core/reactiveUtils.js";
18
- import { getRendererFields as Y, getFeatureEditFields as Fe } from "@arcgis/core/layers/support/fieldUtils.js";
19
- import _e from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
20
- import { c as xe, f as ee } from "../../chunks/layer-utils.js";
18
+ import { getRendererFields as Y, getFeatureEditFields as _e } from "@arcgis/core/layers/support/fieldUtils.js";
19
+ import xe from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
20
+ import { c as Pe, f as ee } from "../../chunks/layer-utils.js";
21
+ import { g as se } from "../../chunks/async-utils.js";
21
22
  import { substitute as b } from "@arcgis/core/intl.js";
22
- import { usePropertyChange as Pe } from "@arcgis/lumina/controllers";
23
+ import { usePropertyChange as $e } from "@arcgis/lumina/controllers";
23
24
  import { createRef as V, ref as D } from "lit/directives/ref.js";
24
- import { createGraphicsMover as $e } from "@arcgis/core/applications/Components/editUtils.js";
25
- const Ae = 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%}`;
26
- async function Ee(e, t = {}) {
25
+ import { createGraphicsMover as Ae } from "@arcgis/core/applications/Components/editUtils.js";
26
+ const Ee = he`.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
+ async function Ie(e, t = {}) {
27
28
  if (e?.type === "subtype-group") {
28
29
  if (!e.subtypeField)
29
30
  return [];
30
31
  const a = t[e.subtypeField];
31
- if (!le(a))
32
+ if (!ne(a))
32
33
  return [];
33
34
  const s = e.findSublayerForSubtypeCode(a);
34
35
  return s ? s.renderer && s.fieldsIndex ? await Y(s.renderer, e.fieldsIndex) : [] : [];
35
36
  }
36
37
  return e ? e.renderer && e.fieldsIndex ? await Y(e.renderer, e.fieldsIndex) : [] : [];
37
38
  }
38
- function Ie(e, t, i, a, s, r) {
39
- const l = { ...a }, h = Se(r), p = Te(r);
39
+ function Se(e, t, i, a, s, r) {
40
+ const l = { ...a }, h = Te(r), p = Ge(r);
40
41
  let u = "";
41
42
  (r.type === "subtype-group" || r.type === "subtype-sublayer") && (u = r.subtypeField ?? "");
42
43
  const g = r.objectIdField ?? "";
43
44
  return e.forEach((m) => {
44
45
  if (m.name !== g && !h.includes(m.name) && !p.includes(m.name) && !s.includes(m.name) && m.type !== "global-id" && (u === "" || u !== m.name)) {
45
- const f = Oe(m, t);
46
+ const f = ke(m, t);
46
47
  f.match && f.targetField && (l[f.targetField?.name] = i[m.name]);
47
48
  }
48
49
  }), l;
49
50
  }
50
- function Se(e) {
51
+ function Te(e) {
51
52
  return e && "relationships" in e ? (e.relationships ?? []).filter((i) => i.role === "origin").map((i) => i.keyField) : [];
52
53
  }
53
- function Te(e) {
54
- return e?.type === "subtype-sublayer" && (e = e.parent), e ? Fe(e) : [];
54
+ function Ge(e) {
55
+ return e?.type === "subtype-sublayer" && (e = e.parent), e ? _e(e) : [];
55
56
  }
56
- function Ge(e, t) {
57
+ function Oe(e, t) {
57
58
  if (e.type === t.type)
58
59
  return t.type === "string" ? e.length <= t.length : !0;
59
60
  switch (e.type) {
@@ -67,26 +68,26 @@ function Ge(e, t) {
67
68
  return !1;
68
69
  }
69
70
  }
70
- function Oe(e, t) {
71
+ function ke(e, t) {
71
72
  const i = { match: !1, sourceField: null, targetField: null };
72
73
  for (const a of t)
73
- if (Ge(e, a)) {
74
+ if (Oe(e, a)) {
74
75
  const s = e.name.replace(/\s/gu, "").toLowerCase();
75
76
  if (a.name.replace(/\s/gu, "").toLowerCase() === s)
76
77
  return i.match = !0, i.sourceField = e, i.targetField = a, i;
77
78
  }
78
79
  return i;
79
80
  }
80
- async function se(e, t, i, a) {
81
+ async function re(e, t, i, a) {
81
82
  let s = !0;
82
83
  const r = { hasAsyncArcadeExpressions: !1 }, l = e.items.filter((h) => h.type === "add");
83
84
  for (const h of l) {
84
- const p = h.graphic.clone(), u = ke(h.graphic, h.layer);
85
+ const p = h.graphic.clone(), u = He(h.graphic, h.layer);
85
86
  if (!u) {
86
87
  s = !1;
87
88
  continue;
88
89
  }
89
- const g = !await He(
90
+ const g = !await Le(
90
91
  t,
91
92
  h.graphic,
92
93
  u,
@@ -105,28 +106,28 @@ async function se(e, t, i, a) {
105
106
  }
106
107
  return s;
107
108
  }
108
- function ke(e, t) {
109
+ function He(e, t) {
109
110
  if (t.type === "feature" || t.type === "subtype-sublayer")
110
111
  return t;
111
112
  const i = t.findSublayerForFeature(e);
112
113
  return i || null;
113
114
  }
114
- async function He(e, t, i, a, s) {
115
+ async function Le(e, t, i, a, s) {
115
116
  const r = i.formTemplate, l = i.fields.filter((f) => {
116
- const z = t.attributes[f.name], ce = z === null || z === "" || z === void 0;
117
- return f.editable && !f.nullable && ce;
117
+ const z = t.attributes[f.name], de = z === null || z === "" || z === void 0;
118
+ return f.editable && !f.nullable && de;
118
119
  });
119
120
  if (!r)
120
121
  return l.length !== 0;
121
122
  const h = /* @__PURE__ */ new Set();
122
- oe(r.elements ?? [], h);
123
+ le(r.elements ?? [], h);
123
124
  const p = /* @__PURE__ */ new Set();
124
- if (re(r.elements ?? [], p), h.size === 0 && p.size === 0)
125
+ if (oe(r.elements ?? [], p), h.size === 0 && p.size === 0)
125
126
  return l.length > 0;
126
127
  const u = t.clone();
127
128
  u.layer = i, delete u.attributes[i.objectIdField], a.has(i) || a.set(
128
129
  i,
129
- new _e({
130
+ new xe({
130
131
  map: e.map,
131
132
  editType: "INSERT"
132
133
  })
@@ -142,28 +143,28 @@ async function He(e, t, i, a, s) {
142
143
  m = z;
143
144
  }
144
145
  return Object.keys(m).forEach((f) => {
145
- i.fieldsIndex.has(f) && (t.attributes[f] = ze(
146
+ i.fieldsIndex.has(f) && (t.attributes[f] = Ve(
146
147
  m[f],
147
148
  f,
148
149
  i.fieldsIndex
149
150
  ));
150
151
  }), g.invalidFeatures.length > 0;
151
152
  }
152
- function re(e, t) {
153
+ function oe(e, t) {
153
154
  for (const i of e)
154
- i.type === "group" ? re(i.elements, t) : i.type === "field" && i.valueExpression && t.add(i.fieldName);
155
+ i.type === "group" ? oe(i.elements, t) : i.type === "field" && i.valueExpression && t.add(i.fieldName);
155
156
  }
156
- function oe(e, t) {
157
+ function le(e, t) {
157
158
  for (const i of e)
158
- i.type === "group" ? oe(i.elements, t) : i.type === "field" && i.requiredExpression && t.add(i.fieldName);
159
+ i.type === "group" ? le(i.elements, t) : i.type === "field" && i.requiredExpression && t.add(i.fieldName);
159
160
  }
160
- function le(e) {
161
+ function ne(e) {
161
162
  return typeof e == "number";
162
163
  }
163
- function Le(e) {
164
+ function ze(e) {
164
165
  return typeof e == "number" && window.isFinite(e) && Math.floor(e) === e;
165
166
  }
166
- function ze(e, t, i) {
167
+ function Ve(e, t, i) {
167
168
  if (e === null || e === void 0)
168
169
  return null;
169
170
  switch (i.get(t).type) {
@@ -172,10 +173,10 @@ function ze(e, t, i) {
172
173
  case "oid":
173
174
  case "integer":
174
175
  case "small-integer":
175
- return Le(e) ? e : window.parseInt(e);
176
+ return ze(e) ? e : window.parseInt(e);
176
177
  case "single":
177
178
  case "double":
178
- return le(e) ? e : window.parseFloat(e);
179
+ return ne(e) ? e : window.parseFloat(e);
179
180
  case "global-id":
180
181
  case "guid":
181
182
  return e === "" ? null : e;
@@ -190,13 +191,13 @@ function ze(e, t, i) {
190
191
  }
191
192
  return e;
192
193
  }
193
- function Ve(e) {
194
+ function De(e) {
194
195
  return e && "layer" in e ? e.layer : void 0;
195
196
  }
196
197
  function E(e) {
197
198
  if (!e)
198
199
  return null;
199
- const t = Ve(e.origin) ?? e.layer ?? e?.sourceLayer ?? null;
200
+ const t = De(e.origin) ?? e.layer ?? e?.sourceLayer ?? null;
200
201
  if (t && t.type === "subtype-sublayer")
201
202
  return t.parent;
202
203
  switch (t?.type) {
@@ -211,12 +212,12 @@ function E(e) {
211
212
  return null;
212
213
  }
213
214
  }
214
- var De = Object.defineProperty, Be = Object.getOwnPropertyDescriptor, A = (e, t, i, a) => {
215
- for (var s = a > 1 ? void 0 : a ? Be(t, i) : t, r = e.length - 1, l; r >= 0; r--)
215
+ var Be = Object.defineProperty, je = Object.getOwnPropertyDescriptor, A = (e, t, i, a) => {
216
+ for (var s = a > 1 ? void 0 : a ? je(t, i) : t, r = e.length - 1, l; r >= 0; r--)
216
217
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
217
- return a && s && De(t, i, s), s;
218
+ return a && s && Be(t, i, s), s;
218
219
  };
219
- const ne = {
220
+ const ce = {
220
221
  noChangeError: "Operation has not made any changes",
221
222
  noSelectedError: "Operation requires a selected feature",
222
223
  deletesGeometryError: "Operation would result in a null geometry",
@@ -286,7 +287,7 @@ let v = class extends U {
286
287
  // If too many features, dont run anything
287
288
  a.items.length > this.viewModel.maximumFeatureCount || // If going to show feature form, then do not do all the analysis!
288
289
  this.viewModel.alwaysShowFeatureForm || i?.showFeatureForm === !0 || // Otherwise, need to see what is mandatory or not.
289
- !await se(
290
+ !await re(
290
291
  a,
291
292
  this.viewModel.view,
292
293
  this.viewModel.formViewModelMap,
@@ -295,10 +296,10 @@ let v = class extends U {
295
296
  );
296
297
  if (this.viewModel.alwaysShowFeatureForm || s || i?.showFeatureForm === !0)
297
298
  this.viewModel.bauActiveFeatureIndex = 0, this.viewModel.bauApplySet = a, this.viewModel.activeCommand = t, this.viewModel.bauOriginalGraphics = a.items.map((r) => r.type === "add" ? { layer: r.layer, graphic: r.graphic } : null).filter((r) => r !== null), this.viewModel.bauFeatures = new j(), this.viewModel.activeFlowPage = "form-page", await new Promise((r) => {
298
- setTimeout(r, 100);
299
+ setTimeout(r, se(100));
299
300
  }), this.viewModel.bauFeatures = new j(
300
301
  this.viewModel.bauOriginalGraphics.map((r) => {
301
- if (xe(r.layer)) {
302
+ if (Pe(r.layer)) {
302
303
  const l = r.layer.findSublayerForFeature(r.graphic);
303
304
  if (l)
304
305
  return r.graphic.layer = l, r.graphic;
@@ -370,12 +371,12 @@ let v = class extends U {
370
371
  return a;
371
372
  }
372
373
  async constructFeatureAttributesCopy(e, t, i) {
373
- let a = Me(e, {});
374
+ let a = Ce(e, {});
374
375
  if (i) {
375
376
  const s = i.layer?.fields;
376
377
  if (s) {
377
- const r = t.fields, l = i.graphic.attributes ?? {}, h = await Ee(t, a);
378
- a = Ie(
378
+ const r = t.fields, l = i.graphic.attributes ?? {}, h = await Ie(t, a);
379
+ a = Se(
379
380
  s,
380
381
  r,
381
382
  l,
@@ -419,10 +420,10 @@ A([
419
420
  v = A([
420
421
  C("components.paste.commands.PasteCommand")
421
422
  ], v);
422
- var je = Object.defineProperty, We = Object.getOwnPropertyDescriptor, G = (e, t, i, a) => {
423
- for (var s = a > 1 ? void 0 : a ? We(t, i) : t, r = e.length - 1, l; r >= 0; r--)
423
+ var We = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, G = (e, t, i, a) => {
424
+ for (var s = a > 1 ? void 0 : a ? Re(t, i) : t, r = e.length - 1, l; r >= 0; r--)
424
425
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
425
- return a && s && je(t, i, s), s;
426
+ return a && s && We(t, i, s), s;
426
427
  };
427
428
  let F = class extends v {
428
429
  get id() {
@@ -455,7 +456,7 @@ let F = class extends v {
455
456
  if (i.applySet && (t = i.applySet), !i.success) {
456
457
  this.viewModel.lastPasteError = {
457
458
  errorCode: i.failReason,
458
- errorMessage: ne[i.failReason],
459
+ errorMessage: ce[i.failReason],
459
460
  localizedErrorMessage: i.failReason
460
461
  }, e.onPasteError(this.viewModel.lastPasteError);
461
462
  return;
@@ -554,10 +555,10 @@ G([
554
555
  F = G([
555
556
  C("components.paste.commands.PasteAppendCommand")
556
557
  ], F);
557
- var Re = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, O = (e, t, i, a) => {
558
- for (var s = a > 1 ? void 0 : a ? Ne(t, i) : t, r = e.length - 1, l; r >= 0; r--)
558
+ var Ne = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, O = (e, t, i, a) => {
559
+ for (var s = a > 1 ? void 0 : a ? Ue(t, i) : t, r = e.length - 1, l; r >= 0; r--)
559
560
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
560
- return a && s && Re(t, i, s), s;
561
+ return a && s && Ne(t, i, s), s;
561
562
  };
562
563
  let _ = class extends v {
563
564
  get id() {
@@ -634,7 +635,7 @@ let _ = class extends v {
634
635
  if (i.applySet && (t = i.applySet), !i.success) {
635
636
  this.viewModel.lastPasteError = {
636
637
  errorCode: i.failReason,
637
- errorMessage: ne[i.failReason],
638
+ errorMessage: ce[i.failReason],
638
639
  localizedErrorMessage: i.failReason
639
640
  }, e.onPasteError(this.viewModel.lastPasteError);
640
641
  return;
@@ -690,10 +691,10 @@ O([
690
691
  _ = O([
691
692
  C("components.paste.commands.PasteSubtractCommand")
692
693
  ], _);
693
- var Ue = Object.defineProperty, qe = Object.getOwnPropertyDescriptor, k = (e, t, i, a) => {
694
- for (var s = a > 1 ? void 0 : a ? qe(t, i) : t, r = e.length - 1, l; r >= 0; r--)
694
+ var qe = Object.defineProperty, Ke = Object.getOwnPropertyDescriptor, k = (e, t, i, a) => {
695
+ for (var s = a > 1 ? void 0 : a ? Ke(t, i) : t, r = e.length - 1, l; r >= 0; r--)
695
696
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
696
- return a && s && Ue(t, i, s), s;
697
+ return a && s && qe(t, i, s), s;
697
698
  };
698
699
  let x = class extends v {
699
700
  get id() {
@@ -748,10 +749,10 @@ k([
748
749
  x = k([
749
750
  C("components.paste.commands.PasteAsCommand")
750
751
  ], x);
751
- var Ke = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, H = (e, t, i, a) => {
752
- for (var s = a > 1 ? void 0 : a ? Xe(t, i) : t, r = e.length - 1, l; r >= 0; r--)
752
+ var Xe = Object.defineProperty, Ze = Object.getOwnPropertyDescriptor, H = (e, t, i, a) => {
753
+ for (var s = a > 1 ? void 0 : a ? Ze(t, i) : t, r = e.length - 1, l; r >= 0; r--)
753
754
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
754
- return a && s && Ke(t, i, s), s;
755
+ return a && s && Xe(t, i, s), s;
755
756
  };
756
757
  let P = class extends v {
757
758
  get id() {
@@ -780,7 +781,7 @@ let P = class extends v {
780
781
  const e = await this.prepareCopy("paste");
781
782
  if (!e || e.items.length === 0)
782
783
  throw new Error("arcgis-paste: No items to paste");
783
- return e.items.length > this.viewModel.maximumFeatureCount || !await se(
784
+ return e.items.length > this.viewModel.maximumFeatureCount || !await re(
784
785
  e,
785
786
  this.viewModel.view,
786
787
  this.viewModel.formViewModelMap,
@@ -818,10 +819,10 @@ H([
818
819
  P = H([
819
820
  C("components.paste.commands.PasteSetCommand")
820
821
  ], P);
821
- var Ze = Object.defineProperty, Je = Object.getOwnPropertyDescriptor, L = (e, t, i, a) => {
822
- for (var s = a > 1 ? void 0 : a ? Je(t, i) : t, r = e.length - 1, l; r >= 0; r--)
822
+ var Je = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, L = (e, t, i, a) => {
823
+ for (var s = a > 1 ? void 0 : a ? Qe(t, i) : t, r = e.length - 1, l; r >= 0; r--)
823
824
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
824
- return a && s && Ze(t, i, s), s;
825
+ return a && s && Je(t, i, s), s;
825
826
  };
826
827
  let $ = class extends v {
827
828
  get id() {
@@ -881,10 +882,10 @@ L([
881
882
  $ = L([
882
883
  C("components.paste.commands.PasteMergeCommand")
883
884
  ], $);
884
- var Qe = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, I = (e, t, i, a) => {
885
- for (var s = a > 1 ? void 0 : a ? Ye(t, i) : t, r = e.length - 1, l; r >= 0; r--)
885
+ var Ye = Object.defineProperty, et = Object.getOwnPropertyDescriptor, I = (e, t, i, a) => {
886
+ for (var s = a > 1 ? void 0 : a ? et(t, i) : t, r = e.length - 1, l; r >= 0; r--)
886
887
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
887
- return a && s && Qe(t, i, s), s;
888
+ return a && s && Ye(t, i, s), s;
888
889
  };
889
890
  let y = class extends v {
890
891
  //#region Lifecycle
@@ -965,10 +966,10 @@ I([
965
966
  y = I([
966
967
  C("components.paste.commands.PasteCustomCommand")
967
968
  ], y);
968
- var et = Object.defineProperty, tt = Object.getOwnPropertyDescriptor, c = (e, t, i, a) => {
969
- for (var s = a > 1 ? void 0 : a ? tt(t, i) : t, r = e.length - 1, l; r >= 0; r--)
969
+ var tt = Object.defineProperty, it = Object.getOwnPropertyDescriptor, c = (e, t, i, a) => {
970
+ for (var s = a > 1 ? void 0 : a ? it(t, i) : t, r = e.length - 1, l; r >= 0; r--)
970
971
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
971
- return a && s && et(t, i, s), s;
972
+ return a && s && tt(t, i, s), s;
972
973
  };
973
974
  function te(e) {
974
975
  return !ie(e) || e.type === "feature";
@@ -1074,7 +1075,7 @@ let n = class extends U {
1074
1075
  return;
1075
1076
  const t = new B({
1076
1077
  geometry: e.graphic.geometry,
1077
- symbol: be(e.graphic.geometry.type)
1078
+ symbol: ye(e.graphic.geometry.type)
1078
1079
  });
1079
1080
  this.view.graphics.add(t), this._hoverHighlightHandle = {
1080
1081
  remove: () => {
@@ -1133,7 +1134,7 @@ let n = class extends U {
1133
1134
  return;
1134
1135
  }
1135
1136
  if (this.showClipboardItems && this.view) {
1136
- this.clipboardGraphicsLayer || (this.clipboardGraphicsLayer = new we({
1137
+ this.clipboardGraphicsLayer || (this.clipboardGraphicsLayer = new be({
1137
1138
  listMode: "hide"
1138
1139
  }), this.view.map?.layers.add(this.clipboardGraphicsLayer));
1139
1140
  const e = this.clipboard.items;
@@ -1147,7 +1148,7 @@ let n = class extends U {
1147
1148
  attributes: {
1148
1149
  clipboardIdx: t
1149
1150
  },
1150
- symbol: ye(i.graphic.geometry.type)
1151
+ symbol: Me(i.graphic.geometry.type)
1151
1152
  });
1152
1153
  this.clipboardGraphicsLayer.add(a);
1153
1154
  }
@@ -1163,7 +1164,7 @@ let n = class extends U {
1163
1164
  this.clipboardGraphicsLayer && (this.clipboardGraphicsLayer.visible = !e), this.clipboardMover && (this.clipboardMover.suspended = e);
1164
1165
  }
1165
1166
  get clipboard() {
1166
- return fe();
1167
+ return we();
1167
1168
  }
1168
1169
  get clipboardFeatures() {
1169
1170
  return this.clipboard.items.filter((e) => e.type === "feature");
@@ -1283,7 +1284,7 @@ let n = class extends U {
1283
1284
  * Write changes to the feature services
1284
1285
  */
1285
1286
  async writeChanges(e) {
1286
- return await Ce(e, this.view);
1287
+ return await Fe(e, this.view);
1287
1288
  }
1288
1289
  //#endregion
1289
1290
  };
@@ -1473,10 +1474,10 @@ c([
1473
1474
  n = c([
1474
1475
  C("components.paste.PasteViewModel")
1475
1476
  ], n);
1476
- var it = Object.defineProperty, at = Object.getOwnPropertyDescriptor, S = (e, t, i, a) => {
1477
- for (var s = a > 1 ? void 0 : a ? at(t, i) : t, r = e.length - 1, l; r >= 0; r--)
1477
+ var at = Object.defineProperty, st = Object.getOwnPropertyDescriptor, S = (e, t, i, a) => {
1478
+ for (var s = a > 1 ? void 0 : a ? st(t, i) : t, r = e.length - 1, l; r >= 0; r--)
1478
1479
  (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
1479
- return a && s && it(t, i, s), s;
1480
+ return a && s && at(t, i, s), s;
1480
1481
  };
1481
1482
  let M = class extends U {
1482
1483
  constructor() {
@@ -1486,7 +1487,7 @@ let M = class extends U {
1486
1487
  this._destroyMover(), this.stateChanged?.("clipboard-contents-changed"), this.continuous && this.start();
1487
1488
  }
1488
1489
  start() {
1489
- this._destroyMover(), this._mover = $e({
1490
+ this._destroyMover(), this._mover = Ae({
1490
1491
  view: this.view,
1491
1492
  graphics: this.graphicsLayer.graphics.toArray(),
1492
1493
  indicatorsEnabled: !0,
@@ -1505,7 +1506,7 @@ let M = class extends U {
1505
1506
  this.clipboard.items.getItemAt(e.attributes.clipboardIdx).graphic.geometry = e.geometry;
1506
1507
  this._destroyMover(), this.stateChanged?.("contents-moved"), this.continuous && setTimeout(() => {
1507
1508
  this.start();
1508
- }, 100);
1509
+ }, se(100));
1509
1510
  }
1510
1511
  }
1511
1512
  });
@@ -1544,16 +1545,16 @@ S([
1544
1545
  M = S([
1545
1546
  C("components.paste.ClipboardMove")
1546
1547
  ], M);
1547
- const st = ve(n);
1548
- class rt extends he {
1548
+ const rt = fe(n);
1549
+ class ot extends ue {
1549
1550
  constructor() {
1550
- super(), this._featureFormElement = V(), this._floatingChoiceContainer = V(), this._bauForm = V(), this._templateGallery = V(), this._messages = ge(), this.viewModel = st(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.disableTemplatesMode = this.viewModel.disableTemplatesMode, this.arcgisApplyPasteCommand = T(), this.arcgisApplyPasteError = T(), this.arcgisBeforeClipboardMove = T(), this.arcgisClipboardMoveStateChanged = T(), this.arcgisClose = T(), this.arcgisPropertyChange = Pe()("pasteCommandsState", "activeFlowPage"), this.arcgisReady = T(), this.listenOn(window, "click", this._handleClickAway), this.listenOn(window, "keydown", this._handleKeyDown);
1551
+ super(), this._featureFormElement = V(), this._floatingChoiceContainer = V(), this._bauForm = V(), this._templateGallery = V(), this._messages = ve(), this.viewModel = rt(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.disableTemplatesMode = this.viewModel.disableTemplatesMode, this.arcgisApplyPasteCommand = T(), this.arcgisApplyPasteError = T(), this.arcgisBeforeClipboardMove = T(), this.arcgisClipboardMoveStateChanged = T(), this.arcgisClose = T(), this.arcgisPropertyChange = $e()("pasteCommandsState", "activeFlowPage"), this.arcgisReady = T(), this.listenOn(window, "click", this._handleClickAway), this.listenOn(window, "keydown", this._handleKeyDown);
1551
1552
  }
1552
1553
  static {
1553
1554
  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, disableTemplatesMode: 1 };
1554
1555
  }
1555
1556
  static {
1556
- this.styles = Ae;
1557
+ this.styles = Ee;
1557
1558
  }
1558
1559
  get supportedCommands() {
1559
1560
  return this.viewModel.supportedCommands;
@@ -1768,7 +1769,7 @@ class rt extends he {
1768
1769
  }
1769
1770
  }}>${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=${() => {
1770
1771
  this.viewModel.activeFlowPage = "merge-page";
1771
- }} 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=${() => {
1772
+ }} title=${this._messages.seeMergeOptions ?? me}>${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=${() => {
1772
1773
  this.viewModel.activeFlowPage = "merge-page";
1773
1774
  }}><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 show-filter template-sort-by=system .disableTemplatesMode=${this.disableTemplatesMode} .applicationDisabledFunction=${(i) => !!(i.template && ie(i.template) && i.template.type !== "feature")} class="paste-feature-templates" .layers=${this.viewModel.workingLayers} @arcgisTemplatesChanged=${() => {
1774
1775
  this._checkAndUpdateInitialPasteTemplate();
@@ -1844,7 +1845,7 @@ class rt extends he {
1844
1845
  this.viewModel.previousActiveFeature();
1845
1846
  }}></calcite-action><calcite-action slot=actions-end icon=chevron-right icon-flip-rtl scale=s .text=${this._messages.next ?? ""} .disabled=${!r || a || !i} @click=${() => {
1846
1847
  this.viewModel.nextActiveFeature();
1847
- }}></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 .view=${this.view} .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) => {
1848
+ }}></calcite-action></calcite-action-bar>${this._renderFloatingUIChoice(i)}` : ""}<div class=${ge(this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures ? "hidden" : void 0)}>${this._renderPasteFormBreadcrumb()}<arcgis-multi-feature-form edit-type=INSERT submit-has-been-attempted .view=${this.view} .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) => {
1848
1849
  this._updateBauViewModelFields(p.target), p.detail.name === "status" && p.target.status === "loaded" && this._copyAcrossValidMultiFormFieldValues();
1849
1850
  }} @arcgisValueChange=${(p) => {
1850
1851
  let u = 0;
@@ -1913,7 +1914,7 @@ class rt extends he {
1913
1914
  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>`;
1914
1915
  }
1915
1916
  }
1916
- de("arcgis-paste", rt);
1917
+ pe("arcgis-paste", ot);
1917
1918
  export {
1918
- rt as ArcgisPaste
1919
+ ot as ArcgisPaste
1919
1920
  };