@arcgis/portal-components 5.0.0-next.136 → 5.0.0-next.138

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 (87) hide show
  1. package/dist/cdn/{KAAVLN67.js → 77AHGEH2.js} +2 -2
  2. package/dist/cdn/{QF4PT6DN.js → 7HJNBQ4Z.js} +2 -2
  3. package/dist/cdn/{K7NJST56.js → 7IUGSPNA.js} +2 -2
  4. package/dist/cdn/{X63SQRMQ.js → B5SBCJ3C.js} +1 -1
  5. package/dist/cdn/{P6R5NA3A.js → BMVMPK5L.js} +2 -2
  6. package/dist/cdn/{KGMTMMHV.js → CI6BKI5S.js} +2 -2
  7. package/dist/cdn/{VVWPJRUI.js → DGCGGFDO.js} +2 -2
  8. package/dist/cdn/DNYIE6VB.js +6 -0
  9. package/dist/cdn/{LXQRUFRM.js → EG7OXB7L.js} +2 -2
  10. package/dist/cdn/{4RPZSSVS.js → F3NO2DJ7.js} +2 -2
  11. package/dist/cdn/{PQD35XIM.js → KKDTTTRJ.js} +2 -2
  12. package/dist/cdn/{3QGXNHUJ.js → M3FLI3RE.js} +2 -2
  13. package/dist/cdn/{OLL7YXB7.js → TM7MOVDU.js} +1 -1
  14. package/dist/cdn/{BFBSGGTS.js → UPVXKXHM.js} +2 -2
  15. package/dist/cdn/{YEPDFJPA.js → VBAMQMEX.js} +2 -2
  16. package/dist/cdn/{CBZCGQ7U.js → WFP254HP.js} +2 -2
  17. package/dist/cdn/{6X4M6WCH.js → XQZNQPZY.js} +1 -1
  18. package/dist/cdn/index.js +2 -2
  19. package/dist/chunks/common.js +1 -1
  20. package/dist/chunks/fieldAddDelete.js +1 -1
  21. package/dist/chunks/item.js +1 -1
  22. package/dist/chunks/loadClassificationData.js +1 -1
  23. package/dist/chunks/requests.js +1 -1
  24. package/dist/chunks/runtime.js +1 -1
  25. package/dist/chunks/useT9n.js +1 -1
  26. package/dist/components/arcgis-portal-classification-banner/customElement.d.ts +39 -34
  27. package/dist/components/arcgis-portal-classification-banner/customElement.js +1 -1
  28. package/dist/components/arcgis-portal-classification-banner/index.d.ts +0 -1
  29. package/dist/components/arcgis-portal-classification-config/customElement.d.ts +67 -41
  30. package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
  31. package/dist/components/arcgis-portal-classification-config/index.d.ts +0 -11
  32. package/dist/components/arcgis-portal-classification-favorite/customElement.d.ts +61 -16
  33. package/dist/components/arcgis-portal-classification-favorite/customElement.js +1 -1
  34. package/dist/components/arcgis-portal-classification-favorite/index.d.ts +0 -11
  35. package/dist/components/arcgis-portal-classification-form-element/customElement.d.ts +27 -15
  36. package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
  37. package/dist/components/arcgis-portal-classification-form-element/index.d.ts +0 -8
  38. package/dist/components/arcgis-portal-extent-picker/customElement.d.ts +119 -51
  39. package/dist/components/arcgis-portal-extent-picker/customElement.js +1 -1
  40. package/dist/components/arcgis-portal-extent-picker/index.d.ts +0 -7
  41. package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.js +1 -1
  42. package/dist/components/arcgis-portal-field-delete/customElement.d.ts +88 -29
  43. package/dist/components/arcgis-portal-field-delete/customElement.js +1 -1
  44. package/dist/components/arcgis-portal-field-delete/index.d.ts +0 -9
  45. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.d.ts +33 -21
  46. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +1 -1
  47. package/dist/components/arcgis-portal-replacement-item-redirect/index.d.ts +0 -5
  48. package/dist/docs/api.json +1 -1609
  49. package/dist/docs/docs.json +1 -1520
  50. package/dist/docs/vscode.css-custom-data.json +1 -6
  51. package/dist/docs/vscode.html-custom-data.json +1 -142
  52. package/dist/docs/web-types.json +1 -484
  53. package/dist/index.d.ts +31 -17
  54. package/dist/index.js +1 -1
  55. package/dist/loader.js +10 -10
  56. package/dist/models/classificationModel.d.ts +1 -68
  57. package/dist/types/classification.d.ts +89 -165
  58. package/dist/types/lumina.d.ts +17 -17
  59. package/dist/types/preact.d.ts +17 -17
  60. package/dist/types/react.d.ts +17 -17
  61. package/dist/types/stencil.d.ts +17 -17
  62. package/dist/utils/fieldAddDelete.d.ts +12 -3
  63. package/dist/utils/types.d.ts +25 -24
  64. package/package.json +4 -4
  65. package/dist/cdn/HTG4KVD4.js +0 -6
  66. package/dist/components/arcgis-portal-extent-picker/mask-layer.d.ts +0 -28
  67. package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.d.ts +0 -29
  68. package/dist/components/arcgis-portal-extent-picker-coord-field/index.d.ts +0 -3
  69. package/dist/components/arcgis-portal-field-delete/types.d.ts +0 -5
  70. package/dist/components/arcgis-portal-replacement-item-redirect/types/actions.d.ts +0 -11
  71. package/dist/components/arcgis-portal-replacement-item-redirect/utils/actions.d.ts +0 -24
  72. package/dist/components/arcgis-portal-replacement-item-redirect/utils/capabilities.d.ts +0 -4
  73. package/dist/components/arcgis-portal-replacement-item-redirect/utils/info.d.ts +0 -2
  74. package/dist/controllers/loadClassificationData.d.ts +0 -11
  75. package/dist/controllers/useClassificationModel.d.ts +0 -9
  76. package/dist/controllers/useT9n.d.ts +0 -1
  77. package/dist/runtime.d.ts +0 -6
  78. package/dist/utils/arcade.d.ts +0 -27
  79. package/dist/utils/common.d.ts +0 -29
  80. package/dist/utils/commonEnums.d.ts +0 -5
  81. package/dist/utils/commonFunctions.d.ts +0 -12
  82. package/dist/utils/functionalComponents/FieldIcons.d.ts +0 -6
  83. package/dist/utils/item.d.ts +0 -21
  84. package/dist/utils/portal.d.ts +0 -2
  85. package/dist/utils/requests.d.ts +0 -15
  86. package/dist/utils/style.d.ts +0 -1
  87. package/dist/utils/url.d.ts +0 -1
