bruce-models 6.3.6 → 6.3.7
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/bruce-models.es5.js +7 -1
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +7 -1
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/client-file/client-file.js.map +1 -1
- package/dist/lib/common/utc.js +6 -0
- package/dist/lib/common/utc.js.map +1 -1
- package/dist/lib/data-lab/data-lab.js.map +1 -1
- package/dist/lib/entity/entity-type.js.map +1 -1
- package/dist/lib/entity/entity.js.map +1 -1
- package/dist/lib/plugin/plugin.js.map +1 -1
- package/dist/lib/project/project-view-bookmark.js.map +1 -1
- package/dist/lib/project/project-view-legacy-bookmark.js.map +1 -1
- package/dist/lib/project/project-view.js.map +1 -1
- package/dist/lib/server/pending-action.js.map +1 -1
- package/dist/types/account/account-invite.d.ts +1 -1
- package/dist/types/assembly/assembly.d.ts +2 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/client-file/client-file.d.ts +2 -1
- package/dist/types/common/utc.d.ts +6 -5
- package/dist/types/data-lab/data-lab.d.ts +2 -1
- package/dist/types/entity/entity-comment.d.ts +1 -1
- package/dist/types/entity/entity-type.d.ts +2 -2
- package/dist/types/entity/entity.d.ts +2 -1
- package/dist/types/entity-type-model/comment.d.ts +1 -1
- package/dist/types/plugin/plugin.d.ts +2 -2
- package/dist/types/project/project-view-bookmark.d.ts +2 -1
- package/dist/types/project/project-view-legacy-bookmark.d.ts +2 -1
- package/dist/types/project/project-view.d.ts +2 -1
- package/dist/types/server/pending-action.d.ts +4 -4
- package/dist/types/tileset/tileset.d.ts +3 -3
- package/dist/types/tracking/tracking.d.ts +1 -1
- package/dist/types/user/session.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -6016,10 +6016,16 @@ var UTC;
|
|
|
6016
6016
|
* @param utc
|
|
6017
6017
|
*/
|
|
6018
6018
|
function ToString(utc) {
|
|
6019
|
+
if (typeof utc === "string") {
|
|
6020
|
+
return utc;
|
|
6021
|
+
}
|
|
6019
6022
|
return ToDate(utc).toISOString();
|
|
6020
6023
|
}
|
|
6021
6024
|
UTC.ToString = ToString;
|
|
6022
6025
|
function ToDate(utc) {
|
|
6026
|
+
if (typeof utc === "string") {
|
|
6027
|
+
return new Date(utc);
|
|
6028
|
+
}
|
|
6023
6029
|
return new Date(Date.UTC(utc.y, utc.m - 1, utc.d, utc.hh, utc.mm, utc.ss, 0));
|
|
6024
6030
|
}
|
|
6025
6031
|
UTC.ToDate = ToDate;
|
|
@@ -15981,7 +15987,7 @@ var Tracking;
|
|
|
15981
15987
|
})(Tracking || (Tracking = {}));
|
|
15982
15988
|
|
|
15983
15989
|
// This is updated with the package.json version on build.
|
|
15984
|
-
const VERSION = "6.3.
|
|
15990
|
+
const VERSION = "6.3.7";
|
|
15985
15991
|
|
|
15986
15992
|
export { VERSION, Assembly, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking };
|
|
15987
15993
|
//# sourceMappingURL=bruce-models.es5.js.map
|