@mintplayer/ng-bootstrap 22.33.0 → 22.34.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 (84) hide show
  1. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +1 -1
  2. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  3. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
  4. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +1 -1
  5. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
  6. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +1 -1
  7. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
  8. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +1 -1
  9. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  10. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +6 -6
  11. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
  12. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +2 -2
  13. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
  14. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +3 -3
  15. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
  16. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
  17. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +2 -2
  18. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
  19. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +1 -1
  20. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
  21. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +3 -3
  22. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +1 -1
  24. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  25. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +2 -2
  26. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
  27. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  28. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +2 -2
  29. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
  31. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +7 -7
  33. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +2 -2
  35. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
  36. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
  37. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +4 -4
  38. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  41. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +1 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  43. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +1 -1
  45. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  46. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +1 -1
  47. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
  49. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +4 -4
  51. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +1 -1
  53. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
  54. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  55. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +3 -3
  56. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  57. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +1 -1
  58. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  59. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +2 -2
  60. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
  61. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +2 -2
  62. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  63. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +1 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  65. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +1 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  67. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +2 -2
  68. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  69. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +1 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
  71. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +4 -4
  73. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
  75. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +4 -4
  76. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
  77. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
  78. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +1 -1
  79. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  81. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +2 -2
  82. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  83. package/package.json +2 -2
  84. package/types/mintplayer-ng-bootstrap-machine.d.ts +6 -0
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-offcanvas.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/offcanvas/src/generated/offcanvas.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/offcanvas/src/generated/offcanvas.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/offcanvas/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/offcanvas/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/offcanvas/mintplayer-ng-bootstrap-offcanvas.ts"],"sourcesContent":["// GENERATED from the offcanvas manifest (offcanvas) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, numberAttribute } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpBodyTeleportDirective, MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { offcanvasCore, type OffcanvasInputs, offcanvasScopedStyles } from '@mintplayer/ui-core/offcanvas';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { bootstrapClose } from '@mintplayer/ui-core/bootstrap/close';\nimport { bootstrapOffcanvas } from '@mintplayer/ui-core/bootstrap/offcanvas';\n\n/** The `header` slot of `<bs-offcanvas>`: `<ng-template bsOffcanvasHeader>` or `*bsOffcanvasHeader`. */\n@Directive({ selector: '[bsOffcanvasHeader]' })\nexport class BsOffcanvasHeaderDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * Bootstrap's offcanvas panel, rendered at the end of `<body>`. `open` is two-way; `position` picks the edge.\n * With `backdrop` it is modal. The `header` slot names it; any element inside with\n * `data-bs-dismiss=\"offcanvas\"` closes it.\n */\n@Component({\n selector: 'bs-offcanvas',\n templateUrl: './offcanvas.view.generated.html',\n imports: [MpBodyTeleportDirective, MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsOffcanvasComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly open = model<OffcanvasInputs['open']>(false);\n readonly position = input<OffcanvasInputs['position']>('start');\n readonly size = input<OffcanvasInputs['size'], unknown>(null, { transform: (v: unknown) => numberAttribute(v) as OffcanvasInputs['size'] });\n readonly backdrop = input<OffcanvasInputs['backdrop'], unknown>(true, { transform: booleanAttribute });\n readonly closeOnBackdrop = input<OffcanvasInputs['closeOnBackdrop'], unknown>(true, { transform: booleanAttribute });\n readonly closeOnEscape = input<OffcanvasInputs['closeOnEscape'], unknown>(true, { transform: booleanAttribute });\n readonly closeButton = input<OffcanvasInputs['closeButton'], unknown>(true, { transform: booleanAttribute });\n readonly closeLabel = input<OffcanvasInputs['closeLabel']>('Close');\n readonly noPadding = input<OffcanvasInputs['noPadding'], unknown>(false, { transform: booleanAttribute });\n\n private readonly headerSlot = contentChild(BsOffcanvasHeaderDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ header: this.headerSlot()?.templateRef }));\n readonly #core = useCore(offcanvasCore, { inputs: () => ({ open: this.open(), position: this.position(), size: this.size(), backdrop: this.backdrop(), closeOnBackdrop: this.closeOnBackdrop(), closeOnEscape: this.closeOnEscape(), closeButton: this.closeButton(), closeLabel: this.closeLabel(), noPadding: this.noPadding() }), idPrefix: 'bs-offcanvas', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'offcanvas' }), models: { open: this.open } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order }); useScopedStyles(bootstrapClose.key, bootstrapClose.css, { order: bootstrapClose.order }); useScopedStyles(bootstrapOffcanvas.key, bootstrapOffcanvas.css, { order: bootstrapOffcanvas.order }); useScopedStyles('offcanvas', offcanvasScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/offcanvas/src/templates/offcanvas.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.rendered) {\n <ng-template mpBodyTeleport>\n <div data-mps=\"offcanvas\" [mpProps]=\"p_view.panel\" [style]=\"p_view.panelStyle\">\n @if (slots().header) {\n <div data-mps=\"offcanvas\" [mpProps]=\"p_view.header\">\n <h2 data-mps=\"offcanvas\" [mpProps]=\"p_view.title\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" />\n }\n </h2>\n @if (p_view.close) {\n <button data-mps=\"offcanvas\" [mpProps]=\"p_view.close\"></button>\n }\n </div>\n }\n <div data-mps=\"offcanvas\" [mpProps]=\"p_view.body\">\n <ng-content />\n </div>\n </div>\n @if (p_view.backdrop) {\n <div data-mps=\"offcanvas\" [mpProps]=\"p_view.backdrop\"></div>\n }\n </ng-template>\n}\n","// GENERATED from the offcanvas manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsOffcanvasComponent, BsOffcanvasHeaderDirective } from './offcanvas.component.generated';\n","// Generated from @mintplayer/ui-core/offcanvas (#458 D10).\nexport * from './generated';\nexport type { Off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QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAG1D,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;+BACE,cAAc,EAAA,OAAA,EAEf,CAAC,uBAAuB,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,EAAA,eAAA,EACrD,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mgCAAA,EAAA;whCAgBJ,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AExCvE;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-offcanvas.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/offcanvas/src/generated/offcanvas.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/offcanvas/src/generated/offcanvas.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/offcanvas/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/offcanvas/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/offcanvas/mintplayer-ng-bootstrap-offcanvas.ts"],"sourcesContent":["// GENERATED from the offcanvas manifest (offcanvas) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, numberAttribute } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpBodyTeleportDirective, MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { offcanvasCore, type OffcanvasInputs, offcanvasScopedStyles } from '@mintplayer/ui-core/offcanvas';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { bootstrapClose } from '@mintplayer/ui-core/bootstrap/close';\nimport { bootstrapOffcanvas } from '@mintplayer/ui-core/bootstrap/offcanvas';\n\n/** The `header` slot of `<bs-offcanvas>`: `<ng-template bsOffcanvasHeader>` or `*bsOffcanvasHeader`. */\n@Directive({ selector: '[bsOffcanvasHeader]' })\nexport class BsOffcanvasHeaderDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * Bootstrap's offcanvas panel, rendered at the end of `<body>`. `open` is two-way; `position` picks the edge.\n * With `backdrop` it is modal. The `header` slot names it; any element inside with\n * `data-bs-dismiss=\"offcanvas\"` closes it.\n */\n@Component({\n selector: 'bs-offcanvas',\n templateUrl: './offcanvas.view.generated.html',\n imports: [MpBodyTeleportDirective, MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsOffcanvasComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly open = model<OffcanvasInputs['open']>(false);\n readonly position = input<OffcanvasInputs['position']>('start');\n readonly size = input<OffcanvasInputs['size'], unknown>(null, { transform: (v: unknown) => (v == null || v === '' ? null : numberAttribute(v)) as OffcanvasInputs['size'] });\n readonly backdrop = input<OffcanvasInputs['backdrop'], unknown>(true, { transform: booleanAttribute });\n readonly closeOnBackdrop = input<OffcanvasInputs['closeOnBackdrop'], unknown>(true, { transform: booleanAttribute });\n readonly closeOnEscape = input<OffcanvasInputs['closeOnEscape'], unknown>(true, { transform: booleanAttribute });\n readonly closeButton = input<OffcanvasInputs['closeButton'], unknown>(true, { transform: booleanAttribute });\n readonly closeLabel = input<OffcanvasInputs['closeLabel']>('Close');\n readonly noPadding = input<OffcanvasInputs['noPadding'], unknown>(false, { transform: booleanAttribute });\n\n private readonly headerSlot = contentChild(BsOffcanvasHeaderDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ header: this.headerSlot()?.templateRef }));\n readonly #core = useCore(offcanvasCore, { inputs: () => ({ open: this.open(), position: this.position(), size: this.size(), backdrop: this.backdrop(), closeOnBackdrop: this.closeOnBackdrop(), closeOnEscape: this.closeOnEscape(), closeButton: this.closeButton(), closeLabel: this.closeLabel(), noPadding: this.noPadding() }), idPrefix: 'bs-offcanvas', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'offcanvas' }), models: {open: this.open } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order }); useScopedStyles(bootstrapClose.key, bootstrapClose.css, { order: bootstrapClose.order }); useScopedStyles(bootstrapOffcanvas.key, bootstrapOffcanvas.css, { order: bootstrapOffcanvas.order }); useScopedStyles('offcanvas', offcanvasScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/offcanvas/src/templates/offcanvas.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.rendered) {\n <ng-template mpBodyTeleport>\n <div data-mps=\"offcanvas\" [mpProps]=\"p_view.panel\" [style]=\"p_view.panelStyle\">\n @if (slots().header) {\n <div data-mps=\"offcanvas\" [mpProps]=\"p_view.header\">\n <h2 data-mps=\"offcanvas\" [mpProps]=\"p_view.title\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" />\n }\n </h2>\n @if (p_view.close) {\n <button data-mps=\"offcanvas\" [mpProps]=\"p_view.close\"></button>\n }\n </div>\n }\n <div data-mps=\"offcanvas\" [mpProps]=\"p_view.body\">\n <ng-content />\n </div>\n </div>\n @if (p_view.backdrop) {\n <div data-mps=\"offcanvas\" [mpProps]=\"p_view.backdrop\"></div>\n }\n </ng-template>\n}\n","// GENERATED from the offcanvas manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsOffcanvasComponent, BsOffcanvasHeaderDirective } from './offcanvas.component.generated';\n","// Generated from @mintplayer/ui-core/offcanvas (#458 D10).\nexport * from './generated';\nexport type { OffcanvasInputs, OffcanvasPosition } from '@mintplayer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yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAG1D,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;+BACE,cAAc,EAAA,OAAA,EAEf,CAAC,uBAAuB,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,EAAA,eAAA,EACrD,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mgCAAA,EAAA;whCAgBJ,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AExCvE;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-otp-input.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/otp-input/src/value-accessor/otp-input-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/otp-input.angular.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/generated/otp-input.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/generated/otp-input.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/mintplayer-ng-bootstrap-otp-input.ts"],"sourcesContent":["import { DestroyRef, Directive, ElementRef, Injector, OnInit, forwardRef, inject, signal } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { BsOtpInputComponent } from '../generated';\n\n/**\n * The `ControlValueAccessor` of `bs-otp-input` (a host directive of the\n * generated component, see `otp-input.angular.ts`). A bound form control drives\n * the code through `viewValue`; every change the user makes (typing, paste,\n * `clear()`, a layout change that drops characters) reaches the form through\n * the component's `value` model, which a form write never touches.\n */\n@Directive({\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BsOtpInputValueAccessor), multi: true }],\n host: {\n '(focusout)': 'onTouched()',\n },\n})\nexport class BsOtpInputValueAccessor implements ControlValueAccessor, OnInit {\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n\n /** A form control drives the code: its `viewValue` wins over the `value` input. */\n readonly bound = signal(false);\n readonly viewValue = signal('');\n readonly disabled = signal(false);\n\n private onChange: (value: string) => void = () => undefined;\n onTouched: () => void = () => undefined;\n\n ngOnInit(): void {\n // The component is created after its host directives, so it is looked up here.\n const sub = this.injector.get(BsOtpInputComponent).value.subscribe((value) => {\n if (!this.bound() || value === this.viewValue()) return;\n this.viewValue.set(value);\n this.onChange(value);\n });\n this.destroyRef.onDestroy(() => sub.unsubscribe());\n }\n\n registerOnChange(fn: (value: string) => void): void {\n this.bound.set(true);\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n writeValue(value: string | null | undefined): void {\n this.viewValue.set(value ?? '');\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled.set(isDisabled);\n }\n}\n\n/**\n * `focus()` on the `bs-otp-input` host moves into its input, so a directive that\n * focuses the element it sits on (`autofocus` through FocusOnLoadDirective)\n * reaches the field.\n */\n@Directive({})\nexport class BsOtpInputFocusDirective {\n constructor() {\n const host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n Object.defineProperty(host, 'focus', {\n // Before the first render there is no input yet; try again once it exists.\n value: (options?: FocusOptions) => {\n const input = host.querySelector('input');\n if (input) input.focus(options);\n else queueMicrotask(() => host.querySelector('input')?.focus(options));\n },\n configurable: true,\n writable: true,\n });\n }\n}\n","import { computed, inject } from '@angular/core';\nimport { BsControlValidityDirective } from '@mintplayer/ng-bootstrap/a11y/forms';\nimport type { OtpInputInputs } from '@mintplayer/ui-core/otp-input';\nimport { BsOtpInputFocusDirective, BsOtpInputValueAccessor } from './value-accessor/otp-input-value-accessor';\n\n/*\n * The Angular extension of the generated `bs-otp-input` (PRD #437 D10 escape\n * hatch): Angular forms, and host focus. A bound form control drives the value\n * and the disabled state, and its validity reaches the input's ARIA and message.\n */\n\nexport const hostDirectives = [\n BsOtpInputValueAccessor,\n BsOtpInputFocusDirective,\n { directive: BsControlValidityDirective, inputs: ['errorMessages'] },\n];\n\nexport function extendInputs(inputs: () => OtpInputInputs): () => OtpInputInputs {\n const accessor = inject(BsOtpInputValueAccessor, { self: true });\n const validity = inject(BsControlValidityDirective, { self: true });\n return computed<OtpInputInputs>(() => {\n const value = inputs();\n return {\n ...value,\n value: accessor.bound() ? accessor.viewValue() : value.value,\n disabled: value.disabled || accessor.disabled(),\n invalid: value.invalid || validity.invalid(),\n required: value.required || validity.required(),\n errorText: value.errorText ?? validity.errorText(),\n };\n });\n}\n","// GENERATED from the otp-input manifest (otp-input) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { otpInputCore, type OtpInputInputs, type OtpInputMethods, otpInputScopedStyles } from '@mintplayer/ui-core/otp-input';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../otp-input.angular';\n\n/**\n * A segmented one-time-code input (#437): one real `<input>` behind decorative boxes.\n *\n * With JavaScript off it is a plain `.form-control` that takes the code and submits under `name`.\n * `groups` sets the boxes (`[1,1,1,1,1,1]`, or `[5,5,5,5,5]` for a product key). `value` is two-way;\n * `complete` fires when the user fills the last box. An `aria-label` on the component names the input.\n */\n@Component({\n selector: 'bs-otp-input',\n templateUrl: './otp-input.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsOtpInputComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly groups = input<OtpInputInputs['groups']>([1, 1, 1, 1, 1, 1]);\n readonly type = input<OtpInputInputs['type']>('numeric');\n readonly letterCase = input<OtpInputInputs['letterCase']>('upper');\n readonly size = input<OtpInputInputs['size']>('md');\n readonly disabled = input<OtpInputInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly required = input<OtpInputInputs['required'], unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<OtpInputInputs['invalid'], unknown>(false, { transform: booleanAttribute });\n readonly errorText = input<OtpInputInputs['errorText']>();\n readonly name = input<OtpInputInputs['name']>();\n readonly inputLabel = input<OtpInputInputs['inputLabel']>();\n readonly value = model<OtpInputInputs['value']>('');\n /** The user filled the last box. */\n readonly complete = output<string>();\n\n readonly #core = useCore(otpInputCore, { inputs: ext_extendInputs(() => ({ groups: this.groups(), type: this.type(), letterCase: this.letterCase(), size: this.size(), disabled: this.disabled(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), name: this.name(), inputLabel: this.inputLabel(), value: this.value() })), idPrefix: 'bs-otp-input', outputs: { complete: this.complete }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'otp-input' }), models: { value: this.value } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('otp-input', otpInputScopedStyles);\n }\n\n /** Empties the code, and reports it. */\n clear(...args: Parameters<OtpInputMethods['clear']>): ReturnType<OtpInputMethods['clear']> {\n return this.#core.call('clear', args) as ReturnType<OtpInputMethods['clear']>;\n }\n\n /** Moves focus into the input. */\n focusInput(...args: Parameters<OtpInputMethods['focusInput']>): ReturnType<OtpInputMethods['focusInput']> {\n return this.#core.call('focusInput', args) as ReturnType<OtpInputMethods['focusInput']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/otp-input/src/templates/otp-input.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"otp-input\" [mpProps]=\"p_view.container\">\n <input data-mps=\"otp-input\" [mpProps]=\"p_view.input\" [mpHostAttrs]=\"hostAttrs\">\n @for (box of p_view.boxes; track box.key) {\n <span data-mps=\"otp-input\" [mpProps]=\"box.bag\">\n <span data-mps=\"otp-input\" [mpProps]=\"p_view.spacer\">\n {{ box.spacer }}\n </span>\n <span data-mps=\"otp-input\" [mpProps]=\"p_view.content\">\n {{ box.content }}\n </span>\n </span>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"otp-input\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n","// GENERATED from the otp-input manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsOtpInputComponent } from './otp-input.component.generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","i1.BsOtpInputValueAccessor","i1.BsOtpInputFocusDirective","ext_hostDirectives"],"mappings":";;;;;;;;;AAIA;;;;;;AAMG;MAOU,uBAAuB,CAAA;AANpC,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;;QAGvC,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,KAAK;kFAAC;QACrB,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,EAAE;sFAAC;QACtB,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,KAAK;qFAAC;AAEzB,QAAA,IAAA,CAAA,QAAQ,GAA4B,MAAM,SAAS;AAC3D,QAAA,IAAA,CAAA,SAAS,GAAe,MAAM,SAAS;AA4BxC,IAAA;IA1BC,QAAQ,GAAA;;AAEN,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,KAAK,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A,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,KAAA,EAAA,aAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAAC,uBAAA,EAAA,EAAA,EAAA,SAAA,EAAAC,wBAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,eAAA,EAAA,eAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECrBhC,0yBAoBA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDHY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIf,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAP/B,SAAS;+BACE,cAAc,EAAA,OAAA,EAEf,CAAC,gBAAgB,CAAC,mBACV,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/BC,cAAkB,EAAA,QAAA,EAAA,0yBAAA,EAAA;;;AEnBpC;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-otp-input.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/otp-input/src/value-accessor/otp-input-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/otp-input.angular.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/generated/otp-input.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/generated/otp-input.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/otp-input/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/otp-input/mintplayer-ng-bootstrap-otp-input.ts"],"sourcesContent":["import { DestroyRef, Directive, ElementRef, Injector, OnInit, forwardRef, inject, signal } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { BsOtpInputComponent } from '../generated';\n\n/**\n * The `ControlValueAccessor` of `bs-otp-input` (a host directive of the\n * generated component, see `otp-input.angular.ts`). A bound form control drives\n * the code through `viewValue`; every change the user makes (typing, paste,\n * `clear()`, a layout change that drops characters) reaches the form through\n * the component's `value` model, which a form write never touches.\n */\n@Directive({\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BsOtpInputValueAccessor), multi: true }],\n host: {\n '(focusout)': 'onTouched()',\n },\n})\nexport class BsOtpInputValueAccessor implements ControlValueAccessor, OnInit {\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n\n /** A form control drives the code: its `viewValue` wins over the `value` input. */\n readonly bound = signal(false);\n readonly viewValue = signal('');\n readonly disabled = signal(false);\n\n private onChange: (value: string) => void = () => undefined;\n onTouched: () => void = () => undefined;\n\n ngOnInit(): void {\n // The component is created after its host directives, so it is looked up here.\n const sub = this.injector.get(BsOtpInputComponent).value.subscribe((value) => {\n if (!this.bound() || value === this.viewValue()) return;\n this.viewValue.set(value);\n this.onChange(value);\n });\n this.destroyRef.onDestroy(() => sub.unsubscribe());\n }\n\n registerOnChange(fn: (value: string) => void): void {\n this.bound.set(true);\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n writeValue(value: string | null | undefined): void {\n this.viewValue.set(value ?? '');\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled.set(isDisabled);\n }\n}\n\n/**\n * `focus()` on the `bs-otp-input` host moves into its input, so a directive that\n * focuses the element it sits on (`autofocus` through FocusOnLoadDirective)\n * reaches the field.\n */\n@Directive({})\nexport class BsOtpInputFocusDirective {\n constructor() {\n const host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n Object.defineProperty(host, 'focus', {\n // Before the first render there is no input yet; try again once it exists.\n value: (options?: FocusOptions) => {\n const input = host.querySelector('input');\n if (input) input.focus(options);\n else queueMicrotask(() => host.querySelector('input')?.focus(options));\n },\n configurable: true,\n writable: true,\n });\n }\n}\n","import { computed, inject } from '@angular/core';\nimport { BsControlValidityDirective } from '@mintplayer/ng-bootstrap/a11y/forms';\nimport type { OtpInputInputs } from '@mintplayer/ui-core/otp-input';\nimport { BsOtpInputFocusDirective, BsOtpInputValueAccessor } from './value-accessor/otp-input-value-accessor';\n\n/*\n * The Angular extension of the generated `bs-otp-input` (PRD #437 D10 escape\n * hatch): Angular forms, and host focus. A bound form control drives the value\n * and the disabled state, and its validity reaches the input's ARIA and message.\n */\n\nexport const hostDirectives = [\n BsOtpInputValueAccessor,\n BsOtpInputFocusDirective,\n { directive: BsControlValidityDirective, inputs: ['errorMessages'] },\n];\n\nexport function extendInputs(inputs: () => OtpInputInputs): () => OtpInputInputs {\n const accessor = inject(BsOtpInputValueAccessor, { self: true });\n const validity = inject(BsControlValidityDirective, { self: true });\n return computed<OtpInputInputs>(() => {\n const value = inputs();\n return {\n ...value,\n value: accessor.bound() ? accessor.viewValue() : value.value,\n disabled: value.disabled || accessor.disabled(),\n invalid: value.invalid || validity.invalid(),\n required: value.required || validity.required(),\n errorText: value.errorText ?? validity.errorText(),\n };\n });\n}\n","// GENERATED from the otp-input manifest (otp-input) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { otpInputCore, type OtpInputInputs, type OtpInputMethods, otpInputScopedStyles } from '@mintplayer/ui-core/otp-input';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../otp-input.angular';\n\n/**\n * A segmented one-time-code input (#437): one real `<input>` behind decorative boxes.\n *\n * With JavaScript off it is a plain `.form-control` that takes the code and submits under `name`.\n * `groups` sets the boxes (`[1,1,1,1,1,1]`, or `[5,5,5,5,5]` for a product key). `value` is two-way;\n * `complete` fires when the user fills the last box. An `aria-label` on the component names the input.\n */\n@Component({\n selector: 'bs-otp-input',\n templateUrl: './otp-input.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsOtpInputComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly groups = input<OtpInputInputs['groups']>([1, 1, 1, 1, 1, 1]);\n readonly type = input<OtpInputInputs['type']>('numeric');\n readonly letterCase = input<OtpInputInputs['letterCase']>('upper');\n readonly size = input<OtpInputInputs['size']>('md');\n readonly disabled = input<OtpInputInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly required = input<OtpInputInputs['required'], unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<OtpInputInputs['invalid'], unknown>(false, { transform: booleanAttribute });\n readonly errorText = input<OtpInputInputs['errorText']>();\n readonly name = input<OtpInputInputs['name']>();\n readonly inputLabel = input<OtpInputInputs['inputLabel']>();\n readonly value = model<OtpInputInputs['value']>('');\n /** The user filled the last box. */\n readonly complete = output<string>();\n\n readonly #core = useCore(otpInputCore, { inputs: ext_extendInputs(() => ({ groups: this.groups(), type: this.type(), letterCase: this.letterCase(), size: this.size(), disabled: this.disabled(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), name: this.name(), inputLabel: this.inputLabel(), value: this.value() })), idPrefix: 'bs-otp-input', outputs: { complete: this.complete }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'otp-input' }), models: {value: this.value } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('otp-input', otpInputScopedStyles);\n }\n\n /** Empties the code, and reports it. */\n clear(...args: Parameters<OtpInputMethods['clear']>): ReturnType<OtpInputMethods['clear']> {\n return this.#core.call('clear', args) as ReturnType<OtpInputMethods['clear']>;\n }\n\n /** Moves focus into the input. */\n focusInput(...args: Parameters<OtpInputMethods['focusInput']>): ReturnType<OtpInputMethods['focusInput']> {\n return this.#core.call('focusInput', args) as ReturnType<OtpInputMethods['focusInput']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/otp-input/src/templates/otp-input.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"otp-input\" [mpProps]=\"p_view.container\">\n <input data-mps=\"otp-input\" [mpProps]=\"p_view.input\" [mpHostAttrs]=\"hostAttrs\">\n @for (box of p_view.boxes; track box.key) {\n <span data-mps=\"otp-input\" [mpProps]=\"box.bag\">\n <span data-mps=\"otp-input\" [mpProps]=\"p_view.spacer\">\n {{ box.spacer }}\n </span>\n <span data-mps=\"otp-input\" [mpProps]=\"p_view.content\">\n {{ box.content }}\n </span>\n </span>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"otp-input\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n","// GENERATED from the otp-input manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsOtpInputComponent } from './otp-input.component.generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","i1.BsOtpInputValueAccessor","i1.BsOtpInputFocusDirective","ext_hostDirectives"],"mappings":";;;;;;;;;AAIA;;;;;;AAMG;MAOU,uBAAuB,CAAA;AANpC,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;;QAGvC,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,KAAK;kFAAC;QACr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ul ignore next */ []));
24
24
  this.selectedPageNumber = model(1, /* @ts-ignore */
25
25
  ...(ngDevMode ? [{ debugName: "selectedPageNumber" }] : /* istanbul ignore next */ []));
