@stemy/ngx-utils 13.6.6 → 13.6.7
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/esm2020/ngx-utils/common-types.mjs +2 -5
- package/esm2020/ngx-utils/components/unordered-list/unordered-list.component.mjs +1 -1
- package/esm2020/ngx-utils/directives/unordered-list-item.directive.mjs +4 -2
- package/esm2020/ngx-utils/directives/unordered-list-template.directive.mjs +7 -13
- package/esm2020/public_api.mjs +2 -2
- package/fesm2015/stemy-ngx-utils.mjs +11 -16
- package/fesm2015/stemy-ngx-utils.mjs.map +1 -1
- package/fesm2020/stemy-ngx-utils.mjs +10 -16
- package/fesm2020/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +4 -3
- package/ngx-utils/components/unordered-list/unordered-list.component.d.ts +2 -2
- package/ngx-utils/directives/unordered-list-item.directive.d.ts +2 -2
- package/ngx-utils/directives/unordered-list-template.directive.d.ts +5 -7
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
|
@@ -135,9 +135,10 @@ export interface IAsyncMessage {
|
|
|
135
135
|
context?: any;
|
|
136
136
|
}
|
|
137
137
|
export declare type AsyncMethod = (context?: any) => Promise<IAsyncMessage>;
|
|
138
|
-
export
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
export interface UnorderedListTemplate {
|
|
139
|
+
readonly type: string;
|
|
140
|
+
readonly selector: string;
|
|
141
|
+
readonly templateRef: TemplateRef<any>;
|
|
141
142
|
}
|
|
142
143
|
export interface UnorderedListTemplates {
|
|
143
144
|
[type: string]: TemplateRef<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, OnChanges, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { UnorderedListStyle, UnorderedListTemplates,
|
|
2
|
+
import { UnorderedListStyle, UnorderedListTemplates, UnorderedListTemplate } from "../../common-types";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class UnorderedListComponent implements OnChanges, AfterContentInit, AfterViewInit {
|
|
5
5
|
private cdr;
|
|
@@ -8,7 +8,7 @@ export declare class UnorderedListComponent implements OnChanges, AfterContentIn
|
|
|
8
8
|
listStyle: UnorderedListStyle;
|
|
9
9
|
path: string;
|
|
10
10
|
level: number;
|
|
11
|
-
templates:
|
|
11
|
+
templates: UnorderedListTemplate[];
|
|
12
12
|
isArray: boolean;
|
|
13
13
|
isObject: boolean;
|
|
14
14
|
defaultTemplates: UnorderedListTemplates;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef, OnChanges, Renderer2, SimpleChanges, ViewContainerRef } from "@angular/core";
|
|
2
|
-
import { UnorderedListStyle, UnorderedListTemplates,
|
|
2
|
+
import { UnorderedListStyle, UnorderedListTemplates, UnorderedListTemplate } from "../common-types";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class UnorderedListItemDirective implements OnChanges {
|
|
5
5
|
private elementRef;
|
|
@@ -12,7 +12,7 @@ export declare class UnorderedListItemDirective implements OnChanges {
|
|
|
12
12
|
listStyle: UnorderedListStyle;
|
|
13
13
|
path: string;
|
|
14
14
|
level: number;
|
|
15
|
-
templates:
|
|
15
|
+
templates: UnorderedListTemplate[];
|
|
16
16
|
defaultTemplates: UnorderedListTemplates;
|
|
17
17
|
isArray: boolean;
|
|
18
18
|
isObject: boolean;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
2
|
+
import { UnorderedListTemplate } from "../common-types";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UnorderedListTemplateDirective
|
|
5
|
-
|
|
6
|
-
templateRef: TemplateRef<any>;
|
|
4
|
+
export declare class UnorderedListTemplateDirective implements UnorderedListTemplate {
|
|
5
|
+
readonly templateRef: TemplateRef<any>;
|
|
7
6
|
type: string;
|
|
8
7
|
selector: string;
|
|
9
|
-
constructor(
|
|
10
|
-
createEmbeddedView(context: any): EmbeddedViewRef<any>;
|
|
8
|
+
constructor(templateRef: TemplateRef<any>);
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<UnorderedListTemplateDirective, never>;
|
|
12
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<UnorderedListTemplateDirective, "ng-template[type][selector]", never, { "type": "type"; "selector": "selector"; }, {}, never>;
|
|
13
11
|
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { IResolveFactory, CanvasColor, IIconService, ICON_SERVICE, ITranslation, ITranslations, ILanguageSetting, ILanguageSettings, ILanguageService, LANGUAGE_SERVICE, IAuthService, RouteValidator, IRouteData, IRoute, AUTH_SERVICE, IAclComponent, IPromiseService, PROMISE_SERVICE, IWasi, IWasmExports, IWasm, IWasmAsync, WASI_IMPLEMENTATION, IRouteStateInfo, NavigationUrlParam, StorageMode, IToasterService, TOASTER_SERVICE, IAsyncMessage, AsyncMethod,
|
|
1
|
+
export { IResolveFactory, CanvasColor, IIconService, ICON_SERVICE, ITranslation, ITranslations, ILanguageSetting, ILanguageSettings, ILanguageService, LANGUAGE_SERVICE, IAuthService, RouteValidator, IRouteData, IRoute, AUTH_SERVICE, IAclComponent, IPromiseService, PROMISE_SERVICE, IWasi, IWasmExports, IWasm, IWasmAsync, WASI_IMPLEMENTATION, IRouteStateInfo, NavigationUrlParam, StorageMode, IToasterService, TOASTER_SERVICE, IAsyncMessage, AsyncMethod, UnorderedListTemplate, UnorderedListTemplates, UnorderedListStyle, IAjaxRequestDetails, AjaxRequestCallback, ScriptType, IScriptPromises, IStylePromises, ISearchObservable, FactoryDependencies, ObjectType, ITimer, IExtraProperties, IGroupMap, TranslationQuery, IPageInfo, IPaginationData, PaginationDataLoader, PaginationItemContext, IHttpHeaders, IHttpParams, IRequestOptions, IIssueContext, IProgress, ProgressListener, PromiseExecutor, HttpPromise, IHttpService, EXPRESS_REQUEST, IApiService, API_SERVICE, IOpenApiSchemaProperty, IOpenApiSchema, IOpenApiSchemas, ITableOrders, ITableColumn, ITableColumns, ITableTemplate, ITableTemplates, ITableDataQuery, TableDataLoader, ResourceIfContext, APP_BASE_URL, IConfiguration, IConfigService, CONFIG_SERVICE, BASE_CONFIG, SCRIPT_PARAMS, ROOT_ELEMENT, RESIZE_DELAY, ResizeEventStrategy, RESIZE_STRATEGY, ErrorHandlerCallback, ERROR_HANDLER, GlobalComponentModifier, IGlobalTemplates, GLOBAL_TEMPLATES, AppInitializerFunc, IModuleConfig, ValuedPromise } from "./ngx-utils/common-types";
|
|
2
2
|
export { AjaxRequestHandler } from "./ngx-utils/utils/ajax-request-handler";
|
|
3
3
|
export { ObjectUtils } from "./ngx-utils/utils/object.utils";
|
|
4
4
|
export { DateUtils } from "./ngx-utils/utils/date.utils";
|