@mintplayer/ng-bootstrap 22.12.0 → 22.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/charts/hierarchy/package.json +4 -0
  2. package/charts/sparkline/package.json +4 -0
  3. package/charts/trend/package.json +4 -0
  4. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +24 -24
  5. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +9 -9
  6. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +6 -6
  7. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +3 -3
  8. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +6 -6
  9. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +3 -3
  10. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +3 -3
  11. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +9 -9
  12. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +3 -3
  13. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +30 -30
  14. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +3 -3
  15. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +152 -0
  16. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -0
  17. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +59 -0
  18. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -0
  19. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +79 -0
  20. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -0
  21. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +11 -10
  22. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +3 -3
  24. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +3 -3
  25. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +38 -34
  26. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
  27. package/fesm2022/mintplayer-ng-bootstrap-container.mjs +3 -3
  28. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +3 -3
  29. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +3 -3
  30. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +9 -9
  31. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +3 -3
  32. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +3 -3
  33. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +8 -7
  34. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  35. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +3 -3
  36. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +12 -12
  37. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +14 -13
  38. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +3 -3
  40. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +3 -3
  41. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +3 -3
  42. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +9 -9
  43. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +3 -3
  44. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +3 -3
  45. package/fesm2022/mintplayer-ng-bootstrap-for.mjs +3 -3
  46. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +9 -9
  47. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +15 -15
  48. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +3 -3
  49. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +3 -3
  50. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +3 -3
  51. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +27 -6
  52. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
  53. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +12 -12
  54. package/fesm2022/mintplayer-ng-bootstrap-let.mjs +3 -3
  55. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +3 -3
  56. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +6 -6
  57. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +12 -12
  58. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +3 -3
  59. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +24 -24
  60. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +8 -7
  61. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
  62. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +3 -3
  63. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +26 -25
  64. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  65. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +6 -6
  66. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +3 -3
  67. package/fesm2022/mintplayer-ng-bootstrap-observe-size.mjs +3 -3
  68. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +24 -24
  69. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +3 -3
  70. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +8 -7
  71. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +3 -3
  73. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +3 -3
  74. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +127 -0
  75. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -0
  76. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +6 -6
  77. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +3 -3
  78. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +15 -15
  79. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +6 -6
  80. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +6 -6
  81. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +6 -6
  82. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +8 -7
  83. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  84. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +8 -7
  85. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  86. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +3 -3
  87. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +6 -6
  88. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +56 -55
  89. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
  90. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +5 -4
  91. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  92. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +9 -9
  93. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +11 -10
  94. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  95. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +8 -7
  96. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
  97. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +5 -4
  98. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  99. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +3 -3
  100. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +3 -3
  101. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +3 -3
  102. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +3 -3
  103. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +8 -7
  104. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
  105. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +9 -9
  106. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +7 -7
  107. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
  108. package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +3 -3
  109. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +13 -11
  110. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
  111. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +21 -21
  112. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +3 -3
  113. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +21 -21
  114. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +6 -6
  115. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +24 -24
  116. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +6 -6
  117. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +3 -3
  118. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +5 -4
  119. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  120. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +3 -3
  121. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +3 -3
  122. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +3 -3
  123. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +3 -3
  124. package/package.json +17 -1
  125. package/phone-input/package.json +4 -0
  126. package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +44 -0
  127. package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +20 -0
  128. package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +28 -0
  129. package/types/mintplayer-ng-bootstrap-input-group.d.ts +20 -3
  130. package/types/mintplayer-ng-bootstrap-phone-input.d.ts +60 -0
@@ -27,7 +27,8 @@ class BsTypeaheadComponent {
27
27
  ...(ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []));
28
28
  this.showNoSuggestions = computed(() => this.suggestions().length === 0, /* @ts-ignore */
29
29
  ...(ngDevMode ? [{ debugName: "showNoSuggestions" }] : /* istanbul ignore next */ []));
30
- this.textbox = viewChild.required('textbox');
30
+ this.textbox = viewChild.required('textbox', /* @ts-ignore */
31
+ ...(ngDevMode ? [{ debugName: "textbox" }] : /* istanbul ignore next */ []));
31
32
  this.rovingFocus = viewChild(BsRovingFocusDirective, /* @ts-ignore */
32
33
  ...(ngDevMode ? [{ debugName: "rovingFocus" }] : /* istanbul ignore next */ []));
