@arcgis/map-components 5.0.0-next.163 → 5.0.0-next.164

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 (79) hide show
  1. package/dist/cdn/{G4FP7GXM.js → 3UILDMTJ.js} +1 -1
  2. package/dist/cdn/3V6ZTS7B.js +2 -0
  3. package/dist/cdn/{ANP7PYGJ.js → 3XJU4K4Z.js} +1 -1
  4. package/dist/cdn/5KET4V4O.js +2 -0
  5. package/dist/cdn/7EW22PZD.js +2 -0
  6. package/dist/cdn/AAGYR4XM.js +2 -0
  7. package/dist/cdn/AZN2TGWK.js +2 -0
  8. package/dist/cdn/{NWXN5M4S.js → DPW55W6W.js} +1 -1
  9. package/dist/cdn/{SK6O74LF.js → DUHFQ4AI.js} +1 -1
  10. package/dist/cdn/{UNLAUFXF.js → F5I4VDXM.js} +1 -1
  11. package/dist/cdn/{R2FIOZIL.js → FUHAGBXL.js} +1 -1
  12. package/dist/cdn/{ESNK6MCY.js → IWXXD73F.js} +1 -1
  13. package/dist/cdn/{FD4A66OJ.js → KDJV5F4T.js} +1 -1
  14. package/dist/cdn/{SQFVC4KA.js → MJBV536L.js} +1 -1
  15. package/dist/cdn/MU6C77DZ.js +2 -0
  16. package/dist/cdn/NPEMOLA3.js +2 -0
  17. package/dist/cdn/{2AHY7O7C.js → POP5NTRI.js} +1 -1
  18. package/dist/cdn/SI3PITPE.js +2 -0
  19. package/dist/cdn/SU6ZGF4G.js +2 -0
  20. package/dist/cdn/W3AN7XLR.js +2 -0
  21. package/dist/cdn/{7NOD6U2Y.js → WUISNRWL.js} +1 -1
  22. package/dist/cdn/X25QBU47.js +2 -0
  23. package/dist/cdn/Z22BBNTK.js +2 -0
  24. package/dist/cdn/{YXYCWJFF.js → Z6LBCKKH.js} +1 -1
  25. package/dist/cdn/{AJ64UYFM.js → ZFATBY4D.js} +1 -1
  26. package/dist/cdn/index.js +1 -1
  27. package/dist/chunks/esri-main.js +1 -1
  28. package/dist/components/arcgis-directions/customElement.js +5 -5
  29. package/dist/components/arcgis-feature/customElement.js +6 -6
  30. package/dist/components/arcgis-feature-table/customElement.d.ts +57 -2
  31. package/dist/components/arcgis-feature-table/customElement.js +28 -13
  32. package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -0
  33. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  34. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +16 -16
  35. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +55 -55
  36. package/dist/components/arcgis-features/customElement.js +46 -52
  37. package/dist/components/arcgis-link-chart/customElement.js +10 -15
  38. package/dist/components/arcgis-map/customElement.js +1 -6
  39. package/dist/components/arcgis-paste/customElement.js +44 -44
  40. package/dist/components/arcgis-popup/customElement.js +4 -4
  41. package/dist/components/arcgis-print/customElement.d.ts +10 -0
  42. package/dist/components/arcgis-print/customElement.js +7 -7
  43. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +12 -12
  44. package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
  45. package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
  46. package/dist/components/arcgis-scene/customElement.js +8 -13
  47. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +12 -0
  48. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +7 -7
  49. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
  50. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  51. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +47 -40
  52. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +12 -0
  53. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +80 -65
  54. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +4 -0
  55. package/dist/components/arcgis-utility-network-trace-location/customElement.js +17 -14
  56. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +13 -0
  57. package/dist/components/arcgis-utility-network-trace-results/customElement.js +39 -26
  58. package/dist/docs/api.json +1 -1
  59. package/dist/docs/docs.json +1 -1
  60. package/dist/docs/vscode.html-custom-data.json +1 -1
  61. package/dist/docs/web-types.json +1 -1
  62. package/dist/loader.js +12 -12
  63. package/dist/types/lumina.d.ts +6 -6
  64. package/dist/types/preact.d.ts +6 -6
  65. package/dist/types/react.d.ts +6 -6
  66. package/dist/types/stencil.d.ts +6 -6
  67. package/package.json +4 -4
  68. package/dist/cdn/55TRWAT7.js +0 -2
  69. package/dist/cdn/BHPXKX47.js +0 -2
  70. package/dist/cdn/D4LTASH2.js +0 -2
  71. package/dist/cdn/H7O5I4IF.js +0 -2
  72. package/dist/cdn/I5M2Z7WS.js +0 -2
  73. package/dist/cdn/L6YZXUBB.js +0 -2
  74. package/dist/cdn/P7PWOUNZ.js +0 -2
  75. package/dist/cdn/Q4B4MXH4.js +0 -2
  76. package/dist/cdn/RN57AN5P.js +0 -2
  77. package/dist/cdn/URUFNID2.js +0 -2
  78. package/dist/cdn/WREEAAEV.js +0 -2
  79. package/dist/cdn/WTTBFFC2.js +0 -2
@@ -1,20 +1,20 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import { c as ce } from "../../chunks/runtime.js";
3
- import { css as de, html as d, svg as X } from "lit";
2
+ import { c as de } from "../../chunks/runtime.js";
3
+ import { css as pe, html as d, svg as X } from "lit";
4
4
  import { keyed as w } from "lit/directives/keyed.js";
5
- import { LitElement as pe, createEvent as T, safeStyleMap as Z, nothing as he, safeClassMap as ue } from "@arcgis/lumina";
6
- import { u as me } from "../../chunks/useT9n.js";
7
- import { m as ge } from "../../chunks/useViewModel.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";
8
8
  import { property as r, subclass as C } from "@arcgis/core/core/accessorSupport/decorators.js";
9
9
  import U from "@arcgis/core/core/Accessor.js";
