@arcgis/portal-components 5.0.0-next.1 → 5.0.0-next.100

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 (147) hide show
  1. package/dist/cdn/3BOLT543.js +4 -0
  2. package/dist/cdn/5SZ4BUDH.js +4 -0
  3. package/dist/cdn/65ROHP2V.js +4 -0
  4. package/dist/cdn/6TKNVPCV.js +4 -0
  5. package/dist/cdn/{YKLWML27.js → BGIDIIMY.js} +2 -2
  6. package/dist/cdn/BSK7ZXY7.js +6 -0
  7. package/dist/cdn/J27ARXGH.js +4 -0
  8. package/dist/cdn/JM7MX5TZ.js +4 -0
  9. package/dist/cdn/LJ3I2F7B.js +4 -0
  10. package/dist/cdn/PDSESC3R.js +4 -0
  11. package/dist/cdn/PJNXGCYW.js +4 -0
  12. package/dist/cdn/PUEIILLK.js +4 -0
  13. package/dist/cdn/VQFGIEOF.js +4 -0
  14. package/dist/cdn/{36SCONH7.js → WJNAR5WR.js} +1 -1
  15. package/dist/cdn/YJPLZKMU.js +4 -0
  16. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ar.json +1 -1
  17. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.bg.json +1 -1
  18. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.bs.json +1 -1
  19. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ca.json +1 -1
  20. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.cs.json +1 -1
  21. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.da.json +1 -1
  22. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.de.json +1 -1
  23. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.el.json +1 -1
  24. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.es.json +1 -1
  25. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.et.json +1 -1
  26. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.fi.json +1 -1
  27. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.fr.json +1 -1
  28. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.he.json +1 -1
  29. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.hr.json +1 -1
  30. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.hu.json +1 -1
  31. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.id.json +1 -1
  32. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.it.json +1 -1
  33. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ja.json +1 -1
  34. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ko.json +1 -1
  35. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.lt.json +1 -1
  36. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.lv.json +1 -1
  37. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.nl.json +1 -1
  38. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.no.json +1 -1
  39. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pl.json +1 -1
  40. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pt-BR.json +1 -1
  41. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pt-PT.json +1 -1
  42. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ro.json +1 -1
  43. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ru.json +1 -1
  44. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sk.json +1 -1
  45. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sl.json +1 -1
  46. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sr.json +1 -1
  47. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sv.json +1 -1
  48. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.th.json +1 -1
  49. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.tr.json +1 -1
  50. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.uk.json +1 -1
  51. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.vi.json +1 -1
  52. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-CN.json +1 -1
  53. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-HK.json +1 -1
  54. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-TW.json +1 -1
  55. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ar.json +1 -0
  56. package/dist/cdn/assets/portal-extent-picker/t9n/messages.bg.json +1 -0
  57. package/dist/cdn/assets/portal-extent-picker/t9n/messages.bs.json +1 -0
  58. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ca.json +1 -0
  59. package/dist/cdn/assets/portal-extent-picker/t9n/messages.cs.json +1 -0
  60. package/dist/cdn/assets/portal-extent-picker/t9n/messages.da.json +1 -0
  61. package/dist/cdn/assets/portal-extent-picker/t9n/messages.de.json +1 -0
  62. package/dist/cdn/assets/portal-extent-picker/t9n/messages.el.json +1 -0
  63. package/dist/cdn/assets/portal-extent-picker/t9n/messages.en.json +1 -0
  64. package/dist/cdn/assets/portal-extent-picker/t9n/messages.es.json +1 -0
  65. package/dist/cdn/assets/portal-extent-picker/t9n/messages.et.json +1 -0
  66. package/dist/cdn/assets/portal-extent-picker/t9n/messages.fi.json +1 -0
  67. package/dist/cdn/assets/portal-extent-picker/t9n/messages.fr.json +1 -0
  68. package/dist/cdn/assets/portal-extent-picker/t9n/messages.he.json +1 -0
  69. package/dist/cdn/assets/portal-extent-picker/t9n/messages.hr.json +1 -0
  70. package/dist/cdn/assets/portal-extent-picker/t9n/messages.hu.json +1 -0
  71. package/dist/cdn/assets/portal-extent-picker/t9n/messages.id.json +1 -0
  72. package/dist/cdn/assets/portal-extent-picker/t9n/messages.it.json +1 -0
  73. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ja.json +1 -0
  74. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ko.json +1 -0
  75. package/dist/cdn/assets/portal-extent-picker/t9n/messages.lt.json +1 -0
  76. package/dist/cdn/assets/portal-extent-picker/t9n/messages.lv.json +1 -0
  77. package/dist/cdn/assets/portal-extent-picker/t9n/messages.nb.json +1 -0
  78. package/dist/cdn/assets/portal-extent-picker/t9n/messages.nl.json +1 -0
  79. package/dist/cdn/assets/portal-extent-picker/t9n/messages.no.json +1 -0
  80. package/dist/cdn/assets/portal-extent-picker/t9n/messages.pl.json +1 -0
  81. package/dist/cdn/assets/portal-extent-picker/t9n/messages.pt-BR.json +1 -0
  82. package/dist/cdn/assets/portal-extent-picker/t9n/messages.pt-PT.json +1 -0
  83. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ro.json +1 -0
  84. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ru.json +1 -0
  85. package/dist/cdn/assets/portal-extent-picker/t9n/messages.sk.json +1 -0
  86. package/dist/cdn/assets/portal-extent-picker/t9n/messages.sl.json +1 -0
  87. package/dist/cdn/assets/portal-extent-picker/t9n/messages.sr.json +1 -0
  88. package/dist/cdn/assets/portal-extent-picker/t9n/messages.sv.json +1 -0
  89. package/dist/cdn/assets/portal-extent-picker/t9n/messages.th.json +1 -0
  90. package/dist/cdn/assets/portal-extent-picker/t9n/messages.tr.json +1 -0
  91. package/dist/cdn/assets/portal-extent-picker/t9n/messages.uk.json +1 -0
  92. package/dist/cdn/assets/portal-extent-picker/t9n/messages.vi.json +1 -0
  93. package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-CN.json +1 -0
  94. package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-HK.json +1 -0
  95. package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-TW.json +1 -0
  96. package/dist/cdn/index.js +2 -2
  97. package/dist/cdn/main.css +1 -1
  98. package/dist/chunks/common.js +1 -1
  99. package/dist/chunks/fieldAddDelete.js +71 -67
  100. package/dist/chunks/loadClassificationData.js +1 -1
  101. package/dist/chunks/requests.js +2 -2
  102. package/dist/chunks/runtime.js +2 -2
  103. package/dist/chunks/useT9n.js +1 -1
  104. package/dist/components/arcgis-portal-classification-banner/customElement.js +18 -17
  105. package/dist/components/arcgis-portal-classification-config/customElement.js +111 -103
  106. package/dist/components/arcgis-portal-classification-favorite/customElement.js +2 -2
  107. package/dist/components/arcgis-portal-classification-form-element/customElement.d.ts +2 -1
  108. package/dist/components/arcgis-portal-classification-form-element/customElement.js +15 -15
  109. package/dist/components/arcgis-portal-extent-picker/customElement.d.ts +51 -0
  110. package/dist/components/arcgis-portal-extent-picker/customElement.js +553 -0
  111. package/dist/components/arcgis-portal-extent-picker/index.d.ts +8 -0
  112. package/dist/components/arcgis-portal-extent-picker/index.js +8 -0
  113. package/dist/components/arcgis-portal-extent-picker/mask-layer.d.ts +28 -0
  114. package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.d.ts +26 -0
  115. package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.js +60 -0
  116. package/dist/components/arcgis-portal-extent-picker-coord-field/index.d.ts +3 -0
  117. package/dist/components/arcgis-portal-extent-picker-coord-field/index.js +3 -0
  118. package/dist/components/arcgis-portal-field-delete/customElement.d.ts +4 -2
  119. package/dist/components/arcgis-portal-field-delete/customElement.js +82 -75
  120. package/dist/docs/api.json +316 -38
  121. package/dist/docs/docs.json +310 -9
  122. package/dist/docs/vscode.html-custom-data.json +33 -1
  123. package/dist/docs/web-types.json +133 -2
  124. package/dist/index.d.ts +27 -5
  125. package/dist/index.js +1 -1
  126. package/dist/loader.d.ts +1 -1
  127. package/dist/loader.js +7 -5
  128. package/dist/types/classification.d.ts +1 -1
  129. package/dist/types/components.d.ts +1 -1
  130. package/dist/types/lumina.d.ts +15 -6
  131. package/dist/types/preact.d.ts +16 -6
  132. package/dist/types/preact10.d.ts +17 -6
  133. package/dist/types/react.d.ts +17 -6
  134. package/dist/types/stencil.d.ts +15 -6
  135. package/dist/utils/commonFunctions.d.ts +2 -1
  136. package/dist/utils/style.d.ts +1 -0
  137. package/package.json +6 -6
  138. package/dist/cdn/3C7EKA4P.js +0 -4
  139. package/dist/cdn/M5TSWZEI.js +0 -4
  140. package/dist/cdn/MMZ2SLQM.js +0 -4
  141. package/dist/cdn/OHA5XBKC.js +0 -4
  142. package/dist/cdn/QXPXCLIB.js +0 -4
  143. package/dist/cdn/TBZVZ3NK.js +0 -4
  144. package/dist/cdn/UAMIU7I6.js +0 -4
  145. package/dist/cdn/UYHDCO7W.js +0 -4
  146. package/dist/cdn/VUHRSXSV.js +0 -4
  147. package/dist/cdn/YXRYHZH5.js +0 -6
