@arcgis/map-components 5.2.0-next.112 → 5.2.0-next.113

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/dist/cdn/2IXK6FXU.js +2 -0
  2. package/dist/cdn/{JKCGTCG6.js → 3TPD2N2I.js} +1 -1
  3. package/dist/cdn/{LCOOHDI3.js → 3URRH44W.js} +1 -1
  4. package/dist/cdn/{NQOQ36Y2.js → 4FYMG6IH.js} +1 -1
  5. package/dist/cdn/7HLMTE33.js +2 -0
  6. package/dist/cdn/{VOJY6FXL.js → AQYFARIC.js} +1 -1
  7. package/dist/cdn/{LANNPFOP.js → BN463XIX.js} +1 -1
  8. package/dist/cdn/CX2YLGWT.js +2 -0
  9. package/dist/cdn/{ILSW3DDL.js → IOTJDQ3Y.js} +1 -1
  10. package/dist/cdn/IRXNCI5X.js +2 -0
  11. package/dist/cdn/{E2GZ3L2T.js → IYZBLJYE.js} +1 -1
  12. package/dist/cdn/{7VWYXUNL.js → JUOOCVOD.js} +1 -1
  13. package/dist/cdn/L3V32U4F.js +2 -0
  14. package/dist/cdn/MJFHE7GG.js +2 -0
  15. package/dist/cdn/{YGPXXFEU.js → O6WH3FIU.js} +1 -1
  16. package/dist/cdn/SXCSIRDN.js +2 -0
  17. package/dist/cdn/{TXQAJ2UV.js → XLGTKYB2.js} +1 -1
  18. package/dist/cdn/{O7JQ5KZB.js → XUNBAMHK.js} +1 -1
  19. package/dist/cdn/assets/features/t9n/messages.en.json +1 -1
  20. package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
  21. package/dist/cdn/assets/images/Loading_Indicator_double_32.svg +1 -0
  22. package/dist/cdn/index.js +1 -1
  23. package/dist/chunks/esri-main.js +1 -1
  24. package/dist/chunks/screenLocation.js +8 -8
  25. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +2 -3
  26. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +8 -2
  27. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  28. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  29. package/dist/components/arcgis-features/customElement.d.ts +3 -0
  30. package/dist/components/arcgis-features/customElement.js +29 -29
  31. package/dist/components/arcgis-features-next/customElement.d.ts +3 -0
  32. package/dist/components/arcgis-features-next/customElement.js +6 -6
  33. package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
  34. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +36 -36
  35. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +18 -0
  36. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -2
  37. package/dist/components/arcgis-spinner/customElement.js +24 -17
  38. package/dist/components/arcgis-table-list-next/customElement.d.ts +7 -11
  39. package/dist/components/arcgis-table-list-next/types.d.ts +71 -4
  40. package/dist/docs/api.json +1 -1
  41. package/dist/docs/docs.json +1 -1
  42. package/dist/docs/vscode.html-custom-data.json +1 -1
  43. package/dist/docs/web-types.json +1 -1
  44. package/dist/loader.js +2 -2
  45. package/dist/types/lumina.d.ts +1 -1
  46. package/dist/types/preact.d.ts +1 -1
  47. package/dist/types/react.d.ts +1 -1
  48. package/dist/types/stencil.d.ts +1 -1
  49. package/dist/utils/action-utils.d.ts +18 -1
  50. package/package.json +5 -5
  51. package/dist/cdn/564IIZBI.js +0 -2
  52. package/dist/cdn/G743AW46.js +0 -2
  53. package/dist/cdn/GGU23I3D.js +0 -2
  54. package/dist/cdn/OQLHFQ55.js +0 -2
  55. package/dist/cdn/WNTLOOG5.js +0 -2
  56. package/dist/cdn/YHNCQVNV.js +0 -2
  57. package/dist/cdn/Z47FY3JZ.js +0 -2
@@ -1,9 +1,48 @@
1
1
  import type Collection from "@arcgis/core/core/Collection.js";
