@esri/solutions-components 0.2.2 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. package/dist/assets/t9n/solution-config-modal/resources.json +22 -0
  2. package/dist/assets/t9n/solution-config-modal/resources_en.json +22 -0
  3. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +18 -401
  4. package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +1 -1
  5. package/dist/cjs/calcite-action_2.cjs.entry.js +423 -71
  6. package/dist/cjs/calcite-action_2.cjs.entry.js.map +1 -1
  7. package/dist/cjs/calcite-loader.cjs.entry.js +97 -0
  8. package/dist/cjs/calcite-loader.cjs.entry.js.map +1 -0
  9. package/dist/cjs/{solution-configuration.cjs.entry.js → calcite-modal_2.cjs.entry.js} +451 -13
  10. package/dist/cjs/calcite-modal_2.cjs.entry.js.map +1 -0
  11. package/dist/cjs/{calcite-shell-panel_14.cjs.entry.js → calcite-panel_12.cjs.entry.js} +455 -709
  12. package/dist/cjs/calcite-panel_12.cjs.entry.js.map +1 -0
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/solution-config-modal.cjs.entry.js +131 -0
  15. package/dist/cjs/solution-config-modal.cjs.entry.js.map +1 -0
  16. package/dist/cjs/{solution-contents_3.cjs.entry.js → solution-contents_7.cjs.entry.js} +664 -5
  17. package/dist/cjs/solution-contents_7.cjs.entry.js.map +1 -0
  18. package/dist/cjs/{solution-store-893499a5.js → solution-store-09b3fc53.js} +4 -6
  19. package/dist/cjs/solution-store-09b3fc53.js.map +1 -0
  20. package/dist/cjs/solutions-components.cjs.js +1 -1
  21. package/dist/collection/collection-manifest.json +1 -0
  22. package/dist/collection/components/solution-config-modal/solution-config-modal.css +91 -0
  23. package/dist/collection/components/solution-config-modal/solution-config-modal.js +245 -0
  24. package/dist/collection/components/solution-config-modal/solution-config-modal.js.map +1 -0
  25. package/dist/collection/components/solution-configuration/solution-configuration.js +23 -17
  26. package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
  27. package/dist/collection/components/solution-item/solution-item.js +0 -2
  28. package/dist/collection/components/solution-item/solution-item.js.map +1 -1
  29. package/dist/collection/components/solution-item-details/solution-item-details.js +0 -13
  30. package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
  31. package/dist/collection/utils/solution-store.js +3 -5
  32. package/dist/collection/utils/solution-store.js.map +1 -1
  33. package/dist/collection/utils/solution-store.ts +3 -5
  34. package/dist/esm/buffer-tools_6.entry.js +2 -2
  35. package/dist/esm/calcite-action-bar_6.entry.js +2 -2
  36. package/dist/esm/calcite-action-menu_2.entry.js +20 -403
  37. package/dist/esm/calcite-action-menu_2.entry.js.map +1 -1
  38. package/dist/esm/calcite-action_2.entry.js +424 -72
  39. package/dist/esm/calcite-action_2.entry.js.map +1 -1
  40. package/dist/esm/calcite-combobox_3.entry.js +2 -2
  41. package/dist/esm/calcite-loader.entry.js +93 -0
  42. package/dist/esm/calcite-loader.entry.js.map +1 -0
  43. package/dist/esm/{solution-configuration.entry.js → calcite-modal_2.entry.js} +453 -16
  44. package/dist/esm/calcite-modal_2.entry.js.map +1 -0
  45. package/dist/esm/{calcite-shell-panel_14.entry.js → calcite-panel_12.entry.js} +454 -706
  46. package/dist/esm/calcite-panel_12.entry.js.map +1 -0
  47. package/dist/esm/config-layer-picker.entry.js +2 -2
  48. package/dist/esm/{interfaces-e2a2064d.js → interfaces-1bdfc3a8.js} +2 -2
  49. package/dist/esm/{interfaces-e2a2064d.js.map → interfaces-1bdfc3a8.js.map} +1 -1
  50. package/dist/esm/loader.js +1 -1
  51. package/dist/esm/{mapViewUtils-09f1e7bd.js → mapViewUtils-809947c8.js} +2 -2
  52. package/dist/esm/{mapViewUtils-09f1e7bd.js.map → mapViewUtils-809947c8.js.map} +1 -1
  53. package/dist/esm/public-notification.entry.js +2 -2
  54. package/dist/esm/solution-config-modal.entry.js +127 -0
  55. package/dist/esm/solution-config-modal.entry.js.map +1 -0
  56. package/dist/esm/{solution-contents_3.entry.js → solution-contents_7.entry.js} +661 -6
  57. package/dist/esm/solution-contents_7.entry.js.map +1 -0
  58. package/dist/esm/{solution-store-0c58c852.js → solution-store-d8519c64.js} +5 -7
  59. package/dist/esm/solution-store-d8519c64.js.map +1 -0
  60. package/dist/esm/solutions-components.js +1 -1
  61. package/dist/solutions-components/{p-be1ed982.entry.js → p-11068040.entry.js} +3 -3
  62. package/dist/solutions-components/{p-be1ed982.entry.js.map → p-11068040.entry.js.map} +0 -0
  63. package/dist/solutions-components/{p-659edb14.js → p-2910dd9e.js} +5 -7
  64. package/dist/{cjs/solution-store-893499a5.js.map → solutions-components/p-2910dd9e.js.map} +1 -1
  65. package/dist/solutions-components/{p-291fd295.entry.js → p-30810b45.entry.js} +3 -3
  66. package/dist/solutions-components/{p-291fd295.entry.js.map → p-30810b45.entry.js.map} +0 -0
  67. package/dist/solutions-components/p-38ddadf2.entry.js +342 -0
  68. package/dist/solutions-components/p-38ddadf2.entry.js.map +1 -0
  69. package/dist/solutions-components/{p-77c75f3a.entry.js → p-5b20090f.entry.js} +661 -6
  70. package/dist/solutions-components/p-5b20090f.entry.js.map +1 -0
  71. package/dist/solutions-components/{p-9393631c.entry.js → p-9ef1328a.entry.js} +3 -3
  72. package/dist/solutions-components/{p-9393631c.entry.js.map → p-9ef1328a.entry.js.map} +0 -0
  73. package/dist/solutions-components/{p-984cb687.entry.js → p-a1786d11.entry.js} +454 -706
  74. package/dist/solutions-components/p-a1786d11.entry.js.map +1 -0
  75. package/dist/solutions-components/{p-fe0fdd8b.js → p-c20bd963.js} +2 -2
  76. package/dist/solutions-components/{p-fe0fdd8b.js.map → p-c20bd963.js.map} +1 -1
  77. package/dist/solutions-components/p-c5721b0f.entry.js +127 -0
  78. package/dist/solutions-components/p-c5721b0f.entry.js.map +1 -0
  79. package/dist/solutions-components/{p-24d75151.entry.js → p-c818e661.entry.js} +3 -3
  80. package/dist/solutions-components/{p-24d75151.entry.js.map → p-c818e661.entry.js.map} +0 -0
  81. package/dist/solutions-components/{p-90629c1d.entry.js → p-cf59eb16.entry.js} +453 -16
  82. package/dist/solutions-components/p-cf59eb16.entry.js.map +1 -0
  83. package/dist/solutions-components/p-e405ebe8.entry.js +93 -0
  84. package/dist/solutions-components/p-e405ebe8.entry.js.map +1 -0
  85. package/dist/solutions-components/{p-77e6b03c.entry.js → p-e6fb9cde.entry.js} +3 -3
  86. package/dist/solutions-components/{p-77e6b03c.entry.js.map → p-e6fb9cde.entry.js.map} +0 -0
  87. package/dist/solutions-components/{p-97c4a268.entry.js → p-ef6f9e24.entry.js} +113 -229
  88. package/dist/solutions-components/p-ef6f9e24.entry.js.map +1 -0
  89. package/dist/solutions-components/{p-6b9dc092.js → p-f04fdb9a.js} +2 -2
  90. package/dist/solutions-components/{p-6b9dc092.js.map → p-f04fdb9a.js.map} +1 -1
  91. package/dist/solutions-components/solutions-components.esm.js +1 -1
  92. package/dist/solutions-components/utils/solution-store.ts +3 -5
  93. package/dist/solutions-components_commit.txt +8 -8
  94. package/dist/types/components/solution-config-modal/solution-config-modal.d.ts +69 -0
  95. package/dist/types/components/solution-configuration/solution-configuration.d.ts +4 -2
  96. package/dist/types/components/solution-item-details/solution-item-details.d.ts +0 -1
  97. package/dist/types/components.d.ts +43 -5
  98. package/dist/types/preact.d.ts +4 -0
  99. package/package.json +1 -1
  100. package/dist/cjs/calcite-modal.cjs.entry.js +0 -449
  101. package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
  102. package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -439
  103. package/dist/cjs/calcite-panel_2.cjs.entry.js.map +0 -1
  104. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -64
  105. package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
  106. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +0 -1
  107. package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
  108. package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
  109. package/dist/esm/calcite-modal.entry.js +0 -445
  110. package/dist/esm/calcite-modal.entry.js.map +0 -1
  111. package/dist/esm/calcite-panel_2.entry.js +0 -434
  112. package/dist/esm/calcite-panel_2.entry.js.map +0 -1
  113. package/dist/esm/calcite-scrim.entry.js +0 -60
  114. package/dist/esm/calcite-scrim.entry.js.map +0 -1
  115. package/dist/esm/calcite-shell-panel_14.entry.js.map +0 -1
  116. package/dist/esm/solution-configuration.entry.js.map +0 -1
  117. package/dist/esm/solution-contents_3.entry.js.map +0 -1
  118. package/dist/esm/solution-store-0c58c852.js.map +0 -1
  119. package/dist/solutions-components/p-0fda7d9e.entry.js +0 -434
  120. package/dist/solutions-components/p-0fda7d9e.entry.js.map +0 -1
  121. package/dist/solutions-components/p-2ff754ce.entry.js +0 -257
  122. package/dist/solutions-components/p-2ff754ce.entry.js.map +0 -1
  123. package/dist/solutions-components/p-30a6199a.entry.js +0 -445
  124. package/dist/solutions-components/p-30a6199a.entry.js.map +0 -1
  125. package/dist/solutions-components/p-659edb14.js.map +0 -1
  126. package/dist/solutions-components/p-77c75f3a.entry.js.map +0 -1
  127. package/dist/solutions-components/p-90629c1d.entry.js.map +0 -1
  128. package/dist/solutions-components/p-97c4a268.entry.js.map +0 -1
  129. package/dist/solutions-components/p-984cb687.entry.js.map +0 -1
  130. package/dist/solutions-components/p-f5268b4f.entry.js +0 -60
  131. package/dist/solutions-components/p-f5268b4f.entry.js.map +0 -1