@@ -1,22 +1,34 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
3
- import { ClassificationSchema, AttributeExpressionResults } from '../../types/classification';
4
- import { PropertyValues } from 'lit';
2
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
3
+ import type { ClassificationSchema, AttributeExpressionResults } from "../../types/classification.js";
4
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
5
5
 
6
6
  /**
7
7
  * A web component that renders form elements for a classification schema attribute.
8
8
  *
9
9
  * @internal
10
10
  */
11
- export declare class ArcgisPortalClassificationFormElement extends LitElement {
12
- attributeKey: string;
13
- attribute: ClassificationSchema["attributes"][string];
14
- value: unknown;
15
- renderingInfo?: Pick<NonNullable<ReturnType<AttributeExpressionResults["get"]>>, "attributeValidationResult" | "valueExpressionResult">;
16
- isRequiredErrors: Set<string>;
17
- /** The attribute value has changed. */
18
- readonly arcgisAttributeValueChange: TargetedEvent<this, Record<string, unknown>>;
19
- "@eventTypes": {
20
- "arcgisAttributeValueChange": ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]["detail"];
21
- };
22
- }
11
+ export abstract class ArcgisPortalClassificationFormElement extends LitElement {
12
+ accessor attribute: ClassificationSchema["attributes"][string];
13
+ accessor attributeKey: string;
14
+ accessor isRequiredErrors: Set<string>;
15
+ /** @internal */
16
+ protected messages: Partial<{
17
+ requiredfield: string;
18
+ information: string;
19
+ selectanoption: string;
20
+ selectoptions: string;
21
+ }> & T9nMeta<{
22
+ requiredfield: string;
23
+ information: string;
24
+ selectanoption: string;
25
+ selectoptions: string;
26
+ }>;
27
+ accessor renderingInfo: Pick<NonNullable<ReturnType<AttributeExpressionResults["get"]>>, "attributeValidationResult" | "valueExpressionResult"> | undefined;
28
+ accessor value: unknown;
29
+ /** The attribute value has changed. */
30
+ readonly arcgisAttributeValueChange: import("@arcgis/lumina").TargetedEvent<this, Record<string, unknown>>;
31
+ readonly "@eventTypes": {
32
+ arcgisAttributeValueChange: ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]["detail"];
33
+ };
34
+ }
@@ -5,7 +5,7 @@ import { css as d, html as i } from "lit";
5
5
  import { u as h } from "../../chunks/useT9n.js";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.136 */
