@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,439 +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
- 'use strict';
7
-
8
- Object.defineProperty(exports, '__esModule', { value: true });
9
-
10
- const index = require('./index-a86078a0.js');
11
- const resources = require('./resources-6152b073.js');
12
- const dom = require('./dom-4a580af6.js');
13
- const Heading = require('./Heading-6b7b374c.js');
14
- const resources$1 = require('./resources-2260d186.js');
15
- const interactive = require('./interactive-0a68ab99.js');
16
- const observers = require('./observers-5311faf8.js');
17
- const conditionalSlot = require('./conditionalSlot-2defe83d.js');
18
- require('./resources-b56bce71.js');
19
- require('./guid-84ac4d91.js');
20
-
21
- 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}";
22
-
23
- const Panel = class {
24
- constructor(hostRef) {
25
- index.registerInstance(this, hostRef);
26
- this.calcitePanelClose = index.createEvent(this, "calcitePanelClose", 6);
27
- this.calcitePanelDismiss = index.createEvent(this, "calcitePanelDismiss", 6);
28
- this.calcitePanelDismissedChange = index.createEvent(this, "calcitePanelDismissedChange", 6);
29
- this.calcitePanelScroll = index.createEvent(this, "calcitePanelScroll", 6);
30
- this.calcitePanelBackClick = index.createEvent(this, "calcitePanelBackClick", 6);
31
- // --------------------------------------------------------------------------
32
- //
33
- // Properties
34
- //
35
- // --------------------------------------------------------------------------
36
- /**
37
- * When `true`, hides the component.
38
- *
39
- * @deprecated use `closed` instead.
40
- */
41
- this.dismissed = false;
42
- /** When `true`, the component will be hidden. */
43
- this.closed = false;
44
- /**
45
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
46
- */
47
- this.disabled = false;
48
- /**
49
- * When `true`, a close button is added to the component.
50
- *
51
- * @deprecated use `closable` instead
52
- */
53
- this.dismissible = false;
54
- /** When `true`, displays a close button in the trailing side of the header. */
55
- this.closable = false;
56
- /**
57
- * When `true`, displays a back button in the header.
58
- *
59
- * @deprecated use `calcite-flow-item` instead.
60
- */
61
- this.showBackButton = false;
62
- /**
63
- * When `true`, a busy indicator is displayed.
64
- */
65
- this.loading = false;
66
- /**
67
- * When `true`, the action menu items in the `header-menu-actions` slot are open.
68
- */
69
- this.menuOpen = false;
70
- this.resizeObserver = observers.createObserver("resize", () => this.resizeHandler());
71
- this.hasStartActions = false;
72
- this.hasEndActions = false;
73
- this.hasMenuItems = false;
74
- this.hasHeaderContent = false;
75
- this.hasFooterContent = false;
76
- this.hasFooterActions = false;
77
- this.hasFab = false;
78
- // --------------------------------------------------------------------------
79
- //
80
- // Private Methods
81
- //
82
- // --------------------------------------------------------------------------
83
- this.resizeHandler = () => {
84
- const { panelScrollEl } = this;
85
- if (!panelScrollEl ||
86
- typeof panelScrollEl.scrollHeight !== "number" ||
87
- typeof panelScrollEl.offsetHeight !== "number") {
88
- return;
89
- }
90
- panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;
91
- };
92
- this.setContainerRef = (node) => {
93
- this.containerEl = node;
94
- };
95
- this.setCloseRef = (node) => {
96
- this.closeButtonEl = node;
97
- };
98
- this.setBackRef = (node) => {
99
- this.backButtonEl = node;
100
- };
101
- this.panelKeyDownHandler = (event) => {
102
- if (this.closable && event.key === "Escape" && !event.defaultPrevented) {
103
- this.close();
104
- event.preventDefault();
105
- }
106
- };
107
- this.close = () => {
108
- this.closed = true;
109
- this.calcitePanelDismiss.emit();
110
- this.calcitePanelClose.emit();
111
- };
112
- this.panelScrollHandler = () => {
113
- this.calcitePanelScroll.emit();
114
- };
115
- this.backButtonClick = () => {
116
- this.calcitePanelBackClick.emit();
117
- };
118
- this.handleHeaderActionsStartSlotChange = (event) => {
119
- const elements = event.target.assignedElements({
120
- flatten: true
121
- });
122
- this.hasStartActions = !!elements.length;
123
- };
124
- this.handleHeaderActionsEndSlotChange = (event) => {
125
- const elements = event.target.assignedElements({
126
- flatten: true
127
- });
128
- this.hasEndActions = !!elements.length;
129
- };
130
- this.handleHeaderMenuActionsSlotChange = (event) => {
131
- const elements = event.target.assignedElements({
132
- flatten: true
133
- });
134
- this.hasMenuItems = !!elements.length;
135
- };
136
- this.handleHeaderContentSlotChange = (event) => {
137
- const elements = event.target.assignedElements({
138
- flatten: true
139
- });
140
- this.hasHeaderContent = !!elements.length;
141
- };
142
- this.handleFooterSlotChange = (event) => {
143
- const elements = event.target.assignedElements({
144
- flatten: true
145
- });
146
- this.hasFooterContent = !!elements.length;
147
- };
148
- this.handleFooterActionsSlotChange = (event) => {
149
- const elements = event.target.assignedElements({
150
- flatten: true
151
- });
152
- this.hasFooterActions = !!elements.length;
153
- };
154
- this.handleFabSlotChange = (event) => {
155
- const elements = event.target.assignedElements({
156
- flatten: true
157
- });
158
- this.hasFab = !!elements.length;
159
- };
160
- this.setPanelScrollEl = (el) => {
161
- var _a, _b;
162
- this.panelScrollEl = el;
163
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
164
- if (el) {
165
- (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
166
- this.resizeHandler();
167
- }
168
- };
169
- }
170
- dismissedHandler(value) {
171
- this.closed = value;
172
- this.calcitePanelDismissedChange.emit();
173
- }
174
- closedHandler(value) {
175
- this.dismissed = value;
176
- }
177
- dismissibleHandler(value) {
178
- this.closable = value;
179
- }
180
- closableHandler(value) {
181
- this.dismissible = value;
182
- }
183
- //--------------------------------------------------------------------------
184
- //
185
- // Lifecycle
186
- //
187
- //--------------------------------------------------------------------------
188
- componentDidRender() {
189
- interactive.updateHostInteraction(this);
190
- }
191
- // --------------------------------------------------------------------------
192
- //
193
- // Lifecycle
194
- //
195
- // --------------------------------------------------------------------------
196
- connectedCallback() {
197
- const isClosed = this.dismissed || this.closed;
198
- const isClosable = this.dismissible || this.closable;
199
- if (isClosed) {
200
- this.dismissedHandler(isClosed);
201
- this.closedHandler(isClosed);
202
- }
203
- if (isClosable) {
204
- this.dismissibleHandler(isClosable);
205
- this.closableHandler(isClosable);
206
- }
207
- }
208
- disconnectedCallback() {
209
- var _a;
210
- (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
211
- }
212
- // --------------------------------------------------------------------------
213
- //
214
- // Methods
215
- //
216
- // --------------------------------------------------------------------------
217
- /**
218
- * Sets focus on the component.
219
- *
220
- * @param focusId
221
- */
222
- async setFocus(focusId) {
223
- const { backButtonEl, closeButtonEl, containerEl } = this;
224
- if (focusId === "back-button") {
225
- backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();
226
- return;
227
- }
228
- if (focusId === "dismiss-button") {
229
- closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();
230
- return;
231
- }
232
- if (backButtonEl) {
233
- backButtonEl.setFocus();
234
- return;
235
- }
236
- if (closeButtonEl) {
237
- closeButtonEl.setFocus();
238
- return;
239
- }
240
- containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
241
- }
242
- /**
243
- * Scrolls the component's content to a specified set of coordinates.
244
- *
245
- * @example
246
- * myCalciteFlowItem.scrollContentTo({
247
- * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
248
- * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
249
- * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
250
- * });
251
- * @param options
252
- */
253
- async scrollContentTo(options) {
254
- var _a;
255
- (_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
256
- }
257
- // --------------------------------------------------------------------------
258
- //
259
- // Render Methods
260
- //
261
- // --------------------------------------------------------------------------
262
- renderBackButton() {
263
- const { el } = this;
264
- const rtl = dom.getElementDir(el) === "rtl";
265
- const { showBackButton, intlBack, backButtonClick } = this;
266
- const label = intlBack || resources.TEXT.back;
267
- const icon = rtl ? resources.ICONS.backRight : resources.ICONS.backLeft;
268
- return showBackButton ? (index.h("calcite-action", { "aria-label": label, class: resources.CSS.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: resources.SLOTS.headerActionsStart, text: label })) : null;
269
- }
270
- renderHeaderContent() {
271
- const { heading, headingLevel, summary, description, hasHeaderContent } = this;
272
- const headingNode = heading ? (index.h(Heading.Heading, { class: resources.CSS.heading, level: headingLevel || resources.HEADING_LEVEL }, heading)) : null;
273
- const descriptionNode = description || summary ? index.h("span", { class: resources.CSS.description }, description || summary) : null;
274
- return !hasHeaderContent && (headingNode || descriptionNode) ? (index.h("div", { class: resources.CSS.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
275
- }
276
- /**
277
- * Allows user to override the entire header-content node.
278
- */
279
- renderHeaderSlottedContent() {
280
- return (index.h("div", { class: resources.CSS.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, index.h("slot", { name: resources.SLOTS.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
281
- }
282
- renderHeaderStartActions() {
283
- const { hasStartActions } = this;
284
- return (index.h("div", { class: { [resources.CSS.headerActionsStart]: true, [resources.CSS.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, index.h("slot", { name: resources.SLOTS.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
285
- }
286
- renderHeaderActionsEnd() {
287
- const { close, hasEndActions, intlClose, closable } = this;
288
- const text = intlClose || resources.TEXT.close;
289
- const closableNode = closable ? (index.h("calcite-action", { "aria-label": text, icon: resources.ICONS.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
290
- const slotNode = (index.h("slot", { name: resources.SLOTS.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
291
- const showContainer = hasEndActions || closableNode;
292
- return (index.h("div", { class: { [resources.CSS.headerActionsEnd]: true, [resources.CSS.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
293
- }
294
- renderMenu() {
295
- const { hasMenuItems, intlOptions, menuOpen } = this;
296
- return (index.h("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || resources.TEXT.options, open: menuOpen, placement: "bottom-end" }, index.h("calcite-action", { icon: resources.ICONS.menu, slot: resources$1.SLOTS.trigger, text: intlOptions || resources.TEXT.options }), index.h("slot", { name: resources.SLOTS.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
297
- }
298
- renderHeaderNode() {
299
- const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
300
- const headerContentNode = this.renderHeaderContent();
301
- const showHeader = showBackButton ||
302
- hasHeaderContent ||
303
- headerContentNode ||
304
- hasStartActions ||
305
- hasEndActions ||
306
- closable ||
307
- hasMenuItems;
308
- return (index.h("header", { class: resources.CSS.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
309
- }
310
- renderFooterNode() {
311
- const { hasFooterContent, hasFooterActions } = this;
312
- const showFooter = hasFooterContent || hasFooterActions;
313
- return (index.h("footer", { class: resources.CSS.footer, hidden: !showFooter }, index.h("slot", { key: "footer-slot", name: resources.SLOTS.footer, onSlotchange: this.handleFooterSlotChange }), index.h("slot", { key: "footer-actions-slot", name: resources.SLOTS.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
314
- }
315
- renderContent() {
316
- const { hasFab } = this;
317
- const defaultSlotNode = index.h("slot", { key: "default-slot" });
318
- const containerNode = hasFab ? (index.h("section", { class: resources.CSS.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
319
- return (index.h("div", { class: {
320
- [resources.CSS.contentWrapper]: true,
321
- [resources.CSS.contentContainer]: !hasFab,
322
- [resources.CSS.contentHeight]: hasFab
323
- }, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
324
- }
325
- renderFab() {
326
- return (index.h("div", { class: resources.CSS.fabContainer, hidden: !this.hasFab }, index.h("slot", { name: resources.SLOTS.fab, onSlotchange: this.handleFabSlotChange })));
327
- }
328
- render() {
329
- const { loading, panelKeyDownHandler, closed, closable } = this;
330
- const panelNode = (index.h("article", { "aria-busy": dom.toAriaBoolean(loading), class: resources.CSS.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
331
- return (index.h(index.Fragment, null, loading ? index.h("calcite-scrim", { loading: loading }) : null, panelNode));
332
- }
333
- get el() { return index.getElement(this); }
334
- static get watchers() { return {
335
- "dismissed": ["dismissedHandler"],
336
- "closed": ["closedHandler"],
337
- "dismissible": ["dismissibleHandler"],
338
- "closable": ["closableHandler"]
339
- }; }
340
- };
341
- Panel.style = panelCss;
342
-
343
- /*!
344
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
345
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
346
- * v1.0.0-beta.97
347
- */
348
- const CSS = {
349
- main: "main",
350
- mainReversed: "main--reversed",
351
- content: "content",
352
- contentBehind: "content--behind",
353
- footer: "footer"
354
- };
355
- const SLOTS = {
356
- centerRow: "center-row",
357
- primaryPanel: "primary-panel",
358
- contextualPanel: "contextual-panel",
359
- panelStart: "panel-start",
360
- panelEnd: "panel-end",
361
- header: "header",
362
- footer: "footer"
363
- };
364
-
365
- 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)}";
366
-
367
- const Shell = class {
368
- constructor(hostRef) {
369
- index.registerInstance(this, hostRef);
370
- // --------------------------------------------------------------------------
371
- //
372
- // Properties
373
- //
374
- // --------------------------------------------------------------------------
375
- /**
376
- * Positions the center content behind any `calcite-shell-panel`s.
377
- */
378
- this.contentBehind = false;
379
- }
380
- // --------------------------------------------------------------------------
381
- //
382
- // Lifecycle
383
- //
384
- // --------------------------------------------------------------------------
385
- connectedCallback() {
386
- conditionalSlot.connectConditionalSlotComponent(this);
387
- }
388
- disconnectedCallback() {
389
- conditionalSlot.disconnectConditionalSlotComponent(this);
390
- }
391
- // --------------------------------------------------------------------------
392
- //
393
- // Render Methods
394
- //
395
- // --------------------------------------------------------------------------
396
- renderHeader() {
397
- const hasHeader = !!dom.getSlotted(this.el, SLOTS.header);
398
- return hasHeader ? index.h("slot", { key: "header", name: SLOTS.header }) : null;
399
- }
400
- renderContent() {
401
- const defaultSlotNode = index.h("slot", { key: "default-slot" });
402
- const centerRowSlotNode = index.h("slot", { key: "center-row-slot", name: SLOTS.centerRow });
403
- const contentContainerKey = "content-container";
404
- const content = !!this.contentBehind
405
- ? [
406
- index.h("div", { class: {
407
- [CSS.content]: true,
408
- [CSS.contentBehind]: true
409
- }, key: contentContainerKey }, defaultSlotNode),
410
- centerRowSlotNode
411
- ]
412
- : [
413
- index.h("div", { class: CSS.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
414
- ];
415
- return content;
416
- }
417
- renderFooter() {
418
- const hasFooter = !!dom.getSlotted(this.el, SLOTS.footer);
419
- return hasFooter ? (index.h("div", { class: CSS.footer, key: "footer" }, index.h("slot", { name: SLOTS.footer }))) : null;
420
- }
421
- renderMain() {
422
- const primaryPanel = dom.getSlotted(this.el, SLOTS.primaryPanel);
423
- const mainClasses = {
424
- [CSS.main]: true,
425
- [CSS.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
426
- };
427
- return (index.h("div", { class: mainClasses }, index.h("slot", { name: SLOTS.primaryPanel }), index.h("slot", { name: SLOTS.panelStart }), this.renderContent(), index.h("slot", { name: SLOTS.panelEnd }), index.h("slot", { name: SLOTS.contextualPanel })));
428
- }
429
- render() {
430
- return (index.h(index.Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter()));
431
- }
432
- get el() { return index.getElement(this); }
433
- };
434
- Shell.style = shellCss;
435
-
436
- exports.calcite_panel = Panel;
437
- exports.calcite_shell = Shell;
438
-
439
- //# sourceMappingURL=calcite-panel_2.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"calcite-panel.calcite-shell.entry.cjs.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,IAA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,EAAE,IAAI,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC,EAAEA,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,EAAEA,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAEA,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE;GAClO;EACD,MAAM;IACJ,QAAQA,OAAC,CAACO,cAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,EAAE;GACzF;;;;;;;;","names":["createObserver","updateHostInteraction","getElementDir","TEXT","ICONS","h","CSS","SLOTS","Heading","HEADING_LEVEL","ACTION_MENU_SLOTS","toAriaBoolean","Fragment","connectConditionalSlotComponent","disconnectConditionalSlotComponent","getSlotted"],"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}