@propbinder/mobile-design 0.2.9 → 0.2.10

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.
@@ -755,16 +755,16 @@ class DsMobileListItemComponent {
755
755
  if (isPlatformBrowser(this.platformId)) {
756
756
  // Show button on tablet breakpoint and above (768px+)
757
757
  const isDesktopViewport = window.innerWidth >= 768;
758
- console.log('[ListItem] Desktop detection:', {
759
- innerWidth: window.innerWidth,
760
- isDesktopViewport
761
- });
758
+ // console.log('[ListItem] Desktop detection:', {
759
+ // innerWidth: window.innerWidth,
760
+ // isDesktopViewport
761
+ // });
762
762
  this.isDesktop.set(isDesktopViewport);
763
763
  // Listen for window resize to update detection
764
764
  window.addEventListener('resize', () => {
765
765
  const newIsDesktop = window.innerWidth >= 768;
766
766
  if (newIsDesktop !== this.isDesktop()) {
767
- console.log('[ListItem] Viewport changed, updating desktop detection:', newIsDesktop);
767
+ // console.log('[ListItem] Viewport changed, updating desktop detection:', newIsDesktop);
768
768
  this.isDesktop.set(newIsDesktop);
769
769
  }
770
770
  });
@@ -870,15 +870,15 @@ class DsMobileListItemComponent {
870
870
  * Handle click events
871
871
  */
872
872
  handleClick(event) {
873
- console.log('[ListItem] Click event fired', {
874
- interactive: this.interactive(),
875
- disabled: this.disabled(),
876
- loading: this.loading(),
877
- longPressTriggered: this.longPressTriggered,
878
- target: event.target
879
- });
873
+ // console.log('[ListItem] Click event fired', {
874
+ // interactive: this.interactive(),
875
+ // disabled: this.disabled(),
876
+ // loading: this.loading(),
877
+ // longPressTriggered: this.longPressTriggered,
878
+ // target: event.target
879
+ // });
880
880
  if (!this.interactive() || this.disabled() || this.loading()) {
881
- console.log('[ListItem] Click ignored - not interactive or disabled/loading');
881
+ // console.log('[ListItem] Click ignored - not interactive or disabled/loading');
882
882
  return;
883
883
  }
884
884
  // Don't emit click if it came from an interactive child element
@@ -887,15 +887,15 @@ class DsMobileListItemComponent {
887
887
  const closestInteractive = target.closest('button, a, input, select, textarea, [role="button"]');
888
888
  // Check if the interactive element is a child, not the host itself
889
889
  if (closestInteractive && closestInteractive !== event.currentTarget) {
890
- console.log('[ListItem] Click ignored - came from interactive child:', closestInteractive);
890
+ // console.log('[ListItem] Click ignored - came from interactive child:', closestInteractive);
891
891
  return;
892
892
  }
893
893
  if (!this.longPressTriggered) {
894
- console.log('[ListItem] Emitting itemClick');
894
+ // console.log('[ListItem] Emitting itemClick');
895
895
  this.itemClick.emit();
896
896
  }
897
897
  else {
898
- console.log('[ListItem] Click ignored - long press was triggered');
898
+ // console.log('[ListItem] Click ignored - long press was triggered');
899
899
  }
900
900
  this.longPressTriggered = false;
901
901
  }
@@ -926,7 +926,7 @@ class DsMobileListItemComponent {
926
926
  * Emits moreButtonClick for parent components to handle
927
927
  */
928
928
  handleMoreButtonClick(event) {
929
- console.log('[ListItem] Desktop more button clicked');
929
+ // console.log('[ListItem] Desktop more button clicked');
930
930
  // Stop propagation to prevent triggering itemClick
931
931
  event.stopPropagation();
932
932
  event.preventDefault();
@@ -939,42 +939,43 @@ class DsMobileListItemComponent {
939
939
  <div class="content-leading">
940
940
  <ng-content select="[content-leading]" />
941
941
  </div>
942
-
942
+
943
943
  <div class="content-main">
944
944
  @if (title()) {
945
- <h3 class="structured-title">{{ title() }}</h3>
945
+ <h3 class="structured-title">{{ title() }}</h3>
946
+ } @if (subtitle()) {
947
+ <p class="structured-subtitle">{{ subtitle() }}</p>
946
948
  }
947
- @if (subtitle()) {
948
- <p class="structured-subtitle">{{ subtitle() }}</p>
949
- }
950
-
949
+
951
950
  <ng-content select="[content-main]" />
952
951
  <ng-content />
953
952
  </div>
954
-
953
+
955
954
  <div class="content-trailing">
956
- @if (interactive() && enableLongPress() && showDesktopMoreButton() && isDesktop()) {
957
- <ds-icon-button
958
- class="desktop-more-button"
959
- icon="remixMoreFill"
960
- variant="secondary"
961
- size="sm"
962
- (clicked)="handleMoreButtonClick($event)"
963
- aria-label="More options">
964
- </ds-icon-button>
955
+ @if (interactive() && enableLongPress() && showDesktopMoreButton() &&
956
+ isDesktop()) {
957
+ <ds-icon-button
958
+ class="desktop-more-button"
959
+ icon="remixMoreFill"
960
+ variant="secondary"
961
+ size="sm"
962
+ (clicked)="handleMoreButtonClick($event)"
963
+ aria-label="More options"
964
+ >
965
+ </ds-icon-button>
965
966
  }
966
967
  <ng-content select="[content-trailing]" />
967
968
  </div>
968
969
  </div>
969
- `, isInline: true, styles: [":host{display:block;position:relative;padding:var(--item-padding-top, 12px) 0 var(--item-padding-bottom, 12px) 0;box-sizing:border-box;--leading-size: 32px;--content-gap: 12px;--interactive-offset: 8px}:host:after{content:\"\";position:absolute;bottom:0;left:calc(var(--leading-size) + var(--content-gap));right:0;height:1px;background:var(--border-color-default, #e5e5e5);z-index:1;display:var(--divider-display, block)}:host(.no-divider):after{display:none}.list-item-inner{display:flex;flex-direction:row;align-items:flex-start;gap:var(--content-gap);position:relative}:host(.align-center) .list-item-inner{align-items:center}:host(.align-bottom) .list-item-inner{align-items:flex-end}:host(.interactive) .list-item-inner:before{content:\"\";position:absolute;top:calc(-1 * var(--interactive-offset));left:calc(-1 * var(--interactive-offset));right:calc(-1 * var(--interactive-offset));bottom:calc(-1 * var(--interactive-offset));background:var(--color-background-neutral-primary, #ffffff);border-radius:16px;z-index:-1;pointer-events:none}:host(.interactive){cursor:pointer}@media (hover: hover) and (pointer: fine){:host(.interactive):hover .list-item-inner:before{background:var(--color-background-neutral-primary-hover, #f5f5f5)}}:host(.interactive):active .list-item-inner:before{background:var(--color-background-neutral-primary-hover, #f5f5f5)}:host(.interactive):focus-visible{outline:none}:host(.interactive):focus-visible .list-item-inner:before{outline:2px solid var(--color-brand-primary, #5d5fef);outline-offset:2px}:host(.disabled){opacity:.5;pointer-events:none}:host(.loading){pointer-events:none}:host(.variant-compact) .list-item-inner{gap:8px}.content-leading{flex-shrink:0;width:var(--leading-size);height:var(--leading-size);display:flex;align-items:flex-start;justify-content:center;position:relative;z-index:1}:host(.align-center) .content-leading{align-items:center}:host(.align-bottom) .content-leading{align-items:flex-end}.content-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;position:relative;z-index:1;justify-content:flex-start}:host(.align-center) .content-main{justify-content:center}:host(.align-bottom) .content-main{justify-content:flex-end}.content-trailing{flex-shrink:0;display:flex;align-items:flex-start;position:relative;z-index:1}.structured-title{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm, 14px);font-weight:600;line-height:20px;letter-spacing:-.3px;color:var(--text-color-default-primary, #202227);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.structured-subtitle{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm, 14px);font-weight:400;line-height:20px;letter-spacing:-.3px;color:var(--text-color-default-secondary, #545B66);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.desktop-more-button::ng-deep button{border-radius:50%!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DsIconButtonComponent, selector: "ds-icon-button", inputs: ["variant", "size", "icon", "disabled", "loading", "pressed", "expanded", "ariaLabel", "tooltip", "tooltipDisabled", "tooltipPlacement"], outputs: ["clicked", "focused", "blurred"] }] });
970
+ `, isInline: true, styles: [":host{display:block;position:relative;padding:var(--item-padding-top, 12px) 0 var(--item-padding-bottom, 12px) 0;box-sizing:border-box;--leading-size: 32px;--content-gap: 12px;--interactive-offset: 8px}:host:after{content:\"\";position:absolute;bottom:0;left:calc(var(--leading-size) + var(--content-gap));right:0;height:1px;background:var(--border-color-default, #e5e5e5);z-index:1;display:var(--divider-display, block)}:host(.no-divider):after{display:none}.list-item-inner{display:flex;flex-direction:row;align-items:flex-start;gap:var(--content-gap);position:relative}:host(.align-center) .list-item-inner{align-items:center}:host(.align-bottom) .list-item-inner{align-items:flex-end}:host(.interactive) .list-item-inner:before{content:\"\";position:absolute;top:calc(-1 * var(--interactive-offset));left:calc(-1 * var(--interactive-offset));right:calc(-1 * var(--interactive-offset));bottom:calc(-1 * var(--interactive-offset));background:var(--color-background-neutral-primary, #ffffff);border-radius:16px;z-index:-1;pointer-events:none}:host(.interactive){cursor:pointer}@media (hover: hover) and (pointer: fine){:host(.interactive):hover .list-item-inner:before{background:var(--color-background-neutral-primary-hover, #f5f5f5)}}:host(.interactive):active .list-item-inner:before{background:var(--color-background-neutral-primary-hover, #f5f5f5)}:host(.interactive):focus-visible{outline:none}:host(.interactive):focus-visible .list-item-inner:before{outline:2px solid var(--color-brand-primary, #5d5fef);outline-offset:2px}:host(.disabled){opacity:.5;pointer-events:none}:host(.loading){pointer-events:none}:host(.variant-compact) .list-item-inner{gap:8px}.content-leading{flex-shrink:0;width:var(--leading-size);height:var(--leading-size);display:flex;align-items:flex-start;justify-content:center;position:relative;z-index:1}:host(.align-center) .content-leading{align-items:center}:host(.align-bottom) .content-leading{align-items:flex-end}.content-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;position:relative;z-index:1;justify-content:flex-start}:host(.align-center) .content-main{justify-content:center}:host(.align-bottom) .content-main{justify-content:flex-end}.content-trailing{flex-shrink:0;display:flex;align-items:flex-start;position:relative;z-index:1}.structured-title{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm, 14px);font-weight:600;line-height:20px;letter-spacing:-.3px;color:var(--text-color-default-primary, #202227);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.structured-subtitle{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm, 14px);font-weight:400;line-height:20px;letter-spacing:-.3px;color:var(--text-color-default-secondary, #545b66);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.desktop-more-button::ng-deep button{border-radius:50%!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: DsIconButtonComponent, selector: "ds-icon-button", inputs: ["variant", "size", "icon", "disabled", "loading", "pressed", "expanded", "ariaLabel", "tooltip", "tooltipDisabled", "tooltipPlacement"], outputs: ["clicked", "focused", "blurred"] }] });
970
971
  }
971
972
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileListItemComponent, decorators: [{
972
973
  type: Component,
973
974
  args: [{ selector: 'ds-mobile-list-item', standalone: true, imports: [CommonModule, DsIconButtonComponent], hostDirectives: [
974
975
  {
975
976
  directive: DsMobileLongPressDirective,
976
- outputs: ['longPress']
977
- }
977
+ outputs: ['longPress'],
978
+ },
978
979
  ], host: {
979
980
  '[class.interactive]': 'interactive() && !disabled()',
980
981
  '[class.disabled]': 'disabled()',
@@ -993,40 +994,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
993
994
  '(click)': 'handleClick($event)',
994
995
  '(keydown.enter)': 'handleKeyDown($event)',
995
996
  '(keydown.space)': 'handleKeyDown($event)',
996
- '(longPress)': 'handleLongPress()'
997
+ '(longPress)': 'handleLongPress()',
997
998
  }, template: `
998
999
  <div class="list-item-inner">
999
1000
  <div class="content-leading">
1000
1001
  <ng-content select="[content-leading]" />
1001
1002
  </div>
1002
-
1003
+
1003
1004
  <div class="content-main">
1004
1005
  @if (title()) {
1005
- <h3 class="structured-title">{{ title() }}</h3>
1006
- }
1007
- @if (subtitle()) {
1008
- <p class="structured-subtitle">{{ subtitle() }}</p>
1006
+ <h3 class="structured-title">{{ title() }}</h3>
1007
+ } @if (subtitle()) {
1008
+ <p class="structured-subtitle">{{ subtitle() }}</p>
1009
1009
  }
1010
-
1010
+
1011
1011
  <ng-content select="[content-main]" />
1012
1012
  <ng-content />
1013
1013
  </div>
1014
-
1014
+
1015
1015
  <div class="content-trailing">
1016
- @if (interactive() && enableLongPress() && showDesktopMoreButton() && isDesktop()) {
1017
- <ds-icon-button
1018
- class="desktop-more-button"
1019
- icon="remixMoreFill"
1020
- variant="secondary"
1021
- size="sm"
1022
- (clicked)="handleMoreButtonClick($event)"
1023
- aria-label="More options">
1024
- </ds-icon-button>
1016
+ @if (interactive() && enableLongPress() && showDesktopMoreButton() &&
1017
+ isDesktop()) {
1018
+ <ds-icon-button
1019
+ class="desktop-more-button"
1020
+ icon="remixMoreFill"
1021
+ variant="secondary"
1022
+ size="sm"
1023
+ (clicked)="handleMoreButtonClick($event)"
1024
+ aria-label="More options"
1025
+ >
1026
+ </ds-icon-button>
1025
1027
  }
1026
1028
  <ng-content select="[content-trailing]" />
1027
1029
  </div>
1028
1030
  </div>
1029
- `, styles: [":host{display:block;position:relative;padding:var(--item-padding-top, 12px) 0 var(--item-padding-bottom, 12px) 0;box-sizing:border-box;--leading-size: 32px;--content-gap: 12px;--interactive-offset: 8px}:host:after{content:\"\";position:absolute;bottom:0;left:calc(var(--leading-size) + var(--content-gap));right:0;height:1px;background:var(--border-color-default, #e5e5e5);z-index:1;display:var(--divider-display, block)}:host(.no-divider):after{display:none}.list-item-inner{display:flex;flex-direction:row;align-items:flex-start;gap:var(--content-gap);position:relative}:host(.align-center) .list-item-inner{align-items:center}:host(.align-bottom) .list-item-inner{align-items:flex-end}:host(.interactive) .list-item-inner:before{content:\"\";position:absolute;top:calc(-1 * var(--interactive-offset));left:calc(-1 * var(--interactive-offset));right:calc(-1 * var(--interactive-offset));bottom:calc(-1 * var(--interactive-offset));background:var(--color-background-neutral-primary, #ffffff);border-radius:16px;z-index:-1;pointer-events:none}:host(.interactive){cursor:pointer}@media (hover: hover) and (pointer: fine){:host(.interactive):hover .list-item-inner:before{background:var(--color-background-neutral-primary-hover, #f5f5f5)}}:host(.interactive):active .list-item-inner:before{background:var(--color-background-neutral-primary-hover, #f5f5f5)}:host(.interactive):focus-visible{outline:none}:host(.interactive):focus-visible .list-item-inner:before{outline:2px solid var(--color-brand-primary, #5d5fef);outline-offset:2px}:host(.disabled){opacity:.5;pointer-events:none}:host(.loading){pointer-events:none}:host(.variant-compact) .list-item-inner{gap:8px}.content-leading{flex-shrink:0;width:var(--leading-size);height:var(--leading-size);display:flex;align-items:flex-start;justify-content:center;position:relative;z-index:1}:host(.align-center) .content-leading{align-items:center}:host(.align-bottom) .content-leading{align-items:flex-end}.content-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;position:relative;z-index:1;justify-content:flex-start}:host(.align-center) .content-main{justify-content:center}:host(.align-bottom) .content-main{justify-content:flex-end}.content-trailing{flex-shrink:0;display:flex;align-items:flex-start;position:relative;z-index:1}.structured-title{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm, 14px);font-weight:600;line-height:20px;letter-spacing:-.3px;color:var(--text-color-default-primary, #202227);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.structured-subtitle{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm, 14px);font-weight:400;line-height:20px;letter-spacing:-.3px;color:var(--text-color-default-secondary, #545B66);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.desktop-more-button::ng-deep button{border-radius:50%!important}\n"] }]
1031
+ `, styles: [":host{display:block;position:relative;padding:var(--item-padding-top, 12px) 0 var(--item-padding-bottom, 12px) 0;box-sizing:border-box;--leading-size: 32px;--content-gap: 12px;--interactive-offset: 8px}:host:after{content:\"\";position:absolute;bottom:0;left:calc(var(--leading-size) + var(--content-gap));right:0;height:1px;background:var(--border-color-default, #e5e5e5);z-index:1;display:var(--divider-display, block)}:host(.no-divider):after{display:none}.list-item-inner{display:flex;flex-direction:row;align-items:flex-start;gap:var(--content-gap);position:relative}:host(.align-center) .list-item-inner{align-items:center}:host(.align-bottom) .list-item-inner{align-items:flex-end}:host(.interactive) .list-item-inner:before{content:\"\";position:absolute;top:calc(-1 * var(--interactive-offset));left:calc(-1 * var(--interactive-offset));right:calc(-1 * var(--interactive-offset));bottom:calc(-1 * var(--interactive-offset));background:var(--color-background-neutral-primary, #ffffff);border-radius:16px;z-index:-1;pointer-events:none}:host(.interactive){cursor:pointer}@media (hover: hover) and (pointer: fine){:host(.interactive):hover .list-item-inner:before{background:var(--color-background-neutral-primary-hover, #f5f5f5)}}:host(.interactive):active .list-item-inner:before{background:var(--color-background-neutral-primary-hover, #f5f5f5)}:host(.interactive):focus-visible{outline:none}:host(.interactive):focus-visible .list-item-inner:before{outline:2px solid var(--color-brand-primary, #5d5fef);outline-offset:2px}:host(.disabled){opacity:.5;pointer-events:none}:host(.loading){pointer-events:none}:host(.variant-compact) .list-item-inner{gap:8px}.content-leading{flex-shrink:0;width:var(--leading-size);height:var(--leading-size);display:flex;align-items:flex-start;justify-content:center;position:relative;z-index:1}:host(.align-center) .content-leading{align-items:center}:host(.align-bottom) .content-leading{align-items:flex-end}.content-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;position:relative;z-index:1;justify-content:flex-start}:host(.align-center) .content-main{justify-content:center}:host(.align-bottom) .content-main{justify-content:flex-end}.content-trailing{flex-shrink:0;display:flex;align-items:flex-start;position:relative;z-index:1}.structured-title{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm, 14px);font-weight:600;line-height:20px;letter-spacing:-.3px;color:var(--text-color-default-primary, #202227);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.structured-subtitle{font-family:Brockmann,sans-serif;font-size:var(--font-size-sm, 14px);font-weight:400;line-height:20px;letter-spacing:-.3px;color:var(--text-color-default-secondary, #545b66);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.desktop-more-button::ng-deep button{border-radius:50%!important}\n"] }]
1030
1032
  }], ctorParameters: () => [], propDecorators: { leadingSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "leadingSize", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], enableLongPress: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableLongPress", required: false }] }], showDesktopMoreButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDesktopMoreButton", required: false }] }], interactiveOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactiveOffset", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], showDivider: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDivider", required: false }] }], dividerSpacing: [{ type: i0.Input, args: [{ isSignal: true, alias: "dividerSpacing", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], moreButtonClick: [{ type: i0.Output, args: ["moreButtonClick"] }] } });
1031
1033
 
1032
1034
  /**
@@ -3028,7 +3030,7 @@ class WhitelabelDemoModalService {
3028
3030
  */
3029
3031
  async open() {
3030
3032
  try {
3031
- console.log('[WhitelabelDemoModal] Opening...');
3033
+ // console.log('[WhitelabelDemoModal] Opening...');
3032
3034
  const modal = await this.modalController.create({
3033
3035
  component: WhitelabelDemoModalComponent,
3034
3036
  cssClass: 'ds-whitelabel-demo-modal',
@@ -3040,14 +3042,14 @@ class WhitelabelDemoModalService {
3040
3042
  keyboardClose: true,
3041
3043
  // Control the presenting element animation
3042
3044
  enterAnimation: undefined, // Use default
3043
- leaveAnimation: undefined // Use default
3045
+ leaveAnimation: undefined, // Use default
3044
3046
  });
3045
- console.log('[WhitelabelDemoModal] Modal created, presenting...');
3047
+ // console.log('[WhitelabelDemoModal] Modal created, presenting...');
3046
3048
  await modal.present();
3047
- console.log('[WhitelabelDemoModal] Modal presented');
3049
+ // console.log('[WhitelabelDemoModal] Modal presented');
3048
3050
  }
3049
3051
  catch (error) {
3050
- console.error('[WhitelabelDemoModal] Error opening modal:', error);
3052
+ // console.error('[WhitelabelDemoModal] Error opening modal:', error);
3051
3053
  throw error;
3052
3054
  }
3053
3055
  }
@@ -3074,7 +3076,7 @@ class WhitelabelDemoModalService {
3074
3076
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: WhitelabelDemoModalService, decorators: [{
3075
3077
  type: Injectable,
3076
3078
  args: [{
3077
- providedIn: 'root'
3079
+ providedIn: 'root',
3078
3080
  }]
3079
3081
  }], ctorParameters: () => [{ type: i1.ModalController }] });
3080
3082
 
@@ -9838,8 +9840,8 @@ class DsMobileModalService {
9838
9840
  * ```
9839
9841
  */
9840
9842
  async open(options) {
9841
- console.log('[Modal] Opening modal with options:', options);
9842
- const { component, componentProps, cssClass, presentationStyle = 'card', backdropDismiss = true, showBackdrop = true, keyboardClose = true, swipeToClose, initialBreakpoint, breakpoints, animated = true, mode = 'ios', handleNavigationBack = true } = options;
9843
+ // console.log('[Modal] Opening modal with options:', options);
9844
+ const { component, componentProps, cssClass, presentationStyle = 'card', backdropDismiss = true, showBackdrop = true, keyboardClose = true, swipeToClose, initialBreakpoint, breakpoints, animated = true, mode = 'ios', handleNavigationBack = true, } = options;
9843
9845
  // Build modal configuration
9844
9846
  const modalConfig = {
9845
9847
  component,
@@ -9872,9 +9874,9 @@ class DsMobileModalService {
9872
9874
  };
9873
9875
  }
9874
9876
  const modal = await this.modalController.create(modalConfig);
9875
- console.log('[Modal] Modal created, presenting...');
9877
+ // console.log('[Modal] Modal created, presenting...');
9876
9878
  await modal.present();
9877
- console.log('[Modal] Modal presented');
9879
+ // console.log('[Modal] Modal presented');
9878
9880
  return modal;
9879
9881
  }
9880
9882
  /**
@@ -9895,7 +9897,7 @@ class DsMobileModalService {
9895
9897
  componentProps,
9896
9898
  presentationStyle: 'fullscreen',
9897
9899
  backdropDismiss: false,
9898
- showBackdrop: false
9900
+ showBackdrop: false,
9899
9901
  });
9900
9902
  }
9901
9903
  /**
@@ -9916,7 +9918,7 @@ class DsMobileModalService {
9916
9918
  componentProps,
9917
9919
  presentationStyle: 'card',
9918
9920
  backdropDismiss: true,
9919
- showBackdrop: true
9921
+ showBackdrop: true,
9920
9922
  });
9921
9923
  }
9922
9924
  /**
@@ -9945,7 +9947,7 @@ class DsMobileModalService {
9945
9947
  showBackdrop: true,
9946
9948
  swipeToClose: options?.swipeToClose ?? true,
9947
9949
  initialBreakpoint: options?.initialBreakpoint ?? 0.5,
9948
- breakpoints: options?.breakpoints ?? [0, 0.5, 0.75, 1]
9950
+ breakpoints: options?.breakpoints ?? [0, 0.5, 0.75, 1],
9949
9951
  });
9950
9952
  }
9951
9953
  /**
@@ -10019,7 +10021,7 @@ class DsMobileModalService {
10019
10021
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileModalService, decorators: [{
10020
10022
  type: Injectable,
10021
10023
  args: [{
10022
- providedIn: 'root'
10024
+ providedIn: 'root',
10023
10025
  }]
10024
10026
  }], ctorParameters: () => [{ type: i1.ModalController }] });
10025
10027
 
@@ -11621,8 +11623,8 @@ class DsMobilePostDetailModalService extends BaseModalService {
11621
11623
  * @returns Promise that resolves when the modal is presented
11622
11624
  */
11623
11625
  async open(postData, options) {
11624
- console.log('[PostDetailModal] Opening with data:', postData);
11625
- console.log('[PostDetailModal] options.onSubmitComment =', options?.onSubmitComment);
11626
+ // console.log('[PostDetailModal] Opening with data:', postData);
11627
+ // console.log('[PostDetailModal] options.onSubmitComment =', options?.onSubmitComment);
11626
11628
  const modal = await this.createModal(DsMobilePostDetailModalComponent, {
11627
11629
  postData: postData,
11628
11630
  loading: options?.loading ?? false,
@@ -11634,9 +11636,9 @@ class DsMobilePostDetailModalService extends BaseModalService {
11634
11636
  }, {
11635
11637
  keyboardClose: true, // Keep keyboard close behavior for this modal
11636
11638
  });
11637
- console.log('[PostDetailModal] Modal created, presenting...');
11639
+ // console.log('[PostDetailModal] Modal created, presenting...');
11638
11640
  await modal.present();
11639
- console.log('[PostDetailModal] Modal presented');
11641
+ // console.log('[PostDetailModal] Modal presented');
11640
11642
  }
11641
11643
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobilePostDetailModalService, deps: [{ token: i1.ModalController }], target: i0.ɵɵFactoryTarget.Injectable });
11642
11644
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobilePostDetailModalService, providedIn: 'root' });
@@ -13212,17 +13214,17 @@ class DsMobileChatModalService extends BaseModalService {
13212
13214
  * @returns Promise that resolves when the modal is presented
13213
13215
  */
13214
13216
  async open(chatData, options) {
13215
- console.log('[ChatModal] Opening with data:', chatData);
13217
+ // console.log('[ChatModal] Opening with data:', chatData);
13216
13218
  const modal = await this.createModal(DsMobileChatModalComponent, {
13217
13219
  chatData: chatData,
13218
13220
  loading: options?.loading ?? false,
13219
- error: options?.error
13221
+ error: options?.error,
13220
13222
  }, {
13221
13223
  keyboardClose: true, // Keep keyboard close behavior for this modal
13222
13224
  });
13223
- console.log('[ChatModal] Modal created, presenting...');
13225
+ // console.log('[ChatModal] Modal created, presenting...');
13224
13226
  await modal.present();
13225
- console.log('[ChatModal] Modal presented');
13227
+ // console.log('[ChatModal] Modal presented');
13226
13228
  }
13227
13229
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileChatModalService, deps: [{ token: i1.ModalController }], target: i0.ɵɵFactoryTarget.Injectable });
13228
13230
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileChatModalService, providedIn: 'root' });
@@ -13230,7 +13232,7 @@ class DsMobileChatModalService extends BaseModalService {
13230
13232
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileChatModalService, decorators: [{
13231
13233
  type: Injectable,
13232
13234
  args: [{
13233
- providedIn: 'root'
13235
+ providedIn: 'root',
13234
13236
  }]
13235
13237
  }], ctorParameters: () => [{ type: i1.ModalController }] });
13236
13238
 
@@ -13753,17 +13755,17 @@ class DsMobileNewInquiryModalService extends BaseModalService {
13753
13755
  * @returns Promise that resolves when the modal is presented
13754
13756
  */
13755
13757
  async open(options) {
13756
- console.log('[NewInquiryModal] Opening modal with options:', options);
13758
+ // console.log('[NewInquiryModal] Opening modal with options:', options);
13757
13759
  const modal = await this.createModal(DsMobileNewInquiryModalComponent, {
13758
13760
  onSubmit: options?.onSubmit,
13759
13761
  loading: options?.loading ?? false,
13760
- error: options?.error
13762
+ error: options?.error,
13761
13763
  }, {
13762
13764
  keyboardClose: false, // Don't close on keyboard hide for this modal
13763
13765
  });
13764
- console.log('[NewInquiryModal] Modal created, presenting...');
13766
+ // console.log('[NewInquiryModal] Modal created, presenting...');
13765
13767
  await modal.present();
13766
- console.log('[NewInquiryModal] Modal presented');
13768
+ // console.log('[NewInquiryModal] Modal presented');
13767
13769
  }
13768
13770
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileNewInquiryModalService, deps: [{ token: i1.ModalController }], target: i0.ɵɵFactoryTarget.Injectable });
13769
13771
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileNewInquiryModalService, providedIn: 'root' });
@@ -13771,7 +13773,7 @@ class DsMobileNewInquiryModalService extends BaseModalService {
13771
13773
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileNewInquiryModalService, decorators: [{
13772
13774
  type: Injectable,
13773
13775
  args: [{
13774
- providedIn: 'root'
13776
+ providedIn: 'root',
13775
13777
  }]
13776
13778
  }], ctorParameters: () => [{ type: i1.ModalController }] });
