@solcre-org/core-ui 2.11.21 → 2.11.23
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/fesm2022/solcre-org-core-ui.mjs +289 -48
- package/fesm2022/solcre-org-core-ui.mjs.map +1 -1
- package/index.d.ts +57 -14
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3179,7 +3179,7 @@ declare enum StepSize {
|
|
|
3179
3179
|
LARGE = "large"
|
|
3180
3180
|
}
|
|
3181
3181
|
|
|
3182
|
-
interface
|
|
3182
|
+
interface StepItemConfig {
|
|
3183
3183
|
id: string;
|
|
3184
3184
|
title: string;
|
|
3185
3185
|
status: StepStatus;
|
|
@@ -3194,7 +3194,7 @@ interface StepConfig {
|
|
|
3194
3194
|
}
|
|
3195
3195
|
|
|
3196
3196
|
interface StepsConfig {
|
|
3197
|
-
steps:
|
|
3197
|
+
steps: StepItemConfig[];
|
|
3198
3198
|
activeStepId?: string;
|
|
3199
3199
|
size?: StepSize;
|
|
3200
3200
|
showConnectors?: boolean;
|
|
@@ -3209,41 +3209,84 @@ interface StepsConfig {
|
|
|
3209
3209
|
layout?: 'horizontal' | 'vertical';
|
|
3210
3210
|
showLabels?: boolean;
|
|
3211
3211
|
showNumbers?: boolean;
|
|
3212
|
-
onStepClick?: (step:
|
|
3212
|
+
onStepClick?: (step: StepItemConfig) => void;
|
|
3213
3213
|
}
|
|
3214
3214
|
|
|
3215
3215
|
interface StepClickEvent {
|
|
3216
|
-
step:
|
|
3216
|
+
step: StepItemConfig;
|
|
3217
3217
|
stepIndex: number;
|
|
3218
3218
|
event: MouseEvent;
|
|
3219
3219
|
}
|
|
3220
3220
|
|
|
3221
|
+
interface StepChangeEvent {
|
|
3222
|
+
step: StepItemConfig;
|
|
3223
|
+
index: number;
|
|
3224
|
+
previousStepId?: string;
|
|
3225
|
+
}
|
|
3226
|
+
declare class StepsService {
|
|
3227
|
+
private _steps;
|
|
3228
|
+
private _activeStepId;
|
|
3229
|
+
private _stepsInstanceId;
|
|
3230
|
+
steps: _angular_core.Signal<StepItemConfig[]>;
|
|
3231
|
+
activeStepId: _angular_core.Signal<string>;
|
|
3232
|
+
activeStep: _angular_core.Signal<StepItemConfig | undefined>;
|
|
3233
|
+
activeStepIndex: _angular_core.Signal<number>;
|
|
3234
|
+
initializeSteps(steps: StepItemConfig[], activeStepId?: string, instanceId?: string): void;
|
|
3235
|
+
setActiveStep(stepId: string): StepChangeEvent | null;
|
|
3236
|
+
nextStep(): StepChangeEvent | null;
|
|
3237
|
+
previousStep(): StepChangeEvent | null;
|
|
3238
|
+
completeStep(stepId: string): void;
|
|
3239
|
+
setPendingStep(stepId: string): void;
|
|
3240
|
+
setActiveStepStatus(stepId: string): void;
|
|
3241
|
+
private updateStepStatus;
|
|
3242
|
+
setStepDisabled(stepId: string, disabled: boolean): void;
|
|
3243
|
+
getProgress(): number;
|
|
3244
|
+
canGoNext(): boolean;
|
|
3245
|
+
canGoPrevious(): boolean;
|
|
3246
|
+
getCompletedSteps(): StepItemConfig[];
|
|
3247
|
+
getPendingSteps(): StepItemConfig[];
|
|
3248
|
+
resetSteps(): void;
|
|
3249
|
+
completeStepsUpTo(stepId: string): void;
|
|
3250
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StepsService, never>;
|
|
3251
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<StepsService>;
|
|
3252
|
+
}
|
|
3253
|
+
|
|
3221
3254
|
declare class GenericStepsComponent implements OnInit, OnChanges {
|
|
3255
|
+
private stepsService;
|
|
3222
3256
|
config: _angular_core.InputSignal<StepsConfig>;
|
|
3257
|
+
useService: _angular_core.InputSignal<boolean>;
|
|
3258
|
+
instanceId: _angular_core.InputSignal<string>;
|
|
3223
3259
|
stepClick: _angular_core.OutputEmitterRef<StepClickEvent>;
|
|
3224
3260
|
stepChange: _angular_core.OutputEmitterRef<{
|
|
3225
|
-
step:
|
|
3261
|
+
step: StepItemConfig;
|
|
3226
3262
|
index: number;
|
|
3227
3263
|
}>;
|
|
3264
|
+
serviceStepChange: _angular_core.OutputEmitterRef<StepChangeEvent>;
|
|
3228
3265
|
activeStepId: _angular_core.WritableSignal<string>;
|
|
3229
|
-
steps: _angular_core.WritableSignal<
|
|
3266
|
+
steps: _angular_core.WritableSignal<StepItemConfig[]>;
|
|
3230
3267
|
customColors: _angular_core.WritableSignal<{
|
|
3231
3268
|
[key: string]: string;
|
|
3232
3269
|
}>;
|
|
3233
|
-
activeStep: _angular_core.Signal<
|
|
3270
|
+
activeStep: _angular_core.Signal<StepItemConfig | undefined>;
|
|
3234
3271
|
activeStepIndex: _angular_core.Signal<number>;
|
|
3272
|
+
currentSteps: _angular_core.Signal<StepItemConfig[]>;
|
|
3273
|
+
currentActiveStepId: _angular_core.Signal<string>;
|
|
3235
3274
|
StepStatus: typeof StepStatus;
|
|
3236
3275
|
StepType: typeof StepType;
|
|
3237
3276
|
StepSize: typeof StepSize;
|
|
3277
|
+
constructor();
|
|
3238
3278
|
ngOnInit(): void;
|
|
3239
3279
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3240
3280
|
private initializeSteps;
|
|
3281
|
+
private handleServiceStepChange;
|
|
3241
3282
|
private setupCustomColors;
|
|
3242
3283
|
private lightenColor;
|
|
3243
|
-
onStepClick(step:
|
|
3244
|
-
getStepClasses(step:
|
|
3245
|
-
getStepContent(step:
|
|
3246
|
-
|
|
3284
|
+
onStepClick(step: StepItemConfig, index: number, event: MouseEvent): void;
|
|
3285
|
+
getStepClasses(step: StepItemConfig): string;
|
|
3286
|
+
getStepContent(step: StepItemConfig): string;
|
|
3287
|
+
getTranslatedStepContent(step: StepItemConfig): string;
|
|
3288
|
+
shouldTranslateContent(step: StepItemConfig): boolean;
|
|
3289
|
+
isStepClickable(step: StepItemConfig): boolean;
|
|
3247
3290
|
getConnectorClasses(index: number): string;
|
|
3248
3291
|
setActiveStep(stepId: string): void;
|
|
3249
3292
|
nextStep(): void;
|
|
@@ -3252,7 +3295,7 @@ declare class GenericStepsComponent implements OnInit, OnChanges {
|
|
|
3252
3295
|
getStepProgress(): number;
|
|
3253
3296
|
getCustomStyles(): string;
|
|
3254
3297
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GenericStepsComponent, never>;
|
|
3255
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GenericStepsComponent, "core-generic-steps", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; }, { "stepClick": "stepClick"; "stepChange": "stepChange"; }, never, ["*"], true, [{ directive: typeof CoreHostDirective; inputs: {}; outputs: {}; }]>;
|
|
3298
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GenericStepsComponent, "core-generic-steps", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "useService": { "alias": "useService"; "required": false; "isSignal": true; }; "instanceId": { "alias": "instanceId"; "required": false; "isSignal": true; }; }, { "stepClick": "stepClick"; "stepChange": "stepChange"; "serviceStepChange": "serviceStepChange"; }, never, ["*"], true, [{ directive: typeof CoreHostDirective; inputs: {}; outputs: {}; }]>;
|
|
3256
3299
|
}
|
|
3257
3300
|
|
|
3258
3301
|
declare class GenericRatingComponent implements OnInit {
|
|
@@ -3711,5 +3754,5 @@ declare const VERSION: {
|
|
|
3711
3754
|
buildDate: string;
|
|
3712
3755
|
};
|
|
3713
3756
|
|
|
3714
|
-
export { ActiveFiltersComponent, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, CacheBustingInterceptor, CardComponent, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, DataListComponent, DataListItemComponent, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, GenericButtonComponent, GenericDocumentationComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericStepsComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, ModalMode, ModelApiService, MultiEntryFieldComponent, MultiEntryOutputFormat, NumberFieldComponent, NumberFieldConfigType, NumberFieldType, NumberRange, PERMISSION_ACTIONS_PROVIDER, PERMISSION_PROVIDER, PERMISSION_RESOURCES_PROVIDER, PaginationService, PasswordFieldComponent, PermissionEnumsService, PermissionModel, PermissionService, PermissionWrapperService, PermissionsActions, PermissionsInterceptor, PermissionsResources, ProgressBarComponent, ProgressBarSize, RatingService, RatingSize, RatingType, ResetPasswordModel, RoleModel, SelectFieldComponent, ServerSelectFieldComponent, ServerSelectService, SidebarCustomModalComponent, SidebarCustomModalService, SidebarHeight, SidebarMobileModalService, SidebarMobileType, SidebarPosition, SidebarService, SidebarState, SidebarTemplateRegistryService, SidebarVisibility, SidebarWidth, SmartFieldComponent, StepSize, StepStatus, StepType, SwitchFieldComponent, TableAction, TableActionService, TableDataService, TextAreaFieldComponent, TextFieldComponent, TimeFieldComponent, TimeInterval, TimelineService, TimelineStatus, TimelineType, TranslationMergeService, UsersModel, VERSION, equalToValidator, isSameDate, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader };
|
|
3715
|
-
export type { ActiveFilterItem, ActiveFiltersConfig, AdditionalPermissionResources, AddressModel, Alert, ApiConfig, ApiResponse, BottomNavItem, ButtonActionEvent, ButtonConfig, CheckboxFieldConfig, CheckboxModalFieldConfig, CheckboxOption, ColumnConfig, ColumnDisabledConfig, CompanyInfo, ConfirmUploadRequest, ConfirmationDialogConfig, CustomAction, DataListItem, DateFieldConfig, DateModalFieldConfig, DocumentActionEvent, DocumentConfig, DocumentItem, ExpansionConfig, ExtendedModalFieldConfig, ExtendedPermissionProvider, FileFieldConfig, FileUploadConfig, FilterConfig, FilterParams, GenericTab, GenericTabClickEvent, GenericTabConfig, GlobalAction, HeaderActionConfig, HeaderConfig, HeaderElementConfig, HeaderOrderConfig, InlineEditConfig, LayoutConfig, LayoutDataAttributes, LogoImagesConfig, ModalButtonConfig, ModalFieldConfig, ModalTabConfig, ModalValidationResult, MoreDataConfig, MultiEntryFieldConfig, MultiEntryFieldValue, NavConfig, NavItem, NumberFieldConfig, NumberModalFieldConfig, PaginatedResponse, PaginationEvent, PermissionActionsProvider, PermissionProvider, PermissionResourcesProvider, PresignedDownloadUrlResponse, PresignedUrlRequest, PresignedUrlResponse, RatingConfig, RatingStar, RatingSubmitEvent, RowStyleConfig, RowVisibilityConfig, SearchResponse, SelectServerSideConfig, SidebarBackButton, SidebarComponentConfig, SidebarComponentEvents, SidebarConfig, SidebarCustomModalConfig, SidebarItem, SidebarResponsiveConfig, SidebarSubItem, SidebarTemplateContext, StepClickEvent,
|
|
3757
|
+
export { ActiveFiltersComponent, AlertComponent, AlertContainerComponent, AlertService, AlertType, ApiConfigurationProvider, BaseFieldComponent, ButtonContext, ButtonSize, ButtonType, CacheBustingInterceptor, CardComponent, CheckboxFieldComponent, ConfigurationModel, ConfirmationDialogComponent, ConfirmationDialogService, CoreHostDirective, CoreUiHttpLoaderFactory, CoreUiTranslateLoader, CoreUiTranslateService, DataListComponent, DataListItemComponent, DateFieldComponent, DateUtility, DatetimeFieldComponent, DialogActions, DocumentAction, DocumentDisplayMode, DropdownComponent, DropdownDirection, DropdownService, DynamicFieldDirective, FieldErrorsComponent, FieldType, FileFieldComponent, FileModel, FileTemplateModel, FileTemplateType, FileType, FileTypeModel, FileUploadService, FilterModalComponent, FilterService, FilterType, GenericButtonComponent, GenericDocumentationComponent, GenericModalComponent, GenericPaginationComponent, GenericRatingComponent, GenericSidebarComponent, GenericStepsComponent, GenericTableComponent, GenericTabsComponent, GenericTimelineComponent, GlobalApiConfigService, HeaderComponent, HeaderConfigurationService, HeaderElementType, HeaderService, HttpLoaderFactory, ImageModalComponent, LayoutAuth, LayoutBreakpoint, LayoutComponent, LayoutService, LayoutStateService, LayoutType, LoaderComponent, LoaderService, MainNavComponent, MainNavService, ModalMode, ModelApiService, MultiEntryFieldComponent, MultiEntryOutputFormat, NumberFieldComponent, NumberFieldConfigType, NumberFieldType, NumberRange, PERMISSION_ACTIONS_PROVIDER, PERMISSION_PROVIDER, PERMISSION_RESOURCES_PROVIDER, PaginationService, PasswordFieldComponent, PermissionEnumsService, PermissionModel, PermissionService, PermissionWrapperService, PermissionsActions, PermissionsInterceptor, PermissionsResources, ProgressBarComponent, ProgressBarSize, RatingService, RatingSize, RatingType, ResetPasswordModel, RoleModel, SelectFieldComponent, ServerSelectFieldComponent, ServerSelectService, SidebarCustomModalComponent, SidebarCustomModalService, SidebarHeight, SidebarMobileModalService, SidebarMobileType, SidebarPosition, SidebarService, SidebarState, SidebarTemplateRegistryService, SidebarVisibility, SidebarWidth, SmartFieldComponent, StepSize, StepStatus, StepType, StepsService, SwitchFieldComponent, TableAction, TableActionService, TableDataService, TextAreaFieldComponent, TextFieldComponent, TimeFieldComponent, TimeInterval, TimelineService, TimelineStatus, TimelineType, TranslationMergeService, UsersModel, VERSION, equalToValidator, isSameDate, provideCoreUiTranslateLoader, providePermissionActions, providePermissionEnums, providePermissionResources, providePermissionService, providePermissionServiceFactory, provideTranslateLoader };
|
|
3758
|
+
export type { ActiveFilterItem, ActiveFiltersConfig, AdditionalPermissionResources, AddressModel, Alert, ApiConfig, ApiResponse, BottomNavItem, ButtonActionEvent, ButtonConfig, CheckboxFieldConfig, CheckboxModalFieldConfig, CheckboxOption, ColumnConfig, ColumnDisabledConfig, CompanyInfo, ConfirmUploadRequest, ConfirmationDialogConfig, CustomAction, DataListItem, DateFieldConfig, DateModalFieldConfig, DocumentActionEvent, DocumentConfig, DocumentItem, ExpansionConfig, ExtendedModalFieldConfig, ExtendedPermissionProvider, FileFieldConfig, FileUploadConfig, FilterConfig, FilterParams, GenericTab, GenericTabClickEvent, GenericTabConfig, GlobalAction, HeaderActionConfig, HeaderConfig, HeaderElementConfig, HeaderOrderConfig, InlineEditConfig, LayoutConfig, LayoutDataAttributes, LogoImagesConfig, ModalButtonConfig, ModalFieldConfig, ModalTabConfig, ModalValidationResult, MoreDataConfig, MultiEntryFieldConfig, MultiEntryFieldValue, NavConfig, NavItem, NumberFieldConfig, NumberModalFieldConfig, PaginatedResponse, PaginationEvent, PermissionActionsProvider, PermissionProvider, PermissionResourcesProvider, PresignedDownloadUrlResponse, PresignedUrlRequest, PresignedUrlResponse, RatingConfig, RatingStar, RatingSubmitEvent, RowStyleConfig, RowVisibilityConfig, SearchResponse, SelectServerSideConfig, SidebarBackButton, SidebarComponentConfig, SidebarComponentEvents, SidebarConfig, SidebarCustomModalConfig, SidebarItem, SidebarResponsiveConfig, SidebarSubItem, SidebarTemplateContext, StepChangeEvent, StepClickEvent, StepItemConfig, StepsConfig, SwitchFieldConfig, SwitchModalFieldConfig, TableActionConfig, TimeFieldConfig, TimeFieldValue, TimeOption, TimelineConfig, TimelineItem };
|