33
34
  this.searchterm = model('', /* @ts-ignore */
@@ -105,10 +106,10 @@ class BsTypeaheadComponent {
105
106
  focus() {
106
107
  this.textbox().nativeElement.focus();
107
108
  }
108
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTypeaheadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
109
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: BsTypeaheadComponent, isStandalone: true, selector: "bs-typeahead", inputs: { isOpen: { classPropertyName: "isOpen", publicName: "isOpen", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, searchterm: { classPropertyName: "searchterm", publicName: "searchterm", isSignal: true, isRequired: false, transformFunction: null }, isLoadingText: { classPropertyName: "isLoadingText", publicName: "isLoadingText", isSignal: true, isRequired: false, transformFunction: null }, noSuggestionsText: { classPropertyName: "noSuggestionsText", publicName: "noSuggestionsText", isSignal: true, isRequired: false, transformFunction: null }, resultsAnnouncementSingular: { classPropertyName: "resultsAnnouncementSingular", publicName: "resultsAnnouncementSingular", isSignal: true, isRequired: false, transformFunction: null }, resultsAnnouncementPlural: { classPropertyName: "resultsAnnouncementPlural", publicName: "resultsAnnouncementPlural", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isOpen: "isOpenChange", searchterm: "searchtermChange", provideSuggestions: "provideSuggestions", suggestionSelected: "suggestionSelected", submitted: "submitted" }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true, isSignal: true }, { propertyName: "rovingFocus", first: true, predicate: BsRovingFocusDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown #dd=\"bsDropdown\" popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"\n #textbox\n [attr.aria-label]=\"inputLabel()\"\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n bsCombobox\n (activate)=\"onActivate()\"\n (cancel)=\"onCancel()\"\n (keydown.enter)=\"onSubmit($event)\"\n autocomplete=\"off\" />\n <!--\n `mode=\"activedescendant\"` drives the a11y `bsRovingFocus` primitive;\n `menuMode=\"listbox\"` drives the WC-backed `bs-dropdown-menu`. Both\n directives sit on this one element (so roving's `contentChildren` finds\n the option `<li>`s as direct children) \u2014 the menu's mode input is aliased\n to `menuMode` precisely so it doesn't clobber roving's `mode`. The menu\n also mirrors the trigger's generated id + popup role (the `aria-controls`\n target) via the exported `bsDropdown` reference.\n -->\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\" menuMode=\"listbox\"\n [attr.id]=\"dd.menuId() || null\" [attr.role]=\"dd.popupRole()\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <li bsDropdownItem [disabled]=\"true\">\n {{ isLoadingText() }}\n </li>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <li bsDropdownItem [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </li>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <li bsDropdownItem bsRovingFocusItem (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </li>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n", styles: ["bs-progress{margin-top:-8px;margin-bottom:6px}bs-dropdown-menu{display:block}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: BsFormComponent, selector: "bs-form", inputs: ["action", "method"], outputs: ["submitted"] }, { kind: "directive", type: BsFormControlDirective, selector: "bs-form input:not(.no-form-control), bs-form textarea:not(.no-form-control)" }, { kind: "directive", type: BsDropdownDirective, selector: "[bsDropdown]", inputs: ["hasBackdrop", "sameWidth", "closeOnClickOutside", "sameDropdownWidth", "isOpen", "popupRole"], outputs: ["isOpenChange"], exportAs: ["bsDropdown"] }, { kind: "directive", type: BsDropdownMenuDirective, selector: "[bsDropdownMenu]" }, { kind: "component", type: BsDropdownMenuComponent, selector: "bs-dropdown-menu", inputs: ["menuMode", "maxHeight"], outputs: ["select"] }, { kind: "directive", type: BsDropdownItemDirective, selector: "[bsDropdownItem]", inputs: ["active", "disabled", "value"] }, { kind: "directive", type: BsComboboxDirective, selector: "input[bsCombobox]", inputs: ["bsComboboxAutocomplete", "activeDescendant"], outputs: ["navigate", "activate", "cancel"], exportAs: ["bsCombobox"] }, { kind: "directive", type: BsRovingFocusDirective, selector: "[bsRovingFocus]", inputs: ["orientation", "mode", "wrap"], exportAs: ["bsRovingFocus"] }, { kind: "directive", type: BsRovingFocusItemDirective, selector: "[bsRovingFocusItem]", inputs: ["disabled"], exportAs: ["bsRovingFocusItem"] }, { kind: "component", type: BsProgressComponent, selector: "bs-progress", inputs: ["height", "isIndeterminate", "ariaLabel"] }, { kind: "component", type: BsHasOverlayComponent, selector: "bs-has-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsTypeaheadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
110
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsTypeaheadComponent, isStandalone: true, selector: "bs-typeahead", inputs: { isOpen: { classPropertyName: "isOpen", publicName: "isOpen", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, searchterm: { classPropertyName: "searchterm", publicName: "searchterm", isSignal: true, isRequired: false, transformFunction: null }, isLoadingText: { classPropertyName: "isLoadingText", publicName: "isLoadingText", isSignal: true, isRequired: false, transformFunction: null }, noSuggestionsText: { classPropertyName: "noSuggestionsText", publicName: "noSuggestionsText", isSignal: true, isRequired: false, transformFunction: null }, resultsAnnouncementSingular: { classPropertyName: "resultsAnnouncementSingular", publicName: "resultsAnnouncementSingular", isSignal: true, isRequired: false, transformFunction: null }, resultsAnnouncementPlural: { classPropertyName: "resultsAnnouncementPlural", publicName: "resultsAnnouncementPlural", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isOpen: "isOpenChange", searchterm: "searchtermChange", provideSuggestions: "provideSuggestions", suggestionSelected: "suggestionSelected", submitted: "submitted" }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true, isSignal: true }, { propertyName: "rovingFocus", first: true, predicate: BsRovingFocusDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown #dd=\"bsDropdown\" popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"\n #textbox\n [attr.aria-label]=\"inputLabel()\"\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n bsCombobox\n (activate)=\"onActivate()\"\n (cancel)=\"onCancel()\"\n (keydown.enter)=\"onSubmit($event)\"\n autocomplete=\"off\" />\n <!--\n `mode=\"activedescendant\"` drives the a11y `bsRovingFocus` primitive;\n `menuMode=\"listbox\"` drives the WC-backed `bs-dropdown-menu`. Both\n directives sit on this one element (so roving's `contentChildren` finds\n the option `<li>`s as direct children) \u2014 the menu's mode input is aliased\n to `menuMode` precisely so it doesn't clobber roving's `mode`. The menu\n also mirrors the trigger's generated id + popup role (the `aria-controls`\n target) via the exported `bsDropdown` reference.\n -->\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\" menuMode=\"listbox\"\n [attr.id]=\"dd.menuId() || null\" [attr.role]=\"dd.popupRole()\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <li bsDropdownItem [disabled]=\"true\">\n {{ isLoadingText() }}\n </li>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <li bsDropdownItem [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </li>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <li bsDropdownItem bsRovingFocusItem (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </li>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n", styles: ["bs-progress{margin-top:-8px;margin-bottom:6px}bs-dropdown-menu{display:block}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: BsFormComponent, selector: "bs-form", inputs: ["action", "method"], outputs: ["submitted"] }, { kind: "directive", type: BsFormControlDirective, selector: "bs-form input:not(.no-form-control), bs-form textarea:not(.no-form-control)" }, { kind: "directive", type: BsDropdownDirective, selector: "[bsDropdown]", inputs: ["hasBackdrop", "sameWidth", "closeOnClickOutside", "sameDropdownWidth", "isOpen", "popupRole"], outputs: ["isOpenChange"], exportAs: ["bsDropdown"] }, { kind: "directive", type: BsDropdownMenuDirective, selector: "[bsDropdownMenu]" }, { kind: "component", type: BsDropdownMenuComponent, selector: "bs-dropdown-menu", inputs: ["menuMode", "maxHeight"], outputs: ["select"] }, { kind: "directive", type: BsDropdownItemDirective, selector: "[bsDropdownItem]", inputs: ["active", "disabled", "value"] }, { kind: "directive", type: BsComboboxDirective, selector: "input[bsCombobox]", inputs: ["bsComboboxAutocomplete", "activeDescendant"], outputs: ["navigate", "activate", "cancel"], exportAs: ["bsCombobox"] }, { kind: "directive", type: BsRovingFocusDirective, selector: "[bsRovingFocus]", inputs: ["orientation", "mode", "wrap"], exportAs: ["bsRovingFocus"] }, { kind: "directive", type: BsRovingFocusItemDirective, selector: "[bsRovingFocusItem]", inputs: ["disabled"], exportAs: ["bsRovingFocusItem"] }, { kind: "component", type: BsProgressComponent, selector: "bs-progress", inputs: ["height", "isIndeterminate", "ariaLabel"] }, { kind: "component", type: BsHasOverlayComponent, selector: "bs-has-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
110
111
  }
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTypeaheadComponent, decorators: [{
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsTypeaheadComponent, decorators: [{
112
113
  type: Component,
113
114
  args: [{ selector: 'bs-typeahead', imports: [
114
115
  FormsModule,
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-typeahead.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.ts","../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.html","../../../../libs/mintplayer-ng-bootstrap/typeahead/mintplayer-ng-bootstrap-typeahead.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, model, output, signal, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { BsLiveAnnouncerService, BsRovingFocusDirective, BsRovingFocusItemDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsComboboxDirective, BsDropdownDirective, BsDropdownMenuDirective } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuComponent, BsDropdownItemDirective } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsFormComponent, BsFormControlDirective } from '@mintplayer/ng-bootstrap/form';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsProgressComponent } from '@mintplayer/ng-bootstrap/progress-bar';\n\n@Component({\n selector: 'bs-typeahead',\n templateUrl: './typeahead.component.html',\n styleUrls: ['./typeahead.component.scss'],\n imports: [\n FormsModule,\n BsFormComponent, BsFormControlDirective,\n BsDropdownDirective, BsDropdownMenuDirective, BsDropdownMenuComponent, BsDropdownItemDirective,\n BsComboboxDirective,\n BsRovingFocusDirective, BsRovingFocusItemDirective,\n BsProgressComponent, BsHasOverlayComponent,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTypeaheadComponent {\n private announcer = inject(BsLiveAnnouncerService);\n\n isOpen = model(false);\n\n /**\n * Accessible name for the text input. Optional — a consumer wrapping the\n * typeahead in bs-floating-label gets a real <label> association instead —\n * but without either the control is unnamed.\n */\n inputLabel = input<string | null>(null);\n\n suggestions = input<any[]>([]);\n isLoading = signal<boolean>(false);\n showNoSuggestions = computed(() => this.suggestions().length === 0);\n\n readonly textbox = viewChild.required<ElementRef<HTMLInputElement>>('textbox');\n readonly rovingFocus = viewChild(BsRovingFocusDirective);\n searchterm = model('');\n isLoadingText = input('Loading...');\n noSuggestionsText = input('No suggestions found');\n resultsAnnouncementSingular = input<string>('1 result found');\n resultsAnnouncementPlural = input<(count: number) => string>((count) => `${count} results found`);\n provideSuggestions = output<string>();\n suggestionSelected = output<any>();\n submitted = output<string>();\n\n private requestInFlight = false;\n\n constructor() {\n effect(() => {\n const suggestions = this.suggestions();\n if (suggestions) {\n this.isLoading.set(false);\n if (this.requestInFlight) {\n this.requestInFlight = false;\n this.announceResults(suggestions.length);\n }\n }\n });\n }\n\n private announceResults(count: number) {\n if (count === 0) {\n this.announcer.announce(this.noSuggestionsText());\n } else if (count === 1) {\n this.announcer.announce(this.resultsAnnouncementSingular());\n } else {\n this.announcer.announce(this.resultsAnnouncementPlural()(count));\n }\n }\n\n onProvideSuggestions(value: string) {\n this.searchterm.set(value);\n if (value === '') {\n this.isOpen.set(false);\n this.requestInFlight = false;\n } else {\n this.requestInFlight = true;\n this.isLoading.set(true);\n this.isOpen.set(true);\n this.provideSuggestions.emit(value);\n }\n }\n\n suggestionClicked(suggestion: any) {\n this.searchterm.set(suggestion.text);\n this.isOpen.set(false);\n this.suggestionSelected.emit(suggestion);\n }\n\n onActivate() {\n const rf = this.rovingFocus();\n if (!rf) return;\n const suggestion = this.suggestions()[rf.activeIndex()];\n if (suggestion) {\n this.suggestionClicked(suggestion);\n }\n }\n\n onCancel() {\n // dropdown was already closed by bsCombobox; no extra work needed\n }\n\n onSubmit(event?: Event) {\n // Suppress browser form-submit; we own the Enter semantics here.\n event?.preventDefault();\n this.isOpen.set(false);\n this.submitted.emit(this.searchterm());\n }\n\n public focus() {\n this.textbox().nativeElement.focus();\n }\n}\n","<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown #dd=\"bsDropdown\" popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"\n #textbox\n [attr.aria-label]=\"inputLabel()\"\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n bsCombobox\n (activate)=\"onActivate()\"\n (cancel)=\"onCancel()\"\n (keydown.enter)=\"onSubmit($event)\"\n autocomplete=\"off\" />\n <!--\n `mode=\"activedescendant\"` drives the a11y `bsRovingFocus` primitive;\n `menuMode=\"listbox\"` drives the WC-backed `bs-dropdown-menu`. Both\n directives sit on this one element (so roving's `contentChildren` finds\n the option `<li>`s as direct children) — the menu's mode input is aliased\n to `menuMode` precisely so it doesn't clobber roving's `mode`. The menu\n also mirrors the trigger's generated id + popup role (the `aria-controls`\n target) via the exported `bsDropdown` reference.\n -->\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\" menuMode=\"listbox\"\n [attr.id]=\"dd.menuId() || null\" [attr.role]=\"dd.popupRole()\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <li bsDropdownItem [disabled]=\"true\">\n {{ isLoadingText() }}\n </li>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <li bsDropdownItem [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </li>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <li bsDropdownItem bsRovingFocusItem (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </li>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAuBa,oBAAoB,CAAA;AA6B/B,IAAA,WAAA,GAAA;AA5BQ,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,sBAAsB,CAAC;QAElD,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,KAAK;mFAAC;AAErB;;;;AAIG;QACH,IAAA,CAAA,UAAU,GAAG,KAAK,CAAgB,IAAI;uFAAC;QAEvC,IAAA,CAAA,WAAW,GAAG,KAAK,CAAQ,EAAE;wFAAC;QAC9B,IAAA,CAAA,SAAS,GAAG,MAAM,CAAU,KAAK;sFAAC;AAClC,QAAA,IAAA,CAAA,iBAAiB,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC,MAAM,KAAK,CAAC;8FAAC;AAE1D,QAAA,IAAA,CAAA,OAAO,GAAG,SAAS,CAAC,QAAQ,CAA+B,SAAS,CAAC;QACrE,IAAA,CAAA,WAAW,GAAG,SAAS,CAAC,sBAAsB;wFAAC;QACxD,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,EAAE;uFAAC;QACtB,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,YAAY;0FAAC;QACnC,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAC,sBAAsB;8FAAC;QACjD,IAAA,CAAA,2BAA2B,GAAG,KAAK,CAAS,gBAAgB;wGAAC;QAC7D,IAAA,CAAA,yBAAyB,GAAG,KAAK,CAA4B,CAAC,KAAK,KAAK,CAAA,EAAG,KAAK,CAAA,cAAA,CAAgB;sGAAC;QACjG,IAAA,C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,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,2BAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AExCzD;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-typeahead.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.ts","../../../../libs/mintplayer-ng-bootstrap/typeahead/src/typeahead.component.html","../../../../libs/mintplayer-ng-bootstrap/typeahead/mintplayer-ng-bootstrap-typeahead.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, model, output, signal, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { BsLiveAnnouncerService, BsRovingFocusDirective, BsRovingFocusItemDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsComboboxDirective, BsDropdownDirective, BsDropdownMenuDirective } from '@mintplayer/ng-bootstrap/dropdown';\nimport { BsDropdownMenuComponent, BsDropdownItemDirective } from '@mintplayer/ng-bootstrap/dropdown-menu';\nimport { BsFormComponent, BsFormControlDirective } from '@mintplayer/ng-bootstrap/form';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsProgressComponent } from '@mintplayer/ng-bootstrap/progress-bar';\n\n@Component({\n selector: 'bs-typeahead',\n templateUrl: './typeahead.component.html',\n styleUrls: ['./typeahead.component.scss'],\n imports: [\n FormsModule,\n BsFormComponent, BsFormControlDirective,\n BsDropdownDirective, BsDropdownMenuDirective, BsDropdownMenuComponent, BsDropdownItemDirective,\n BsComboboxDirective,\n BsRovingFocusDirective, BsRovingFocusItemDirective,\n BsProgressComponent, BsHasOverlayComponent,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTypeaheadComponent {\n private announcer = inject(BsLiveAnnouncerService);\n\n isOpen = model(false);\n\n /**\n * Accessible name for the text input. Optional — a consumer wrapping the\n * typeahead in bs-floating-label gets a real <label> association instead —\n * but without either the control is unnamed.\n */\n inputLabel = input<string | null>(null);\n\n suggestions = input<any[]>([]);\n isLoading = signal<boolean>(false);\n showNoSuggestions = computed(() => this.suggestions().length === 0);\n\n readonly textbox = viewChild.required<ElementRef<HTMLInputElement>>('textbox');\n readonly rovingFocus = viewChild(BsRovingFocusDirective);\n searchterm = model('');\n isLoadingText = input('Loading...');\n noSuggestionsText = input('No suggestions found');\n resultsAnnouncementSingular = input<string>('1 result found');\n resultsAnnouncementPlural = input<(count: number) => string>((count) => `${count} results found`);\n provideSuggestions = output<string>();\n suggestionSelected = output<any>();\n submitted = output<string>();\n\n private requestInFlight = false;\n\n constructor() {\n effect(() => {\n const suggestions = this.suggestions();\n if (suggestions) {\n this.isLoading.set(false);\n if (this.requestInFlight) {\n this.requestInFlight = false;\n this.announceResults(suggestions.length);\n }\n }\n });\n }\n\n private announceResults(count: number) {\n if (count === 0) {\n this.announcer.announce(this.noSuggestionsText());\n } else if (count === 1) {\n this.announcer.announce(this.resultsAnnouncementSingular());\n } else {\n this.announcer.announce(this.resultsAnnouncementPlural()(count));\n }\n }\n\n onProvideSuggestions(value: string) {\n this.searchterm.set(value);\n if (value === '') {\n this.isOpen.set(false);\n this.requestInFlight = false;\n } else {\n this.requestInFlight = true;\n this.isLoading.set(true);\n this.isOpen.set(true);\n this.provideSuggestions.emit(value);\n }\n }\n\n suggestionClicked(suggestion: any) {\n this.searchterm.set(suggestion.text);\n this.isOpen.set(false);\n this.suggestionSelected.emit(suggestion);\n }\n\n onActivate() {\n const rf = this.rovingFocus();\n if (!rf) return;\n const suggestion = this.suggestions()[rf.activeIndex()];\n if (suggestion) {\n this.suggestionClicked(suggestion);\n }\n }\n\n onCancel() {\n // dropdown was already closed by bsCombobox; no extra work needed\n }\n\n onSubmit(event?: Event) {\n // Suppress browser form-submit; we own the Enter semantics here.\n event?.preventDefault();\n this.isOpen.set(false);\n this.submitted.emit(this.searchterm());\n }\n\n public focus() {\n this.textbox().nativeElement.focus();\n }\n}\n","<bs-has-overlay></bs-has-overlay>\n<bs-form>\n <div bsDropdown #dd=\"bsDropdown\" popupRole=\"listbox\" [(isOpen)]=\"isOpen\" [hasBackdrop]=\"false\" [sameDropdownWidth]=\"true\">\n <input type=\"text\"\n #textbox\n [attr.aria-label]=\"inputLabel()\"\n [ngModel]=\"searchterm()\"\n (ngModelChange)=\"onProvideSuggestions($event)\"\n bsCombobox\n (activate)=\"onActivate()\"\n (cancel)=\"onCancel()\"\n (keydown.enter)=\"onSubmit($event)\"\n autocomplete=\"off\" />\n <!--\n `mode=\"activedescendant\"` drives the a11y `bsRovingFocus` primitive;\n `menuMode=\"listbox\"` drives the WC-backed `bs-dropdown-menu`. Both\n directives sit on this one element (so roving's `contentChildren` finds\n the option `<li>`s as direct children) — the menu's mode input is aliased\n to `menuMode` precisely so it doesn't clobber roving's `mode`. The menu\n also mirrors the trigger's generated id + popup role (the `aria-controls`\n target) via the exported `bsDropdown` reference.\n -->\n <bs-dropdown-menu *bsDropdownMenu bsRovingFocus mode=\"activedescendant\" menuMode=\"listbox\"\n [attr.id]=\"dd.menuId() || null\" [attr.role]=\"dd.popupRole()\">\n @if (isLoading()) {\n <bs-progress [height]=\"2\" [isIndeterminate]=\"true\"></bs-progress>\n <li bsDropdownItem [disabled]=\"true\">\n {{ isLoadingText() }}\n </li>\n }\n @if (!isLoading()) {\n @if (showNoSuggestions()) {\n <li bsDropdownItem [disabled]=\"true\">\n {{ noSuggestionsText() }}\n </li>\n }\n @for (suggestion of suggestions(); track suggestion) {\n <li bsDropdownItem bsRovingFocusItem (click)=\"suggestionClicked(suggestion)\">\n {{ suggestion.text }}\n </li>\n }\n }\n </bs-dropdown-menu>\n </div>\n</bs-form>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAuBa,oBAAoB,CAAA;AA6B/B,IAAA,WAAA,GAAA;AA5BQ,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,sBAAsB,CAAC;QAElD,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,KAAK;mFAAC;AAErB;;;;AAIG;QACH,IAAA,CAAA,UAAU,GAAG,KAAK,CAAgB,IAAI;uFAAC;QAEvC,IAAA,CAAA,WAAW,GAAG,KAAK,CAAQ,EAAE;wFAAC;QAC9B,IAAA,CAAA,SAAS,GAAG,MAAM,CAAU,KAAK;sFAAC;AAClC,QAAA,IAAA,CAAA,iBAAiB,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC,MAAM,KAAK,CAAC;8FAAC;AAE1D,QAAA,IAAA,CAAA,OAAO,GAAG,SAAS,CAAC,QAAQ,CAA+B,SAAS;oFAAC;QACrE,IAAA,CAAA,WAAW,GAAG,SAAS,CAAC,sBAAsB;wFAAC;QACxD,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,EAAE;uFAAC;QACtB,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,YAAY;0FAAC;QACnC,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAC,sBAAsB;8FAAC;QACjD,IAAA,CAAA,2BAA2B,GAAG,KAAK,CAAS,gBAAgB;wGAAC;QAC7D,IAAA,CAAA,yBAAyB,GAAG,KAAK,CAA4B,CAAC,KAAK,KAAK,CAAA,EAAG,KAAK,CAAA,cAAA,CAAgB;sG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EAAA,yBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,2BAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AExCzD;;AAEG;;;;"}
@@ -5,10 +5,10 @@ class BsUcFirstPipe {
5
5
  transform(value, ...args) {
6
6
  return value[0].toUpperCase() + value.slice(1);
7
7
  }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsUcFirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: BsUcFirstPipe, isStandalone: true, name: "bsUcFirst" }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsUcFirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: BsUcFirstPipe, isStandalone: true, name: "bsUcFirst" }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsUcFirstPipe, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsUcFirstPipe, decorators: [{
12
12
  type: Pipe,
13
13
  args: [{
14
14
  name: 'bsUcFirst',
@@ -78,10 +78,10 @@ class BsUserAgentDirective {
78
78
  });
79
79
  this.destroyRef.onDestroy(() => clearTimeout(handle));
80
80
  }
81
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsUserAgentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
82
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsUserAgentDirective, isStandalone: true, selector: "[bsUserAgent]", outputs: { detected: "detected" }, host: { properties: { "class.os-android": "isAndroid", "class.os-ios": "isIos", "class.os-windows": "isWindows", "class": "browserClass" } }, ngImport: i0 }); }
81
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsUserAgentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
82
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsUserAgentDirective, isStandalone: true, selector: "[bsUserAgent]", outputs: { detected: "detected" }, host: { properties: { "class.os-android": "isAndroid", "class.os-ios": "isIos", "class.os-windows": "isWindows", "class": "browserClass" } }, ngImport: i0 }); }
83
83
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsUserAgentDirective, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsUserAgentDirective, decorators: [{
85
85
  type: Directive,
86
86
  args: [{
87
87
  selector: '[bsUserAgent]',
@@ -30,10 +30,10 @@ class BsInViewportDirective {
30
30
  this.observer = null;
31
31
  }
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInViewportDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsInViewportDirective, isStandalone: true, selector: "[bsInViewport]", outputs: { bsInViewport: "bsInViewport" }, ngImport: i0 }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsInViewportDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
34
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsInViewportDirective, isStandalone: true, selector: "[bsInViewport]", outputs: { bsInViewport: "bsInViewport" }, ngImport: i0 }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInViewportDirective, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsInViewportDirective, decorators: [{
37
37
  type: Directive,
38
38
  args: [{
39
39
  selector: '[bsInViewport]',
@@ -15,10 +15,10 @@ class BsWordCountPipe {
15
15
  .length;
16
16
  }
17
17
  }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsWordCountPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
19
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: BsWordCountPipe, isStandalone: true, name: "bsWordCount" }); }
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsWordCountPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
19
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: BsWordCountPipe, isStandalone: true, name: "bsWordCount" }); }
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsWordCountPipe, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsWordCountPipe, decorators: [{
22
22
  type: Pipe,
23
23
  args: [{
24
24
  name: 'bsWordCount',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-bootstrap",
3
3
  "private": false,
4
- "version": "22.12.0",
4
+ "version": "22.14.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -61,6 +61,18 @@
61
61
  "types": "./types/mintplayer-ng-bootstrap-carousel.d.ts",
62
62
  "default": "./fesm2022/mintplayer-ng-bootstrap-carousel.mjs"
63
63
  },
64
+ "./charts/hierarchy": {
65
+ "types": "./types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts",
66
+ "default": "./fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs"
67
+ },
68
+ "./charts/sparkline": {
69
+ "types": "./types/mintplayer-ng-bootstrap-charts-sparkline.d.ts",
70
+ "default": "./fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs"
71
+ },
72
+ "./charts/trend": {
73
+ "types": "./types/mintplayer-ng-bootstrap-charts-trend.d.ts",
74
+ "default": "./fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs"
75
+ },
64
76
  "./checkbox": {
65
77
  "types": "./types/mintplayer-ng-bootstrap-checkbox.d.ts",
66
78
  "default": "./fesm2022/mintplayer-ng-bootstrap-checkbox.mjs"
@@ -245,6 +257,10 @@
245
257
  "types": "./types/mintplayer-ng-bootstrap-parallax.d.ts",
246
258
  "default": "./fesm2022/mintplayer-ng-bootstrap-parallax.mjs"
247
259
  },
260
+ "./phone-input": {
261
+ "types": "./types/mintplayer-ng-bootstrap-phone-input.d.ts",
262
+ "default": "./fesm2022/mintplayer-ng-bootstrap-phone-input.mjs"
263
+ },
248
264
  "./placeholder": {
249
265
  "types": "./types/mintplayer-ng-bootstrap-placeholder.d.ts",
250
266
  "default": "./fesm2022/mintplayer-ng-bootstrap-placeholder.mjs"
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../fesm2022/mintplayer-ng-bootstrap-phone-input.mjs",
3
+ "typings": "../types/mintplayer-ng-bootstrap-phone-input.d.ts"
4
+ }
@@ -0,0 +1,44 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ElementRef } from '@angular/core';
3
+ import { HierarchyNode, HierarchyChartLayout, HierarchyNodeFormatter, HierarchyChildrenLoader, HierarchyNodeEventDetail, HierarchyHoverEventDetail, HierarchyLoadErrorEventDetail, MpHierarchyChart } from '@mintplayer/web-components/charts/hierarchy';
4
+ export { HierarchyChartLayout, HierarchyChildrenLoader, HierarchyHoverEventDetail, HierarchyLoadErrorEventDetail, HierarchyNode, HierarchyNodeEventDetail, HierarchyNodeFormatter } from '@mintplayer/web-components/charts/hierarchy';
5
+
6
+ declare class BsHierarchyChartComponent {
7
+ readonly data: _angular_core.InputSignal<HierarchyNode | undefined>;
8
+ readonly layout: _angular_core.InputSignal<HierarchyChartLayout>;
9
+ readonly rootId: _angular_core.ModelSignal<string | undefined>;
10
+ /** Levels rendered outward from the focus, or `'auto'` for every loaded level. */
11
+ readonly maxDepth: _angular_core.InputSignal<number | "auto">;
12
+ readonly minAngle: _angular_core.InputSignal<number>;
13
+ readonly minSize: _angular_core.InputSignal<number>;
14
+ readonly showLabels: _angular_core.InputSignal<boolean>;
15
+ readonly labelMinArea: _angular_core.InputSignal<number>;
16
+ readonly colorMin: _angular_core.InputSignal<number>;
17
+ readonly colorMax: _angular_core.InputSignal<number>;
18
+ readonly colorStart: _angular_core.InputSignal<string>;
19
+ readonly colorEnd: _angular_core.InputSignal<string>;
20
+ readonly transitionDuration: _angular_core.InputSignal<number>;
21
+ readonly locale: _angular_core.InputSignal<string | undefined>;
22
+ readonly inputLabel: _angular_core.InputSignal<string | undefined>;
23
+ readonly zoomOutLabel: _angular_core.InputSignal<string | undefined>;
24
+ readonly metricUnitLabel: _angular_core.InputSignal<string | undefined>;
25
+ readonly valueUnitLabel: _angular_core.InputSignal<string | undefined>;
26
+ readonly loadingLabel: _angular_core.InputSignal<string | undefined>;
27
+ readonly tooltipFormatter: _angular_core.InputSignal<HierarchyNodeFormatter | undefined>;
28
+ readonly labelFormatter: _angular_core.InputSignal<HierarchyNodeFormatter | undefined>;
29
+ readonly loadChildren: _angular_core.InputSignal<HierarchyChildrenLoader | undefined>;
30
+ readonly zoom: _angular_core.OutputEmitterRef<HierarchyNodeEventDetail>;
31
+ readonly nodeSelect: _angular_core.OutputEmitterRef<HierarchyNodeEventDetail>;
32
+ readonly nodeHover: _angular_core.OutputEmitterRef<HierarchyHoverEventDetail>;
33
+ readonly nodeLoadError: _angular_core.OutputEmitterRef<HierarchyLoadErrorEventDetail>;
34
+ readonly chartRef: _angular_core.Signal<ElementRef<MpHierarchyChart> | undefined>;
35
+ constructor();
36
+ protected onZoom(event: Event): void;
37
+ protected onNodeSelect(event: Event): void;
38
+ protected onNodeHover(event: Event): void;
39
+ protected onNodeLoadError(event: Event): void;
40
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsHierarchyChartComponent, never>;
41
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsHierarchyChartComponent, "bs-hierarchy-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "rootId": { "alias": "rootId"; "required": false; "isSignal": true; }; "maxDepth": { "alias": "maxDepth"; "required": false; "isSignal": true; }; "minAngle": { "alias": "minAngle"; "required": false; "isSignal": true; }; "minSize": { "alias": "minSize"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "labelMinArea": { "alias": "labelMinArea"; "required": false; "isSignal": true; }; "colorMin": { "alias": "colorMin"; "required": false; "isSignal": true; }; "colorMax": { "alias": "colorMax"; "required": false; "isSignal": true; }; "colorStart": { "alias": "colorStart"; "required": false; "isSignal": true; }; "colorEnd": { "alias": "colorEnd"; "required": false; "isSignal": true; }; "transitionDuration": { "alias": "transitionDuration"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "zoomOutLabel": { "alias": "zoomOutLabel"; "required": false; "isSignal": true; }; "metricUnitLabel": { "alias": "metricUnitLabel"; "required": false; "isSignal": true; }; "valueUnitLabel": { "alias": "valueUnitLabel"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "tooltipFormatter": { "alias": "tooltipFormatter"; "required": false; "isSignal": true; }; "labelFormatter": { "alias": "labelFormatter"; "required": false; "isSignal": true; }; "loadChildren": { "alias": "loadChildren"; "required": false; "isSignal": true; }; }, { "rootId": "rootIdChange"; "zoom": "zoom"; "nodeSelect": "nodeSelect"; "nodeHover": "nodeHover"; "nodeLoadError": "nodeLoadError"; }, never, never, true, never>;
42
+ }
43
+
44
+ export { BsHierarchyChartComponent };
@@ -0,0 +1,20 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ElementRef } from '@angular/core';
3
+ import { MpSparkline } from '@mintplayer/web-components/charts/sparkline';
4
+
5
+ declare class BsSparklineComponent {
6
+ readonly points: _angular_core.InputSignal<(number | null)[]>;
7
+ readonly area: _angular_core.InputSignal<boolean>;
8
+ readonly showLastDot: _angular_core.InputSignal<boolean>;
9
+ readonly yMin: _angular_core.InputSignal<number | undefined>;
10
+ readonly yMax: _angular_core.InputSignal<number | undefined>;
11
+ readonly locale: _angular_core.InputSignal<string | undefined>;
12
+ readonly inputLabel: _angular_core.InputSignal<string | undefined>;
13
+ readonly summaryFormatter: _angular_core.InputSignal<((points: (number | null)[]) => string | undefined) | undefined>;
14
+ readonly sparklineRef: _angular_core.Signal<ElementRef<MpSparkline> | undefined>;
15
+ constructor();
16
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsSparklineComponent, never>;
17
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsSparklineComponent, "bs-sparkline", never, { "points": { "alias": "points"; "required": false; "isSignal": true; }; "area": { "alias": "area"; "required": false; "isSignal": true; }; "showLastDot": { "alias": "showLastDot"; "required": false; "isSignal": true; }; "yMin": { "alias": "yMin"; "required": false; "isSignal": true; }; "yMax": { "alias": "yMax"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "summaryFormatter": { "alias": "summaryFormatter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
18
+ }
19
+
20
+ export { BsSparklineComponent };
@@ -0,0 +1,28 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ElementRef } from '@angular/core';
3
+ import { TrendSeries, TrendHoverEventDetail, TrendPointEventDetail, MpTrendChart } from '@mintplayer/web-components/charts/trend';
4
+ export { TrendHoverEventDetail, TrendPoint, TrendPointEventDetail, TrendSeries } from '@mintplayer/web-components/charts/trend';
5
+
6
+ declare class BsTrendChartComponent {
7
+ readonly series: _angular_core.InputSignal<TrendSeries[]>;
8
+ readonly area: _angular_core.InputSignal<boolean>;
9
+ readonly stacked: _angular_core.InputSignal<boolean>;
10
+ readonly yMin: _angular_core.InputSignal<number | undefined>;
11
+ readonly yMax: _angular_core.InputSignal<number | undefined>;
12
+ readonly goal: _angular_core.InputSignal<number | undefined>;
13
+ readonly goalLabel: _angular_core.InputSignal<string | undefined>;
14
+ readonly locale: _angular_core.InputSignal<string | undefined>;
15
+ readonly summary: _angular_core.InputSignal<string | undefined>;
16
+ readonly inputLabel: _angular_core.InputSignal<string | undefined>;
17
+ readonly summaryFormatter: _angular_core.InputSignal<((series: TrendSeries[]) => string | undefined) | undefined>;
18
+ readonly pointHover: _angular_core.OutputEmitterRef<TrendHoverEventDetail>;
19
+ readonly pointSelect: _angular_core.OutputEmitterRef<TrendPointEventDetail>;
20
+ readonly chartRef: _angular_core.Signal<ElementRef<MpTrendChart> | undefined>;
21
+ constructor();
22
+ protected onPointHover(event: Event): void;
23
+ protected onPointSelect(event: Event): void;
24
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTrendChartComponent, never>;
25
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTrendChartComponent, "bs-trend-chart", never, { "series": { "alias": "series"; "required": false; "isSignal": true; }; "area": { "alias": "area"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "yMin": { "alias": "yMin"; "required": false; "isSignal": true; }; "yMax": { "alias": "yMax"; "required": false; "isSignal": true; }; "goal": { "alias": "goal"; "required": false; "isSignal": true; }; "goalLabel": { "alias": "goalLabel"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "summaryFormatter": { "alias": "summaryFormatter"; "required": false; "isSignal": true; }; }, { "pointHover": "pointHover"; "pointSelect": "pointSelect"; }, never, never, true, never>;
26
+ }
27
+
28
+ export { BsTrendChartComponent };
@@ -1,8 +1,25 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
 
3
+ type BsInputGroupSize = 'sm' | 'md' | 'lg';
4
+ /**
5
+ * `<bs-input-group>` — joins its children into one visually continuous control.
6
+ *
7
+ * Now a wrapper over `<mp-input-group>`. The previous version was a
8
+ * `<div class="input-group">` plus a `::ng-deep` import of Bootstrap's module,
9
+ * which could not style a `<bs-select>`: the rules Bootstrap keys on
10
+ * `.input-group > .form-select` cannot reach inside that component's shadow root,
11
+ * so a select in a group got neither the flex sizing nor collapsed inner corners.
12
+ * The WC solves it with two channels (see `input-group.styles.scss`), which is why
13
+ * the styling moved there rather than being duplicated here.
14
+ */
3
15
  declare class BsInputGroupComponent {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<BsInputGroupComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<BsInputGroupComponent, "bs-input-group", never, {}, {}, never, ["*"], true, never>;
16
+ /** Bootstrap sizing, applied to light-DOM and `mp-*` children alike. */
17
+ readonly size: _angular_core.InputSignal<BsInputGroupSize>;
18
+ /** `md` is the absence of a size in Bootstrap, so it is not written at all. */
19
+ protected readonly sizeAttr: _angular_core.Signal<BsInputGroupSize | null>;
20
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsInputGroupComponent, never>;
21
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsInputGroupComponent, "bs-input-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
6
22
  }
7
23
 
8
24
  export { BsInputGroupComponent };
25
+ export type { BsInputGroupSize };
@@ -0,0 +1,60 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { PhoneChangeEventDetail } from '@mintplayer/web-components/phone-input';
4
+ import * as i1 from '@mintplayer/ng-bootstrap/a11y';
5
+
6
+ /**
7
+ * `<bs-phone-input>` — a phone-number form control: country picker with flags,
8
+ * a dial code that cannot be edited away, and as-you-type formatting.
9
+ *
10
+ * The control value is **E.164** (`'+32470123456'`), or `null` while empty, so a
11
+ * form posts one canonical string. `(phoneChange)` carries the decomposed parts
12
+ * for consumers that need them — note `valid` is `undefined` until the selected
13
+ * country's validation rules have loaded, which is deliberate rather than
14
+ * optimistic.
15
+ *
16
+ * ```html
17
+ * <bs-form>
18
+ * <bs-phone-input [(ngModel)]="phone" default-country="be"
19
+ * [errorMessages]="{ required: 'Enter a phone number.' }" />
20
+ * </bs-form>
21
+ * ```
22
+ */
23
+ declare class BsPhoneInputComponent implements ControlValueAccessor {
24
+ private readonly destroyRef;
25
+ private onChange;
26
+ private onTouched;
27
+ /** Set by `setDisabledState` before the view exists, applied by the effect. */
28
+ private disabledByForm;
29
+ private readonly phoneInput;
30
+ /** ISO 3166-1 alpha-2, lowercase. Two-way via `(countryChange)`. */
31
+ readonly country: _angular_core.InputSignal<string | null>;
32
+ /** Country to start on when the value is empty. */
33
+ readonly defaultCountry: _angular_core.InputSignal<string | null>;
34
+ /** BCP-47 tag for country names and their ordering. Omitted = browser locale. */
35
+ readonly locale: _angular_core.InputSignal<string | null>;
36
+ readonly preferredCountries: _angular_core.InputSignal<readonly string[] | null>;
37
+ readonly allowedCountries: _angular_core.InputSignal<readonly string[] | null>;
38
+ readonly placeholder: _angular_core.InputSignal<string | null>;
39
+ readonly autocomplete: _angular_core.InputSignal<string>;
40
+ /** Accessible name of the number field. */
41
+ readonly inputLabel: _angular_core.InputSignal<string | null>;
42
+ /** Accessible name of the country picker. */
43
+ readonly countryLabel: _angular_core.InputSignal<string | null>;
44
+ readonly countryChange: _angular_core.OutputEmitterRef<string>;
45
+ /** The full detail: E.164 value plus country, dial code, digits and validity. */
46
+ readonly phoneChange: _angular_core.OutputEmitterRef<PhoneChangeEventDetail>;
47
+ protected readonly preferredAttr: _angular_core.Signal<string | null>;
48
+ protected readonly allowedAttr: _angular_core.Signal<string | null>;
49
+ constructor();
50
+ writeValue(value: string | null): void;
51
+ registerOnChange(fn: (value: string | null) => void): void;
52
+ registerOnTouched(fn: () => void): void;
53
+ setDisabledState(isDisabled: boolean): void;
54
+ protected onValueChange(ev: Event): void;
55
+ protected onCountryChange(ev: Event): void;
56
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsPhoneInputComponent, never>;
57
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsPhoneInputComponent, "bs-phone-input", never, { "country": { "alias": "country"; "required": false; "isSignal": true; }; "defaultCountry": { "alias": "defaultCountry"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "preferredCountries": { "alias": "preferredCountries"; "required": false; "isSignal": true; }; "allowedCountries": { "alias": "allowedCountries"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "countryLabel": { "alias": "countryLabel"; "required": false; "isSignal": true; }; }, { "countryChange": "countryChange"; "phoneChange": "phoneChange"; }, never, never, true, [{ directive: typeof i1.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
58
+ }
59
+
60
+ export { BsPhoneInputComponent };