chunk-435DJNTD.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import {
  2. e as e2,
  3. l,
  4. v
  5. } from "./chunk-T3EUPDKL.js";
  6. import {
  7. y
  8. } from "./chunk-EG5OI4V4.js";
  9. import {
  10. m
  11. } from "./chunk-WZQZRKNH.js";
  12. import {
  13. o
  14. } from "./chunk-ECW2QABR.js";
  15. import {
  16. d,
  17. e,
  18. n2 as n
  19. } from "./chunk-Y3WMVFTW.js";
  20. // node_modules/@arcgis/core/layers/mixins/TemporalLayer.js
  21. var a = (f) => {
  22. let a2 = class extends f {
  23. constructor() {
  24. super(...arguments), this.timeExtent = null, this.timeOffset = null, this.useViewTime = true;
  25. }
  26. readOffset(e3, t) {
  27. const o2 = t.timeInfo.exportOptions;
  28. if (!o2)
  29. return null;
  30. const i = o2.timeOffset, s = e2.fromJSON(o2.timeOffsetUnits);
  31. return i && s ? new l({ value: i, unit: s }) : null;
  32. }
  33. set timeInfo(e3) {
  34. m(e3, this.fieldsIndex), this._set("timeInfo", e3);
  35. }
  36. };
  37. return e([d({ type: y, json: { write: false } })], a2.prototype, "timeExtent", void 0), e([d({ type: l })], a2.prototype, "timeOffset", void 0), e([o("service", "timeOffset", ["timeInfo.exportOptions"])], a2.prototype, "readOffset", null), e([d({ value: null, type: v, json: { write: true, origins: { "web-document": { read: false, write: false }, "portal-item": { read: false, write: false } } } })], a2.prototype, "timeInfo", null), e([d({ type: Boolean, json: { read: { source: "timeAnimation" }, write: { target: "timeAnimation" }, origins: { "web-scene": { read: false, write: false } } } })], a2.prototype, "useViewTime", void 0), a2 = e([n("esri.layers.mixins.TemporalLayer")], a2), a2;
  38. };
  39. export {
  40. a
  41. };
  42. //# sourceMappingURL=chunk-435DJNTD.js.map