@arcgis/map-components 5.2.0-next.33 → 5.2.0-next.35

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 (175) hide show
  1. package/dist/cdn/{PXZ7GYGB.js → 2FBLF35H.js} +1 -1
  2. package/dist/cdn/{I5MVHBKV.js → 2GQUMXRP.js} +1 -1
  3. package/dist/cdn/{VLXRN5II.js → 2TWSQAFW.js} +1 -1
  4. package/dist/cdn/{KIQMUMR7.js → 32VPFWAU.js} +1 -1
  5. package/dist/cdn/{UMJTWBQ3.js → 3TV4AW2U.js} +1 -1
  6. package/dist/cdn/{TMOESX4H.js → 3XN5WC3E.js} +1 -1
  7. package/dist/cdn/{6EKV3B5S.js → 43E5Q7SX.js} +1 -1
  8. package/dist/cdn/{N3JXA7DZ.js → 4CIY4MDE.js} +1 -1
  9. package/dist/cdn/{RKXL42SK.js → 4LXXTKLF.js} +1 -1
  10. package/dist/cdn/{USDF674A.js → 4PLVKLIO.js} +1 -1
  11. package/dist/cdn/{4NMNJIYV.js → 4RYRGSLZ.js} +1 -1
  12. package/dist/cdn/{YUV3XEWE.js → 5EO47VPH.js} +1 -1
  13. package/dist/cdn/{TSL4BZHI.js → 6NVBAMUC.js} +1 -1
  14. package/dist/cdn/6Z4HUEBW.js +2 -0
  15. package/dist/cdn/{NAWH5P73.js → 737FF4ZH.js} +1 -1
  16. package/dist/cdn/{OPP5DWFT.js → 7DJQ6AV3.js} +1 -1
  17. package/dist/cdn/{EVYO2SIO.js → 7EYV5QCR.js} +1 -1
  18. package/dist/cdn/7GTMLYFP.js +2 -0
  19. package/dist/cdn/{TCYTMU4A.js → 7NXADBPZ.js} +1 -1
  20. package/dist/cdn/{DUDVPO32.js → 7SS6YS6U.js} +1 -1
  21. package/dist/cdn/{ENSUS3VL.js → ACB6VKEU.js} +1 -1
  22. package/dist/cdn/{R72MT5TQ.js → ACGQG2T3.js} +1 -1
  23. package/dist/cdn/AGNHPUGM.js +2 -0
  24. package/dist/cdn/{UQIJOVPD.js → BABV4Q67.js} +1 -1
  25. package/dist/cdn/{ESTUA4YE.js → BB2OVX6Z.js} +1 -1
  26. package/dist/cdn/BD27PEC7.js +2 -0
  27. package/dist/cdn/{IZVYML7I.js → BJHI57US.js} +1 -1
  28. package/dist/cdn/{NVKY5H7W.js → BMEV46IM.js} +1 -1
  29. package/dist/cdn/{R5NVFWFA.js → BPXDBUNH.js} +1 -1
  30. package/dist/cdn/{7MKSGCWC.js → BYIKUU2V.js} +1 -1
  31. package/dist/cdn/{AW7PMR3D.js → CDY4M34V.js} +1 -1
  32. package/dist/cdn/{KZBBEVWQ.js → CML7DSDS.js} +1 -1
  33. package/dist/cdn/{MMNJNQ3Q.js → CMXX5I5Y.js} +1 -1
  34. package/dist/cdn/{TCKCE5NB.js → CUWHMMMX.js} +1 -1
  35. package/dist/cdn/{3XWUH3TJ.js → CW3A3NSF.js} +1 -1
  36. package/dist/cdn/{VLJKBHDD.js → CWXLMMIV.js} +1 -1
  37. package/dist/cdn/{ZBWHLMXA.js → CZE4HGAH.js} +1 -1
  38. package/dist/cdn/{3TFVMVSU.js → D5OF45DN.js} +1 -1
  39. package/dist/cdn/{NANWWHJ6.js → D5YLOINY.js} +1 -1
  40. package/dist/cdn/{EFYUNXBG.js → DAPA72LS.js} +1 -1
  41. package/dist/cdn/{CCFKZSFO.js → DGHNWABD.js} +1 -1
  42. package/dist/cdn/{43OLIA7Q.js → DGIBWHDZ.js} +1 -1
  43. package/dist/cdn/{GLNO2ZMW.js → DI6UP5OE.js} +1 -1
  44. package/dist/cdn/{JCHYVWCR.js → EE2CA7CT.js} +1 -1
  45. package/dist/cdn/{54WXILYF.js → EOK45N5T.js} +1 -1
  46. package/dist/cdn/{ATLWKCAP.js → ESA5KBF2.js} +1 -1
  47. package/dist/cdn/{SHJGMBBY.js → EV4FZDIH.js} +1 -1
  48. package/dist/cdn/EXQF6CLS.js +2 -0
  49. package/dist/cdn/{435CL2BU.js → FC3W4JBU.js} +1 -1
  50. package/dist/cdn/{A2Q7UAOI.js → FJI7SX3Z.js} +1 -1
  51. package/dist/cdn/{6HJM34BD.js → FK5W4CAM.js} +1 -1
  52. package/dist/cdn/{YMCZRMWW.js → FPWQJH6Z.js} +1 -1
  53. package/dist/cdn/{YMHPA3VC.js → FW6YER2T.js} +1 -1
  54. package/dist/cdn/{45OF43WO.js → FWRGAMLD.js} +1 -1
  55. package/dist/cdn/FWVU47N3.js +2 -0
  56. package/dist/cdn/{7XUCMK3B.js → FZD4BWTZ.js} +1 -1
  57. package/dist/cdn/{NLQ5PJXM.js → G62ON2MX.js} +1 -1
  58. package/dist/cdn/{GPVFCWMU.js → GSI2ZI7D.js} +1 -1
  59. package/dist/cdn/{3XUZ45XB.js → HB3P56AO.js} +1 -1
  60. package/dist/cdn/HF7TEJAO.js +2 -0
  61. package/dist/cdn/{WCXM6TPE.js → HLW5IWNW.js} +1 -1
  62. package/dist/cdn/{6S7LUYCJ.js → HSVIFDP7.js} +1 -1
  63. package/dist/cdn/{KPOSO4HB.js → I5OLG552.js} +1 -1
  64. package/dist/cdn/{2SEZT4WZ.js → I75L57XX.js} +1 -1
  65. package/dist/cdn/{TCFK2EXM.js → IAQVHCU7.js} +1 -1
  66. package/dist/cdn/{SSVJJAR5.js → IIFKJ5KI.js} +1 -1
  67. package/dist/cdn/{K3BJFKYY.js → IJM4ETBT.js} +1 -1
  68. package/dist/cdn/ISUTHAE7.js +2 -0
  69. package/dist/cdn/{6IEKX6LJ.js → J5WF4RA3.js} +1 -1
  70. package/dist/cdn/{V2FVPSX3.js → JAPZRY7D.js} +1 -1
  71. package/dist/cdn/{V7MKCC7O.js → JC5VO2H6.js} +1 -1
  72. package/dist/cdn/JK5WW4LS.js +2 -0
  73. package/dist/cdn/{6JMYHTFN.js → JRGDCJFD.js} +1 -1
  74. package/dist/cdn/{NCHQCPM6.js → K3PRLBKN.js} +1 -1
  75. package/dist/cdn/{LA3UYF7I.js → K3RZVWUG.js} +1 -1
  76. package/dist/cdn/KI2RJGYP.js +2 -0
  77. package/dist/cdn/KN4B6FCH.js +2 -0
  78. package/dist/cdn/{4LB5GOV2.js → KS54PV2C.js} +1 -1
  79. package/dist/cdn/KY3F7CGM.js +2 -0
  80. package/dist/cdn/{3YDQP3TL.js → KYIGNAWR.js} +1 -1
  81. package/dist/cdn/{HIHYNNEU.js → LWFBZABK.js} +1 -1
  82. package/dist/cdn/{7GXEJLOM.js → LWUHDIX7.js} +1 -1
  83. package/dist/cdn/{PKS3JYAN.js → M7QNKIPS.js} +1 -1
  84. package/dist/cdn/{S7HZFJQZ.js → MHFQFV3U.js} +1 -1
  85. package/dist/cdn/MS7AHPCF.js +2 -0
  86. package/dist/cdn/{NC472JXT.js → MVGWB3RU.js} +1 -1
  87. package/dist/cdn/{BCXPJXAK.js → NRSO2H4L.js} +1 -1
  88. package/dist/cdn/{45O57WR4.js → O2ETKQ5D.js} +1 -1
  89. package/dist/cdn/{DBF4LUEJ.js → O5TYAJJC.js} +1 -1
  90. package/dist/cdn/{7PTCONZB.js → OES2XNU6.js} +1 -1
  91. package/dist/cdn/{LKR52VUM.js → OJZS7SEO.js} +1 -1
  92. package/dist/cdn/{EK7GAWIV.js → OPXW6KNI.js} +1 -1
  93. package/dist/cdn/{2NYG7G7M.js → P5CMHBXY.js} +1 -1
  94. package/dist/cdn/{NRYA6EOZ.js → PIBSUNDA.js} +1 -1
  95. package/dist/cdn/{YUCJQ6XI.js → Q3W5PUKE.js} +1 -1
  96. package/dist/cdn/{CX5LLKOW.js → QEKL2JAR.js} +1 -1
  97. package/dist/cdn/{VSXLCBBA.js → QHA2WGXH.js} +1 -1
  98. package/dist/cdn/{BXLXZYRC.js → R76WDXDY.js} +1 -1
  99. package/dist/cdn/{EL6TAK3S.js → RIFV5I7U.js} +1 -1
  100. package/dist/cdn/{GRUB3M36.js → RUFWW2L5.js} +1 -1
  101. package/dist/cdn/{TDEIRM7H.js → RY6OC64Z.js} +1 -1
  102. package/dist/cdn/{3MDY3AXY.js → S3Q7DCIL.js} +1 -1
  103. package/dist/cdn/{BPQPJXPT.js → SDWAS6TI.js} +1 -1
  104. package/dist/cdn/{GJIDZ4M6.js → T2U3NVKA.js} +1 -1
  105. package/dist/cdn/{XOTOMH2G.js → TCOOCOVG.js} +1 -1
  106. package/dist/cdn/{3IVI7KSX.js → TJFVBTGT.js} +1 -1
  107. package/dist/cdn/{SGY36MUJ.js → TJL2GS3I.js} +1 -1
  108. package/dist/cdn/{TCS6CS2V.js → TPL6IAKN.js} +1 -1
  109. package/dist/cdn/{KG2IHV32.js → TWF5DLV4.js} +1 -1
  110. package/dist/cdn/{7KPJBKO6.js → UCRELG4W.js} +1 -1
  111. package/dist/cdn/{O7SRECHG.js → URUIZIXD.js} +1 -1
  112. package/dist/cdn/{42N4OII5.js → UYO3EHF5.js} +1 -1
  113. package/dist/cdn/{B7P66JTS.js → VDRSNCLD.js} +1 -1
  114. package/dist/cdn/{TA7JY4OV.js → VPMDOL5A.js} +1 -1
  115. package/dist/cdn/{3JEAUEUY.js → VZP4JMWS.js} +1 -1
  116. package/dist/cdn/{A5W6D3EH.js → WIGC724I.js} +1 -1
  117. package/dist/cdn/{4ICKT52U.js → WVH3PWDM.js} +1 -1
  118. package/dist/cdn/{DMVLKBEO.js → X32UMW74.js} +1 -1
  119. package/dist/cdn/{B2ZGMSHQ.js → X34ZFQYZ.js} +1 -1
  120. package/dist/cdn/{BRDTU3O6.js → XC3A635J.js} +1 -1
  121. package/dist/cdn/{6O7GP3C3.js → XDK4EBMF.js} +1 -1
  122. package/dist/cdn/{EK44YZYH.js → XHS7LMVO.js} +1 -1
  123. package/dist/cdn/{CTUD7CTJ.js → XJ45UBQS.js} +1 -1
  124. package/dist/cdn/{DBJFHC3S.js → XR4WLNHC.js} +1 -1
  125. package/dist/cdn/{FCRUDE4P.js → XRRV7RO4.js} +1 -1
  126. package/dist/cdn/{SFP62RAJ.js → XVEDSEO5.js} +1 -1
  127. package/dist/cdn/{AU7UZMXF.js → Y4BLBOOK.js} +1 -1
  128. package/dist/cdn/{YNIECEKR.js → Y6YN2NUF.js} +1 -1
  129. package/dist/cdn/{3PM2WTS4.js → YMGM7P5W.js} +1 -1
  130. package/dist/cdn/{MPYM4XNR.js → YQHCTUQF.js} +1 -1
  131. package/dist/cdn/{EEF3VY5V.js → YVZBBDWC.js} +1 -1
  132. package/dist/cdn/{MECGUFOT.js → ZVK4FCTD.js} +1 -1
  133. package/dist/cdn/{Z2HJETJA.js → ZVZAGAA3.js} +1 -1
  134. package/dist/cdn/index.js +1 -1
  135. package/dist/components/arcgis-editor/customElement.d.ts +6 -0
  136. package/dist/components/arcgis-editor/customElement.js +6 -6
  137. package/dist/components/arcgis-feature-templates/customElement.d.ts +7 -0
  138. package/dist/components/arcgis-feature-templates/customElement.js +3 -3
  139. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  140. package/dist/components/arcgis-legend/customElement.js +34 -33
  141. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  142. package/dist/components/arcgis-paste/customElement.js +234 -227
  143. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +33 -31
  144. package/dist/components/arcgis-print-layout-panel/customElement.js +19 -16
  145. package/dist/components/arcgis-print-main-panel/customElement.js +28 -21
  146. package/dist/components/arcgis-print-template-select/customElement.js +24 -21
  147. package/dist/components/arcgis-print-template-selector/customElement.js +19 -19
  148. package/dist/docs/api.json +1 -1
  149. package/dist/docs/docs.json +1 -1
  150. package/dist/docs/vscode.html-custom-data.json +1 -1
  151. package/dist/docs/web-types.json +1 -1
  152. package/dist/loader.js +2 -2
  153. package/dist/types/lumina.d.ts +1 -1
  154. package/dist/types/preact.d.ts +1 -1
  155. package/dist/types/react.d.ts +1 -1
  156. package/dist/types/stencil.d.ts +1 -1
  157. package/package.json +4 -4
  158. package/dist/cdn/3ACWQZMG.js +0 -2
  159. package/dist/cdn/3UEX6WWW.js +0 -2
  160. package/dist/cdn/EI7NXMGF.js +0 -2
  161. package/dist/cdn/ITCLBS5H.js +0 -2
  162. package/dist/cdn/MTYQJ4TB.js +0 -2
  163. package/dist/cdn/NYS47GN2.js +0 -2
  164. package/dist/cdn/PLLSFCLD.js +0 -2
  165. package/dist/cdn/Q2XRS2MQ.js +0 -2
  166. package/dist/cdn/TZHGOM2Y.js +0 -2
  167. package/dist/cdn/UFGA4NGM.js +0 -2
  168. package/dist/cdn/VJ2SMYNX.js +0 -2
  169. package/dist/cdn/VRWFW2LF.js +0 -2
  170. package/dist/cdn/VYBNGAPG.js +0 -2
  171. package/dist/cdn/YOXKII2K.js +0 -2
  172. package/dist/cdn/assets/home/t9n/messages.home.json +0 -1
  173. package/dist/cdn/assets/slider-scale-range/t9n/messages.ScaleRangeSlider.json +0 -1
  174. package/dist/cdn/assets/swipe/t9n/messages.swipe.json +0 -1
  175. package/dist/chunks/useHandles.js +0 -207
