@sumaris-net/ngx-components 1.23.44 → 1.23.45
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/bundles/sumaris-net.ngx-components.umd.js +10 -14
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/doc/changelog.md +3 -0
- package/esm2015/src/app/core/icon/icon.component.js +2 -2
- package/esm2015/src/app/core/services/model/referential.model.js +8 -3
- package/fesm2015/sumaris-net.ngx-components.js +8 -3
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/referential.model.d.ts +3 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
var SPACE_PLACEHOLDER_CHAR = '\u2000';
|
|
48
48
|
var KEYBOARD_HIDE_DELAY_MS = 250; // 1s
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
/*! *****************************************************************************
|
|
51
51
|
Copyright (c) Microsoft Corporation.
|
|
52
52
|
|
|
53
53
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -209,11 +209,7 @@
|
|
|
209
209
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
210
210
|
if (k2 === undefined)
|
|
211
211
|
k2 = k;
|
|
212
|
-
|
|
213
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
214
|
-
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
215
|
-
}
|
|
216
|
-
Object.defineProperty(o, k2, desc);
|
|
212
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
217
213
|
}) : (function (o, m, k, k2) {
|
|
218
214
|
if (k2 === undefined)
|
|
219
215
|
k2 = k;
|
|
@@ -368,11 +364,6 @@
|
|
|
368
364
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
369
365
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
370
366
|
}
|
|
371
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
372
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
373
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
374
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
375
|
-
}
|
|
376
367
|
|
|
377
368
|
function isNil(obj) {
|
|
378
369
|
return obj === undefined || obj === null;
|
|
@@ -15218,7 +15209,8 @@
|
|
|
15218
15209
|
minify: true,
|
|
15219
15210
|
keepTypename: true,
|
|
15220
15211
|
keepEntityName: true,
|
|
15221
|
-
keepLocalId: true
|
|
15212
|
+
keepLocalId: true,
|
|
15213
|
+
keepIcon: true
|
|
15222
15214
|
});
|
|
15223
15215
|
/**
|
|
15224
15216
|
* Used to send an entity to a pod
|
|
@@ -15227,7 +15219,8 @@
|
|
|
15227
15219
|
minify: true,
|
|
15228
15220
|
keepTypename: false,
|
|
15229
15221
|
keepEntityName: false,
|
|
15230
|
-
keepLocalId: false
|
|
15222
|
+
keepLocalId: false,
|
|
15223
|
+
keepIcon: false
|
|
15231
15224
|
});
|
|
15232
15225
|
// @dynamic
|
|
15233
15226
|
exports.ReferentialRef = ReferentialRef_1 = /** @class */ (function (_super) {
|
|
@@ -15246,6 +15239,8 @@
|
|
|
15246
15239
|
var target = _super.prototype.asObject.call(this, opts);
|
|
15247
15240
|
if (opts && opts.keepEntityName === false)
|
|
15248
15241
|
delete target.entityName;
|
|
15242
|
+
if (opts && opts.keepIcon === false)
|
|
15243
|
+
delete target.icon;
|
|
15249
15244
|
return target;
|
|
15250
15245
|
};
|
|
15251
15246
|
ReferentialRef.prototype.fromObject = function (source, opts) {
|
|
@@ -15256,6 +15251,7 @@
|
|
|
15256
15251
|
this.description = source.description;
|
|
15257
15252
|
this.statusId = source.statusId;
|
|
15258
15253
|
this.levelId = source.levelId;
|
|
15254
|
+
this.icon = source.icon;
|
|
15259
15255
|
};
|
|
15260
15256
|
return ReferentialRef;
|
|
15261
15257
|
}(Entity));
|
|
@@ -25341,7 +25337,7 @@
|
|
|
25341
25337
|
this.icon = value.icon;
|
|
25342
25338
|
this.matIcon = value.matIcon;
|
|
25343
25339
|
this.matSvgIcon = value.matSvgIcon;
|
|
25344
|
-
this.color = value.color;
|
|
25340
|
+
this.color = value.color || this.color; // Keep existing, if not defined in the reference
|
|
25345
25341
|
},
|
|
25346
25342
|
enumerable: false,
|
|
25347
25343
|
configurable: true
|