UnknownLayer-ZZSQOTQ7.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. import {
  2. v as v2
  3. } from "./chunk-KHA63LLS.js";
  4. import {
  5. O
  6. } from "./chunk-I3OBGWNS.js";
  7. import {
  8. b
  9. } from "./chunk-4DDBH2K5.js";
  10. import "./chunk-7N4X6GF3.js";
  11. import "./chunk-UXF37FQ4.js";
  12. import "./chunk-ZOEK6QHJ.js";
  13. import "./chunk-2Z6LERTI.js";
  14. import "./chunk-OWVBLVP3.js";
  15. import "./chunk-EGZW6HC3.js";
  16. import "./chunk-4NKD334K.js";
  17. import "./chunk-65K7LC56.js";
  18. import "./chunk-ATPLLI5W.js";
  19. import "./chunk-WJ3OEUD3.js";
  20. import "./chunk-MXB2XLKV.js";
  21. import "./chunk-XH7RUGVZ.js";
  22. import "./chunk-TBBTRX4O.js";
  23. import "./chunk-YBSUITLL.js";
  24. import "./chunk-DT6EAZQ5.js";
  25. import "./chunk-VNFRAYHO.js";
  26. import "./chunk-R5IG2D6H.js";
  27. import "./chunk-VBRY5KJM.js";
  28. import "./chunk-PDKDCAAD.js";
  29. import "./chunk-ECW2QABR.js";
  30. import "./chunk-GCDJLKH4.js";
  31. import "./chunk-MRJEICT6.js";
  32. import {
  33. d,
  34. e,
  35. n2 as n,
  36. v2 as v
  37. } from "./chunk-Y3WMVFTW.js";
  38. import "./chunk-SAS7RONY.js";
  39. import "./chunk-WSRBH7BF.js";
  40. import "./chunk-IHXECKQQ.js";
  41. import "./chunk-ULGDPLM2.js";
  42. import {
  43. s3 as s
  44. } from "./chunk-EMJ4ZSM2.js";
  45. import "./chunk-IKP3YN53.js";
  46. import "./chunk-GZT4BVFP.js";
  47. import "./chunk-A5ICIBVI.js";
  48. // node_modules/@arcgis/core/layers/UnknownLayer.js
  49. var a = class extends v2(O(b)) {
  50. constructor(r) {
  51. super(r), this.resourceInfo = null, this.type = "unknown";
  52. }
  53. initialize() {
  54. this.addResolvingPromise(new Promise((r, e2) => {
  55. v(() => {
  56. const r2 = this.resourceInfo && (this.resourceInfo.layerType || this.resourceInfo.type);
  57. let s2 = "Unknown layer type";
  58. r2 && (s2 += " " + r2), e2(new s("layer:unknown-layer-type", s2, { layerType: r2 }));
  59. });
  60. }));
  61. }
  62. read(r, o) {
  63. super.read({ resourceInfo: r }, o);
  64. }
  65. write() {
  66. return null;
  67. }
  68. };
  69. e([d({ readOnly: true })], a.prototype, "resourceInfo", void 0), e([d({ type: ["show", "hide"] })], a.prototype, "listMode", void 0), e([d({ json: { read: false }, readOnly: true, value: "unknown" })], a.prototype, "type", void 0), a = e([n("esri.layers.UnknownLayer")], a);
  70. var c = a;
  71. export {
  72. c as default
  73. };
  74. //# sourceMappingURL=UnknownLayer-ZZSQOTQ7.js.map