coer-elements 0.0.60 → 0.0.62
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/components/lib/coer-tab/coer-tab.component.d.ts +1 -0
- package/esm2022/components/lib/coer-modal/coer-modal.component.mjs +3 -3
- package/esm2022/components/lib/coer-tab/coer-tab.component.mjs +13 -1
- package/esm2022/tools/lib/section.class.mjs +8 -2
- package/esm2022/tools/lib/tools.mjs +13 -1
- package/fesm2022/coer-elements-components.mjs +14 -2
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +19 -1
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +1 -1
- package/tools/lib/section.class.d.ts +2 -0
- package/tools/lib/tools.d.ts +2 -0
@@ -225,6 +225,18 @@ const Tools = {
|
|
225
225
|
}, milliseconds)
|
226
226
|
}));
|
227
227
|
});
|
228
|
+
},
|
229
|
+
/** */
|
230
|
+
Except: (array, filter, ...properties) => {
|
231
|
+
const result = [];
|
232
|
+
for (const item of array) {
|
233
|
+
if (typeof item === 'object' && Tools.IsNotNull(properties) && properties.length > 0) {
|
234
|
+
if (!filter.some(x => x[properties[0]] === item[properties[0]])) {
|
235
|
+
result.push(item);
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
return [...result];
|
228
240
|
}
|
229
241
|
};
|
230
242
|
|
@@ -1186,12 +1198,18 @@ class Section {
|
|
1186
1198
|
this.IsNotOnlyWhiteSpace = Tools.IsNotOnlyWhiteSpace;
|
1187
1199
|
}
|
1188
1200
|
ngAfterViewInit() {
|
1189
|
-
Tools.Sleep().then(_ =>
|
1201
|
+
Tools.Sleep().then(_ => {
|
1202
|
+
this.RunSection();
|
1203
|
+
this.onReady.emit();
|
1204
|
+
});
|
1190
1205
|
Tools.Sleep(1000).then(_ => this.enableAnimations = true);
|
1191
1206
|
}
|
1192
1207
|
ngOnDestroy() {
|
1193
1208
|
this.onDestroy.emit();
|
1194
1209
|
}
|
1210
|
+
/** Main method. Starts after ngAfterViewInit() */
|
1211
|
+
RunSection() { }
|
1212
|
+
;
|
1195
1213
|
/** */
|
1196
1214
|
Log(value, log = null) {
|
1197
1215
|
if (Tools.IsNotNull(log))
|