@arcgis/core 4.32.0-next.20250201 → 4.32.0-next.20250203

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/themes/base/_core.scss +0 -2
  3. package/assets/esri/themes/base/widgets/_Directions.scss +129 -425
  4. package/assets/esri/themes/dark/main.css +1 -1
  5. package/assets/esri/themes/light/main.css +1 -1
  6. package/assets/esri/themes/light/view.css +1 -1
  7. package/interfaces.d.ts +14 -0
  8. package/package.json +1 -1
  9. package/support/revision.js +1 -1
  10. package/widgets/Directions/DirectionsSearchTool.js +5 -0
  11. package/widgets/Directions/DirectionsViewModel.js +1 -1
  12. package/widgets/Directions/DirectionsVisibleElements.js +5 -0
  13. package/widgets/Directions.js +1 -1
  14. package/assets/esri/themes/base/widgets/_SaveLayer.scss +0 -40
  15. package/assets/esri/widgets/support/t9n/SaveLayer.json +0 -1
  16. package/assets/esri/widgets/support/t9n/SaveLayer_ar.json +0 -1
  17. package/assets/esri/widgets/support/t9n/SaveLayer_bg.json +0 -1
  18. package/assets/esri/widgets/support/t9n/SaveLayer_bs.json +0 -1
  19. package/assets/esri/widgets/support/t9n/SaveLayer_ca.json +0 -1
  20. package/assets/esri/widgets/support/t9n/SaveLayer_cs.json +0 -1
  21. package/assets/esri/widgets/support/t9n/SaveLayer_da.json +0 -1
  22. package/assets/esri/widgets/support/t9n/SaveLayer_de.json +0 -1
  23. package/assets/esri/widgets/support/t9n/SaveLayer_el.json +0 -1
  24. package/assets/esri/widgets/support/t9n/SaveLayer_en.json +0 -1
  25. package/assets/esri/widgets/support/t9n/SaveLayer_es.json +0 -1
  26. package/assets/esri/widgets/support/t9n/SaveLayer_et.json +0 -1
  27. package/assets/esri/widgets/support/t9n/SaveLayer_fi.json +0 -1
  28. package/assets/esri/widgets/support/t9n/SaveLayer_fr.json +0 -1
  29. package/assets/esri/widgets/support/t9n/SaveLayer_he.json +0 -1
  30. package/assets/esri/widgets/support/t9n/SaveLayer_hr.json +0 -1
  31. package/assets/esri/widgets/support/t9n/SaveLayer_hu.json +0 -1
  32. package/assets/esri/widgets/support/t9n/SaveLayer_id.json +0 -1
  33. package/assets/esri/widgets/support/t9n/SaveLayer_it.json +0 -1
  34. package/assets/esri/widgets/support/t9n/SaveLayer_ja.json +0 -1
  35. package/assets/esri/widgets/support/t9n/SaveLayer_ko.json +0 -1
  36. package/assets/esri/widgets/support/t9n/SaveLayer_lt.json +0 -1
  37. package/assets/esri/widgets/support/t9n/SaveLayer_lv.json +0 -1
  38. package/assets/esri/widgets/support/t9n/SaveLayer_nl.json +0 -1
  39. package/assets/esri/widgets/support/t9n/SaveLayer_no.json +0 -1
  40. package/assets/esri/widgets/support/t9n/SaveLayer_pl.json +0 -1
  41. package/assets/esri/widgets/support/t9n/SaveLayer_pt-BR.json +0 -1
  42. package/assets/esri/widgets/support/t9n/SaveLayer_pt-PT.json +0 -1
  43. package/assets/esri/widgets/support/t9n/SaveLayer_ro.json +0 -1
  44. package/assets/esri/widgets/support/t9n/SaveLayer_ru.json +0 -1
  45. package/assets/esri/widgets/support/t9n/SaveLayer_sk.json +0 -1
  46. package/assets/esri/widgets/support/t9n/SaveLayer_sl.json +0 -1
  47. package/assets/esri/widgets/support/t9n/SaveLayer_sr.json +0 -1
  48. package/assets/esri/widgets/support/t9n/SaveLayer_sv.json +0 -1
  49. package/assets/esri/widgets/support/t9n/SaveLayer_th.json +0 -1
  50. package/assets/esri/widgets/support/t9n/SaveLayer_tr.json +0 -1
  51. package/assets/esri/widgets/support/t9n/SaveLayer_uk.json +0 -1
  52. package/assets/esri/widgets/support/t9n/SaveLayer_vi.json +0 -1
  53. package/assets/esri/widgets/support/t9n/SaveLayer_zh-CN.json +0 -1
  54. package/assets/esri/widgets/support/t9n/SaveLayer_zh-HK.json +0 -1
  55. package/assets/esri/widgets/support/t9n/SaveLayer_zh-TW.json +0 -1
  56. package/widgets/Directions/components/SaveLayer.js +0 -5
  57. package/widgets/Directions/css.js +0 -5