13777
13779
 
@@ -14320,17 +14322,17 @@ class DsMobileHandbookDetailModalService extends BaseModalService {
14320
14322
  * @returns Promise that resolves when the modal is presented
14321
14323
  */
14322
14324
  async open(handbookData, options) {
14323
- console.log('[HandbookDetailModal] Opening with data:', handbookData);
14325
+ // console.log('[HandbookDetailModal] Opening with data:', handbookData);
14324
14326
  const modal = await this.createModal(DsMobileHandbookDetailModalComponent, {
14325
14327
  handbookData: handbookData,
14326
14328
  loading: options?.loading ?? false,
14327
- error: options?.error
14329
+ error: options?.error,
14328
14330
  }, {
14329
14331
  keyboardClose: true, // Keep keyboard close behavior for this modal
14330
14332
  });
14331
- console.log('[HandbookDetailModal] Modal created, presenting...');
14333
+ // console.log('[HandbookDetailModal] Modal created, presenting...');
14332
14334
  await modal.present();
14333
- console.log('[HandbookDetailModal] Modal presented');
14335
+ // console.log('[HandbookDetailModal] Modal presented');
14334
14336
  }
14335
14337
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileHandbookDetailModalService, deps: [{ token: i1.ModalController }], target: i0.ɵɵFactoryTarget.Injectable });
14336
14338
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileHandbookDetailModalService, providedIn: 'root' });
@@ -14338,7 +14340,7 @@ class DsMobileHandbookDetailModalService extends BaseModalService {
14338
14340
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DsMobileHandbookDetailModalService, decorators: [{
14339
14341
  type: Injectable,
14340
14342
  args: [{
14341
- providedIn: 'root'
14343
+ providedIn: 'root',
14342
14344
  }]
14343
14345
  }], ctorParameters: () => [{ type: i1.ModalController }] });
14344
14346