@@ -5,7 +5,7 @@ import { keyed as w } from "lit/directives/keyed.js";
5
5
  import { LitElement as he, createEvent as T, safeStyleMap as Z, nothing as ue, safeClassMap as me } from "@arcgis/lumina";
6
6
  import { u as ge } from "../../chunks/useT9n.js";
7
7
  import { m as ve } from "../../chunks/useViewModel.js";
8
- import { property as r, subclass as C } from "@arcgis/core/core/accessorSupport/decorators.js";
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
11
  import { getApplicationClipboard as fe } from "@arcgis/core/applications/Components/clipboard.js";
@@ -17,14 +17,14 @@ import { createApplySetModifyItem as W, createApplySet as q, createFeatureStateP
17
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
- import { f as ee } from "../../chunks/layer-utils.js";
20
+ import { c as xe, f as ee } from "../../chunks/layer-utils.js";
21
21
  import { substitute as b } from "@arcgis/core/intl.js";
22
- import { usePropertyChange as xe } from "@arcgis/lumina/controllers";
22
+ import { usePropertyChange as Pe } 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
- import { createGraphicsMover as Pe } from "@arcgis/core/applications/Components/editUtils.js";
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
- async function Ae(e, t = {}) {
25
+ import { createGraphicsMover as $e } from "@arcgis/core/applications/Components/editUtils.js";
26
+ 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%}`;
27
+ async function Ee(e, t = {}) {
28
28
  if (e?.type === "subtype-group") {
29
29
  if (!e.subtypeField)
30
30
  return [];
@@ -36,11 +36,11 @@ async function Ae(e, t = {}) {
36
36
  }
37
37
  return e ? e.renderer && e.fieldsIndex ? await Y(e.renderer, e.fieldsIndex) : [] : [];
38
38
  }
39
- function Ee(e, t, i, a, s, o) {
40
- const l = { ...a }, h = Ie(o), p = Se(o);
39
+ function Ie(e, t, i, a, s, r) {
40
+ const l = { ...a }, h = Se(r), p = Te(r);
41
41
  let u = "";
42
- (o.type === "subtype-group" || o.type === "subtype-sublayer") && (u = o.subtypeField ?? "");
43
- const g = o.objectIdField ?? "";
42
+ (r.type === "subtype-group" || r.type === "subtype-sublayer") && (u = r.subtypeField ?? "");
43
+ const g = r.objectIdField ?? "";
44
44
  return e.forEach((m) => {
45
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)) {
46
46
  const f = Oe(m, t);
@@ -48,13 +48,13 @@ function Ee(e, t, i, a, s, o) {
48
48
  }
49
49
  }), l;
50
50
  }
51
- function Ie(e) {
51
+ function Se(e) {
52
52
  return e && "relationships" in e ? (e.relationships ?? []).filter((i) => i.role === "origin").map((i) => i.keyField) : [];
53
53
  }
54
- function Se(e) {
54
+ function Te(e) {
55
55
  return e?.type === "subtype-sublayer" && (e = e.parent), e ? Fe(e) : [];
56
56
  }
57
- function Te(e, t) {
57
+ function Ge(e, t) {
58
58
  if (e.type === t.type)
59
59
  return t.type === "string" ? e.length <= t.length : !0;
60
60
  switch (e.type) {
@@ -71,7 +71,7 @@ function Te(e, t) {
71
71
  function Oe(e, t) {
72
72
  const i = { match: !1, sourceField: null, targetField: null };
73
73
  for (const a of t)
74
- if (Te(e, a)) {
74
+ if (Ge(e, a)) {
75
75
  const s = e.name.replace(/\s/gu, "").toLowerCase();
76
76
  if (a.name.replace(/\s/gu, "").toLowerCase() === s)
77
77
  return i.match = !0, i.sourceField = e, i.targetField = a, i;
@@ -80,9 +80,9 @@ function Oe(e, t) {
80
80
  }
81
81
  async function se(e, t, i, a) {
82
82
  let s = !0;
83
- const o = { hasAsyncArcadeExpressions: !1 }, l = e.items.filter((h) => h.type === "add");
83
+ const r = { hasAsyncArcadeExpressions: !1 }, l = e.items.filter((h) => h.type === "add");
84
84
  for (const h of l) {
85
- const p = h.graphic.clone(), u = Ge(
85
+ const p = h.graphic.clone(), u = ke(
86
86
  h.graphic,
87
87
  h.layer
88
88
  );
@@ -90,14 +90,14 @@ async function se(e, t, i, a) {
90
90
  s = !1;
91
91
  continue;
92
92
  }
93
- const g = !await ke(
93
+ const g = !await He(
94
94
  t,
95
95
  h.graphic,
96
96
  u,
97
97
  i,
98
- o
98
+ r
99
99
  );
100
- if (o.hasAsyncArcadeExpressions && l.length > a)
100
+ if (r.hasAsyncArcadeExpressions && l.length > a)
101
101
  return !1;
102
102
  const m = W({
103
103
  graphic: h.graphic,
@@ -109,23 +109,23 @@ async function se(e, t, i, a) {
109
109
  }
110
110
  return s;
111
111
  }
112
- function Ge(e, t) {
112
+ function ke(e, t) {
113
113
  if (t.type === "feature" || t.type === "subtype-sublayer")
114
114
  return t;
115
115
  const i = t.findSublayerForFeature(e);
116
116
  return i || null;
117
117
  }
118
- async function ke(e, t, i, a, s) {
119
- const o = i.formTemplate, l = i.fields.filter((f) => {
118
+ async function He(e, t, i, a, s) {
119
+ const r = i.formTemplate, l = i.fields.filter((f) => {
120
120
  const z = t.attributes[f.name], ce = z === null || z === "" || z === void 0;
121
121
  return f.editable && !f.nullable && ce;
122
122
  });
123
- if (!o)
123
+ if (!r)
124
124
  return l.length !== 0;
125
125
  const h = /* @__PURE__ */ new Set();
126
- oe(o.elements ?? [], h);
126
+ oe(r.elements ?? [], h);
127
127
  const p = /* @__PURE__ */ new Set();
128
- if (re(o.elements ?? [], p), h.size === 0 && p.size === 0)
128
+ if (re(r.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(
@@ -146,7 +146,7 @@ async function ke(e, t, i, a, s) {
146
146
  m = z;
147
147
  }
148
148
  return Object.keys(m).forEach((f) => {
149
- i.fieldsIndex.has(f) && (t.attributes[f] = Le(
149
+ i.fieldsIndex.has(f) && (t.attributes[f] = ze(
150
150
  m[f],
151
151
  f,
152
152
  i.fieldsIndex
@@ -164,10 +164,10 @@ function oe(e, t) {
164
164
  function le(e) {
165
165
  return typeof e == "number";
166
166
  }
167
- function He(e) {
167
+ function Le(e) {
168
168
  return typeof e == "number" && window.isFinite(e) && Math.floor(e) === e;
169
169
  }
170
- function Le(e, t, i) {
170
+ function ze(e, t, i) {
171
171
  if (e === null || e === void 0)
172
172
  return null;
173
173
  switch (i.get(t).type) {
@@ -176,7 +176,7 @@ function Le(e, t, i) {
176
176
  case "oid":
177
177
  case "integer":
178
178
  case "small-integer":
179
- return He(e) ? e : window.parseInt(e);
179
+ return Le(e) ? e : window.parseInt(e);
180
180
  case "single":
181
181
  case "double":
182
182
  return le(e) ? e : window.parseFloat(e);
@@ -194,13 +194,13 @@ function Le(e, t, i) {
194
194
  }
195
195
  return e;
196
196
  }
197
- function ze(e) {
197
+ function Ve(e) {
198
198
  return e && "layer" in e ? e.layer : void 0;
199
199
  }
200
200
  function E(e) {
201
201
  if (!e)
202
202
  return null;
203
- const t = ze(e.origin) ?? e.layer ?? e?.sourceLayer ?? null;
203
+ const t = Ve(e.origin) ?? e.layer ?? e?.sourceLayer ?? null;
204
204
  if (t && t.type === "subtype-sublayer")
205
205
  return t.parent;
206
206
  switch (t?.type) {
@@ -215,10 +215,10 @@ function E(e) {
215
215
  return null;
216
216
  }
217
217
  }
218
- var Ve = Object.defineProperty, De = Object.getOwnPropertyDescriptor, A = (e, t, i, a) => {
219
- for (var s = a > 1 ? void 0 : a ? De(t, i) : t, o = e.length - 1, l; o >= 0; o--)
220
- (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
221
- return a && s && Ve(t, i, s), s;
218
+ var De = Object.defineProperty, Be = Object.getOwnPropertyDescriptor, A = (e, t, i, a) => {
219
+ for (var s = a > 1 ? void 0 : a ? Be(t, i) : t, r = e.length - 1, l; r >= 0; r--)
220
+ (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
221
+ return a && s && De(t, i, s), s;
222
222
  };
223
223
  const ne = {
224
224
  noChangeError: "Operation has not made any changes",
@@ -298,26 +298,33 @@ let v = class extends U {
298
298
  )
299
299
  );
300
300
  if (this.viewModel.alwaysShowFeatureForm || s || i?.showFeatureForm === !0)
301
- this.viewModel.bauActiveFeatureIndex = 0, this.viewModel.bauApplySet = a, this.viewModel.activeCommand = t, this.viewModel.bauOriginalGraphics = a.items.map((o) => o.type === "add" ? { layer: o.layer, graphic: o.graphic } : null).filter((o) => o !== null), this.viewModel.bauFeatures = new j(), this.viewModel.activeFlowPage = "form-page", await new Promise((o) => {
302
- setTimeout(o, 100);
301
+ 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) => {
302
+ setTimeout(r, 100);
303
303
  }), this.viewModel.bauFeatures = new j(
304
- this.viewModel.bauOriginalGraphics.map((o) => (o.graphic.layer = o.layer, o.graphic))
304
+ this.viewModel.bauOriginalGraphics.map((r) => {
305
+ if (xe(r.layer)) {
306
+ const l = r.layer.findSublayerForFeature(r.graphic);
307
+ if (l)
308
+ return r.graphic.layer = l, r.graphic;
309
+ }
310
+ return r.graphic.layer = r.layer, r.graphic;
311
+ })
305
312
  ), this.viewModel.updateIndividualMultiFeatureFormHighlight();
306
313
  else
307
314
  try {
308
- const o = await e.onApply({
315
+ const r = await e.onApply({
309
316
  command: "paste",
310
317
  applySet: a
311
318
  });
312
- if (o.success) {
319
+ if (r.success) {
313
320
  this.viewModel.resetHome(), this.viewModel.closeOnApply && e.closeAfterApply();
314
321
  return;
315
322
  }
316
- this.viewModel.handleApplyError(o, e.onPasteError);
317
- } catch (o) {
323
+ this.viewModel.handleApplyError(r, e.onPasteError);
324
+ } catch (r) {
318
325
  this.viewModel.lastPasteError = {
319
326
  errorCode: "unexpectedError",
320
- errorMessage: o.message,
327
+ errorMessage: r.message,
321
328
  localizedErrorMessage: "unexpectedError"
322
329
  }, e.onPasteError(this.viewModel.lastPasteError);
323
330
  return;
@@ -337,31 +344,31 @@ let v = class extends U {
337
344
  const s = this.viewModel.pasteTemplate?.template ? await J(this.viewModel.view, this.viewModel.pasteTemplate.template) : null;
338
345
  if (!s)
339
346
  return null;
340
- const o = Q(this.viewModel.pasteTemplate.template) ? s.layer : this.viewModel.pasteTemplate.layer, l = await this.createMergedClipboardGeom(), h = await this.constructFeatureAttributesCopy(s, o, i), p = new B({
347
+ const r = Q(this.viewModel.pasteTemplate.template) ? s.layer : this.viewModel.pasteTemplate.layer, l = await this.createMergedClipboardGeom(), h = await this.constructFeatureAttributesCopy(s, r, i), p = new B({
341
348
  geometry: l,
342
349
  attributes: h
343
350
  });
344
- this.removeGraphicIdentifierFields(p, o), a.push(R({ graphic: p, layer: o }));
351
+ this.removeGraphicIdentifierFields(p, r), a.push(R({ graphic: p, layer: r }));
345
352
  } else if (e === "paste")
346
353
  for (const s of this.viewModel.clipboardFeatures) {
347
- const o = s.graphic.clone();
348
- this.removeGraphicIdentifierFields(o, s.layer), a.push(R({ graphic: o, layer: s.layer }));
354
+ const r = s.graphic.clone();
355
+ this.removeGraphicIdentifierFields(r, s.layer), a.push(R({ graphic: r, layer: s.layer }));
349
356
  }
350
357
  else if (e === "paste-as") {
351
358
  const s = this.viewModel.pasteTemplate?.template ? await J(this.viewModel.view, this.viewModel.pasteTemplate.template) : null;
352
359
  if (!s)
353
360
  return null;
354
- const o = Q(s) ? s.layer : this.viewModel.pasteTemplate.layer;
361
+ const r = Q(s) ? s.layer : this.viewModel.pasteTemplate.layer;
355
362
  for (const l of this.viewModel.clipboardFeatures) {
356
363
  const h = await this.constructFeatureAttributesCopy(
357
364
  s,
358
- o,
365
+ r,
359
366
  t ? l : null
360
367
  ), p = new B({
361
368
  geometry: l.graphic?.geometry?.clone() ?? null,
362
369
  attributes: h
363
370
  });
364
- this.removeGraphicIdentifierFields(p, o), a.push(R({ graphic: p, layer: o }));
371
+ this.removeGraphicIdentifierFields(p, r), a.push(R({ graphic: p, layer: r }));
365
372
  }
366
373
  }
367
374
  return a;
@@ -371,10 +378,10 @@ let v = class extends U {
371
378
  if (i) {
372
379
  const s = i.layer?.fields;
373
380
  if (s) {
374
- const o = t.fields, l = i.graphic.attributes ?? {}, h = await Ae(t, a);
375
- a = Ee(
381
+ const r = t.fields, l = i.graphic.attributes ?? {}, h = await Ee(t, a);
382
+ a = Ie(
376
383
  s,
377
- o,
384
+ r,
378
385
  l,
379
386
  a,
380
387
  h,
@@ -393,33 +400,33 @@ let v = class extends U {
393
400
  }
394
401
  };
395
402
  A([
396
- r()
403
+ o()
397
404
  ], v.prototype, "viewModel", 2);
398
405
  A([
399
- r()
406
+ o()
400
407
  ], v.prototype, "mustShowOnCommandPage", 1);
401
408
  A([
402
- r()
409
+ o()
403
410
  ], v.prototype, "icon", 1);
404
411
  A([
405
- r()
412
+ o()
406
413
  ], v.prototype, "id", 1);
407
414
  A([
408
- r()
415
+ o()
409
416
  ], v.prototype, "commandEnabled", 1);
410
417
  A([
411
- r()
418
+ o()
412
419
  ], v.prototype, "commandDisabledReason", 1);
413
420
  A([
414
- r()
421
+ o()
415
422
  ], v.prototype, "immediate", 1);
416
423
  v = A([
417
424
  C("components.paste.commands.PasteCommand")
418
425
  ], v);
419
- var Be = Object.defineProperty, je = Object.getOwnPropertyDescriptor, O = (e, t, i, a) => {
420
- for (var s = a > 1 ? void 0 : a ? je(t, i) : t, o = e.length - 1, l; o >= 0; o--)
421
- (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
422
- return a && s && Be(t, i, s), s;
426
+ var je = Object.defineProperty, We = Object.getOwnPropertyDescriptor, G = (e, t, i, a) => {
427
+ for (var s = a > 1 ? void 0 : a ? We(t, i) : t, r = e.length - 1, l; r >= 0; r--)
428
+ (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
429
+ return a && s && je(t, i, s), s;
423
430
  };
424
431
  let F = class extends v {
425
432
  get id() {
@@ -511,10 +518,10 @@ let F = class extends v {
511
518
  }
512
519
  if (!s)
513
520
  return { success: !1, failReason: "noChangeError" };
514
- const o = this.viewModel.selectedFeature.clone();
515
- return o.geometry = a, e.push(
521
+ const r = this.viewModel.selectedFeature.clone();
522
+ return r.geometry = a, e.push(
516
523
  W({
517
- graphic: o,
524
+ graphic: r,
518
525
  layer: E(this.viewModel.selectedFeature),
519
526
  originalGraphic: this.viewModel.selectedFeature
520
527
  })
@@ -533,28 +540,28 @@ let F = class extends v {
533
540
  return e.pasteAppendTitle;
534
541
  }
535
542
  };
536
- O([
537
- r()
543
+ G([
544
+ o()
538
545
  ], F.prototype, "id", 1);
539
- O([
540
- r()
546
+ G([
547
+ o()
541
548
  ], F.prototype, "icon", 1);
542
- O([
543
- r()
549
+ G([
550
+ o()
544
551
  ], F.prototype, "immediate", 1);
545
- O([
546
- r()
552
+ G([
553
+ o()
547
554
  ], F.prototype, "mustShowOnCommandPage", 1);
548
- O([
549
- r()
555
+ G([
556
+ o()
550
557
  ], F.prototype, "commandEnabled", 1);
551
- F = O([
558
+ F = G([
552
559
  C("components.paste.commands.PasteAppendCommand")
553
560
  ], F);
554
- var We = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, G = (e, t, i, a) => {
555
- for (var s = a > 1 ? void 0 : a ? Re(t, i) : t, o = e.length - 1, l; o >= 0; o--)
556
- (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
557
- return a && s && We(t, i, s), s;
561
+ var Re = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, O = (e, t, i, a) => {
562
+ for (var s = a > 1 ? void 0 : a ? Ne(t, i) : t, r = e.length - 1, l; r >= 0; r--)
563
+ (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
564
+ return a && s && Re(t, i, s), s;
558
565
  };
559
566
  let _ = class extends v {
560
567
  get id() {
@@ -602,10 +609,10 @@ let _ = class extends v {
602
609
  }
603
610
  if (!s)
604
611
  return { success: !1, failReason: "noChangeError", applySet: e };
605
- const o = this.viewModel.selectedFeature.clone();
606
- return o.geometry = a, e.push(
612
+ const r = this.viewModel.selectedFeature.clone();
613
+ return r.geometry = a, e.push(
607
614
  W({
608
- graphic: o,
615
+ graphic: r,
609
616
  layer: E(this.viewModel.selectedFeature),
610
617
  originalGraphic: this.viewModel.selectedFeature
611
618
  })
@@ -669,28 +676,28 @@ let _ = class extends v {
669
676
  return e.pasteSubtractTitle;
670
677
  }
671
678
  };
672
- G([
673
- r()
679
+ O([
680
+ o()
674
681
  ], _.prototype, "id", 1);
675
- G([
676
- r()
682
+ O([
683
+ o()
677
684
  ], _.prototype, "icon", 1);
678
- G([
679
- r()
685
+ O([
686
+ o()
680
687
  ], _.prototype, "immediate", 1);
681
- G([
682
- r()
688
+ O([
689
+ o()
683
690
  ], _.prototype, "mustShowOnCommandPage", 1);
684
- G([
685
- r()
691
+ O([
692
+ o()
686
693
  ], _.prototype, "commandEnabled", 1);
687
- _ = G([
694
+ _ = O([
688
695
  C("components.paste.commands.PasteSubtractCommand")
689
696
  ], _);
690
- var Ne = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, k = (e, t, i, a) => {
691
- for (var s = a > 1 ? void 0 : a ? Ue(t, i) : t, o = e.length - 1, l; o >= 0; o--)
692
- (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
693
- return a && s && Ne(t, i, s), s;
697
+ var Ue = Object.defineProperty, qe = Object.getOwnPropertyDescriptor, k = (e, t, i, a) => {
698
+ for (var s = a > 1 ? void 0 : a ? qe(t, i) : t, r = e.length - 1, l; r >= 0; r--)
699
+ (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
700
+ return a && s && Ue(t, i, s), s;
694
701
  };
695
702
  let x = class extends v {
696
703
  get id() {
@@ -728,27 +735,27 @@ let x = class extends v {
728
735
  }
729
736
  };
730
737
  k([
731
- r()
738
+ o()
732
739
  ], x.prototype, "id", 1);
733
740
  k([
734
- r()
741
+ o()
735
742
  ], x.prototype, "icon", 1);
736
743
  k([
737
- r()
744
+ o()
738
745
  ], x.prototype, "immediate", 1);
739
746
  k([
740
- r()
747
+ o()
741
748
  ], x.prototype, "mustShowOnCommandPage", 1);
742
749
  k([
743
- r()
750
+ o()
744
751
  ], x.prototype, "commandEnabled", 1);
745
752
  x = k([
746
753
  C("components.paste.commands.PasteAsCommand")
747
754
  ], x);
748
- var qe = Object.defineProperty, Ke = Object.getOwnPropertyDescriptor, H = (e, t, i, a) => {
749
- for (var s = a > 1 ? void 0 : a ? Ke(t, i) : t, o = e.length - 1, l; o >= 0; o--)
750
- (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
751
- return a && s && qe(t, i, s), s;
755
+ var Ke = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, H = (e, t, i, a) => {
756
+ for (var s = a > 1 ? void 0 : a ? Xe(t, i) : t, r = e.length - 1, l; r >= 0; r--)
757
+ (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
758
+ return a && s && Ke(t, i, s), s;
752
759
  };
753
760
  let P = class extends v {
754
761
  get id() {
@@ -798,27 +805,27 @@ let P = class extends v {
798
805
  }
799
806
  };
800
807
  H([
801
- r()
808
+ o()
802
809
  ], P.prototype, "id", 1);
803
810
  H([
804
- r()
811
+ o()
805
812
  ], P.prototype, "icon", 1);
806
813
  H([
807
- r()
814
+ o()
808
815
  ], P.prototype, "immediate", 1);
809
816
  H([
810
- r()
817
+ o()
811
818
  ], P.prototype, "mustShowOnCommandPage", 1);
812
819
  H([
813
- r()
820
+ o()
814
821
  ], P.prototype, "commandEnabled", 1);
815
822
  P = H([
816
823
  C("components.paste.commands.PasteSetCommand")
817
824
  ], P);
818
- var Xe = Object.defineProperty, Ze = Object.getOwnPropertyDescriptor, L = (e, t, i, a) => {
819
- for (var s = a > 1 ? void 0 : a ? Ze(t, i) : t, o = e.length - 1, l; o >= 0; o--)
820
- (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
821
- return a && s && Xe(t, i, s), s;
825
+ var Ze = Object.defineProperty, Je = Object.getOwnPropertyDescriptor, L = (e, t, i, a) => {
826
+ for (var s = a > 1 ? void 0 : a ? Je(t, i) : t, r = e.length - 1, l; r >= 0; r--)
827
+ (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
828
+ return a && s && Ze(t, i, s), s;
822
829
  };
823
830
  let $ = class extends v {
824
831
  get id() {
@@ -861,27 +868,27 @@ let $ = class extends v {
861
868
  }
862
869
  };
863
870
  L([
864
- r()
871
+ o()
865
872
  ], $.prototype, "id", 1);
866
873
  L([
867
- r()
874
+ o()
868
875
  ], $.prototype, "icon", 1);
869
876
  L([
870
- r()
877
+ o()
871
878
  ], $.prototype, "immediate", 1);
872
879
  L([
873
- r()
880
+ o()
874
881
  ], $.prototype, "mustShowOnCommandPage", 1);
875
882
  L([
876
- r()
883
+ o()
877
884
  ], $.prototype, "commandEnabled", 1);
878
885
  $ = L([
879
886
  C("components.paste.commands.PasteMergeCommand")
880
887
  ], $);
881
- var Je = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, I = (e, t, i, a) => {
882
- for (var s = a > 1 ? void 0 : a ? Qe(t, i) : t, o = e.length - 1, l; o >= 0; o--)
883
- (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
884
- return a && s && Je(t, i, s), s;
888
+ var Qe = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, I = (e, t, i, a) => {
889
+ for (var s = a > 1 ? void 0 : a ? Ye(t, i) : t, r = e.length - 1, l; r >= 0; r--)
890
+ (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
891
+ return a && s && Qe(t, i, s), s;
885
892
  };
886
893
  let y = class extends v {
887
894
  //#region Lifecycle
@@ -942,30 +949,30 @@ let y = class extends v {
942
949
  }
943
950
  };
944
951
  I([
945
- r()
952
+ o()
946
953
  ], y.prototype, "customCommand", 2);
947
954
  I([
948
- r()
955
+ o()
949
956
  ], y.prototype, "id", 1);
950
957
  I([
951
- r()
958
+ o()
952
959
  ], y.prototype, "icon", 1);
953
960
  I([
954
- r()
961
+ o()
955
962
  ], y.prototype, "immediate", 1);
956
963
  I([
957
- r()
964
+ o()
958
965
  ], y.prototype, "mustShowOnCommandPage", 1);
959
966
  I([
960
- r()
967
+ o()
961
968
  ], y.prototype, "commandEnabled", 1);
962
969
  y = I([
963
970
  C("components.paste.commands.PasteCustomCommand")
964
971
  ], y);
965
- var Ye = Object.defineProperty, et = Object.getOwnPropertyDescriptor, c = (e, t, i, a) => {
966
- for (var s = a > 1 ? void 0 : a ? et(t, i) : t, o = e.length - 1, l; o >= 0; o--)
967
- (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
968
- return a && s && Ye(t, i, s), s;
972
+ var et = Object.defineProperty, tt = Object.getOwnPropertyDescriptor, c = (e, t, i, a) => {
973
+ for (var s = a > 1 ? void 0 : a ? tt(t, i) : t, r = e.length - 1, l; r >= 0; r--)
974
+ (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
975
+ return a && s && et(t, i, s), s;
969
976
  };
970
977
  function te(e) {
971
978
  return !ie(e) || e.type === "feature";
@@ -1010,8 +1017,8 @@ let n = class extends U {
1010
1017
  return !1;
1011
1018
  const a = i.type === "subtype-sublayer" ? i.parent : i;
1012
1019
  if (a.type === "subtype-group") {
1013
- const s = a.fieldsIndex.get(a.subtypeField).name, o = e.prototype?.[s];
1014
- if (o == null || o !== t.graphic.attributes[s])
1020
+ const s = a.fieldsIndex.get(a.subtypeField).name, r = e.prototype?.[s];
1021
+ if (r == null || r !== t.graphic.attributes[s])
1015
1022
  return !1;
1016
1023
  }
1017
1024
  }
@@ -1031,8 +1038,8 @@ let n = class extends U {
1031
1038
  const s = a.type === "subtype-sublayer" ? a.parent : a;
1032
1039
  if (e === a) {
1033
1040
  if (s.type === "subtype-group") {
1034
- const o = s.fieldsIndex.get(s.subtypeField).name, l = t.prototype?.[o];
1035
- if (l == null || l !== i.graphic.attributes[o])
1041
+ const r = s.fieldsIndex.get(s.subtypeField).name, l = t.prototype?.[r];
1042
+ if (l == null || l !== i.graphic.attributes[r])
1036
1043
  continue;
1037
1044
  }
1038
1045
  return !0;
@@ -1184,7 +1191,7 @@ let n = class extends U {
1184
1191
  ).filter((e) => {
1185
1192
  let t = this.clipboard.singleGeometryType;
1186
1193
  return this.activeCommand === "paste-merge" && this.clipboard.singleGeometryType === "point" && (t = "multipoint"), !(e.geometryType !== t || !this.layerPermissionsCheck.canCreate(e));
1187
- });
1194
+ }).slice(0).reverse();
1188
1195
  }
1189
1196
  get clipboardItemLayers() {
1190
1197
  const e = /* @__PURE__ */ new Set();
@@ -1285,195 +1292,195 @@ let n = class extends U {
1285
1292
  //#endregion
1286
1293
  };
1287
1294
  c([
1288
- r()
1295
+ o()
1289
1296
  ], n.prototype, "customPasteCommands", 2);
1290
1297
  c([
1291
- r()
1298
+ o()
1292
1299
  ], n.prototype, "bauInvalidFeatures", 2);
1293
1300
  c([
1294
- r()
1301
+ o()
1295
1302
  ], n.prototype, "bauFormValid", 2);
1296
1303
  c([
1297
- r()
1304
+ o()
1298
1305
  ], n.prototype, "bauFormUpdating", 2);
1299
1306
  c([
1300
- r()
1307
+ o()
1301
1308
  ], n.prototype, "bauActiveFeatureIndex", 2);
1302
1309
  c([
1303
- r()
1310
+ o()
1304
1311
  ], n.prototype, "bauHasTooManyFeatures", 2);
1305
1312
  c([
1306
- r()
1313
+ o()
1307
1314
  ], n.prototype, "bauHasTooManyComplexFeatures", 2);
1308
1315
  c([
1309
- r()
1316
+ o()
1310
1317
  ], n.prototype, "bauActiveGraphic", 1);
1311
1318
  c([
1312
- r()
1319
+ o()
1313
1320
  ], n.prototype, "hasTooManyPasteCreateFeatures", 1);
1314
1321
  c([
1315
- r()
1322
+ o()
1316
1323
  ], n.prototype, "bauActiveLayer", 1);
1317
1324
  c([
1318
- r()
1325
+ o()
1319
1326
  ], n.prototype, "bauFeatures", 2);
1320
1327
  c([
1321
- r()
1328
+ o()
1322
1329
  ], n.prototype, "bauApplySet", 2);
1323
1330
  c([
1324
- r()
1331
+ o()
1325
1332
  ], n.prototype, "bauOriginalGraphics", 2);
1326
1333
  c([
1327
- r()
1334
+ o()
1328
1335
  ], n.prototype, "formViewModelMap", 2);
1329
1336
  c([
1330
- r()
1337
+ o()
1331
1338
  ], n.prototype, "bauHighlight", 2);
1332
1339
  c([
1333
- r()
1340
+ o()
1334
1341
  ], n.prototype, "bauIndividualHighlight", 2);
1335
1342
  c([
1336
- r()
1343
+ o()
1337
1344
  ], n.prototype, "view", 2);
1338
1345
  c([
1339
- r()
1346
+ o()
1340
1347
  ], n.prototype, "supportedCommands", 2);
1341
1348
  c([
1342
- r()
1349
+ o()
1343
1350
  ], n.prototype, "selectedFeature", 2);
1344
1351
  c([
1345
- r()
1352
+ o()
1346
1353
  ], n.prototype, "pasteWithMultipleLayersEnabled", 2);
1347
1354
  c([
1348
- r()
1355
+ o()
1349
1356
  ], n.prototype, "pasteWithMultipleFeaturesEnabled", 2);
1350
1357
  c([
1351
- r()
1358
+ o()
1352
1359
  ], n.prototype, "alwaysShowFeatureForm", 2);
1353
1360
  c([
1354
- r()
1361
+ o()
1355
1362
  ], n.prototype, "pasteTemplate", 2);
1356
1363
  c([
1357
- r()
1364
+ o()
1358
1365
  ], n.prototype, "pasteTemplateIsValid", 1);
1359
1366
  c([
1360
- r()
1367
+ o()
1361
1368
  ], n.prototype, "selectedClipboardItemIndex", 2);
1362
1369
  c([
1363
- r()
1370
+ o()
1364
1371
  ], n.prototype, "clipboardAndTemplateSupportAttributes", 1);
1365
1372
  c([
1366
- r()
1373
+ o()
1367
1374
  ], n.prototype, "hasClipboardItemMatchingTemplate", 1);
1368
1375
  c([
1369
- r()
1376
+ o()
1370
1377
  ], n.prototype, "pasteWithAttributes", 2);
1371
1378
  c([
1372
- r()
1379
+ o()
1373
1380
  ], n.prototype, "closeOnApply", 2);
1374
1381
  c([
1375
- r()
1382
+ o()
1376
1383
  ], n.prototype, "currentPasteOperation", 2);
1377
1384
  c([
1378
- r()
1385
+ o()
1379
1386
  ], n.prototype, "disableTemplatesMode", 2);
1380
1387
  c([
1381
- r()
1388
+ o()
1382
1389
  ], n.prototype, "activeFlowPage", 1);
1383
1390
  c([
1384
- r()
1391
+ o()
1385
1392
  ], n.prototype, "_activeFlowPage", 2);
1386
1393
  c([
1387
- r()
1394
+ o()
1388
1395
  ], n.prototype, "beforeClipboard", 2);
1389
1396
  c([
1390
- r()
1397
+ o()
1391
1398
  ], n.prototype, "beforeForm", 2);
1392
1399
  c([
1393
- r()
1400
+ o()
1394
1401
  ], n.prototype, "showClipboardItems", 2);
1395
1402
  c([
1396
- r()
1403
+ o()
1397
1404
  ], n.prototype, "updating", 1);
1398
1405
  c([
1399
- r()
1406
+ o()
1400
1407
  ], n.prototype, "hideTooltips", 2);
1401
1408
  c([
1402
- r()
1409
+ o()
1403
1410
  ], n.prototype, "hideFooter", 2);
1404
1411
  c([
1405
- r()
1412
+ o()
1406
1413
  ], n.prototype, "hideFooterCancelButton", 2);
1407
1414
  c([
1408
- r()
1415
+ o()
1409
1416
  ], n.prototype, "hideHeaderCloseButton", 2);
1410
1417
  c([
1411
- r()
1418
+ o()
1412
1419
  ], n.prototype, "hideViewClipboard", 2);
1413
1420
  c([
1414
- r()
1421
+ o()
1415
1422
  ], n.prototype, "hideErrorNotice", 2);
1416
1423
  c([
1417
- r()
1424
+ o()
1418
1425
  ], n.prototype, "clipboardGraphicsLayer", 2);
1419
1426
  c([
1420
- r()
1427
+ o()
1421
1428
  ], n.prototype, "clipboardMover", 2);
1422
1429
  c([
1423
- r()
1430
+ o()
1424
1431
  ], n.prototype, "highlightGroup", 2);
1425
1432
  c([
1426
- r()
1433
+ o()
1427
1434
  ], n.prototype, "clipboard", 1);
1428
1435
  c([
1429
- r()
1436
+ o()
1430
1437
  ], n.prototype, "clipboardFeatures", 1);
1431
1438
  c([
1432
- r()
1439
+ o()
1433
1440
  ], n.prototype, "hasPasteCommandsPage", 1);
1434
1441
  c([
1435
- r()
1442
+ o()
1436
1443
  ], n.prototype, "activeCommand", 2);
1437
1444
  c([
1438
- r()
1445
+ o()
1439
1446
  ], n.prototype, "maximumFeatureCount", 2);
1440
1447
  c([
1441
- r()
1448
+ o()
1442
1449
  ], n.prototype, "maximumFeatureCountWithComplexForms", 2);
1443
1450
  c([
1444
- r()
1451
+ o()
1445
1452
  ], n.prototype, "workingLayers", 1);
1446
1453
  c([
1447
- r()
1454
+ o()
1448
1455
  ], n.prototype, "layerPermissionsCheck", 2);
1449
1456
  c([
1450
- r()
1457
+ o()
1451
1458
  ], n.prototype, "clipboardItemLayers", 1);
1452
1459
  c([
1453
- r()
1460
+ o()
1454
1461
  ], n.prototype, "canCreateOnAllLayers", 1);
1455
1462
  c([
1456
- r()
1463
+ o()
1457
1464
  ], n.prototype, "applying", 2);
1458
1465
  c([
1459
- r()
1466
+ o()
1460
1467
  ], n.prototype, "lastPasteError", 2);
1461
1468
  c([
1462
- r()
1469
+ o()
1463
1470
  ], n.prototype, "availableCommands", 1);
1464
1471
  c([
1465
- r()
1472
+ o()
1466
1473
  ], n.prototype, "allCommands", 1);
1467
1474
  c([
1468
- r()
1475
+ o()
1469
1476
  ], n.prototype, "pasteCommandsState", 1);
1470
1477
  n = c([
1471
1478
  C("components.paste.PasteViewModel")
1472
1479
  ], n);
1473
- var tt = Object.defineProperty, it = Object.getOwnPropertyDescriptor, S = (e, t, i, a) => {
1474
- for (var s = a > 1 ? void 0 : a ? it(t, i) : t, o = e.length - 1, l; o >= 0; o--)
1475
- (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
1476
- return a && s && tt(t, i, s), s;
1480
+ var it = Object.defineProperty, at = Object.getOwnPropertyDescriptor, S = (e, t, i, a) => {
1481
+ for (var s = a > 1 ? void 0 : a ? at(t, i) : t, r = e.length - 1, l; r >= 0; r--)
1482
+ (l = e[r]) && (s = (a ? l(t, i, s) : l(s)) || s);
1483
+ return a && s && it(t, i, s), s;
1477
1484
  };
1478
1485
  let M = class extends U {
1479
1486
  constructor() {
@@ -1483,7 +1490,7 @@ let M = class extends U {
1483
1490
  this._destroyMover(), this.stateChanged?.("clipboard-contents-changed"), this.continuous && this.start();
1484
1491
  }
1485
1492
  start() {
1486
- this._destroyMover(), this._mover = Pe({
1493
+ this._destroyMover(), this._mover = $e({
1487
1494
  view: this.view,
1488
1495
  graphics: this.graphicsLayer.graphics.toArray(),
1489
1496
  indicatorsEnabled: !0,
@@ -1521,36 +1528,36 @@ let M = class extends U {
1521
1528
  }
1522
1529
  };
1523
1530
  S([
1524
- r()
1531
+ o()
1525
1532
  ], M.prototype, "view", 2);
1526
1533
  S([
1527
- r()
1534
+ o()
1528
1535
  ], M.prototype, "continuous", 2);
1529
1536
  S([
1530
- r()
1537
+ o()
1531
1538
  ], M.prototype, "clipboard", 2);
1532
1539
  S([
1533
- r()
1540
+ o()
1534
1541
  ], M.prototype, "graphicsLayer", 2);
1535
1542
  S([
1536
- r()
1543
+ o()
1537
1544
  ], M.prototype, "suspended", 1);
1538
1545
  S([
1539
- r()
1546
+ o()
1540
1547
  ], M.prototype, "_suspended", 2);
1541
1548
  M = S([
1542
1549
  C("components.paste.ClipboardMove")
1543
1550
  ], M);
1544
- const at = ve(n);
1545
- class st extends he {
1551
+ const st = ve(n);
1552
+ class rt extends he {
1546
1553
  constructor() {
1547
- 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.disableTemplatesMode = this.viewModel.disableTemplatesMode, 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);
1554
+ 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);
1548
1555
  }
1549
1556
  static {
1550
1557
  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 };
1551
1558
  }
1552
1559
  static {
1553
- this.styles = $e;
1560
+ this.styles = Ae;
1554
1561
  }
1555
1562
  get supportedCommands() {
1556
1563
  return this.viewModel.supportedCommands;
@@ -1767,7 +1774,7 @@ class st extends he {
1767
1774
  this.viewModel.activeFlowPage = "merge-page";
1768
1775
  }} 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=${() => {
1769
1776
  this.viewModel.activeFlowPage = "merge-page";
1770
- }}><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 .disableTemplatesMode=${this.disableTemplatesMode} .applicationDisabledFunction=${(i) => !!(i.template && ie(i.template) && i.template.type !== "feature")} class="paste-feature-templates" .layers=${this.viewModel.workingLayers} @arcgisTemplatesChanged=${() => {
1777
+ }}><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 .disableTemplatesMode=${this.disableTemplatesMode} .applicationDisabledFunction=${(i) => !!(i.template && ie(i.template) && i.template.type !== "feature")} class="paste-feature-templates" .layers=${this.viewModel.workingLayers} @arcgisTemplatesChanged=${() => {
1771
1778
  this._checkAndUpdateInitialPasteTemplate();
1772
1779
  }} @arcgisSelectTemplate=${(i) => {
1773
1780
  this.viewModel.pasteTemplate = i.detail.template;
@@ -1796,7 +1803,7 @@ class st extends he {
1796
1803
  return w("paste-form", d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${(p) => {
1797
1804
  p.preventDefault(), this.viewModel.activeFlowPage = this.viewModel.beforeForm, this.viewModel.resetFormPage();
1798
1805
  }}></calcite-flow-item>`);
