@stemy/ngx-utils 12.1.4 → 12.1.5
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/stemy-ngx-utils.umd.js +1 -1
- package/bundles/stemy-ngx-utils.umd.js.map +1 -1
- package/esm2015/ngx-utils/components/unordered-list/unordered-list.component.js +2 -2
- package/esm2020/ngx-utils/services/acl.service.mjs +3 -1
- package/esm2020/ngx-utils/utils/file-system.mjs +20 -0
- package/esm2020/public_api.mjs +2 -1
- package/fesm2015/stemy-ngx-utils.js +1 -1
- package/fesm2015/stemy-ngx-utils.js.map +1 -1
- package/fesm2015/stemy-ngx-utils.mjs +23 -1
- package/fesm2015/stemy-ngx-utils.mjs.map +1 -1
- package/fesm2020/stemy-ngx-utils.mjs +23 -1
- package/fesm2020/stemy-ngx-utils.mjs.map +1 -1
- package/package.json +1 -1
- package/stemy-ngx-utils.metadata.json +1 -1
|
@@ -986,6 +986,26 @@ class GenericValue extends Subject {
|
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
|
|
989
|
+
class FileSystemEntry {
|
|
990
|
+
constructor(label, meta, image, data, parent, openCb) {
|
|
991
|
+
this.label = label;
|
|
992
|
+
this.meta = meta;
|
|
993
|
+
this.image = image;
|
|
994
|
+
this.data = data;
|
|
995
|
+
this.parent = parent;
|
|
996
|
+
this.openCb = openCb;
|
|
997
|
+
this.path = !parent ? [this] : parent.path.concat([this]);
|
|
998
|
+
this.level = this.path.length - 1;
|
|
999
|
+
this.classes = this.path
|
|
1000
|
+
.filter(t => typeof t.data === "string" && t.data.length > 0).map(t => t.data)
|
|
1001
|
+
.concat([`level-${this.level}`]);
|
|
1002
|
+
}
|
|
1003
|
+
open() {
|
|
1004
|
+
this.result = this.result || this.openCb(this.data, this);
|
|
1005
|
+
return this.result;
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
|
|
989
1009
|
class Rect {
|
|
990
1010
|
constructor(x, y, width, height, rotation = 0) {
|
|
991
1011
|
this.x = x;
|
|
@@ -2005,6 +2025,8 @@ class AclService {
|
|
|
2005
2025
|
return;
|
|
2006
2026
|
info.dirty = false;
|
|
2007
2027
|
const component = info.component;
|
|
2028
|
+
if (!info.component)
|
|
2029
|
+
return;
|
|
2008
2030
|
if (info.first) {
|
|
2009
2031
|
if (ObjectUtils.isFunction(component.onUserInitialized)) {
|
|
2010
2032
|
component.onUserInitialized();
|
|
@@ -5095,5 +5117,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
5095
5117
|
* Generated bundle index. Do not edit.
|
|
5096
5118
|
*/
|
|
5097
5119
|
|
|
5098
|
-
export { API_SERVICE, APP_BASE_URL, AUTH_SERVICE, AclService, AjaxRequestHandler, ApiService, ArrayUtils, AsyncMethodBase, AsyncMethodDirective, AuthGuard, BASE_CONFIG, BackgroundDirective, BaseHttpClient, BaseHttpService, CONFIG_SERVICE, CanvasColor, CanvasUtils, ChunkPipe, Circle, ConfigService, ConsoleToasterService, DateUtils, DynamicTableComponent, DynamicTableTemplateDirective, ERROR_HANDLER, EXPRESS_REQUEST, EntriesPipe, ErrorHandlerService, EventsService, ExtraItemPropertiesPipe, FactoryDependencies, FileUtils, FilterPipe, FindPipe, FormatNumberPipe, FormatterService, GLOBAL_TEMPLATES, GenericValue, GetOffsetPipe, GetTypePipe, GlobalTemplateDirective, GlobalTemplatePipe, GlobalTemplateService, GroupByPipe, HttpPromise, ICON_SERVICE, IConfiguration, IconDirective, IconService, Initializer, IsTypePipe, JoinPipe, KeysPipe, LANGUAGE_SERVICE, LanguageService, LoaderUtils, MapPipe, MathUtils, MaxPipe, MinPipe, NgxTemplateOutletDirective, NgxUtilsModule, ObjectUtils, ObservableUtils, OpenApiService, PROMISE_SERVICE, PaginationDirective, PaginationItemContext, PaginationItemDirective, PaginationMenuComponent, Point, PromiseService, ROOT_ELEMENT, Rect, ReducePipe, ReflectUtils, RemapPipe, ReplacePipe, ResizeEventPlugin, ResourceIfContext, ResourceIfDirective, ReversePipe, RoundPipe, SCRIPT_PARAMS, SafeHtmlPipe, ScrollEventPlugin, SetUtils, StateService, StaticAuthService, StaticLanguageService, StickyClassDirective, StickyDirective, StorageMode, StorageService, StringUtils, TOASTER_SERVICE, TimerUtils, TranslatePipe, TranslatedUrlSerializer, UniqueUtils, UniversalService, UnorderedListComponent, UnorderedListItemDirective, UnorderedListTemplateDirective, UnorederedListTemplate, ValuedPromise, ValuesPipe, Vector };
|
|
5120
|
+
export { API_SERVICE, APP_BASE_URL, AUTH_SERVICE, AclService, AjaxRequestHandler, ApiService, ArrayUtils, AsyncMethodBase, AsyncMethodDirective, AuthGuard, BASE_CONFIG, BackgroundDirective, BaseHttpClient, BaseHttpService, CONFIG_SERVICE, CanvasColor, CanvasUtils, ChunkPipe, Circle, ConfigService, ConsoleToasterService, DateUtils, DynamicTableComponent, DynamicTableTemplateDirective, ERROR_HANDLER, EXPRESS_REQUEST, EntriesPipe, ErrorHandlerService, EventsService, ExtraItemPropertiesPipe, FactoryDependencies, FileSystemEntry, FileUtils, FilterPipe, FindPipe, FormatNumberPipe, FormatterService, GLOBAL_TEMPLATES, GenericValue, GetOffsetPipe, GetTypePipe, GlobalTemplateDirective, GlobalTemplatePipe, GlobalTemplateService, GroupByPipe, HttpPromise, ICON_SERVICE, IConfiguration, IconDirective, IconService, Initializer, IsTypePipe, JoinPipe, KeysPipe, LANGUAGE_SERVICE, LanguageService, LoaderUtils, MapPipe, MathUtils, MaxPipe, MinPipe, NgxTemplateOutletDirective, NgxUtilsModule, ObjectUtils, ObservableUtils, OpenApiService, PROMISE_SERVICE, PaginationDirective, PaginationItemContext, PaginationItemDirective, PaginationMenuComponent, Point, PromiseService, ROOT_ELEMENT, Rect, ReducePipe, ReflectUtils, RemapPipe, ReplacePipe, ResizeEventPlugin, ResourceIfContext, ResourceIfDirective, ReversePipe, RoundPipe, SCRIPT_PARAMS, SafeHtmlPipe, ScrollEventPlugin, SetUtils, StateService, StaticAuthService, StaticLanguageService, StickyClassDirective, StickyDirective, StorageMode, StorageService, StringUtils, TOASTER_SERVICE, TimerUtils, TranslatePipe, TranslatedUrlSerializer, UniqueUtils, UniversalService, UnorderedListComponent, UnorderedListItemDirective, UnorderedListTemplateDirective, UnorederedListTemplate, ValuedPromise, ValuesPipe, Vector };
|
|
5099
5121
|
//# sourceMappingURL=stemy-ngx-utils.mjs.map
|