10
10
  import B from "@arcgis/core/Graphic.js";
11
- import { getApplicationClipboard as ve } from "@arcgis/core/applications/Components/clipboard.js";
12
- import fe from "@arcgis/core/layers/GraphicsLayer.js";
13
- import { g as we, a as be } from "../../chunks/clipoardSymbolHelper.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";
14
14
  import j from "@arcgis/core/core/Collection.js";
15
- import { getFullTemplate as J, isSharedTemplate as Q, getCreationAttributes as ye, isSharedTemplateOrMetadata as Me } from "@arcgis/core/applications/Components/templateUtils.js";
15
+ import { getFullTemplate as J, isSharedTemplate as Q, getCreationAttributes as Me, isSharedTemplateOrMetadata as ie } from "@arcgis/core/applications/Components/templateUtils.js";
16
16
  import { createApplySetModifyItem as W, createApplySet as q, createFeatureStateProvider as K, createApplySetAddItem as R, writeApplySetToService as Ce } from "@arcgis/core/applications/Components/applySetUtils.js";
17
- import { whenOnce as ie, watch as N } from "@arcgis/core/core/reactiveUtils.js";
17
+ import { whenOnce as ae, watch as N } from "@arcgis/core/core/reactiveUtils.js";
18
18
  import { getRendererFields as Y, getFeatureEditFields as Fe } from "@arcgis/core/layers/support/fieldUtils.js";
19
19
  import _e from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
20
20
  import { f as ee } from "../../chunks/layer-utils.js";
@@ -23,13 +23,13 @@ import { usePropertyChange as xe } from "@arcgis/lumina/controllers";
23
23
  import { createRef as V, ref as D } from "lit/directives/ref.js";
24
24
  import "../arcgis-multi-feature-form/customElement.js";
25
25
  import { createGraphicsMover as Pe } from "@arcgis/core/applications/Components/editUtils.js";