8
+ v5.0.0-next.138 */
9
9
  const m = d`.spacing-y{margin:var(--calcite-spacing-md) 0}.portal-classification-form-element-tooltip{display:flex;justify-content:space-between;align-items:center}`;
10
10
  function l(n, e) {
11
11
  return n.uiElement === e;
@@ -1,9 +1 @@
1
- import "@esri/calcite-components/components/calcite-label";
2
- import "@esri/calcite-components/components/calcite-checkbox";
3
- import "@esri/calcite-components/components/calcite-input-date-picker";
4
- import "@esri/calcite-components/components/calcite-icon";
5
- import "@esri/calcite-components/components/calcite-tooltip";
6
- import "@esri/calcite-components/components/calcite-input-text";
7
- import "@esri/calcite-components/components/calcite-combobox";
8
- import "@esri/calcite-components/components/calcite-combobox-item";
9
1
  export * from "./customElement.js";
@@ -1,56 +1,124 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import { default as Extent } from '@arcgis/core/geometry/Extent.js';
3
- import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
4
- import { default as Portal } from '@arcgis/core/portal/Portal.js';
2
+ import type Portal from "@arcgis/core/portal/Portal.js";
3
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
4
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
5
+
6
+ /** To select extent value from a map or by entering coordinates. */
7
+ export abstract class ArcgisPortalExtentPicker extends LitElement {
8
+ /**
9
+ * if true, open the dialog
10
+ *
11
+ * @default false
12
+ */
13
+ accessor active: boolean;
14
+ /**
15
+ * Optional; if true, show only the content without the calcite-dialog wrapper
16
+ *
17
+ * @default false
18
+ */
19
+ accessor contentOnly: boolean;
20
+ /** Optional; URL of the extent service, used to initialize TileLayer */
21
+ accessor extentService: string | undefined;
22
+ /** current extent value */
23
+ accessor extentValue: ExtentValue | undefined;
24
+ /**
25
+ * Optional; if true, display texts that are for areas rather than the default extent texts
26
+ *
27
+ * @default false
28
+ */
29
+ accessor isArea: boolean;
30
+ /** Optional; if passed, use the itemId to load the Portal item */
31
+ accessor itemId: string | undefined;
32
+ /** @internal */
33
+ protected messages: Partial<{
34
+ close: string;
35
+ setExtent: string;
36
+ setArea: string;
37
+ extentBasedOn: string;
38
+ areaBasedOn: string;
39
+ orgExtent: string;
40
+ orgRegion: string;
41
+ currentFeatures: string;
42
+ useLocation: string;
43
+ drawExtentTitle: string;
44
+ drawAreaTitle: string;
45
+ drawExtent: string;
46
+ drawArea: string;
47
+ coordinates: string;
48
+ coordinatesDescription: string;
49
+ top: string;
50
+ bottom: string;
51
+ left: string;
52
+ right: string;
53
+ save: string;
54
+ cancel: string;
55
+ revert: string;
56
+ invalidLeft: string;
57
+ invalidRight: string;
58
+ invalidBottom: string;
59
+ invalidTop: string;
60
+ leftLessThanRight: string;
61
+ rightGreaterThanLeft: string;
62
+ bottomLessThanTop: string;
63
+ topGreaterThanBottom: string;
64
+ overDateLine: string;
65
+ }> & T9nMeta<{
66
+ close: string;
67
+ setExtent: string;
68
+ setArea: string;
69
+ extentBasedOn: string;
70
+ areaBasedOn: string;
71
+ orgExtent: string;
72
+ orgRegion: string;
73
+ currentFeatures: string;
74
+ useLocation: string;
75
+ drawExtentTitle: string;
76
+ drawAreaTitle: string;
77
+ drawExtent: string;
78
+ drawArea: string;
79
+ coordinates: string;
80
+ coordinatesDescription: string;
81
+ top: string;
82
+ bottom: string;
83
+ left: string;
84
+ right: string;
85
+ save: string;
86
+ cancel: string;
87
+ revert: string;
88
+ invalidLeft: string;
89
+ invalidRight: string;
90
+ invalidBottom: string;
91
+ invalidTop: string;
92
+ leftLessThanRight: string;
93
+ rightGreaterThanLeft: string;
94
+ bottomLessThanTop: string;
95
+ topGreaterThanBottom: string;
96
+ overDateLine: string;
97
+ }>;
98
+ /** Optional; Portal instance */
99
+ accessor portal: Portal | undefined;
100
+ /** Returns the current extent value */
101
+ getExtent(): ExtentObj;
102
+ /** Emitted when the extent value changes */
103
+ readonly arcgisExtentPickerChange: import("@arcgis/lumina").TargetedEvent<this, ExtentObj>;
104
+ /** Emitted when the dialog is closed */
105
+ readonly arcgisExtentPickerClose: import("@arcgis/lumina").TargetedEvent<this, void>;
106
+ /** Emitted when the save button is clicked */
107
+ readonly arcgisExtentPickerSave: import("@arcgis/lumina").TargetedEvent<this, ExtentObj>;
108
+ readonly "@eventTypes": {
109
+ arcgisExtentPickerChange: ArcgisPortalExtentPicker["arcgisExtentPickerChange"]["detail"];
110
+ arcgisExtentPickerClose: ArcgisPortalExtentPicker["arcgisExtentPickerClose"]["detail"];
111
+ arcgisExtentPickerSave: ArcgisPortalExtentPicker["arcgisExtentPickerSave"]["detail"];
112
+ };
113
+ }
5
114
 
6
115
  export type ExtentValue = {
7
- ymin: string;
8
- ymax: string;
9
- xmin: string;
10
- xmax: string;
116
+ ymin: string;
117
+ ymax: string;
118
+ xmin: string;
119
+ xmax: string;
11
120
  };
121
+
12
122
  export type ExtentObj = {
13
- extent: ExtentValue;
14
- };
15
- /** To select extent value from a map or by entering coordinates. */
16
- export declare class ArcgisPortalExtentPicker extends LitElement {
17
- /**
18
- * if true, open the dialog
19
- *
20
- * @default false
21
- */
22
- active: boolean;
23
- /** current extent value */
24
- extentValue?: ExtentValue;
25
- /** Optional; if passed, use the itemId to load the Portal item */
26
- itemId?: string;
27
- /** Optional; Portal instance */
28
- portal?: Portal;
29
- /** Optional; URL of the extent service, used to initialize TileLayer */
30
- extentService?: string;
31
- /**
32
- * Optional; if true, show only the content without the calcite-dialog wrapper
33
- *
34
- * @default false
35
- */
36
- contentOnly: boolean;
37
- /**
38
- * Optional; if true, display texts that are for areas rather than the default extent texts
39
- *
40
- * @default false
41
- */
42
- isArea: boolean;
43
- /** Returns the current extent value */
44
- getExtent(): ExtentObj;
45
- /** Emitted when the extent value changes */
46
- readonly arcgisExtentPickerChange: TargetedEvent<this, ExtentObj>;
47
- /** Emitted when the dialog is closed */
48
- readonly arcgisExtentPickerClose: TargetedEvent<this, void>;
49
- /** Emitted when the save button is clicked */
50
- readonly arcgisExtentPickerSave: TargetedEvent<this, ExtentObj>;
51
- "@eventTypes": {
52
- "arcgisExtentPickerChange": ArcgisPortalExtentPicker["arcgisExtentPickerChange"]["detail"];
53
- "arcgisExtentPickerClose": ArcgisPortalExtentPicker["arcgisExtentPickerClose"]["detail"];
54
- "arcgisExtentPickerSave": ArcgisPortalExtentPicker["arcgisExtentPickerSave"]["detail"];
55
- };
56
- }
123
+ extent: ExtentValue;
124
+ };
@@ -26,7 +26,7 @@ import { createRef as d, ref as x } from "lit/directives/ref.js";
26
26
  import { u as B } from "../../chunks/useT9n.js";