@@ -0,0 +1 @@
1
+ {"close":"Zamknij","setExtent":"Skonfiguruj zasięg","setArea":"Skonfiguruj obszar","extentBasedOn":"Utwórz zasięg na podstawie wartości","areaBasedOn":"Utwórz obszar na podstawie","orgExtent":"Zasięg instytucji","orgRegion":"Region instytucji","currentFeatures":"Bieżące obiekty w warstwie","useLocation":"Użyj wyszukiwania lokalizacji","drawExtentTitle":"Narysuj zasięg na mapie.","drawAreaTitle":"Narysuj obszar na mapie.","drawExtent":"ł_Draw Extent____________ą","drawArea":"ł_Draw Area___________________ą","coordinates":"Współrzędne","coordinatesDescription":"Wprowadź wartości współrzędnych (w stopniach dziesiętnych) dla każdej granicy tego zasięgu.","top":"Górna (szerokość geograficzna)","bottom":"Dolna (szerokość geograficzna)","left":"Lewa (długość geograficzna)","right":"Prawa (długość geograficzna)","save":"Zapisz","cancel":"Anuluj","revert":"Przywróć","invalidLeft":"Wartość współrzędnej w polu Lewa (długość geograficzna) musi być wartością liczbową z zakresu od ${minLng} do ${maxLng}.","invalidRight":"Wartość współrzędnej w polu Prawa (długość geograficzna) musi być wartością liczbową z zakresu od ${minLng} do ${maxLng}.","invalidBottom":"Wartość współrzędnej w polu Dolna (szerokość geograficzna) musi być wartością liczbową z zakresu od ${minLat} do ${maxLat}.","invalidTop":"Wartość współrzędnej w polu Górna (szerokość geograficzna) musi być wartością liczbową z zakresu od ${minLat} do ${maxLat}.","leftLessThanRight":"Wartość w polu Lewa (długość geograficzna) musi być mniejsza niż wartość w polu Prawa (długość geograficzna).","rightGreaterThanLeft":"Wartość w polu Prawa (długość geograficzna) musi być większa niż wartość w polu Lewa (długość geograficzna).","bottomLessThanTop":"Wartość w polu Dolna (szerokość geograficzna) musi być mniejsza niż wartość w polu Górna (szerokość geograficzna).","topGreaterThanBottom":"Wartość w polu Górna (szerokość geograficzna) musi być większa niż wartość w polu Dolna (szerokość geograficzna).","overDateLine":"Konfigurowanie zasięgu przecinającego 180. południk nie jest obsługiwane. Zdefiniuj nowy zasięg, który wyklucza ten południk."}
@@ -0,0 +1 @@
1
+ {"close":"Fechar","setExtent":"Definir extensão","setArea":"Definir área","extentBasedOn":"Crie uma extensão baseada em","areaBasedOn":"Crie uma área com base em","orgExtent":"Extensão da organização","orgRegion":"Região da organização","currentFeatures":"Feições atuais na camada","useLocation":"Utilizar pesquisa de localização","drawExtentTitle":"Desenhe a extensão do mapa.","drawAreaTitle":"Desenhe a área no mapa.","drawExtent":"ã_Draw Extent____________Ç","drawArea":"ã_Draw Area___________________Ç","coordinates":"Coordenadas","coordinatesDescription":"Insira o valor da coordenada (em graus decimais) para cada limite da extensão.","top":"Superior (Latitude)","bottom":"Inferior (Latitude)","left":"Esquerda (Longitude)","right":"Direita (Longitude)","save":"Salvar","cancel":"Cancelar","revert":"Reverter","invalidLeft":"O valor da coordenada para Esquerda (Longitude) deve ser um valor numérico entre ${minLng} e ${maxLng}.","invalidRight":"O valor da coordenada para Direita (Longitude) deve ser um valor numérico entre ${minLng} e ${maxLng}.","invalidBottom":"A coordenada para Inferior (Latitude) deve ser um valor numérico entre ${minLat} e ${maxLat}.","invalidTop":"A coordenada para Top (Latitude) deve ser um valor numérico entre ${minLat} e ${maxLat}.","leftLessThanRight":"O valor da Esquerda (Longitude) deve ser menor que o valor da Direita (Longitude).","rightGreaterThanLeft":"O valor da Direita (Longitude) deve ser maior que o valor da Esquerda (Longitude).","bottomLessThanTop":"O valor de Inferior (Latitude) deve ser menor que o valor de Superior (Latitude).","topGreaterThanBottom":"O valor de Superior (Latitude) deve ser maior que o valor de Inferior (Latitude).","overDateLine":"A configuração de uma extensão que atravessa 180º meridiano não é suportada. Defina uma nova extensão que exclua este meridiano."}
@@ -0,0 +1 @@
1
+ {"close":"Fechar","setExtent":"Definir extensão","setArea":"Definir área","extentBasedOn":"Crie uma extensão com base em","areaBasedOn":"Criar uma área com base em","orgExtent":"Extensão da organização","orgRegion":"Região da organização","currentFeatures":"Elementos atuais na camada","useLocation":"Utilizar pesquisa de localização","drawExtentTitle":"Desenhe a extensão no mapa.","drawAreaTitle":"Desenhe a área no mapa.","drawExtent":"ã_Draw Extent____________Ç","drawArea":"ã_Draw Area___________________Ç","coordinates":"Coordenadas","coordinatesDescription":"Introduza o valor da coordenada (em graus decimais) para cada limite da extensão.","top":"Parte superior (Latitude)","bottom":"Parte inferior (Latitude)","left":"Esquerda (Longitude)","right":"Direita (Longitude)","save":"Guardar","cancel":"Cancelar","revert":"Reverter","invalidLeft":"O valor da coordenada para Esquerda (Longitude) tem de ser um valor numérico entre ${minLng} e ${maxLng}.","invalidRight":"O valor da coordenada para Direita (Longitude) tem de ser um valor numérico entre ${minLng} e ${maxLng}.","invalidBottom":"O valor da coordenada para Parte Inferior (Latitude) deve ser um valor numérico entre ${minLat} e ${maxLat}.","invalidTop":"O valor da coordenada para Parte Superior (Latitude) deve ser um valor numérico entre ${minLat} e ${maxLat}.","leftLessThanRight":"O valor para Esquerda (Longitude) deve ser inferior ao valor para Direita (Longitude).","rightGreaterThanLeft":"O valor para Direita (Longitude) deve ser inferior ao valor para Esquerda (Longitude).","bottomLessThanTop":"O valor para Parte inferior (Latitude) deve ser inferior ao valor para Parte superior (Latitude).","topGreaterThanBottom":"O valor para Parte superior (Latitude) deve ser superior ao valor para Parte inferior (Latitude).","overDateLine":"Não é suportado definir uma extensão ao longo do meridiano 180. Defina uma nova extensão que exclua este meridiano."}
@@ -0,0 +1 @@
1
+ {"close":"Închidere","setExtent":"Setare extindere","setArea":"Setare zonă","extentBasedOn":"Creați o extindere pe baza","areaBasedOn":"Creați o zonă pe baza","orgExtent":"Extindere organizație","orgRegion":"Regiune organizație","currentFeatures":"Obiectele spațiale curente din stratul tematic","useLocation":"Utilizare căutare locație","drawExtentTitle":"Trasaţi extinderea pe hartă.","drawAreaTitle":"Trasați zona pe hartă.","drawExtent":"Ă_Draw Extent____________ș","drawArea":"Ă_Draw Area___________________ș","coordinates":"Coordonate","coordinatesDescription":"Introduceți valoarea coordonatei (grade zecimale) pentru fiecare limită a extinderii.","top":"Sus (latitudine)","bottom":"Jos (latitudine)","left":"Stânga (longitudine)","right":"Dreapta (longitudine)","save":"Salvare","cancel":"Anulare","revert":"Revenire","invalidLeft":"Valoarea coordonatei pentru Stânga (longitudine) trebuie să fie o valoare numerică între ${minLng} și ${maxLng}.","invalidRight":"Valoarea coordonatei pentru Dreapta (longitudine) trebuie să fie o valoare numerică între ${minLng} și ${maxLng}.","invalidBottom":"Coordonata pentru Jos (latitudine) trebuie să fie o valoare numerică între ${minLat} și ${maxLat}.","invalidTop":"Coordonata pentru Sus (latitudine) trebuie să fie o valoare numerică între ${minLat} și ${maxLat}.","leftLessThanRight":"Valoarea pentru Stânga (longitudine) trebuie să fie mai mică decât valoarea pentru Dreapta (longitudine).","rightGreaterThanLeft":"Valoarea pentru Dreapta (longitudine) trebuie să fie mai mare decât valoarea pentru Stânga (longitudine).","bottomLessThanTop":"Valoarea pentru Jos (latitudine) trebuie să fie mai mică decât valoarea pentru Sus (latitudine).","topGreaterThanBottom":"Valoarea pentru Sus (latitudine) trebuie să fie mai mare decât valoarea pentru Jos (latitudine).","overDateLine":"Setarea unei extinderi care depășește meridianul 180 nu este acceptată. Definiți o nouă extindere care exclude acest meridian."}
@@ -0,0 +1 @@
1
+ {"close":"Закрыть","setExtent":"Задать экстент","setArea":"Задать область","extentBasedOn":"Создать экстент на основе","areaBasedOn":"Создать область на основании","orgExtent":"Экстент организации","orgRegion":"Регион организации","currentFeatures":"Текущие объекты в слое","useLocation":"Использовать поиск местоположения","drawExtentTitle":"Нарисовать экстент на карте.","drawAreaTitle":"Нарисовать область на карте.","drawExtent":"Ж_Draw Extent____________Я","drawArea":"Ж_Draw Area___________________Я","coordinates":"Координаты","coordinatesDescription":"Введите значение координаты (в десятичных градусах) для каждой границы экстента.","top":"Сверху (Широта)","bottom":"Снизу (Широта)","left":"Слева (Долгота)","right":"Справа (Долгота)","save":"Сохранить","cancel":"Отмена","revert":"Восстановить","invalidLeft":"Значение координаты Слева (Долгота) должно быть числовым значением между ${minLng} и ${maxLng}.","invalidRight":"Значение координаты Справа (Долгота) должно быть числовым значением между ${minLng} и ${maxLng}.","invalidBottom":"Координата Снизу (Широта) должна быть числовым значением между ${minLat} и ${maxLat}.","invalidTop":"Координата Сверху (Широта) должна быть числовым значением между ${minLat} и ${maxLat}.","leftLessThanRight":"Значение параметра Слева (Долгота) должно быть меньше, чем значение Справа (Долгота).","rightGreaterThanLeft":"Значение параметра Справа (Долгота) должно быть больше, чем значение Слева (Долгота).","bottomLessThanTop":"Значение параметра Снизу (Широта) должно быть меньше, чем значение Сверху (Широта).","topGreaterThanBottom":"Значение параметра Сверху (Широта) должно быть больше, чем значение Сверху (Широта).","overDateLine":"Настройка экстента, который пересекает 180 меридиан, не поддерживается. Задайте новый экстент, в который этот меридиан не входит."}
@@ -0,0 +1 @@
1
+ {"close":"Zatvoriť","setExtent":"Nastaviť rozsah","setArea":"Nastaviť oblasť","extentBasedOn":"Vytvoriť rozsah založený na","areaBasedOn":"Vytvoriť oblasť na základe","orgExtent":"Rozsah organizácie","orgRegion":"Región organizácie","currentFeatures":"Aktuálne prvky vo vrstve","useLocation":"Použiť vyhľadávanie polohy","drawExtentTitle":"Nakresliť rozsah mapy.","drawAreaTitle":"Nakresliť oblasť v mape.","drawExtent":"ĺ_Draw Extent____________ľ","drawArea":"ĺ_Draw Area___________________ľ","coordinates":"Súradnice","coordinatesDescription":"Vložte súradnice (v desatinných stupňoch) pre každé ohraničenie rozsahu.","top":"Hore (zemepisná šírka)","bottom":"Dole (zemepisná šírka)","left":"Vľavo (zemepisná dĺžka)","right":"Vpravo (zemepisná dĺžka)","save":"Uložiť","cancel":"Zrušiť","revert":"Vrátiť","invalidLeft":"Hodnota súradnice pre Vľavo (zemepisná dĺžka) musí byť číselná hodnota medzi ${minLng} a ${maxLng}.","invalidRight":"Hodnota súradnice pre Vpravo (zemepisná dĺžka) musí byť číselná hodnota medzi ${minLng} a ${maxLng}.","invalidBottom":"Súradnica pre Dole (zemepisná šírka) musí byť číselná hodnota medzi ${minLat} a ${maxLat}.","invalidTop":"Súradnica pre Hore (zemepisná šírka) musí byť číselná hodnota medzi ${minLat} a ${maxLat}.","leftLessThanRight":"Hodnota Vľavo (zemepisná dĺžka) musí byť menšia než hodnota Vpravo (zemepisná dĺžka).","rightGreaterThanLeft":"Hodnota Vpravo (zemepisná dĺžka) musí byť väčšia než hodnota Vľavo (zemepisná dĺžka).","bottomLessThanTop":"Hodnota Dole (zemepisná šírka) musí byť menšia než hodnota Hore (zemepisná šírka).","topGreaterThanBottom":"Hodnota Hore (zemepisná šírka) musí byť väčšia než hodnota Dole (zemepisná šírka).","overDateLine":"Nastavenie rozsahu, ktorý presahuje 180. poludník, nie je podporované. Definujte nový rozsah, ktorý neobsahuje tento poludník."}
@@ -0,0 +1 @@
1
+ {"close":"Zapri","setExtent":"Nastavi obseg","setArea":"Nastavi območje","extentBasedOn":"Ustvari obseg na podlagi","areaBasedOn":"Ustvari območje na osnovi","orgExtent":"Obseg organizacije","orgRegion":"Regija organizacije","currentFeatures":"Trenutni geoobjekti v sloju","useLocation":"Uporabite iskanje lokacije","drawExtentTitle":"Narišite obseg na karti.","drawAreaTitle":"Narišite območje na karti.","drawExtent":"Š_Draw Extent____________č","drawArea":"Š_Draw Area___________________č","coordinates":"Koordinate","coordinatesDescription":"Vnesite vrednost koordinat (v decimalnih stopinjah) za vsako mejno točko obsega.","top":"Zgoraj (geografska dolžina)","bottom":"Spodaj (geografska dolžina)","left":"Levo (geografska dolžina)","right":"Desno (geografska dolžina)","save":"Shrani","cancel":"Prekliči","revert":"Povrni","invalidLeft":"Koordinatna vrednost za levo (geografska dolžina) mora biti številčna vrednost med ${minLng} in ${maxLng}.","invalidRight":"Koordinatna vrednost za desno (geografska dolžina) mora biti številčna vrednost med ${minLng} in ${maxLng}.","invalidBottom":"Koordinatna vrednost za spodaj (geografska širina) mora biti številčna vrednost med ${minLat} in ${maxLat}.","invalidTop":"Koordinata za zgoraj (geografska širina) mora biti številčna vrednost med ${minLat} in ${maxLat}.","leftLessThanRight":"Leva vrednost (geografska dolžina) mora biti manjša kot desna vrednost (geografska dolžina).","rightGreaterThanLeft":"Desna vrednost (geografska dolžina) mora biti večja kot leva vrednost (geografska dolžina).","bottomLessThanTop":"Spodnja vrednost (geografska širina) mora biti manjša kot zgornja vrednost (geografska širina).","topGreaterThanBottom":"Zgornja vrednost (geografska širina) mora biti večja kot spodnja vrednost (geografska širina).","overDateLine":"Nastavitev obsega, ki prečka 180. poldnevnik, ni podprta. Opredelite nov obseg, ki vključuje tisti poldnevnik."}
@@ -0,0 +1 @@
1
+ {"close":"Zatvori","setExtent":"Postavi obuhvat","setArea":"Postavi oblast","extentBasedOn":"Kreiraj obuhvat na osnovu","areaBasedOn":"Kreiraj oblast na osnovu","orgExtent":"Obuhvat organizacije","orgRegion":"Region organizacije","currentFeatures":"Trenutni geoobjekti u sloju","useLocation":"Koristite pretragu lokacije","drawExtentTitle":"Nacrtajte obuhvat na mapi.","drawAreaTitle":"Nacrtajte oblast na mapi.","drawExtent":"Č_Draw Extent____________ž","drawArea":"Č_Draw Area___________________ž","coordinates":"Koordinate","coordinatesDescription":"Unesite vrednost koordinate (u decimalnim stepenima) za svaku granicu obuhvata.","top":"Vrh (geografska širina)","bottom":"Dno (geografska širina)","left":"Levo (geografska dužina)","right":"Desno (geografska dužina)","save":"Sačuvaj","cancel":"Otkaži","revert":"Vrati u pređašnje stanje","invalidLeft":"Vrednost koordinate za Levo (geografska dužina) mora da bude brojčana vrednost između ${minLng} i ${maxLng}.","invalidRight":"Vrednost koordinate za Desno (geografska dužina) mora da bude brojčana vrednost između ${minLng} i ${maxLng}.","invalidBottom":"Koordinata za Dno (geografska širina) mora da bude brojčana vrednost između ${minLat} i ${maxLat}.","invalidTop":"Koordinata za Vrh (geografska širina) mora da bude brojčana vrednost između ${minLat} i ${maxLat}.","leftLessThanRight":"Vrednost za Levo (geografska dužina) mora da bude manja od vrednosti za Desno (geografska dužina).","rightGreaterThanLeft":"Vrednost za Desno (geografska dužina) mora da bude veća od vrednosti za Levo (geografska dužina).","bottomLessThanTop":"Vrednost za Dno (geografska širina) mora da bude manja od vrednosti za Vrh (geografska širina).","topGreaterThanBottom":"Vrednost za Vrh (geografska širina) mora da bude veća od vrednosti za Dno (geografska širina).","overDateLine":"Postavljanje obuhvata koji prelazi 180. meridijan nije podržano. Definišite novi obuhvat koji isključuje ovaj meridijan."}
@@ -0,0 +1 @@
1
+ {"close":"Stäng","setExtent":"Definiera utbredning","setArea":"Ange område","extentBasedOn":"Skapa en utbredning baserad på","areaBasedOn":"Skapa ett område baserat på","orgExtent":"Organisationens utbredning","orgRegion":"Organisationens region","currentFeatures":"Nuvarande geoobjekt i lagret","useLocation":"Använd platssökning","drawExtentTitle":"Rita utbredningen på kartan.","drawAreaTitle":"Rita området på kartan.","drawExtent":"Å_Draw Extent____________ö","drawArea":"Å_Draw Area___________________ö","coordinates":"Koordinater","coordinatesDescription":"Ange koordinatvärdet (i decimalgrader) för varje gräns för utbredningen.","top":"Överkant (latitud)","bottom":"Nederkant (latitud)","left":"Vänster (longitud)","right":"Höger (longitud)","save":"Spara","cancel":"Avbryt","revert":"Återgå","invalidLeft":"Koordinatvärdet för Vänster (longitud) måste vara ett numeriskt värde mellan ${minLng} och ${maxLng}.","invalidRight":"Koordinatvärdet för Höger (longitud) måste vara ett numeriskt värde mellan ${minLng} och ${maxLng}.","invalidBottom":"Koordinatvärdet för Nederkant (latitud) måste vara ett numeriskt värde mellan ${minLat} och ${maxLat}.","invalidTop":"Koordinatvärdet för Överkant (latitud) måste vara ett numeriskt värde mellan ${minLat} och ${maxLat}.","leftLessThanRight":"Värdet för Vänster (longitud) måste vara mindre än värdet för Höger (longitud).","rightGreaterThanLeft":"Värdet för Höger (longitud) måste vara större än värdet för Vänster (longitud).","bottomLessThanTop":"Värdet för Nederkant (latitud) måste vara mindre än värdet för Överkant (latitud).","topGreaterThanBottom":"Värdet för Överkant (latitud) måste vara större än värdet för Nederkant (latitud).","overDateLine":"Det stöds inte att ange en utbredning som korsar den 180:e meridianen. Definiera en ny utbredning som utesluter den här meridianen."}
@@ -0,0 +1 @@
1
+ {"close":"ปิด","setExtent":"ตั้งค่าขอบเขต","setArea":"ตั้งค่าพื้นที่","extentBasedOn":"สร้างขอบเขตโดยอิงตาม","areaBasedOn":"สร้างพื้นที่โดยอิงตาม","orgExtent":"ขอบเขตขององค์กร","orgRegion":"ภูมิภาคขององค์กร","currentFeatures":"ฟีเจอร์ปัจจุบันในชั้นข้อมูล","useLocation":"ใช้การค้นหาตำแหน่ง","drawExtentTitle":"วาดขอบเขตบนแผนที่","drawAreaTitle":"วาดพื้นที่บนแผนที่","drawExtent":"ก้_Draw Extent____________ษฺ","drawArea":"ก้_Draw Area___________________ษฺ","coordinates":"ค่าพิกัด","coordinatesDescription":"ป้อนค่าพิกัด (แบบองศาทศนิยม) สำหรับแต่ละกรอบของขอบเขต","top":"บน (ละติจูด)","bottom":"ล่าง (ละติจูด)","left":"ซ้าย (ลองจิจูด)","right":"ขวา (ลองจิจูด)","save":"จัดเก็บ","cancel":"ยกเลิก","revert":"ย้อนกลับ","invalidLeft":"ค่าพิกัดสำหรับ ซ้าย (ลองจิจูด) ต้องเป็นค่าตัวเลขระหว่าง ${minLng} ถึง ${maxLng}","invalidRight":"ค่าพิกัดสำหรับ ขวา (ลองจิจูด) ต้องเป็นค่าตัวเลขระหว่าง ${minLng} ถึง ${maxLng}","invalidBottom":"ค่าพิกัดสำหรับ ล่าง (ละติจูด) ต้องเป็นค่าตัวเลขระหว่าง ${minLat} ถึง ${maxLat}","invalidTop":"ค่าพิกัดสำหรับ บน (ละติจูด) ต้องเป็นค่าตัวเลขระหว่าง ${minLat} ถึง ${maxLat}","leftLessThanRight":"ค่าด้านซ้าย (ลองจิจูด) ต้องน้อยกว่าค่าด้านขวา (ลองจิจูด)","rightGreaterThanLeft":"ค่าด้านขวา (ลองจิจูด) ต้องมากกว่าค่าด้านซ้าย (ลองจิจูด)","bottomLessThanTop":"ค่าด้านล่าง (ละติจูด) ต้องน้อยกว่าค่าด้านบน (ละติจูด)","topGreaterThanBottom":"ค่าด้านบน (ละติจูด) ต้องมากกว่าค่าด้านล่าง (ละติจูด)","overDateLine":"ไม่รองรับการตั้งค่าขอบเขตที่ข้ามเส้นเมริเดียนที่ 180 กำหนดขอบเขตใหม่ที่ไม่รวมเส้นเมริเดียนนี้"}
@@ -0,0 +1 @@
1
+ {"close":"Kapat","setExtent":"Yayılımı ayarla","setArea":"Alan ayarla","extentBasedOn":"Şunu temel alarak bir yayılım oluşturun","areaBasedOn":"Şunları temel alan bir alan oluştur","orgExtent":"Kuruluşun yayılımı","orgRegion":"Kuruluşun bölgesi","currentFeatures":"Katmandaki mevcut detaylar","useLocation":"Konum aramayı kullanın","drawExtentTitle":"Yayılımı harita üzerinde çizin.","drawAreaTitle":"Alanı harita üzerinde çizin.","drawExtent":"ı_Draw Extent____________İ","drawArea":"ı_Draw Area___________________İ","coordinates":"Koordinatlar","coordinatesDescription":"Yayılımın her sınırı için koordinat değerini (ondalık dereceler olarak) girin.","top":"Üst (Enlem)","bottom":"Alt (Enlem)","left":"Sol (Boylam)","right":"Sağ (Boylam)","save":"Kaydet","cancel":"İptal","revert":"Geri Döndür","invalidLeft":"Sol (Boylam) için koordinat değeri ${minLng} ve ${maxLng} arasında sayısal bir değer olmalıdır.","invalidRight":"Sağ (Boylam) için koordinat değeri ${minLng} ve ${maxLng} arasında sayısal bir değer olmalıdır.","invalidBottom":"Alt (Enlem) için koordinat ${minLat} ve ${maxLat} arasında sayısal bir değer olmalıdır.","invalidTop":"Üst (Enlem) için koordinat ${minLat} ve ${maxLat} arasında sayısal bir değer olmalıdır.","leftLessThanRight":"Sol (Boylam) değer Sağ (Enlem) değerden daha küçük olmalıdır.","rightGreaterThanLeft":"Sağ (Boylam) değer Sol (Enlem) değerden daha büyük olmalıdır.","bottomLessThanTop":"Alt (Enlem) değer Üst (Enlem) değerden daha küçük olmalıdır.","topGreaterThanBottom":"Üst (Enlem) değer Alt (Enlem) değerden daha büyük olmalıdır.","overDateLine":"180. boylamı kesen bir yayılım ayarlama desteklenmez. Bu meridyeni dışarıda bırakan yeni bir yayılım tanımlayın."}
@@ -0,0 +1 @@
1
+ {"close":"Закрити","setExtent":"Задати екстент","setArea":"Задати область","extentBasedOn":"Створити екстент на основі","areaBasedOn":"Створити область на основі","orgExtent":"Екстент організації","orgRegion":"Регіон організації","currentFeatures":"Поточні об'єкти в шарі","useLocation":"Скористатися пошуком місця розташування","drawExtentTitle":"Намалювати екстент на карті.","drawAreaTitle":"Намалюйте область на карті.","drawExtent":"ґ_Draw Extent____________Ї","drawArea":"ґ_Draw Area___________________Ї","coordinates":"Координати","coordinatesDescription":"Введіть значення координати (в десяткових градусах) для кожного кордону екстенту.","top":"Верхній (широта)","bottom":"Нижній (широта)","left":"Лівий (довгота)","right":"Правий (довгота)","save":"Зберегти","cancel":"Скасувати","revert":"Повернути","invalidLeft":"Значення координати «Лівий (довгота)» має бути числовим значенням від ${minLng} до ${maxLng}.","invalidRight":"Значення координати «Правий (довгота)» має бути числовим значенням від ${minLng} до ${maxLng}.","invalidBottom":"Координата «Нижній (широта)» має бути числовим значенням від ${minLat} до ${maxLat}.","invalidTop":"Координата «Верхній (широта)» має бути числовим значенням від ${minLat} до ${maxLat}.","leftLessThanRight":"Значення «Лівий (довгота)» повинне бути менше значення «Правий (довгота)».","rightGreaterThanLeft":"Значення «Правий (довгота)» повинне бути більше значення «Лівий (довгота)».","bottomLessThanTop":"Значення «Нижній (широта)» повинне бути менше значення «Верхній (широта)».","topGreaterThanBottom":"Значення «Верхній (широта)» повинне бути більше значення «Нижній (широта)».","overDateLine":"Задання екстенту, що перетинає 180-й меридіан, не підтримується. Визначте новий екстент, який виключає цей меридіан."}
@@ -0,0 +1 @@
1
+ {"close":"Tắt","setExtent":"Thiết lập phạm vi","setArea":"Thiết lập khu vực","extentBasedOn":"Tạo một phạm vi dựa trên","areaBasedOn":"Tạo khu vực dựa trên","orgExtent":"Phạm vi của tổ chức","orgRegion":"Vùng của tổ chức","currentFeatures":"Đối tượng hiện tại trong lớp","useLocation":"Sử dụng tìm kiếm vị trí","drawExtentTitle":"Vẽ phạm vi trên bản đồ.","drawAreaTitle":"Vẽ khu vực trên bản đồ.","drawExtent":"Đ_Draw Extent____________ớ","drawArea":"Đ_Draw Area___________________ớ","coordinates":"Tọa độ","coordinatesDescription":"Nhập giá trị tọa độ (theo độ thập phân) cho mỗi ranh giới trong phạm vi.","top":"Bên trên (Vĩ độ)","bottom":"Bên dưới (Vĩ độ)","left":"Bên trái (Kinh độ)","right":"Bên phải (Kinh độ)","save":"Lưu","cancel":"Hủy","revert":"Khôi phục","invalidLeft":"Giá trị tọa độ cho Bên trái (Kinh độ) phải là giá trị số nằm trong khoảng ${minLng} đến ${maxLng}.","invalidRight":"Giá trị tọa độ cho Bên phải (Kinh độ) phải là giá trị số nằm trong khoảng ${minLng} đến ${maxLng}.","invalidBottom":"Tọa độ cho Bên dưới (Vĩ độ) phải là giá trị số nằm trong khoảng ${minLat} đến ${maxLat}.","invalidTop":"Tọa độ cho Bên trên (Vĩ độ) phải là giá trị số nằm trong khoảng ${minLat} đến ${maxLat}.","leftLessThanRight":"Giá trị Bên trái (Kinh độ) phải nhỏ hơn giá trị Bên phải (Kinh độ).","rightGreaterThanLeft":"Giá trị Bên phải (Kinh độ) phải lớn hơn giá trị Bên trái (Kinh độ).","bottomLessThanTop":"Giá trị Bên dưới (Vĩ độ) phải nhỏ hơn giá trị Bên trên (Vĩ độ).","topGreaterThanBottom":"Giá trị Bên trên (Vĩ độ) phải lớn hơn giá trị Bên dưới (Vĩ độ).","overDateLine":"Thiết lập phạm vi qua kinh tuyến thứ 180 không được hỗ trợ. Xác định một phạm vi mới không bao gồm kinh tuyến này."}
@@ -0,0 +1 @@
1
+ {"close":"关闭","setExtent":"设置范围","setArea":"设置区域","extentBasedOn":"范围创建依据","areaBasedOn":"基于相应条件创建区域","orgExtent":"组织的范围","orgRegion":"组织的区域","currentFeatures":"图层中的当前要素","useLocation":"使用位置搜索","drawExtentTitle":"在地图上绘制范围。","drawAreaTitle":"在地图上绘制区域。","drawExtent":"试_Draw Extent____________验","drawArea":"试_Draw Area___________________验","coordinates":"坐标","coordinatesDescription":"输入范围的每个边界的坐标值(以十进制度数表示)。","top":"上(纬度)","bottom":"下(纬度)","left":"左(经度)","right":"右(经度)","save":"保存","cancel":"取消","revert":"恢复","invalidLeft":"左(经度)的坐标值必须为 ${minLng} 和 ${maxLng} 之间的数值。","invalidRight":"右(经度)的坐标值必须为 ${minLng} 和 ${maxLng} 之间的数值。","invalidBottom":"下(纬度)的坐标值必须为 ${minLat} 和 ${maxLat} 之间的数值。","invalidTop":"上(纬度)的坐标值必须为 ${minLat} 和 ${maxLat} 之间的数值。","leftLessThanRight":"左(经度)值必须小于右(经度)值。","rightGreaterThanLeft":"右(经度)值必须大于左(经度)值。","bottomLessThanTop":"下(纬度)值必须小于上(纬度)值。","topGreaterThanBottom":"上(纬度)值必须大于下(纬度)值。","overDateLine":"不支持在第 180 个子午线上设置范围。 定义排除此子午线的新范围。"}
@@ -0,0 +1 @@
1
+ {"close":"關閉","setExtent":"設定範圍","setArea":"設定區域","extentBasedOn":"建立範圍,根據","areaBasedOn":"建立區域依據","orgExtent":"組織的範圍","orgRegion":"組織的地區","currentFeatures":"圖層中的目前圖徵","useLocation":"使用位置搜尋","drawExtentTitle":"在地圖上繪製範圍。","drawAreaTitle":"在地圖上繪製區域。","drawExtent":"試_Draw Extent____________驗","drawArea":"試_Draw Area___________________驗","coordinates":"座標","coordinatesDescription":"針對範圍的每個邊界輸入座標值 (以十進位度為單位)。","top":"上 (緯度)","bottom":"下 (緯度)","left":"左 (經度)","right":"右 (經度)","save":"儲存","cancel":"取消","revert":"恢復","invalidLeft":"「左 (經度)」的座標值必須是介於 ${minLng} 到 ${maxLng} 之間的數值。","invalidRight":"「右 (經度)」的座標值必須是介於 ${minLng} 到 ${maxLng} 之間的數值。","invalidBottom":"「下 (緯度)」的座標必須是介於 ${minLat} 到 ${maxLat} 之間的數值。","invalidTop":"「上 (緯度)」的座標必須是介於 ${minLat} 到 ${maxLat} 之間的數值。","leftLessThanRight":"「左 (經度)」值必須小於「右 (經度)」值。","rightGreaterThanLeft":"「右 (經度)」值必須大於「左 (經度)」值。","bottomLessThanTop":"「下 (緯度)」值必須小於「上 (緯度)」值。","topGreaterThanBottom":"「上 (緯度)」值必須大於「下 (緯度)」值。","overDateLine":"不支援跨 180 度子午線設定範圍。 定義排除此子午線的新範圍。"}
@@ -0,0 +1 @@
1
+ {"close":"關閉","setExtent":"設定範圍","setArea":"設定區域","extentBasedOn":"建立範圍,根據","areaBasedOn":"建立區域依據","orgExtent":"組織的範圍","orgRegion":"組織的地區","currentFeatures":"圖層中的目前圖徵","useLocation":"使用位置搜尋","drawExtentTitle":"在地圖上繪製範圍。","drawAreaTitle":"在地圖上繪製區域。","drawExtent":"試_Draw Extent____________驗","drawArea":"試_Draw Area___________________驗","coordinates":"座標","coordinatesDescription":"針對範圍的每個邊界輸入座標值 (以十進位度為單位)。","top":"上 (緯度)","bottom":"下 (緯度)","left":"左 (經度)","right":"右 (經度)","save":"儲存","cancel":"取消","revert":"恢復","invalidLeft":"「左 (經度)」的座標值必須是介於 ${minLng} 到 ${maxLng} 之間的數值。","invalidRight":"「右 (經度)」的座標值必須是介於 ${minLng} 到 ${maxLng} 之間的數值。","invalidBottom":"「下 (緯度)」的座標必須是介於 ${minLat} 到 ${maxLat} 之間的數值。","invalidTop":"「上 (緯度)」的座標必須是介於 ${minLat} 到 ${maxLat} 之間的數值。","leftLessThanRight":"「左 (經度)」值必須小於「右 (經度)」值。","rightGreaterThanLeft":"「右 (經度)」值必須大於「左 (經度)」值。","bottomLessThanTop":"「下 (緯度)」值必須小於「上 (緯度)」值。","topGreaterThanBottom":"「上 (緯度)」值必須大於「下 (緯度)」值。","overDateLine":"不支援跨 180 度子午線設定範圍。 定義排除此子午線的新範圍。"}
package/dist/cdn/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.1 */
4
- import{H as t,s as i}from"./YXRYHZH5.js";var a=i(t,{"arcgis-portal-classification-banner":[()=>import("./OHA5XBKC.js"),"autoDestroyDisabled,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./VUHRSXSV.js"),"autoDestroyDisabled,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./QXPXCLIB.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./MMZ2SLQM.js"),"attribute:,attributeKey,renderingInfo:,value:"],"arcgis-portal-field-delete":[()=>import("./3C7EKA4P.js"),"config:,fieldNames:,layer:,mapView:,options:"]});a({resourcesUrl:import.meta.url});var e=new CSSStyleSheet;e.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-field-delete){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,e];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,t)
3
+ v5.0.0-next.100 */
4
+ import{M as t,w as e}from"./BSK7ZXY7.js";var i=e(t,{"arcgis-portal-classification-banner":[()=>import("./PJNXGCYW.js"),"autoDestroyDisabled,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./YJPLZKMU.js"),"autoDestroyDisabled,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./PUEIILLK.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./LJ3I2F7B.js"),"attribute:,attributeKey,isRequiredErrors:,renderingInfo:,value:"],"arcgis-portal-extent-picker":[()=>import("./3BOLT543.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./VQFGIEOF.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./5SZ4BUDH.js"),"config:,fieldNames:,layer:,mapView:,options:"]});i({resourcesUrl:import.meta.url});var a=new CSSStyleSheet;a.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-extent-picker,arcgis-portal-field-delete){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,a];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,t)
package/dist/cdn/main.css CHANGED
@@ -1 +1 @@
1
- @layer{:not([hydrated]):is(arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-field-delete){visibility:hidden}}
1
+ @layer{:not([hydrated]):is(arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-extent-picker,arcgis-portal-field-delete){visibility:hidden}}
@@ -2,7 +2,7 @@ import i from "@arcgis/core/request.js";
2
2
  import { once as l } from "@arcgis/core/core/reactiveUtils.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.1 */