26
- const $e = de`.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
+ const $e = pe`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-paste{height:var(--arcgis-paste-height, 300px);width:var(--arcgis-paste-width, 300px);flex:1}.hidden{display:none}.flex-row{flex-direction:row}.justify-center{justify-content:center}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.text-center{text-align:center}.pad-contents{padding:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md))}.merge-feature-form{padding-left:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-right:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-bottom:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md))}.pad-start-end{padding-left:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-right:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md))}.gallery-content{padding-top:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-bottom:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));display:flex;row-gap:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));flex-direction:column}.chip-indent{margin-left:5px;margin-right:5px}.merge-split-view-container{display:flex;flex-direction:column;height:100%}.merge-split-view-items{flex:0 1 auto;max-height:50%;overflow-y:scroll}.merge-split-view-attributes{flex:1;overflow-y:scroll}.choose-feature{position:absolute;width:100%;max-height:100%;z-index:2;overflow-y:auto}.bau-pick{display:flex;flex-direction:row;align-items:center;gap:4px}.danger-icon-warning{--calcite-icon-color: var(--calcite-color-status-danger)}.paste-feature-templates{--arcgis-feature-templates-max-list-height: 100%}`;
27
27
  async function Ae(e, t = {}) {
28
28
  if (e?.type === "subtype-group") {
29
29
  if (!e.subtypeField)
30
30
  return [];
31
31
  const a = t[e.subtypeField];
32
- if (!oe(a))
32
+ if (!le(a))
33
33
  return [];
34
34
  const s = e.findSublayerForSubtypeCode(a);
35
35
  return s ? s.renderer && s.fieldsIndex ? await Y(s.renderer, e.fieldsIndex) : [] : [];
@@ -78,7 +78,7 @@ function Oe(e, t) {
78
78
  }
79
79
  return i;
80
80
  }
81
- async function ae(e, t, i, a) {
81
+ async function se(e, t, i, a) {
82
82
  let s = !0;
83
83
  const o = { hasAsyncArcadeExpressions: !1 }, l = e.items.filter((h) => h.type === "add");
84
84
  for (const h of l) {
@@ -117,15 +117,15 @@ function Ge(e, t) {
117
117
  }
118
118
  async function ke(e, t, i, a, s) {
119
119
  const o = i.formTemplate, l = i.fields.filter((f) => {
120
- const z = t.attributes[f.name], ne = z === null || z === "" || z === void 0;
121
- return f.editable && !f.nullable && ne;
120
+ const z = t.attributes[f.name], ce = z === null || z === "" || z === void 0;
121
+ return f.editable && !f.nullable && ce;
122
122
  });
123
123
  if (!o)
124
124
  return l.length !== 0;
125
125
  const h = /* @__PURE__ */ new Set();
126
- re(o.elements ?? [], h);
126
+ oe(o.elements ?? [], h);
127
127
  const p = /* @__PURE__ */ new Set();
128
- if (se(o.elements ?? [], p), h.size === 0 && p.size === 0)
128
+ if (re(o.elements ?? [], p), h.size === 0 && p.size === 0)
129
129
  return l.length > 0;
130
130
  const u = t.clone();
131
131
  u.layer = i, delete u.attributes[i.objectIdField], a.has(i) || a.set(
@@ -136,7 +136,7 @@ async function ke(e, t, i, a, s) {
136
136
  })
137
137
  );
138
138
  const g = a.get(i);
139
- if (g.features = new j([u]), await ie(
139
+ if (g.features = new j([u]), await ae(
140
140
  () => (g.status === "loaded" || g.status === "failed") && !g.updating
141
141
  ), g.hasAsyncArcadeExpressions && (s.hasAsyncArcadeExpressions = !0), g.status === "failed")
142
142
  return !0;
@@ -153,15 +153,15 @@ async function ke(e, t, i, a, s) {
153
153
  ));
154
154
  }), g.invalidFeatures.length > 0;
155
155
  }
156
- function se(e, t) {
156
+ function re(e, t) {
157
157
  for (const i of e)
158
- i.type === "group" ? se(i.elements, t) : i.type === "field" && i.valueExpression && t.add(i.fieldName);
158
+ i.type === "group" ? re(i.elements, t) : i.type === "field" && i.valueExpression && t.add(i.fieldName);
159
159
  }
160
- function re(e, t) {
160
+ function oe(e, t) {
161
161
  for (const i of e)
162
- i.type === "group" ? re(i.elements, t) : i.type === "field" && i.requiredExpression && t.add(i.fieldName);
162
+ i.type === "group" ? oe(i.elements, t) : i.type === "field" && i.requiredExpression && t.add(i.fieldName);
163
163
  }
164
- function oe(e) {
164
+ function le(e) {
165
165
  return typeof e == "number";
166
166
  }
167
167
  function He(e) {
@@ -179,7 +179,7 @@ function Le(e, t, i) {
179
179
  return He(e) ? e : window.parseInt(e);
180
180
  case "single":
181
181
  case "double":
182
- return oe(e) ? e : window.parseFloat(e);
182
+ return le(e) ? e : window.parseFloat(e);
183
183
  case "global-id":
184
184
  case "guid":
185
185
  return e === "" ? null : e;
@@ -220,7 +220,7 @@ var Ve = Object.defineProperty, De = Object.getOwnPropertyDescriptor, A = (e, t,
220
220
  (l = e[o]) && (s = (a ? l(t, i, s) : l(s)) || s);
221
221
  return a && s && Ve(t, i, s), s;
222
222
  };
223
- const le = {
223
+ const ne = {
224
224
  noChangeError: "Operation has not made any changes",
225
225
  noSelectedError: "Operation requires a selected feature",
226
226
  deletesGeometryError: "Operation would result in a null geometry",
@@ -290,7 +290,7 @@ let v = class extends U {
290
290
  // If too many features, dont run anything
291
291
  a.items.length > this.viewModel.maximumFeatureCount || // If going to show feature form, then do not do all the analysis!
292
292
  this.viewModel.alwaysShowFeatureForm || i?.showFeatureForm === !0 || // Otherwise, need to see what is mandatory or not.
293
- !await ae(
293
+ !await se(
294
294
  a,
295
295
  this.viewModel.view,
296
296
  this.viewModel.formViewModelMap,
@@ -363,7 +363,7 @@ let v = class extends U {
363
363
  return a;
364
364
  }
365
365
  async constructFeatureAttributesCopy(e, t, i) {
366
- let a = ye(e, {});
366
+ let a = Me(e, {});
367
367
  if (i) {
368
368
  const s = i.layer?.fields;
369
369
  if (s) {
@@ -448,7 +448,7 @@ let F = class extends v {
448
448
  if (i.applySet && (t = i.applySet), !i.success) {
449
449
  this.viewModel.lastPasteError = {
450
450
  errorCode: i.failReason,
451
- errorMessage: le[i.failReason],
451
+ errorMessage: ne[i.failReason],
452
452
  localizedErrorMessage: i.failReason
453
453
  }, e.onPasteError(this.viewModel.lastPasteError);
454
454
  return;
@@ -627,7 +627,7 @@ let _ = class extends v {
627
627
  if (i.applySet && (t = i.applySet), !i.success) {
628
628
  this.viewModel.lastPasteError = {
629
629
  errorCode: i.failReason,
630
- errorMessage: le[i.failReason],
630
+ errorMessage: ne[i.failReason],
631
631
  localizedErrorMessage: i.failReason
632
632
  }, e.onPasteError(this.viewModel.lastPasteError);
633
633
  return;
@@ -773,7 +773,7 @@ let P = class extends v {
773
773
  const e = await this.prepareCopy("paste");
774
774
  if (!e || e.items.length === 0)
775
775
  throw new Error("arcgis-paste: No items to paste");
776
- return e.items.length > this.viewModel.maximumFeatureCount || !await ae(
776
+ return e.items.length > this.viewModel.maximumFeatureCount || !await se(
777
777
  e,
778
778
  this.viewModel.view,
779
779
  this.viewModel.formViewModelMap,
@@ -964,7 +964,7 @@ var Ye = Object.defineProperty, et = Object.getOwnPropertyDescriptor, c = (e, t,
964
964
  return a && s && Ye(t, i, s), s;
965
965
  };
966
966
  function te(e) {
967
- return !Me(e) || e.type !== "feature";
967
+ return !ie(e) || e.type === "feature";
968
968
  }
969
969
  let n = class extends U {
970
970
  //#region Lifecycle
@@ -1067,7 +1067,7 @@ let n = class extends U {
1067
1067
  return;
1068
1068
  const t = new B({
1069
1069
  geometry: e.graphic.geometry,
1070
- symbol: we(e.graphic.geometry.type)
1070
+ symbol: be(e.graphic.geometry.type)
1071
1071
  });
1072
1072
  this.view.graphics.add(t), this._hoverHighlightHandle = {
1073
1073
  remove: () => {
@@ -1126,7 +1126,7 @@ let n = class extends U {
1126
1126
  return;
1127
1127
  }
1128
1128
  if (this.showClipboardItems && this.view) {
1129
- this.clipboardGraphicsLayer || (this.clipboardGraphicsLayer = new fe(), this.view.map?.layers.add(this.clipboardGraphicsLayer));
1129
+ this.clipboardGraphicsLayer || (this.clipboardGraphicsLayer = new we(), this.view.map?.layers.add(this.clipboardGraphicsLayer));
1130
1130
  const e = this.clipboard.items;
1131
1131
  this.clipboardGraphicsLayer.removeAll();
1132
1132
  let t = -1;
@@ -1138,7 +1138,7 @@ let n = class extends U {
1138
1138
  attributes: {
1139
1139
  clipboardIdx: t
1140
1140
  },
1141
- symbol: be(i.graphic.geometry.type)
1141
+ symbol: ye(i.graphic.geometry.type)
1142
1142
  });
1143
1143
  this.clipboardGraphicsLayer.add(a);
1144
1144
  }
@@ -1154,7 +1154,7 @@ let n = class extends U {
1154
1154
  this.clipboardGraphicsLayer && (this.clipboardGraphicsLayer.visible = !e), this.clipboardMover && (this.clipboardMover.suspended = e);
1155
1155
  }
1156
1156
  get clipboard() {
1157
- return ve();
1157
+ return fe();
1158
1158
  }
1159
1159
  get clipboardFeatures() {
1160
1160
  return this.clipboard.items.filter((e) => e.type === "feature");
@@ -1532,10 +1532,10 @@ S([
1532
1532
  M = S([
1533
1533
  C("components.paste.ClipboardMove")
1534
1534
  ], M);
1535
- const at = ge(n);
1536
- class st extends pe {
1535
+ const at = ve(n);
1536
+ class st extends he {
1537
1537
  constructor() {
1538
- super(), this._featureFormElement = V(), this._floatingChoiceContainer = V(), this._bauForm = V(), this._templateGallery = V(), this._messages = me(), this.viewModel = at(this), this.hasPasteCommandsPage = this.viewModel.hasPasteCommandsPage, this.activeCommand = this.viewModel.activeCommand, this.availableCommands = this.viewModel.availableCommands, this._showFloatingChoice = !1, this.activeFlowPage = this.viewModel.activeFlowPage, this.autoDestroyDisabled = !1, this.view = this.viewModel.view, this.selectedFeature = this.viewModel.selectedFeature, this.closed = !1, this.highlightGroup = this.viewModel.highlightGroup, this.pasteWithMultipleLayersEnabled = this.viewModel.pasteWithMultipleLayersEnabled, this.pasteWithMultipleFeaturesEnabled = this.viewModel.pasteWithMultipleFeaturesEnabled, this.alwaysShowFeatureForm = this.viewModel.alwaysShowFeatureForm, this.closeOnApply = this.viewModel.closeOnApply, this.hideErrorNotice = this.viewModel.hideErrorNotice, this.hideFooterCancelButton = this.viewModel.hideFooterCancelButton, this.hideFooter = this.viewModel.hideFooter, this.hideHeaderCloseButton = this.viewModel.hideHeaderCloseButton, this.hideTooltips = this.viewModel.hideTooltips, this.hideViewClipboard = this.viewModel.hideViewClipboard, this.maximumFeatureCount = this.viewModel.maximumFeatureCount, this.maximumFeatureCountWithComplexForms = this.viewModel.maximumFeatureCountWithComplexForms, this.layerPermissionsCheck = this.viewModel.layerPermissionsCheck, this.pasteCommandsState = this.viewModel.pasteCommandsState, this.arcgisApplyPasteCommand = T(), this.arcgisApplyPasteError = T(), this.arcgisBeforeClipboardMove = T(), this.arcgisClipboardMoveStateChanged = T(), this.arcgisClose = T(), this.arcgisPropertyChange = xe()("pasteCommandsState", "activeFlowPage"), this.arcgisReady = T(), this.listenOn(window, "click", this._handleClickAway), this.listenOn(window, "keydown", this._handleKeyDown);
1538
+ super(), this._featureFormElement = V(), this._floatingChoiceContainer = V(), this._bauForm = V(), this._templateGallery = V(), this._messages = ge(), this.viewModel = at(this), this.hasPasteCommandsPage = this.viewModel.hasPasteCommandsPage, this.activeCommand = this.viewModel.activeCommand, this.availableCommands = this.viewModel.availableCommands, this._showFloatingChoice = !1, this.activeFlowPage = this.viewModel.activeFlowPage, this.autoDestroyDisabled = !1, this.view = this.viewModel.view, this.selectedFeature = this.viewModel.selectedFeature, this.closed = !1, this.highlightGroup = this.viewModel.highlightGroup, this.pasteWithMultipleLayersEnabled = this.viewModel.pasteWithMultipleLayersEnabled, this.pasteWithMultipleFeaturesEnabled = this.viewModel.pasteWithMultipleFeaturesEnabled, this.alwaysShowFeatureForm = this.viewModel.alwaysShowFeatureForm, this.closeOnApply = this.viewModel.closeOnApply, this.hideErrorNotice = this.viewModel.hideErrorNotice, this.hideFooterCancelButton = this.viewModel.hideFooterCancelButton, this.hideFooter = this.viewModel.hideFooter, this.hideHeaderCloseButton = this.viewModel.hideHeaderCloseButton, this.hideTooltips = this.viewModel.hideTooltips, this.hideViewClipboard = this.viewModel.hideViewClipboard, this.maximumFeatureCount = this.viewModel.maximumFeatureCount, this.maximumFeatureCountWithComplexForms = this.viewModel.maximumFeatureCountWithComplexForms, this.layerPermissionsCheck = this.viewModel.layerPermissionsCheck, this.pasteCommandsState = this.viewModel.pasteCommandsState, this.arcgisApplyPasteCommand = T(), this.arcgisApplyPasteError = T(), this.arcgisBeforeClipboardMove = T(), this.arcgisClipboardMoveStateChanged = T(), this.arcgisClose = T(), this.arcgisPropertyChange = xe()("pasteCommandsState", "activeFlowPage"), this.arcgisReady = T(), this.listenOn(window, "click", this._handleClickAway), this.listenOn(window, "keydown", this._handleKeyDown);
1539
1539
  }
1540
1540
  static {
1541
1541
  this.properties = { hasPasteCommandsPage: 16, activeCommand: 16, availableCommands: 16, _showFloatingChoice: 16, activeFlowPage: 32, autoDestroyDisabled: 5, referenceElement: 1, view: 0, selectedFeature: 0, closed: 7, highlightGroup: 1, supportedCommands: 1, pasteWithMultipleLayersEnabled: 5, pasteWithMultipleFeaturesEnabled: 5, alwaysShowFeatureForm: 5, beforeApply: 0, clipboard: 32, closeOnApply: 5, hideErrorNotice: 5, hideFooterCancelButton: 5, hideFooter: 5, hideHeaderCloseButton: 5, hideTooltips: 5, hideViewClipboard: 5, maximumFeatureCount: 9, maximumFeatureCountWithComplexForms: 9, layerPermissionsCheck: 0, pasteCommandsState: 0 };
@@ -1754,13 +1754,13 @@ class st extends pe {
1754
1754
  }
1755
1755
  }}>${this.viewModel.alwaysShowFeatureForm ? this._messages.next : (this.viewModel.clipboardFeatures.length ?? 0) > 1 && this.activeCommand !== "paste-merge" ? b(this._messages.pasteMany ?? "", { num: this.viewModel.clipboardFeatures.length }) : this._messages.paste}</calcite-button></div></div>`}${this.viewModel.hasTooManyPasteCreateFeatures ? d`<div class="pad-start-end gallery-content"><calcite-notice open icon=exclamation-point kind=warning><div slot=message>${b(this._messages.tooManyCreateFeatures ?? "", { num: this.maximumFeatureCount })}</div></calcite-notice></div>` : null}<slot name=gallery-page-message></slot><div class="pad-start-end gallery-content"><div>${!this.viewModel.clipboardAndTemplateSupportAttributes && this.viewModel.pasteTemplate ? d`<div class="pad-contents"><calcite-notice open icon=exclamation-point kind=info><div slot=message>${this._messages.attributesNotCopied}</div>${this.activeCommand === "paste-merge" && this.viewModel.hasClipboardItemMatchingTemplate ? d`<calcite-link slot=link @click=${() => {
1756
1756
  this.viewModel.activeFlowPage = "merge-page";
1757
- }} title=${this._messages.seeMergeOptions ?? he}>${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=${() => {
1757
+ }} title=${this._messages.seeMergeOptions ?? ue}>${this._messages.seeMergeOptions}</calcite-link>` : null}</calcite-notice></div>` : null}${this.viewModel.clipboardAndTemplateSupportAttributes && this.viewModel.pasteTemplate ? this._renderAttributeCheckbox(!this.viewModel.clipboardAndTemplateSupportAttributes) : null}${this.viewModel.clipboardAndTemplateSupportAttributes ? null : this._renderAttributeCheckbox(!1)}</div><calcite-list .hidden=${this.viewModel.activeCommand !== "paste-merge"} .label=${this._messages.pasteCommandChoices ?? ""} selection-mode=none selection-appearance=border><calcite-list-item .label=${this._messages.mergeOptionsTitle} .description=${this._messages.mergeOptionsDesc} .disabled=${this.viewModel.updating} @click=${() => {
1758
1758
  this.viewModel.activeFlowPage = "merge-page";
1759
- }}><calcite-icon slot=content-start icon=configure></calcite-icon><calcite-icon slot=content-end icon=chevron-right></calcite-icon></calcite-list-item></calcite-list><div>${this.viewModel.workingLayers.length > 0 ? d`<arcgis-feature-templates class="paste-feature-templates" .layers=${this.viewModel.workingLayers} selection-mode=single .disabledItemFunction=${() => !1} @arcgisPropertyChange=${(i) => {
1759
+ }}><calcite-icon slot=content-start icon=configure></calcite-icon><calcite-icon slot=content-end icon=chevron-right></calcite-icon></calcite-list-item></calcite-list><div>${this.viewModel.workingLayers.length > 0 ? d`<arcgis-feature-templates .disabledItemFunction=${(i) => !!(i.template && ie(i.template) && i.template.type !== "feature")} class="paste-feature-templates" .layers=${this.viewModel.workingLayers} selection-mode=single @arcgisPropertyChange=${(i) => {
1760
1760
  this._checkAndUpdateInitialPasteTemplate();
1761
1761
  }} @arcgisSelect=${(i) => {
1762
1762
  this.viewModel.pasteTemplate = i.detail.item;
1763
- }} .referenceElement=${this.referenceElement} ${D(this._templateGallery)}></arcgis-feature-templates>` : d`<calcite-notice open icon=exclamation-point kind=warning><div slot=message>${b(this._messages.noMatchingEditableLayers ?? "", { num: this.maximumFeatureCount })}</div></calcite-notice>`}</div></div></calcite-panel>${this._renderApplying()}</calcite-flow-item>`) : w("paste-gallery", d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${(i) => {
1763
+ }} .view=${this.viewModel.view} .referenceElement=${this.referenceElement} ${D(this._templateGallery)}></arcgis-feature-templates>` : d`<calcite-notice open icon=exclamation-point kind=warning><div slot=message>${b(this._messages.noMatchingEditableLayers ?? "", { num: this.maximumFeatureCount })}</div></calcite-notice>`}</div></div></calcite-panel>${this._renderApplying()}</calcite-flow-item>`) : w("paste-gallery", d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${(i) => {
1764
1764
  i.preventDefault(), this.viewModel.hasPasteCommandsPage && (this.viewModel.activeFlowPage = "commands-page");
1765
1765
  }}>${this._renderFlowCommandStart(!this.viewModel.hasPasteCommandsPage)}</calcite-flow-item>`);
1766
1766
  }
@@ -1797,7 +1797,7 @@ class st extends pe {
1797
1797
  this.viewModel.resetHome(), this.closed = !0, this.arcgisClose.emit();
1798
1798
  }}>${this._messages.cancel}</calcite-button><calcite-button .disabled=${this.viewModel.updating || this.viewModel.bauFormUpdating || this.viewModel.bauHasTooManyFeatures || this.viewModel.bauHasTooManyComplexFeatures} kind=brand appearance=solid .width=${this.viewModel.hideFooterCancelButton ? "full" : "half"} @click=${async () => {
1799
1799
  try {
1800
- if (await ie(() => !this.viewModel.bauFormUpdating), !this.viewModel.bauFormValid) {
1800
+ if (await ae(() => !this.viewModel.bauFormUpdating), !this.viewModel.bauFormValid) {
1801
1801
  this._bauForm.value?.goToFirstError();
1802
1802
  return;
1803
1803
  }
@@ -1830,7 +1830,7 @@ class st extends pe {
1830
1830
  this.viewModel.previousActiveFeature();
1831
1831
  }}></calcite-action><calcite-action slot=actions-end icon=chevron-right icon-flip-rtl scale=s .text=${this._messages.next ?? ""} .disabled=${!o || a || !i} @click=${() => {
1832
1832
  this.viewModel.nextActiveFeature();
1833
- }}></calcite-action></calcite-action-bar>${this._renderFloatingUIChoice(i)}` : ""}<div class=${ue(this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures ? "hidden" : void 0)}>${this._renderPasteFormBreadcrumb()}<arcgis-multi-feature-form edit-type=INSERT submit-has-been-attempted .referenceElement=${this.referenceElement} .hidden=${this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures} .disabled=${this.viewModel.updating} .maximumFeatureCount=${this.maximumFeatureCount} .maximumFeatureCountWithComplexForms=${this.maximumFeatureCountWithComplexForms} .features=${this.viewModel.bauFeatures} .activeFeatureIndex=${this.viewModel.bauActiveFeatureIndex} @arcgisPropertyChange=${(p) => {
1833
+ }}></calcite-action></calcite-action-bar>${this._renderFloatingUIChoice(i)}` : ""}<div class=${me(this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures ? "hidden" : void 0)}>${this._renderPasteFormBreadcrumb()}<arcgis-multi-feature-form edit-type=INSERT submit-has-been-attempted .referenceElement=${this.referenceElement} .hidden=${this.viewModel.bauHasTooManyComplexFeatures || this.viewModel.bauHasTooManyFeatures} .disabled=${this.viewModel.updating} .maximumFeatureCount=${this.maximumFeatureCount} .maximumFeatureCountWithComplexForms=${this.maximumFeatureCountWithComplexForms} .features=${this.viewModel.bauFeatures} .activeFeatureIndex=${this.viewModel.bauActiveFeatureIndex} @arcgisPropertyChange=${(p) => {
1834
1834
  this._updateBauViewModelFields(p.target);
1835
1835
  }} @arcgisValueChange=${(p) => {
1836
1836
  let u = 0;
@@ -1899,7 +1899,7 @@ class st extends pe {
1899
1899
  return this.activeFlowPage === "clipboard-empty-page" ? d`<calcite-flow class="arcgis-paste" .hidden=${this.closed}>${this._renderNoClipboardData(this.activeFlowPage === "clipboard-empty-page")}</calcite-flow>` : this.activeFlowPage === "no-command-page" ? d`<calcite-flow class="arcgis-paste" .hidden=${this.closed}>${this._renderNoCommandPage(this.activeFlowPage === "no-command-page")}</calcite-flow>` : d`<calcite-flow class="arcgis-paste" .hidden=${this.closed}>${this.hasPasteCommandsPage && this._renderPasteCommands(this.activeFlowPage === "commands-page") || ""}${this._renderFlowPasteAs(this.activeFlowPage === "gallery-page")}${this._renderFlowPasteMerge(this.activeFlowPage === "merge-page")}${this._renderFlowPasteForm(this.activeFlowPage === "form-page")}${this._renderClipboard(this.activeFlowPage === "clipboard")}</calcite-flow>`;
1900
1900
  }
1901
1901
  }
1902
- ce("arcgis-paste", st);
1902
+ de("arcgis-paste", st);
1903
1903
  export {
1904
1904
  st as ArcgisPaste
1905
1905
  };
@@ -29,10 +29,10 @@ class W extends S {
29
29
  constructor() {
30
30
  super(...arguments), this._featuresComponent = g(), this._dockAction = new B({ id: "popup-dock-action" }), this._mainContainerNode = g(), this._pointerNode = g(), this.messages = N(), this.viewModel = j(this), this._containerNode = g(), this._popupResizeObserver = new ResizeObserver(() => this._positionContainer()), this._positionContainer = () => {
31
31
  this.positionStyle = this._calculatePositionStyle();
32
- }, this.visible = this.viewModel.visible, this.screenLocation = H(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.topLayerDisabled = !1, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = O()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = w(), this.arcgisClose = w(), this.arcgisTriggerAction = w();
32
+ }, this.screenLocation = H(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.featureMenuTitle = this.viewModel.featureMenuTitle, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.topLayerDisabled = !1, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = O()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = w(), this.arcgisClose = w(), this.arcgisTriggerAction = w();
33
33
  }
34
34
  static {
35
- this.properties = { visible: 16, screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 5, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, featureMenuTitle: 1, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, open: 5, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 32, topLayerDisabled: 5, updateLocationEnabled: 5, view: 0 };
35
+ this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 5, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, featureMenuTitle: 1, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, open: 5, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 32, topLayerDisabled: 5, updateLocationEnabled: 5, view: 0 };
36
36
  }
37
37
  static {
38
38
  this.styles = I;
@@ -60,10 +60,10 @@ class W extends S {
60
60
  typeof a == "object" ? n.breakpoint = { ...r, ...a } : a && (n.breakpoint = r), this._dockOptions = n;
61
61
  }
62
62
  get open() {
63
- return this.visible;
63
+ return this.viewModel.visible;
64
64
  }
65
65
  set open(t) {
66
- this.visible = t;
66
+ this.viewModel.visible = t;
67
67
  }
68
68
  get selectedDrillInFeature() {
69
69
  return this._featuresComponent.value?.selectedDrillInFeature ?? null;
@@ -172,12 +172,22 @@ export abstract class ArcgisPrint extends LitElement {
172
172
  * @since 5.0
173
173
  */
174
174
  accessor hideAdvancedOptions: boolean;
175
+ /**
176
+ * @default false
177
+ * @internal
178
+ */
179
+ accessor hideFeatureAttributes: boolean;
175
180
  /**
176
181
  * Indicates whether the component's header is hidden.
177
182
  *
178
183
  * @default false
179
184
  */
180
185
  accessor hideHeader: boolean;
186
+ /**
187
+ * @default false
188
+ * @internal
189
+ */
190
+ accessor hideIncludeTables: boolean;
181
191
  /**
182
192
  * Icon which represents the component.
183
193
  * Typically used when the component is controlled by another component (e.g. by the Expand component).
@@ -10,18 +10,18 @@ import { u as v } from "../../chunks/useT9n.js";
10
10
  import { m as f } from "../../chunks/useViewModel.js";
11
11
  import { g as n } from "../../chunks/globalCss.js";
12
12
  import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
13
- const _ = h`.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{--panel-min-height--large: 240px;display:flex;flex-direction:column;flex-grow:1}.root{display:flex;position:relative;flex-grow:1;min-height:var(--panel-min-height--large)}.root section[aria-hidden=true]{display:none}.panel-items-centered{display:flex;align-items:center}.container{display:flex;flex-direction:column;flex-grow:1}.header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.panel-error{color:var(--calcite-color-status-danger)}`, x = f(p), d = (o) => {
13
+ const _ = h`.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{--panel-min-height--large: 240px;display:flex;flex-direction:column;flex-grow:1}.root{display:flex;position:relative;flex-grow:1;min-height:var(--panel-min-height--large)}.root section[aria-hidden=true]{display:none}.panel-items-centered{display:flex;align-items:center}.container{display:flex;flex-direction:column;flex-grow:1}.header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.panel-error{color:var(--calcite-color-status-danger)}`, b = f(p), d = (o) => {
14
14
  if (!o)
15
15
  return "all";
16
16
  const e = typeof o == "string" ? o.split(",").map((t) => t.trim()).filter((t) => t) : [o];
17
17
  return !e.length || e.includes("all") ? "all" : e;
18
18
  };
19
- class b extends m {
19
+ class x extends m {
20
20
  constructor() {
21
- super(...arguments), this.messages = v({ blocking: !0 }), this.viewModel = x(this), this.error = null, this._showTemplates = !1, this.view = this.viewModel.view, this.hideHeader = !1, this.icon = "print", this.hideAdvancedOptions = !1, this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.autoPopulateAuthor = !1, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisComplete = l(() => this.viewModel, "complete"), this.arcgisPropertyChange = u()("state"), this.arcgisReady = a(), this.arcgisSubmit = l(() => this.viewModel, "submit"), this.arcgisBrowseTemplatesChange = a(), this.arcgisSaveAs = a();
21
+ super(...arguments), this.messages = v({ blocking: !0 }), this.viewModel = b(this), this.error = null, this._showTemplates = !1, this.view = this.viewModel.view, this.hideHeader = !1, this.icon = "print", this.hideAdvancedOptions = !1, this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.autoPopulateAuthor = !1, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisComplete = l(() => this.viewModel, "complete"), this.arcgisPropertyChange = u()("state"), this.arcgisReady = a(), this.arcgisSubmit = l(() => this.viewModel, "submit"), this.arcgisBrowseTemplatesChange = a(), this.arcgisSaveAs = a();
22
22
  }
23
23
  static {
24
- this.properties = { error: 16, _showTemplates: 16, view: 0, hideHeader: 5, referenceElement: 1, icon: 1, hideAdvancedOptions: 5, allowedFormats: [1, { type: String, converter: d }], allowedLayouts: [1, { type: String, converter: d }], autoPopulateAuthor: 5, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 0, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, showSaveAs: 5, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
24
+ this.properties = { error: 16, _showTemplates: 16, view: 0, hideHeader: 5, referenceElement: 1, icon: 1, hideAdvancedOptions: 5, allowedFormats: [1, { type: String, converter: d }], allowedLayouts: [1, { type: String, converter: d }], autoPopulateAuthor: 5, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 0, headingLevel: 9, hideFeatureAttributes: 5, hideIncludeTables: 5, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, showSaveAs: 5, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
25
25
  }
26
26
  static {
27
27
  this.styles = _;
@@ -70,10 +70,10 @@ class b extends m {
70
70
  }
71
71
  _renderPanelContent() {
72
72
  const e = this.viewModel.view, t = e?.type !== "2d";
73
- return !!this.error || t ? r`<div class="panel-error">${e ? t ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : r`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .hideAdvancedOptions=${this.hideAdvancedOptions} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .autoPopulateAuthor=${this.autoPopulateAuthor} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-main-panel>`;
73
+ return !!this.error || t ? r`<div class="panel-error">${e ? t ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : r`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .hideAdvancedOptions=${this.hideAdvancedOptions} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .autoPopulateAuthor=${this.autoPopulateAuthor} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-main-panel>`;
74
74
  }
75
75
  }
76
- c("arcgis-print", b);
76
+ c("arcgis-print", x);
77
77
  export {
78
- b as ArcgisPrint
78
+ x as ArcgisPrint
79
79
  };
@@ -1,10 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
2
  import { c as n } from "../../chunks/runtime.js";
3
3
  import { css as r, html as t } from "lit";
4
- import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
5
5
  import { LitElement as c } from "@arcgis/lumina";
6
6
  import { u as h } from "../../chunks/useHandles.js";
7
- const u = r`.advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, p = [
7
+ const u = r`.advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, d = [
8
8
  "catalog-footprint",
9
9
  "geojson",
10
10
  "csv",
@@ -13,16 +13,16 @@ const u = r`.advanced-options-container{padding:var(--calcite-spacing-xxs);displ
13
13
  "map-notes",
14
14
  "stream"
15
15
  ];
16
- function d(i) {
16
+ function p(i) {
17
17
  if (!i)
18
18
  return !1;
19
19
  const { map: e, graphics: o } = i;
20
20
  return o?.length ? !0 : e?.allLayers.some((a) => {
21
21
  if (a.type === "feature" && "source" in a) {
22
- const { type: s } = a.source;
23
- return s !== "feature-layer" && s !== "ogc-feature";
22
+ const { type: l } = a.source;
23
+ return l !== "feature-layer" && l !== "ogc-feature";
24
24
  }
25
- return p.includes(a.type);
25
+ return d.includes(a.type);
26
26
  }) ?? !1;
27
27
  }
28
28
  function m(i) {
@@ -31,28 +31,28 @@ function m(i) {
31
31
  }
32
32
  class g extends c {
33
33
  constructor() {
34
- super(...arguments), this._handles = h("disconnect"), this.autoPopulateAuthor = !1;
34
+ super(...arguments), this._handles = h("disconnect"), this.autoPopulateAuthor = !1, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1;
35
35
  }
36
36
  static {
37
- this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, _showForceFeatureAttributes: 16, _showTablesInput: 16, autoPopulateAuthor: 5, viewModel: 0, messages: 0 };
37
+ this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, _showForceFeatureAttributes: 16, _showTablesInput: 16, autoPopulateAuthor: 5, viewModel: 0, messages: 0, hideFeatureAttributes: 5, hideIncludeTables: 5 };
38
38
  }
39
39
  static {
40
40
  this.styles = u;
41
41
  }
42
42
  loaded() {
43
43
  this.manager.onLifecycle(() => [
44
- l(() => this.viewModel.templateOptions.id, (e) => {
45
- this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(l(() => [
44
+ s(() => this.viewModel.templateOptions.id, (e) => {
45
+ this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(s(() => [
46
46
  this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,
47
47
  this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,
48
48
  this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,
49
49
  this._selectedTemplate?.mapSurroundInfoOptions?.northArrow?.length,
50
50
  this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar?.length
51
51
  ], () => {
52
- this._showAuthorInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText ?? !0, this._showCopyrightInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText ?? !0, this._showLegendInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend ?? !0, this._showNorthArrowInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length, this._showScaleBarInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length, this._showForceFeatureAttributes = d(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id, this._showTablesInput = m(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id;
52
+ this._showAuthorInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText ?? !0, this._showCopyrightInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText ?? !0, this._showLegendInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend ?? !0, this._showNorthArrowInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length, this._showScaleBarInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length, this._showForceFeatureAttributes = p(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id && !this.hideFeatureAttributes, this._showTablesInput = m(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id && !this.hideIncludeTables;
53
53
  }, { initial: !0 }), "template-handle");
54
54
  }, { initial: !0 }),
55
- l(() => [this.viewModel.portal?.user, this.autoPopulateAuthor], () => {
55
+ s(() => [this.viewModel.portal?.user, this.autoPopulateAuthor], () => {
56
56
  !this.viewModel.templateOptions.author && this.autoPopulateAuthor && this.viewModel.portal?.user?.username && (this.viewModel.templateOptions.author = this.viewModel.portal.user.username, this.requestUpdate());
57
57
  }, { initial: !0 })
58
58
  ]);
@@ -2,15 +2,15 @@
2
2
  import { c as l } from "../../chunks/runtime.js";
3
3
  import { css as o, html as e } from "lit";
4
4
  import { watch as i } from "@arcgis/core/core/reactiveUtils.js";
5
- import { LitElement as n } from "@arcgis/lumina";
6
- import { u as r } from "../../chunks/useHandles.js";
5
+ import { LitElement as r } from "@arcgis/lumina";
6
+ import { u as n } from "../../chunks/useHandles.js";
7
7
  const c = o`:host{display:flex;flex-direction:column;height:100%}.layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex-grow:1;gap:var(--calcite-spacing-md)}.panel-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--calcite-spacing-sm)}.advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}`;
8
- class d extends n {
8
+ class d extends r {
9
9
  constructor() {
10
- super(...arguments), this._handles = r("disconnect"), this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
10
+ super(...arguments), this._handles = n("disconnect"), this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1;
11
11
  }
12
12
  static {
13
- this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
13
+ this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0, hideFeatureAttributes: 5, hideIncludeTables: 5 };
14
14
  }
15
15
  static {
16
16
  this.styles = c;
@@ -42,7 +42,7 @@ class d extends n {
42
42
  return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
43
43
  }
44
44
  _renderAdvancedSection() {
45
- return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
45
+ return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
46
46
  }
47
47
  _renderExportButton() {
48
48
  return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
@@ -4,22 +4,22 @@ import { css as i, html as a } from "lit";
4
4
  import { LitElement as l } from "@arcgis/lumina";
5
5
  import { i as o } from "../../chunks/utils2.js";
6
6
  import { u as c } from "../../chunks/useHandles.js";
7
- import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
8
- const p = i`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
7
+ import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
8
+ const n = i`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
9
9
  class r extends l {
10
10
  constructor() {
11
- super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1, this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
11
+ super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1, this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1, this.hideFeatureAttributes = !1, this.hideIncludeTables = !1;
12
12
  }
13
13
  static {
14
- this.properties = { _selectedTab: 16, _hasPendingExport: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, showSaveAs: 5, arcgisSaveAs: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1 };
14
+ this.properties = { _selectedTab: 16, _hasPendingExport: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, showSaveAs: 5, arcgisSaveAs: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1, hideFeatureAttributes: 5, hideIncludeTables: 5 };
15
15
  }
16
16
  static {
17
- this.styles = p;
17
+ this.styles = n;
18
18
  }
19
19
  loaded() {
20
20
  this.manager.onLifecycle(() => [
21
21
  this.viewModel.exportedLinks.on("change", () => {
22
- this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => n(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
22
+ this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => d(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
23
23
  })
24
24
  ]);
25
25
  }
@@ -41,7 +41,7 @@ class r extends l {
41
41
  }
42
42
  render() {
43
43
  const e = this.viewModel.exportedLinks.some(({ state: t }) => t === "pending");
44
- return a`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`;
44
+ return a`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`;
45
45
  }
46
46
  }
47
47
  s("arcgis-print-main-panel", r);