@@ -70,7 +70,6 @@ $include_PanoramicViewer: $include_widgets !default;
70
70
  $include_Popup: $include_widgets !default;
71
71
  $include_Print: $include_widgets !default;
72
72
  $include_ResponsiveToolbar: $include_widgets !default;
73
- $include_SaveLayer: $include_widgets !default;
74
73
  $include_ScaleBar: $include_widgets !default;
75
74
  $include_ScaleRangeSlider: $include_widgets !default;
76
75
  $include_Search: $include_widgets !default;
@@ -179,7 +178,6 @@ $calcite-fonts-path: "../base/fonts/fonts/" !default;
179
178
  @import "widgets/Popup";
180
179
  @import "widgets/Print";
181
180
  @import "widgets/ResponsiveToolbar";
182
- @import "widgets/SaveLayer";
183
181
  @import "widgets/ScaleBar";
184
182
  @import "widgets/ScaleRangeSlider";
185
183
  @import "widgets/Search";
@@ -1,474 +1,178 @@
1
1
  @use "sass:color";
2
2
 
3
3
  @mixin directions() {
4
- $border_size: 2px;
5
- $directions-height--max: 420px !default;
6
-
7
4
  .esri-directions {
8
- overflow-x: hidden;
9
- color: $font-color;
10
- }
11
-
12
- .esri-directions__panel-content {
13
- display: flex;
14
- flex-flow: column;
15
- padding: $cap-spacing 0;
16
- }
17
-
18
- .esri-directions__sign-in-panel {
19
- display: flex;
20
- justify-content: center;
21
- color: $interactive-font-color;
22
- }
23
-
24
- .esri-directions__section {
25
- margin-top: $cap-spacing;
26
- margin-bottom: $cap-spacing;
27
- }
28
-
29
- .esri-directions__section-splitter {
30
- margin: $cap-spacing--plus-half 0;
31
- border-top: 1px solid $border-color;
32
- width: 100%;
33
- }
34
-
35
- .esri-directions__travel-modes,
36
- .esri-directions__departure-time {
37
- display: flex;
38
- align-items: center;
39
- padding-inline: $side-spacing;
40
- }
41
-
42
- .esri-directions__travel-modes .esri-select,
43
- .esri-directions__departure-time .esri-select {
44
- flex: 1 0 auto;
45
- width: auto;
46
- }
47
-
48
- .esri-directions__panel-content--sign-in,
49
- .esri-directions__panel-content--loading,
50
- .esri-directions__panel-content--error {
51
- display: flex;
52
- align-items: center;
53
- justify-content: center;
54
- margin: 0 $cap-spacing;
55
- min-height: $directions-height--max;
56
- color: $interactive-font-color;
57
- }
58
-
59
- .esri-directions__loader {
60
- background: url("../base/images/loading-throb.gif") no-repeat center;
61
- width: 32px;
62
- height: 40px;
63
- }
64
-
65
- .esri-directions__warning-card {
66
- @include defaultBoxShadow();
67
-
68
- margin: 20px auto;
69
- border-top: solid 2px $border-color--error;
70
- padding: 12px;
71
- width: 90%;
72
- color: $interactive-font-color;
73
- }
74
-
75
- .esri-directions__warning-header {
76
- display: flex;
77
- margin-bottom: 6px;
78
- color: $font-color--error;
79
- }
80
-
81
- .esri-directions__warning-heading {
82
- margin: 0 4px;
83
- color: inherit;
84
- }
85
-
86
- .esri-directions__warning-message {
87
- color: inherit;
88
- font-weight: $font-weight;
89
- }
90
-
91
- .esri-directions__departure-time-controls {
92
- --calcite-font-size--1: var(--calcite-font-size--2);
93
-
94
- display: flex;
95
- flex-direction: column;
96
- }
97
-
98
- .esri-directions__departure-date-time-pickers {
99
- display: flex;
100
- }
101
-
102
- .esri-directions__directions-section {
103
- display: flex;
104
- flex-direction: column;
105
- align-items: center;
106
- justify-content: center;
107
- }
108
-
109
- .esri-directions__sign-in-content {
110
- display: flex;
111
- flex-direction: column;
112
- align-items: center;
113
- align-self: flex-start;
114
- width: 100%;
115
- }
116
-
117
- .esri-directions__sign-in-button {
118
- width: auto;
119
- }
120
-
121
- .esri-directions__content-title {
122
- align-self: flex-start;
123
- margin-top: 0;
124
- padding: 0 $cap-spacing;
125
- }
126
-
127
- .esri-directions__summary {
128
- display: flex;
129
- flex: 1 1 auto;
130
- flex-direction: column;
131
- align-items: center;
132
- justify-content: center;
133
- width: 100%;
134
- }
135
-
136
- .esri-directions__summary-controls {
137
- display: flex;
138
- align-items: center;
139
- justify-content: flex-end;
140
- }
141
-
142
- .esri-directions__stops {
143
- display: flex;
144
- flex-direction: column;
145
- margin: 0;
146
- padding: 0;
147
- width: 100%;
148
- list-style: none;
149
- }
150
-
151
- .esri-directions__stop-row {
152
- display: flex;
153
- align-items: center;
154
- justify-content: space-between;
155
- border-top: dashed $border_size transparent;
156
- background-color: $background-color;
157
- padding: 10px 0;
158
- }
159
-
160
- .esri-directions__stop-row-ghost {
161
- opacity: 0.25;
162
- }
163
-
164
- .esri-directions__stop-handle {
165
- flex: 0 0 auto;
166
- padding-inline-start: $side-spacing--half;
167
- }
168
-
169
- .esri-search__sources-button {
170
- @include icomoonIconSelector() {
171
- position: relative;
172
- left: 1px;
5
+ calcite-flow-item {
6
+ --calcite-color-background: var(--calcite-color-foreground-1);
173
7
  }
174
- }
175
-
176
- .esri-directions__stop-input {
177
- flex-grow: 0.8;
178
- margin: 0 4px;
179
- }
180
-
181
- .esri-directions__stop-input .esri-search .esri-search__input {
182
- margin-bottom: $border_size;
183
- outline-offset: 4px;
184
- border: 1px solid $border-color--input;
185
- height: auto;
186
- min-height: $button-height;
187
- }
188
-
189
- .esri-directions__remove-stop-icon,
190
- .esri-directions__stop-row:hover .esri-directions__remove-stop-icon[hidden] {
191
- visibility: hidden;
192
- }
193
-
194
- .esri-directions__remove-stop:focus .esri-directions__remove-stop-icon,
195
- .esri-directions__stop-row:hover .esri-directions__remove-stop-icon {
196
- visibility: visible;
197
- }
198
-
199
- .esri-directions__reverse-stops[hidden] {
200
- display: inherit;
201
- visibility: hidden;
202
- }
203
8
 
204
- .esri-directions__stop-options {
205
- display: flex;
206
- flex-grow: 0.1;
207
- justify-content: space-between;
208
- padding-right: $side-spacing--half;
209
- }
210
-
211
- .esri-directions__stop-row:first-child {
212
- margin-top: 0;
213
- }
214
-
215
- .esri-directions__stop-row:last-child {
216
- margin-bottom: 0;
217
- }
218
-
219
- .esri-directions__stop-icon[hidden] {
220
- display: inline-block;
221
- visibility: hidden;
222
- }
223
-
224
- .esri-directions__stop-icon--interactive {
225
- cursor: pointer;
226
- }
227
-
228
- .esri-directions__stop-icon-container {
229
- display: inline-block;
230
- position: relative;
231
- }
232
-
233
- .esri-directions__stop-icon-container--last::after {
234
- border: none;
235
- }
236
-
237
- .esri-directions__costs {
238
- display: flex;
239
- flex-direction: column;
240
- align-items: center;
241
- justify-content: space-around;
242
- cursor: pointer;
243
- padding: $cap-spacing $side-spacing 0;
244
- width: 100%;
245
- }
246
-
247
- .esri-directions__costs-details {
248
- display: flex;
249
- justify-content: center;
250
- width: 100%;
251
- white-space: nowrap;
252
- }
253
-
254
- .esri-directions__arrival-time-container {
255
- margin-top: $cap-spacing--half;
256
- }
257
-
258
- .esri-directions__arrival-time {
259
- font-weight: $font-weight--bold;
260
- }
261
-
262
- .esri-directions__costs-units {
263
- display: flex;
264
- justify-content: space-around;
265
- }
266
-
267
- .esri-directions__costs-value,
268
- .esri-directions__other-costs-total,
269
- .esri-directions__vertical-splitter {
270
- line-height: 1.5;
271
- color: $interactive-font-color;
272
- font-size: 1.5em;
273
- }
274
-
275
- .esri-directions__vertical-splitter {
276
- margin-inline: $side-spacing--three-quarters;
277
- border: 1px solid color.adjust($font-color, $alpha: -0.8);
278
- }
279
-
280
- .esri-directions__horizontal-splitter {
281
- flex-grow: 0.95;
282
- border-top: 1px solid $border-color;
283
- }
284
-
285
- .esri-directions__maneuvers {
286
- display: flex;
287
- flex-direction: column;
288
- margin: $cap-spacing--plus-half 0 0 0;
289
- border-top: 1px solid $border-color;
290
- padding: 0;
291
- width: 100%;
292
- }
293
-
294
- .esri-directions__maneuver-list {
295
- margin: 0;
296
- padding: 0;
297
- }
298
-
299
- .esri-directions__maneuver {
300
- display: flex;
301
- border: none;
302
- border-inline-start: $border-size--active solid transparent;
303
- cursor: pointer;
304
- padding: $cap-spacing $side-spacing--half;
305
- }
306
-
307
- .esri-directions__maneuver:hover,
308
- .esri-directions__maneuver:focus {
309
- background-color: $background-color--hover;
310
- }
311
-
312
- .esri-directions__maneuver--active,
313
- .esri-directions__maneuver--active:hover,
314
- .esri-directions__maneuver--active:focus {
315
- border-color: $border-color--active;
316
- background-color: $background-color--active;
317
- }
318
-
319
- .esri-directions__maneuver-section--collapsible {
320
- border-bottom: 1px solid $border-color;
321
-
322
- &:last-child {
323
- border-bottom: none;
9
+ &__accordion {
10
+ --calcite-accordion-border-color: transparent;
324
11
  }
325
12
 
326
- .esri-directions__maneuver-list {
327
- background-color: $background-color--offset;
328
- padding-top: $cap-spacing;
329
- padding-bottom: $cap-spacing;
13
+ &__action-container {
14
+ display: flex;
15
+ flex-flow: row nowrap;
16
+ align-items: stretch;
17
+ justify-content: flex-start;
18
+ margin-top: var(--calcite-spacing-sm);
19
+ background-color: var(--calcite-color-background);
20
+ padding-inline: var(--calcite-spacing-md);
21
+ height: var(--calcite-size-md);
330
22
  }
331
- }
332
23
 
333
- .esri-directions__maneuver-section-header {
334
- display: flex;
335
- padding: 0 $side-spacing--half;
336
- }
24
+ &__departure-time-options {
25
+ display: flex;
26
+ margin-bottom: var(--calcite-spacing-sm);
337
27
 
338
- .esri-directions__maneuver-section-header-toggle-button {
339
- display: flex;
340
- align-items: center;
341
- justify-content: space-between;
342
- padding: $cap-spacing $side-spacing--half;
343
- width: 100%;
28
+ calcite-input-date-picker,
29
+ calcite-input-time-picker {
30
+ flex: 1;
31
+ }
32
+ }
344
33
 
345
- .esri-directions__maneuver-section-title {
346
- padding: 0;
34
+ &__directions-header {
35
+ display: flex;
36
+ flex-direction: column;
37
+ padding: var(--calcite-spacing-md);
347
38
  }
348
- }
349
39
 
350
- .esri-directions__maneuver-section-title {
351
- margin: 0;
352
- padding: $cap-spacing $side-spacing--half;
353
- }
40
+ &__directions-header-stop-names {
41
+ display: flex;
42
+ flex-direction: column;
43
+ margin-left: var(--calcite-spacing-sm);
44
+ font-weight: var(--calcite-font-weight-medium);
45
+ }
354
46
 
355
- .esri-directions__maneuver-section-toggle {
356
- cursor: pointer;
357
- }
47
+ &__edit-footer {
48
+ border-top: var(--calcite-border-width-sm) solid var(--calcite-color-border-3);
49
+ padding: var(--calcite-spacing-md);
50
+ }
358
51
 
359
- .esri-directions__maneuver-icon {
360
- margin-inline-end: $side-spacing--half;
361
- color: $font-color;
362
- }
52
+ &__edit-toolbar-container {
53
+ display: flex;
54
+ flex-flow: row nowrap;
55
+ margin: var(--calcite-spacing-md);
56
+ }
363
57
 
364
- .esri-directions__maneuver-costs {
365
- display: flex;
366
- align-items: center;
367
- justify-content: space-between;
368
- margin-top: $cap-spacing--half;
369
- white-space: nowrap;
370
- }
58
+ &__edit-toolbar {
59
+ display: flex;
60
+ flex-flow: row nowrap;
61
+ border-width: var(--calcite-border-width-sm);
62
+ border-style: solid;
63
+ border-radius: var(--calcite-corner-radius-round);
64
+ border-color: var(--calcite-color-foreground-3);
65
+ overflow: hidden;
66
+ }
371
67
 
372
- .esri-directions__cost--intermediate {
373
- font-size: $font-size--small;
374
- }
68
+ &__flex-column {
69
+ display: flex;
70
+ flex-direction: column;
71
+ }
375
72
 
376
- .esri-directions__maneuver-costs-container {
377
- width: 100%;
378
- }
73
+ &__flex-row {
74
+ display: flex;
75
+ flex-direction: row;
76
+ }
379
77
 
380
- .esri-directions__maneuver-place-name {
381
- font-weight: var(--calcite-font-weight-medium);
382
- }
78
+ &__label-emphasize {
79
+ font-weight: var(--calcite-font-weight-medium);
80
+ }
383
81
 
384
- .esri-directions__scroller {
385
- overflow-y: auto;
386
- }
82
+ &__label-no-bottom-margin {
83
+ --calcite-label-margin-bottom: 0;
84
+ }
387
85
 
388
- .esri-directions__stop-row--valid {
389
- .esri-directions__stop-handle:hover {
390
- cursor: move;
86
+ &__margin-inline-medium {
87
+ margin-inline: var(--calcite-spacing-md);
391
88
  }
392
- }
393
89
 
394
- // search overrides
395
- .esri-directions .esri-search {
396
- box-shadow: none;
397
- width: auto;
90
+ &__padding-medium {
91
+ padding: var(--calcite-spacing-md);
92
+ }
398
93
 
399
- .esri-search__submit-button {
400
- display: none;
94
+ &__panel-top-border {
95
+ border-top: var(--calcite-border-width-sm) solid var(--calcite-color-border-3);
401
96
  }
402
- }
403
97
 
404
- .esri-directions .esri-search .esri-search__container::before {
405
- display: none;
406
- }
98
+ &__panel-header-action {
99
+ display: flex;
100
+ width: 220px;
101
+ }
407
102
 
408
- .esri-directions .esri-search .esri-search__container::after {
409
- top: auto;
410
- bottom: -2px;
411
- }
103
+ &__panel-header-action-columns {
104
+ display: flex;
105
+ flex-direction: column;
106
+ flex-grow: 2;
107
+ }
412
108
 
413
- .esri-ui-bottom-left,
414
- .esri-ui-bottom-right {
415
- .esri-directions {
416
- .esri-search {
417
- .esri-search__sources-button--up {
418
- display: none;
419
- }
109
+ &__primary-flow-item {
110
+ display: flex;
111
+ flex: 1 1 auto;
112
+ flex-flow: column nowrap;
113
+ align-items: stretch;
114
+ justify-content: flex-start;
115
+ overflow: visible;
116
+ }
420
117
 
421
- .esri-search__sources-button--down {
422
- display: flex;
423
- }
424
- }
118
+ &__primary-footer {
119
+ border-top: var(--calcite-border-width-sm) solid var(--calcite-color-border-3);
120
+ padding: var(--calcite-spacing-md);
121
+ }
425
122
 
426
- .esri-menu {
427
- top: 100%;
428
- bottom: auto;
429
- margin: $cap-spacing--eighth 0 0 0;
430
- }
123
+ &__primary-footer-centered {
124
+ display: flex;
125
+ flex-flow: column wrap;
126
+ align-items: center;
127
+ border-top: var(--calcite-border-width-sm) solid var(--calcite-color-border-3);
128
+ padding: var(--calcite-spacing-md);
431
129
  }
432
- }
433
130
 
434
- /* stylelint-disable-next-line no-duplicate-selectors */
435
- .esri-directions {
436
- &__save-section,
437
- &__toolbar-section {
131
+ &__save-error {
438
132
  display: flex;
439
133
  flex-direction: column;
440
134
  align-items: center;
441
- margin-top: 12px;
442
- padding-inline: 15px;
443
135
  }
444
136
 
445
- &__save-buttons,
446
- &__toolbar-buttons {
447
- display: flex;
448
- flex-direction: row;
449
- margin-bottom: 6px;
450
- width: 100%;
137
+ &__save-error-icon {
138
+ margin-top: calc(var(--calcite-spacing-lg) * 3);
139
+ margin-bottom: var(--calcite-spacing-xxs);
140
+ color: var(--calcite-color-status-danger);
451
141
  }
452
142
 
453
- &__save-button,
454
- &__save-as-button,
455
- &__add-stop-button {
456
- margin-inline-end: 5px;
143
+ &__save-error-label {
144
+ margin-inline: var(--calcite-spacing-sm);
457
145
  }
458
146
 
459
- &__save-as-button-with-popover {
460
- width: 100%;
147
+ &__save-process-loader {
148
+ padding-top: calc(var(--calcite-spacing-lg) * 3);
149
+ padding-bottom: calc(var(--calcite-spacing-lg) * 2);
461
150
  }
462
151
 
463
- &__save-popover {
464
- z-index: var(--calcite-z-index-overlay);
152
+ &__selected-feature-container {
153
+ margin-inline: var(--calcite-spacing-md);
154
+ height: 100px;
155
+ }
156
+
157
+ &__separator {
158
+ margin: var(--calcite-spacing-md) 0;
159
+ background-color: var(--calcite-color-border-3);
160
+ height: var(--calcite-border-width-sm);
161
+ }
162
+
163
+ &__stop-item {
164
+ .esri-search {
165
+ width: auto;
166
+ }
465
167
  }
466
- }
467
168
 
468
- .esri-directions__message_heading {
469
- margin: 0;
470
- padding: 12px 7px;
471
- text-align: center;
169
+ &__stops-container {
170
+ display: flex;
171
+ flex-flow: column nowrap;
172
+ align-items: stretch;
173
+ justify-content: flex-start;
174
+ margin-top: var(--calcite-spacing-sm);
175
+ }
472
176
  }
473
177
  }
474
178