@smartsoft001-mobilems/angular 2.18.0 → 2.19.0
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/index.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ import { AppBaseComponent, PageBaseComponent, BaseComponent } from '@smartsoft00
|
|
|
9
9
|
import * as rxjs from 'rxjs';
|
|
10
10
|
import { Observable, Subscription } from 'rxjs';
|
|
11
11
|
import { MetaDefinition } from '@angular/platform-browser';
|
|
12
|
+
import { CrudSearchService, ICrudFilter, CrudService, ICrudFilterQueryItem } from '@smartsoft001/crud-shell-angular';
|
|
12
13
|
import * as dist_packages_shared_models_src from 'dist/packages/shared/models/src';
|
|
13
|
-
import { CrudService, ICrudFilter, ICrudFilterQueryItem } from '@smartsoft001/crud-shell-angular';
|
|
14
14
|
import { IEntity } from '@smartsoft001/domain-core';
|
|
15
15
|
|
|
16
16
|
declare function setTranslationsAndLang(service: TranslateService): void;
|
|
@@ -213,6 +213,32 @@ declare class ModalService {
|
|
|
213
213
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
+
type SearchSource = 'objects' | 'publicCollections' | 'articles' | 'creators' | 'imprints';
|
|
217
|
+
interface ISearchData {
|
|
218
|
+
cycleId?: number;
|
|
219
|
+
keywordId?: number;
|
|
220
|
+
seriesTitleId?: number;
|
|
221
|
+
}
|
|
222
|
+
interface ISearchResults {
|
|
223
|
+
objects: number;
|
|
224
|
+
publicCollections: number;
|
|
225
|
+
articles: number;
|
|
226
|
+
creators: number;
|
|
227
|
+
imprints: number;
|
|
228
|
+
}
|
|
229
|
+
declare class SearchService extends CrudSearchService {
|
|
230
|
+
private readonly http;
|
|
231
|
+
private _currentSearchText;
|
|
232
|
+
get currentSearchText(): string;
|
|
233
|
+
setFilter(val: Partial<ICrudFilter>): void;
|
|
234
|
+
setEnabled(val: boolean): void;
|
|
235
|
+
setCurrentSearchText(txt: string): void;
|
|
236
|
+
search(txt: string, data?: ISearchData): Observable<ISearchResults>;
|
|
237
|
+
getFilterQuery(type: SearchSource, txt: string, data?: ISearchData): string;
|
|
238
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, never>;
|
|
239
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
|
|
240
|
+
}
|
|
241
|
+
|
|
216
242
|
declare class SeoService {
|
|
217
243
|
private readonly title;
|
|
218
244
|
private readonly meta;
|
|
@@ -318,7 +344,7 @@ declare abstract class CrudBaseService<T extends IEntity<string>> extends CrudSe
|
|
|
318
344
|
protected getQueryType(type: '=' | '!=' | '>=' | '<=' | '<' | '>', isArray: boolean): "" | "[from]" | "[to]" | "[]";
|
|
319
345
|
}
|
|
320
346
|
|
|
321
|
-
declare const SERVICES: (typeof
|
|
347
|
+
declare const SERVICES: (typeof ConfigsService | typeof SearchService | typeof DictionaryService | typeof ConfigsFacade | typeof AuthStorageService | typeof TranslationService | typeof GlobalService | typeof FileUrlService | typeof SettingsService | typeof WcagService | typeof ContrastService | typeof MetaService | typeof SeoService | typeof StyleService | typeof ModalService)[];
|
|
322
348
|
|
|
323
349
|
declare class PageComponent extends PageBaseComponent {
|
|
324
350
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
|
|
@@ -889,5 +915,5 @@ declare const authenticationGuard: CanActivateFn;
|
|
|
889
915
|
|
|
890
916
|
declare const unauthorizedGuard: CanActivateFn;
|
|
891
917
|
|
|
892
|
-
export { AppComponent, AuthStorageService, COMPONENTS, ConfigsFacade, ConfigsService, ContrastService, CrudBaseService, DIRECTIVES, DictionaryService, FileUrlService, FiltersBaseComponent, FiltersContext, FooterComponent, GameType, GlobalService, HeaderComponent, HoverDirective, ImageBox, ListMode, MenuComponent, MetaService, ModalContainerComponent, ModalRef, ModalService, PageComponent, SERVICES, ScrollTopComponent, ScrollableDirective, SeoService, SettingsService, SharedConfig, SharedModule, StyleService, TRANSLATE_DATA_PL, TranslationService, WcagService, authenticationGuard, environment, setTranslationsAndLang, unauthorizedGuard };
|
|
893
|
-
export type { ChangePasswordErrorMessage, FileUrlMode, FilterType, ForgotPasswordErrorMessage, IAudio, IDictionaryItem, IErrorMessages, IFilterItem, IFilterOne, IFooterConfig, IFooterStaticPage, IGame, IGameAnswer, IGameMemoConfig, IGamePuzzleConfig, IGameQuestion, IGameQuizConfig, IHeaderConfig, IHeaderUser, IImages, ILoginResponse, IMenuConfig, IMenuItem, IObjectGallery, IObjectGalleryItem, IObjectGallerySingleObject, IQuickMenu, ISingleObjectMultimedia, ITranslateData, ITranslationConfig, IUser, IUserInfo, IUserModify, IUserQuery, IUserQueryList, IUserRegister, IVideo, IWcagConfig, ModifyUserErrorMessage, RegisterErrorMessage, SearchQuery, WcagChangeType, WcagContrast, WcagLetterSpacing, WcagText, WcagWordSpacing };
|
|
918
|
+
export { AppComponent, AuthStorageService, COMPONENTS, ConfigsFacade, ConfigsService, ContrastService, CrudBaseService, DIRECTIVES, DictionaryService, FileUrlService, FiltersBaseComponent, FiltersContext, FooterComponent, GameType, GlobalService, HeaderComponent, HoverDirective, ImageBox, ListMode, MenuComponent, MetaService, ModalContainerComponent, ModalRef, ModalService, PageComponent, SERVICES, ScrollTopComponent, ScrollableDirective, SearchService, SeoService, SettingsService, SharedConfig, SharedModule, StyleService, TRANSLATE_DATA_PL, TranslationService, WcagService, authenticationGuard, environment, setTranslationsAndLang, unauthorizedGuard };
|
|
919
|
+
export type { ChangePasswordErrorMessage, FileUrlMode, FilterType, ForgotPasswordErrorMessage, IAudio, IDictionaryItem, IErrorMessages, IFilterItem, IFilterOne, IFooterConfig, IFooterStaticPage, IGame, IGameAnswer, IGameMemoConfig, IGamePuzzleConfig, IGameQuestion, IGameQuizConfig, IHeaderConfig, IHeaderUser, IImages, ILoginResponse, IMenuConfig, IMenuItem, IObjectGallery, IObjectGalleryItem, IObjectGallerySingleObject, IQuickMenu, ISearchData, ISearchResults, ISingleObjectMultimedia, ITranslateData, ITranslationConfig, IUser, IUserInfo, IUserModify, IUserQuery, IUserQueryList, IUserRegister, IVideo, IWcagConfig, ModifyUserErrorMessage, RegisterErrorMessage, SearchQuery, SearchSource, WcagChangeType, WcagContrast, WcagLetterSpacing, WcagText, WcagWordSpacing };
|