@solcre-org/core-ui 2.11.21 → 2.11.22

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.
@@ -10224,11 +10224,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
10224
10224
  // Este archivo es generado automáticamente por scripts/update-version.js
10225
10225
  // No edites manualmente este archivo
10226
10226
  const VERSION = {
10227
- full: '2.11.21',
10227
+ full: '2.11.22',
10228
10228
  major: 2,
10229
10229
  minor: 11,
10230
- patch: 21,
10231
- timestamp: '2025-08-28T09:59:54.455Z',
10230
+ patch: 22,
10231
+ timestamp: '2025-08-28T12:11:20.525Z',
10232
10232
  buildDate: '28/8/2025'
10233
10233
  };
10234
10234
 
@@ -10794,32 +10794,184 @@ var StepSize;
10794
10794
  StepSize["LARGE"] = "large";
10795
10795
  })(StepSize || (StepSize = {}));
10796
10796
 
10797
+ class StepsService {
10798
+ _steps = signal([]);
10799
+ _activeStepId = signal('');
10800
+ _stepsInstanceId = signal('');
10801
+ steps = computed(() => this._steps());
10802
+ activeStepId = computed(() => this._activeStepId());
10803
+ activeStep = computed(() => {
10804
+ const activeId = this._activeStepId();
10805
+ return this._steps().find(step => step.id === activeId);
10806
+ });
10807
+ activeStepIndex = computed(() => {
10808
+ const activeId = this._activeStepId();
10809
+ return this._steps().findIndex(step => step.id === activeId);
10810
+ });
10811
+ initializeSteps(steps, activeStepId, instanceId) {
10812
+ this._steps.set([...steps]);
10813
+ this._stepsInstanceId.set(instanceId || 'default');
10814
+ if (activeStepId) {
10815
+ this._activeStepId.set(activeStepId);
10816
+ }
10817
+ else if (steps.length > 0) {
10818
+ const activeStep = steps.find(step => step.status === StepStatus.ACTIVE) || steps[0];
10819
+ this._activeStepId.set(activeStep.id);
10820
+ }
10821
+ }
10822
+ setActiveStep(stepId) {
10823
+ const step = this._steps().find(s => s.id === stepId);
10824
+ if (!step) {
10825
+ return null;
10826
+ }
10827
+ if (step.disabled) {
10828
+ return null;
10829
+ }
10830
+ const previousStepId = this._activeStepId();
10831
+ this._activeStepId.set(stepId);
10832
+ return {
10833
+ step,
10834
+ index: this._steps().findIndex(s => s.id === stepId),
10835
+ previousStepId
10836
+ };
10837
+ }
10838
+ nextStep() {
10839
+ const currentIndex = this.activeStepIndex();
10840
+ if (currentIndex < this._steps().length - 1) {
10841
+ this.completeStep(this._activeStepId());
10842
+ const nextStep = this._steps()[currentIndex + 1];
10843
+ this.updateStepStatus(nextStep.id, StepStatus.ACTIVE);
10844
+ return this.setActiveStep(nextStep.id);
10845
+ }
10846
+ return null;
10847
+ }
10848
+ previousStep() {
10849
+ const currentIndex = this.activeStepIndex();
10850
+ if (currentIndex > 0) {
10851
+ const prevStep = this._steps()[currentIndex - 1];
10852
+ return this.setActiveStep(prevStep.id);
10853
+ }
10854
+ return null;
10855
+ }
10856
+ completeStep(stepId) {
10857
+ this.updateStepStatus(stepId, StepStatus.COMPLETE);
10858
+ }
10859
+ setPendingStep(stepId) {
10860
+ this.updateStepStatus(stepId, StepStatus.PENDING);
10861
+ }
10862
+ setActiveStepStatus(stepId) {
10863
+ this.updateStepStatus(stepId, StepStatus.ACTIVE);
10864
+ }
10865
+ updateStepStatus(stepId, status) {
10866
+ const stepIndex = this._steps().findIndex(s => s.id === stepId);
10867
+ if (stepIndex !== -1) {
10868
+ const updatedSteps = [...this._steps()];
10869
+ updatedSteps[stepIndex] = { ...updatedSteps[stepIndex], status };
10870
+ this._steps.set(updatedSteps);
10871
+ }
10872
+ }
10873
+ setStepDisabled(stepId, disabled) {
10874
+ const stepIndex = this._steps().findIndex(s => s.id === stepId);
10875
+ if (stepIndex !== -1) {
10876
+ const updatedSteps = [...this._steps()];
10877
+ updatedSteps[stepIndex] = { ...updatedSteps[stepIndex], disabled };
10878
+ this._steps.set(updatedSteps);
10879
+ }
10880
+ }
10881
+ getProgress() {
10882
+ const completedSteps = this._steps().filter(step => step.status === StepStatus.COMPLETE).length;
10883
+ return this._steps().length > 0 ? (completedSteps / this._steps().length) * 100 : 0;
10884
+ }
10885
+ canGoNext() {
10886
+ const currentIndex = this.activeStepIndex();
10887
+ return currentIndex < this._steps().length - 1;
10888
+ }
10889
+ canGoPrevious() {
10890
+ const currentIndex = this.activeStepIndex();
10891
+ return currentIndex > 0;
10892
+ }
10893
+ getCompletedSteps() {
10894
+ return this._steps().filter(step => step.status === StepStatus.COMPLETE);
10895
+ }
10896
+ getPendingSteps() {
10897
+ return this._steps().filter(step => step.status === StepStatus.PENDING);
10898
+ }
10899
+ resetSteps() {
10900
+ const updatedSteps = this._steps().map((step, index) => ({
10901
+ ...step,
10902
+ status: index === 0 ? StepStatus.ACTIVE : StepStatus.PENDING,
10903
+ disabled: index === 0 ? false : step.disabled
10904
+ }));
10905
+ this._steps.set(updatedSteps);
10906
+ if (updatedSteps.length > 0) {
10907
+ this._activeStepId.set(updatedSteps[0].id);
10908
+ }
10909
+ }
10910
+ completeStepsUpTo(stepId) {
10911
+ const targetIndex = this._steps().findIndex(s => s.id === stepId);
10912
+ if (targetIndex !== -1) {
10913
+ const updatedSteps = [...this._steps()];
10914
+ for (let i = 0; i <= targetIndex; i++) {
10915
+ updatedSteps[i] = { ...updatedSteps[i], status: StepStatus.COMPLETE };
10916
+ }
10917
+ this._steps.set(updatedSteps);
10918
+ }
10919
+ }
10920
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: StepsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10921
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: StepsService, providedIn: 'root' });
10922
+ }
10923
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: StepsService, decorators: [{
10924
+ type: Injectable,
10925
+ args: [{
10926
+ providedIn: 'root'
10927
+ }]
10928
+ }] });
10929
+
10797
10930
  class GenericStepsComponent {
10798
- // Inputs
10931
+ stepsService = inject(StepsService);
10799
10932
  config = input.required();
10800
- // Outputs
10933
+ useService = input(false);
10934
+ instanceId = input('default');
10801
10935
  stepClick = output();
10802
10936
  stepChange = output();
10803
- // Signals
10937
+ serviceStepChange = output();
10804
10938
  activeStepId = signal('');
10805
10939
  steps = signal([]);
10806
10940
  customColors = signal({});
10807
- // Computed
10808
10941
  activeStep = computed(() => {
10942
+ if (this.useService()) {
10943
+ return this.stepsService.activeStep();
10944
+ }
10809
10945
  const activeId = this.activeStepId();
10810
10946
  return this.steps().find(step => step.id === activeId);
10811
10947
  });
10812
10948
  activeStepIndex = computed(() => {
10949
+ if (this.useService()) {
10950
+ return this.stepsService.activeStepIndex();
10951
+ }
10813
10952
  const activeId = this.activeStepId();
10814
10953
  return this.steps().findIndex(step => step.id === activeId);
10815
10954
  });
10816
- // Enums for template
10955
+ currentSteps = computed(() => {
10956
+ return this.useService() ? this.stepsService.steps() : this.steps();
10957
+ });
10958
+ currentActiveStepId = computed(() => {
10959
+ return this.useService() ? this.stepsService.activeStepId() : this.activeStepId();
10960
+ });
10817
10961
  StepStatus = StepStatus;
10818
10962
  StepType = StepType;
10819
10963
  StepSize = StepSize;
10820
10964
  ngOnInit() {
10821
10965
  this.initializeSteps();
10822
10966
  this.setupCustomColors();
10967
+ if (this.useService()) {
10968
+ effect(() => {
10969
+ const serviceStepChange = this.stepsService.activeStepId();
10970
+ if (serviceStepChange) {
10971
+ this.handleServiceStepChange();
10972
+ }
10973
+ });
10974
+ }
10823
10975
  }
10824
10976
  ngOnChanges(changes) {
10825
10977
  if (changes['config']) {
@@ -10829,13 +10981,30 @@ class GenericStepsComponent {
10829
10981
  }
10830
10982
  initializeSteps() {
10831
10983
  const config = this.config();
10832
- this.steps.set(config.steps || []);
10833
- if (config.activeStepId) {
10834
- this.activeStepId.set(config.activeStepId);
10984
+ if (this.useService()) {
10985
+ this.stepsService.initializeSteps(config.steps || [], config.activeStepId, this.instanceId());
10986
+ }
10987
+ else {
10988
+ this.steps.set(config.steps || []);
10989
+ if (config.activeStepId) {
10990
+ this.activeStepId.set(config.activeStepId);
10991
+ }
10992
+ else if (this.steps().length > 0) {
10993
+ const activeStep = this.steps().find(step => step.status === StepStatus.ACTIVE) || this.steps()[0];
10994
+ this.activeStepId.set(activeStep.id);
10995
+ }
10835
10996
  }
10836
- else if (this.steps().length > 0) {
10837
- const activeStep = this.steps().find(step => step.status === StepStatus.ACTIVE) || this.steps()[0];
10838
- this.activeStepId.set(activeStep.id);
10997
+ }
10998
+ handleServiceStepChange() {
10999
+ const activeStep = this.stepsService.activeStep();
11000
+ const activeIndex = this.stepsService.activeStepIndex();
11001
+ if (activeStep) {
11002
+ const changeEvent = {
11003
+ step: activeStep,
11004
+ index: activeIndex
11005
+ };
11006
+ this.serviceStepChange.emit(changeEvent);
11007
+ this.stepChange.emit({ step: activeStep, index: activeIndex });
10839
11008
  }
10840
11009
  }
10841
11010
  setupCustomColors() {
@@ -10875,8 +11044,16 @@ class GenericStepsComponent {
10875
11044
  };
10876
11045
  this.stepClick.emit(clickEvent);
10877
11046
  if (this.config().clickable) {
10878
- this.activeStepId.set(step.id);
10879
- this.stepChange.emit({ step, index });
11047
+ if (this.useService()) {
11048
+ const changeEvent = this.stepsService.setActiveStep(step.id);
11049
+ if (changeEvent) {
11050
+ this.serviceStepChange.emit(changeEvent);
11051
+ }
11052
+ }
11053
+ else {
11054
+ this.activeStepId.set(step.id);
11055
+ this.stepChange.emit({ step, index });
11056
+ }
10880
11057
  }
10881
11058
  }
10882
11059
  getStepClasses(step) {
@@ -10887,7 +11064,8 @@ class GenericStepsComponent {
10887
11064
  if (step.status === StepStatus.COMPLETE) {
10888
11065
  classes.push('is-complete');
10889
11066
  }
10890
- if (step.id === this.activeStepId()) {
11067
+ const currentActiveId = this.currentActiveStepId();
11068
+ if (step.id === currentActiveId) {
10891
11069
  classes.push('is-active-step');
10892
11070
  }
10893
11071
  if (step.status === StepStatus.PENDING) {
@@ -10898,7 +11076,6 @@ class GenericStepsComponent {
10898
11076
  }
10899
11077
  const size = this.config().size || StepSize.MEDIUM;
10900
11078
  classes.push(`c-steps__item--${size}`);
10901
- console.log(`Step ${step.id} size class: c-steps__item--${size}`);
10902
11079
  if (step.customClass) {
10903
11080
  classes.push(step.customClass);
10904
11081
  }
@@ -10924,52 +11101,87 @@ class GenericStepsComponent {
10924
11101
  }
10925
11102
  getConnectorClasses(index) {
10926
11103
  const classes = ['c-steps__connector'];
10927
- const currentStep = this.steps()[index];
10928
- const nextStep = this.steps()[index + 1];
11104
+ const currentSteps = this.currentSteps();
11105
+ const currentStep = currentSteps[index];
11106
+ const nextStep = currentSteps[index + 1];
10929
11107
  if (currentStep?.status === StepStatus.COMPLETE) {
10930
11108
  classes.push('is-complete');
10931
11109
  }
10932
- else if (currentStep?.status === StepStatus.ACTIVE || currentStep?.id === this.activeStepId()) {
11110
+ else if (currentStep?.status === StepStatus.ACTIVE || currentStep?.id === this.currentActiveStepId()) {
10933
11111
  classes.push('is-active');
10934
11112
  }
10935
11113
  return classes.join(' ');
10936
11114
  }
10937
11115
  setActiveStep(stepId) {
10938
- const step = this.steps().find(s => s.id === stepId);
10939
- if (step) {
10940
- this.activeStepId.set(stepId);
10941
- this.stepChange.emit({ step, index: this.steps().findIndex(s => s.id === stepId) });
11116
+ if (this.useService()) {
11117
+ const changeEvent = this.stepsService.setActiveStep(stepId);
11118
+ if (changeEvent) {
11119
+ this.serviceStepChange.emit(changeEvent);
11120
+ }
11121
+ }
11122
+ else {
11123
+ const step = this.steps().find(s => s.id === stepId);
11124
+ if (step) {
11125
+ this.activeStepId.set(stepId);
11126
+ this.stepChange.emit({ step, index: this.steps().findIndex(s => s.id === stepId) });
11127
+ }
10942
11128
  }
10943
11129
  }
10944
11130
  nextStep() {
10945
- const currentIndex = this.activeStepIndex();
10946
- if (currentIndex < this.steps().length - 1) {
10947
- const updatedSteps = [...this.steps()];
10948
- updatedSteps[currentIndex] = { ...updatedSteps[currentIndex], status: StepStatus.COMPLETE };
10949
- const nextStep = updatedSteps[currentIndex + 1];
10950
- updatedSteps[currentIndex + 1] = { ...nextStep, status: StepStatus.ACTIVE };
10951
- this.steps.set(updatedSteps);
10952
- this.setActiveStep(nextStep.id);
11131
+ if (this.useService()) {
11132
+ const changeEvent = this.stepsService.nextStep();
11133
+ if (changeEvent) {
11134
+ this.serviceStepChange.emit(changeEvent);
11135
+ }
11136
+ }
11137
+ else {
11138
+ const currentIndex = this.activeStepIndex();
11139
+ if (currentIndex < this.steps().length - 1) {
11140
+ const updatedSteps = [...this.steps()];
11141
+ updatedSteps[currentIndex] = { ...updatedSteps[currentIndex], status: StepStatus.COMPLETE };
11142
+ const nextStep = updatedSteps[currentIndex + 1];
11143
+ updatedSteps[currentIndex + 1] = { ...nextStep, status: StepStatus.ACTIVE };
11144
+ this.steps.set(updatedSteps);
11145
+ this.setActiveStep(nextStep.id);
11146
+ }
10953
11147
  }
10954
11148
  }
10955
11149
  previousStep() {
10956
- const currentIndex = this.activeStepIndex();
10957
- if (currentIndex > 0) {
10958
- const prevStep = this.steps()[currentIndex - 1];
10959
- this.setActiveStep(prevStep.id);
11150
+ if (this.useService()) {
11151
+ const changeEvent = this.stepsService.previousStep();
11152
+ if (changeEvent) {
11153
+ this.serviceStepChange.emit(changeEvent);
11154
+ }
11155
+ }
11156
+ else {
11157
+ const currentIndex = this.activeStepIndex();
11158
+ if (currentIndex > 0) {
11159
+ const prevStep = this.steps()[currentIndex - 1];
11160
+ this.setActiveStep(prevStep.id);
11161
+ }
10960
11162
  }
10961
11163
  }
10962
11164
  completeStep(stepId) {
10963
- const stepIndex = this.steps().findIndex(s => s.id === stepId);
10964
- if (stepIndex !== -1) {
10965
- const updatedSteps = [...this.steps()];
10966
- updatedSteps[stepIndex] = { ...updatedSteps[stepIndex], status: StepStatus.COMPLETE };
10967
- this.steps.set(updatedSteps);
11165
+ if (this.useService()) {
11166
+ this.stepsService.completeStep(stepId);
11167
+ }
11168
+ else {
11169
+ const stepIndex = this.steps().findIndex(s => s.id === stepId);
11170
+ if (stepIndex !== -1) {
11171
+ const updatedSteps = [...this.steps()];
11172
+ updatedSteps[stepIndex] = { ...updatedSteps[stepIndex], status: StepStatus.COMPLETE };
11173
+ this.steps.set(updatedSteps);
11174
+ }
10968
11175
  }
10969
11176
  }
10970
11177
  getStepProgress() {
10971
- const completedSteps = this.steps().filter(step => step.status === StepStatus.COMPLETE).length;
10972
- return (completedSteps / this.steps().length) * 100;
11178
+ if (this.useService()) {
11179
+ return this.stepsService.getProgress();
11180
+ }
11181
+ else {
11182
+ const completedSteps = this.steps().filter(step => step.status === StepStatus.COMPLETE).length;
11183
+ return (completedSteps / this.steps().length) * 100;
11184
+ }
10973
11185
  }
10974
11186
  getCustomStyles() {
10975
11187
  const colors = this.customColors();
@@ -10978,11 +11190,11 @@ class GenericStepsComponent {
10978
11190
  .join('; ');
10979
11191
  }
10980
11192
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: GenericStepsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10981
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: GenericStepsComponent, isStandalone: true, selector: "core-generic-steps", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { stepClick: "stepClick", stepChange: "stepChange" }, usesOnChanges: true, hostDirectives: [{ directive: CoreHostDirective }], ngImport: i0, template: "<nav class=\"c-steps-container\" [class]=\"config().customClass\" [style]=\"getCustomStyles()\">\n <ol class=\"c-steps\" [class]=\"'c-steps--' + (config().layout || 'horizontal') + ' c-steps--' + (config().size || StepSize.MEDIUM)\">\n @for (step of steps(); track step.id; let i = $index) {\n <li class=\"c-steps__step\">\n <button \n type=\"button\"\n class=\"c-steps__item\"\n [class]=\"getStepClasses(step)\"\n [disabled]=\"step.disabled\"\n [title]=\"step.tooltip || step.title\"\n (click)=\"onStepClick(step, i, $event)\"\n [attr.data-step-id]=\"step.id\">\n \n <span class=\"c-steps__num\" [class]=\"'c-steps__num--' + step.type\" [style]=\"step.id === activeStepId() ? '--step-border: var(--step-active-border); font-weight: 800' : ''\">\n @if (step.type === StepType.ICON || step.status === StepStatus.COMPLETE) {\n <i [ngClass]=\"getStepContent(step) | coreIconCompat\"></i>\n } @else {\n <strong *ngIf=\"step.id === activeStepId()\">{{ getStepContent(step) }}</strong>\n <span *ngIf=\"step.id !== activeStepId()\">{{ getStepContent(step) }}</span>\n }\n </span>\n \n @if (config().showLabels !== false) {\n <span class=\"c-steps__text\">{{ step.title }}</span>\n }\n </button>\n \n @if (config().showConnectors !== false && i < steps().length - 1) {\n <div class=\"c-steps__connector\" [class]=\"getConnectorClasses(i)\"></div>\n }\n </li>\n }\n </ol>\n</nav>\n\n@if (activeStep()) {\n <div class=\"c-steps__content\" [attr.data-active-step]=\"activeStepId()\">\n <ng-content></ng-content>\n </div>\n}", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: IconCompatPipe, name: "coreIconCompat" }] });
11193
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: GenericStepsComponent, isStandalone: true, selector: "core-generic-steps", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: true, transformFunction: null }, useService: { classPropertyName: "useService", publicName: "useService", isSignal: true, isRequired: false, transformFunction: null }, instanceId: { classPropertyName: "instanceId", publicName: "instanceId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stepClick: "stepClick", stepChange: "stepChange", serviceStepChange: "serviceStepChange" }, usesOnChanges: true, hostDirectives: [{ directive: CoreHostDirective }], ngImport: i0, template: "<nav class=\"c-steps-container\" [class]=\"config().customClass\" [style]=\"getCustomStyles()\">\n <ol class=\"c-steps\" [class]=\"'c-steps--' + (config().layout || 'horizontal') + ' c-steps--' + (config().size || StepSize.MEDIUM)\">\n @for (step of currentSteps(); track step.id; let i = $index) {\n <li class=\"c-steps__step\">\n <button \n type=\"button\"\n class=\"c-steps__item\"\n [class]=\"getStepClasses(step)\"\n [disabled]=\"step.disabled\"\n [title]=\"step.tooltip || step.title\"\n (click)=\"onStepClick(step, i, $event)\"\n [attr.data-step-id]=\"step.id\">\n \n <span class=\"c-steps__num\" [class]=\"'c-steps__num--' + step.type\" [style]=\"step.id === currentActiveStepId() ? '--step-border: var(--step-active-border); font-weight: 800' : ''\">\n @if (step.type === StepType.ICON || step.status === StepStatus.COMPLETE) {\n <i [ngClass]=\"getStepContent(step) | coreIconCompat\"></i>\n } @else {\n <strong *ngIf=\"step.id === currentActiveStepId()\">{{ getStepContent(step) }}</strong>\n <span *ngIf=\"step.id !== currentActiveStepId()\">{{ getStepContent(step) }}</span>\n }\n </span>\n \n @if (config().showLabels !== false) {\n <span class=\"c-steps__text\">{{ step.title }}</span>\n }\n </button>\n \n @if (config().showConnectors !== false && i < currentSteps().length - 1) {\n <div class=\"c-steps__connector\" [class]=\"getConnectorClasses(i)\"></div>\n }\n </li>\n }\n </ol>\n</nav>\n\n@if (activeStep()) {\n <div class=\"c-steps__content\" [attr.data-active-step]=\"currentActiveStepId()\">\n <ng-content></ng-content>\n </div>\n}", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: IconCompatPipe, name: "coreIconCompat" }] });
10982
11194
  }
10983
11195
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: GenericStepsComponent, decorators: [{
10984
11196
  type: Component,
10985
- args: [{ selector: 'core-generic-steps', standalone: true, imports: [CommonModule, IconCompatPipe], hostDirectives: [CoreHostDirective], template: "<nav class=\"c-steps-container\" [class]=\"config().customClass\" [style]=\"getCustomStyles()\">\n <ol class=\"c-steps\" [class]=\"'c-steps--' + (config().layout || 'horizontal') + ' c-steps--' + (config().size || StepSize.MEDIUM)\">\n @for (step of steps(); track step.id; let i = $index) {\n <li class=\"c-steps__step\">\n <button \n type=\"button\"\n class=\"c-steps__item\"\n [class]=\"getStepClasses(step)\"\n [disabled]=\"step.disabled\"\n [title]=\"step.tooltip || step.title\"\n (click)=\"onStepClick(step, i, $event)\"\n [attr.data-step-id]=\"step.id\">\n \n <span class=\"c-steps__num\" [class]=\"'c-steps__num--' + step.type\" [style]=\"step.id === activeStepId() ? '--step-border: var(--step-active-border); font-weight: 800' : ''\">\n @if (step.type === StepType.ICON || step.status === StepStatus.COMPLETE) {\n <i [ngClass]=\"getStepContent(step) | coreIconCompat\"></i>\n } @else {\n <strong *ngIf=\"step.id === activeStepId()\">{{ getStepContent(step) }}</strong>\n <span *ngIf=\"step.id !== activeStepId()\">{{ getStepContent(step) }}</span>\n }\n </span>\n \n @if (config().showLabels !== false) {\n <span class=\"c-steps__text\">{{ step.title }}</span>\n }\n </button>\n \n @if (config().showConnectors !== false && i < steps().length - 1) {\n <div class=\"c-steps__connector\" [class]=\"getConnectorClasses(i)\"></div>\n }\n </li>\n }\n </ol>\n</nav>\n\n@if (activeStep()) {\n <div class=\"c-steps__content\" [attr.data-active-step]=\"activeStepId()\">\n <ng-content></ng-content>\n </div>\n}" }]
11197
+ args: [{ selector: 'core-generic-steps', standalone: true, imports: [CommonModule, IconCompatPipe], hostDirectives: [CoreHostDirective], template: "<nav class=\"c-steps-container\" [class]=\"config().customClass\" [style]=\"getCustomStyles()\">\n <ol class=\"c-steps\" [class]=\"'c-steps--' + (config().layout || 'horizontal') + ' c-steps--' + (config().size || StepSize.MEDIUM)\">\n @for (step of currentSteps(); track step.id; let i = $index) {\n <li class=\"c-steps__step\">\n <button \n type=\"button\"\n class=\"c-steps__item\"\n [class]=\"getStepClasses(step)\"\n [disabled]=\"step.disabled\"\n [title]=\"step.tooltip || step.title\"\n (click)=\"onStepClick(step, i, $event)\"\n [attr.data-step-id]=\"step.id\">\n \n <span class=\"c-steps__num\" [class]=\"'c-steps__num--' + step.type\" [style]=\"step.id === currentActiveStepId() ? '--step-border: var(--step-active-border); font-weight: 800' : ''\">\n @if (step.type === StepType.ICON || step.status === StepStatus.COMPLETE) {\n <i [ngClass]=\"getStepContent(step) | coreIconCompat\"></i>\n } @else {\n <strong *ngIf=\"step.id === currentActiveStepId()\">{{ getStepContent(step) }}</strong>\n <span *ngIf=\"step.id !== currentActiveStepId()\">{{ getStepContent(step) }}</span>\n }\n </span>\n \n @if (config().showLabels !== false) {\n <span class=\"c-steps__text\">{{ step.title }}</span>\n }\n </button>\n \n @if (config().showConnectors !== false && i < currentSteps().length - 1) {\n <div class=\"c-steps__connector\" [class]=\"getConnectorClasses(i)\"></div>\n }\n </li>\n }\n </ol>\n</nav>\n\n@if (activeStep()) {\n <div class=\"c-steps__content\" [attr.data-active-step]=\"currentActiveStepId()\">\n <ng-content></ng-content>\n </div>\n}" }]
10986
11198
  }] });
10987
11199
 
10988
11200
  var RatingSize;
@@ -11753,5 +11965,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
11753
11965
  * Generated bundle index. Do not edit.
11754
11966
  */
11755
11967
 
11756
- 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 };
11968
+ 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 };
11757
11969
  //# sourceMappingURL=solcre-org-core-ui.mjs.map