@esri/solutions-components 0.10.29 → 0.10.31
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-alert_5.cjs.entry.js +33 -12
- package/dist/cjs/calcite-flow_4.cjs.entry.js +15 -17
- package/dist/cjs/card-manager_3.cjs.entry.js +0 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +45 -22
- package/dist/cjs/feature-list.cjs.entry.js +16 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ar.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_bg.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_bs.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ca.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_cs.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_da.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_de.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_el.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_es.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_et.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_fi.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_fr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_he.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_hr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_hu.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_id.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_it.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ja.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ko.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_lt.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_lv.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_nb.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_nl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_pl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_pt-BR.json +2 -2
- package/dist/collection/assets/t9n/create-feature/resources_pt-PT.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ro.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_ru.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sk.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sl.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_sv.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_th.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_tr.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_uk.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_vi.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-CN.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-HK.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_zh-TW.json +1 -1
- package/dist/collection/components/card-manager/card-manager.js +0 -2
- package/dist/collection/components/create-feature/create-feature.css +8 -1
- package/dist/collection/components/create-feature/create-feature.js +32 -31
- package/dist/collection/components/create-related-feature/create-related-feature.js +9 -26
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +45 -23
- package/dist/collection/components/feature-details/feature-details.js +6 -8
- package/dist/collection/components/feature-list/feature-list.js +16 -10
- package/dist/collection/components/map-select-tools/map-select-tools.js +4 -1
- package/dist/components/card-manager2.js +0 -2
- package/dist/components/create-feature2.js +33 -13
- package/dist/components/create-related-feature2.js +9 -10
- package/dist/components/crowdsource-reporter.js +45 -23
- package/dist/components/feature-details2.js +6 -8
- package/dist/components/feature-list2.js +16 -10
- package/dist/components/map-select-tools2.js +4 -1
- package/dist/esm/calcite-alert_5.entry.js +33 -12
- package/dist/esm/calcite-flow_4.entry.js +15 -17
- package/dist/esm/card-manager_3.entry.js +0 -2
- package/dist/esm/crowdsource-reporter.entry.js +45 -22
- package/dist/esm/feature-list.entry.js +16 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +4 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ar.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_bg.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_bs.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ca.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_cs.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_da.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_de.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_el.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_es.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_et.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_fi.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_fr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_he.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_hr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_hu.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_id.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_it.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ja.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ko.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_lt.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_lv.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_nb.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_nl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_pl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-BR.json +2 -2
- package/dist/solutions-components/assets/t9n/create-feature/resources_pt-PT.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ro.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_ru.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sk.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sl.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_sv.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_th.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_tr.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_uk.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_vi.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-CN.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-HK.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_zh-TW.json +1 -1
- package/dist/solutions-components/p-0a578582.entry.js +6 -0
- package/dist/solutions-components/p-1f072e2c.entry.js +11 -0
- package/dist/solutions-components/p-cc4c013e.entry.js +6 -0
- package/dist/solutions-components/p-dd0bd439.entry.js +17 -0
- package/dist/solutions-components/p-edd88d2d.entry.js +6 -0
- package/dist/solutions-components/{p-971b67d7.entry.js → p-ff8b0603.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/create-feature/create-feature.d.ts +17 -5
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +4 -4
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +10 -9
- package/dist/types/components/feature-list/feature-list.d.ts +1 -2
- package/dist/types/components.d.ts +0 -9
- package/package.json +1 -1
- package/dist/solutions-components/p-24ae549d.entry.js +0 -6
- package/dist/solutions-components/p-399dc933.entry.js +0 -17
- package/dist/solutions-components/p-634f86e5.entry.js +0 -11
- package/dist/solutions-components/p-94a5d59f.entry.js +0 -6
- package/dist/solutions-components/p-988c0d5e.entry.js +0 -6
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Направете избор от списъка по-долу.",
|
3
3
|
"provideDetailsMsg": "Моля, предоставете подробностите.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "й_Please specify the location_____________________________й."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Odaberite s donjeg popisa.",
|
3
3
|
"provideDetailsMsg": "Navedite pojedinosti.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Č_Please specify the location_____________________________ž."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Feu una selecció a la llista següent.",
|
3
3
|
"provideDetailsMsg": "Proporcioneu els detalls.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ó_Please specify the location_____________________________à."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Vyberte ze seznamu níže.",
|
3
3
|
"provideDetailsMsg": "Zadejte podrobnosti.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Ř_Please specify the location_____________________________ů."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Foretag et valg på listen herunder.",
|
3
3
|
"provideDetailsMsg": "Angiv oplysningerne.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ø_Please specify the location_____________________________å."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Treffen Sie in der Liste unten eine Auswahl.",
|
3
3
|
"provideDetailsMsg": "Geben Sie die Details an.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ä_Please specify the location_____________________________Ü."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Κάντε μια επιλογή από τη λίστα παρακάτω.",
|
3
3
|
"provideDetailsMsg": "Καταχωρήστε τις λεπτομέρειες.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Đ_Please specify the location_____________________________ớ."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Realice una selección de la siguiente lista.",
|
3
3
|
"provideDetailsMsg": "Facilite los datos.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "á_Please specify the location_____________________________Ó."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Tehke valik allpool olevast loendist.",
|
3
3
|
"provideDetailsMsg": "Esitage üksikasjad.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Š_Please specify the location_____________________________ä."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Tee valinta alla olevasta luettelosta.",
|
3
3
|
"provideDetailsMsg": "Anna tiedot.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Å_Please specify the location_____________________________ö."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Effectuez une sélection dans la liste ci-dessous.",
|
3
3
|
"provideDetailsMsg": "Fournissez les informations requises.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "æ_Please specify the location_____________________________Â."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Odaberite s donjeg popisa.",
|
3
3
|
"provideDetailsMsg": "Navedite pojedinosti.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Č_Please specify the location_____________________________ž."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Válasszon az alábbi listából.",
|
3
3
|
"provideDetailsMsg": "Kérjük, adja meg a részleteket.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "í_Please specify the location_____________________________ő."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Buat pilihan dari daftar di bawah.",
|
3
3
|
"provideDetailsMsg": "Berikan detail.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ng_Please specify the location_____________________________ny."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Selezionare dall'elenco sottostante.",
|
3
3
|
"provideDetailsMsg": "Fornire i dettagli.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "é_Please specify the location_____________________________È."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Pasirinkite iš toliau pateikto sąrašo.",
|
3
3
|
"provideDetailsMsg": "Pateikite informacijos.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Į_Please specify the location_____________________________š."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Veiciet atlasi no saraksta zemāk.",
|
3
3
|
"provideDetailsMsg": "Lūdzu, sniedziet sīkāku informāciju.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ķ_Please specify the location_____________________________ū."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Foreta et utvalg fra listen nedenfor.",
|
3
3
|
"provideDetailsMsg": "Oppgi detaljer.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "å_Please specify the location_____________________________ø."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Maak een selectie in de onderstaande lijst.",
|
3
3
|
"provideDetailsMsg": "Geef de details op.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "IJ_Please specify the location_____________________________ä."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Dokonaj wyboru z poniższej listy.",
|
3
3
|
"provideDetailsMsg": "Podaj szczegóły.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ł_Please specify the location_____________________________ą."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"chooseCategoryMsg": "
|
2
|
+
"chooseCategoryMsg": "Crie uma seleção na lista abaixo.",
|
3
3
|
"provideDetailsMsg": "Forneça os detalhes.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ã_Please specify the location_____________________________Ç."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Faça uma seleção a partir da lista abaixo.",
|
3
3
|
"provideDetailsMsg": "Forneça os detalhes.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ã_Please specify the location_____________________________Ç."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Faceți o selecție din lista de mai jos.",
|
3
3
|
"provideDetailsMsg": "Furnizați detaliile.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Ă_Please specify the location_____________________________ș."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Сделать выборку из списка ниже.",
|
3
3
|
"provideDetailsMsg": "Предоставьте подробную информацию.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Ж_Please specify the location_____________________________Я."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Vyberte si z nižšie uvedeného zoznamu.",
|
3
3
|
"provideDetailsMsg": "Uveďte podrobnosti.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ĺ_Please specify the location_____________________________ľ."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Naredite izbor iz spodnjega seznama.",
|
3
3
|
"provideDetailsMsg": "Navedite podrobnosti.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Š_Please specify the location_____________________________č."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Napravite izbor sa liste ispod.",
|
3
3
|
"provideDetailsMsg": "Navedite podatke.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Č_Please specify the location_____________________________ž."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Gör ett val från listan nedan.",
|
3
3
|
"provideDetailsMsg": "Ange detaljer.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Å_Please specify the location_____________________________ö."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Aşağıdaki listeden bir seçim yapın.",
|
3
3
|
"provideDetailsMsg": "Lütfen ayrıntıları sağlayın.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ı_Please specify the location_____________________________İ."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Зробіть вибір з наведеного нижче списку.",
|
3
3
|
"provideDetailsMsg": "Надайте відомості.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "ґ_Please specify the location_____________________________Ї."
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"chooseCategoryMsg": "Đưa ra lựa chọn từ danh sách phía dưới.",
|
3
3
|
"provideDetailsMsg": "Vui lòng cung cấp thông tin chi tiết.",
|
4
|
-
"provideLocationMsg": "
|
4
|
+
"provideLocationMsg": "Đ_Please specify the location_____________________________ớ."
|
5
5
|
}
|
@@ -176,7 +176,6 @@ export class CardManager {
|
|
176
176
|
*/
|
177
177
|
async _backFromCreateFeature() {
|
178
178
|
if (this._createFeature) {
|
179
|
-
await this._createFeature.close();
|
180
179
|
this._showCreateFeatureComponent = false;
|
181
180
|
this.backFromCreateWorkFlow.emit();
|
182
181
|
}
|
@@ -187,7 +186,6 @@ export class CardManager {
|
|
187
186
|
* @protected
|
188
187
|
*/
|
189
188
|
_featureCreated() {
|
190
|
-
void this._createFeature.close();
|
191
189
|
this._showCreateFeatureComponent = false;
|
192
190
|
this._showSubmitBtn = false;
|
193
191
|
this._isFeatureCreated = true;
|
@@ -63,7 +63,6 @@
|
|
63
63
|
position: absolute;
|
64
64
|
bottom: 0;
|
65
65
|
width: calc(100% - 22px);
|
66
|
-
height: 50%;
|
67
66
|
}
|
68
67
|
|
69
68
|
.notice-msg {
|
@@ -74,4 +73,12 @@
|
|
74
73
|
/* override the padding of the feature form */
|
75
74
|
.esri-editor__panel-content {
|
76
75
|
padding-block: 10px !important;
|
76
|
+
}
|
77
|
+
|
78
|
+
/* overide css for editor widget in case of mobile */
|
79
|
+
@media only screen and (max-width: 600px) {
|
80
|
+
.esri-editor__panel-content {
|
81
|
+
padding-block: 0 !important;
|
82
|
+
min-height: 0 !important;
|
83
|
+
}
|
77
84
|
}
|
@@ -122,6 +122,14 @@ export class CreateFeature {
|
|
122
122
|
* __esri.FeatureLayer: selected feature layer;
|
123
123
|
*/
|
124
124
|
_selectedLayer;
|
125
|
+
/**
|
126
|
+
* HTMLDivElement: refrence for search div element
|
127
|
+
*/
|
128
|
+
_searchDiv;
|
129
|
+
/**
|
130
|
+
* HTMLCalciteNoticeElement: calcite notice refrence element
|
131
|
+
*/
|
132
|
+
_calciteNotice;
|
125
133
|
//--------------------------------------------------------------------------
|
126
134
|
//
|
127
135
|
// Watch handlers
|
@@ -169,15 +177,6 @@ export class CreateFeature {
|
|
169
177
|
// Methods (public)
|
170
178
|
//
|
171
179
|
//--------------------------------------------------------------------------
|
172
|
-
/**
|
173
|
-
* Destroy the Editor widget instance
|
174
|
-
* @returns Promise that resolves when the operation is complete
|
175
|
-
*/
|
176
|
-
async close() {
|
177
|
-
if (this._editor) {
|
178
|
-
this._editor.destroy();
|
179
|
-
}
|
180
|
-
}
|
181
180
|
/**
|
182
181
|
* Submit the created feature
|
183
182
|
* @returns Promise that resolves when the operation is complete
|
@@ -245,6 +244,26 @@ export class CreateFeature {
|
|
245
244
|
async componentDidLoad() {
|
246
245
|
await this.init();
|
247
246
|
}
|
247
|
+
/**
|
248
|
+
* Called after each render
|
249
|
+
* Used to adjust the map top in case of mobile
|
250
|
+
*/
|
251
|
+
componentDidRender() {
|
252
|
+
// update the map top according to space occupied by notice msg and search
|
253
|
+
if (this.isMobile) {
|
254
|
+
// get the height of notice, search and add 80px(editor msg) height to adjust the map top
|
255
|
+
const top = this._calciteNotice.offsetHeight + this._searchDiv.offsetHeight + 80;
|
256
|
+
this._mapViewContainer.style.top = `${top}px`;
|
257
|
+
}
|
258
|
+
}
|
259
|
+
/**
|
260
|
+
* StencilJS: Called every time the component is disconnected from the DOM,
|
261
|
+
*/
|
262
|
+
disconnectedCallback() {
|
263
|
+
if (this._editor) {
|
264
|
+
this._editor.destroy();
|
265
|
+
}
|
266
|
+
}
|
248
267
|
/**
|
249
268
|
* Renders the component.
|
250
269
|
*/
|
@@ -262,7 +281,8 @@ export class CreateFeature {
|
|
262
281
|
else if (this._currentPage === 'featureForm') {
|
263
282
|
guidingMsg = this._translations.provideDetailsMsg;
|
264
283
|
}
|
265
|
-
return (h(Fragment, { key: '
|
284
|
+
return (h(Fragment, { key: '89634bf5707ea8390416d3087bfbe4e747bafcd7' }, showGuidingMsg && h("calcite-notice", { key: '4269224c2904f29060081f6cb8f383f1cf8d741d', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: 'ecc3cca85c81d1cb7ab7cdc89b99e31afcb55f76', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '34e492c0c469b39d4cfbcda17c4ba196ccb39eb8', class: loaderClass, label: "", scale: "s" }), h("div", { key: 'b2073ef4b6124b54038de34798cdf83337626023', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
|
285
|
+
h("div", { key: 'cd13e98b6a40d5d89d271b5785f797e9bfc19900', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '2575b2d20f7713b05a2024e77452af93eb64e147', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
|
266
286
|
}
|
267
287
|
//--------------------------------------------------------------------------
|
268
288
|
//
|
@@ -310,7 +330,8 @@ export class CreateFeature {
|
|
310
330
|
this._mapViewContainer.classList.add('hide-map');
|
311
331
|
await new this.MapView({
|
312
332
|
map: this.mapView.map,
|
313
|
-
container: this._mapViewContainer
|
333
|
+
container: this._mapViewContainer,
|
334
|
+
zoom: this.mapView.zoom
|
314
335
|
}).when((view) => {
|
315
336
|
// update the mapView and load all widgets
|
316
337
|
this._updatedMapView = view;
|
@@ -966,26 +987,6 @@ export class CreateFeature {
|
|
966
987
|
}
|
967
988
|
static get methods() {
|
968
989
|
return {
|
969
|
-
"close": {
|
970
|
-
"complexType": {
|
971
|
-
"signature": "() => Promise<void>",
|
972
|
-
"parameters": [],
|
973
|
-
"references": {
|
974
|
-
"Promise": {
|
975
|
-
"location": "global",
|
976
|
-
"id": "global::Promise"
|
977
|
-
}
|
978
|
-
},
|
979
|
-
"return": "Promise<void>"
|
980
|
-
},
|
981
|
-
"docs": {
|
982
|
-
"text": "Destroy the Editor widget instance",
|
983
|
-
"tags": [{
|
984
|
-
"name": "returns",
|
985
|
-
"text": "Promise that resolves when the operation is complete"
|
986
|
-
}]
|
987
|
-
}
|
988
|
-
},
|
989
990
|
"submit": {
|
990
991
|
"complexType": {
|
991
992
|
"signature": "() => Promise<void>",
|
@@ -97,14 +97,6 @@ export class CreateRelatedFeature {
|
|
97
97
|
// Methods (public)
|
98
98
|
//
|
99
99
|
//--------------------------------------------------------------------------
|
100
|
-
/**
|
101
|
-
* Destroy the Editor widget instance
|
102
|
-
*/
|
103
|
-
async close() {
|
104
|
-
if (this._editor) {
|
105
|
-
this._editor.destroy();
|
106
|
-
}
|
107
|
-
}
|
108
100
|
/**
|
109
101
|
* Submit the comment
|
110
102
|
*/
|
@@ -171,7 +163,7 @@ export class CreateRelatedFeature {
|
|
171
163
|
}
|
172
164
|
render() {
|
173
165
|
const loaderClass = this._editorLoading ? "" : "display-none";
|
174
|
-
return (h(Fragment, { key: '
|
166
|
+
return (h(Fragment, { key: '641b4f6f51bce04b6263a1d7dc72a31839df970d' }, this.showGuidingMsg && h("calcite-notice", { key: '1a6e577bcc0632a7bc69dd411a692062a7ad176e', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '55c5836314fcca69a259be3a36e34c527edcabf3', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '18c5603a4a75c67a160a71caa15e94790f66d60b', class: loaderClass, label: "", scale: "s" })));
|
175
167
|
}
|
176
168
|
/**
|
177
169
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
@@ -179,6 +171,14 @@ export class CreateRelatedFeature {
|
|
179
171
|
async componentDidLoad() {
|
180
172
|
await this.init();
|
181
173
|
}
|
174
|
+
/**
|
175
|
+
* StencilJS: Called every time the component is disconnected from the DOM,
|
176
|
+
*/
|
177
|
+
disconnectedCallback() {
|
178
|
+
if (this._editor) {
|
179
|
+
this._editor.destroy();
|
180
|
+
}
|
181
|
+
}
|
182
182
|
/**
|
183
183
|
* Display editor widget to create the new feature
|
184
184
|
* @protected
|
@@ -536,23 +536,6 @@ export class CreateRelatedFeature {
|
|
536
536
|
}
|
537
537
|
static get methods() {
|
538
538
|
return {
|
539
|
-
"close": {
|
540
|
-
"complexType": {
|
541
|
-
"signature": "() => Promise<void>",
|
542
|
-
"parameters": [],
|
543
|
-
"references": {
|
544
|
-
"Promise": {
|
545
|
-
"location": "global",
|
546
|
-
"id": "global::Promise"
|
547
|
-
}
|
548
|
-
},
|
549
|
-
"return": "Promise<void>"
|
550
|
-
},
|
551
|
-
"docs": {
|
552
|
-
"text": "Destroy the Editor widget instance",
|
553
|
-
"tags": []
|
554
|
-
}
|
555
|
-
},
|
556
539
|
"submit": {
|
557
540
|
"complexType": {
|
558
541
|
"signature": "() => Promise<void>",
|