5
+ v5.0.0-next.100 */
6
6
  const U = (t, e, s) => {
7
7
  let r = d(
8
8
  t,
@@ -2,24 +2,27 @@ import * as p from "@arcgis/core/layers/support/fieldUtils.js";
2
2
  import K from "@arcgis/core/layers/support/FeatureReductionBinning.js";
3
3
  import _ from "@arcgis/core/layers/support/FeatureReductionCluster.js";
4
4
  import * as T from "@arcgis/core/renderers/support/jsonUtils.js";
5
- import v from "@arcgis/core/request.js";
6
- import * as L from "@arcgis/core/core/sql.js";
5
+ import L from "@arcgis/core/request.js";
6
+ import * as v from "@arcgis/core/core/sql.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.1 */
9
+ v5.0.0-next.100 */
10
10
  var b = /* @__PURE__ */ ((e) => (e.expression = "expression/", e.raster = "Raster.", e.relationship = "relationships/", e))(b || {});
11
+ const H = ["feature"];
12
+ function z(e) {
13
+ return "fieldConfigurations" in e && H.includes(e.type);
14
+ }
11
15
  function x(e) {
12
16
  return e != null;
13
17
  }
14
- function Le(e, r) {
15
- const t = e.fieldName;
16
- if (t.includes(b.expression)) {
17
- const i = r.get(t);
18
- return i?.title ? i.title : t;
19
- } else
20
- return e.label ? e.label : t;
18
+ function be(e, r, t) {
19
+ const i = r.fieldName;
20
+ if (i.includes(b.expression)) {
21
+ const s = t.get(i);
22
+ return s?.title ? s.title : i;
23
+ } else return z(e) && e.getFieldConfiguration(i) ? e.getFieldAlias(i) || i : r.label || i;
21
24
  }
22
- function Oe(e, r, t) {
25
+ function Re(e, r, t) {
23
26
  let i = "";
24
27
  if (/^raster.(?:item|service)pixelvalue/iu.test(e))
25
28
  i = "number";
@@ -33,19 +36,19 @@ function Oe(e, r, t) {
33
36
  i = "number";
34
37
  return i;
35
38
  }
36
- async function be(e) {
39
+ async function xe(e) {
37
40
  return new Map(
38
- (await H(e)).filter((r) => r.visible).map((r) => [r.name, r])
41
+ (await X(e)).filter((r) => r.visible).map((r) => [r.name, r])
39
42
  );
40
43
  }
41
- function Re(e) {
44
+ function Te(e) {
42
45
  const r = /* @__PURE__ */ new Map();
43
46
  return e?.expressionInfos && e.expressionInfos.forEach((t) => {
44
47
  const i = `${b.expression}${t.name}`;
45
48
  r.set(i, t);
46
49
  }), r;
47
50
  }
48
- async function H(e) {
51
+ async function X(e) {
49
52
  return await new Promise((r, t) => {
50
53
  switch (e.type) {
51
54
  case "feature":
@@ -80,28 +83,28 @@ async function H(e) {
80
83
  }
81
84
  });
82
85
  }
83
- const z = (e) => e && !e.endsWith("/") ? `${e}/` : e;
86
+ const Y = (e) => e && !e.endsWith("/") ? `${e}/` : e;
84
87
  function O(e) {
85
- return z(e.restUrl);
88
+ return Y(e.restUrl);
86
89
  }
87
90
  function P(e, r) {
88
- return J(e, r) || X(e, r);
91
+ return G(e, r) || Z(e, r);
89
92
  }
90
- function J(e, r) {
93
+ function G(e, r) {
91
94
  return e.owner === r.username;
92
95
  }
93
- function X(e, r) {
96
+ function Z(e, r) {
94
97
  const t = e.owner, i = e.itemControl === "admin", s = ["esri_livingatlas", "esri_demographics", "esri_boundaries"];
95
- return e.portal?.isPortal && !J(e, r) && i && t?.includes("esri_") && // portal incorrectly returns "itemControl="admin" for esri owned items
98
+ return e.portal?.isPortal && !G(e, r) && i && t?.includes("esri_") && // portal incorrectly returns "itemControl="admin" for esri owned items
96
99
  !s.includes(t) ? !1 : i;
97
100
  }
98
- function Y(e) {
101
+ function ee(e) {
99
102
  return e.typeKeywords?.includes("Spatiotemporal");
100
103
  }
101
- function N(e) {
104
+ function J(e) {
102
105
  return e.typeKeywords?.includes("View Service");
103
106
  }
104
- function G(e) {
107
+ function N(e) {
105
108
  return e.typeKeywords?.includes("Hosted Service");
106
109
  }
107
110
  function E(e) {
@@ -117,7 +120,7 @@ async function D(e) {
117
120
  const t = r.portal;
118
121
  if (t?.user) {
119
122
  const i = `${O(t)}community/users/${t.user.username}`;
120
- return await v(i, {
123
+ return await L(i, {
121
124
  query: {
122
125
  f: "json",
123
126
  token: r.portal.credential?.token
@@ -138,7 +141,7 @@ async function k(e) {
138
141
  if (!r)
139
142
  return await Promise.resolve(null);
140
143
  const t = r.portal, i = `${O(t)}content/items/${r.id}/groups`;
141
- return await v(i, {
144
+ return await L(i, {
142
145
  query: {
143
146
  f: "json",
144
147
  token: r.portal.credential?.token
@@ -152,14 +155,14 @@ async function k(e) {
152
155
  async () => await Promise.reject(new Error("Failed to fetch item groups"))
153
156
  );
154
157
  }
155
- async function j(e, r, { relationshipType: t, direction: i }) {
158
+ async function C(e, r, { relationshipType: t, direction: i }) {
156
159
  const s = `${O(r)}content/items/${e}/relatedItems`;
157
- return await v(s, {
160
+ return await L(s, {
158
161
  query: { f: "json", relationshipType: t, direction: i },
159
162
  responseType: "json"
160
163
  });
161
164
  }
162
- function A(e, r) {
165
+ function j(e, r) {
163
166
  return e?.some(
164
167
  (t) => r?.some(
165
168
  (i) => t.id === i.id && t.capabilities.includes("updateitemcontrol")
@@ -169,31 +172,31 @@ function A(e, r) {
169
172
  function o(e, r) {
170
173
  return !e || !r ? !1 : e.toLocaleLowerCase() === r.toLocaleLowerCase();
171
174
  }
172
- async function xe(e) {
175
+ async function Pe(e) {
173
176
  const r = ["feature", "oriented-imagery"].includes(e.type), t = e?.portalItem, i = e.sourceJSON;
174
177
  if (!r || !t)
175
178
  return !1;
176
179
  const s = t.portal;
177
- if (!s?.user || N(t) || !G(t) || E(t) || V(i))
180
+ if (!s?.user || J(t) || !N(t) || E(t) || V(i))
178
181
  return !1;
179
- const d = P(t, s.user), I = await D(e) ?? [], F = await k(e) ?? [], f = A(I, F);
182
+ const d = P(t, s.user), I = await D(e) ?? [], F = await k(e) ?? [], f = j(I, F);
180
183
  if (!d && !f)
181
184
  return !1;
182
- const h = await j(t.id, s, {
185
+ const h = await C(t.id, s, {
183
186
  relationshipType: "Service2Service"
184
187
  });
185
188
  return !(h?.data?.relatedItems && h.data.relatedItems.some(
186
189
  (S) => ["WMTS", "Map Service", "Vector Tile Service"].includes(S.type)
187
190
  ));
188
191
  }
189
- async function Te(e, r, t, i) {
192
+ async function Ge(e, r, t, i) {
190
193
  if (!t)
191
194
  return !1;
192
195
  const s = ["feature", "oriented-imagery"].includes(r.type), n = i?.item ?? r.portalItem, a = r.sourceJSON;
193
- if (!s || !n || !n.portal.user || !G(n) || N(n) || E(n) || V(a) || n.portal.isPortal && Y(n) || ["oid", "global-id", "geometry"].includes(t.type) || await Z(r, t.name, i))
196
+ if (!s || !n || !n.portal.user || !N(n) || J(n) || E(n) || V(a) || n.portal.isPortal && ee(n) || ["oid", "global-id", "geometry"].includes(t.type) || await re(r, t.name, i))
194
197
  return !1;
195
- const w = r.sourceJSON.geometryProperties, S = w?.shapeLengthFieldName, $ = w?.shapeAreaFieldName;
196
- if (o(S, t.name) || o($, t.name))
198
+ const w = r.sourceJSON.geometryProperties, S = w?.shapeLengthFieldName, M = w?.shapeAreaFieldName;
199
+ if (o(S, t.name) || o(M, t.name))
197
200
  return !1;
198
201
  const g = r.editFieldsInfo;
199
202
  if (g && (o(g.creationDateField, t.name) || o(g.creatorField, t.name) || o(g.editDateField, t.name) || o(g.editorField, t.name)) || o(r.objectIdField, t.name) || o(r.displayField, t.name) || o(r.typeIdField, t.name) || o(r.subtypeField, t.name) || r.timeInfo && (o(r.timeInfo.startField, t.name) || o(r.timeInfo.endField, t.name) || o(r.timeInfo.trackIdField, t.name)))
@@ -215,29 +218,29 @@ async function Te(e, r, t, i) {
215
218
  const u = r.labelingInfo?.map(
216
219
  (m) => m.labelExpressionInfo?.expression
217
220
  );
218
- if (u && ((await p.getExpressionFields(r, u)).some((Q) => o(Q, t.name)) || await U(r, t, "layer")))
221
+ if (u && ((await p.getExpressionFields(r, u)).some((Q) => o(Q, t.name)) || await A(r, t, "layer")))
219
222
  return !1;
220
223
  }
221
- if (!i?.ignoreLayerDefinitionExpression && r.definitionExpression && (await L.parseWhereClause(r.definitionExpression, r.fieldsIndex)).fieldNames.some((y) => o(y, t.name)) || await re(r, t, i) || await te(r, t))
224
+ if (!i?.ignoreLayerDefinitionExpression && r.definitionExpression && (await v.parseWhereClause(r.definitionExpression, r.fieldsIndex)).fieldNames.some((y) => o(y, t.name)) || await ie(r, t, i) || await se(r, t))
222
225
  return !1;
223
- if (await ie(r, t))
226
+ if (await ne(r, t))
224
227
  return await Promise.resolve(!1);
225
- if (await se(r, t))
228
+ if (await ae(r, t))
226
229
  return await Promise.resolve(!1);
227
- if (ee(e, r, t) || r.relationships?.map((u) => u.keyField)?.some((u) => o(u, t.name)))
230
+ if (te(e, r, t) || r.relationships?.map((u) => u.keyField)?.some((u) => o(u, t.name)))
228
231
  return !1;
229
- const C = P(n, n.portal.user), W = i?.userItemInfo?.userGroups ?? await D(r) ?? [], q = i?.userItemInfo?.itemGroups ?? await k(r) ?? [], B = A(W, q);
230
- if (!C && !B)
232
+ const $ = P(n, n.portal.user), W = i?.userItemInfo?.userGroups ?? await D(r) ?? [], q = i?.userItemInfo?.itemGroups ?? await k(r) ?? [], B = j(W, q);
233
+ if (!$ && !B)
231
234
  return !1;
232
- const R = i?.userItemInfo?.relatedItems ?? await j(n.id, n.portal, {
235
+ const R = i?.userItemInfo?.relatedItems ?? await C(n.id, n.portal, {
233
236
  relationshipType: "Service2Service"
234
237
  });
235
238
  return !(R?.data?.relatedItems && R.data.relatedItems.some(
236
239
  (m) => ["WMTS", "Map Service", "Vector Tile Service"].includes(m.type)
237
240
  ));
238
241
  }
239
- async function Z(e, r, t) {
240
- const i = `${e.url}/${e.layerId}/fieldGroups`, s = t?.userItemInfo?.fieldGroups ?? (await v(i, {
242
+ async function re(e, r, t) {
243
+ const i = `${e.url}/${e.layerId}/fieldGroups`, s = t?.userItemInfo && "fieldGroups" in t.userItemInfo ? t.userItemInfo.fieldGroups : (await L(i, {
241
244
  query: { f: "json" },
242
245
  responseType: "json"
243
246
  }))?.data?.fieldGroups;
@@ -245,7 +248,7 @@ async function Z(e, r, t) {
245
248
  (a) => a.fields.some((l) => o(l, r))
246
249
  ) : !1;
247
250
  }
248
- function ee(e, r, t) {
251
+ function te(e, r, t) {
249
252
  if (!e)
250
253
  return !1;
251
254
  const i = e.map?.applicationProperties?.viewing?.search;
@@ -259,14 +262,14 @@ function ee(e, r, t) {
259
262
  }
260
263
  return !1;
261
264
  }
262
- async function U(e, r, t) {
265
+ async function A(e, r, t) {
263
266
  const i = t === "layer" ? e.labelingInfo?.filter((a) => x(a.where)) : e.sourceJSON?.drawingInfo?.labelingInfo?.filter((a) => x(a.where));
264
267
  if (!i?.length)
265
268
  return !1;
266
269
  const s = [
267
270
  ...await Promise.all(
268
271
  i.map(
269
- async (a) => await L.parseWhereClause(a.where, e.fieldsIndex)
272
+ async (a) => await v.parseWhereClause(a.where, e.fieldsIndex)
270
273
  )
271
274
  )
272
275
  ];
@@ -280,11 +283,11 @@ async function U(e, r, t) {
280
283
  }
281
284
  return await Promise.resolve(n);
282
285
  }
283
- async function re(e, r, t) {
286
+ async function ie(e, r, t) {
284
287
  const i = e.portalItem;
285
288
  if (!i)
286
289
  return !1;
287
- const s = `${O(i.portal)}content/items/${i.id}/data`, a = (t?.userItemInfo?.itemData ?? await v(s, {
290
+ const s = `${O(i.portal)}content/items/${i.id}/data`, a = (t?.userItemInfo?.itemData ?? await L(s, {
288
291
  query: { f: "json" },
289
292
  responseType: "json"
290
293
  }))?.data;
@@ -299,12 +302,12 @@ async function re(e, r, t) {
299
302
  if ((await p.getRendererFields(f, e.fieldsIndex)).some((S) => o(S, r.name)))
300
303
  return !0;
301
304
  }
302
- if (!t?.ignoreItemFeatureReduction && I && await M(e, r, I) || F && (await L.parseWhereClause(F, e.fieldsIndex)).fieldNames.some((w) => o(w, r.name)))
305
+ if (!t?.ignoreItemFeatureReduction && I && await U(e, r, I) || F && (await v.parseWhereClause(F, e.fieldsIndex)).fieldNames.some((w) => o(w, r.name)))
303
306
  return !0;
304
307
  }
305
308
  return !1;
306
309
  }
307
- async function te(e, r) {
310
+ async function se(e, r) {
308
311
  const t = e.sourceJSON, i = t?.drawingInfo?.renderer, s = t?.featureReduction;
309
312
  if (!i && !s)
310
313
  return !1;
@@ -313,13 +316,13 @@ async function te(e, r) {
313
316
  if ((await p.getRendererFields(n, e.fieldsIndex)).some((c) => o(c, r.name)))
314
317
  return !0;
315
318
  }
316
- return !!(s && await M(
319
+ return !!(s && await U(
317
320
  e,
318
321
  r,
319
322
  s
320
323
  ));
321
324
  }
322
- async function ie(e, r) {
325
+ async function ne(e, r) {
323
326
  const i = e.sourceJSON?.drawingInfo?.labelingInfo;
324
327
  if (!i)
325
328
  return await Promise.resolve(!1);
@@ -329,28 +332,29 @@ async function ie(e, r) {
329
332
  if (s) {
330
333
  if ((await p.getExpressionFields(e, s)).some((c) => o(c, r.name)))
331
334
  return await Promise.resolve(!0);
332
- if (await U(e, r, "service"))
335
+ if (await A(e, r, "service"))
333
336
  return await Promise.resolve(!0);
334
337
  }
335
338
  return await Promise.resolve(!1);
336
339
  }
337
- async function se(e, r) {
340
+ async function ae(e, r) {
338
341
  const i = e.sourceJSON?.definitionQuery;
339
- return i ? (await L.parseWhereClause(i, e.fieldsIndex)).fieldNames.some((a) => o(a, r.name)) ? await Promise.resolve(!0) : await Promise.resolve(!1) : await Promise.resolve(!1);
342
+ return i ? (await v.parseWhereClause(i, e.fieldsIndex)).fieldNames.some((a) => o(a, r.name)) ? await Promise.resolve(!0) : await Promise.resolve(!1) : await Promise.resolve(!1);
340
343
  }
341
- async function M(e, r, t) {
344
+ async function U(e, r, t) {
342
345
  const i = t.type === "binning" ? K.fromJSON(t) : _.fromJSON(t), s = /* @__PURE__ */ new Set();
343
346
  return await p.collectFeatureReductionFields(s, e, i), !!Array.from(s).some(
344
347
  (a) => o(a, r.name)
345
348
  );
346
349
  }
347
350
  export {
348
- Te as a,
349
- Re as b,
350
- xe as c,
351
- Le as d,
351
+ Ge as a,
352
+ Te as b,
353
+ Pe as c,
354
+ be as d,
352
355
  O as e,
353
- Oe as f,
354
- be as g,
355
- x as i
356
+ Re as f,
357
+ xe as g,
358
+ x as i,
359
+ z as s
356
360
  };
@@ -6,7 +6,7 @@ import { makeAccessorController as C } from "@arcgis/lumina/controllers/accessor
6
6
  import { Task as v } from "@lit/task";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.1 */
9
+ v5.0.0-next.100 */
10
10
  var w = Object.defineProperty, g = Object.getOwnPropertyDescriptor, e = (i, a, s, t) => {
11
11
  for (var r = t > 1 ? void 0 : t ? g(a, s) : a, l = i.length - 1, c; l >= 0; l--)
12
12
  (c = i[l]) && (r = (t ? c(a, s, r) : c(r)) || r);
@@ -2,7 +2,7 @@ import n from "@arcgis/core/request.js";
2
2
  import { once as c } from "@arcgis/core/core/reactiveUtils.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.1 */
5
+ v5.0.0-next.100 */
6
6
  async function f(s, t) {
7
7
  const i = `${s}/portals/self/classification/classificationSchema`, e = {};
8
8
  try {
@@ -59,7 +59,7 @@ async function v(s, t) {
59
59
  const o = await n(e, { query: a, method: "post" });
60
60
  r.result = o.data.success;
61
61
  } catch (o) {
62
- console.error("error: ", o), r.error = o;
62
+ console.error(o), r.error = o;
63
63
  }
64
64
  return r;
65
65
  }
@@ -3,8 +3,8 @@ import { makeRuntime as e } from "@arcgis/lumina";
3
3
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.1 */
7
- const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/portal-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
6
+ v5.0.0-next.100 */
7
+ const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/5.0.0-next/portal-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
8
8
  t.t = s;
9
9
  t.o = r;
10
10
  t.c = a;
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
2
2
  import { g as t } from "./runtime.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.1 */
5
+ v5.0.0-next.100 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u
@@ -1,15 +1,16 @@
1
- import { c as e } from "../../chunks/runtime.js";
2
- import { LitElement as r, safeStyleMap as l } from "@arcgis/lumina";
3
- import { u as c, c as n } from "../../chunks/loadClassificationData.js";
4
- import { u as f } from "../../chunks/useT9n.js";
5
- import { css as d, html as t } from "lit";
1
+ import { c as r } from "../../chunks/runtime.js";
2
+ import { LitElement as l, safeStyleMap as c } from "@arcgis/lumina";
3
+ import { u as n, c as f } from "../../chunks/loadClassificationData.js";
4
+ import { u as d } from "../../chunks/useT9n.js";
5
+ import { css as h, html as s } from "lit";
6
+ import { rethrowError as o } from "@arcgis/toolkit/log";
6
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
7
8
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
8
- v5.0.0-next.1 */
9
- const m = d`.banner{box-sizing:border-box;width:100%;left:0;text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-spacing-sm);font-size:var(--calcite-font-size);text-transform:uppercase;overflow-wrap:break-word}.invalid-container{background-color:#fff;color:#000;display:flex;align-items:center;justify-content:center;gap:8px}.invalid-icon{--calcite-ui-icon-color: var(--calcite-color-status-danger)}.invalid-message{text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-spacing-sm);font-size:var(--calcite-font-size);overflow-wrap:break-word}`;
10
- class h extends r {
9
+ v5.0.0-next.100 */
10
+ const m = h`.banner{box-sizing:border-box;width:100%;left:0;text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-spacing-sm);font-size:var(--calcite-font-size);text-transform:uppercase;overflow-wrap:break-word}.invalid-container{background-color:#fff;color:#000;display:flex;align-items:center;justify-content:center;gap:8px}.invalid-icon{--calcite-icon-color: var(--calcite-color-status-danger)}.invalid-message{text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-spacing-sm);font-size:var(--calcite-font-size);overflow-wrap:break-word}`;
11
+ class p extends l {
11
12
  constructor() {
12
- super(...arguments), this.classificationModel = c(this), this.messages = f(), this._classificationDataTask = n(this), this.portalClassificationSchema = this.classificationModel.portalClassificationSchema, this.status = this.classificationModel.status, this.missingExistingClassification = !1, this.variant = "full", this.autoDestroyDisabled = !1, this.validationErrors = "";
13
+ super(...arguments), this.classificationModel = n(this), this.messages = d(), this._classificationDataTask = f(this), this.portalClassificationSchema = this.classificationModel.portalClassificationSchema, this.status = this.classificationModel.status, this.missingExistingClassification = !1, this.variant = "full", this.autoDestroyDisabled = !1, this.validationErrors = "";
13
14
  }
14
15
  static {
15
16
  this.properties = { portalClassificationSchema: 16, status: 16, itemClassification: 16, portalItem: 0, missingExistingClassification: 5, variant: 1, autoDestroyDisabled: 5, validationErrors: 1 };
@@ -29,17 +30,17 @@ class h extends r {
29
30
  this.variant === "preview" ? null : i.id,
30
31
  i.classification,
31
32
  i?.portal.restUrl
32
- ).catch(console.error).then((s) => {
33
- this.validationErrors = s ?? "";
33
+ ).catch(o(this)).then((t) => {
34
+ this.validationErrors = t ?? "";
34
35
  }) : this.validationErrors = "";
35
- }).catch(console.error);
36
+ }).catch(o(this));
36
37
  }
37
38
  }
38
39
  getStyle() {
39
40
  const a = {};
40
41
  if (this.variant === "preview" && (a.fontSize = "var(--calcite-font-size-sm)", a.padding = "var(--calcite-spacing-xs)"), this.itemClassification && this.portalClassificationSchema) {
41
- const i = this.itemClassification.classification, s = this.portalClassificationSchema.classificationMetadata.classificationValueProperties.find(({ value: o }) => o === i);
42
- s?.backgroundColor && (a.backgroundColor = s.backgroundColor), s?.textColor && (a.color = s.textColor);
42
+ const i = this.itemClassification.classification, t = this.portalClassificationSchema.classificationMetadata.classificationValueProperties.find(({ value: e }) => e === i);
43
+ t?.backgroundColor && (a.backgroundColor = t.backgroundColor), t?.textColor && (a.color = t.textColor);
43
44
  }
44
45
  return a;
45
46
  }
@@ -51,12 +52,12 @@ class h extends r {
51
52
  error: void 0,
52
53
  complete: () => (
53
54
  /** Only render the banner if the portal has a classification schema and it's accessed not anonymously */
54
- this.portalClassificationSchema && this.portalItem?.portal.authMode !== "anonymous" ? this.validationErrors && this.variant === "full" ? t`<div class="invalid-container"><calcite-icon class="invalid-icon" scale=s icon=exclamation-mark-triangle .textLabel=${this.messages.invalidclassificationerror}></calcite-icon><span class="invalid-message">${this.messages.invalidclassificationerror}</span></div>` : t`<div class="banner" style=${l(this.getStyle())}>${this.itemClassification?.banner ?? this.messages.notyetclassified ?? "Not yet classified"}</div>` : ""
55
+ this.portalClassificationSchema && this.portalItem?.portal.authMode !== "anonymous" ? this.validationErrors && this.variant === "full" ? s`<div class="invalid-container"><calcite-icon class="invalid-icon" scale=s icon=exclamation-mark-triangle .textLabel=${this.messages.invalidclassificationerror}></calcite-icon><span class="invalid-message">${this.messages.invalidclassificationerror}</span></div>` : s`<div class="banner" style=${c(this.getStyle())}>${this.itemClassification?.banner ?? this.messages.notyetclassified ?? "Not yet classified"}</div>` : ""
55
56
  )
56
57
  });
57
58
  }
58
59
  }
59
- e("arcgis-portal-classification-banner", h);
60
+ r("arcgis-portal-classification-banner", p);
60
61
  export {
61
- h as ArcgisPortalClassificationBanner
62
+ p as ArcgisPortalClassificationBanner
62
63
  };