@@ -1,434 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-15022d11.js';
7
- import { S as SLOTS$1, C as CSS$1, I as ICONS, T as TEXT, H as HEADING_LEVEL } from './resources-9eb63965.js';
8
- import { b as getElementDir, t as toAriaBoolean, a as getSlotted } from './dom-e593bf85.js';
9
- import { H as Heading } from './Heading-1efb4837.js';
10
- import { S as SLOTS$2 } from './resources-d60362c3.js';
11
- import { u as updateHostInteraction } from './interactive-822ffed6.js';
12
- import { c as createObserver } from './observers-31601001.js';
13
- import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-bb4cab11.js';
14
- import './resources-436ae282.js';
15
- import './guid-15fce7c0.js';
16
-
17
- const panelCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}.header{-webkit-border-after:1px solid;border-block-end:1px solid;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{-webkit-margin-after:0px;margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{-webkit-margin-start:auto;margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{-webkit-border-before:1px solid;border-block-start:1px solid;position:sticky;inset-block-end:0px;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;min-block-size:3rem;padding:0.5rem}.fab-container{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";
18
-
19
- const Panel = class {
20
- constructor(hostRef) {
21
- registerInstance(this, hostRef);
22
- this.calcitePanelClose = createEvent(this, "calcitePanelClose", 6);
23
- this.calcitePanelDismiss = createEvent(this, "calcitePanelDismiss", 6);
24
- this.calcitePanelDismissedChange = createEvent(this, "calcitePanelDismissedChange", 6);
25
- this.calcitePanelScroll = createEvent(this, "calcitePanelScroll", 6);
26
- this.calcitePanelBackClick = createEvent(this, "calcitePanelBackClick", 6);
27
- // --------------------------------------------------------------------------
28
- //
29
- // Properties
30
- //
31
- // --------------------------------------------------------------------------
32
- /**
33
- * When `true`, hides the component.
34
- *
35
- * @deprecated use `closed` instead.
36
- */
37
- this.dismissed = false;
38
- /** When `true`, the component will be hidden. */
39
- this.closed = false;
40
- /**
41
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
42
- */
43
- this.disabled = false;
44
- /**
45
- * When `true`, a close button is added to the component.
46
- *
47
- * @deprecated use `closable` instead
48
- */
49
- this.dismissible = false;
50
- /** When `true`, displays a close button in the trailing side of the header. */
51
- this.closable = false;
52
- /**
53
- * When `true`, displays a back button in the header.
54
- *
55
- * @deprecated use `calcite-flow-item` instead.
56
- */
57
- this.showBackButton = false;
58
- /**
59
- * When `true`, a busy indicator is displayed.
60
- */
61
- this.loading = false;
62
- /**
63
- * When `true`, the action menu items in the `header-menu-actions` slot are open.
64
- */
65
- this.menuOpen = false;
66
- this.resizeObserver = createObserver("resize", () => this.resizeHandler());
67
- this.hasStartActions = false;
68
- this.hasEndActions = false;
69
- this.hasMenuItems = false;
70
- this.hasHeaderContent = false;
71
- this.hasFooterContent = false;
72
- this.hasFooterActions = false;
73
- this.hasFab = false;
74
- // --------------------------------------------------------------------------
75
- //
76
- // Private Methods
77
- //
78
- // --------------------------------------------------------------------------
79
- this.resizeHandler = () => {
80
- const { panelScrollEl } = this;
81
- if (!panelScrollEl ||
82
- typeof panelScrollEl.scrollHeight !== "number" ||
83
- typeof panelScrollEl.offsetHeight !== "number") {
84
- return;
85
- }
86
- panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;
87
- };
88
- this.setContainerRef = (node) => {
89
- this.containerEl = node;
90
- };
91
- this.setCloseRef = (node) => {
92
- this.closeButtonEl = node;
93
- };
94
- this.setBackRef = (node) => {
95
- this.backButtonEl = node;
96
- };
97
- this.panelKeyDownHandler = (event) => {
98
- if (this.closable && event.key === "Escape" && !event.defaultPrevented) {
99
- this.close();
100
- event.preventDefault();
101
- }
102
- };
103
- this.close = () => {
104
- this.closed = true;
105
- this.calcitePanelDismiss.emit();
106
- this.calcitePanelClose.emit();
107
- };
108
- this.panelScrollHandler = () => {
109
- this.calcitePanelScroll.emit();
110
- };
111
- this.backButtonClick = () => {
112
- this.calcitePanelBackClick.emit();
113
- };
114
- this.handleHeaderActionsStartSlotChange = (event) => {
115
- const elements = event.target.assignedElements({
116
- flatten: true
117
- });
118
- this.hasStartActions = !!elements.length;
119
- };
120
- this.handleHeaderActionsEndSlotChange = (event) => {
121
- const elements = event.target.assignedElements({
122
- flatten: true
123
- });
124
- this.hasEndActions = !!elements.length;
125
- };
126
- this.handleHeaderMenuActionsSlotChange = (event) => {
127
- const elements = event.target.assignedElements({
128
- flatten: true
129
- });
130
- this.hasMenuItems = !!elements.length;
131
- };
132
- this.handleHeaderContentSlotChange = (event) => {
133
- const elements = event.target.assignedElements({
134
- flatten: true
135
- });
136
- this.hasHeaderContent = !!elements.length;
137
- };
138
- this.handleFooterSlotChange = (event) => {
139
- const elements = event.target.assignedElements({
140
- flatten: true
141
- });
142
- this.hasFooterContent = !!elements.length;
143
- };
144
- this.handleFooterActionsSlotChange = (event) => {
145
- const elements = event.target.assignedElements({
146
- flatten: true
147
- });
148
- this.hasFooterActions = !!elements.length;
149
- };
150
- this.handleFabSlotChange = (event) => {
151
- const elements = event.target.assignedElements({
152
- flatten: true
153
- });
154
- this.hasFab = !!elements.length;
155
- };
156
- this.setPanelScrollEl = (el) => {
157
- var _a, _b;
158
- this.panelScrollEl = el;
159
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
160
- if (el) {
161
- (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
162
- this.resizeHandler();
163
- }
164
- };
165
- }
166
- dismissedHandler(value) {
167
- this.closed = value;
168
- this.calcitePanelDismissedChange.emit();
169
- }
170
- closedHandler(value) {
171
- this.dismissed = value;
172
- }
173
- dismissibleHandler(value) {
174
- this.closable = value;
175
- }
176
- closableHandler(value) {
177
- this.dismissible = value;
178
- }
179
- //--------------------------------------------------------------------------
180
- //
181
- // Lifecycle
182
- //
183
- //--------------------------------------------------------------------------
184
- componentDidRender() {
185
- updateHostInteraction(this);
186
- }
187
- // --------------------------------------------------------------------------
188
- //
189
- // Lifecycle
190
- //
191
- // --------------------------------------------------------------------------
192
- connectedCallback() {
193
- const isClosed = this.dismissed || this.closed;
194
- const isClosable = this.dismissible || this.closable;
195
- if (isClosed) {
196
- this.dismissedHandler(isClosed);
197
- this.closedHandler(isClosed);
198
- }
199
- if (isClosable) {
200
- this.dismissibleHandler(isClosable);
201
- this.closableHandler(isClosable);
202
- }
203
- }
204
- disconnectedCallback() {
205
- var _a;
206
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
207
- }
208
- // --------------------------------------------------------------------------
209
- //
210
- // Methods
211
- //
212
- // --------------------------------------------------------------------------
213
- /**
214
- * Sets focus on the component.
215
- *
216
- * @param focusId
217
- */
218
- async setFocus(focusId) {
219
- const { backButtonEl, closeButtonEl, containerEl } = this;
220
- if (focusId === "back-button") {
221
- backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();
222
- return;
223
- }
224
- if (focusId === "dismiss-button") {
225
- closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();
226
- return;
227
- }
228
- if (backButtonEl) {
229
- backButtonEl.setFocus();
230
- return;
231
- }
232
- if (closeButtonEl) {
233
- closeButtonEl.setFocus();
234
- return;
235
- }
236
- containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
237
- }
238
- /**
239
- * Scrolls the component's content to a specified set of coordinates.
240
- *
241
- * @example
242
- * myCalciteFlowItem.scrollContentTo({
243
- * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
244
- * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
245
- * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
246
- * });
247
- * @param options
248
- */
249
- async scrollContentTo(options) {
250
- var _a;
251
- (_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
252
- }
253
- // --------------------------------------------------------------------------
254
- //
255
- // Render Methods
256
- //
257
- // --------------------------------------------------------------------------
258
- renderBackButton() {
259
- const { el } = this;
260
- const rtl = getElementDir(el) === "rtl";
261
- const { showBackButton, intlBack, backButtonClick } = this;
262
- const label = intlBack || TEXT.back;
263
- const icon = rtl ? ICONS.backRight : ICONS.backLeft;
264
- return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$1.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS$1.headerActionsStart, text: label })) : null;
265
- }
266
- renderHeaderContent() {
267
- const { heading, headingLevel, summary, description, hasHeaderContent } = this;
268
- const headingNode = heading ? (h(Heading, { class: CSS$1.heading, level: headingLevel || HEADING_LEVEL }, heading)) : null;
269
- const descriptionNode = description || summary ? h("span", { class: CSS$1.description }, description || summary) : null;
270
- return !hasHeaderContent && (headingNode || descriptionNode) ? (h("div", { class: CSS$1.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
271
- }
272
- /**
273
- * Allows user to override the entire header-content node.
274
- */
275
- renderHeaderSlottedContent() {
276
- return (h("div", { class: CSS$1.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, h("slot", { name: SLOTS$1.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
277
- }
278
- renderHeaderStartActions() {
279
- const { hasStartActions } = this;
280
- return (h("div", { class: { [CSS$1.headerActionsStart]: true, [CSS$1.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, h("slot", { name: SLOTS$1.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
281
- }
282
- renderHeaderActionsEnd() {
283
- const { close, hasEndActions, intlClose, closable } = this;
284
- const text = intlClose || TEXT.close;
285
- const closableNode = closable ? (h("calcite-action", { "aria-label": text, icon: ICONS.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
286
- const slotNode = (h("slot", { name: SLOTS$1.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
287
- const showContainer = hasEndActions || closableNode;
288
- return (h("div", { class: { [CSS$1.headerActionsEnd]: true, [CSS$1.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
289
- }
290
- renderMenu() {
291
- const { hasMenuItems, intlOptions, menuOpen } = this;
292
- return (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || TEXT.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS.menu, slot: SLOTS$2.trigger, text: intlOptions || TEXT.options }), h("slot", { name: SLOTS$1.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
293
- }
294
- renderHeaderNode() {
295
- const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
296
- const headerContentNode = this.renderHeaderContent();
297
- const showHeader = showBackButton ||
298
- hasHeaderContent ||
299
- headerContentNode ||
300
- hasStartActions ||
301
- hasEndActions ||
302
- closable ||
303
- hasMenuItems;
304
- return (h("header", { class: CSS$1.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
305
- }
306
- renderFooterNode() {
307
- const { hasFooterContent, hasFooterActions } = this;
308
- const showFooter = hasFooterContent || hasFooterActions;
309
- return (h("footer", { class: CSS$1.footer, hidden: !showFooter }, h("slot", { key: "footer-slot", name: SLOTS$1.footer, onSlotchange: this.handleFooterSlotChange }), h("slot", { key: "footer-actions-slot", name: SLOTS$1.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
310
- }
311
- renderContent() {
312
- const { hasFab } = this;
313
- const defaultSlotNode = h("slot", { key: "default-slot" });
314
- const containerNode = hasFab ? (h("section", { class: CSS$1.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
315
- return (h("div", { class: {
316
- [CSS$1.contentWrapper]: true,
317
- [CSS$1.contentContainer]: !hasFab,
318
- [CSS$1.contentHeight]: hasFab
319
- }, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
320
- }
321
- renderFab() {
322
- return (h("div", { class: CSS$1.fabContainer, hidden: !this.hasFab }, h("slot", { name: SLOTS$1.fab, onSlotchange: this.handleFabSlotChange })));
323
- }
324
- render() {
325
- const { loading, panelKeyDownHandler, closed, closable } = this;
326
- const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS$1.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
327
- return (h(Fragment, null, loading ? h("calcite-scrim", { loading: loading }) : null, panelNode));
328
- }
329
- get el() { return getElement(this); }
330
- static get watchers() { return {
331
- "dismissed": ["dismissedHandler"],
332
- "closed": ["closedHandler"],
333
- "dismissible": ["dismissibleHandler"],
334
- "closable": ["closableHandler"]
335
- }; }
336
- };
337
- Panel.style = panelCss;
338
-
339
- /*!
340
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
341
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
342
- * v1.0.0-beta.97
343
- */
344
- const CSS = {
345
- main: "main",
346
- mainReversed: "main--reversed",
347
- content: "content",
348
- contentBehind: "content--behind",
349
- footer: "footer"
350
- };
351
- const SLOTS = {
352
- centerRow: "center-row",
353
- primaryPanel: "primary-panel",
354
- contextualPanel: "contextual-panel",
355
- panelStart: "panel-start",
356
- panelEnd: "panel-end",
357
- header: "header",
358
- footer: "footer"
359
- };
360
-
361
- const shellCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.main--reversed{flex-direction:row-reverse}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";
362
-
363
- const Shell = class {
364
- constructor(hostRef) {
365
- registerInstance(this, hostRef);
366
- // --------------------------------------------------------------------------
367
- //
368
- // Properties
369
- //
370
- // --------------------------------------------------------------------------
371
- /**
372
- * Positions the center content behind any `calcite-shell-panel`s.
373
- */
374
- this.contentBehind = false;
375
- }
376
- // --------------------------------------------------------------------------
377
- //
378
- // Lifecycle
379
- //
380
- // --------------------------------------------------------------------------
381
- connectedCallback() {
382
- connectConditionalSlotComponent(this);
383
- }
384
- disconnectedCallback() {
385
- disconnectConditionalSlotComponent(this);
386
- }
387
- // --------------------------------------------------------------------------
388
- //
389
- // Render Methods
390
- //
391
- // --------------------------------------------------------------------------
392
- renderHeader() {
393
- const hasHeader = !!getSlotted(this.el, SLOTS.header);
394
- return hasHeader ? h("slot", { key: "header", name: SLOTS.header }) : null;
395
- }
396
- renderContent() {
397
- const defaultSlotNode = h("slot", { key: "default-slot" });
398
- const centerRowSlotNode = h("slot", { key: "center-row-slot", name: SLOTS.centerRow });
399
- const contentContainerKey = "content-container";
400
- const content = !!this.contentBehind
401
- ? [
402
- h("div", { class: {
403
- [CSS.content]: true,
404
- [CSS.contentBehind]: true
405
- }, key: contentContainerKey }, defaultSlotNode),
406
- centerRowSlotNode
407
- ]
408
- : [
409
- h("div", { class: CSS.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
410
- ];
411
- return content;
412
- }
413
- renderFooter() {
414
- const hasFooter = !!getSlotted(this.el, SLOTS.footer);
415
- return hasFooter ? (h("div", { class: CSS.footer, key: "footer" }, h("slot", { name: SLOTS.footer }))) : null;
416
- }
417
- renderMain() {
418
- const primaryPanel = getSlotted(this.el, SLOTS.primaryPanel);
419
- const mainClasses = {
420
- [CSS.main]: true,
421
- [CSS.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
422
- };
423
- return (h("div", { class: mainClasses }, h("slot", { name: SLOTS.primaryPanel }), h("slot", { name: SLOTS.panelStart }), this.renderContent(), h("slot", { name: SLOTS.panelEnd }), h("slot", { name: SLOTS.contextualPanel })));
424
- }
425
- render() {
426
- return (h(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter()));
427
- }
428
- get el() { return getElement(this); }
429
- };
430
- Shell.style = shellCss;
431
-
432
- export { Panel as calcite_panel, Shell as calcite_shell };
433
-
434
- //# sourceMappingURL=calcite-panel_2.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"calcite-panel.calcite-shell.entry.js","mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,4/KAA4/K;;MCsBhgL,KAAK;EAChB;;;;;;;;;;;;;;;;;IAWE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;;IAEvB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;;;;IAIpB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;;;IAMtB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;;IAEzB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;;;IAMtB,IAAI,CAAC,cAA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AC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE;GAClO;EACD,MAAM;IACJ,QAAQ,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,EAAE;GACzF;;;;;;;","names":["CSS","SLOTS","ACTION_MENU_SLOTS"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css?tag=calcite-panel&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/panel/panel.js","./node_modules/@esri/calcite-components/dist/collection/components/shell/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css?tag=calcite-shell&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/shell/shell.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n:host * {\n box-sizing: border-box;\n}\n\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([disabled]) {\n pointer-events: none;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-panel-max-height: The maximum height of the component.\n* @prop --calcite-panel-max-width: The maximum width of the component.\n* @prop --calcite-panel-min-width: The minimum width of the component.\n*/\n:host {\n position: relative;\n display: flex;\n inline-size: 100%;\n flex: 1 1 auto;\n overflow: hidden;\n --calcite-min-header-height: calc(var(--calcite-icon-size) * 3);\n --calcite-panel-max-height: unset;\n --calcite-panel-width: 100%;\n --calcite-panel-min-width: unset;\n --calcite-panel-max-width: unset;\n}\n\n:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled] {\n /* prevent opacity stacking */\n opacity: 1;\n}\n\n/* Shared styles for header elements */\n.header {\n margin: 0px;\n display: flex;\n align-content: space-between;\n align-items: center;\n fill: var(--calcite-ui-text-2);\n color: var(--calcite-ui-text-2);\n}\n\n.heading {\n margin: 0px;\n padding: 0px;\n font-weight: var(--calcite-font-weight-medium);\n}\n\n.header .heading {\n flex: 1 1 auto;\n padding: 0.5rem;\n}\n\n.container {\n margin: 0px;\n display: flex;\n inline-size: 100%;\n flex: 1 1 auto;\n flex-direction: column;\n align-items: stretch;\n background-color: var(--calcite-ui-background);\n padding: 0px;\n max-block-size: var(--calcite-panel-max-height);\n inline-size: var(--calcite-panel-width);\n max-inline-size: var(--calcite-panel-max-width);\n min-inline-size: var(--calcite-panel-min-width);\n transition: max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing);\n}\n\n:host([height-scale=s]) {\n --calcite-panel-max-height: 40vh;\n}\n\n:host([height-scale=m]) {\n --calcite-panel-max-height: 60vh;\n}\n\n:host([height-scale=l]) {\n --calcite-panel-max-height: 80vh;\n}\n\n:host([width-scale=s]) {\n --calcite-panel-width: calc(var(--calcite-panel-width-multiplier) * 12vw);\n --calcite-panel-max-width: calc(var(--calcite-panel-width-multiplier) * 300px);\n --calcite-panel-min-width: calc(var(--calcite-panel-width-multiplier) * 150px);\n}\n\n:host([width-scale=m]) {\n --calcite-panel-width: calc(var(--calcite-panel-width-multiplier) * 20vw);\n --calcite-panel-max-width: calc(var(--calcite-panel-width-multiplier) * 420px);\n --calcite-panel-min-width: calc(var(--calcite-panel-width-multiplier) * 240px);\n}\n\n:host([width-scale=l]) {\n --calcite-panel-width: calc(var(--calcite-panel-width-multiplier) * 45vw);\n --calcite-panel-max-width: calc(var(--calcite-panel-width-multiplier) * 680px);\n --calcite-panel-min-width: calc(var(--calcite-panel-width-multiplier) * 340px);\n}\n\n.container[hidden] {\n display: none;\n}\n\n.header {\n border-block-end: 1px solid;\n position: sticky;\n inset-block-start: 0px;\n z-index: 400;\n inline-size: 100%;\n align-items: stretch;\n justify-content: flex-start;\n background-color: var(--calcite-ui-foreground-1);\n border-block-end-color: var(--calcite-ui-border-3);\n flex: 0 0 auto;\n}\n\n.header-content {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n padding-inline: 0.75rem;\n padding-block: 0.875rem;\n margin-inline-end: auto;\n}\n.header-content .heading, \n.header-content .description {\n display: block;\n overflow-wrap: break-word;\n padding: 0px;\n}\n.header-content .heading {\n margin-inline: 0px;\n margin-block: 0px 0.25rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n font-weight: var(--calcite-font-weight-medium);\n}\n.header-content .heading:only-child {\n margin-block-end: 0px;\n}\n.header-content .description {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n color: var(--calcite-ui-text-2);\n}\n\n.back-button {\n border-width: 0px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n border-inline-end-width: 1px;\n}\n\n.header-actions {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n align-items: stretch;\n}\n\n.header-actions--end {\n margin-inline-start: auto;\n}\n\n.content-wrapper {\n overflow: auto;\n}\n\n.content-height {\n block-size: 100%;\n}\n\n.content-container {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: stretch;\n background-color: var(--calcite-ui-background);\n}\n\n.footer {\n border-block-start: 1px solid;\n position: sticky;\n inset-block-end: 0px;\n display: flex;\n inline-size: 100%;\n justify-content: space-evenly;\n background-color: var(--calcite-ui-foreground-1);\n border-block-start-color: var(--calcite-ui-border-3);\n flex: 0 0 auto;\n min-block-size: 3rem;\n padding: 0.5rem;\n}\n\n.fab-container {\n position: sticky;\n inset-block-end: 0px;\n z-index: 300;\n margin-block: 0px;\n margin-inline: auto;\n display: block;\n padding: 0.5rem;\n inset-inline: 0;\n inline-size: -moz-fit-content;\n inline-size: fit-content;\n}\n\n[hidden] {\n display: none;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Fragment } from \"@stencil/core\";\nimport { CSS, HEADING_LEVEL, ICONS, SLOTS, TEXT } from \"./resources\";\nimport { getElementDir, toAriaBoolean } from \"../../utils/dom\";\nimport { Heading } from \"../functional/Heading\";\nimport { SLOTS as ACTION_MENU_SLOTS } from \"../action-menu/resources\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\nimport { createObserver } from \"../../utils/observers\";\n/**\n * @slot - A slot for adding custom content.\n * @slot header-actions-start - A slot for adding actions or content to the start side of the header.\n * @slot header-actions-end - A slot for adding actions or content to the end side of the header.\n * @slot header-content - A slot for adding custom content to the header.\n * @slot header-menu-actions - A slot for adding an overflow menu with actions inside a `calcite-dropdown`.\n * @slot fab - A slot for adding a `calcite-fab` (floating action button) to perform an action.\n * @slot footer-actions - A slot for adding buttons to the footer.\n * @slot footer - A slot for adding custom content to the footer.\n */\nexport class Panel {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, hides the component.\n *\n * @deprecated use `closed` instead.\n */\n this.dismissed = false;\n /** When `true`, the component will be hidden. */\n this.closed = false;\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n this.disabled = false;\n /**\n * When `true`, a close button is added to the component.\n *\n * @deprecated use `closable` instead\n */\n this.dismissible = false;\n /** When `true`, displays a close button in the trailing side of the header. */\n this.closable = false;\n /**\n * When `true`, displays a back button in the header.\n *\n * @deprecated use `calcite-flow-item` instead.\n */\n this.showBackButton = false;\n /**\n * When `true`, a busy indicator is displayed.\n */\n this.loading = false;\n /**\n * When `true`, the action menu items in the `header-menu-actions` slot are open.\n */\n this.menuOpen = false;\n this.resizeObserver = createObserver(\"resize\", () => this.resizeHandler());\n this.hasStartActions = false;\n this.hasEndActions = false;\n this.hasMenuItems = false;\n this.hasHeaderContent = false;\n this.hasFooterContent = false;\n this.hasFooterActions = false;\n this.hasFab = false;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.resizeHandler = () => {\n const { panelScrollEl } = this;\n if (!panelScrollEl ||\n typeof panelScrollEl.scrollHeight !== \"number\" ||\n typeof panelScrollEl.offsetHeight !== \"number\") {\n return;\n }\n panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;\n };\n this.setContainerRef = (node) => {\n this.containerEl = node;\n };\n this.setCloseRef = (node) => {\n this.closeButtonEl = node;\n };\n this.setBackRef = (node) => {\n this.backButtonEl = node;\n };\n this.panelKeyDownHandler = (event) => {\n if (this.closable && event.key === \"Escape\" && !event.defaultPrevented) {\n this.close();\n event.preventDefault();\n }\n };\n this.close = () => {\n this.closed = true;\n this.calcitePanelDismiss.emit();\n this.calcitePanelClose.emit();\n };\n this.panelScrollHandler = () => {\n this.calcitePanelScroll.emit();\n };\n this.backButtonClick = () => {\n this.calcitePanelBackClick.emit();\n };\n this.handleHeaderActionsStartSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasStartActions = !!elements.length;\n };\n this.handleHeaderActionsEndSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasEndActions = !!elements.length;\n };\n this.handleHeaderMenuActionsSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasMenuItems = !!elements.length;\n };\n this.handleHeaderContentSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasHeaderContent = !!elements.length;\n };\n this.handleFooterSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasFooterContent = !!elements.length;\n };\n this.handleFooterActionsSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasFooterActions = !!elements.length;\n };\n this.handleFabSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasFab = !!elements.length;\n };\n this.setPanelScrollEl = (el) => {\n var _a, _b;\n this.panelScrollEl = el;\n (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n if (el) {\n (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);\n this.resizeHandler();\n }\n };\n }\n dismissedHandler(value) {\n this.closed = value;\n this.calcitePanelDismissedChange.emit();\n }\n closedHandler(value) {\n this.dismissed = value;\n }\n dismissibleHandler(value) {\n this.closable = value;\n }\n closableHandler(value) {\n this.dismissible = value;\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentDidRender() {\n updateHostInteraction(this);\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n const isClosed = this.dismissed || this.closed;\n const isClosable = this.dismissible || this.closable;\n if (isClosed) {\n this.dismissedHandler(isClosed);\n this.closedHandler(isClosed);\n }\n if (isClosable) {\n this.dismissibleHandler(isClosable);\n this.closableHandler(isClosable);\n }\n }\n disconnectedCallback() {\n var _a;\n (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n /**\n * Sets focus on the component.\n *\n * @param focusId\n */\n async setFocus(focusId) {\n const { backButtonEl, closeButtonEl, containerEl } = this;\n if (focusId === \"back-button\") {\n backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();\n return;\n }\n if (focusId === \"dismiss-button\") {\n closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();\n return;\n }\n if (backButtonEl) {\n backButtonEl.setFocus();\n return;\n }\n if (closeButtonEl) {\n closeButtonEl.setFocus();\n return;\n }\n containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();\n }\n /**\n * Scrolls the component's content to a specified set of coordinates.\n *\n * @example\n * myCalciteFlowItem.scrollContentTo({\n * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.\n * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element\n * behavior: \"auto\" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).\n * });\n * @param options\n */\n async scrollContentTo(options) {\n var _a;\n (_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderBackButton() {\n const { el } = this;\n const rtl = getElementDir(el) === \"rtl\";\n const { showBackButton, intlBack, backButtonClick } = this;\n const label = intlBack || TEXT.back;\n const icon = rtl ? ICONS.backRight : ICONS.backLeft;\n return showBackButton ? (h(\"calcite-action\", { \"aria-label\": label, class: CSS.backButton, icon: icon, key: \"back-button\", onClick: backButtonClick, ref: this.setBackRef, scale: \"s\", slot: SLOTS.headerActionsStart, text: label })) : null;\n }\n renderHeaderContent() {\n const { heading, headingLevel, summary, description, hasHeaderContent } = this;\n const headingNode = heading ? (h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, heading)) : null;\n const descriptionNode = description || summary ? h(\"span\", { class: CSS.description }, description || summary) : null;\n return !hasHeaderContent && (headingNode || descriptionNode) ? (h(\"div\", { class: CSS.headerContent, key: \"header-content\" }, headingNode, descriptionNode)) : null;\n }\n /**\n * Allows user to override the entire header-content node.\n */\n renderHeaderSlottedContent() {\n return (h(\"div\", { class: CSS.headerContent, hidden: !this.hasHeaderContent, key: \"slotted-header-content\" }, h(\"slot\", { name: SLOTS.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));\n }\n renderHeaderStartActions() {\n const { hasStartActions } = this;\n return (h(\"div\", { class: { [CSS.headerActionsStart]: true, [CSS.headerActions]: true }, hidden: !hasStartActions, key: \"header-actions-start\" }, h(\"slot\", { name: SLOTS.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));\n }\n renderHeaderActionsEnd() {\n const { close, hasEndActions, intlClose, closable } = this;\n const text = intlClose || TEXT.close;\n const closableNode = closable ? (h(\"calcite-action\", { \"aria-label\": text, icon: ICONS.close, onClick: close, ref: this.setCloseRef, text: text })) : null;\n const slotNode = (h(\"slot\", { name: SLOTS.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));\n const showContainer = hasEndActions || closableNode;\n return (h(\"div\", { class: { [CSS.headerActionsEnd]: true, [CSS.headerActions]: true }, hidden: !showContainer, key: \"header-actions-end\" }, slotNode, closableNode));\n }\n renderMenu() {\n const { hasMenuItems, intlOptions, menuOpen } = this;\n return (h(\"calcite-action-menu\", { flipPlacements: [\"top\", \"bottom\"], hidden: !hasMenuItems, key: \"menu\", label: intlOptions || TEXT.options, open: menuOpen, placement: \"bottom-end\" }, h(\"calcite-action\", { icon: ICONS.menu, slot: ACTION_MENU_SLOTS.trigger, text: intlOptions || TEXT.options }), h(\"slot\", { name: SLOTS.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));\n }\n renderHeaderNode() {\n const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;\n const headerContentNode = this.renderHeaderContent();\n const showHeader = showBackButton ||\n hasHeaderContent ||\n headerContentNode ||\n hasStartActions ||\n hasEndActions ||\n closable ||\n hasMenuItems;\n return (h(\"header\", { class: CSS.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));\n }\n renderFooterNode() {\n const { hasFooterContent, hasFooterActions } = this;\n const showFooter = hasFooterContent || hasFooterActions;\n return (h(\"footer\", { class: CSS.footer, hidden: !showFooter }, h(\"slot\", { key: \"footer-slot\", name: SLOTS.footer, onSlotchange: this.handleFooterSlotChange }), h(\"slot\", { key: \"footer-actions-slot\", name: SLOTS.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));\n }\n renderContent() {\n const { hasFab } = this;\n const defaultSlotNode = h(\"slot\", { key: \"default-slot\" });\n const containerNode = hasFab ? (h(\"section\", { class: CSS.contentContainer }, defaultSlotNode)) : (defaultSlotNode);\n return (h(\"div\", { class: {\n [CSS.contentWrapper]: true,\n [CSS.contentContainer]: !hasFab,\n [CSS.contentHeight]: hasFab\n }, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));\n }\n renderFab() {\n return (h(\"div\", { class: CSS.fabContainer, hidden: !this.hasFab }, h(\"slot\", { name: SLOTS.fab, onSlotchange: this.handleFabSlotChange })));\n }\n render() {\n const { loading, panelKeyDownHandler, closed, closable } = this;\n const panelNode = (h(\"article\", { \"aria-busy\": toAriaBoolean(loading), class: CSS.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));\n return (h(Fragment, null, loading ? h(\"calcite-scrim\", { loading: loading }) : null, panelNode));\n }\n static get is() { return \"calcite-panel\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"panel.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"panel.css\"]\n };\n }\n static get properties() {\n return {\n \"dismissed\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `closed` instead.\"\n }],\n \"text\": \"When `true`, hides the component.\"\n },\n \"attribute\": \"dismissed\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"closed\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component will be hidden.\"\n },\n \"attribute\": \"closed\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"beforeBack\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"() => Promise<void>\",\n \"resolved\": \"() => Promise<void>\",\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcite-flow-item` instead.\"\n }],\n \"text\": \"When provided, this method will be called before it is removed from the parent flow.\"\n }\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, interaction is prevented and the component is displayed with lower opacity.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"dismissible\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `closable` instead\"\n }],\n \"text\": \"When `true`, a close button is added to the component.\"\n },\n \"attribute\": \"dismissible\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"closable\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, displays a close button in the trailing side of the header.\"\n },\n \"attribute\": \"closable\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n },\n \"showBackButton\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcite-flow-item` instead.\"\n }],\n \"text\": \"When `true`, displays a back button in the header.\"\n },\n \"attribute\": \"show-back-button\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlBack\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcite-flow-item` instead.\"\n }],\n \"text\": \"Accessible name for the component's back button. The back button will only be shown when `showBackButton` is `true`.\"\n },\n \"attribute\": \"intl-back\",\n \"reflect\": false\n },\n \"heightScale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the maximum height of the component.\"\n },\n \"attribute\": \"height-scale\",\n \"reflect\": true\n },\n \"widthScale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the width of the component.\"\n },\n \"attribute\": \"width-scale\",\n \"reflect\": true\n },\n \"loading\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, a busy indicator is displayed.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlClose\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component's close button. The close button will only be shown when `closeable` is `true`.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false\n },\n \"intlOptions\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component's actions menu.\"\n },\n \"attribute\": \"intl-options\",\n \"reflect\": false\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The component header text.\"\n },\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"summary\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `description` instead.\"\n }],\n \"text\": \"Summary text. A description displayed underneath the heading.\"\n },\n \"attribute\": \"summary\",\n \"reflect\": false\n },\n \"description\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"A description for the component.\"\n },\n \"attribute\": \"description\",\n \"reflect\": false\n },\n \"menuOpen\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the action menu items in the `header-menu-actions` slot are open.\"\n },\n \"attribute\": \"menu-open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"hasStartActions\": {},\n \"hasEndActions\": {},\n \"hasMenuItems\": {},\n \"hasHeaderContent\": {},\n \"hasFooterContent\": {},\n \"hasFooterActions\": {},\n \"hasFab\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calcitePanelClose\",\n \"name\": \"calcitePanelClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the close button is clicked.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePanelDismiss\",\n \"name\": \"calcitePanelDismiss\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcitePanelClose` instead.\"\n }],\n \"text\": \"Fires when the close button is clicked.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePanelDismissedChange\",\n \"name\": \"calcitePanelDismissedChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcitePanelClose` instead.\"\n }],\n \"text\": \"Fires when there is a change to the `dismissed` property value .\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePanelScroll\",\n \"name\": \"calcitePanelScroll\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the content is scrolled.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePanelBackClick\",\n \"name\": \"calcitePanelBackClick\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcite-flow-item` instead.\"\n }],\n \"text\": \"Fires when the back button is clicked.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(focusId?: \\\"back-button\\\" | \\\"dismiss-button\\\") => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }]\n }\n },\n \"scrollContentTo\": {\n \"complexType\": {\n \"signature\": \"(options?: ScrollToOptions) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"options\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n },\n \"ScrollToOptions\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Scrolls the component's content to a specified set of coordinates.\",\n \"tags\": [{\n \"name\": \"example\",\n \"text\": \"myCalciteFlowItem.scrollContentTo({\\n left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.\\n top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element\\n behavior: \\\"auto\\\" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).\\n});\"\n }, {\n \"name\": \"param\",\n \"text\": \"options\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"dismissed\",\n \"methodName\": \"dismissedHandler\"\n }, {\n \"propName\": \"closed\",\n \"methodName\": \"closedHandler\"\n }, {\n \"propName\": \"dismissible\",\n \"methodName\": \"dismissibleHandler\"\n }, {\n \"propName\": \"closable\",\n \"methodName\": \"closableHandler\"\n }];\n }\n}\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const CSS = {\n main: \"main\",\n mainReversed: \"main--reversed\",\n content: \"content\",\n contentBehind: \"content--behind\",\n footer: \"footer\"\n};\nexport const SLOTS = {\n centerRow: \"center-row\",\n primaryPanel: \"primary-panel\",\n contextualPanel: \"contextual-panel\",\n panelStart: \"panel-start\",\n panelEnd: \"panel-end\",\n header: \"header\",\n footer: \"footer\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n:host * {\n box-sizing: border-box;\n}\n\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-shell-tip-spacing: The left and right spacing of the `calcite-tip-manager` when slotted in the component.\n*/\n:host {\n position: absolute;\n inset: 0px;\n display: flex;\n block-size: 100%;\n inline-size: 100%;\n flex-direction: column;\n overflow: hidden;\n --calcite-shell-tip-spacing: 26vw;\n}\n\n.main {\n position: relative;\n display: flex;\n block-size: 100%;\n inline-size: 100%;\n flex: 1 1 auto;\n flex-direction: row;\n justify-content: space-between;\n overflow: hidden;\n}\n\n.main--reversed {\n flex-direction: row-reverse;\n}\n\n.content {\n display: flex;\n block-size: 100%;\n inline-size: 100%;\n flex-direction: column;\n flex-wrap: nowrap;\n overflow: auto;\n}\n\n.content ::slotted(calcite-shell-center-row), \n.content ::slotted(calcite-panel), \n.content ::slotted(calcite-flow) {\n flex: 1 1 auto;\n align-self: stretch;\n max-block-size: unset;\n}\n\n.content--behind {\n position: absolute;\n inset: 0px;\n border-width: 0px;\n z-index: calc(1 - 1);\n display: initial;\n}\n\n::slotted(calcite-shell-center-row) {\n inline-size: unset;\n}\n\n::slotted(.header .heading) {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-normal);\n}\n\nslot[name=panel-end]::slotted(calcite-shell-panel) {\n margin-inline-start: auto;\n}\n\n::slotted(calcite-shell-panel), \n::slotted(calcite-shell-center-row) {\n position: relative;\n z-index: 1;\n}\n\n::slotted(calcite-panel), \n::slotted(calcite-flow) {\n border-width: 1px;\n border-inline-start-width: 0px;\n border-inline-end-width: 0px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n}\n\nslot[name=center-row]::slotted(calcite-shell-center-row:not([detached])) {\n border-inline-start-width: 1px;\n border-inline-end-width: 1px;\n border-color: var(--calcite-ui-border-3);\n}\n\n::slotted(calcite-tip-manager) {\n position: absolute;\n z-index: 500;\n box-sizing: border-box;\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n::slotted(calcite-tip-manager) {\n animation: in-up var(--calcite-internal-animation-timing-slow) ease-in-out;\n border-radius: 0.25rem;\n --tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n --tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n inset-block-end: 0.5rem;\n inset-inline: var(--calcite-shell-tip-spacing);\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Fragment } from \"@stencil/core\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\n/**\n * @slot - A slot for adding content to the component. This content will appear between any leading and trailing panels added to the component, such as a map.\n * @slot header - A slot for adding header content. This content will be positioned at the top of the component.\n * @slot footer - A slot for adding footer content. This content will be positioned at the bottom of the component.\n * @slot panel-start - A slot for adding the starting `calcite-shell-panel`.\n * @slot panel-end - A slot for adding the ending `calcite-shell-panel`.\n * @slot primary-panel - [DEPRECATED] A slot for adding the leading `calcite-shell-panel`.\n * @slot contextual-panel - [DEPRECATED] A slot for adding the trailing `calcite-shell-panel`.\n * @slot center-row - A slot for adding content to the center row.\n */\nexport class Shell {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * Positions the center content behind any `calcite-shell-panel`s.\n */\n this.contentBehind = false;\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderHeader() {\n const hasHeader = !!getSlotted(this.el, SLOTS.header);\n return hasHeader ? h(\"slot\", { key: \"header\", name: SLOTS.header }) : null;\n }\n renderContent() {\n const defaultSlotNode = h(\"slot\", { key: \"default-slot\" });\n const centerRowSlotNode = h(\"slot\", { key: \"center-row-slot\", name: SLOTS.centerRow });\n const contentContainerKey = \"content-container\";\n const content = !!this.contentBehind\n ? [\n h(\"div\", { class: {\n [CSS.content]: true,\n [CSS.contentBehind]: true\n }, key: contentContainerKey }, defaultSlotNode),\n centerRowSlotNode\n ]\n : [\n h(\"div\", { class: CSS.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)\n ];\n return content;\n }\n renderFooter() {\n const hasFooter = !!getSlotted(this.el, SLOTS.footer);\n return hasFooter ? (h(\"div\", { class: CSS.footer, key: \"footer\" }, h(\"slot\", { name: SLOTS.footer }))) : null;\n }\n renderMain() {\n const primaryPanel = getSlotted(this.el, SLOTS.primaryPanel);\n const mainClasses = {\n [CSS.main]: true,\n [CSS.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === \"end\"\n };\n return (h(\"div\", { class: mainClasses }, h(\"slot\", { name: SLOTS.primaryPanel }), h(\"slot\", { name: SLOTS.panelStart }), this.renderContent(), h(\"slot\", { name: SLOTS.panelEnd }), h(\"slot\", { name: SLOTS.contextualPanel })));\n }\n render() {\n return (h(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter()));\n }\n static get is() { return \"calcite-shell\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"shell.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"shell.css\"]\n };\n }\n static get properties() {\n return {\n \"contentBehind\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Positions the center content behind any `calcite-shell-panel`s.\"\n },\n \"attribute\": \"content-behind\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}