@arcgis/portal-components 5.0.5 → 5.0.6

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 (61) hide show
  1. package/dist/cdn/{IRYOTWE2.js → 5JF6Z3HL.js} +1 -1
  2. package/dist/cdn/{2ACEEWQD.js → AJPW4Z5G.js} +1 -1
  3. package/dist/cdn/{4PSTCHVO.js → BEBFHC6H.js} +1 -1
  4. package/dist/cdn/F7RUE2YB.js +2 -0
  5. package/dist/cdn/{UI6MSLI2.js → KFIUC3GJ.js} +1 -1
  6. package/dist/cdn/{M7S2HGG2.js → LCWPNZKW.js} +1 -1
  7. package/dist/cdn/{ULDDTECU.js → MMBQZAMQ.js} +1 -1
  8. package/dist/cdn/{F6AOQAUI.js → PM5KCOGL.js} +1 -1
  9. package/dist/cdn/{CCF64C3P.js → QUPL6QGH.js} +1 -1
  10. package/dist/cdn/{CIDT6ZQI.js → RSFKVQL6.js} +1 -1
  11. package/dist/cdn/{VSBRMAWX.js → S6OBQLFZ.js} +1 -1
  12. package/dist/cdn/{SDNWSKHP.js → SPS4PWHS.js} +1 -1
  13. package/dist/cdn/{3BI4LD66.js → UZ5DC2UN.js} +1 -1
  14. package/dist/cdn/{TDXYRDZZ.js → XPRVKKBL.js} +1 -1
  15. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ar.json +1 -1
  16. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.bg.json +1 -1
  17. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.bs.json +1 -1
  18. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ca.json +1 -1
  19. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.cs.json +1 -1
  20. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.da.json +1 -1
  21. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.de.json +1 -1
  22. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.el.json +1 -1
  23. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.es.json +1 -1
  24. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.et.json +1 -1
  25. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.fi.json +1 -1
  26. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.fr.json +1 -1
  27. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.he.json +1 -1
  28. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.hr.json +1 -1
  29. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.hu.json +1 -1
  30. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.id.json +1 -1
  31. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.it.json +1 -1
  32. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ja.json +1 -1
  33. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ko.json +1 -1
  34. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.lt.json +1 -1
  35. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.lv.json +1 -1
  36. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.nl.json +1 -1
  37. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.no.json +1 -1
  38. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pl.json +1 -1
  39. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pt-BR.json +1 -1
  40. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pt-PT.json +1 -1
  41. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ro.json +1 -1
  42. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ru.json +1 -1
  43. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sk.json +1 -1
  44. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sl.json +1 -1
  45. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sr.json +1 -1
  46. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sv.json +1 -1
  47. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.th.json +1 -1
  48. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.tr.json +1 -1
  49. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.uk.json +1 -1
  50. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.vi.json +1 -1
  51. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-CN.json +1 -1
  52. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-HK.json +1 -1
  53. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-TW.json +1 -1
  54. package/dist/cdn/index.js +1 -1
  55. package/dist/chunks/runtime.js +1 -1
  56. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +45 -21
  57. package/dist/docs/api.json +1 -1
  58. package/dist/docs/docs.json +1 -1
  59. package/dist/docs/web-types.json +1 -1
  60. package/package.json +3 -3
  61. package/dist/cdn/V7BQ43LU.js +0 -2