27
27
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
28
28
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
29
- v5.0.0-next.136 */
29
+ v5.0.0-next.138 */
30
30
  const W = F`.extent-picker-modal{z-index:1001}.extent-picker-content{display:flex;min-height:100%;height:100%}.side-panel{padding:var(--calcite-spacing-lg);display:flex;flex-direction:column;overflow-y:auto;max-height:100%;width:420px}.extent-button{margin-top:var(--calcite-spacing-lg)}.use-location-header{margin-top:var(--calcite-spacing-xxxl);margin-bottom:var(--calcite-spacing-lg)}.search-container,.search-container .esri-search{width:100%}.search-container calcite-autocomplete{width:100%}.map-panel{flex:1 1 0%;position:relative;display:flex}.map-loader{position:absolute;z-index:var(--calcite-z-index-1);top:50%;left:50%;transform:translate(-50%,-50%)}.map-container{flex:1 1 0%;opacity:0;transition:opacity .3s ease}.loader-container{flex:1 1 0%}.map-container--loaded{opacity:1}.coordinates-section{margin-top:var(--calcite-spacing-lg)}`;
31
31
  class J {
32
32
  constructor(t) {
@@ -1,8 +1 @@
1
- import "@esri/calcite-components/components/calcite-dialog";
2
- import "@esri/calcite-components/components/calcite-button";
3
- import "@esri/calcite-components/components/calcite-action";
4
- import "@esri/calcite-components/components/calcite-accordion";
5
- import "@esri/calcite-components/components/calcite-accordion-item";
6
- import "../arcgis-portal-extent-picker-coord-field/index.js";
7
- import "@esri/calcite-components/components/calcite-loader";
8
1
  export * from "./customElement.js";
@@ -5,7 +5,7 @@ import { css as h, html as o } from "lit";
5
5
  import { useDirection as m } from "@arcgis/lumina/controllers";
6
6
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
7
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.136 */
8
+ v5.0.0-next.138 */
9
9
  const g = h`.coord-field{margin-bottom:var(--calcite-spacing-sm)}.coord-label{display:block;margin-bottom:var(--calcite-spacing-sm);font-size:14px}.coordinate-input{width:100%;block-size:var(--calcite-spacing-xxxl);box-sizing:border-box;padding-inline:var(--calcite-spacing-md);font-size:14px;color:var(--calcite-color-text-3);outline-color:var(--calcite-color-brand)}.coordinate-input--error{border:1px solid var(--calcite-color-status-danger)}.coord-error-message{position:relative;max-width:100%;margin:var(--calcite-spacing-sm) 0;display:flex;font-size:14px;padding:6px 7px;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-status-danger);box-shadow:0 1px 2px #00000054}.coord-error-message:before{pointer-events:none;content:"";position:absolute;left:11px;top:-16px;width:0;height:0;border:8px solid transparent;border-bottom-color:var(--calcite-color-status-danger)}.coord-error-message:after{position:absolute;pointer-events:none;content:"";left:11px;top:-15px;width:0;height:0;border:8px solid transparent;border-bottom-color:var(--calcite-color-foreground-1)}.is-rtl .coord-error-message:before,.is-rtl .coord-error-message:after{left:initial;right:11px}.coord-error-message calcite-icon{color:var(--calcite-color-status-danger)}.coord-error-message__text{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm);line-height:var(--calcite-spacing-xl)}`;
10
10
  class v extends u {
11
11
  constructor() {
@@ -1,31 +1,90 @@
1
- /// <reference types="@arcgis/core/interfaces.d.ts" />
2
1
  /// <reference path="../../index.d.ts" />
3
- import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
4
- import { FieldDeleteOptions, IConfig } from '../../utils/types';
2
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
3
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
4
+ import type { FieldDeleteOptions, IConfig } from "../../utils/types.js";
5
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
5
6
 
6
- export declare class ArcgisPortalFieldDelete extends LitElement {
7
- /** For documentation links. */
8
- config?: IConfig;
9
- /** The fields to delete. */
10
- fieldNames?: string[];
11
- /** The layer whose field is being deleted. */
12
- layer?: __esri.FeatureLayer | __esri.OrientedImageryLayer;
13
- /** The MapView instance. */
14
- mapView?: __esri.MapView;
15
- /** Properties that may need to be passed in case values differ from what is available on Map Viewer. */
16
- options?: FieldDeleteOptions;
17
- /** Emitted before the modal is closed if the alert is handled in consumer. */
18
- readonly arcgisBeforeModalClose: TargetedEvent<this, string>;
19
- /** Emitted when the component is closed for any reason. */
20
- readonly arcgisClose: TargetedEvent<this, void>;
21
- /** Emitted when the user initiates the delete process. */
22
- readonly arcgisBeforeDelete: TargetedEvent<this, void>;
23
- /** Emitted when the field is successfully deleted. */
24
- readonly arcgisFieldsDeleted: TargetedEvent<this, void>;
25
- "@eventTypes": {
26
- "arcgisBeforeDelete": ArcgisPortalFieldDelete["arcgisBeforeDelete"]["detail"];
27
- "arcgisBeforeModalClose": ArcgisPortalFieldDelete["arcgisBeforeModalClose"]["detail"];
28
- "arcgisClose": ArcgisPortalFieldDelete["arcgisClose"]["detail"];
29
- "arcgisFieldsDeleted": ArcgisPortalFieldDelete["arcgisFieldsDeleted"]["detail"];
30
- };
31
- }
7
+ export abstract class ArcgisPortalFieldDelete extends LitElement {
8
+ /** For documentation links. */
9
+ accessor config: IConfig | undefined;
10
+ /** The fields to delete. */
11
+ accessor fieldNames: string[] | undefined;
12
+ /** The layer whose field is being deleted. */
13
+ accessor layer: __esri.FeatureLayer | __esri.OrientedImageryLayer | undefined;
14
+ /** The MapView instance. */
15
+ accessor mapView: __esri.MapView | undefined;
16
+ /** @internal */
17
+ protected messages: {
18
+ cancel: string;
19
+ error: string;
20
+ errorOccurred: string;
21
+ fields: string;
22
+ deletePrompt: string;
23
+ deleteMultiplePrompt: string;
24
+ deleteField: string;
25
+ deleteFields: string;
26
+ deleteFieldsWithNumber: string;
27
+ deletingField: string;
28
+ deletingFields: string;
29
+ newFeature: string;
30
+ fieldDeleted: string;
31
+ fieldsDeleted: string;
32
+ fieldDeletionUnsuccessful: string;
33
+ fieldInUse: string;
34
+ expressions: string;
35
+ popups: string;
36
+ forms: string;
37
+ charts: string;
38
+ deleteWarning: string;
39
+ deleteMultipleWarning: string;
40
+ learnMore: string;
41
+ savingFailed: string;
42
+ readOnlyErrorMessage: string;
43
+ readOnlyErrorMessageEnterprise: string;
44
+ healthDashboard: string;
45
+ } & T9nMeta<{
46
+ cancel: string;
47
+ error: string;
48
+ errorOccurred: string;
49
+ fields: string;
50
+ deletePrompt: string;
51
+ deleteMultiplePrompt: string;
52
+ deleteField: string;
53
+ deleteFields: string;
54
+ deleteFieldsWithNumber: string;
55
+ deletingField: string;
56
+ deletingFields: string;
57
+ newFeature: string;
58
+ fieldDeleted: string;
59
+ fieldsDeleted: string;
60
+ fieldDeletionUnsuccessful: string;
61
+ fieldInUse: string;
62
+ expressions: string;
63
+ popups: string;
64
+ forms: string;
65
+ charts: string;
66
+ deleteWarning: string;
67
+ deleteMultipleWarning: string;
68
+ learnMore: string;
69
+ savingFailed: string;
70
+ readOnlyErrorMessage: string;
71
+ readOnlyErrorMessageEnterprise: string;
72
+ healthDashboard: string;
73
+ }>;
74
+ /** Properties that may need to be passed in case values differ from what is available on Map Viewer. */
75
+ accessor options: FieldDeleteOptions | undefined;
76
+ /** Emitted when the user initiates the delete process. */
77
+ readonly arcgisBeforeDelete: import("@arcgis/lumina").TargetedEvent<this, void>;
78
+ /** Emitted before the modal is closed if the alert is handled in consumer. */
79
+ readonly arcgisBeforeModalClose: import("@arcgis/lumina").TargetedEvent<this, string>;
80
+ /** Emitted when the component is closed for any reason. */
81
+ readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
82
+ /** Emitted when the field is successfully deleted. */
83
+ readonly arcgisFieldsDeleted: import("@arcgis/lumina").TargetedEvent<this, void>;
84
+ readonly "@eventTypes": {
85
+ arcgisBeforeDelete: ArcgisPortalFieldDelete["arcgisBeforeDelete"]["detail"];
86
+ arcgisBeforeModalClose: ArcgisPortalFieldDelete["arcgisBeforeModalClose"]["detail"];
87
+ arcgisClose: ArcgisPortalFieldDelete["arcgisClose"]["detail"];
88
+ arcgisFieldsDeleted: ArcgisPortalFieldDelete["arcgisFieldsDeleted"]["detail"];
89
+ };
90
+ }
@@ -14,7 +14,7 @@ import { u as V } from "../../chunks/useT9n.js";
14
14
  import { log as b, composeMissingPropertyMessage as C, composeEmptyPropertyMessage as G } from "@arcgis/toolkit/log";
15
15
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
16
16
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
17
- v5.0.0-next.136 */
17
+ v5.0.0-next.138 */
18
18
  const n = /* @__PURE__ */ new Map();
19
19
  n.set("oid", "key");
20
20
  n.set("guid", "key");
@@ -1,10 +1 @@
1
- import "@esri/calcite-components/components/calcite-icon";
2
- import "@esri/calcite-components/components/calcite-alert";
3
- import "@esri/calcite-components/components/calcite-link";
4
- import "@esri/calcite-components/components/calcite-dialog";
5
- import "@esri/calcite-components/components/calcite-label";
6
- import "@esri/calcite-components/components/calcite-loader";
7
- import "@esri/calcite-components/components/calcite-list";
8
- import "@esri/calcite-components/components/calcite-list-item";
9
- import "@esri/calcite-components/components/calcite-button";
10
1
  export * from "./customElement.js";
@@ -1,9 +1,7 @@
1
- /// <reference types="@arcgis/core/interfaces.d.ts" />
2
1
  /// <reference path="../../index.d.ts" />
3
- import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
- import { SearchResultItem } from '@arcgis/app-components';
5
- import { ItemAction } from './types/actions';
6
- import { PropertyValues } from 'lit';
2
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
3
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
4
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
7
5
 
8
6
  /**
9
7
  * The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it
@@ -13,19 +11,33 @@ import { PropertyValues } from 'lit';
13
11
  *
14
12
  * @internal
15
13
  */
16
- export declare class ArcgisPortalReplacementItemRedirect extends LitElement {
17
- /** The id of a deprecated/retired item to be checked for a replacement */
18
- itemId: string;
19
- /** The portal instance */
20
- portal: __esri.Portal;
21
- /** The user. Defaults to `portal.user` if omitted */
22
- user?: __esri.PortalUser;
23
- /** Set focus on the component */
24
- setFocus(): Promise<void>;
25
- readonly arcgisPortalReplacementItemFetch: TargetedEvent<this, {
26
- replacementItem: __esri.PortalItem | object | null;
27
- }>;
28
- "@eventTypes": {
29
- "arcgisPortalReplacementItemFetch": ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]["detail"];
30
- };
31
- }
14
+ export abstract class ArcgisPortalReplacementItemRedirect extends LitElement {
15
+ /** The id of a deprecated/retired item to be checked for a replacement */
16
+ accessor itemId: string;
17
+ /** The portal instance */
18
+ accessor portal: __esri.Portal;
19
+ /** @internal */
20
+ protected t9n: {
21
+ replacementAvailable: string;
22
+ redirectToReplacement: string;
23
+ cancel: string;
24
+ redirect: string;
25
+ deprecatedHasReplacement: string;
26
+ moreDetails: string;
27
+ } & T9nMeta<{
28
+ replacementAvailable: string;
29
+ redirectToReplacement: string;
30
+ cancel: string;
31
+ redirect: string;
32
+ deprecatedHasReplacement: string;
33
+ moreDetails: string;
34
+ }>;
35
+ /** The user. Defaults to `portal.user` if omitted */
36
+ accessor user: __esri.PortalUser | undefined;
37
+ /** Set focus on the component */
38
+ setFocus(): Promise<void>;
39
+ readonly arcgisPortalReplacementItemFetch: import("@arcgis/lumina").TargetedEvent<this, { replacementItem: __esri.PortalItem | object | null; }>;
40
+ readonly "@eventTypes": {
41
+ arcgisPortalReplacementItemFetch: ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]["detail"];
42
+ };
43
+ }
@@ -8,7 +8,7 @@ import y from "@arcgis/core/identity/IdentityManager.js";
8
8
  import { css as A, html as o } from "lit";
9
9
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
10
10
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
11
- v5.0.0-next.136 */
11
+ v5.0.0-next.138 */
12
12
  function T(e, t) {
13
13
  return t && (b(e, t) || ["update", "admin"].includes(e.itemControl));
14
14
  }
@@ -1,6 +1 @@
1
- import "@esri/calcite-components/components/calcite-dialog";
2
- import "@esri/calcite-components/components/calcite-card";
3
- import "@arcgis/app-components/dist/components/arcgis-item-thumbnail.js";
4
- import "@esri/calcite-components/components/calcite-link";
5
- import "@esri/calcite-components/components/calcite-button";
6
1
  export * from "./customElement.js";