1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import {
- e as e2,
- l,
- v
- } from "./chunk-T3EUPDKL.js";
- import {
- y
- } from "./chunk-EG5OI4V4.js";
- import {
- m
- } from "./chunk-WZQZRKNH.js";
- import {
- o
- } from "./chunk-ECW2QABR.js";
- import {
- d,
- e,
- n2 as n
- } from "./chunk-Y3WMVFTW.js";
- // node_modules/@arcgis/core/layers/mixins/TemporalLayer.js
- var a = (f) => {
- let a2 = class extends f {
- constructor() {
- super(...arguments), this.timeExtent = null, this.timeOffset = null, this.useViewTime = true;
- }
- readOffset(e3, t) {
- const o2 = t.timeInfo.exportOptions;
- if (!o2)
- return null;
- const i = o2.timeOffset, s = e2.fromJSON(o2.timeOffsetUnits);
- return i && s ? new l({ value: i, unit: s }) : null;
- }
- set timeInfo(e3) {
- m(e3, this.fieldsIndex), this._set("timeInfo", e3);
- }
- };
- 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;
- };
- export {
- a
- };
- //# sourceMappingURL=chunk-435DJNTD.js.map
|