26
- this.numberOfBoxes = input(0, { ...(ngDevMode ? { debugName: "numberOfBoxes" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
26
+ this.numberOfBoxes = input(0, { ...(ngDevMode ? { debugName: "numberOfBoxes" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 0 : numberAttribute(v)) });
27
27
  this.showArrows = input(true, { ...(ngDevMode ? { debugName: "showArrows" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
28
28
  this.size = input('medium', /* @ts-ignore */
29
29
  ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-pagination.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/pagination/src/generated/pagination.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/pagination/src/generated/pagination.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/pagination/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/pagination/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/pagination/mintplayer-ng-bootstrap-pagination.ts"],"sourcesContent":["// GENERATED from the pagination manifest (pagination) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { paginationCore, type PaginationInputs, paginationScopedStyles } from '@mintplayer/ui-core/pagination';\nimport { bootstrapPagination } from '@mintplayer/ui-core/bootstrap/pagination';\n\n/**\n * Bootstrap's pagination in a `<nav>` landmark (#458). `selectedPageNumber` is two-way.\n *\n * Pages are buttons; with `hrefFor` they are real links, so the server-rendered page navigates\n * with JavaScript off, and a plain click selects in place once hydrated. A consumer\n * `aria-label` names the `<nav>`; `labels` localizes the arrows and page names.\n */\n@Component({\n selector: 'bs-pagination',\n templateUrl: './pagination.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsPaginationComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly pageNumbers = input<PaginationInputs['pageNumbers']>([]);\n readonly selectedPageNumber = model<PaginationInputs['selectedPageNumber']>(1);\n readonly numberOfBoxes = input<PaginationInputs['numberOfBoxes'], unknown>(0, { transform: (v: unknown) => numberAttribute(v) as PaginationInputs['numberOfBoxes'] });\n readonly showArrows = input<PaginationInputs['showArrows'], unknown>(true, { transform: booleanAttribute });\n readonly size = input<PaginationInputs['size']>('medium');\n readonly labels = input<PaginationInputs['labels']>(null);\n readonly hrefFor = input<PaginationInputs['hrefFor']>(null);\n\n readonly #core = useCore(paginationCore, { inputs: () => ({ pageNumbers: this.pageNumbers(), selectedPageNumber: this.selectedPageNumber(), numberOfBoxes: this.numberOfBoxes(), showArrows: this.showArrows(), size: this.size(), labels: this.labels(), hrefFor: this.hrefFor() }), idPrefix: 'bs-pagination', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'pagination' }), models: { selectedPageNumber: this.selectedPageNumber } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapPagination.key, bootstrapPagination.css, { order: bootstrapPagination.order }); useScopedStyles('pagination', paginationScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/pagination/src/templates/pagination.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<nav data-mps=\"pagination\" [mpProps]=\"p_view.nav\" [mpHostAttrs]=\"hostAttrs\">\n <ul data-mps=\"pagination\" [mpProps]=\"p_view.list\">\n @for (e of p_view.entries; track e.key) {\n <li data-mps=\"pagination\" [mpProps]=\"e.item\">\n @if (e.gap) {\n <span data-mps=\"pagination\" [mpProps]=\"e.link\">\n {{ e.text }}\n </span>\n } @else if (e.anchor) {\n <a data-mps=\"pagination\" [mpProps]=\"e.link\" [attr.href]=\"e.href\">\n {{ e.text }}\n </a>\n } @else {\n <button data-mps=\"pagination\" [mpProps]=\"e.link\">\n {{ e.text }}\n </button>\n }\n </li>\n }\n </ul>\n</nav>\n","// GENERATED from the pagination manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsPaginationComponent } from './pagination.component.generated';\n","// Generated from @mintplayer/ui-core/pagination (#458 M4, D10).\nexport * from './generated';\nexport type { PaginationLabels, PaginationSize } from '@mintplayer/ui-core/pagination';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAMA;;;;;;AAMG;MAOU,qBAAqB,CAAA;AAevB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAjBS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAG9C,IAAA,CAAA,SAAS,GAAG,YAAY,EAAE;QAEpC,IAAA,CAAA,WAAW,GAAG,KAAK,CAAkC,EAAE;wFAAC;QACxD,IAAA,CAAA,kBAAkB,GAAG,KAAK,CAAyC,CAAC;+FAAC;AACrE,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAA6C,CAAC,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,eAAA,EAAA,8BAAA,EAAA,CAAA,EAAI,SAAS,EAAE,CAAC,CAAU,KAAK,eAAe,CAAC,CAAC,CAAsC,GAAG;QAC5J,IAAA,CAAA,UAAU,GAAG,KAAK,CAA0C,IAAI,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAClG,IAAA,CAAA,IAAI,GAAG,KAAK,CAA2B,QAAQ;iFAAC;QAChD,IAAA,CAAA,MAAM,GAAG,KAAK,CAA6B,I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,EAAA,CAAA,CAAA;;2FAGf,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,WAEhB,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,03BAAA,EAAA;;;AEjBjD;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-pagination.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/pagination/src/generated/pagination.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/pagination/src/generated/pagination.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/pagination/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/pagination/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/pagination/mintplayer-ng-bootstrap-pagination.ts"],"sourcesContent":["// GENERATED from the pagination manifest (pagination) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { paginationCore, type PaginationInputs, paginationScopedStyles } from '@mintplayer/ui-core/pagination';\nimport { bootstrapPagination } from '@mintplayer/ui-core/bootstrap/pagination';\n\n/**\n * Bootstrap's pagination in a `<nav>` landmark (#458). `selectedPageNumber` is two-way.\n *\n * Pages are buttons; with `hrefFor` they are real links, so the server-rendered page navigates\n * with JavaScript off, and a plain click selects in place once hydrated. A consumer\n * `aria-label` names the `<nav>`; `labels` localizes the arrows and page names.\n */\n@Component({\n selector: 'bs-pagination',\n templateUrl: './pagination.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsPaginationComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly pageNumbers = input<PaginationInputs['pageNumbers']>([]);\n readonly selectedPageNumber = model<PaginationInputs['selectedPageNumber']>(1);\n readonly numberOfBoxes = input<PaginationInputs['numberOfBoxes'], unknown>(0, { transform: (v: unknown) => (v == null || v === '' ? 0 : numberAttribute(v)) as PaginationInputs['numberOfBoxes'] });\n readonly showArrows = input<PaginationInputs['showArrows'], unknown>(true, { transform: booleanAttribute });\n readonly size = input<PaginationInputs['size']>('medium');\n readonly labels = input<PaginationInputs['labels']>(null);\n readonly hrefFor = input<PaginationInputs['hrefFor']>(null);\n\n readonly #core = useCore(paginationCore, { inputs: () => ({ pageNumbers: this.pageNumbers(), selectedPageNumber: this.selectedPageNumber(), numberOfBoxes: this.numberOfBoxes(), showArrows: this.showArrows(), size: this.size(), labels: this.labels(), hrefFor: this.hrefFor() }), idPrefix: 'bs-pagination', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'pagination' }), models: {selectedPageNumber: this.selectedPageNumber } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapPagination.key, bootstrapPagination.css, { order: bootstrapPagination.order }); useScopedStyles('pagination', paginationScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/pagination/src/templates/pagination.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<nav data-mps=\"pagination\" [mpProps]=\"p_view.nav\" [mpHostAttrs]=\"hostAttrs\">\n <ul data-mps=\"pagination\" [mpProps]=\"p_view.list\">\n @for (e of p_view.entries; track e.key) {\n <li data-mps=\"pagination\" [mpProps]=\"e.item\">\n @if (e.gap) {\n <span data-mps=\"pagination\" [mpProps]=\"e.link\">\n {{ e.text }}\n </span>\n } @else if (e.anchor) {\n <a data-mps=\"pagination\" [mpProps]=\"e.link\" [attr.href]=\"e.href\">\n {{ e.text }}\n </a>\n } @else {\n <button data-mps=\"pagination\" [mpProps]=\"e.link\">\n {{ e.text }}\n </button>\n }\n </li>\n }\n </ul>\n</nav>\n","// GENERATED from the pagination manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsPaginationComponent } from './pagination.component.generated';\n","// Generated from @mintplayer/ui-core/pagination (#458 M4, D10).\nexport * from './generated';\nexport type { PaginationLabels, PaginationSize } from '@mintplayer/ui-core/pagination';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAMA;;;;;;AAMG;MAOU,qBAAqB,CAAA;AAevB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAjBS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAG9C,IAAA,CAAA,SAAS,GAAG,YAAY,EAAE;QAEpC,IAAA,CAAA,WAAW,GAAG,KAAK,CAAkC,EAAE;wFAAC;QACxD,IAAA,CAAA,kBAAkB,GAAG,KAAK,CAAyC,CAAC;+FAAC;AACrE,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAA6C,CAAC,qFAAI,SAAS,EAAE,CAAC,CAAU,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAAsC,GAAG;QAC1L,IAAA,CAAA,UAAU,GAAG,KAAK,CAA0C,IAAI,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAClG,IAAA,CAAA,IAAI,GAAG,KAAK,CAA2B,QAAQ;iFAAC;QAChD,IAAA,CAAA,MAAM,GAAG,KAAK,CAA6B,IAAI;mFAAC;QAChD,IAAA,CAAA,OAAO,GAAG,KAAK,CAA8B,IAAI;oFAAC;QAElD,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,EA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jD;;ACAA;;ACAA;;AAEG;;;;"}
@@ -10,7 +10,7 @@ class BsParallaxComponent {
10
10
  constructor() {
11
11
  /** The host element. */
12
12
  this.elementRef = inject(ElementRef);
13
- this.height = input(150, { ...(ngDevMode ? { debugName: "height" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
13
+ this.height = input(150, { ...(ngDevMode ? { debugName: "height" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 150 : numberAttribute(v)) });
14
14
  this.image = input(null, /* @ts-ignore */
15
15
  ...(ngDevMode ? [{ debugName: "image" }] : /* istanbul ignore next */ []));
16
16
  this.#core = useCore(parallaxCore, { inputs: () => ({ height: this.height(), image: this.image() }), idPrefix: 'bs-parallax', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'parallax' }) });
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-parallax.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/parallax/src/generated/parallax.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/parallax/src/generated/parallax.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/parallax/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/parallax/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/parallax/mintplayer-ng-bootstrap-parallax.ts"],"sourcesContent":["// GENERATED from the parallax manifest (parallax) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input, numberAttribute } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { parallaxCore, type ParallaxInputs, parallaxScopedStyles } from '@mintplayer/ui-core/parallax';\n\n/** A decorative band `height` pixels tall whose background `image` stays fixed while the page scrolls (it scrolls along under reduced motion). */\n@Component({\n selector: 'bs-parallax',\n templateUrl: './parallax.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsParallaxComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly height = input<ParallaxInputs['height'], unknown>(150, { transform: (v: unknown) => numberAttribute(v) as ParallaxInputs['height'] });\n readonly image = input<ParallaxInputs['image']>(null);\n\n readonly #core = useCore(parallaxCore, { inputs: () => ({ height: this.height(), image: this.image() }), idPrefix: 'bs-parallax', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'parallax' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('parallax', parallaxScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/parallax/src/templates/parallax.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"parallax\" [mpProps]=\"p_view.band\" [style]=\"p_view.bandStyle\"></div>\n","// GENERATED from the parallax manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsParallaxComponent } from './parallax.component.generated';\n","// Generated from @mintplayer/ui-core/parallax (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AAKA;MAOa,mBAAmB,CAAA;AAOrB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AATS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;AAExD,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAoC,GAAG,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,CAAA,EAAI,SAAS,EAAE,CAAC,CAAU,KAAK,eAAe,CAAC,CAAC,CAA6B,GAAG;QACrI,IAAA,CAAA,KAAK,GAAG,KAAK,CAA0B,IAAI;kFAAC;QAE5C,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,KAAK,EA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ACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,sQAAA,EAAA;;;AEVjD;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-parallax.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/parallax/src/generated/parallax.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/parallax/src/generated/parallax.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/parallax/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/parallax/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/parallax/mintplayer-ng-bootstrap-parallax.ts"],"sourcesContent":["// GENERATED from the parallax manifest (parallax) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input, numberAttribute } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { parallaxCore, type ParallaxInputs, parallaxScopedStyles } from '@mintplayer/ui-core/parallax';\n\n/** A decorative band `height` pixels tall whose background `image` stays fixed while the page scrolls (it scrolls along under reduced motion). */\n@Component({\n selector: 'bs-parallax',\n templateUrl: './parallax.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsParallaxComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly height = input<ParallaxInputs['height'], unknown>(150, { transform: (v: unknown) => (v == null || v === '' ? 150 : numberAttribute(v)) as ParallaxInputs['height'] });\n readonly image = input<ParallaxInputs['image']>(null);\n\n readonly #core = useCore(parallaxCore, { inputs: () => ({ height: this.height(), image: this.image() }), idPrefix: 'bs-parallax', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'parallax' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('parallax', parallaxScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/parallax/src/templates/parallax.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"parallax\" [mpProps]=\"p_view.band\" [style]=\"p_view.bandStyle\"></div>\n","// GENERATED from the parallax manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsParallaxComponent } from './parallax.component.generated';\n","// Generated from @mintplayer/ui-core/parallax (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AAKA;MAOa,mBAAmB,CAAA;AAOrB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AATS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;AAExD,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAoC,GAAG,8EAAI,SAAS,EAAE,CAAC,CAAU,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,eAAe,CAAC,CAAC,CAAC,CAA6B,GAAG;QACrK,IAAA,CAAA,KAAK,GAAG,KAAK,CAA0B,IAAI;kFAAC;QAE5C,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC;;AAEtL,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK;AAGzC,QAAA,eAAe,CAAC,UAAU,EAAE,oBAAoB,CAAC;IACnD;8GAbW,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZhC,sQAGA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDMY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WAEd,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,sQAAA,EAAA;;;AEVjD;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-phone-input.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/phone-input/src/value-accessor/phone-input-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/phone-input/src/phone-input.angular.ts","../../../../libs/mintplayer-ng-bootstrap/phone-input/src/generated/phone-input.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/phone-input/src/generated/phone-input.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/phone-input/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/phone-input/mintplayer-ng-bootstrap-phone-input.ts"],"sourcesContent":["import { DestroyRef, Directive, ElementRef, Injector, OnInit, forwardRef, inject, signal } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { BsPhoneInputComponent } from '../generated';\n\n/**\n * The `ControlValueAccessor` of `bs-phone-input` (a host directive of the\n * generated component, see `phone-input.angular.ts`). A bound form control\n * drives the E.164 value through `viewValue`; every change the user makes\n * (typing, paste, a country pick, rules that load and re-derive the E.164)\n * reaches the form through the component's `value` model, which a form write\n * never touches.\n */\n@Directive({\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BsPhoneInputValueAccessor), multi: true }],\n host: {\n '(focusout)': 'onTouched()',\n },\n})\nexport class BsPhoneInputValueAccessor implements ControlValueAccessor, OnInit {\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n\n /** A form control drives the value: its `viewValue` wins over the `value` input. */\n readonly bound = signal(false);\n readonly viewValue = signal<string | null>(null);\n readonly disabled = signal(false);\n\n private onChange: (value: string | null) => void = () => undefined;\n onTouched: () => void = () => undefined;\n\n ngOnInit(): void {\n // The component is created after its host directives, so it is looked up here.\n const sub = this.injector.get(BsPhoneInputComponent).value.subscribe((value) => {\n if (!this.bound() || value === this.viewValue()) return;\n this.viewValue.set(value);\n this.onChange(value);\n });\n this.destroyRef.onDestroy(() => sub.unsubscribe());\n }\n\n registerOnChange(fn: (value: string | null) => void): void {\n this.bound.set(true);\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n writeValue(value: string | null | undefined): void {\n this.viewValue.set(value || null);\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled.set(isDisabled);\n }\n}\n\n/**\n * `focus()` on the `bs-phone-input` host moves into the number field, not the\n * country picker (D13), so a directive that focuses the element it sits on\n * reaches the field.\n */\n@Directive({})\nexport class BsPhoneInputFocusDirective {\n constructor() {\n const host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n const tel = () => host.querySelector<HTMLInputElement>('input[type=tel]');\n Object.defineProperty(host, 'focus', {\n // Before the first render there is no input yet; try again once it exists.\n value: (options?: FocusOptions) => {\n const input = tel();\n if (input) input.focus(options);\n else queueMicrotask(() => tel()?.focus(options));\n },\n configurable: true,\n writable: true,\n });\n }\n}\n","import { computed, inject } from '@angular/core';\nimport { BsControlValidityDirective } from '@mintplayer/ng-bootstrap/a11y/forms';\nimport type { PhoneInputInputs } from '@mintplayer/ui-core/phone-input';\nimport { BsPhoneInputFocusDirective, BsPhoneInputValueAccessor } from './value-accessor/phone-input-value-accessor';\n\n/*\n * The Angular extension of the generated `bs-phone-input` (PRD #437 D10 escape\n * hatch): Angular forms, and host focus. A bound form control drives the value\n * and the disabled state, and its validity reaches the number field's ARIA and\n * message.\n */\n\nexport const hostDirectives = [\n BsPhoneInputValueAccessor,\n BsPhoneInputFocusDirective,\n { directive: BsControlValidityDirective, inputs: ['errorMessages'] },\n];\n\nexport function extendInputs(inputs: () => PhoneInputInputs): () => PhoneInputInputs {\n const accessor = inject(BsPhoneInputValueAccessor, { self: true });\n const validity = inject(BsControlValidityDirective, { self: true });\n return computed<PhoneInputInputs>(() => {\n const value = inputs();\n return {\n ...value,\n value: accessor.bound() ? accessor.viewValue() : value.value,\n disabled: value.disabled || accessor.disabled(),\n invalid: value.invalid || validity.invalid(),\n required: value.required || validity.required(),\n errorText: value.errorText ?? validity.errorText(),\n };\n });\n}\n","// GENERATED from the phone-input manifest (phone-input) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, output } from '@angular/core';\nimport { MpPropsDirective, MpTrustedHtmlPipe, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type PhoneChangeEventDetail, phoneInputCore, type PhoneInputInputs, type PhoneInputMethods, phoneInputScopedStyles } from '@mintplayer/ui-core/phone-input';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../phone-input.angular';\n\n/**\n * A phone-number field (#437): country picker with flags, dial code, and a number input that formats as\n * the user types. `value` is two-way E.164 (`+32470123456`); `country` is two-way too.\n *\n * With JavaScript off it is a plain country select and tel input; the typed text submits under `name`.\n * An `aria-label` on the component names the number input; `countryLabel` names the picker.\n */\n@Component({\n selector: 'bs-phone-input',\n templateUrl: './phone-input.view.generated.html',\n imports: [MpPropsDirective, MpTrustedHtmlPipe],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsPhoneInputComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly value = model<PhoneInputInputs['value']>(null);\n readonly country = model<PhoneInputInputs['country']>(null);\n readonly defaultCountry = input<PhoneInputInputs['defaultCountry']>();\n readonly locale = input<PhoneInputInputs['locale']>();\n readonly preferredCountries = input<PhoneInputInputs['preferredCountries']>(null);\n readonly allowedCountries = input<PhoneInputInputs['allowedCountries']>(null);\n readonly disabled = input<PhoneInputInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly required = input<PhoneInputInputs['required'], unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<PhoneInputInputs['invalid'], unknown>(false, { transform: booleanAttribute });\n readonly errorText = input<PhoneInputInputs['errorText']>();\n readonly placeholder = input<PhoneInputInputs['placeholder']>();\n readonly autocomplete = input<PhoneInputInputs['autocomplete']>('tel-national');\n readonly name = input<PhoneInputInputs['name']>();\n readonly inputLabel = input<PhoneInputInputs['inputLabel']>();\n readonly countryLabel = input<PhoneInputInputs['countryLabel']>();\n /** Every edit, pick and rules load: the value with its parts and validity. */\n readonly phoneChange = output<PhoneChangeEventDetail>();\n\n readonly #core = useCore(phoneInputCore, { inputs: ext_extendInputs(() => ({ value: this.value(), country: this.country(), defaultCountry: this.defaultCountry(), locale: this.locale(), preferredCountries: this.preferredCountries(), allowedCountries: this.allowedCountries(), disabled: this.disabled(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), placeholder: this.placeholder(), autocomplete: this.autocomplete(), name: this.name(), inputLabel: this.inputLabel(), countryLabel: this.countryLabel() })), idPrefix: 'bs-phone-input', outputs: { phoneChange: this.phoneChange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'phone-input' }), models: { value: this.value, country: this.country } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('phone-input', phoneInputScopedStyles);\n }\n\n /** Moves focus into the number field, not the country picker. */\n focusInput(...args: Parameters<PhoneInputMethods['focusInput']>): ReturnType<PhoneInputMethods['focusInput']> {\n return this.#core.call('focusInput', args) as ReturnType<PhoneInputMethods['focusInput']>;\n }\n\n /** Settles once the flags and the rules in flight have been applied. */\n whenReady(...args: Parameters<PhoneInputMethods['whenReady']>): ReturnType<PhoneInputMethods['whenReady']> {\n return this.#core.call('whenReady', args) as ReturnType<PhoneInputMethods['whenReady']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/phone-input/src/templates/phone-input.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"phone-input\" [mpProps]=\"p_view.group\">\n <select data-mps=\"phone-input\" [mpProps]=\"p_view.select\">\n @if (p_view.rich) {\n <button data-mps=\"phone-input\" type=\"button\">\n <selectedcontent></selectedcontent>\n </button>\n }\n @for (o of p_view.options; track o.key) {\n <option data-mps=\"phone-input\" [mpProps]=\"o.bag\">\n @if (p_view.rich) {\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.flagBox\" [innerHTML]=\"o.flag | mpTrustedHtml\"></span>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.richLabel\">\n {{ o.name }}\n </span>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.listOnly\">\n {{ o.dial }}\n </span>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.closedOnly\">\n {{ o.iso }}\n </span>\n } @else {\n {{ o.label }}\n }\n </option>\n }\n </select>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.addon\">\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.flag\" [innerHTML]=\"p_view.flagHtml | mpTrustedHtml\"></span>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.dial\">\n {{ p_view.dialText }}\n </span>\n </span>\n <input data-mps=\"phone-input\" [mpProps]=\"p_view.input\" [mpHostAttrs]=\"hostAttrs\">\n</div>\n@if (p_view.hidden) {\n <input data-mps=\"phone-input\" [mpProps]=\"p_view.hidden\">\n}\n@if (p_view.showFeedback) {\n <div data-mps=\"phone-input\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n","// GENERATED from the phone-input manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsPhoneInputComponent } from './phone-input.component.generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","i1.BsPhoneInputValueAccessor","i1.BsPhoneInputFocusDirective","ext_hostDirectives"],"mappings":";;;;;;;;;AAIA;;;;;;;AAOG;MAOU,yBAAyB,CAAA;AANtC,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;;QAGvC,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,KAAK;kFAAC;QACrB,IAAA,CAAA,SAAS,GAAG,MAAM,CAAgB,IAAI;sFAAC;QACvC,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,KAAK;qFAAC;AAEzB,QAAA,IAAA,CAAA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,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,KAAA,EAAA,aAAA,EAAA,OAAA,EAAA,eAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAAC,yBAAA,EAAA,EAAA,EAAA,SAAA,EAAAC,0BAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,eAAA,EAAA,eAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECrBlC,yvDA4CA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED3BY,gBAAgB,mGAAE,iBAAiB,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIlC,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;+BACE,gBAAgB,EAAA,OAAA,EAEjB,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,EAAA,eAAA,EAC7B,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/BC,cAAkB,EAAA,QAAA,EAAA,yvDAAA,EAAA;;;AEnBpC;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-phone-input.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/phone-input/src/value-accessor/phone-input-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/phone-input/src/phone-input.angular.ts","../../../../libs/mintplayer-ng-bootstrap/phone-input/src/generated/phone-input.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/phone-input/src/generated/phone-input.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/phone-input/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/phone-input/mintplayer-ng-bootstrap-phone-input.ts"],"sourcesContent":["import { DestroyRef, Directive, ElementRef, Injector, OnInit, forwardRef, inject, signal } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { BsPhoneInputComponent } from '../generated';\n\n/**\n * The `ControlValueAccessor` of `bs-phone-input` (a host directive of the\n * generated component, see `phone-input.angular.ts`). A bound form control\n * drives the E.164 value through `viewValue`; every change the user makes\n * (typing, paste, a country pick, rules that load and re-derive the E.164)\n * reaches the form through the component's `value` model, which a form write\n * never touches.\n */\n@Directive({\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BsPhoneInputValueAccessor), multi: true }],\n host: {\n '(focusout)': 'onTouched()',\n },\n})\nexport class BsPhoneInputValueAccessor implements ControlValueAccessor, OnInit {\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n\n /** A form control drives the value: its `viewValue` wins over the `value` input. */\n readonly bound = signal(false);\n readonly viewValue = signal<string | null>(null);\n readonly disabled = signal(false);\n\n private onChange: (value: string | null) => void = () => undefined;\n onTouched: () => void = () => undefined;\n\n ngOnInit(): void {\n // The component is created after its host directives, so it is looked up here.\n const sub = this.injector.get(BsPhoneInputComponent).value.subscribe((value) => {\n if (!this.bound() || value === this.viewValue()) return;\n this.viewValue.set(value);\n this.onChange(value);\n });\n this.destroyRef.onDestroy(() => sub.unsubscribe());\n }\n\n registerOnChange(fn: (value: string | null) => void): void {\n this.bound.set(true);\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n writeValue(value: string | null | undefined): void {\n this.viewValue.set(value || null);\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled.set(isDisabled);\n }\n}\n\n/**\n * `focus()` on the `bs-phone-input` host moves into the number field, not the\n * country picker (D13), so a directive that focuses the element it sits on\n * reaches the field.\n */\n@Directive({})\nexport class BsPhoneInputFocusDirective {\n constructor() {\n const host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n const tel = () => host.querySelector<HTMLInputElement>('input[type=tel]');\n Object.defineProperty(host, 'focus', {\n // Before the first render there is no input yet; try again once it exists.\n value: (options?: FocusOptions) => {\n const input = tel();\n if (input) input.focus(options);\n else queueMicrotask(() => tel()?.focus(options));\n },\n configurable: true,\n writable: true,\n });\n }\n}\n","import { computed, inject } from '@angular/core';\nimport { BsControlValidityDirective } from '@mintplayer/ng-bootstrap/a11y/forms';\nimport type { PhoneInputInputs } from '@mintplayer/ui-core/phone-input';\nimport { BsPhoneInputFocusDirective, BsPhoneInputValueAccessor } from './value-accessor/phone-input-value-accessor';\n\n/*\n * The Angular extension of the generated `bs-phone-input` (PRD #437 D10 escape\n * hatch): Angular forms, and host focus. A bound form control drives the value\n * and the disabled state, and its validity reaches the number field's ARIA and\n * message.\n */\n\nexport const hostDirectives = [\n BsPhoneInputValueAccessor,\n BsPhoneInputFocusDirective,\n { directive: BsControlValidityDirective, inputs: ['errorMessages'] },\n];\n\nexport function extendInputs(inputs: () => PhoneInputInputs): () => PhoneInputInputs {\n const accessor = inject(BsPhoneInputValueAccessor, { self: true });\n const validity = inject(BsControlValidityDirective, { self: true });\n return computed<PhoneInputInputs>(() => {\n const value = inputs();\n return {\n ...value,\n value: accessor.bound() ? accessor.viewValue() : value.value,\n disabled: value.disabled || accessor.disabled(),\n invalid: value.invalid || validity.invalid(),\n required: value.required || validity.required(),\n errorText: value.errorText ?? validity.errorText(),\n };\n });\n}\n","// GENERATED from the phone-input manifest (phone-input) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, output } from '@angular/core';\nimport { MpPropsDirective, MpTrustedHtmlPipe, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type PhoneChangeEventDetail, phoneInputCore, type PhoneInputInputs, type PhoneInputMethods, phoneInputScopedStyles } from '@mintplayer/ui-core/phone-input';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../phone-input.angular';\n\n/**\n * A phone-number field (#437): country picker with flags, dial code, and a number input that formats as\n * the user types. `value` is two-way E.164 (`+32470123456`); `country` is two-way too.\n *\n * With JavaScript off it is a plain country select and tel input; the typed text submits under `name`.\n * An `aria-label` on the component names the number input; `countryLabel` names the picker.\n */\n@Component({\n selector: 'bs-phone-input',\n templateUrl: './phone-input.view.generated.html',\n imports: [MpPropsDirective, MpTrustedHtmlPipe],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsPhoneInputComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly value = model<PhoneInputInputs['value']>(null);\n readonly country = model<PhoneInputInputs['country']>(null);\n readonly defaultCountry = input<PhoneInputInputs['defaultCountry']>();\n readonly locale = input<PhoneInputInputs['locale']>();\n readonly preferredCountries = input<PhoneInputInputs['preferredCountries']>(null);\n readonly allowedCountries = input<PhoneInputInputs['allowedCountries']>(null);\n readonly disabled = input<PhoneInputInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly required = input<PhoneInputInputs['required'], unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<PhoneInputInputs['invalid'], unknown>(false, { transform: booleanAttribute });\n readonly errorText = input<PhoneInputInputs['errorText']>();\n readonly placeholder = input<PhoneInputInputs['placeholder']>();\n readonly autocomplete = input<PhoneInputInputs['autocomplete']>('tel-national');\n readonly name = input<PhoneInputInputs['name']>();\n readonly inputLabel = input<PhoneInputInputs['inputLabel']>();\n readonly countryLabel = input<PhoneInputInputs['countryLabel']>();\n /** Every edit, pick and rules load: the value with its parts and validity. */\n readonly phoneChange = output<PhoneChangeEventDetail>();\n\n readonly #core = useCore(phoneInputCore, { inputs: ext_extendInputs(() => ({ value: this.value(), country: this.country(), defaultCountry: this.defaultCountry(), locale: this.locale(), preferredCountries: this.preferredCountries(), allowedCountries: this.allowedCountries(), disabled: this.disabled(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), placeholder: this.placeholder(), autocomplete: this.autocomplete(), name: this.name(), inputLabel: this.inputLabel(), countryLabel: this.countryLabel() })), idPrefix: 'bs-phone-input', outputs: { phoneChange: this.phoneChange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'phone-input' }), models: {value: this.value, country: this.country } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('phone-input', phoneInputScopedStyles);\n }\n\n /** Moves focus into the number field, not the country picker. */\n focusInput(...args: Parameters<PhoneInputMethods['focusInput']>): ReturnType<PhoneInputMethods['focusInput']> {\n return this.#core.call('focusInput', args) as ReturnType<PhoneInputMethods['focusInput']>;\n }\n\n /** Settles once the flags and the rules in flight have been applied. */\n whenReady(...args: Parameters<PhoneInputMethods['whenReady']>): ReturnType<PhoneInputMethods['whenReady']> {\n return this.#core.call('whenReady', args) as ReturnType<PhoneInputMethods['whenReady']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/phone-input/src/templates/phone-input.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"phone-input\" [mpProps]=\"p_view.group\">\n <select data-mps=\"phone-input\" [mpProps]=\"p_view.select\">\n @if (p_view.rich) {\n <button data-mps=\"phone-input\" type=\"button\">\n <selectedcontent></selectedcontent>\n </button>\n }\n @for (o of p_view.options; track o.key) {\n <option data-mps=\"phone-input\" [mpProps]=\"o.bag\">\n @if (p_view.rich) {\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.flagBox\" [innerHTML]=\"o.flag | mpTrustedHtml\"></span>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.richLabel\">\n {{ o.name }}\n </span>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.listOnly\">\n {{ o.dial }}\n </span>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.closedOnly\">\n {{ o.iso }}\n </span>\n } @else {\n {{ o.label }}\n }\n </option>\n }\n </select>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.addon\">\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.flag\" [innerHTML]=\"p_view.flagHtml | mpTrustedHtml\"></span>\n <span data-mps=\"phone-input\" [mpProps]=\"p_view.dial\">\n {{ p_view.dialText }}\n </span>\n </span>\n <input data-mps=\"phone-input\" [mpProps]=\"p_view.input\" [mpHostAttrs]=\"hostAttrs\">\n</div>\n@if (p_view.hidden) {\n <input data-mps=\"phone-input\" [mpProps]=\"p_view.hidden\">\n}\n@if (p_view.showFeedback) {\n <div data-mps=\"phone-input\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n","// GENERATED from the phone-input manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsPhoneInputComponent } from './phone-input.component.generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","i1.BsPhoneInputValueAccessor","i1.BsPhoneInputFocusDirective","ext_hostDirectives"],"mappings":";;;;;;;;;AAIA;;;;;;;AAOG;MAOU,yBAAyB,CAAA;AANtC,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;;QAGvC,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,KAAK;kFAAC;QACrB,IAAA,CAAA,SAAS,GAAG,MAAM,CAAgB,IAAI;sFAAC;QACvC,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,KAAK;qFAAC;AAEzB,QAAA,IAAA,CAAA,QAAQ,GAAmC,MAAM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AAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,KAAA,EAAA,aAAA,EAAA,OAAA,EAAA,eAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAAC,yBAAA,EAAA,EAAA,EAAA,SAAA,EAAAC,0BAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,eAAA,EAAA,eAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECrBlC,yvDA4CA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED3BY,gBAAgB,mGAAE,iBAAiB,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIlC,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;+BACE,gBAAgB,EAAA,OAAA,EAEjB,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,EAAA,eAAA,EAC7B,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/BC,cAAkB,EAAA,QAAA,EAAA,yvDAAA,EAAA;;;AEnBpC;;ACAA;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-playlist-toggler.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/src/generated/playlist-toggler.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/src/generated/playlist-toggler.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/mintplayer-ng-bootstrap-playlist-toggler.ts"],"sourcesContent":["// GENERATED from the playlist-toggler manifest (playlist-toggler) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { playlistTogglerCore, type PlaylistTogglerInputs, playlistTogglerScopedStyles } from '@mintplayer/ui-core/playlist-toggler';\n\n/**\n * A button whose bars show a play arrow while closed and a cross while `open` (two-way). `controls`\n * names the playlist it shows and hides; with `toggleOnClick` off it only reports state its owner drives.\n */\n@Component({\n selector: 'bs-playlist-toggler',\n templateUrl: './playlist-toggler.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsPlaylistTogglerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly open = model<PlaylistTogglerInputs['open']>(false);\n readonly toggleOnClick = input<PlaylistTogglerInputs['toggleOnClick'], unknown>(true, { transform: booleanAttribute });\n readonly label = input<PlaylistTogglerInputs['label']>('Toggle playlist');\n readonly controls = input<PlaylistTogglerInputs['controls']>(null);\n\n readonly #core = useCore(playlistTogglerCore, { inputs: () => ({ open: this.open(), toggleOnClick: this.toggleOnClick(), label: this.label(), controls: this.controls() }), idPrefix: 'bs-playlist-toggler', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'playlist-toggler' }), models: { open: this.open } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('playlist-toggler', playlistTogglerScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/playlist-toggler/src/templates/playlist-toggler.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<button data-mps=\"playlist-toggler\" [mpProps]=\"p_view.button\" [mpHostAttrs]=\"hostAttrs\">\n <span data-mps=\"playlist-toggler\" [mpProps]=\"p_view.line\"></span>\n <span data-mps=\"playlist-toggler\" [mpProps]=\"p_view.line\"></span>\n <span data-mps=\"playlist-toggler\" [mpProps]=\"p_view.line\"></span>\n</button>\n","// GENERATED from the playlist-toggler manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsPlaylistTogglerComponent } from './playlist-toggler.component.generated';\n","// Generated from @mintplayer/ui-core/playlist-toggler (PRD #437 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AAKA;;;AAGG;MAOU,0BAA0B,CAAA;AAY5B,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAdS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAG9C,IAAA,CAAA,SAAS,GAAG,YAAY,EAAE;QAEpC,IAAA,CAAA,IAAI,GAAG,KAAK,CAAgC,KAAK;iFAAC;QAClD,IAAA,CAAA,aAAa,GAAG,KAAK,CAAkD,IAAI,qFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC7G,IAAA,CAAA,KAAK,GAAG,KAAK,CAAiC,iBAAiB;kFAAC;QAChE,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAoC,IAAI;qFAAC;AAEzD,QAAA,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,qBAAqB,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE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AAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBANtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,WAEtB,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kgBAAA,EAAA;;;AEbjD;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-playlist-toggler.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/src/generated/playlist-toggler.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/src/generated/playlist-toggler.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/playlist-toggler/mintplayer-ng-bootstrap-playlist-toggler.ts"],"sourcesContent":["// GENERATED from the playlist-toggler manifest (playlist-toggler) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { playlistTogglerCore, type PlaylistTogglerInputs, playlistTogglerScopedStyles } from '@mintplayer/ui-core/playlist-toggler';\n\n/**\n * A button whose bars show a play arrow while closed and a cross while `open` (two-way). `controls`\n * names the playlist it shows and hides; with `toggleOnClick` off it only reports state its owner drives.\n */\n@Component({\n selector: 'bs-playlist-toggler',\n templateUrl: './playlist-toggler.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsPlaylistTogglerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly open = model<PlaylistTogglerInputs['open']>(false);\n readonly toggleOnClick = input<PlaylistTogglerInputs['toggleOnClick'], unknown>(true, { transform: booleanAttribute });\n readonly label = input<PlaylistTogglerInputs['label']>('Toggle playlist');\n readonly controls = input<PlaylistTogglerInputs['controls']>(null);\n\n readonly #core = useCore(playlistTogglerCore, { inputs: () => ({ open: this.open(), toggleOnClick: this.toggleOnClick(), label: this.label(), controls: this.controls() }), idPrefix: 'bs-playlist-toggler', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'playlist-toggler' }), models: {open: this.open } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('playlist-toggler', playlistTogglerScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/playlist-toggler/src/templates/playlist-toggler.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<button data-mps=\"playlist-toggler\" [mpProps]=\"p_view.button\" [mpHostAttrs]=\"hostAttrs\">\n <span data-mps=\"playlist-toggler\" [mpProps]=\"p_view.line\"></span>\n <span data-mps=\"playlist-toggler\" [mpProps]=\"p_view.line\"></span>\n <span data-mps=\"playlist-toggler\" [mpProps]=\"p_view.line\"></span>\n</button>\n","// GENERATED from the playlist-toggler manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsPlaylistTogglerComponent } from './playlist-toggler.component.generated';\n","// Generated from @mintplayer/ui-core/playlist-toggler (PRD #437 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AAKA;;;AAGG;MAOU,0BAA0B,CAAA;AAY5B,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAdS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAG9C,IAAA,CAAA,S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A,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,IAAA,EAAA,YAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfvC,kgBAOA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDKY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBANtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,WAEtB,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kgBAAA,EAAA;;;AEbjD;;ACAA;;ACAA;;AAEG;;;;"}
@@ -40,9 +40,9 @@ class BsProgressBarComponent {
40
40
  constructor() {
41
41
  /** The host element. */
42
42
  this.elementRef = inject(ElementRef);
43
- this.minimum = input(0, { ...(ngDevMode ? { debugName: "minimum" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
44
- this.maximum = input(100, { ...(ngDevMode ? { debugName: "maximum" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
45
- this.value = input(0, { ...(ngDevMode ? { debugName: "value" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
43
+ this.minimum = input(0, { ...(ngDevMode ? { debugName: "minimum" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 0 : numberAttribute(v)) });
44
+ this.maximum = input(100, { ...(ngDevMode ? { debugName: "maximum" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 100 : numberAttribute(v)) });
45
+ this.value = input(0, { ...(ngDevMode ? { debugName: "value" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 0 : numberAttribute(v)) });
46
46
  this.color = input('primary', /* @ts-ignore */
47
47
  ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
48
48
  this.striped = input(false, { ...(ngDevMode ? { debugName: "striped" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
@@ -51,7 +51,7 @@ class BsProgressBarComponent {
51
51
  ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
52
52
  this.valueText = input(null, /* @ts-ignore */
53
53
  ...(ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []));
54
- this.#core = useCore(progressBarCore, { inputs: () => ({ minimum: this.minimum(), maximum: this.maximum(), value: this.value(), color: this.color(), striped: this.striped(), animated: this.animated(), label: this.label(), valueText: this.valueText() }), idPrefix: 'bs-progress-bar' });
54
+ this.#core = useCore(progressBarCore, { inputs: () => ({ minimum: this.minimum(), maximum: this.maximum(), value: this.value(), color: this.color(), striped: this.striped(), animated: this.animated(), label: this.label(), valueText: this.valueText() }), idPrefix: 'bs-progress-bar', hostScope: 'progress' });
55
55
  /** The template's props. */
56
56
  this.props = this.#core.props;
57
57
  useScopedStyles(bootstrapProgress.key, bootstrapProgress.css, { order: bootstrapProgress.order });
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-progress-bar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/progress.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/progress.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/progress-bar.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/progress-bar.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/progress-bar/mintplayer-ng-bootstrap-progress-bar.ts"],"sourcesContent":["// GENERATED from the progress-bar manifest (progress) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { progressCore, type ProgressInputs, progressScopedStyles } from '@mintplayer/ui-core/progress-bar';\nimport { bootstrapProgress } from '@mintplayer/ui-core/bootstrap/progress';\n\n/**\n * Bootstrap's progress track around one or more `progress-bar`s. `indeterminate` shows an animated\n * bar of unknown progress, named by `label`, instead.\n */\n@Component({\n selector: 'bs-progress',\n templateUrl: './progress.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsProgressComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly height = input<ProgressInputs['height']>(null);\n readonly indeterminate = input<ProgressInputs['indeterminate'], unknown>(false, { transform: booleanAttribute });\n readonly label = input<ProgressInputs['label']>('Loading');\n\n readonly #core = useCore(progressCore, { inputs: () => ({ height: this.height(), indeterminate: this.indeterminate(), label: this.label() }), idPrefix: 'bs-progress', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'progress' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapProgress.key, bootstrapProgress.css, { order: bootstrapProgress.order }); useScopedStyles('progress', progressScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/progress-bar/src/templates/progress.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"progress\" [mpProps]=\"p_view.track\" [style]=\"p_view.trackStyle\">\n @if (p_view.indeterminate) {\n <div data-mps=\"progress\" [mpProps]=\"p_view.indeterminate\"></div>\n } @else {\n <ng-content />\n }\n</div>\n","// GENERATED from the progress-bar manifest (progress-bar) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, numberAttribute } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { progressBarCore, type ProgressBarInputs, progressScopedStyles } from '@mintplayer/ui-core/progress-bar';\nimport { bootstrapProgress } from '@mintplayer/ui-core/bootstrap/progress';\n\n/** One bar: a `role=\"progressbar\"` named by `label`, its width the share of `value` between `minimum` and `maximum`. */\n@Component({\n selector: 'bs-progress-bar',\n templateUrl: './progress-bar.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsProgressBarComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly minimum = input<ProgressBarInputs['minimum'], unknown>(0, { transform: (v: unknown) => numberAttribute(v) as ProgressBarInputs['minimum'] });\n readonly maximum = input<ProgressBarInputs['maximum'], unknown>(100, { transform: (v: unknown) => numberAttribute(v) as ProgressBarInputs['maximum'] });\n readonly value = input<ProgressBarInputs['value'], unknown>(0, { transform: (v: unknown) => numberAttribute(v) as ProgressBarInputs['value'] });\n readonly color = input<ProgressBarInputs['color']>('primary');\n readonly striped = input<ProgressBarInputs['striped'], unknown>(false, { transform: booleanAttribute });\n readonly animated = input<ProgressBarInputs['animated'], unknown>(false, { transform: booleanAttribute });\n readonly label = input<ProgressBarInputs['label']>('Progress');\n readonly valueText = input<ProgressBarInputs['valueText']>(null);\n\n readonly #core = useCore(progressBarCore, { inputs: () => ({ minimum: this.minimum(), maximum: this.maximum(), value: this.value(), color: this.color(), striped: this.striped(), animated: this.animated(), label: this.label(), valueText: this.valueText() }), idPrefix: 'bs-progress-bar' });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapProgress.key, bootstrapProgress.css, { order: bootstrapProgress.order }); useScopedStyles('progress', progressScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/progress-bar/src/templates/progress-bar.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"progress\" [mpProps]=\"p_view.bar\" #root>\n <ng-content />\n</div>\n","// GENERATED from the progress-bar manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsProgressComponent } from './progress.component.generated';\nexport { BsProgressBarComponent } from './progress-bar.component.generated';\n","// Generated from @mintplayer/ui-core/progress-bar (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAMA;;;AAGG;MAOU,mBAAmB,CAAA;AAQrB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAVS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,MAAM,GAAG,KAAK,CAA2B,IAAI;mFAAC;QAC9C,IAAA,CAAA,aAAa,GAAG,KAAK,CAA2C,KAAK,qFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QACvG,IAAA,CAAA,KAAK,GAAG,KAAK,CAA0B,SAAS;kFAAC;AAEjD,QAAA,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,aAAa,EAAE,IAAI,CAAC,aAAa,E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A,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,WAElB,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,0QAAA,EAAA;;;AEXjD;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-progress-bar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/progress.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/progress.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/progress-bar.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/progress-bar.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/progress-bar/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/progress-bar/mintplayer-ng-bootstrap-progress-bar.ts"],"sourcesContent":["// GENERATED from the progress-bar manifest (progress) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { progressCore, type ProgressInputs, progressScopedStyles } from '@mintplayer/ui-core/progress-bar';\nimport { bootstrapProgress } from '@mintplayer/ui-core/bootstrap/progress';\n\n/**\n * Bootstrap's progress track around one or more `progress-bar`s. `indeterminate` shows an animated\n * bar of unknown progress, named by `label`, instead.\n */\n@Component({\n selector: 'bs-progress',\n templateUrl: './progress.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsProgressComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly height = input<ProgressInputs['height']>(null);\n readonly indeterminate = input<ProgressInputs['indeterminate'], unknown>(false, { transform: booleanAttribute });\n readonly label = input<ProgressInputs['label']>('Loading');\n\n readonly #core = useCore(progressCore, { inputs: () => ({ height: this.height(), indeterminate: this.indeterminate(), label: this.label() }), idPrefix: 'bs-progress', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'progress' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapProgress.key, bootstrapProgress.css, { order: bootstrapProgress.order }); useScopedStyles('progress', progressScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/progress-bar/src/templates/progress.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"progress\" [mpProps]=\"p_view.track\" [style]=\"p_view.trackStyle\">\n @if (p_view.indeterminate) {\n <div data-mps=\"progress\" [mpProps]=\"p_view.indeterminate\"></div>\n } @else {\n <ng-content />\n }\n</div>\n","// GENERATED from the progress-bar manifest (progress-bar) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, numberAttribute } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { progressBarCore, type ProgressBarInputs, progressScopedStyles } from '@mintplayer/ui-core/progress-bar';\nimport { bootstrapProgress } from '@mintplayer/ui-core/bootstrap/progress';\n\n/** One bar: a `role=\"progressbar\"` named by `label`, its width the share of `value` between `minimum` and `maximum`. */\n@Component({\n selector: 'bs-progress-bar',\n templateUrl: './progress-bar.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsProgressBarComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly minimum = input<ProgressBarInputs['minimum'], unknown>(0, { transform: (v: unknown) => (v == null || v === '' ? 0 : numberAttribute(v)) as ProgressBarInputs['minimum'] });\n readonly maximum = input<ProgressBarInputs['maximum'], unknown>(100, { transform: (v: unknown) => (v == null || v === '' ? 100 : numberAttribute(v)) as ProgressBarInputs['maximum'] });\n readonly value = input<ProgressBarInputs['value'], unknown>(0, { transform: (v: unknown) => (v == null || v === '' ? 0 : numberAttribute(v)) as ProgressBarInputs['value'] });\n readonly color = input<ProgressBarInputs['color']>('primary');\n readonly striped = input<ProgressBarInputs['striped'], unknown>(false, { transform: booleanAttribute });\n readonly animated = input<ProgressBarInputs['animated'], unknown>(false, { transform: booleanAttribute });\n readonly label = input<ProgressBarInputs['label']>('Progress');\n readonly valueText = input<ProgressBarInputs['valueText']>(null);\n\n readonly #core = useCore(progressBarCore, { inputs: () => ({ minimum: this.minimum(), maximum: this.maximum(), value: this.value(), color: this.color(), striped: this.striped(), animated: this.animated(), label: this.label(), valueText: this.valueText() }), idPrefix: 'bs-progress-bar', hostScope: 'progress' });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapProgress.key, bootstrapProgress.css, { order: bootstrapProgress.order }); useScopedStyles('progress', progressScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/progress-bar/src/templates/progress-bar.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"progress\" [mpProps]=\"p_view.bar\" #root>\n <ng-content />\n</div>\n","// GENERATED from the progress-bar manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsProgressComponent } from './progress.component.generated';\nexport { BsProgressBarComponent } from './progress-bar.component.generated';\n","// Generated from @mintplayer/ui-core/progress-bar (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAMA;;;AAGG;MAO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AAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECbnC,0QAKA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDKY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,WAElB,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,0QAAA,EAAA;;;AEXjD;;ACAA;;ACAA;;AAEG;;;;"}
@@ -137,7 +137,7 @@ class BsQueryBuilderComponent {
137
137
  this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
138
138
  this.messages = input(/* @ts-ignore */
139
139
  ...(ngDevMode ? [undefined, { debugName: "messages" }] : /* istanbul ignore next */ []));
140
- this.maxDepth = input(32, { ...(ngDevMode ? { debugName: "maxDepth" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
140
+ this.maxDepth = input(32, { ...(ngDevMode ? { debugName: "maxDepth" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 32 : numberAttribute(v)) });
141
141
  this.showPreview = input(false, { ...(ngDevMode ? { debugName: "showPreview" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
142
142
  this.showSavedQueries = input(false, { ...(ngDevMode ? { debugName: "showSavedQueries" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
143
143
  this.savedQueries = input([], /* @ts-ignore */