2
- import type TableItemCollection from "@arcgis/core/layers/list/TableItemCollection.js";
3
- import type TableItem from "@arcgis/core/layers/list/TableItem.js";
2
+ import type EsriError from "@arcgis/core/core/Error.js";
3
+ import type Layer from "@arcgis/core/layers/Layer.js";
4
+ import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
5
+ import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
6
+ import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
7
+ import type { Action, Sections } from "../../utils/action-utils.js";
4
8
  import type { ArcgisTableListNext } from "./customElement.js";
5
9
  import type { SortableList as SortableList } from "@esri/calcite-components/components/calcite-sortable-list";
6
10
 
11
+ /** Item state for a table displayed by Table List (next). */
12
+ export type TableItem = {
13
+ actionsOpen: boolean;
14
+ actionsSections: Sections;
15
+ checkPublishStatusEnabled: boolean;
16
+ children: Collection<TableItem>;
17
+ clone: () => TableItem;
18
+ readonly error?: EsriError | null;
19
+ hidden: boolean;
20
+ /** Layer types represented by table items in Table List (next). */
21
+ layer: TableItemLayer;
22
+ listItemCreatedFunction: null | undefined | TableItemModifier;
23
+ listModeDisabled: boolean;
24
+ open: boolean;
25
+ panel: TableItemPanel;
26
+ parent: null | undefined | TableItem;
27
+ readonly publishing: boolean;
28
+ sortable: boolean;
29
+ title: string;
30
+ readonly uid: string;
31
+ };
32
+
33
+ /**
34
+ * A function for customizing a table item as it is created.
35
+ *
36
+ * @param event
37
+ */
38
+ export type TableItemModifier = (event: TableItemModifierEvent) => void;
39
+
40
+ /** The event object for the `arcgisTriggerAction` event in Table List (next). */
41
+ export type TableListTriggerActionEvent = {
42
+ action: Action;
43
+ item: TableItem;
44
+ };
45
+
7
46
  /** @internal */
8
47
  export type CanSortEvent = {
9
48
  selected: null | undefined | TableItem;
@@ -33,5 +72,33 @@ export type SortableTables = Collection<{ uid?: string | null; }> | null | undef
33
72
  /** The properties used to configure the Table List (next). */
34
73
  export type TableListOptions = Partial<Pick<ArcgisTableListNext, "collapsed" | "dragEnabled" | "filterPlaceholder" | "filterText" | "headingLevel" | "hideStatusIndicators" | "icon" | "label" | "minFilterItems" | "selectionMode" | "showErrors" | "showFilter" | "showTemporaryTableIndicators">>
35
74
  & {
36
- listItemCreatedFunction?: TableItemCollection["listItemCreatedFunction"];
37
- };
75
+ listItemCreatedFunction?: TableItemModifier;
76
+ };
77
+
78
+ /** Panel state for a table item displayed by Table List (next). */
79
+ export type TableItemPanel = {
80
+ /** The content associated with a table list item panel. The string `legend` displays a legend. */
81
+ content: null | undefined | TableItemPanelContents;
82
+ disabled: boolean;
83
+ flowEnabled: boolean;
84
+ icon: null | undefined | string;
85
+ image: null | undefined | string;
86
+ listItem: null | undefined | TableItem;
87
+ open: boolean;
88
+ title: string;
89
+ visible: boolean;
90
+ };
91
+
92
+ /** Layer types represented by table items in Table List (next). */
93
+ export type TableItemLayer = Layer | Sublayer | SubtypeGroupLayer | SubtypeSublayer;
94
+
95
+ /** Event object passed to a table item creation callback. */
96
+ export type TableItemModifierEvent = {
97
+ item: TableItem;
98
+ };
99
+
100
+ /** Defines one or more content values for a table list item panel. */
101
+ export type TableItemPanelContents = TableItemPanelContent | TableItemPanelContent[];
102
+
103
+ /** The content associated with a table list item panel. The string `legend` displays a legend. */
104
+ export type TableItemPanelContent = HTMLElement | string;