@@ -1 +1 @@
1
- {"timestamp":"2026-02-26T19:41:42","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.5","typescriptVersion":"5.9.3"},"components":[{"filePath":"src/components/portal-classification-banner/portal-classification-banner.tsx","tag":"arcgis-portal-classification-banner","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"missingExistingClassification","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"missing-existing-classification","reflectToAttr":false,"docs":"If the portal item has a classification previously","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"validationErrors","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"validation-errors","reflectToAttr":false,"docs":"The classification validation error - validate the classification value against the classification schema.","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"variant","type":"\"full\" | \"preview\"","complexType":{"original":"\"full\" | \"preview\"","resolved":"\"full\" | \"preview\"","references":{}},"mutable":true,"attr":"variant","reflectToAttr":false,"docs":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","docsTags":[],"default":"\"full\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationBanner = document.querySelector(\"arcgis-portal-classification-banner\");\ndocument.body.append(arcgisPortalClassificationBanner);\nawait arcgisPortalClassificationBanner.componentOnReady();\nconsole.log(\"arcgis-portal-classification-banner is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"destroy","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"destroy(): Promise<void>","parameters":[],"docs":"Permanently destroy the component","docsTags":[]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-config/portal-classification-config.tsx","tag":"arcgis-portal-classification-config","overview":"","readme":"","usage":{},"docs":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true},{"name":"status","type":"Status","complexType":{"original":"Status","resolved":"Status","references":{"Status":{"location":"local","path":"models/classificationModel","id":"notImplemented"}}},"mutable":true,"attr":"status","reflectToAttr":true,"docs":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","docsTags":[{"name":"readonly","text":""}],"default":"\"idle\"","values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}],"optional":true,"required":false},{"name":"valid","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"valid","reflectToAttr":true,"docs":"The validity of the form values against the Portal's classification schema.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"values","type":"__esri.PortalItem[\"classification\"]","complexType":{"original":"__esri.PortalItem[\"classification\"]","resolved":"__esri.PortalItem[\"classification\"]","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"attr":"values","reflectToAttr":false,"docs":"The edited classification values of the portal item.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationConfig = document.querySelector(\"arcgis-portal-classification-config\");\ndocument.body.append(arcgisPortalClassificationConfig);\nawait arcgisPortalClassificationConfig.componentOnReady();\nconsole.log(\"arcgis-portal-classification-config is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"destroy","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"destroy(): Promise<void>","parameters":[],"docs":"Permanently destroy the component.","docsTags":[]},{"name":"resetForm","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"resetForm(): Promise<void>","parameters":[],"docs":"Reset the form to the initial classification values from the portalItem","docsTags":[]},{"name":"validateForm","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"validateForm(): Promise<void>","parameters":[],"docs":"Validates the form and sets the formValidationErrors state.","docsTags":[]}],"events":[{"event":"arcgisPropertyChange","detail":"{ name: \"status\" | \"values\" | \"valid\"; }","bubbles":true,"complexType":{"original":"{ name: \"status\" | \"values\" | \"valid\"; }","resolved":"{ name: \"status\" | \"values\" | \"valid\"; }","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when component property values status, values, or valid change.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-favorite/portal-classification-favorite.tsx","tag":"arcgis-portal-classification-favorite","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined","complexType":{"original":"AttributeExpressionResults | undefined","resolved":"AttributeExpressionResults | undefined","references":{"AttributeExpressionResults":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"classificationValue","type":"__esri.PortalItem[\"classification\"] | undefined","complexType":{"original":"__esri.PortalItem[\"classification\"] | undefined","resolved":"__esri.PortalItem[\"classification\"] | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Current classification value","docsTags":[],"values":[],"optional":true,"required":false},{"name":"favoriteClassifications","type":"FavoriteClassification[]","complexType":{"original":"FavoriteClassification[]","resolved":"FavoriteClassification[]","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"List of favorite classifications","docsTags":[],"values":[],"optional":true,"required":false},{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void","complexType":{"original":"(favoriteClassifications: FavoriteClassification[]) => void","resolved":"(favoriteClassifications: FavoriteClassification[]) => void","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"selectedFavoriteClassificationName","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"selected-favorite-classification-name","reflectToAttr":false,"docs":"","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void","complexType":{"original":"(selectedClassification: FavoriteClassification) => void","resolved":"(selectedClassification: FavoriteClassification) => void","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFavorite = document.querySelector(\"arcgis-portal-classification-favorite\");\ndocument.body.append(arcgisPortalClassificationFavorite);\nawait arcgisPortalClassificationFavorite.componentOnReady();\nconsole.log(\"arcgis-portal-classification-favorite is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-form-element/portal-classification-form-element.tsx","tag":"arcgis-portal-classification-form-element","overview":"","readme":"","usage":{},"docs":"A web component that renders form elements for a classification schema attribute.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]","complexType":{"original":"ClassificationSchema[\"attributes\"][string]","resolved":"ClassificationSchema[\"attributes\"][string]","references":{"ClassificationSchema":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"attributeKey","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"attribute-key","reflectToAttr":false,"docs":"","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"isRequiredErrors","type":"Set<string>","complexType":{"original":"Set<string>","resolved":"Set<string>","references":{"Set":{"location":"global","path":"global:","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","complexType":{"original":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","resolved":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","references":{"Pick":{"location":"global","path":"global:","id":"notImplemented"},"NonNullable":{"location":"global","path":"global:","id":"notImplemented"},"ReturnType":{"location":"global","path":"global:","id":"notImplemented"},"AttributeExpressionResults":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"value","type":"unknown","complexType":{"original":"unknown","resolved":"unknown","references":{}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFormElement = document.querySelector(\"arcgis-portal-classification-form-element\");\ndocument.body.append(arcgisPortalClassificationFormElement);\nawait arcgisPortalClassificationFormElement.componentOnReady();\nconsole.log(\"arcgis-portal-classification-form-element is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisAttributeValueChange","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"The attribute value has changed.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-extent-picker/portal-extent-picker.tsx","tag":"arcgis-portal-extent-picker","overview":"","readme":"","usage":{},"docs":"To select extent value from a map or by entering coordinates.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"active","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"active","reflectToAttr":false,"docs":"if true, open the dialog","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"contentOnly","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"content-only","reflectToAttr":false,"docs":"Optional; if true, show only the content without the calcite-dialog wrapper","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"extentService","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"extent-service","reflectToAttr":false,"docs":"Optional; URL of the extent service, used to initialize TileLayer","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"extentValue","type":"ExtentValue | undefined","complexType":{"original":"ExtentValue | undefined","resolved":"ExtentValue | undefined","references":{"ExtentValue":{"location":"local","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"current extent value","docsTags":[],"values":[],"optional":true,"required":false},{"name":"isArea","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-area","reflectToAttr":false,"docs":"Optional; if true, display texts that are for areas rather than the default extent texts","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"itemId","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"Optional; if passed, use the itemId to load the Portal item","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"portal","type":"Portal | undefined","complexType":{"original":"Portal | undefined","resolved":"Portal | undefined","references":{"default":{"location":"import","path":"@arcgis/core/portal/Portal.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Optional; Portal instance","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"getExtent","returns":{"type":"ExtentObj","docs":""},"complexType":{"signature":"(): ExtentObj","parameters":[],"return":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"signature":"getExtent(): ExtentObj","parameters":[],"docs":"Returns the current extent value","docsTags":[]}],"events":[{"event":"arcgisExtentPickerChange","detail":"ExtentObj","bubbles":true,"complexType":{"original":"ExtentObj","resolved":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Emitted when the extent value changes","docsTags":[]},{"event":"arcgisExtentPickerClose","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the dialog is closed","docsTags":[]},{"event":"arcgisExtentPickerSave","detail":"ExtentObj","bubbles":true,"complexType":{"original":"ExtentObj","resolved":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Emitted when the save button is clicked","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-field-delete/portal-field-delete.tsx","tag":"arcgis-portal-field-delete","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"config","type":"IConfig | undefined","complexType":{"original":"IConfig | undefined","resolved":"IConfig | undefined","references":{"IConfig":{"location":"local","path":"utils/types","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"For documentation links.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"fieldNames","type":"string[] | undefined","complexType":{"original":"string[] | undefined","resolved":"string[] | undefined","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The fields to delete.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"layer","type":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","complexType":{"original":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","resolved":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layer whose field is being deleted.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"mapView","type":"__esri.MapView | undefined","complexType":{"original":"__esri.MapView | undefined","resolved":"__esri.MapView | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The MapView instance.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"options","type":"FieldDeleteOptions | undefined","complexType":{"original":"FieldDeleteOptions | undefined","resolved":"FieldDeleteOptions | undefined","references":{"FieldDeleteOptions":{"location":"local","path":"utils/types","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalFieldDelete = document.querySelector(\"arcgis-portal-field-delete\");\ndocument.body.append(arcgisPortalFieldDelete);\nawait arcgisPortalFieldDelete.componentOnReady();\nconsole.log(\"arcgis-portal-field-delete is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisBeforeDelete","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the user initiates the delete process.","docsTags":[]},{"event":"arcgisBeforeModalClose","detail":"string","bubbles":true,"complexType":{"original":"string","resolved":"string","references":{}},"cancelable":true,"composed":true,"docs":"Emitted before the modal is closed if the alert is handled in consumer.","docsTags":[]},{"event":"arcgisClose","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the component is closed for any reason.","docsTags":[]},{"event":"arcgisFieldsDeleted","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the field is successfully deleted.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-replacement-item-redirect/portal-replacement-item-redirect.tsx","tag":"arcgis-portal-replacement-item-redirect","overview":"","readme":"","usage":{},"docs":"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\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"itemId","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"The id of a deprecated/retired item to be checked for a replacement","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"portal","type":"Portal","complexType":{"original":"Portal","resolved":"Portal","references":{"default":{"location":"import","path":"@arcgis/core/portal/Portal","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal instance","docsTags":[],"values":[],"optional":true,"required":false},{"name":"user","type":"PortalUser | undefined","complexType":{"original":"PortalUser | undefined","resolved":"PortalUser | undefined","references":{"default":{"location":"import","path":"@arcgis/core/portal/PortalUser","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The user. Defaults to `portal.user` if omitted","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalReplacementItemRedirect = document.querySelector(\"arcgis-portal-replacement-item-redirect\");\ndocument.body.append(arcgisPortalReplacementItemRedirect);\nawait arcgisPortalReplacementItemRedirect.componentOnReady();\nconsole.log(\"arcgis-portal-replacement-item-redirect is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"setFocus","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"setFocus(): Promise<void>","parameters":[],"docs":"Set focus on the component","docsTags":[]}],"events":[{"event":"arcgisPortalReplacementItemFetch","detail":"{ replacementItem: PortalItem | object | null; }","bubbles":true,"complexType":{"original":"{ replacementItem: PortalItem | object | null; }","resolved":"{ replacementItem: PortalItem | object | null; }","references":{"default":{"location":"import","path":"@arcgis/core/portal/PortalItem.js","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]}],"typeLibrary":{}}
1
+ {"timestamp":"2026-02-27T19:19:57","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.6","typescriptVersion":"5.9.3"},"components":[{"filePath":"src/components/portal-classification-banner/portal-classification-banner.tsx","tag":"arcgis-portal-classification-banner","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"missingExistingClassification","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"missing-existing-classification","reflectToAttr":false,"docs":"If the portal item has a classification previously","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"validationErrors","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"validation-errors","reflectToAttr":false,"docs":"The classification validation error - validate the classification value against the classification schema.","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"variant","type":"\"full\" | \"preview\"","complexType":{"original":"\"full\" | \"preview\"","resolved":"\"full\" | \"preview\"","references":{}},"mutable":true,"attr":"variant","reflectToAttr":false,"docs":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","docsTags":[],"default":"\"full\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationBanner = document.querySelector(\"arcgis-portal-classification-banner\");\ndocument.body.append(arcgisPortalClassificationBanner);\nawait arcgisPortalClassificationBanner.componentOnReady();\nconsole.log(\"arcgis-portal-classification-banner is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"destroy","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"destroy(): Promise<void>","parameters":[],"docs":"Permanently destroy the component","docsTags":[]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-config/portal-classification-config.tsx","tag":"arcgis-portal-classification-config","overview":"","readme":"","usage":{},"docs":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true},{"name":"status","type":"Status","complexType":{"original":"Status","resolved":"Status","references":{"Status":{"location":"local","path":"models/classificationModel","id":"notImplemented"}}},"mutable":true,"attr":"status","reflectToAttr":true,"docs":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","docsTags":[{"name":"readonly","text":""}],"default":"\"idle\"","values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}],"optional":true,"required":false},{"name":"valid","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"valid","reflectToAttr":true,"docs":"The validity of the form values against the Portal's classification schema.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"values","type":"__esri.PortalItem[\"classification\"]","complexType":{"original":"__esri.PortalItem[\"classification\"]","resolved":"__esri.PortalItem[\"classification\"]","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"attr":"values","reflectToAttr":false,"docs":"The edited classification values of the portal item.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationConfig = document.querySelector(\"arcgis-portal-classification-config\");\ndocument.body.append(arcgisPortalClassificationConfig);\nawait arcgisPortalClassificationConfig.componentOnReady();\nconsole.log(\"arcgis-portal-classification-config is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"destroy","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"destroy(): Promise<void>","parameters":[],"docs":"Permanently destroy the component.","docsTags":[]},{"name":"resetForm","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"resetForm(): Promise<void>","parameters":[],"docs":"Reset the form to the initial classification values from the portalItem","docsTags":[]},{"name":"validateForm","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"validateForm(): Promise<void>","parameters":[],"docs":"Validates the form and sets the formValidationErrors state.","docsTags":[]}],"events":[{"event":"arcgisPropertyChange","detail":"{ name: \"status\" | \"values\" | \"valid\"; }","bubbles":true,"complexType":{"original":"{ name: \"status\" | \"values\" | \"valid\"; }","resolved":"{ name: \"status\" | \"values\" | \"valid\"; }","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when component property values status, values, or valid change.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-favorite/portal-classification-favorite.tsx","tag":"arcgis-portal-classification-favorite","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined","complexType":{"original":"AttributeExpressionResults | undefined","resolved":"AttributeExpressionResults | undefined","references":{"AttributeExpressionResults":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"classificationValue","type":"__esri.PortalItem[\"classification\"] | undefined","complexType":{"original":"__esri.PortalItem[\"classification\"] | undefined","resolved":"__esri.PortalItem[\"classification\"] | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Current classification value","docsTags":[],"values":[],"optional":true,"required":false},{"name":"favoriteClassifications","type":"FavoriteClassification[]","complexType":{"original":"FavoriteClassification[]","resolved":"FavoriteClassification[]","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"List of favorite classifications","docsTags":[],"values":[],"optional":true,"required":false},{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void","complexType":{"original":"(favoriteClassifications: FavoriteClassification[]) => void","resolved":"(favoriteClassifications: FavoriteClassification[]) => void","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"selectedFavoriteClassificationName","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"selected-favorite-classification-name","reflectToAttr":false,"docs":"","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void","complexType":{"original":"(selectedClassification: FavoriteClassification) => void","resolved":"(selectedClassification: FavoriteClassification) => void","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFavorite = document.querySelector(\"arcgis-portal-classification-favorite\");\ndocument.body.append(arcgisPortalClassificationFavorite);\nawait arcgisPortalClassificationFavorite.componentOnReady();\nconsole.log(\"arcgis-portal-classification-favorite is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-form-element/portal-classification-form-element.tsx","tag":"arcgis-portal-classification-form-element","overview":"","readme":"","usage":{},"docs":"A web component that renders form elements for a classification schema attribute.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]","complexType":{"original":"ClassificationSchema[\"attributes\"][string]","resolved":"ClassificationSchema[\"attributes\"][string]","references":{"ClassificationSchema":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"attributeKey","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"attribute-key","reflectToAttr":false,"docs":"","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"isRequiredErrors","type":"Set<string>","complexType":{"original":"Set<string>","resolved":"Set<string>","references":{"Set":{"location":"global","path":"global:","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","complexType":{"original":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","resolved":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","references":{"Pick":{"location":"global","path":"global:","id":"notImplemented"},"NonNullable":{"location":"global","path":"global:","id":"notImplemented"},"ReturnType":{"location":"global","path":"global:","id":"notImplemented"},"AttributeExpressionResults":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"value","type":"unknown","complexType":{"original":"unknown","resolved":"unknown","references":{}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFormElement = document.querySelector(\"arcgis-portal-classification-form-element\");\ndocument.body.append(arcgisPortalClassificationFormElement);\nawait arcgisPortalClassificationFormElement.componentOnReady();\nconsole.log(\"arcgis-portal-classification-form-element is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisAttributeValueChange","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"The attribute value has changed.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-extent-picker/portal-extent-picker.tsx","tag":"arcgis-portal-extent-picker","overview":"","readme":"","usage":{},"docs":"To select extent value from a map or by entering coordinates.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"active","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"active","reflectToAttr":false,"docs":"if true, open the dialog","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"contentOnly","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"content-only","reflectToAttr":false,"docs":"Optional; if true, show only the content without the calcite-dialog wrapper","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"extentService","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"extent-service","reflectToAttr":false,"docs":"Optional; URL of the extent service, used to initialize TileLayer","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"extentValue","type":"ExtentValue | undefined","complexType":{"original":"ExtentValue | undefined","resolved":"ExtentValue | undefined","references":{"ExtentValue":{"location":"local","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"current extent value","docsTags":[],"values":[],"optional":true,"required":false},{"name":"isArea","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-area","reflectToAttr":false,"docs":"Optional; if true, display texts that are for areas rather than the default extent texts","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"itemId","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"Optional; if passed, use the itemId to load the Portal item","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"portal","type":"Portal | undefined","complexType":{"original":"Portal | undefined","resolved":"Portal | undefined","references":{"default":{"location":"import","path":"@arcgis/core/portal/Portal.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Optional; Portal instance","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"getExtent","returns":{"type":"ExtentObj","docs":""},"complexType":{"signature":"(): ExtentObj","parameters":[],"return":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"signature":"getExtent(): ExtentObj","parameters":[],"docs":"Returns the current extent value","docsTags":[]}],"events":[{"event":"arcgisExtentPickerChange","detail":"ExtentObj","bubbles":true,"complexType":{"original":"ExtentObj","resolved":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Emitted when the extent value changes","docsTags":[]},{"event":"arcgisExtentPickerClose","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the dialog is closed","docsTags":[]},{"event":"arcgisExtentPickerSave","detail":"ExtentObj","bubbles":true,"complexType":{"original":"ExtentObj","resolved":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Emitted when the save button is clicked","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-field-delete/portal-field-delete.tsx","tag":"arcgis-portal-field-delete","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"config","type":"IConfig | undefined","complexType":{"original":"IConfig | undefined","resolved":"IConfig | undefined","references":{"IConfig":{"location":"local","path":"utils/types","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"For documentation links.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"fieldNames","type":"string[] | undefined","complexType":{"original":"string[] | undefined","resolved":"string[] | undefined","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The fields to delete.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"layer","type":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","complexType":{"original":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","resolved":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layer whose field is being deleted.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"mapView","type":"__esri.MapView | undefined","complexType":{"original":"__esri.MapView | undefined","resolved":"__esri.MapView | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The MapView instance.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"options","type":"FieldDeleteOptions | undefined","complexType":{"original":"FieldDeleteOptions | undefined","resolved":"FieldDeleteOptions | undefined","references":{"FieldDeleteOptions":{"location":"local","path":"utils/types","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalFieldDelete = document.querySelector(\"arcgis-portal-field-delete\");\ndocument.body.append(arcgisPortalFieldDelete);\nawait arcgisPortalFieldDelete.componentOnReady();\nconsole.log(\"arcgis-portal-field-delete is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisBeforeDelete","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the user initiates the delete process.","docsTags":[]},{"event":"arcgisBeforeModalClose","detail":"string","bubbles":true,"complexType":{"original":"string","resolved":"string","references":{}},"cancelable":true,"composed":true,"docs":"Emitted before the modal is closed if the alert is handled in consumer.","docsTags":[]},{"event":"arcgisClose","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the component is closed for any reason.","docsTags":[]},{"event":"arcgisFieldsDeleted","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the field is successfully deleted.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-replacement-item-redirect/portal-replacement-item-redirect.tsx","tag":"arcgis-portal-replacement-item-redirect","overview":"","readme":"","usage":{},"docs":"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\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"itemId","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"The id of a deprecated/retired item to be checked for a replacement","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"portal","type":"Portal","complexType":{"original":"Portal","resolved":"Portal","references":{"default":{"location":"import","path":"@arcgis/core/portal/Portal","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal instance","docsTags":[],"values":[],"optional":true,"required":false},{"name":"user","type":"PortalUser | undefined","complexType":{"original":"PortalUser | undefined","resolved":"PortalUser | undefined","references":{"default":{"location":"import","path":"@arcgis/core/portal/PortalUser","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The user. Defaults to `portal.user` if omitted","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalReplacementItemRedirect = document.querySelector(\"arcgis-portal-replacement-item-redirect\");\ndocument.body.append(arcgisPortalReplacementItemRedirect);\nawait arcgisPortalReplacementItemRedirect.componentOnReady();\nconsole.log(\"arcgis-portal-replacement-item-redirect is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"setFocus","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"setFocus(): Promise<void>","parameters":[],"docs":"Set focus on the component","docsTags":[]}],"events":[{"event":"arcgisPortalReplacementItemFetch","detail":"{ replacementItem: PortalItem | object | null; }","bubbles":true,"complexType":{"original":"{ replacementItem: PortalItem | object | null; }","resolved":"{ replacementItem: PortalItem | object | null; }","references":{"default":{"location":"import","path":"@arcgis/core/portal/PortalItem.js","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]}],"typeLibrary":{}}
@@ -1 +1 @@
1
- {"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@arcgis/portal-components","version":"5.0.5","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-portal-classification-banner","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component","attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","default":"false","value":{"type":"boolean"}},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","default":"\"\"","value":{"type":"string"}},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","default":"\"full\"","value":{"type":["\"full\"","\"preview\""]}}],"events":[],"js":{"properties":[{"name":"missingExistingClassification","description":"If the portal item has a classification previously","type":"boolean"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":"string"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":"\"full\" | \"preview\""}],"events":[]}},{"name":"arcgis-portal-classification-config","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `resetForm(): Promise<void>` - Reset the form to the initial classification values from the portalItem\n- `validateForm(): Promise<void>` - Validates the form and sets the formValidationErrors state.","attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","default":"\"idle\"","value":{"type":["\"loading\"","\"loaded\"","\"error\"","\"idle\""]}},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","default":"false","value":{"type":"boolean"}},{"name":"values","description":"The edited classification values of the portal item.","value":{}}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}],"js":{"properties":[{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":"Status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":"boolean"},{"name":"values","description":"The edited classification values of the portal item.","type":"__esri.PortalItem[\"classification\"]"}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}]}},{"name":"arcgis-portal-classification-favorite","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"selected-favorite-classification-name","default":"\"\"","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined"},{"name":"classificationValue","description":"Current classification value","type":"__esri.PortalItem[\"classification\"] | undefined"},{"name":"favoriteClassifications","description":"List of favorite classifications","type":"FavoriteClassification[]"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void"},{"name":"selectedFavoriteClassificationName","type":"string"},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void"}],"events":[]}},{"name":"arcgis-portal-classification-form-element","description":"A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"attribute-key","value":{"type":"string"}}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}],"js":{"properties":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]"},{"name":"attributeKey","type":"string"},{"name":"isRequiredErrors","type":"Set<string>"},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined"},{"name":"value","type":"unknown"}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}]}},{"name":"arcgis-portal-extent-picker","description":"To select extent value from a map or by entering coordinates.\n--\n\n### Events\n- **arcgisExtentPickerChange** - Emitted when the extent value changes\n- **arcgisExtentPickerClose** - Emitted when the dialog is closed\n- **arcgisExtentPickerSave** - Emitted when the save button is clicked\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `getExtent(): ExtentObj` - Returns the current extent value","attributes":[{"name":"active","description":"if true, open the dialog","default":"false","value":{"type":"boolean"}},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","default":"false","value":{"type":"boolean"}},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","value":{"type":"string"}},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","default":"false","value":{"type":"boolean"}},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","value":{"type":"string"}}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}],"js":{"properties":[{"name":"active","description":"if true, open the dialog","type":"boolean"},{"name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":"boolean"},{"name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":"string | undefined"},{"name":"extentValue","description":"current extent value","type":"ExtentValue | undefined"},{"name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":"boolean"},{"name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":"string | undefined"},{"name":"portal","description":"Optional; Portal instance","type":"Portal | undefined"}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}]}},{"name":"arcgis-portal-field-delete","description":"### Events\n- **arcgisBeforeDelete** - Emitted when the user initiates the delete process.\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}],"js":{"properties":[{"name":"config","description":"For documentation links.","type":"IConfig | undefined"},{"name":"fieldNames","description":"The fields to delete.","type":"string[] | undefined"},{"name":"layer","description":"The layer whose field is being deleted.","type":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined"},{"name":"mapView","description":"The MapView instance.","type":"__esri.MapView | undefined"},{"name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":"FieldDeleteOptions | undefined"}],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}]}},{"name":"arcgis-portal-replacement-item-redirect","description":"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\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.\n--\n\n### Events\n- **arcgisPortalReplacementItemFetch**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `setFocus(): Promise<void>` - Set focus on the component","attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","value":{"type":"string"}}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}],"js":{"properties":[{"name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":"string"},{"name":"portal","description":"The portal instance","type":"Portal"},{"name":"user","description":"The user. Defaults to `portal.user` if omitted","type":"PortalUser | undefined"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
1
+ {"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@arcgis/portal-components","version":"5.0.6","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-portal-classification-banner","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component","attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","default":"false","value":{"type":"boolean"}},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","default":"\"\"","value":{"type":"string"}},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","default":"\"full\"","value":{"type":["\"full\"","\"preview\""]}}],"events":[],"js":{"properties":[{"name":"missingExistingClassification","description":"If the portal item has a classification previously","type":"boolean"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":"string"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":"\"full\" | \"preview\""}],"events":[]}},{"name":"arcgis-portal-classification-config","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `resetForm(): Promise<void>` - Reset the form to the initial classification values from the portalItem\n- `validateForm(): Promise<void>` - Validates the form and sets the formValidationErrors state.","attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","default":"\"idle\"","value":{"type":["\"loading\"","\"loaded\"","\"error\"","\"idle\""]}},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","default":"false","value":{"type":"boolean"}},{"name":"values","description":"The edited classification values of the portal item.","value":{}}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}],"js":{"properties":[{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":"Status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":"boolean"},{"name":"values","description":"The edited classification values of the portal item.","type":"__esri.PortalItem[\"classification\"]"}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}]}},{"name":"arcgis-portal-classification-favorite","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"selected-favorite-classification-name","default":"\"\"","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined"},{"name":"classificationValue","description":"Current classification value","type":"__esri.PortalItem[\"classification\"] | undefined"},{"name":"favoriteClassifications","description":"List of favorite classifications","type":"FavoriteClassification[]"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void"},{"name":"selectedFavoriteClassificationName","type":"string"},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void"}],"events":[]}},{"name":"arcgis-portal-classification-form-element","description":"A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"attribute-key","value":{"type":"string"}}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}],"js":{"properties":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]"},{"name":"attributeKey","type":"string"},{"name":"isRequiredErrors","type":"Set<string>"},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined"},{"name":"value","type":"unknown"}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}]}},{"name":"arcgis-portal-extent-picker","description":"To select extent value from a map or by entering coordinates.\n--\n\n### Events\n- **arcgisExtentPickerChange** - Emitted when the extent value changes\n- **arcgisExtentPickerClose** - Emitted when the dialog is closed\n- **arcgisExtentPickerSave** - Emitted when the save button is clicked\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `getExtent(): ExtentObj` - Returns the current extent value","attributes":[{"name":"active","description":"if true, open the dialog","default":"false","value":{"type":"boolean"}},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","default":"false","value":{"type":"boolean"}},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","value":{"type":"string"}},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","default":"false","value":{"type":"boolean"}},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","value":{"type":"string"}}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}],"js":{"properties":[{"name":"active","description":"if true, open the dialog","type":"boolean"},{"name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":"boolean"},{"name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":"string | undefined"},{"name":"extentValue","description":"current extent value","type":"ExtentValue | undefined"},{"name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":"boolean"},{"name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":"string | undefined"},{"name":"portal","description":"Optional; Portal instance","type":"Portal | undefined"}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}]}},{"name":"arcgis-portal-field-delete","description":"### Events\n- **arcgisBeforeDelete** - Emitted when the user initiates the delete process.\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}],"js":{"properties":[{"name":"config","description":"For documentation links.","type":"IConfig | undefined"},{"name":"fieldNames","description":"The fields to delete.","type":"string[] | undefined"},{"name":"layer","description":"The layer whose field is being deleted.","type":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined"},{"name":"mapView","description":"The MapView instance.","type":"__esri.MapView | undefined"},{"name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":"FieldDeleteOptions | undefined"}],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}]}},{"name":"arcgis-portal-replacement-item-redirect","description":"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\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.\n--\n\n### Events\n- **arcgisPortalReplacementItemFetch**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `setFocus(): Promise<void>` - Set focus on the component","attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","value":{"type":"string"}}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}],"js":{"properties":[{"name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":"string"},{"name":"portal","description":"The portal instance","type":"Portal"},{"name":"user","description":"The user. Defaults to `portal.user` if omitted","type":"PortalUser | undefined"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/portal-components",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "description": "ArcGIS Portal Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -41,8 +41,8 @@
41
41
  "@lit/task": "^1.0.3",
42
42
  "lit": "^3.3.0",
43
43
  "tslib": "^2.8.1",
44
- "@arcgis/lumina": "5.0.5",
45
- "@arcgis/toolkit": "5.0.5"
44
+ "@arcgis/lumina": "5.0.6",
45
+ "@arcgis/toolkit": "5.0.6"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@arcgis/core": "^5.0.0",
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import a from"./IJUVJHBW.js";import{a as T}from"./F6AOQAUI.js";import"./CCF64C3P.js";import{A as I,G as f,H as w,I as v,L as k,O as R,P as $,h as u,j as l,k as g,l as m,u as h,y as b,z as y}from"./IRYOTWE2.js";export default $arcgis.t(([,S,{j:C}])=>{var p=class extends I{constructor(e){if(super(e),this.it=m,e.type!==b.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===m||e==null)return this._t=void 0,this.it=e;if(e===g)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};p.directiveName="unsafeHTML",p.resultType=1;var M=y(p);var x=u`.thumbnail-container{width:100%}.replacement-container{margin:.5rem}.replacement-message{margin-bottom:.5rem}.replacement-card__title{margin-bottom:.25rem}`,L=["3DInsetMap","3DScene","3DViz","AttachmentViewer","CapacityAnalysis","Cascade","Compare","Compare/Configure","Compare/Multiviewer","Compare/Search","Compare/SideBySideViewer_Configure","Compare/storytelling_compare","Compare/storytelling_sidepanel","Compare/storytelling_tabbed","Compare3d","CompareAnalysis","CompareMaps","CrowdsourceManager","CrowdsourcePolling","CrowdsourceReporter","Directions","Edit","Editor","Elevations","ElevationsProfile","Embed","Filter","FilterGallery","GeoForm","GeoList","GeoTour","HeaderFooter","Identify","ImageInterpretation","ImageMask","ImageVisit","ImageryViewer","ImpactSummary","InformationLookup","InteractiveFilter","InteractiveLegend","LayerShowcase","Legend","LiveMaps","LocalPerspective","MapAndAppGallery","MapCarousel","MapJournal","MapSeries","Shortlist","MapTools","MapTour","Media","MinimalGallery","Minimalist","MobileViewer","Nearby","OnePane","Panels","PanelsLegend","Profile","PublicGallery","PublicInformation","ServiceLookup","SimpleMapViewer","SimpleViewer","SocialMedia","Solutions/s2.html?app=apps2/FindEditFilter","Solutions/s2.html?app=apps2/Finder","Solutions/s2.html","StoryMapBasic","StorytellingSwipe","StorytellingTextLegend","Styler","SummaryViewer","Time","TimeAware","TwoPane","View","Viewer","ZoneLookup"],U=i=>{if(!i)return!1;let e=L.some(t=>{let r=t.includes(".html"),n=`/apps/${t}${r?"":"/"}`;return decodeURIComponent(i.url)?.includes(n)});return i.type==="Web Mapping Application"&&!!i.url&&e};function j(i){return i.type==="Web Mapping Application"&&P(["Story Map"],i)}function P(i,e){return i?.some(t=>e?.typeKeywords?.includes(t))}function A(i){let e=_(i);return $(`assets/portal-item-thumbnail/${e}`)}function _(i){let e=i.type?.toLowerCase(),t=i.typeKeywords||[];switch(e){case"web mapping application":return"webapp.png";case"mobile application":return"mobileapp.png";case"notebook code snippets":case"notebook code snippet library":return"notebookcodesnippets.png";case"notebook":return"notebook.png";case"style":return t.includes("Dictionary")?"dictionarystyle.png":"style.png";case"feature service":return t.includes("Location Tracking View")?"locationtrackingservice.png":t.includes("IndoorPositioningDataService")?"indoor-positioning-data-service.png":"default.png";case"pro presentation":return"pro-presentation.png";case"reality mapping project":return"realitymappingproject.png";case"raster function template":return"rasterfunctiontemplate.png";case"workforce project":return"workforceproject.png";case"hub initiative":return"hubinitiative.png";case"hub page":return"hubpage.png";case"hub site application":case"site application":return"hubsite.png";case"hub event":return"hubevent.png";case"hub project":return"hubproject.png";case"dashboard":return t.includes("ArcGIS Dashboards")?"dashboards.png":"opsdashboard.png";case"geoprocessing service":return t.includes("Notebook Web Tool")?"notebookwebtool.png":"webtool.png";case"web scene":case"scene service":return"scene.png";case"ortho mapping project":return"orthomappingproject.png";case"ortho mapping template":return"orthomappingtemplate.png";case"insights theme":return"insightstheme.png";case"insights workbook package":return"insightsworkbookpackage.png";case"solution":return"solution.png";case"mobile scene package":return"mobilescenepackage.png";case"deep learning package":return"deeplearningpackage.png";case"big data analytic":return"bigdataanalytic.png";case"real time analytic":return"realtimeanalytic.png";case"feed":return"feed.png";case"excalibur imagery project":return"excaliburimageryproject.png";case"storymap":return t?.includes("storymapcollection")?"storymapcollection.png":"storymap.png";case"survey123 add in":return"survey123addin.png";case"mission":return"mission.png";case"mission template":return"missiontemplate.png";case"quickcapture project":return"quickcaptureproject.png";case"pro report":return"proreport.png";case"pro package":return"propackage.png";case"pro report template":return"proreporttemplate.png";case"urban model":return"urbanmodel.png";case"urban project":return"urbanproject.png";case"web experience":return"webexperience.png";case"web experience template":return"webexperiencetemplate.png";case"experience builder widget":return"experiencebuilderwidget.png";case"experience builder widget package":return"experiencebuilderwidgetpackage.png";case"workflow":return"workflow.png";case"insights script":return"insightsscript.png";case"kernel gateway connection":return"kernelgatewayconnection.png";case"hub initiative template":return"hubinitiativetemplate.png";case"image service":return t?.includes("Tile Imagery")?"tiledimagerylayer.png":"imagerylayer.png";case"mission report":return"missionreport.png";case"administrative report":return"administrativereport.png";case"storymap theme":return"storymaptheme.png";case"knowledge graph":return"knowledgegraph.png";case"knowledge graph layer":return"knowledgegraphlayer.png";case"knowledge studio project":return"knowledgestudio.png";case"earth configuration":return"earthconfiguration.png";case"link chart":return"linkchart.png";case"investigation":return"investigation.png";case"apache parquet":return"apacheparquet.png";case"curated collection":return"curatedcollection.png";case"video service":return"mediaservice.png";case"geodata service":return"geodataservice.png";case"suitability model":return"suitabilitymodel.png";case"esri classifier definition":return"classifierdefinition.png";case"esri spectral library":return"spectrallibrary.png";case"deep learning studio project":return"deeplearningstudioproject.png";case"esri classification schema":return"classificationschema.png";case"insights data engineering workbook":return"dataengineeringworkbook.png";case"insights data engineering model":return"dataengineeringmodel.png";case"discussion":return"discussion.png";case"api key":return"apikey.png";case"data pipeline":return"datapipeline.png";case"analysis model":return"analysismodel.png";case"service connection":return"serviceconnection.png";case"xr experience":return"xrexperience.png";case"3dtiles service":return t?.includes("GaussianSplat")?"gaussiansplatlayer.png":"default.png";default:return"default.png"}}function F(i,e,t){let{restUrl:r}=i,n=V(i),a=n?`token=${n}`:"",c=`${r}/content/items/${e.id}`;if(e.thumbnail){let o=e.thumbnailUrl;if(o){let s=new URL(o);return s.searchParams.append("w","400"),s.href}return`${c}/info/${e.thumbnail}?w=400${n?"&":""}${a}`}else if(e.type==="Image")return`${c}/data?${a}`;return A(e)}function V(i){return i?.credential?.token||i?.token||i?.user?.credential?.token||i?.portalUser?.token||""}var D=5e3,d=class extends v{constructor(){super(...arguments),this.replacementId=null,this.replacementItemInRecycleBin=!1,this.hasInaccessibleReplacementItem=!1,this.thumbnailUrl=null,this.timer=void 0,this.t9n=T({blocking:!0}),this.primaryActionRef=f(),this.getItemDetailsUrl=({portal:e,itemId:t,redirect:r})=>{let n=e.restUrl;return n?`${n.replace("sharing/rest","home")}/item.html?id=${t}${r?"&performRedirectAction=true":""}`:""},this.performRedirectAction=()=>{window.open(this.getItemDetailsUrl({portal:this.portal,itemId:this.replacementId,redirect:!0}),"_self")},this.viewItemDetailsPage=()=>{window.open(this.getItemDetailsUrl({portal:this.portal,itemId:this.replacementId??this.itemId}),this.canRedirect?"_self":"_blank")},this.item=null,this.replacementItem=null,this.redirectAction=null,this.canRedirect=!1,this.redirectDisabled=!1,this.open=!1,this.redirectTimeRemaining=D/1e3,this.arcgisPortalReplacementItemFetch=h()}static{this.properties={item:16,replacementItem:16,redirectAction:16,canRedirect:16,redirectDisabled:16,open:16,redirectTimeRemaining:16,itemId:1,portal:0,user:0}}static{this.styles=x}async setFocus(){this.primaryActionRef.value?.setFocus()}willUpdate(e){(e.has("itemId")||e.has("portal")||e.has("user"))&&this.initItem()}setupTimer({onComplete:e}){typeof this.timer=="number"&&clearInterval(this.timer),this.redirectTimeRemaining=D/1e3,this.timer=setInterval(()=>{if(this.redirectTimeRemaining<=0){clearInterval(this.timer),this.timer=void 0,e();return}this.redirectTimeRemaining-=1},1e3)}cancelTimer({onCancel:e}={}){e?.(),clearInterval(this.timer)}handleClose(){this.cancelTimer(),this.itemId="",this.item=null,this.open=!1}disableRedirect(){this.cancelTimer(),this.redirectDisabled=this.canRedirect}isItemRetired(e){return U(e)||j(e)}async initItem(){if(!this.itemId)return;let{itemId:e,portal:t,performRedirectAction:r}=this,n=new S({id:e,portal:t});this.item=await n?.load();let a=await C(e,t,{relationshipType:"ReplacementItem2Item",direction:"reverse"},!0),c=a.data?.relatedItems?.[0];this.replacementItemInRecycleBin=c?.inRecycleBin;let o=c?.id,s=!this.replacementItemInRecycleBin&&o?new S({id:o,portal:t}):null;await s?.load(),this.replacementItem=s,this.hasInaccessibleReplacementItem=this.replacementItemInRecycleBin||!s&&a.data?.aggregations?.total?.count>0&&a.data?.relatedItems?.length===0,this.arcgisPortalReplacementItemFetch.emit({replacementItem:this.hasInaccessibleReplacementItem?{}:s||null}),this.replacementItem=s,this.thumbnailUrl=F(t,s??this.item),this.canRedirect=!!s&&this.isItemRetired(n),this.replacementId=s?.id||null,this.canRedirect&&this.setupTimer({onComplete:()=>r()}),this.open=!0}getReplacementHeading(){let{t9n:e,hasInaccessibleReplacementItem:t,canRedirect:r}=this;return t?e.replacementUnavailable:r?e.redirectToReplacement:this.isItemRetired(this.item)&&!this.replacementItem?e.retiredTitle:e.replacementAvailable}getReplacementMessage(){let{t9n:e,hasInaccessibleReplacementItem:t,canRedirect:r}=this;return t?e.retiredReplacementUnavailable:r?e.deprecatedHasReplacement:this.isItemRetired(this.item)&&!this.replacementItem?e.retired:e.deprecatedHasReplacement}renderCard(e){let{canRedirect:t,t9n:r}=this;return l`<calcite-card thumbnail-position=inline-start><img slot=thumbnail class="thumbnail" src=${(this.thumbnailUrl||void 0)??k} @error=${async()=>this.thumbnailUrl=A(e)}><span slot=heading class="replacement-card__title">${e.title}</span><span slot=description>${r.ownedBy?.replace("${owner}",e.owner||"")||""}</span>${t&&l`<calcite-link slot=footer-start icon-end=launch .href=${this.getItemDetailsUrl({portal:this.portal,itemId:this.replacementId})} target=_blank>${r.moreDetails}</calcite-link>`||""}</calcite-card>`}render(){let{open:e,t9n:t,item:r,replacementItem:n,canRedirect:a,redirectDisabled:c,redirectTimeRemaining:o}=this;if(!(!r||!this.isItemRetired(r)))return l`<calcite-dialog modal .open=${e} width=s kind=info outside-close-disabled escape-disabled close-disabled .heading=${this.getReplacementHeading()} @calciteDialogClose=${()=>this.handleClose()}><div class="replacement-container"><div class="replacement-message">${M(this.getReplacementMessage()?.replace("${itemTitle}",this.item?.title||""))}</div>${this.renderCard(a?n:r)}</div>${a&&!c&&l`<calcite-button slot=footer-end appearance=outline-fill kind=neutral @click=${()=>{this.disableRedirect()}}>${t.cancel}</calcite-button>`||""}<calcite-button .disabled=${c} slot=footer-end @click=${()=>{this.cancelTimer(),a?this.performRedirectAction():this.viewItemDetailsPage()}} .iconEnd=${a?void 0:"launch"} ${w(this.primaryActionRef)}>${a?t.redirect.replace("${seconds}",`${o}`):t.moreDetails}</calcite-button></calcite-dialog>`}};R("arcgis-portal-replacement-item-redirect",d);return d},"request","portal/PortalItem",a)