@arcgis/common-components 5.1.0-next.96 → 5.1.0-next.97

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.
@@ -1,6 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { IPopoverProps } from "../../utils/types.js";
3
+ import type { PopoverProps } from "../../utils/types.js";
4
4
  import type { T9nMeta } from "@arcgis/lumina/controllers";
5
5
  import type { Popover as Popover } from "@esri/calcite-components/components/calcite-popover";
6
6
 
@@ -64,7 +64,7 @@ export abstract class ArcgisColorInput extends LitElement {
64
64
  */
65
65
  accessor placement: Popover["placement"];
66
66
  /** Convenience prop to specify common popover props. */
67
- accessor popoverProps: IPopoverProps | undefined;
67
+ accessor popoverProps: PopoverProps | undefined;
68
68
  /**
69
69
  * If true, allow transparency to be modified within the color picker.
70
70
  *
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type View from "@arcgis/core/views/View.js";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
- import type { IPickListFieldInfo, IPickListGroupInfo, IPopoverProps, LastSortBy } from "../../utils/types.js";
4
+ import type { PickListFieldInfo, PickListGroupInfo, PopoverProps, LastSortBy } from "../../utils/types.js";
5
5
  import type { FieldPickListLayer } from "./utils/types.js";
6
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
7
7
 
@@ -57,14 +57,14 @@ export abstract class ArcgisFieldPickList extends LitElement {
57
57
  noMatches: string;
58
58
  }>;
59
59
  /** Custom function to distinguish expressions from fields. */
60
- accessor customExpressionCheck: ((field: IPickListFieldInfo) => boolean) | undefined;
60
+ accessor customExpressionCheck: ((field: PickListFieldInfo) => boolean) | undefined;
61
61
  /** Header text for group containing expressions, if 'groupFieldsAndExpressions' is set to true. */
62
62
  accessor expressionsGroupHeading: string | undefined;
63
63
  /**
64
64
  * All display fields with name, alias, type, and description, sorted by default order.
65
65
  * A field with type "none" will always show at the bottom of the list without an info action.
66
66
  */
67
- accessor fields: IPickListFieldInfo[] | IPickListGroupInfo[];
67
+ accessor fields: PickListFieldInfo[] | PickListGroupInfo[];
68
68
  /** Header text for group containing fields, if 'groupFieldsAndExpressions' is set to true. */
69
69
  accessor fieldsGroupHeading: string | undefined;
70
70
  /** Filter no results text. If empty string ("") no text will be shown. */
@@ -112,7 +112,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
112
112
  /** Ok button text. Ok button only shows when multiple set to true. Valid only if listOnly is not set to true. */
113
113
  accessor okBtnText: string | undefined;
114
114
  /** Convenience prop to specify common popover props, `popoverProps.refElement` is required. Valid only if listOnly is not set to true. */
115
- accessor popoverProps: IPopoverProps | undefined;
115
+ accessor popoverProps: PopoverProps | undefined;
116
116
  /** The initially selected fields. Will use selectedFields[0] when multiple is set to false. */
117
117
  accessor selectedFields: string[];
118
118
  /**
@@ -183,9 +183,9 @@ export abstract class ArcgisFieldPickList extends LitElement {
183
183
  readonly arcgisChange: import("@arcgis/lumina").TargetedEvent<this, { selectedFields: string[]; }>;
184
184
  /** Emitted when the pick list has been closed. */
185
185
  readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, { selectedFields: string[]; } | void>;
186
- /** Emitted when the delete icon of a field has been clicked. The field must have IPickListFieldInfo.showDeleteAction set to true. */
186
+ /** Emitted when the delete icon of a field has been clicked. The field must have PickListFieldInfo.showDeleteAction set to true. */
187
187
  readonly arcgisDeleteField: import("@arcgis/lumina").TargetedEvent<this, { fieldName: string; }>;
188
- /** Emitted when the edit icon of a field has been clicked. The field must have IPickListFieldInfo.showEditAction set to true. */
188
+ /** Emitted when the edit icon of a field has been clicked. The field must have PickListFieldInfo.showEditAction set to true. */
189
189
  readonly arcgisEditField: import("@arcgis/lumina").TargetedEvent<this, { fieldName: string; }>;
190
190
  /** @deprecated use arcgisChange instead */
191
191
  readonly arcgisFieldPickListChange: import("@arcgis/lumina").TargetedEvent<this, { selectedFields: string[]; }>;
@@ -1,6 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { IPopoverProps } from "../../utils/types.js";
3
+ import type { PopoverProps } from "../../utils/types.js";
4
4
  import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
5
5
 
6
6
  /** @internal */
@@ -28,7 +28,7 @@ export abstract class ArcgisPickerInput extends LitElement {
28
28
  */
29
29
  accessor label: string;
30
30
  /** Convenience prop to specify common popover props. */
31
- accessor popoverProps: IPopoverProps | undefined;
31
+ accessor popoverProps: PopoverProps | undefined;
32
32
  /** Close the component. */
33
33
  close(): Promise<void>;
34
34
  /** Set focus on the component. */