@esri/solutions-components 5.1.0-next.143 → 5.1.0-next.145
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.
- package/dist/cdn/{LEK4P4OY.js → 25NZZKXC.js} +1 -1
- package/dist/cdn/2BIUOM64.js +2 -0
- package/dist/cdn/{S5AQVTR2.js → 2PUK3PST.js} +1 -1
- package/dist/cdn/{KUGXNF5Y.js → 2UMMLVCR.js} +1 -1
- package/dist/cdn/{LYAXTCCM.js → 34CZ4EWR.js} +4 -3
- package/dist/cdn/{SOLCNPHW.js → 3DCFUYKP.js} +1 -1
- package/dist/cdn/{P67K4TAX.js → 3JQ2RXVJ.js} +1 -1
- package/dist/cdn/3V2UWENT.js +2 -0
- package/dist/cdn/{7WD3GNG4.js → 4JVDUPVW.js} +1 -1
- package/dist/cdn/{BNRFT546.js → 5DEYOM7D.js} +1 -1
- package/dist/cdn/{WLM4HMMF.js → 5LF6C3S5.js} +1 -1
- package/dist/cdn/{4JGB6WLL.js → 5NQNJZTE.js} +1 -1
- package/dist/cdn/{4MAZNAHZ.js → 5OFQVDNK.js} +1 -1
- package/dist/cdn/{NV2DLQDN.js → 6MOTC6CE.js} +1 -1
- package/dist/cdn/{PUCDO65D.js → 6T35OGRG.js} +1 -1
- package/dist/cdn/{FVOCVCEE.js → 72X4E4QW.js} +1 -1
- package/dist/cdn/{Y77RX7KL.js → 7ADKNWWI.js} +1 -1
- package/dist/cdn/{DKEYOEI7.js → 7CLM77HQ.js} +1 -1
- package/dist/cdn/{IFONVCBL.js → A27DLHRU.js} +1 -1
- package/dist/cdn/{3UKDJZ2D.js → AE5HNAOV.js} +1 -1
- package/dist/cdn/{YQWQG523.js → AOWNMC3W.js} +1 -1
- package/dist/cdn/{U4RHWD57.js → AZN2E5DL.js} +1 -1
- package/dist/cdn/BMMIXOTR.js +2 -0
- package/dist/cdn/{6Z3DXRF6.js → BQE6IVEF.js} +1 -1
- package/dist/cdn/{EDZIFJZR.js → C5ZH23YO.js} +1 -1
- package/dist/cdn/{7GXMCAWQ.js → CVRBLJ5O.js} +1 -1
- package/dist/cdn/{ENG5BCAV.js → DXQQQNOF.js} +1 -1
- package/dist/cdn/{BGLTC5SO.js → F26SXWZ5.js} +1 -1
- package/dist/cdn/{4RLG6MXK.js → G3F52QRW.js} +1 -1
- package/dist/cdn/{IEOFEUZI.js → G3FTF6WH.js} +1 -1
- package/dist/cdn/{AHB7W7RI.js → GJD7AOUI.js} +1 -1
- package/dist/cdn/{RRD4QUQS.js → HLKEBN2O.js} +1 -1
- package/dist/cdn/{J3HJC4SO.js → HPWNNMVU.js} +2 -2
- package/dist/cdn/{ZCSF2MJ5.js → I7XBRB6B.js} +1 -1
- package/dist/cdn/{SGQBWAPU.js → IDEOFV22.js} +1 -1
- package/dist/cdn/{FW2HWQC7.js → IEC46RE7.js} +1 -1
- package/dist/cdn/{ULFPP7PF.js → IEN3TA4W.js} +1 -1
- package/dist/cdn/{LKZFKOG4.js → KDNGZ47C.js} +1 -1
- package/dist/cdn/{7FJTZ7VA.js → L3UI7EZZ.js} +1 -1
- package/dist/cdn/{MC5ARLKZ.js → L6P26BYB.js} +1 -1
- package/dist/cdn/{U3CNAJQZ.js → LCV5GKUD.js} +3 -3
- package/dist/cdn/{X6JL6SAH.js → LJY6BB64.js} +1 -1
- package/dist/cdn/{MT5J66WR.js → LL647FJR.js} +1 -1
- package/dist/cdn/{KSQHSNTW.js → M4II4TSX.js} +1 -1
- package/dist/cdn/{E5E6J57F.js → MEZL3ZHS.js} +28 -27
- package/dist/cdn/MHVLVLRA.js +2 -0
- package/dist/cdn/{UOGZGAJD.js → MIH5YMTN.js} +1 -1
- package/dist/cdn/{K4TDKKPB.js → MPCJZCL5.js} +1 -1
- package/dist/cdn/MZ73EAAV.js +29 -0
- package/dist/cdn/{C4OXBZJK.js → NIYB3TEW.js} +1 -1
- package/dist/cdn/{TX3LBQ6V.js → NOXANMDF.js} +1 -1
- package/dist/cdn/{QHDEVLC3.js → P4XNRWG7.js} +1 -1
- package/dist/cdn/{EPOIEXNS.js → PBGG3TGN.js} +1 -1
- package/dist/cdn/{H2UL463J.js → PBMTIFFX.js} +1 -1
- package/dist/cdn/{VBJSVR6T.js → PECGJO2P.js} +1 -1
- package/dist/cdn/{FILMKUOU.js → PNESECPO.js} +1 -1
- package/dist/cdn/{Z23BVIGQ.js → QFZK4TD4.js} +1 -1
- package/dist/cdn/QGCF64WY.js +2 -0
- package/dist/cdn/{5LIR6BQY.js → QKJJHBMB.js} +1 -1
- package/dist/cdn/{ZCPVOS4Q.js → QQXQAU33.js} +1 -1
- package/dist/cdn/{56XVVIG7.js → RIHOGDUV.js} +1 -1
- package/dist/cdn/{AGB374BK.js → RUQ4RO4T.js} +1 -1
- package/dist/cdn/{MVF7I3RU.js → UKQPYE7U.js} +1 -1
- package/dist/cdn/{BVSSQNES.js → ULUJKWT5.js} +1 -1
- package/dist/cdn/{U6JZYJ4D.js → UM3P3Q52.js} +1 -1
- package/dist/cdn/VO53567V.js +2 -0
- package/dist/cdn/WKS3TKDC.js +2 -0
- package/dist/cdn/WUKFT5AY.js +4 -0
- package/dist/cdn/{QQEYWBVV.js → XGWDWPRK.js} +1 -1
- package/dist/cdn/{XXGM7HGO.js → XGYNSCTA.js} +1 -1
- package/dist/cdn/{DNPN62O5.js → Y4KGXRSD.js} +1 -1
- package/dist/cdn/{SSIUWTQX.js → Y6QJCLML.js} +1 -1
- package/dist/cdn/{WGS5W6W5.js → YVIEKHQQ.js} +1 -1
- package/dist/cdn/{I22C4HE4.js → ZHXREM2D.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/converter.js +633 -367
- package/dist/chunks/deployFlowController.js +46 -0
- package/dist/chunks/designSolution.js +4 -3
- package/dist/chunks/explainValidationFailure.js +32 -0
- package/dist/chunks/solution-builder-assistant.js +163 -78
- package/dist/chunks/updateDesign.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +396 -318
- package/dist/components/arcgis-solutions-assistant/index.js +1 -1
- package/dist/components/solution-builder-assistant/customElement.js +3 -2
- package/dist/components/solution-deploying-dialog/customElement.js +12 -12
- package/dist/components/solution-details-panel/customElement.js +112 -102
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/package.json +1 -1
- package/dist/cdn/5MPYPIR2.js +0 -2
- package/dist/cdn/FYT4Q5GJ.js +0 -2
- package/dist/cdn/GLQZHYJP.js +0 -4
- package/dist/cdn/ILLTWR2W.js +0 -2
- package/dist/cdn/RUF6QBY7.js +0 -2
- package/dist/cdn/S6U6SXMD.js +0 -2
- package/dist/cdn/SYZEWVHU.js +0 -2
package/dist/chunks/converter.js
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
|
|
2
|
+
const p = [
|
|
3
|
+
{ name: "blue", fill: [0, 121, 193], outline: [0, 94, 149] },
|
|
4
|
+
{ name: "red", fill: [222, 41, 0], outline: [171, 60, 22] },
|
|
5
|
+
{ name: "orange", fill: [209, 126, 33], outline: [173, 101, 17] },
|
|
6
|
+
{ name: "purple", fill: [144, 129, 188], outline: [116, 97, 168] },
|
|
7
|
+
{ name: "green", fill: [90, 147, 89], outline: [51, 128, 51] },
|
|
8
|
+
{ name: "black", fill: [89, 89, 89], outline: [50, 50, 50] }
|
|
9
|
+
];
|
|
10
|
+
function f(n = 0) {
|
|
11
|
+
const e = (n % p.length + p.length) % p.length, t = p[e];
|
|
12
|
+
return {
|
|
13
|
+
fill: [...t.fill],
|
|
14
|
+
outline: [...t.outline]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function g(n = 0) {
|
|
18
|
+
const { fill: e, outline: t } = f(n), i = [...e, 153], l = [...t, 255];
|
|
3
19
|
return {
|
|
4
20
|
renderer: {
|
|
5
21
|
type: "simple",
|
|
@@ -11,100 +27,219 @@ function h() {
|
|
|
11
27
|
{
|
|
12
28
|
type: "CIMVectorMarker",
|
|
13
29
|
enable: !0,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
anchorPointUnits: "Absolute",
|
|
30
|
+
name: "Fill",
|
|
31
|
+
anchorPointUnits: "Relative",
|
|
17
32
|
dominantSizeAxis3D: "Y",
|
|
18
|
-
size:
|
|
33
|
+
size: 12,
|
|
19
34
|
billboardMode3D: "FaceNearPlane",
|
|
20
|
-
frame: {
|
|
35
|
+
frame: {
|
|
36
|
+
xmin: -5,
|
|
37
|
+
ymin: -5,
|
|
38
|
+
xmax: 5,
|
|
39
|
+
ymax: 5
|
|
40
|
+
},
|
|
21
41
|
markerGraphics: [
|
|
22
42
|
{
|
|
23
43
|
type: "CIMMarkerGraphic",
|
|
24
44
|
geometry: {
|
|
25
45
|
rings: [
|
|
26
46
|
[
|
|
27
|
-
[
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
[
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
[
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
[
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
[
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
[
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
[
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
[
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
[
|
|
60
|
-
|
|
47
|
+
[
|
|
48
|
+
0,
|
|
49
|
+
5
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
0.87,
|
|
53
|
+
4.92
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
1.71,
|
|
57
|
+
4.7
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
2.5,
|
|
61
|
+
4.33
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
3.21,
|
|
65
|
+
3.83
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
3.83,
|
|
69
|
+
3.21
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
4.33,
|
|
73
|
+
2.5
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
4.7,
|
|
77
|
+
1.71
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
4.92,
|
|
81
|
+
0.87
|
|
82
|
+
],
|
|
83
|
+
[
|
|
84
|
+
5,
|
|
85
|
+
0
|
|
86
|
+
],
|
|
87
|
+
[
|
|
88
|
+
4.92,
|
|
89
|
+
-0.87
|
|
90
|
+
],
|
|
91
|
+
[
|
|
92
|
+
4.7,
|
|
93
|
+
-1.71
|
|
94
|
+
],
|
|
95
|
+
[
|
|
96
|
+
4.33,
|
|
97
|
+
-2.5
|
|
98
|
+
],
|
|
99
|
+
[
|
|
100
|
+
3.83,
|
|
101
|
+
-3.21
|
|
102
|
+
],
|
|
103
|
+
[
|
|
104
|
+
3.21,
|
|
105
|
+
-3.83
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
2.5,
|
|
109
|
+
-4.33
|
|
110
|
+
],
|
|
111
|
+
[
|
|
112
|
+
1.71,
|
|
113
|
+
-4.7
|
|
114
|
+
],
|
|
115
|
+
[
|
|
116
|
+
0.87,
|
|
117
|
+
-4.92
|
|
118
|
+
],
|
|
119
|
+
[
|
|
120
|
+
0,
|
|
121
|
+
-5
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
-0.87,
|
|
125
|
+
-4.92
|
|
126
|
+
],
|
|
127
|
+
[
|
|
128
|
+
-1.71,
|
|
129
|
+
-4.7
|
|
130
|
+
],
|
|
131
|
+
[
|
|
132
|
+
-2.5,
|
|
133
|
+
-4.33
|
|
134
|
+
],
|
|
135
|
+
[
|
|
136
|
+
-3.21,
|
|
137
|
+
-3.83
|
|
138
|
+
],
|
|
139
|
+
[
|
|
140
|
+
-3.83,
|
|
141
|
+
-3.21
|
|
142
|
+
],
|
|
143
|
+
[
|
|
144
|
+
-4.33,
|
|
145
|
+
-2.5
|
|
146
|
+
],
|
|
147
|
+
[
|
|
148
|
+
-4.7,
|
|
149
|
+
-1.71
|
|
150
|
+
],
|
|
151
|
+
[
|
|
152
|
+
-4.92,
|
|
153
|
+
-0.87
|
|
154
|
+
],
|
|
155
|
+
[
|
|
156
|
+
-5,
|
|
157
|
+
0
|
|
158
|
+
],
|
|
159
|
+
[
|
|
160
|
+
-4.92,
|
|
161
|
+
0.87
|
|
162
|
+
],
|
|
163
|
+
[
|
|
164
|
+
-4.7,
|
|
165
|
+
1.71
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
-4.33,
|
|
169
|
+
2.5
|
|
170
|
+
],
|
|
171
|
+
[
|
|
172
|
+
-3.83,
|
|
173
|
+
3.21
|
|
174
|
+
],
|
|
175
|
+
[
|
|
176
|
+
-3.21,
|
|
177
|
+
3.83
|
|
178
|
+
],
|
|
179
|
+
[
|
|
180
|
+
-2.5,
|
|
181
|
+
4.33
|
|
182
|
+
],
|
|
183
|
+
[
|
|
184
|
+
-1.71,
|
|
185
|
+
4.7
|
|
186
|
+
],
|
|
187
|
+
[
|
|
188
|
+
-0.87,
|
|
189
|
+
4.92
|
|
190
|
+
],
|
|
191
|
+
[
|
|
192
|
+
0,
|
|
193
|
+
5
|
|
194
|
+
]
|
|
61
195
|
]
|
|
62
196
|
]
|
|
63
197
|
},
|
|
64
198
|
symbol: {
|
|
65
199
|
type: "CIMPolygonSymbol",
|
|
66
200
|
symbolLayers: [
|
|
201
|
+
{
|
|
202
|
+
type: "CIMSolidStroke",
|
|
203
|
+
enable: !0,
|
|
204
|
+
name: "Outline",
|
|
205
|
+
capStyle: "Round",
|
|
206
|
+
joinStyle: "Round",
|
|
207
|
+
lineStyle3D: "Strip",
|
|
208
|
+
miterLimit: 4,
|
|
209
|
+
width: 1.5,
|
|
210
|
+
height3D: 1,
|
|
211
|
+
anchor3D: "Center",
|
|
212
|
+
color: l
|
|
213
|
+
},
|
|
67
214
|
{
|
|
68
215
|
type: "CIMSolidFill",
|
|
69
216
|
enable: !0,
|
|
70
|
-
|
|
217
|
+
name: "Fill",
|
|
218
|
+
color: i
|
|
71
219
|
}
|
|
72
|
-
]
|
|
220
|
+
],
|
|
221
|
+
angleAlignment: "Map"
|
|
73
222
|
}
|
|
74
223
|
}
|
|
75
224
|
],
|
|
76
225
|
scaleSymbolsProportionally: !0,
|
|
77
226
|
respectFrame: !0,
|
|
78
|
-
clippingPath: {
|
|
79
|
-
type: "CIMClippingPath",
|
|
80
|
-
clippingType: "Intersect",
|
|
81
|
-
path: {
|
|
82
|
-
rings: [
|
|
83
|
-
[
|
|
84
|
-
[0, 0],
|
|
85
|
-
[84.3, 0],
|
|
86
|
-
[84.3, 84.3],
|
|
87
|
-
[0, 84.3],
|
|
88
|
-
[0, 0]
|
|
89
|
-
]
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
227
|
rotation: 360
|
|
94
228
|
},
|
|
95
229
|
{
|
|
96
230
|
type: "CIMVectorMarker",
|
|
97
231
|
enable: !0,
|
|
98
|
-
|
|
99
|
-
|
|
232
|
+
name: "WhiteOutline",
|
|
233
|
+
colorLocked: !0,
|
|
234
|
+
anchorPointUnits: "Relative",
|
|
100
235
|
dominantSizeAxis3D: "Y",
|
|
101
|
-
size:
|
|
236
|
+
size: 15.75,
|
|
102
237
|
billboardMode3D: "FaceNearPlane",
|
|
103
238
|
frame: {
|
|
104
|
-
xmin:
|
|
105
|
-
ymin:
|
|
106
|
-
xmax:
|
|
107
|
-
ymax:
|
|
239
|
+
xmin: -5,
|
|
240
|
+
ymin: -5,
|
|
241
|
+
xmax: 5,
|
|
242
|
+
ymax: 5
|
|
108
243
|
},
|
|
109
244
|
markerGraphics: [
|
|
110
245
|
{
|
|
@@ -112,98 +247,154 @@ function h() {
|
|
|
112
247
|
geometry: {
|
|
113
248
|
rings: [
|
|
114
249
|
[
|
|
115
|
-
[
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
[
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
[
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
[
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
[
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
[
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
[
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
[
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
[
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
[
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
[
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
[
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
[
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
[
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
[
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
[
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
[
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
[
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
[
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
[
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
[
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
[
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
[
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
250
|
+
[
|
|
251
|
+
0,
|
|
252
|
+
5
|
|
253
|
+
],
|
|
254
|
+
[
|
|
255
|
+
0.87,
|
|
256
|
+
4.92
|
|
257
|
+
],
|
|
258
|
+
[
|
|
259
|
+
1.71,
|
|
260
|
+
4.7
|
|
261
|
+
],
|
|
262
|
+
[
|
|
263
|
+
2.5,
|
|
264
|
+
4.33
|
|
265
|
+
],
|
|
266
|
+
[
|
|
267
|
+
3.21,
|
|
268
|
+
3.83
|
|
269
|
+
],
|
|
270
|
+
[
|
|
271
|
+
3.83,
|
|
272
|
+
3.21
|
|
273
|
+
],
|
|
274
|
+
[
|
|
275
|
+
4.33,
|
|
276
|
+
2.5
|
|
277
|
+
],
|
|
278
|
+
[
|
|
279
|
+
4.7,
|
|
280
|
+
1.71
|
|
281
|
+
],
|
|
282
|
+
[
|
|
283
|
+
4.92,
|
|
284
|
+
0.87
|
|
285
|
+
],
|
|
286
|
+
[
|
|
287
|
+
5,
|
|
288
|
+
0
|
|
289
|
+
],
|
|
290
|
+
[
|
|
291
|
+
4.92,
|
|
292
|
+
-0.87
|
|
293
|
+
],
|
|
294
|
+
[
|
|
295
|
+
4.7,
|
|
296
|
+
-1.71
|
|
297
|
+
],
|
|
298
|
+
[
|
|
299
|
+
4.33,
|
|
300
|
+
-2.5
|
|
301
|
+
],
|
|
302
|
+
[
|
|
303
|
+
3.83,
|
|
304
|
+
-3.21
|
|
305
|
+
],
|
|
306
|
+
[
|
|
307
|
+
3.21,
|
|
308
|
+
-3.83
|
|
309
|
+
],
|
|
310
|
+
[
|
|
311
|
+
2.5,
|
|
312
|
+
-4.33
|
|
313
|
+
],
|
|
314
|
+
[
|
|
315
|
+
1.71,
|
|
316
|
+
-4.7
|
|
317
|
+
],
|
|
318
|
+
[
|
|
319
|
+
0.87,
|
|
320
|
+
-4.92
|
|
321
|
+
],
|
|
322
|
+
[
|
|
323
|
+
0,
|
|
324
|
+
-5
|
|
325
|
+
],
|
|
326
|
+
[
|
|
327
|
+
-0.87,
|
|
328
|
+
-4.92
|
|
329
|
+
],
|
|
330
|
+
[
|
|
331
|
+
-1.71,
|
|
332
|
+
-4.7
|
|
333
|
+
],
|
|
334
|
+
[
|
|
335
|
+
-2.5,
|
|
336
|
+
-4.33
|
|
337
|
+
],
|
|
338
|
+
[
|
|
339
|
+
-3.21,
|
|
340
|
+
-3.83
|
|
341
|
+
],
|
|
342
|
+
[
|
|
343
|
+
-3.83,
|
|
344
|
+
-3.21
|
|
345
|
+
],
|
|
346
|
+
[
|
|
347
|
+
-4.33,
|
|
348
|
+
-2.5
|
|
349
|
+
],
|
|
350
|
+
[
|
|
351
|
+
-4.7,
|
|
352
|
+
-1.71
|
|
353
|
+
],
|
|
354
|
+
[
|
|
355
|
+
-4.92,
|
|
356
|
+
-0.87
|
|
357
|
+
],
|
|
358
|
+
[
|
|
359
|
+
-5,
|
|
360
|
+
0
|
|
361
|
+
],
|
|
362
|
+
[
|
|
363
|
+
-4.92,
|
|
364
|
+
0.87
|
|
365
|
+
],
|
|
366
|
+
[
|
|
367
|
+
-4.7,
|
|
368
|
+
1.71
|
|
369
|
+
],
|
|
370
|
+
[
|
|
371
|
+
-4.33,
|
|
372
|
+
2.5
|
|
373
|
+
],
|
|
374
|
+
[
|
|
375
|
+
-3.83,
|
|
376
|
+
3.21
|
|
377
|
+
],
|
|
378
|
+
[
|
|
379
|
+
-3.21,
|
|
380
|
+
3.83
|
|
381
|
+
],
|
|
382
|
+
[
|
|
383
|
+
-2.5,
|
|
384
|
+
4.33
|
|
385
|
+
],
|
|
386
|
+
[
|
|
387
|
+
-1.71,
|
|
388
|
+
4.7
|
|
389
|
+
],
|
|
390
|
+
[
|
|
391
|
+
-0.87,
|
|
392
|
+
4.92
|
|
393
|
+
],
|
|
394
|
+
[
|
|
395
|
+
0,
|
|
396
|
+
5
|
|
397
|
+
]
|
|
207
398
|
]
|
|
208
399
|
]
|
|
209
400
|
},
|
|
@@ -213,33 +404,25 @@ function h() {
|
|
|
213
404
|
{
|
|
214
405
|
type: "CIMSolidFill",
|
|
215
406
|
enable: !0,
|
|
216
|
-
|
|
407
|
+
name: "WhiteOutline",
|
|
408
|
+
color: [
|
|
409
|
+
255,
|
|
410
|
+
255,
|
|
411
|
+
255,
|
|
412
|
+
153
|
|
413
|
+
]
|
|
217
414
|
}
|
|
218
|
-
]
|
|
415
|
+
],
|
|
416
|
+
angleAlignment: "Map"
|
|
219
417
|
}
|
|
220
418
|
}
|
|
221
419
|
],
|
|
222
420
|
scaleSymbolsProportionally: !0,
|
|
223
421
|
respectFrame: !0,
|
|
224
|
-
clippingPath: {
|
|
225
|
-
type: "CIMClippingPath",
|
|
226
|
-
clippingType: "Intersect",
|
|
227
|
-
path: {
|
|
228
|
-
rings: [
|
|
229
|
-
[
|
|
230
|
-
[0, 0],
|
|
231
|
-
[197.7, 0],
|
|
232
|
-
[197.7, 294.7],
|
|
233
|
-
[0, 294.7],
|
|
234
|
-
[0, 0]
|
|
235
|
-
]
|
|
236
|
-
]
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
422
|
rotation: 360
|
|
240
423
|
}
|
|
241
424
|
],
|
|
242
|
-
haloSize:
|
|
425
|
+
haloSize: 0.75,
|
|
243
426
|
scaleX: 1,
|
|
244
427
|
angleAlignment: "Display",
|
|
245
428
|
angle: 360
|
|
@@ -248,26 +431,97 @@ function h() {
|
|
|
248
431
|
}
|
|
249
432
|
};
|
|
250
433
|
}
|
|
251
|
-
function
|
|
434
|
+
function L(n = 0) {
|
|
435
|
+
const { fill: e } = f(n);
|
|
252
436
|
return {
|
|
253
437
|
renderer: {
|
|
254
438
|
type: "simple",
|
|
255
439
|
symbol: {
|
|
256
|
-
type: "
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
440
|
+
type: "CIMSymbolReference",
|
|
441
|
+
symbol: {
|
|
442
|
+
type: "CIMLineSymbol",
|
|
443
|
+
symbolLayers: [
|
|
444
|
+
{
|
|
445
|
+
type: "CIMSolidStroke",
|
|
446
|
+
enable: !0,
|
|
447
|
+
name: "Fill",
|
|
448
|
+
capStyle: "Round",
|
|
449
|
+
joinStyle: "Miter",
|
|
450
|
+
lineStyle3D: "Strip",
|
|
451
|
+
miterLimit: 4,
|
|
452
|
+
width: 4.5,
|
|
453
|
+
height3D: 1,
|
|
454
|
+
anchor3D: "Center",
|
|
455
|
+
color: [...e, 255]
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
type: "CIMSolidStroke",
|
|
459
|
+
enable: !0,
|
|
460
|
+
name: "Outline",
|
|
461
|
+
colorLocked: !0,
|
|
462
|
+
capStyle: "Round",
|
|
463
|
+
joinStyle: "Miter",
|
|
464
|
+
lineStyle3D: "Strip",
|
|
465
|
+
miterLimit: 4,
|
|
466
|
+
width: 6,
|
|
467
|
+
height3D: 1,
|
|
468
|
+
anchor3D: "Center",
|
|
469
|
+
color: [
|
|
470
|
+
255,
|
|
471
|
+
255,
|
|
472
|
+
255,
|
|
473
|
+
153
|
|
474
|
+
]
|
|
475
|
+
}
|
|
476
|
+
]
|
|
477
|
+
}
|
|
264
478
|
}
|
|
265
479
|
}
|
|
266
480
|
};
|
|
267
481
|
}
|
|
268
|
-
|
|
482
|
+
function F(n = 0) {
|
|
483
|
+
const { fill: e, outline: t } = f(n), i = [...e, 153];
|
|
484
|
+
return {
|
|
485
|
+
renderer: {
|
|
486
|
+
type: "simple",
|
|
487
|
+
symbol: {
|
|
488
|
+
type: "CIMSymbolReference",
|
|
489
|
+
symbol: {
|
|
490
|
+
type: "CIMPolygonSymbol",
|
|
491
|
+
symbolLayers: [
|
|
492
|
+
{
|
|
493
|
+
type: "CIMSolidStroke",
|
|
494
|
+
enable: !0,
|
|
495
|
+
name: "Outline",
|
|
496
|
+
capStyle: "Round",
|
|
497
|
+
joinStyle: "Round",
|
|
498
|
+
lineStyle3D: "Strip",
|
|
499
|
+
miterLimit: 4,
|
|
500
|
+
width: 1.5,
|
|
501
|
+
height3D: 1,
|
|
502
|
+
anchor3D: "Center",
|
|
503
|
+
color: [...t, 255]
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
type: "CIMSolidFill",
|
|
507
|
+
enable: !0,
|
|
508
|
+
name: "Fill",
|
|
509
|
+
color: i
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
angleAlignment: "Map"
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
class y {
|
|
269
519
|
constructor(e) {
|
|
270
|
-
this.llmFsLookup = {}, this.
|
|
520
|
+
this.llmFsLookup = {}, this.rendererColorCounters = {
|
|
521
|
+
esriGeometryPoint: 0,
|
|
522
|
+
esriGeometryPolyline: 0,
|
|
523
|
+
esriGeometryPolygon: 0
|
|
524
|
+
}, this.structure = e, this.buildSolution = this.structure?.buildSolution;
|
|
271
525
|
}
|
|
272
526
|
static {
|
|
273
527
|
this.typeLookup = {
|
|
@@ -304,65 +558,65 @@ class u {
|
|
|
304
558
|
}
|
|
305
559
|
static {
|
|
306
560
|
this.fieldTypeToSimple = Object.fromEntries(
|
|
307
|
-
Object.entries(
|
|
561
|
+
Object.entries(y.fieldTypeToEsri).map(([e, t]) => [t, e])
|
|
308
562
|
);
|
|
309
563
|
}
|
|
310
564
|
dumpToLlmTemplate() {
|
|
311
|
-
const e = this.structure?.buildSolution?.solution,
|
|
312
|
-
key:
|
|
313
|
-
value:
|
|
314
|
-
description:
|
|
315
|
-
})),
|
|
565
|
+
const e = this.structure?.buildSolution?.solution, t = Object.entries(e?.strings || {}).map(([o, r]) => ({
|
|
566
|
+
key: o,
|
|
567
|
+
value: r.value,
|
|
568
|
+
description: r.description
|
|
569
|
+
})), i = {
|
|
316
570
|
title: e?.title,
|
|
317
571
|
description: e?.description,
|
|
318
572
|
tags: e?.tags,
|
|
319
|
-
strings:
|
|
320
|
-
},
|
|
321
|
-
id:
|
|
322
|
-
title:
|
|
323
|
-
description:
|
|
324
|
-
type:
|
|
573
|
+
strings: t
|
|
574
|
+
}, l = this.structure?.buildSolution?.items, s = Object.entries(l || {}).map(([o, r]) => ({
|
|
575
|
+
id: o,
|
|
576
|
+
title: r.title,
|
|
577
|
+
description: r.description,
|
|
578
|
+
type: r.type
|
|
325
579
|
}));
|
|
326
|
-
let
|
|
327
|
-
for (const [
|
|
328
|
-
if (
|
|
580
|
+
let a = null;
|
|
581
|
+
for (const [o, r] of Object.entries(l || {})) {
|
|
582
|
+
if (r.type !== "Feature Layer (hosted)")
|
|
329
583
|
continue;
|
|
330
|
-
const
|
|
331
|
-
for (const d of
|
|
332
|
-
const
|
|
584
|
+
const u = [];
|
|
585
|
+
for (const d of r.service?.layers || []) {
|
|
586
|
+
const c = this.getFields(d), m = {
|
|
333
587
|
id: d.id,
|
|
334
588
|
type: "",
|
|
335
589
|
typeMutable: !0,
|
|
336
590
|
name: d.name,
|
|
337
591
|
customFields: [],
|
|
338
|
-
requiredFields:
|
|
592
|
+
requiredFields: c,
|
|
339
593
|
systemFields: []
|
|
340
594
|
};
|
|
341
|
-
d.geometryType && (
|
|
595
|
+
d.geometryType && (m.type = y.simpleTypeLookup[d.geometryType] || "", m.typeMutable = !1), u.push(m);
|
|
342
596
|
}
|
|
343
|
-
for (const d of
|
|
344
|
-
const
|
|
345
|
-
|
|
597
|
+
for (const d of r.service?.tables || []) {
|
|
598
|
+
const c = this.getFields(d);
|
|
599
|
+
u.push({
|
|
346
600
|
id: d.id,
|
|
347
601
|
type: "Table",
|
|
348
602
|
typeMutable: !1,
|
|
349
603
|
name: d.name,
|
|
350
604
|
customFields: [],
|
|
351
|
-
requiredFields:
|
|
605
|
+
requiredFields: c,
|
|
352
606
|
systemFields: []
|
|
353
607
|
});
|
|
354
608
|
}
|
|
355
|
-
|
|
356
|
-
itemId:
|
|
357
|
-
addLayers:
|
|
358
|
-
layers:
|
|
609
|
+
a = {
|
|
610
|
+
itemId: o,
|
|
611
|
+
addLayers: r.addLayers,
|
|
612
|
+
layers: u
|
|
359
613
|
};
|
|
360
614
|
break;
|
|
361
615
|
}
|
|
362
616
|
return {
|
|
363
|
-
solution:
|
|
364
|
-
items:
|
|
365
|
-
featureLayer:
|
|
617
|
+
solution: i,
|
|
618
|
+
items: s,
|
|
619
|
+
featureLayer: a ?? {
|
|
366
620
|
itemId: "",
|
|
367
621
|
addLayers: !1,
|
|
368
622
|
layers: []
|
|
@@ -370,17 +624,17 @@ class u {
|
|
|
370
624
|
};
|
|
371
625
|
}
|
|
372
626
|
getFields(e) {
|
|
373
|
-
const
|
|
374
|
-
for (const
|
|
375
|
-
|
|
376
|
-
name:
|
|
377
|
-
type:
|
|
378
|
-
alias:
|
|
379
|
-
description:
|
|
380
|
-
choiceList:
|
|
381
|
-
length:
|
|
627
|
+
const t = [];
|
|
628
|
+
for (const i of e.fields || [])
|
|
629
|
+
t.push({
|
|
630
|
+
name: i.name,
|
|
631
|
+
type: y.fieldTypeToSimple[i.type] || i.type,
|
|
632
|
+
alias: i.alias,
|
|
633
|
+
description: y.getFieldDescription(i.description),
|
|
634
|
+
choiceList: y.getFieldDomain(i.domain),
|
|
635
|
+
length: i.length
|
|
382
636
|
});
|
|
383
|
-
return
|
|
637
|
+
return t;
|
|
384
638
|
}
|
|
385
639
|
static getFieldDescription(e) {
|
|
386
640
|
if (e)
|
|
@@ -392,157 +646,172 @@ class u {
|
|
|
392
646
|
}
|
|
393
647
|
static getFieldDomain(e) {
|
|
394
648
|
if (e)
|
|
395
|
-
return e.codedValues?.map((
|
|
649
|
+
return e.codedValues?.map((t) => t.code);
|
|
396
650
|
}
|
|
397
651
|
applyLlmTemplate(e) {
|
|
398
|
-
const
|
|
399
|
-
if (this.llmFsLookup = {}, e.featureLayer?.itemId) {
|
|
652
|
+
const t = this.buildSolution.solution;
|
|
653
|
+
if (this.resetRendererColorCounters(), this.llmFsLookup = {}, e.featureLayer?.itemId) {
|
|
400
654
|
this.llmFsLookup[e.featureLayer.itemId] = {};
|
|
401
|
-
for (const
|
|
402
|
-
this.llmFsLookup[e.featureLayer.itemId][
|
|
655
|
+
for (const o of e.featureLayer.layers)
|
|
656
|
+
this.llmFsLookup[e.featureLayer.itemId][o.id] = o;
|
|
403
657
|
}
|
|
404
|
-
for (const [
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
const
|
|
408
|
-
for (const
|
|
409
|
-
|
|
410
|
-
const
|
|
411
|
-
for (const
|
|
412
|
-
const
|
|
413
|
-
if (
|
|
414
|
-
if (
|
|
415
|
-
this.applyWebMap(
|
|
416
|
-
else if (
|
|
417
|
-
this.applyFeatureService(
|
|
418
|
-
const
|
|
419
|
-
|
|
420
|
-
} else
|
|
658
|
+
for (const [o, r] of Object.entries(this.buildSolution.items))
|
|
659
|
+
r.type === "Feature Layer (hosted, view)" && (this.llmFsLookup[o] = { ...this.llmFsLookup[r.source] });
|
|
660
|
+
t.title = e.solution.title, t.description = e.solution.description, t.tags = e.solution.tags;
|
|
661
|
+
const i = t.strings;
|
|
662
|
+
for (const o of e.solution.strings)
|
|
663
|
+
i[o.key] && (i[o.key].value = o.value);
|
|
664
|
+
const l = {}, s = /* @__PURE__ */ new Set(), a = this.buildSolution.items;
|
|
665
|
+
for (const o of e.items) {
|
|
666
|
+
const r = a[o.id];
|
|
667
|
+
if (r)
|
|
668
|
+
if (r.title = o.title, r.description = o.description, r.type === "Web Map")
|
|
669
|
+
this.applyWebMap(r);
|
|
670
|
+
else if (r.type === "Feature Layer (hosted)") {
|
|
671
|
+
this.applyFeatureService(r, o.id, !1);
|
|
672
|
+
const u = I(r);
|
|
673
|
+
r.data = u, l[o.id] = u;
|
|
674
|
+
} else r.type === "Feature Layer (hosted, view)" && (this.applyFeatureService(r, o.id, !0), s.add(o.id));
|
|
421
675
|
}
|
|
422
|
-
for (const
|
|
423
|
-
const
|
|
424
|
-
|
|
676
|
+
for (const o of s) {
|
|
677
|
+
const r = a[o];
|
|
678
|
+
r.data = l[r.source];
|
|
425
679
|
}
|
|
426
680
|
return this.structure;
|
|
427
681
|
}
|
|
428
682
|
applyWebMap(e) {
|
|
429
683
|
if (!e.layerSources)
|
|
430
684
|
return;
|
|
431
|
-
for (const
|
|
432
|
-
const [
|
|
433
|
-
|
|
685
|
+
for (const l of [...e.layers || [], ...e.tables || []]) {
|
|
686
|
+
const [s, a] = this.extractIdAndLayerId(l.url), o = this.llmFsLookup[s]?.[a];
|
|
687
|
+
o && (l.title = o.name);
|
|
434
688
|
}
|
|
435
689
|
if (!(e.layers?.length === 0 && e.tables?.length === 0))
|
|
436
690
|
return;
|
|
437
|
-
const
|
|
438
|
-
for (const
|
|
439
|
-
const
|
|
440
|
-
if (
|
|
441
|
-
for (const [
|
|
442
|
-
const
|
|
443
|
-
id: `${
|
|
444
|
-
title:
|
|
445
|
-
url: `{{${
|
|
446
|
-
itemId: `{{${
|
|
691
|
+
const i = crypto.randomUUID().replace(/-/gu, "").substring(0, 10);
|
|
692
|
+
for (const l of e.layerSources) {
|
|
693
|
+
const s = this.llmFsLookup[l];
|
|
694
|
+
if (s)
|
|
695
|
+
for (const [a, o] of Object.entries(s)) {
|
|
696
|
+
const r = Number(a), u = o.type.toLowerCase() === "table", d = {
|
|
697
|
+
id: `${i}-layer-${r}`,
|
|
698
|
+
title: o.name,
|
|
699
|
+
url: `{{${l}.layer${r}.url}}`,
|
|
700
|
+
itemId: `{{${l}.layer${r}.itemId}}`
|
|
447
701
|
};
|
|
448
|
-
|
|
702
|
+
u ? e.tables.unshift(d) : (d.layerType = "ArcGISFeatureLayer", e.layers.unshift(d));
|
|
449
703
|
}
|
|
450
704
|
}
|
|
451
705
|
}
|
|
452
706
|
extractIdAndLayerId(e) {
|
|
453
|
-
const
|
|
454
|
-
return [
|
|
707
|
+
const t = e.replace(/[{}]/gu, "").split("."), i = t[0], l = Number.parseInt(t[1].replace("layer", ""));
|
|
708
|
+
return [i, l];
|
|
455
709
|
}
|
|
456
|
-
applyFeatureService(e,
|
|
457
|
-
const
|
|
458
|
-
for (const
|
|
459
|
-
this.applyLayer(
|
|
460
|
-
e.addLayers && !
|
|
461
|
-
const
|
|
462
|
-
|
|
710
|
+
applyFeatureService(e, t, i = !1) {
|
|
711
|
+
const l = e.source || t, s = this.llmFsLookup[l];
|
|
712
|
+
for (const o of [...e.service.layers, ...e.service.tables])
|
|
713
|
+
this.applyLayer(o, s, i);
|
|
714
|
+
e.addLayers && !i && this.addNewLayers(e, s);
|
|
715
|
+
const a = e.service.layers?.length === 0 && e.service.tables?.length === 0;
|
|
716
|
+
i && a && this.addNewViewLayers(e, t, s);
|
|
463
717
|
}
|
|
464
|
-
addNewLayers(e,
|
|
465
|
-
for (const [
|
|
466
|
-
const
|
|
467
|
-
this.applyLayer(
|
|
718
|
+
addNewLayers(e, t) {
|
|
719
|
+
for (const [i, l] of Object.entries(t)) {
|
|
720
|
+
const a = { id: Number(i) };
|
|
721
|
+
this.applyLayer(a, t), l.type.toLowerCase() === "table" ? e.service.tables.push(a) : e.service.layers.push(a);
|
|
468
722
|
}
|
|
469
723
|
}
|
|
470
|
-
addNewViewLayers(e,
|
|
471
|
-
const
|
|
472
|
-
for (const [
|
|
473
|
-
const
|
|
724
|
+
addNewViewLayers(e, t, i) {
|
|
725
|
+
const l = e.source;
|
|
726
|
+
for (const [s, a] of Object.entries(i)) {
|
|
727
|
+
const o = Number(s), r = a.type.toLowerCase() === "table", u = {
|
|
474
728
|
adminLayerInfo: {
|
|
475
|
-
geometryField:
|
|
729
|
+
geometryField: r ? null : { name: "Shape" },
|
|
476
730
|
viewLayerDefinition: {
|
|
477
|
-
sourceServiceName: `{{${
|
|
478
|
-
sourceLayerId:
|
|
731
|
+
sourceServiceName: `{{${l}.name}}`,
|
|
732
|
+
sourceLayerId: o,
|
|
479
733
|
sourceLayerFields: "*"
|
|
480
734
|
}
|
|
481
735
|
},
|
|
482
|
-
id:
|
|
483
|
-
name:
|
|
484
|
-
extent: `{{${
|
|
736
|
+
id: o,
|
|
737
|
+
name: a.name,
|
|
738
|
+
extent: `{{${t}.solutionExtent}}`,
|
|
485
739
|
maxRecordCount: 2e3
|
|
486
740
|
};
|
|
487
|
-
|
|
741
|
+
r ? e.service.tables.push(u) : e.service.layers.push(u);
|
|
488
742
|
}
|
|
489
743
|
}
|
|
490
|
-
applyLayer(e,
|
|
491
|
-
const
|
|
492
|
-
if (!
|
|
744
|
+
applyLayer(e, t, i = !1) {
|
|
745
|
+
const l = t[e.id];
|
|
746
|
+
if (!l || (e.name = l.name, i))
|
|
493
747
|
return;
|
|
494
|
-
const
|
|
495
|
-
|
|
748
|
+
const s = y.typeLookup[l.type.toLowerCase()] || l.type;
|
|
749
|
+
s.toLowerCase() === "table" ? e.type = s : e.geometryType = s, e.editFieldsInfo = this.editFieldsInfo(), e.globalIdField = "globalid", e.objectIdField = "objectid", e.uniqueIdField = { name: "objectid", isSystemMaintained: !0 }, e.hasAttachments = !0, this.updateRelationships(e, t), this.updateFields(e, l), this.updateTemplates(e), this.updateDrawingInfo(e);
|
|
496
750
|
}
|
|
497
|
-
updateRelationships(e,
|
|
498
|
-
const
|
|
499
|
-
for (const
|
|
500
|
-
const
|
|
501
|
-
|
|
751
|
+
updateRelationships(e, t) {
|
|
752
|
+
const i = e.relationships || [];
|
|
753
|
+
for (const l of i) {
|
|
754
|
+
const s = t[l.relatedTableId];
|
|
755
|
+
s && (l.name = s.name);
|
|
502
756
|
}
|
|
503
757
|
}
|
|
504
|
-
updateFields(e,
|
|
505
|
-
const
|
|
506
|
-
[!1,
|
|
507
|
-
[!0,
|
|
508
|
-
[!0,
|
|
758
|
+
updateFields(e, t) {
|
|
759
|
+
const i = [], l = [
|
|
760
|
+
[!1, t.customFields],
|
|
761
|
+
[!0, t.requiredFields],
|
|
762
|
+
[!0, t.systemFields]
|
|
509
763
|
];
|
|
510
|
-
for (const [
|
|
511
|
-
if (Array.isArray(
|
|
512
|
-
for (const
|
|
513
|
-
const
|
|
514
|
-
name:
|
|
515
|
-
alias:
|
|
516
|
-
type:
|
|
517
|
-
description: JSON.stringify({ value:
|
|
518
|
-
domain: this.createDomain(
|
|
519
|
-
required:
|
|
764
|
+
for (const [s, a] of l)
|
|
765
|
+
if (Array.isArray(a))
|
|
766
|
+
for (const o of a) {
|
|
767
|
+
const r = {
|
|
768
|
+
name: o.name,
|
|
769
|
+
alias: o.alias,
|
|
770
|
+
type: y.fieldTypeToEsri[o.type] || o.type,
|
|
771
|
+
description: JSON.stringify({ value: o.description, fieldValueType: "" }, null, 0),
|
|
772
|
+
domain: this.createDomain(o.choiceList, o.name),
|
|
773
|
+
required: s
|
|
520
774
|
};
|
|
521
|
-
|
|
775
|
+
o.type?.toLowerCase() === "string" && (r.length = o.length ?? 256), (o.type === "oid" || o.type === "globalid") && (r.editable = !1, r.nullable = !1), i.push(r);
|
|
522
776
|
}
|
|
523
|
-
e.fields =
|
|
777
|
+
e.fields = i;
|
|
524
778
|
}
|
|
525
779
|
updateTemplates(e) {
|
|
526
|
-
const
|
|
780
|
+
const t = y.drawingToolLookup[e.geometryType || e.type];
|
|
527
781
|
e.templates ??= [{
|
|
528
782
|
name: e.name,
|
|
529
783
|
description: "",
|
|
530
784
|
prototype: { attributes: {} }
|
|
531
785
|
}];
|
|
532
|
-
for (const
|
|
533
|
-
|
|
786
|
+
for (const i of e.templates)
|
|
787
|
+
i.drawingTool = t;
|
|
534
788
|
}
|
|
535
789
|
updateDrawingInfo(e) {
|
|
536
|
-
if (e.
|
|
537
|
-
e.drawingInfo =
|
|
790
|
+
if (e.geometryType === "esriGeometryPoint")
|
|
791
|
+
e.drawingInfo = g(this.nextRendererColorIndex(e.geometryType));
|
|
792
|
+
else if (e.geometryType === "esriGeometryPolyline")
|
|
793
|
+
e.drawingInfo = L(this.nextRendererColorIndex(e.geometryType));
|
|
794
|
+
else if (e.geometryType === "esriGeometryPolygon")
|
|
795
|
+
e.drawingInfo = F(this.nextRendererColorIndex(e.geometryType));
|
|
538
796
|
else
|
|
539
797
|
return;
|
|
540
798
|
}
|
|
541
|
-
|
|
799
|
+
nextRendererColorIndex(e) {
|
|
800
|
+
const t = this.rendererColorCounters[e];
|
|
801
|
+
return t === void 0 ? 0 : (this.rendererColorCounters[e] = t + 1, t);
|
|
802
|
+
}
|
|
803
|
+
resetRendererColorCounters() {
|
|
804
|
+
this.rendererColorCounters = {
|
|
805
|
+
esriGeometryPoint: 0,
|
|
806
|
+
esriGeometryPolyline: 2,
|
|
807
|
+
esriGeometryPolygon: 4
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
createDomain(e, t) {
|
|
542
811
|
return e ? {
|
|
543
812
|
type: "codedValue",
|
|
544
|
-
name: `${
|
|
545
|
-
codedValues: e.map((
|
|
813
|
+
name: `${t}_${crypto.randomUUID().replace(/-/gu, "")}`,
|
|
814
|
+
codedValues: e.map((i) => ({ name: i, code: i }))
|
|
546
815
|
} : null;
|
|
547
816
|
}
|
|
548
817
|
editFieldsInfo() {
|
|
@@ -554,47 +823,47 @@ class u {
|
|
|
554
823
|
};
|
|
555
824
|
}
|
|
556
825
|
}
|
|
557
|
-
function
|
|
558
|
-
const e =
|
|
826
|
+
function I(n) {
|
|
827
|
+
const e = n.service, t = {
|
|
559
828
|
layers: [],
|
|
560
829
|
tables: []
|
|
561
830
|
};
|
|
562
|
-
for (const
|
|
563
|
-
|
|
564
|
-
id:
|
|
565
|
-
formInfo:
|
|
566
|
-
popupInfo:
|
|
567
|
-
layerDefinition:
|
|
831
|
+
for (const i of e.layers || [])
|
|
832
|
+
t.layers.push({
|
|
833
|
+
id: i.id,
|
|
834
|
+
formInfo: h(i),
|
|
835
|
+
popupInfo: b(i),
|
|
836
|
+
layerDefinition: i.drawingInfo
|
|
568
837
|
});
|
|
569
|
-
for (const
|
|
570
|
-
|
|
571
|
-
id:
|
|
572
|
-
formInfo:
|
|
573
|
-
popupInfo:
|
|
838
|
+
for (const i of e.tables || [])
|
|
839
|
+
t.tables.push({
|
|
840
|
+
id: i.id,
|
|
841
|
+
formInfo: h(i),
|
|
842
|
+
popupInfo: b(i)
|
|
574
843
|
});
|
|
575
|
-
return
|
|
844
|
+
return t;
|
|
576
845
|
}
|
|
577
|
-
function
|
|
846
|
+
function h(n) {
|
|
578
847
|
const e = [];
|
|
579
|
-
for (const
|
|
580
|
-
|
|
581
|
-
label:
|
|
848
|
+
for (const i of n.fields)
|
|
849
|
+
i.required || e.push({
|
|
850
|
+
label: i.alias,
|
|
582
851
|
type: "field",
|
|
583
852
|
editableExpression: "expr/system/true",
|
|
584
|
-
fieldName:
|
|
585
|
-
inputType:
|
|
853
|
+
fieldName: i.name,
|
|
854
|
+
inputType: S(i.type, i.domain, i.length)
|
|
586
855
|
});
|
|
587
|
-
const
|
|
588
|
-
for (const
|
|
856
|
+
const t = n.relationships || [];
|
|
857
|
+
for (const i of t)
|
|
589
858
|
e.push({
|
|
590
859
|
description: "",
|
|
591
|
-
label:
|
|
860
|
+
label: i.name,
|
|
592
861
|
type: "relationship",
|
|
593
862
|
displayCount: 3,
|
|
594
863
|
displayType: "list",
|
|
595
864
|
editableExpression: "expr/system/true",
|
|
596
865
|
orderByFields: [{ field: "created_date", order: "asc" }],
|
|
597
|
-
relationshipId:
|
|
866
|
+
relationshipId: i.id
|
|
598
867
|
});
|
|
599
868
|
return {
|
|
600
869
|
formElements: e,
|
|
@@ -602,33 +871,33 @@ function m(a) {
|
|
|
602
871
|
{ expression: "false", name: "expr/system/false", returnType: "boolean", title: "False" },
|
|
603
872
|
{ expression: "true", name: "expr/system/true", returnType: "boolean", title: "True" }
|
|
604
873
|
],
|
|
605
|
-
title:
|
|
874
|
+
title: n.name
|
|
606
875
|
};
|
|
607
876
|
}
|
|
608
|
-
function
|
|
609
|
-
const e = [],
|
|
610
|
-
for (const
|
|
611
|
-
|
|
612
|
-
fieldName:
|
|
877
|
+
function b(n) {
|
|
878
|
+
const e = [], t = [];
|
|
879
|
+
for (const l of n.fields)
|
|
880
|
+
l.required || t.push({
|
|
881
|
+
fieldName: l.name,
|
|
613
882
|
isEditable: !0,
|
|
614
|
-
label:
|
|
883
|
+
label: l.alias,
|
|
615
884
|
visible: !0
|
|
616
885
|
});
|
|
617
886
|
e.push({
|
|
618
887
|
type: "fields",
|
|
619
888
|
description: "",
|
|
620
|
-
fieldInfos:
|
|
889
|
+
fieldInfos: t
|
|
621
890
|
});
|
|
622
|
-
const
|
|
623
|
-
if (
|
|
624
|
-
for (const
|
|
891
|
+
const i = n.relationships || [];
|
|
892
|
+
if (i.length && n.type !== "Table")
|
|
893
|
+
for (const l of i)
|
|
625
894
|
e.push({
|
|
626
895
|
type: "relationship",
|
|
627
896
|
description: "",
|
|
628
897
|
displayCount: 3,
|
|
629
898
|
displayType: "list",
|
|
630
899
|
orderByFields: [{ field: "created_date", order: "asc" }],
|
|
631
|
-
relationshipId:
|
|
900
|
+
relationshipId: l.id
|
|
632
901
|
});
|
|
633
902
|
return e.push({
|
|
634
903
|
type: "attachments",
|
|
@@ -638,15 +907,12 @@ function f(a) {
|
|
|
638
907
|
}), {
|
|
639
908
|
popupElements: e,
|
|
640
909
|
showLastEditInfo: !1,
|
|
641
|
-
title:
|
|
910
|
+
title: n.name
|
|
642
911
|
};
|
|
643
912
|
}
|
|
644
|
-
function
|
|
645
|
-
return
|
|
646
|
-
}
|
|
647
|
-
function L(a, e, i) {
|
|
648
|
-
return a === "esriFieldTypeString" && !e ? { type: "text-box", maxLength: i || 255, minLength: 0 } : a === "esriFieldTypeString" && e ? { type: "combo-box", noValueOptionLabel: "No value", showNoValueOption: !0 } : ["esriFieldTypeInteger", "esriFieldTypeDouble"].includes(a) ? { type: "text-box", minLength: 0 } : a === "esriFieldTypeDate" ? { type: "datetime-picker", includeTime: !1 } : { type: "text-box", maxLength: i || 255, minLength: 0 };
|
|
913
|
+
function S(n, e, t) {
|
|
914
|
+
return n === "esriFieldTypeString" && !e && t && t > 256 ? { type: "text-area", maxLength: t } : n === "esriFieldTypeString" && !e ? { type: "text-box", maxLength: t || 256, minLength: 0 } : n === "esriFieldTypeString" && e ? { type: "combo-box", noValueOptionLabel: "No value", showNoValueOption: !0 } : ["esriFieldTypeInteger", "esriFieldTypeDouble"].includes(n) ? { type: "text-box", minLength: 0 } : n === "esriFieldTypeDate" ? { type: "datetime-picker", includeTime: !1 } : { type: "text-box", maxLength: t || 256, minLength: 0 };
|
|
649
915
|
}
|
|
650
916
|
export {
|
|
651
|
-
|
|
917
|
+
y as C
|
|
652
918
|
};
|