breeze-client 2.1.2 → 2.1.3
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/LICENSE +1 -1
- package/adapter-ajax-angularjs/package.json +2 -2
- package/adapter-ajax-fetch/package.json +2 -2
- package/adapter-ajax-httpclient/package.json +2 -6
- package/adapter-ajax-jquery/package.json +2 -2
- package/adapter-ajax-post/package.json +2 -2
- package/adapter-data-service-odata/package.json +2 -2
- package/adapter-data-service-webapi/package.json +2 -2
- package/adapter-model-library-backing-store/package.json +2 -2
- package/adapter-model-library-ko/package.json +2 -2
- package/adapter-uri-builder-json/package.json +2 -2
- package/adapter-uri-builder-odata/package.json +2 -2
- package/breeze-client.d.ts +1 -1
- package/breeze-client.metadata.json +1 -1
- package/bundles/breeze-client.umd.js +9 -5
- package/bundles/breeze-client.umd.js.map +1 -1
- package/bundles/breeze-client.umd.min.js +1 -1
- package/bundles/breeze-client.umd.min.js.map +1 -1
- package/esm2015/breeze-client.js +2 -2
- package/esm2015/src/array.js +1 -1
- package/esm2015/src/breeze.js +2 -2
- package/esm2015/src/core.js +4 -1
- package/esm2015/src/csdl-metadata-parser.js +3 -3
- package/esm2015/src/default-property-interceptor.js +3 -2
- package/esm2015/src/enum.js +2 -2
- package/esm2015/src/local-query-comparison-options.js +1 -1
- package/esm5/breeze-client.js +2 -2
- package/esm5/src/array.js +1 -1
- package/esm5/src/breeze.js +2 -2
- package/esm5/src/core.js +4 -1
- package/esm5/src/csdl-metadata-parser.js +3 -3
- package/esm5/src/default-property-interceptor.js +3 -2
- package/esm5/src/enum.js +2 -2
- package/esm5/src/local-query-comparison-options.js +1 -1
- package/fesm2015/breeze-client.js +9 -5
- package/fesm2015/breeze-client.js.map +1 -1
- package/fesm5/breeze-client.js +9 -5
- package/fesm5/breeze-client.js.map +1 -1
- package/mixin-get-entity-graph/package.json +2 -2
- package/mixin-save-queuing/package.json +2 -2
- package/package.json +1 -1
- package/esm2015/public_api.js +0 -2
- package/esm5/public_api.js +0 -2
- package/public_api.d.ts +0 -1
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
/*
|
|
227
|
-
* Copyright 2012-
|
|
227
|
+
* Copyright 2012-2023 IdeaBlade, Inc. All Rights Reserved.
|
|
228
228
|
* Use, reproduction, distribution, and modification of this code is subject to the terms and
|
|
229
229
|
* conditions of the IdeaBlade Breeze license, available at http://www.breezejs.com/license
|
|
230
230
|
*
|
|
@@ -819,6 +819,9 @@
|
|
|
819
819
|
}
|
|
820
820
|
/** Execute fn while obj has tempValue for property */
|
|
821
821
|
function using(obj, property, tempValue, fn) {
|
|
822
|
+
if (!obj) {
|
|
823
|
+
return fn();
|
|
824
|
+
}
|
|
822
825
|
var originalValue = obj[property];
|
|
823
826
|
if (tempValue === originalValue) {
|
|
824
827
|
return fn();
|
|
@@ -7111,7 +7114,7 @@
|
|
|
7111
7114
|
}());
|
|
7112
7115
|
NamingConvention.prototype._$typeName = "NamingConvention";
|
|
7113
7116
|
|
|
7114
|
-
var RX_COLLECTION = /Collection\((
|
|
7117
|
+
var RX_COLLECTION = /Collection\((.*)\)/;
|
|
7115
7118
|
function parse(metadataStore, schemas, altMetadata) {
|
|
7116
7119
|
metadataStore._entityTypeResourceMap = {};
|
|
7117
7120
|
schemas = core.toArray(schemas);
|
|
@@ -7469,7 +7472,7 @@
|
|
|
7469
7472
|
}
|
|
7470
7473
|
function getCollectionType(propertyType) {
|
|
7471
7474
|
var match = propertyType.match(RX_COLLECTION);
|
|
7472
|
-
return match ? match[
|
|
7475
|
+
return match ? match[1] : null;
|
|
7473
7476
|
}
|
|
7474
7477
|
function getNamespaceFor(shortName, schema) {
|
|
7475
7478
|
var ns;
|
|
@@ -7574,7 +7577,8 @@
|
|
|
7574
7577
|
}
|
|
7575
7578
|
}
|
|
7576
7579
|
// exit if no change - extra cruft is because dateTimes don't compare cleanly.
|
|
7577
|
-
if (newValue === oldValue || (
|
|
7580
|
+
if (newValue === oldValue || (newValue === null && oldValue === undefined) ||
|
|
7581
|
+
(dataType && dataType.normalize && newValue && oldValue && dataType.normalize(newValue) === dataType.normalize(oldValue))) {
|
|
7578
7582
|
return;
|
|
7579
7583
|
}
|
|
7580
7584
|
// CANNOT DO NEXT LINE because it has the possibility of creating a new property
|
|
@@ -14018,7 +14022,7 @@
|
|
|
14018
14022
|
ValidationError: ValidationError,
|
|
14019
14023
|
ValidationOptions: ValidationOptions,
|
|
14020
14024
|
Validator: Validator,
|
|
14021
|
-
version: "2.1.
|
|
14025
|
+
version: "2.1.3"
|
|
14022
14026
|
};
|
|
14023
14027
|
/** @hidden @internal */
|
|
14024
14028
|
var win;
|