@acorex/platform 19.2.11 → 19.2.12
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/common/index.d.ts +1 -0
- package/common/lib/file-type/file-type.provider.d.ts +14 -0
- package/common/lib/file-type/file-type.types.d.ts +44 -0
- package/common/lib/file-type/index.d.ts +2 -0
- package/fesm2022/acorex-platform-common.mjs +26 -1
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +2 -0
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-7KY7G6qo.mjs → acorex-platform-themes-default-entity-master-list-view.component-DrHsaotw.mjs} +2 -2
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-7KY7G6qo.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-DrHsaotw.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-search-popup.component-Blkpqvqa.mjs → acorex-platform-themes-default-search-popup.component-Ccouaqp4.mjs} +2 -2
- package/fesm2022/{acorex-platform-themes-default-search-popup.component-Blkpqvqa.mjs.map → acorex-platform-themes-default-search-popup.component-Ccouaqp4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-setting-page.component-DYumYm5k.mjs → acorex-platform-themes-default-setting-page.component-CJoBVXTl.mjs} +2 -2
- package/fesm2022/{acorex-platform-themes-default-setting-page.component-DYumYm5k.mjs.map → acorex-platform-themes-default-setting-page.component-CJoBVXTl.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +6 -6
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-2iWPztWW.mjs → acorex-platform-widgets-button-widget-designer.component-BWhqDxGH.mjs} +3 -3
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-BWhqDxGH.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BiCinIok.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-Ba_DdBAl.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BiCinIok.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-Ba_DdBAl.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-BaslkAPS.mjs → acorex-platform-widgets-tabular-data-view-popup.component-Ca6Cwzez.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-BaslkAPS.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-Ca6Cwzez.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +85 -357
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/lib/builder/index.d.ts +3 -2
- package/layout/builder/lib/builder/metadata/index.d.ts +1 -0
- package/layout/builder/lib/builder/metadata/metadata.types.d.ts +6 -0
- package/package.json +1 -1
- package/widgets/lib/widgets/advance/gallery/index.d.ts +0 -3
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-2iWPztWW.mjs.map +0 -1
- package/widgets/lib/widgets/advance/gallery/gallery-widget-column.component.d.ts +0 -6
- package/widgets/lib/widgets/advance/gallery/gallery-widget-edit.component.d.ts +0 -16
- package/widgets/lib/widgets/advance/gallery/gallery-widget-filter.component.d.ts +0 -6
package/common/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './lib/file-storage';
|
|
|
8
8
|
export * from './lib/filters';
|
|
9
9
|
export * from './lib/layout';
|
|
10
10
|
export * from './lib/file-storage';
|
|
11
|
+
export * from './lib/file-type';
|
|
11
12
|
export * from './lib/search';
|
|
12
13
|
export * from './lib/settings';
|
|
13
14
|
export * from './lib/store';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { AXPFileType } from './file-type.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface AXPFileProvider {
|
|
5
|
+
items(): Promise<AXPFileType[]>;
|
|
6
|
+
}
|
|
7
|
+
export declare const AXP_FILE_TYPE_PROVIDER: InjectionToken<AXPFileProvider[]>;
|
|
8
|
+
export declare class AXPFileTypeProviderService implements AXPFileProvider {
|
|
9
|
+
private providers;
|
|
10
|
+
items(): Promise<AXPFileType[]>;
|
|
11
|
+
get(name: string): Promise<AXPFileType | undefined>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFileTypeProviderService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPFileTypeProviderService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AXPMetaDataDefinition } from '@acorex/platform/layout/builder';
|
|
2
|
+
export interface AXPFileType {
|
|
3
|
+
/**
|
|
4
|
+
* The unique identifier for the file type.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* The name unique of the file type.
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* The title of the file type.
|
|
12
|
+
*/
|
|
13
|
+
title: string;
|
|
14
|
+
/**
|
|
15
|
+
* The description of the file type.
|
|
16
|
+
*/
|
|
17
|
+
description?: string;
|
|
18
|
+
extensions: AXPFileExtension[];
|
|
19
|
+
/**
|
|
20
|
+
* The metadata associated with the file type.
|
|
21
|
+
*/
|
|
22
|
+
meta?: AXPMetaDataDefinition[];
|
|
23
|
+
}
|
|
24
|
+
export interface AXPFileExtension {
|
|
25
|
+
/**
|
|
26
|
+
* The unique identifier for the file extension.
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* The name unique of the file extension.
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* The title of the file extension.
|
|
34
|
+
*/
|
|
35
|
+
title: string;
|
|
36
|
+
/**
|
|
37
|
+
* The description of the file extension.
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The metadata associated with the file extension.
|
|
42
|
+
*/
|
|
43
|
+
meta?: AXPMetaDataDefinition[];
|
|
44
|
+
}
|
|
@@ -2799,6 +2799,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
2799
2799
|
}]
|
|
2800
2800
|
}] });
|
|
2801
2801
|
|
|
2802
|
+
const AXP_FILE_TYPE_PROVIDER = new InjectionToken('AXP_FILE_TYPE_PROVIDER');
|
|
2803
|
+
class AXPFileTypeProviderService {
|
|
2804
|
+
constructor() {
|
|
2805
|
+
this.providers = inject(AXP_FILE_TYPE_PROVIDER, { optional: true });
|
|
2806
|
+
}
|
|
2807
|
+
async items() {
|
|
2808
|
+
const items = [];
|
|
2809
|
+
if (Array.isArray(this.providers)) {
|
|
2810
|
+
for (const provider of this.providers) {
|
|
2811
|
+
items.push(...(await provider.items()));
|
|
2812
|
+
}
|
|
2813
|
+
}
|
|
2814
|
+
return items;
|
|
2815
|
+
}
|
|
2816
|
+
async get(name) {
|
|
2817
|
+
return (await this.items()).find((c) => c.name == name);
|
|
2818
|
+
}
|
|
2819
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPFileTypeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2820
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPFileTypeProviderService, providedIn: 'root' }); }
|
|
2821
|
+
}
|
|
2822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPFileTypeProviderService, decorators: [{
|
|
2823
|
+
type: Injectable,
|
|
2824
|
+
args: [{ providedIn: 'root' }]
|
|
2825
|
+
}] });
|
|
2826
|
+
|
|
2802
2827
|
const AXPSignOutAction = createAction('[SignOut] Action');
|
|
2803
2828
|
const AXPSignInAction = createAction('[SignIn] Action');
|
|
2804
2829
|
|
|
@@ -2806,5 +2831,5 @@ const AXPSignInAction = createAction('[SignIn] Action');
|
|
|
2806
2831
|
* Generated bundle index. Do not edit.
|
|
2807
2832
|
*/
|
|
2808
2833
|
|
|
2809
|
-
export { ALL_DEFAULT_OPERATORS, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXMWorkflowErrorHandler, AXPAppStartUpProvider, AXPAppStartUpService, AXPClipBoardService, AXPCommonModule, AXPComponentLogoConfig, AXPComponentSlotDirective, AXPComponentSlotLoaderService, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataGenerator, AXPDataProvider, AXPDataSeederService, AXPDexieEntityStorageService, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityQueryType, AXPEntityStorageService, AXPErrorHandlerRegistryService, AXPExportService, AXPExpressionEvaluatorService, AXPFileStorageService, AXPFileStorageStatus, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFiltersProviderService, AXPFontIconLogoConfig, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGridLayoutDirective, AXPImageUrlLogoConfig, AXPLogoComponent, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalService, AXPRelationshipCardinality, AXPRelationshipKind, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValueProvider, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingScope, AXPSettingService, AXPSignInAction, AXPSignOutAction, AXPStickyDirective, AXPTextLogoConfig, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_DATA_SEEDER_TOKEN, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, resolveActionLook };
|
|
2834
|
+
export { ALL_DEFAULT_OPERATORS, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXMWorkflowErrorHandler, AXPAppStartUpProvider, AXPAppStartUpService, AXPClipBoardService, AXPCommonModule, AXPComponentLogoConfig, AXPComponentSlotDirective, AXPComponentSlotLoaderService, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataGenerator, AXPDataProvider, AXPDataSeederService, AXPDexieEntityStorageService, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityQueryType, AXPEntityStorageService, AXPErrorHandlerRegistryService, AXPExportService, AXPExpressionEvaluatorService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFiltersProviderService, AXPFontIconLogoConfig, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGridLayoutDirective, AXPImageUrlLogoConfig, AXPLogoComponent, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalService, AXPRelationshipCardinality, AXPRelationshipKind, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValueProvider, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingScope, AXPSettingService, AXPSignInAction, AXPSignOutAction, AXPStickyDirective, AXPTextLogoConfig, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_DATA_SEEDER_TOKEN, AXP_FILE_TYPE_PROVIDER, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, resolveActionLook };
|
|
2810
2835
|
//# sourceMappingURL=acorex-platform-common.mjs.map
|