feat(planning): grille hebdomadaire complète avec API et filtres
- Connexion API via proxy Angular (résolution CORS, base path /api) - Import CSS ng-zorro global pour les modales et composants - Filtres Camion/Show câblés sur l'affichage de la grille - Camions affichés via TrucksService (linkés au show du même créneau) - Panneau de détails : spectacles + camions du jour sélectionné - Modale de création de spectacle stylisée avec fond et centrage - Positionnement précis des events à la minute dans leur créneau - Auto-scroll vers l'heure courante au chargement - Ligne "maintenant" sur la colonne du jour actuel - Régénération des services OpenAPI (nouveaux noms de types) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-22
@@ -2189,10 +2189,6 @@ function isDataStructure(value) {
|
||||
(isImmutable(value) || Array.isArray(value) || isPlainObject(value)));
|
||||
}
|
||||
|
||||
function isProtoKey(key) {
|
||||
return (typeof key === 'string' && (key === '__proto__' || key === 'constructor'));
|
||||
}
|
||||
|
||||
// http://jsperf.com/copy-array-inline
|
||||
function arrCopy(arr, offset) {
|
||||
offset = offset || 0;
|
||||
@@ -2211,9 +2207,6 @@ function shallowCopy(from) {
|
||||
}
|
||||
var to = {};
|
||||
for (var key in from) {
|
||||
if (isProtoKey(key)) {
|
||||
continue;
|
||||
}
|
||||
if (hasOwnProperty.call(from, key)) {
|
||||
to[key] = from[key];
|
||||
}
|
||||
@@ -2278,10 +2271,6 @@ function mergeWithSources(collection, sources, merger) {
|
||||
merged.push(value);
|
||||
}
|
||||
: function (value, key) {
|
||||
if (isProtoKey(key)) {
|
||||
return;
|
||||
}
|
||||
|
||||
var hasVal = hasOwnProperty.call(merged, key);
|
||||
var nextVal =
|
||||
hasVal && merger ? merger(merged[key], value, key) : value;
|
||||
@@ -3269,9 +3258,6 @@ function remove(collection, key) {
|
||||
}
|
||||
|
||||
function set(collection, key, value) {
|
||||
if (typeof key === 'string' && isProtoKey(key)) {
|
||||
return collection;
|
||||
}
|
||||
if (!isDataStructure(collection)) {
|
||||
throw new TypeError('Cannot update non-data-structure value: ' + collection);
|
||||
}
|
||||
@@ -4988,10 +4974,6 @@ function toObject() {
|
||||
assertNotInfinite(this.size);
|
||||
var object = {};
|
||||
this.__iterate(function (v, k) {
|
||||
if (isProtoKey(k)) {
|
||||
return;
|
||||
}
|
||||
|
||||
object[k] = v;
|
||||
});
|
||||
return object;
|
||||
@@ -5012,9 +4994,6 @@ function toJS(value) {
|
||||
var result$1 = {};
|
||||
// @ts-expect-error `__iterate` exists on all Keyed collections but method is not defined in the type
|
||||
value.__iterate(function (v, k) {
|
||||
if (isProtoKey(k)) {
|
||||
return;
|
||||
}
|
||||
result$1[k] = toJS(v);
|
||||
});
|
||||
return result$1;
|
||||
@@ -6191,7 +6170,7 @@ function defaultConverter(k, v) {
|
||||
return isIndexed(v) ? v.toList() : isKeyed(v) ? v.toMap() : v.toSet();
|
||||
}
|
||||
|
||||
var version = "5.1.5";
|
||||
var version = "5.1.4";
|
||||
|
||||
/* eslint-disable import/order */
|
||||
|
||||
|
||||
+1
-22
@@ -2195,10 +2195,6 @@
|
||||
(isImmutable(value) || Array.isArray(value) || isPlainObject(value)));
|
||||
}
|
||||
|
||||
function isProtoKey(key) {
|
||||
return (typeof key === 'string' && (key === '__proto__' || key === 'constructor'));
|
||||
}
|
||||
|
||||
// http://jsperf.com/copy-array-inline
|
||||
function arrCopy(arr, offset) {
|
||||
offset = offset || 0;
|
||||
@@ -2217,9 +2213,6 @@
|
||||
}
|
||||
var to = {};
|
||||
for (var key in from) {
|
||||
if (isProtoKey(key)) {
|
||||
continue;
|
||||
}
|
||||
if (hasOwnProperty.call(from, key)) {
|
||||
to[key] = from[key];
|
||||
}
|
||||
@@ -2284,10 +2277,6 @@
|
||||
merged.push(value);
|
||||
}
|
||||
: function (value, key) {
|
||||
if (isProtoKey(key)) {
|
||||
return;
|
||||
}
|
||||
|
||||
var hasVal = hasOwnProperty.call(merged, key);
|
||||
var nextVal =
|
||||
hasVal && merger ? merger(merged[key], value, key) : value;
|
||||
@@ -3275,9 +3264,6 @@
|
||||
}
|
||||
|
||||
function set(collection, key, value) {
|
||||
if (typeof key === 'string' && isProtoKey(key)) {
|
||||
return collection;
|
||||
}
|
||||
if (!isDataStructure(collection)) {
|
||||
throw new TypeError('Cannot update non-data-structure value: ' + collection);
|
||||
}
|
||||
@@ -4994,10 +4980,6 @@
|
||||
assertNotInfinite(this.size);
|
||||
var object = {};
|
||||
this.__iterate(function (v, k) {
|
||||
if (isProtoKey(k)) {
|
||||
return;
|
||||
}
|
||||
|
||||
object[k] = v;
|
||||
});
|
||||
return object;
|
||||
@@ -5018,9 +5000,6 @@
|
||||
var result$1 = {};
|
||||
// @ts-expect-error `__iterate` exists on all Keyed collections but method is not defined in the type
|
||||
value.__iterate(function (v, k) {
|
||||
if (isProtoKey(k)) {
|
||||
return;
|
||||
}
|
||||
result$1[k] = toJS(v);
|
||||
});
|
||||
return result$1;
|
||||
@@ -6197,7 +6176,7 @@
|
||||
return isIndexed(v) ? v.toList() : isKeyed(v) ? v.toMap() : v.toSet();
|
||||
}
|
||||
|
||||
var version = "5.1.5";
|
||||
var version = "5.1.4";
|
||||
|
||||
/* eslint-disable import/order */
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "immutable",
|
||||
"version": "5.1.5",
|
||||
"version": "5.1.4",
|
||||
"description": "Immutable Data Collections",
|
||||
"license": "MIT",
|
||||
"homepage": "https://immutable-js.com",
|
||||
|
||||
Reference in New Issue
Block a user