1799
- const i = (this.viewModel.bauFeatures?.length ?? 0) > 1 && !this.viewModel.bauHasTooManyFeatures && !this.viewModel.bauHasTooManyComplexFeatures, a = this.viewModel.updating, s = this.viewModel.bauActiveFeatureIndex > 0, o = this.viewModel.bauActiveFeatureIndex !== -1 && this.viewModel.bauActiveFeatureIndex < (this.viewModel.bauFeatures?.length ?? 0) - 1, l = this.viewModel.bauActiveFeatureIndex === -1 ? b(this._messages.multipleFeaturesX ?? "", {
1806
+ const i = (this.viewModel.bauFeatures?.length ?? 0) > 1 && !this.viewModel.bauHasTooManyFeatures && !this.viewModel.bauHasTooManyComplexFeatures, a = this.viewModel.updating, s = this.viewModel.bauActiveFeatureIndex > 0, r = this.viewModel.bauActiveFeatureIndex !== -1 && this.viewModel.bauActiveFeatureIndex < (this.viewModel.bauFeatures?.length ?? 0) - 1, l = this.viewModel.bauActiveFeatureIndex === -1 ? b(this._messages.multipleFeaturesX ?? "", {
1800
1807
  total: this.viewModel.bauFeatures?.length ?? 0
1801
1808
  }) : b(this._messages.range ?? "", {
1802
1809
  current: this.viewModel.bauActiveFeatureIndex + 1,
@@ -1839,7 +1846,7 @@ class st extends he {
1839
1846
  this._showFloatingChoice = !this._showFloatingChoice, p.stopPropagation();
1840
1847
  }} scale=s appearance=transparent icon-start=legend icon-end=chevron-down kind=neutral><span class="bau-pick">${l}${h ? d`<calcite-icon scale=s icon=exclamation-mark-triangle class="danger-icon-warning"></calcite-icon>` : ""}</span></calcite-button><calcite-action slot=actions-end icon=chevron-left icon-flip-rtl scale=s .text=${this._messages.back ?? ""} .disabled=${!s || a || !i} @click=${() => {
1841
1848
  this.viewModel.previousActiveFeature();
1842
- }}></calcite-action><calcite-action slot=actions-end icon=chevron-right icon-flip-rtl scale=s .text=${this._messages.next ?? ""} .disabled=${!o || a || !i} @click=${() => {
1849
+ }}></calcite-action><calcite-action slot=actions-end icon=chevron-right icon-flip-rtl scale=s .text=${this._messages.next ?? ""} .disabled=${!r || a || !i} @click=${() => {
1843
1850
  this.viewModel.nextActiveFeature();
1844
1851
  }}></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) => {
1845
1852
  this._updateBauViewModelFields(p.target), p.detail.name === "status" && p.target.status === "loaded" && this._copyAcrossValidMultiFormFieldValues();
@@ -1868,14 +1875,14 @@ class st extends he {
1868
1875
  this.viewModel.bauActiveFeatureIndex !== -1 && (this.viewModel.bauActiveFeatureIndex = -1, this.viewModel.updateIndividualMultiFeatureFormHighlight()), this.viewModel.clearMultiFeatureFormHighlights(), this._showFloatingChoice = !1;
1869
1876
  }} .label=${b(this._messages.multipleFeaturesX ?? "", {
1870
1877
  total: this.viewModel.bauFeatures.length
1871
- })} .selected=${this.viewModel.bauActiveFeatureIndex === -1} value=shared><calcite-icon scale=s icon=group-form class="feature-choose-listitem" slot=content-start></calcite-icon></calcite-list-item>${this.viewModel.bauFeatures.map((s, o) => d`<calcite-list-item .disabled=${this.viewModel.updating} @pointerenter=${(l) => {
1872
- this.viewModel.highlightMultiFeatureFormFeature(s, o);
1878
+ })} .selected=${this.viewModel.bauActiveFeatureIndex === -1} value=shared><calcite-icon scale=s icon=group-form class="feature-choose-listitem" slot=content-start></calcite-icon></calcite-list-item>${this.viewModel.bauFeatures.map((s, r) => d`<calcite-list-item .disabled=${this.viewModel.updating} @pointerenter=${(l) => {
1879
+ this.viewModel.highlightMultiFeatureFormFeature(s, r);
1873
1880
  }} @pointerleave=${(l) => {
1874
1881
  this.viewModel.clearMultiFeatureFormHighlights();
1875
- }} .selected=${this.viewModel.bauActiveFeatureIndex === o} @calciteListItemSelect=${(l) => {
1882
+ }} .selected=${this.viewModel.bauActiveFeatureIndex === r} @calciteListItemSelect=${(l) => {
1876
1883
  const h = window.parseInt(l.currentTarget.value);
1877
1884
  this.viewModel.bauActiveFeatureIndex = h, this.viewModel.updateIndividualMultiFeatureFormHighlight(), this.viewModel.clearMultiFeatureFormHighlights(), this._showFloatingChoice = !1;
1878
- }} .value=${o}><arcgis-feature-title is-new-feature slot=content .graphic=${s} .layer=${s.layer}></arcgis-feature-title>${E(s)?.isTable ? d`<calcite-icon scale=s icon=table slot=content-start class="feature-choose-listitem"></calcite-icon>` : d`<arcgis-feature-image slot=content-start class="feature-choose-listitem" .graphic=${s} width-in-pixels=16 height-in-pixels=16 use-true-shape .layer=${s.layer}></arcgis-feature-image>`}${a.has(s) && i ? d`<calcite-icon slot=content-end icon=exclamation-mark-triangle scale=s class="danger-icon-warning"></calcite-icon>` : ""}</calcite-list-item>`)}</calcite-list></div>`;
1885
+ }} .value=${r}><arcgis-feature-title is-new-feature slot=content .graphic=${s} .layer=${s.layer}></arcgis-feature-title>${E(s)?.isTable ? d`<calcite-icon scale=s icon=table slot=content-start class="feature-choose-listitem"></calcite-icon>` : d`<arcgis-feature-image slot=content-start class="feature-choose-listitem" .graphic=${s} width-in-pixels=16 height-in-pixels=16 use-true-shape .layer=${s.layer}></arcgis-feature-image>`}${a.has(s) && i ? d`<calcite-icon slot=content-end icon=exclamation-mark-triangle scale=s class="danger-icon-warning"></calcite-icon>` : ""}</calcite-list-item>`)}</calcite-list></div>`;
1879
1886
  }
1880
1887
  _renderClipboard(t) {
1881
1888
  return t ? w("paste-form", d`<calcite-flow-item .selected=${t} .heading=${this._messages.clipboardContents} @calciteFlowItemBack=${(i) => {
@@ -1910,7 +1917,7 @@ class st extends he {
1910
1917
  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>`;
1911
1918
  }
1912
1919
  }
1913
- de("arcgis-paste", st);
1920
+ de("arcgis-paste", rt);
1914
1921
  export {
1915
- st as ArcgisPaste
1922
+ rt as ArcgisPaste
1916
1923
  };