@mintplayer/ng-bootstrap 22.32.0 → 22.33.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.
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +3 -166
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +71 -140
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +33 -63
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +23 -30
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +37 -22
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +25 -9
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +4 -8
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +157 -219
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +6 -8
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +6 -8
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -40
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +5 -5
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +313 -212
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +25 -15
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +5 -5
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +87 -676
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +52 -119
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +12 -24
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +5 -9
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +5 -7
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +5 -7
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +201 -197
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +9 -19
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +64 -123
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +18 -32
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +52 -38
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +64 -119
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +23 -38
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +44 -44
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +199 -16
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +27 -12
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +61 -261
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +3 -4
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +30 -18
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +20 -90
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +52 -401
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +27 -50
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +21 -12
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +8 -10
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +26 -54
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +29 -15
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +56 -267
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +60 -335
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +47 -63
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +7 -15
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +232 -169
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +85 -47
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +80 -137
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +29 -326
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +47 -63
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +14 -22
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +48 -181
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +8 -8
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +52 -108
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +5 -7
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +35 -40
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +61 -101
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +29 -23
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +67 -306
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +9 -13
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +103 -152
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +50 -157
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +9 -11
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +11 -13
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +159 -234
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/package.json +2 -22
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +2 -81
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +51 -86
- package/types/mintplayer-ng-bootstrap-alert.d.ts +20 -28
- package/types/mintplayer-ng-bootstrap-badge.d.ts +12 -12
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +29 -8
- package/types/mintplayer-ng-bootstrap-button-group.d.ts +14 -4
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +1 -5
- package/types/mintplayer-ng-bootstrap-card.d.ts +93 -78
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +24 -17
- package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +143 -91
- package/types/mintplayer-ng-bootstrap-close.d.ts +16 -5
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-color-picker.d.ts +42 -226
- package/types/mintplayer-ng-bootstrap-context-menu.d.ts +35 -17
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +23 -35
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +2 -6
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +2 -4
- package/types/mintplayer-ng-bootstrap-dock.d.ts +6 -8
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +122 -54
- package/types/mintplayer-ng-bootstrap-file-manager.d.ts +10 -20
- package/types/mintplayer-ng-bootstrap-file-upload.d.ts +62 -44
- package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +12 -15
- package/types/mintplayer-ng-bootstrap-form.d.ts +32 -11
- package/types/mintplayer-ng-bootstrap-grid.d.ts +38 -31
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +11 -22
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +28 -14
- package/types/mintplayer-ng-bootstrap-machine.d.ts +95 -4
- package/types/mintplayer-ng-bootstrap-marquee.d.ts +18 -5
- package/types/mintplayer-ng-bootstrap-modal.d.ts +43 -86
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-nav.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +21 -6
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +15 -42
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +35 -112
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +4 -3
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +22 -35
- package/types/mintplayer-ng-bootstrap-parallax.d.ts +14 -4
- package/types/mintplayer-ng-bootstrap-phone-input.d.ts +5 -6
- package/types/mintplayer-ng-bootstrap-placeholder.d.ts +17 -16
- package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +22 -6
- package/types/mintplayer-ng-bootstrap-popover.d.ts +35 -61
- package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +80 -68
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +34 -19
- package/types/mintplayer-ng-bootstrap-query-builder.d.ts +12 -20
- package/types/mintplayer-ng-bootstrap-radio.d.ts +112 -84
- package/types/mintplayer-ng-bootstrap-range.d.ts +35 -13
- package/types/mintplayer-ng-bootstrap-rating.d.ts +33 -42
- package/types/mintplayer-ng-bootstrap-resizable.d.ts +24 -114
- package/types/mintplayer-ng-bootstrap-ribbon.d.ts +21 -37
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +19 -27
- package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +26 -51
- package/types/mintplayer-ng-bootstrap-select.d.ts +8 -7
- package/types/mintplayer-ng-bootstrap-shell.d.ts +40 -63
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-splitter.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +23 -19
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +61 -57
- package/types/mintplayer-ng-bootstrap-table.d.ts +21 -12
- package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +94 -154
- package/types/mintplayer-ng-bootstrap-timeline.d.ts +23 -25
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +3 -7
- package/types/mintplayer-ng-bootstrap-toast.d.ts +92 -55
- package/types/mintplayer-ng-bootstrap-tooltip.d.ts +34 -33
- package/types/mintplayer-ng-bootstrap-tree-select.d.ts +14 -16
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +12 -13
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +109 -133
- package/calendar-month/package.json +0 -4
- package/dropdown-divider/package.json +0 -4
- package/dropdown-menu/package.json +0 -4
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -30
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -169
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
- package/has-overlay/package.json +0 -4
- package/no-noscript/package.json +0 -4
- package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
- package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -9
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -94
- package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
- package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-card.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card/bs-card.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-header/bs-card-header.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-body/bs-card-body.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-footer/bs-card-footer.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-title/bs-card-title.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-subtitle/bs-card-subtitle.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-text/bs-card-text.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-link/bs-card-link.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-img/bs-card-img.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-group/bs-card-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/mintplayer-ng-bootstrap-card.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { cardColorClasses } from '@mintplayer/ui-core/card';\n\n/**\n * The card root (PRD #437 wave A). The host IS the Bootstrap `.card`: no\n * inner element and no core, so the server renders the finished card and the\n * card part this component installs (#452) styles it with JS off. Projected\n * `<bs-card-*>` children are plain class-carrying elements, each stamped\n * `data-mps=\"card\"` so the scoped part matches them.\n */\n@Component({\n selector: 'bs-card',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', '[class]': 'classes()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly color = input<Color | undefined>(undefined);\n readonly outline = input(false);\n\n protected readonly classes = computed(() => {\n const c = this.color();\n return ['card', ...cardColorClasses(c === undefined ? null : Color[c], this.outline())];\n });\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { capColorClasses } from '@mintplayer/ui-core/card';\n\n/**\n * Card header. A nav inside it takes Bootstrap's own `card-header-tabs` or\n * `card-header-pills` class, written by the consumer on the nav (the old\n * `navStyle` input walked and mutated consumer DOM, which a headless front\n * never does).\n */\n@Component({\n selector: 'bs-card-header',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', '[class]': 'classes()' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly color = input<Color | undefined>(undefined);\n\n protected readonly classes = computed(() => {\n const c = this.color();\n return ['card-header', ...capColorClasses(c === undefined ? null : Color[c])];\n });\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/**\n * Card body — explicit wrapper. No auto-padding workaround like the previous\n * implementation: Bootstrap's `.card-body` padding applies as upstream\n * specifies. Consumers wanting unpadded content can use a raw `<div>` inside\n * `<bs-card>` instead.\n */\n@Component({\n selector: 'bs-card-body',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-body' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardBodyComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { capColorClasses } from '@mintplayer/ui-core/card';\n\n@Component({\n selector: 'bs-card-footer',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', '[class]': 'classes()' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly color = input<Color | undefined>(undefined);\n\n protected readonly classes = computed(() => {\n const c = this.color();\n return ['card-footer', ...capColorClasses(c === undefined ? null : Color[c])];\n });\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n@Component({\n selector: 'bs-card-title',\n // role=heading + aria-level rather than swapping real h1-h6 tags: the tag\n // cannot change dynamically without destroying projected content, and the\n // computed pair is exactly equivalent in the accessibility tree.\n template: '<ng-content></ng-content>',\n host: {\n '[attr.data-mps]': '\"card\"',\n class: 'card-title',\n role: 'heading',\n '[attr.aria-level]': 'level()',\n },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTitleComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n /** Heading level in the page outline. Cards default to a section-level 5, matching Bootstrap's visual h5. */\n readonly level = input(5);\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n@Component({\n selector: 'bs-card-subtitle',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-subtitle' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardSubtitleComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n@Component({\n selector: 'bs-card-text',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-text' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/**\n * Card link. The HOST carries `.card-link`, so Bootstrap's\n * `.card-link + .card-link` spacing matches sibling `<bs-card-link>`s; the\n * inner `<a>` is the link.\n */\n@Component({\n selector: 'bs-card-link',\n template: '<a data-mps=\"card\" [attr.href]=\"hrefAttr()\"><ng-content></ng-content></a>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-link' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardLinkComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly href = input<string | undefined>(undefined);\n\n // Coalesce `undefined` to `null` so Angular drops the attribute entirely\n // when the input is unset.\n readonly hrefAttr = computed(() => this.href() ?? null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\nimport { cardImgClass, type CardImagePosition } from '@mintplayer/ui-core/card';\n\n/**\n * Card image. `position` switches the rendered shape; `src` and `alt` map\n * to the underlying `<img>`. Overlay form additionally wraps slotted content\n * in `<div class=\"card-img-overlay\">`.\n *\n * The host element carries the `card-img-*` class so Bootstrap's\n * `.card-group > .card > .card-img-top` corner-rounding selectors match\n * (the inner `<img>` would otherwise be a grandchild of `.card`). The inner\n * `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule\n * applies; the host's border-radius is paired with `overflow: hidden` so the img's straight corners get clipped.\n *\n * Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in\n * each `@case`: multiple `<ng-content>` slots in conditional branches silently\n * drop the projected children. One `<ng-content>` inside a `<ng-template>`\n * works around the limitation, at the cost of importing `NgTemplateOutlet`.\n */\n@Component({\n selector: 'bs-card-img',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #projected><ng-content></ng-content></ng-template>\n <ng-template #imgTpl>\n <img data-mps=\"card\" [class]=\"imgClass()\" [attr.src]=\"srcAttr()\" [attr.alt]=\"altAttr()\" />\n </ng-template>\n\n @switch (position()) {\n @case ('overlay') {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <div data-mps=\"card\" class=\"card-img-overlay\">\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n </div>\n }\n @case ('bottom') {\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n }\n @default {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n }\n }\n `,\n host: { '[attr.data-mps]': '\"card\"', '[class]': 'hostClass()' },\n // The host is a custom element, inline by default; Bootstrap's card parts need\n // a block box (#452 issue 2). Unlayered, so it beats the layered card part,\n // while Bootstrap's !important display utilities (d-none) still win.\n styles: ':host { display: block; }',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardImgComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n\n readonly position = input<CardImagePosition>('top');\n readonly src = input<string | undefined>(undefined);\n readonly alt = input<string | undefined>(undefined);\n\n readonly hostClass = computed(() => cardImgClass(this.position()));\n\n // The inner <img> carries the same card-img-* class so Bootstrap's\n // `width: 100%` rule sizes the actual image element.\n readonly imgClass = computed(() => this.hostClass());\n\n // `?? null` so an absent src removes the attribute instead of leaving an\n // empty `src=\"\"` on the DOM.\n readonly srcAttr = computed(() => this.src() ?? null);\n // alt is the opposite case: an <img> with NO alt attribute is announced by\n // its filename, while alt=\"\" marks it decorative and silences it. Absent\n // input therefore means decorative, never unlabelled.\n readonly altAttr = computed(() => this.alt() ?? '');\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/**\n * Card group. No host `display` of its own: Bootstrap's `.card-group` turns\n * flex from `sm` up, and an unlayered component rule would out-rank the\n * layered card part and keep it a block (PRD #452 C3).\n */\n@Component({\n selector: 'bs-card-group',\n template: '<ng-content></ng-content>',\n host: { '[attr.data-mps]': '\"card\"', class: 'card-group' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {\n constructor() {\n // #452: the card partial ships with this component, scoped to the elements it stamps (data-mps=\"card\").\n useBootstrap(bootstrapCard);\n }\n}\n","// Angular front of the card (PRD #437 wave A): plain Bootstrap markup, no custom element.\nexport * from './lib/components/bs-card/bs-card.component';\nexport * from './lib/components/bs-card-header/bs-card-header.component';\nexport * from './lib/components/bs-card-body/bs-card-body.component';\nexport * from './lib/components/bs-card-footer/bs-card-footer.component';\nexport * from './lib/components/bs-card-title/bs-card-title.component';\nexport * from './lib/components/bs-card-subtitle/bs-card-subtitle.component';\nexport * from './lib/components/bs-card-text/bs-card-text.component';\nexport * from './lib/components/bs-card-link/bs-card-link.component';\nexport * from './lib/components/bs-card-img/bs-card-img.component';\nexport * from './lib/components/bs-card-group/bs-card-group.component';\n\nexport { CARD_COLORS, isCardColor } from '@mintplayer/ui-core/card';\nexport type { CardColor, CardImagePosition } from '@mintplayer/ui-core/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAMA;;;;;;AAMG;MAOU,eAAe,CAAA;AAC1B,IAAA,WAAA,GAAA;QAKS,IAAA,CAAA,KAAK,GAAG,KAAK,CAAoB,SAAS;kFAAC;QAC3C,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK;oFAAC;AAEZ,QAAA,IAAA,CAAA,OAAO,GAAG,QAAQ,CAAC,MAAK;AACzC,YAAA,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE;YACtB,OAAO,CAAC,MAAM,EAAE,GAAG,gBAAgB,CAAC,CAAC,KAAK,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QACzF,CAAC;oFAAC;;QATA,YAAY,CAAC,aAAa,CAAC;IAC7B;8GAJW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,kZAJhB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAI1B,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,SAAS;AAA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AAA,EACjB;;;;;;;;;;;;;;;;;;;;;;AAsBT,EAAA,CAAA,EAAA,IAAA,EACK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,EAAA,eAAA,EAK9C,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;ACjDjD;;;;AAIG;MAOU,oBAAoB,CAAA;AAC/B,IAAA,WAAA,GAAA;;QAEE,YAAY,CAAC,aAAa,CAAC;IAC7B;8GAJW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,8JAJrB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAI1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,QAAQ,EAAE,2BAA2B;oBACrC,IAAI,EAAE,EAAE,iBAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE;oBAC1D,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACdD;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-card.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-part.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-header.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-footer.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-body.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-title.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-subtitle.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-text.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-group.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-img.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-img.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-link.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/card-link.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/card/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/mintplayer-ng-bootstrap-card.ts"],"sourcesContent":["// GENERATED from the card manifest (card) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { cardCore, type CardInputs, cardScopedStyles } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** Bootstrap's card: a `.card` around its header, body, image and footer parts. `color` fills it; `outline` colours only its border. */\n@Component({\n selector: 'bs-card',\n templateUrl: './card-part.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<CardInputs['color']>(null);\n readonly outline = input<CardInputs['outline'], unknown>(false, { transform: booleanAttribute });\n\n readonly #core = useCore(cardCore, { inputs: () => ({ color: this.color(), outline: this.outline() }), idPrefix: 'bs-card', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-part.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the card manifest (card-header) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type CardCapInputs, cardHeaderCore, cardScopedStyles } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** The card's header cap. A nav inside it takes the nav's `cardHeader` for Bootstrap's header tabs or pills. */\n@Component({\n selector: 'bs-card-header',\n templateUrl: './card-part.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<CardCapInputs['color']>(null);\n\n readonly #core = useCore(cardHeaderCore, { inputs: () => ({ color: this.color() }), idPrefix: 'bs-card-header', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","// GENERATED from the card manifest (card-footer) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type CardCapInputs, cardFooterCore, cardScopedStyles } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** The card's footer cap. */\n@Component({\n selector: 'bs-card-footer',\n templateUrl: './card-part.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<CardCapInputs['color']>(null);\n\n readonly #core = useCore(cardFooterCore, { inputs: () => ({ color: this.color() }), idPrefix: 'bs-card-footer', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","// GENERATED from the card manifest (card-body) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { cardBodyCore, cardScopedStyles } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** The card's padded body. */\n@Component({\n selector: 'bs-card-body',\n templateUrl: './card-part.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardBodyComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(cardBodyCore, { inputs: () => ({ }), idPrefix: 'bs-card-body', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","// GENERATED from the card manifest (card-title) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input, numberAttribute } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { cardScopedStyles, cardTitleCore, type CardTitleInputs } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** A card title: `role=\"heading\"` at `level` (5 by default, matching Bootstrap's visual h5). */\n@Component({\n selector: 'bs-card-title',\n templateUrl: './card-part.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTitleComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly level = input<CardTitleInputs['level'], unknown>(5, { transform: (v: unknown) => numberAttribute(v) as CardTitleInputs['level'] });\n\n readonly #core = useCore(cardTitleCore, { inputs: () => ({ level: this.level() }), idPrefix: 'bs-card-title', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","// GENERATED from the card manifest (card-subtitle) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { cardScopedStyles, cardSubtitleCore } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** A card subtitle. */\n@Component({\n selector: 'bs-card-subtitle',\n templateUrl: './card-part.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardSubtitleComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(cardSubtitleCore, { inputs: () => ({ }), idPrefix: 'bs-card-subtitle', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","// GENERATED from the card manifest (card-text) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { cardScopedStyles, cardTextCore } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** A paragraph of card text. */\n@Component({\n selector: 'bs-card-text',\n templateUrl: './card-part.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(cardTextCore, { inputs: () => ({ }), idPrefix: 'bs-card-text', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","// GENERATED from the card manifest (card-group) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { cardGroupCore, cardScopedStyles } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** Cards side by side with joined borders. */\n@Component({\n selector: 'bs-card-group',\n templateUrl: './card-part.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(cardGroupCore, { inputs: () => ({ }), idPrefix: 'bs-card-group', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","// GENERATED from the card manifest (card-img) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { cardImgCore, type CardImgInputs, cardScopedStyles } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** A card image at the top or bottom, or `overlay` with the content laid over it. Without `alt` it is decorative. */\n@Component({\n selector: 'bs-card-img',\n templateUrl: './card-img.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardImgComponent {\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 position = input<CardImgInputs['position']>('top');\n readonly src = input<CardImgInputs['src']>(null);\n readonly alt = input<CardImgInputs['alt']>(null);\n\n readonly #core = useCore(cardImgCore, { inputs: () => ({ position: this.position(), src: this.src(), alt: this.alt() }), idPrefix: 'bs-card-img', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-img.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<img data-mps=\"card\" [mpProps]=\"p_view.img\" [attr.src]=\"p_view.src\" [mpHostAttrs]=\"hostAttrs\">\n@if (p_view.overlay) {\n <div data-mps=\"card\" [mpProps]=\"p_view.overlay\">\n <ng-content />\n </div>\n}\n","// GENERATED from the card manifest (card-link) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { cardLinkCore, type CardLinkInputs, cardScopedStyles } from '@mintplayer/ui-core/card';\nimport { bootstrapCard } from '@mintplayer/ui-core/bootstrap/card';\n\n/** A link in a card. Sibling links are spaced apart. */\n@Component({\n selector: 'bs-card-link',\n templateUrl: './card-link.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardLinkComponent {\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 href = input<CardLinkInputs['href']>(null);\n\n readonly #core = useCore(cardLinkCore, { inputs: () => ({ href: this.href() }), idPrefix: 'bs-card-link', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'card' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCard.key, bootstrapCard.css, { order: bootstrapCard.order }); useScopedStyles('card', cardScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/card/src/templates/card-link.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<a data-mps=\"card\" [mpProps]=\"p_view.link\" [attr.href]=\"p_view.href\" [mpHostAttrs]=\"hostAttrs\">\n <ng-content />\n</a>\n","// GENERATED from the card manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsCardComponent } from './card.component.generated';\nexport { BsCardHeaderComponent } from './card-header.component.generated';\nexport { BsCardFooterComponent } from './card-footer.component.generated';\nexport { BsCardBodyComponent } from './card-body.component.generated';\nexport { BsCardTitleComponent } from './card-title.component.generated';\nexport { BsCardSubtitleComponent } from './card-subtitle.component.generated';\nexport { BsCardTextComponent } from './card-text.component.generated';\nexport { BsCardGroupComponent } from './card-group.component.generated';\nexport { BsCardImgComponent } from './card-img.component.generated';\nexport { BsCardLinkComponent } from './card-link.component.generated';\n","// Generated from @mintplayer/ui-core/card (#458 M4, D10): the card and its parts.\nexport * from './generated';\nexport { CARD_COLORS, isCardColor } from '@mintplayer/ui-core/card';\nexport type { CardColor, CardImagePosition } from '@mintplayer/ui-core/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAMA;MAOa,eAAe,CAAA;AAOjB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AATS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,KAAK,GAAG,KAAK,CAAsB,IAAI;kFAAC;QACxC,IAAA,CAAA,OAAO,GAAG,KAAK,CAAiC,KAAK,+EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAEvF,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;;AAEvK,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK;AAGzC,QAAA,eAAe,CAAC,aAAa,CAAC,GAAG,EAAE,aAAa,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClI;8GAbW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,C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,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,cAAc,WAEf,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,0SAAA,EAAA;;;AEXjD;;ACAA;;ACAA;;AAEG;;;;"}
|
|
@@ -71,14 +71,12 @@ class BsCarouselComponent {
|
|
|
71
71
|
this.labels = input(null, /* @ts-ignore */
|
|
72
72
|
...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
|
|
73
73
|
/** The committed slide changed. */
|
|
74
|
-
this.
|
|
75
|
-
/** Autoplay was paused or resumed from the play/pause button or a method. */
|
|
76
|
-
this.pausedchange = output();
|
|
74
|
+
this.slideChange = output();
|
|
77
75
|
/** A slide transition started. */
|
|
78
|
-
this.
|
|
76
|
+
this.slideStart = output();
|
|
79
77
|
/** A slide transition ended. */
|
|
80
|
-
this.
|
|
81
|
-
this.#core = useCore(carouselCore, { inputs: extendInputs(() => ({ animation: this.animation(), orientation: this.orientation(), indicators: this.indicators(), interval: this.interval(), wrap: this.wrap(), keyboardEvents: this.keyboardEvents(), paused: this.paused(), inputLabel: this.inputLabel(), labels: this.labels() })), idPrefix: 'bs-carousel', outputs: { slideChange: this.
|
|
78
|
+
this.slideEnd = output();
|
|
79
|
+
this.#core = useCore(carouselCore, { inputs: extendInputs(() => ({ animation: this.animation(), orientation: this.orientation(), indicators: this.indicators(), interval: this.interval(), wrap: this.wrap(), keyboardEvents: this.keyboardEvents(), paused: this.paused(), inputLabel: this.inputLabel(), labels: this.labels() })), idPrefix: 'bs-carousel', outputs: { slideChange: this.slideChange, slideStart: this.slideStart, slideEnd: this.slideEnd }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }), models: { paused: this.paused } });
|
|
82
80
|
/** The template's props. */
|
|
83
81
|
this.props = this.#core.props;
|
|
84
82
|
useScopedStyles(bootstrapCarousel.key, bootstrapCarousel.css, { order: bootstrapCarousel.order });
|
|
@@ -109,12 +107,12 @@ class BsCarouselComponent {
|
|
|
109
107
|
return this.#core.call('togglePaused', args);
|
|
110
108
|
}
|
|
111
109
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
112
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsCarouselComponent, isStandalone: true, selector: "bs-carousel", inputs: { animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, indicators: { classPropertyName: "indicators", publicName: "indicators", isSignal: true, isRequired: false, transformFunction: null }, interval: { classPropertyName: "interval", publicName: "interval", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, keyboardEvents: { classPropertyName: "keyboardEvents", publicName: "keyboardEvents", isSignal: true, isRequired: false, transformFunction: null }, paused: { classPropertyName: "paused", publicName: "paused", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { paused: "pausedChange",
|
|
110
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsCarouselComponent, isStandalone: true, selector: "bs-carousel", inputs: { animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, indicators: { classPropertyName: "indicators", publicName: "indicators", isSignal: true, isRequired: false, transformFunction: null }, interval: { classPropertyName: "interval", publicName: "interval", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, keyboardEvents: { classPropertyName: "keyboardEvents", publicName: "keyboardEvents", isSignal: true, isRequired: false, transformFunction: null }, paused: { classPropertyName: "paused", publicName: "paused", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { paused: "pausedChange", slideChange: "slideChange", slideStart: "slideStart", slideEnd: "slideEnd" }, hostDirectives: [{ directive: BsCarouselSlidesDirective }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.playPause) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.playPause.wrap\">\n <button data-mps=\"carousel\" [mpProps]=\"p_view.playPause.button\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.playPause.icon\"></span>\n </button>\n </div>\n}\n@for (radio of p_view.radios; track radio.key) {\n <input data-mps=\"carousel\" [mpProps]=\"radio.bag\">\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.inner\">\n <div data-mps=\"carousel\" [mpProps]=\"p_view.track\">\n <ng-content />\n </div>\n</div>\n@if (p_view.indicators) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.indicators.bag\">\n @for (item of p_view.indicators.items; track item.key) {\n <label data-mps=\"carousel\" [mpProps]=\"item.bag\"></label>\n }\n </div>\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.controls.bag\">\n @for (pair of p_view.controls.pairs; track pair.key) {\n <span data-mps=\"carousel\" [mpProps]=\"pair.pair\">\n <label data-mps=\"carousel\" [mpProps]=\"pair.prev\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.prev\"></span>\n </label>\n <label data-mps=\"carousel\" [mpProps]=\"pair.next\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.next\"></span>\n </label>\n </span>\n }\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
113
111
|
}
|
|
114
112
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsCarouselComponent, decorators: [{
|
|
115
113
|
type: Component,
|
|
116
114
|
args: [{ selector: 'bs-carousel', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: hostDirectives$1, template: "<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.playPause) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.playPause.wrap\">\n <button data-mps=\"carousel\" [mpProps]=\"p_view.playPause.button\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.playPause.icon\"></span>\n </button>\n </div>\n}\n@for (radio of p_view.radios; track radio.key) {\n <input data-mps=\"carousel\" [mpProps]=\"radio.bag\">\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.inner\">\n <div data-mps=\"carousel\" [mpProps]=\"p_view.track\">\n <ng-content />\n </div>\n</div>\n@if (p_view.indicators) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.indicators.bag\">\n @for (item of p_view.indicators.items; track item.key) {\n <label data-mps=\"carousel\" [mpProps]=\"item.bag\"></label>\n }\n </div>\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.controls.bag\">\n @for (pair of p_view.controls.pairs; track pair.key) {\n <span data-mps=\"carousel\" [mpProps]=\"pair.pair\">\n <label data-mps=\"carousel\" [mpProps]=\"pair.prev\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.prev\"></span>\n </label>\n <label data-mps=\"carousel\" [mpProps]=\"pair.next\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.next\"></span>\n </label>\n </span>\n }\n</div>\n" }]
|
|
117
|
-
}], ctorParameters: () => [], propDecorators: { animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], indicators: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicators", required: false }] }], interval: [{ type: i0.Input, args: [{ isSignal: true, alias: "interval", required: false }] }], wrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrap", required: false }] }], keyboardEvents: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyboardEvents", required: false }] }], paused: [{ type: i0.Input, args: [{ isSignal: true, alias: "paused", required: false }] }, { type: i0.Output, args: ["pausedChange"] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }],
|
|
115
|
+
}], ctorParameters: () => [], propDecorators: { animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], indicators: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicators", required: false }] }], interval: [{ type: i0.Input, args: [{ isSignal: true, alias: "interval", required: false }] }], wrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrap", required: false }] }], keyboardEvents: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyboardEvents", required: false }] }], paused: [{ type: i0.Input, args: [{ isSignal: true, alias: "paused", required: false }] }, { type: i0.Output, args: ["pausedChange"] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], slideChange: [{ type: i0.Output, args: ["slideChange"] }], slideStart: [{ type: i0.Output, args: ["slideStart"] }], slideEnd: [{ type: i0.Output, args: ["slideEnd"] }] } });
|
|
118
116
|
|
|
119
117
|
/*
|
|
120
118
|
* The Angular extension of the generated `bs-carousel-item` (PRD #437 D10):
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-carousel.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-slide.directive.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-item.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/mintplayer-ng-bootstrap-carousel.ts"],"sourcesContent":["import { Directive, contentChildren } from '@angular/core';\n\n/*\n * The carousel's slide count for the server render (PRD #437 D10). The parent\n * template renders one radio, indicator and control pair per slide BEFORE its\n * content, so it needs N from the declaration, not from the DOM.\n */\n\n/** Marks a `bs-carousel-item` (its extension's host directive). */\n@Directive({ selector: '[bsCarouselSlide]' })\nexport class BsCarouselSlideDirective {}\n\n/** On `bs-carousel`: counts its own items (not a nested carousel's). */\n@Directive({ selector: '[bsCarouselSlides]' })\nexport class BsCarouselSlidesDirective {\n readonly slides = contentChildren(BsCarouselSlideDirective);\n}\n","import { inject } from '@angular/core';\nimport type { CarouselInputs } from '@mintplayer/ui-core/carousel';\nimport { BsCarouselSlidesDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel` (PRD #437 D10): the\n * slide count comes from the content query, so the server render has a radio,\n * indicator and control pair per slide.\n */\nexport const hostDirectives = [BsCarouselSlidesDirective];\n\nexport function extendInputs(inputs: () => CarouselInputs): () => CarouselInputs {\n const slides = inject(BsCarouselSlidesDirective, { self: true });\n return () => ({ ...inputs(), slideCount: slides.slides().length });\n}\n","// GENERATED from the carousel manifest (carousel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselCore, type CarouselInputs, type CarouselMethods, carouselScopedStyles, type CarouselSlideChangeEventDetail } from '@mintplayer/ui-core/carousel';\nimport { bootstrapCarousel } from '@mintplayer/ui-core/bootstrap/carousel';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../carousel.angular';\n\n/**\n * A deck of slides shown one at a time, with optional indicators, autoplay, touch swipe and keyboard.\n *\n * Put carousel items inside. A radio per slide holds the index, so the server render navigates with\n * JavaScript off (indicators, prev/next with wrap-around, the radio group arrow keys). Slides are\n * grid-stacked: the deck is as tall as its tallest slide. An `aria-label` names the region.\n */\n@Component({\n selector: 'bs-carousel',\n templateUrl: './carousel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly animation = input<CarouselInputs['animation']>('slide');\n readonly orientation = input<CarouselInputs['orientation']>('horizontal');\n readonly indicators = input<CarouselInputs['indicators'], unknown>(false, { transform: booleanAttribute });\n readonly interval = input<CarouselInputs['interval'], unknown>(null, { transform: (v: unknown) => numberAttribute(v) as CarouselInputs['interval'] });\n readonly wrap = input<CarouselInputs['wrap'], unknown>(true, { transform: booleanAttribute });\n readonly keyboardEvents = input<CarouselInputs['keyboardEvents'], unknown>(true, { transform: booleanAttribute });\n readonly paused = model<CarouselInputs['paused']>(false);\n readonly inputLabel = input<CarouselInputs['inputLabel']>(null);\n readonly labels = input<CarouselInputs['labels']>(null);\n /** The committed slide changed. */\n readonly slidechange = output<CarouselSlideChangeEventDetail>();\n /** Autoplay was paused or resumed from the play/pause button or a method. */\n readonly pausedchange = output<boolean>();\n /** A slide transition started. */\n readonly slidestart = output<void>();\n /** A slide transition ended. */\n readonly slideend = output<void>();\n\n readonly #core = useCore(carouselCore, { inputs: ext_extendInputs(() => ({ animation: this.animation(), orientation: this.orientation(), indicators: this.indicators(), interval: this.interval(), wrap: this.wrap(), keyboardEvents: this.keyboardEvents(), paused: this.paused(), inputLabel: this.inputLabel(), labels: this.labels() })), idPrefix: 'bs-carousel', outputs: { slideChange: this.slidechange, pausedChange: this.pausedchange, slideStart: this.slidestart, slideEnd: this.slideend }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }), models: { paused: this.paused } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCarousel.key, bootstrapCarousel.css, { order: bootstrapCarousel.order }); useScopedStyles('carousel', carouselScopedStyles);\n }\n\n /** Go to the previous slide. */\n previous(...args: Parameters<CarouselMethods['previous']>): ReturnType<CarouselMethods['previous']> {\n return this.#core.call('previous', args) as ReturnType<CarouselMethods['previous']>;\n }\n\n /** Go to the next slide. */\n next(...args: Parameters<CarouselMethods['next']>): ReturnType<CarouselMethods['next']> {\n return this.#core.call('next', args) as ReturnType<CarouselMethods['next']>;\n }\n\n /** Go to a slide by index. */\n goto(...args: Parameters<CarouselMethods['goto']>): ReturnType<CarouselMethods['goto']> {\n return this.#core.call('goto', args) as ReturnType<CarouselMethods['goto']>;\n }\n\n /** Resume autoplay. */\n play(...args: Parameters<CarouselMethods['play']>): ReturnType<CarouselMethods['play']> {\n return this.#core.call('play', args) as ReturnType<CarouselMethods['play']>;\n }\n\n /** Pause autoplay. */\n pause(...args: Parameters<CarouselMethods['pause']>): ReturnType<CarouselMethods['pause']> {\n return this.#core.call('pause', args) as ReturnType<CarouselMethods['pause']>;\n }\n\n /** Toggle autoplay. */\n togglePaused(...args: Parameters<CarouselMethods['togglePaused']>): ReturnType<CarouselMethods['togglePaused']> {\n return this.#core.call('togglePaused', args) as ReturnType<CarouselMethods['togglePaused']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.playPause) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.playPause.wrap\">\n <button data-mps=\"carousel\" [mpProps]=\"p_view.playPause.button\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.playPause.icon\"></span>\n </button>\n </div>\n}\n@for (radio of p_view.radios; track radio.key) {\n <input data-mps=\"carousel\" [mpProps]=\"radio.bag\">\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.inner\">\n <div data-mps=\"carousel\" [mpProps]=\"p_view.track\">\n <ng-content />\n </div>\n</div>\n@if (p_view.indicators) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.indicators.bag\">\n @for (item of p_view.indicators.items; track item.key) {\n <label data-mps=\"carousel\" [mpProps]=\"item.bag\"></label>\n }\n </div>\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.controls.bag\">\n @for (pair of p_view.controls.pairs; track pair.key) {\n <span data-mps=\"carousel\" [mpProps]=\"pair.pair\">\n <label data-mps=\"carousel\" [mpProps]=\"pair.prev\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.prev\"></span>\n </label>\n <label data-mps=\"carousel\" [mpProps]=\"pair.next\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.next\"></span>\n </label>\n </span>\n }\n</div>\n","import { BsCarouselSlideDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel-item` (PRD #437 D10):\n * the marker its carousel counts.\n */\nexport const hostDirectives = [BsCarouselSlideDirective];\n","// GENERATED from the carousel manifest (carousel-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselItemCore, carouselScopedStyles } from '@mintplayer/ui-core/carousel';\nimport { bootstrapCarousel } from '@mintplayer/ui-core/bootstrap/carousel';\nimport { hostDirectives as ext_hostDirectives } from '../carousel-item.angular';\n\n/** One slide of a carousel. Its content is the slide. */\n@Component({\n selector: 'bs-carousel-item',\n templateUrl: './carousel-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(carouselItemCore, { inputs: () => ({ }), idPrefix: 'bs-carousel-item', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCarousel.key, bootstrapCarousel.css, { order: bootstrapCarousel.order }); useScopedStyles('carousel', carouselScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the carousel manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsCarouselComponent } from './carousel.component.generated';\nexport { BsCarouselItemComponent } from './carousel-item.component.generated';\n","// The carousel is generated from @mintplayer/ui-core/carousel (PRD #437 D10).\nexport * from './generated';\nexport * from './carousel-slide.directive';\nexport type {\n CarouselAnimation,\n CarouselLabels,\n CarouselOrientation,\n CarouselSlideChangeEventDetail,\n} from '@mintplayer/ui-core/carousel';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["hostDirectives","ext_extendInputs","i1.BsCarouselSlidesDirective","ext_hostDirectives"],"mappings":";;;;;;AAEA;;;;AAIG;AAEH;MAEa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,SAAS;mBAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE;;AAG5C;MAEa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;QAEW,IAAA,CAAA,MAAM,GAAG,eAAe,CAAC,wBAAwB;mFAAC;AAC5D,IAAA;8GAFY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yBAAyB,qGACF,wBAAwB,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAD/C,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,SAAS;mBAAC,EAAE,QAAQ,EAAE,oBAAoB,EAAE;8FAET,wBAAwB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;ACX5D;;;;AAIG;AACI,MAAMA,gBAAc,GAAG,CAAC,yBAAyB,CAAC;AAEnD,SA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AAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uBAAuB,uICfpC,oKAEA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDaa,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,WAEnB,EAAE,EAAA,eAAA,EACM,uBAAuB,CAAC,MAAM,kBAC/BA,cAAkB,EAAA,QAAA,EAAA,oKAAA,EAAA;;;AEbpC;;ACAA;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-carousel.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-slide.directive.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-item.angular.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/carousel-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/mintplayer-ng-bootstrap-carousel.ts"],"sourcesContent":["import { Directive, contentChildren } from '@angular/core';\n\n/*\n * The carousel's slide count for the server render (PRD #437 D10). The parent\n * template renders one radio, indicator and control pair per slide BEFORE its\n * content, so it needs N from the declaration, not from the DOM.\n */\n\n/** Marks a `bs-carousel-item` (its extension's host directive). */\n@Directive({ selector: '[bsCarouselSlide]' })\nexport class BsCarouselSlideDirective {}\n\n/** On `bs-carousel`: counts its own items (not a nested carousel's). */\n@Directive({ selector: '[bsCarouselSlides]' })\nexport class BsCarouselSlidesDirective {\n readonly slides = contentChildren(BsCarouselSlideDirective);\n}\n","import { inject } from '@angular/core';\nimport type { CarouselInputs } from '@mintplayer/ui-core/carousel';\nimport { BsCarouselSlidesDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel` (PRD #437 D10): the\n * slide count comes from the content query, so the server render has a radio,\n * indicator and control pair per slide.\n */\nexport const hostDirectives = [BsCarouselSlidesDirective];\n\nexport function extendInputs(inputs: () => CarouselInputs): () => CarouselInputs {\n const slides = inject(BsCarouselSlidesDirective, { self: true });\n return () => ({ ...inputs(), slideCount: slides.slides().length });\n}\n","// GENERATED from the carousel manifest (carousel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselCore, type CarouselInputs, type CarouselMethods, carouselScopedStyles, type CarouselSlideChangeEventDetail } from '@mintplayer/ui-core/carousel';\nimport { bootstrapCarousel } from '@mintplayer/ui-core/bootstrap/carousel';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../carousel.angular';\n\n/**\n * A deck of slides shown one at a time, with optional indicators, autoplay, touch swipe and keyboard.\n *\n * Put carousel items inside. A radio per slide holds the index, so the server render navigates with\n * JavaScript off (indicators, prev/next with wrap-around, the radio group arrow keys). Slides are\n * grid-stacked: the deck is as tall as its tallest slide. An `aria-label` names the region.\n */\n@Component({\n selector: 'bs-carousel',\n templateUrl: './carousel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly animation = input<CarouselInputs['animation']>('slide');\n readonly orientation = input<CarouselInputs['orientation']>('horizontal');\n readonly indicators = input<CarouselInputs['indicators'], unknown>(false, { transform: booleanAttribute });\n readonly interval = input<CarouselInputs['interval'], unknown>(null, { transform: (v: unknown) => numberAttribute(v) as CarouselInputs['interval'] });\n readonly wrap = input<CarouselInputs['wrap'], unknown>(true, { transform: booleanAttribute });\n readonly keyboardEvents = input<CarouselInputs['keyboardEvents'], unknown>(true, { transform: booleanAttribute });\n readonly paused = model<CarouselInputs['paused']>(false);\n readonly inputLabel = input<CarouselInputs['inputLabel']>(null);\n readonly labels = input<CarouselInputs['labels']>(null);\n /** The committed slide changed. */\n readonly slideChange = output<CarouselSlideChangeEventDetail>();\n /** A slide transition started. */\n readonly slideStart = output<void>();\n /** A slide transition ended. */\n readonly slideEnd = output<void>();\n\n readonly #core = useCore(carouselCore, { inputs: ext_extendInputs(() => ({ animation: this.animation(), orientation: this.orientation(), indicators: this.indicators(), interval: this.interval(), wrap: this.wrap(), keyboardEvents: this.keyboardEvents(), paused: this.paused(), inputLabel: this.inputLabel(), labels: this.labels() })), idPrefix: 'bs-carousel', outputs: { slideChange: this.slideChange, slideStart: this.slideStart, slideEnd: this.slideEnd }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }), models: { paused: this.paused } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCarousel.key, bootstrapCarousel.css, { order: bootstrapCarousel.order }); useScopedStyles('carousel', carouselScopedStyles);\n }\n\n /** Go to the previous slide. */\n previous(...args: Parameters<CarouselMethods['previous']>): ReturnType<CarouselMethods['previous']> {\n return this.#core.call('previous', args) as ReturnType<CarouselMethods['previous']>;\n }\n\n /** Go to the next slide. */\n next(...args: Parameters<CarouselMethods['next']>): ReturnType<CarouselMethods['next']> {\n return this.#core.call('next', args) as ReturnType<CarouselMethods['next']>;\n }\n\n /** Go to a slide by index. */\n goto(...args: Parameters<CarouselMethods['goto']>): ReturnType<CarouselMethods['goto']> {\n return this.#core.call('goto', args) as ReturnType<CarouselMethods['goto']>;\n }\n\n /** Resume autoplay. */\n play(...args: Parameters<CarouselMethods['play']>): ReturnType<CarouselMethods['play']> {\n return this.#core.call('play', args) as ReturnType<CarouselMethods['play']>;\n }\n\n /** Pause autoplay. */\n pause(...args: Parameters<CarouselMethods['pause']>): ReturnType<CarouselMethods['pause']> {\n return this.#core.call('pause', args) as ReturnType<CarouselMethods['pause']>;\n }\n\n /** Toggle autoplay. */\n togglePaused(...args: Parameters<CarouselMethods['togglePaused']>): ReturnType<CarouselMethods['togglePaused']> {\n return this.#core.call('togglePaused', args) as ReturnType<CarouselMethods['togglePaused']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.playPause) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.playPause.wrap\">\n <button data-mps=\"carousel\" [mpProps]=\"p_view.playPause.button\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.playPause.icon\"></span>\n </button>\n </div>\n}\n@for (radio of p_view.radios; track radio.key) {\n <input data-mps=\"carousel\" [mpProps]=\"radio.bag\">\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.inner\">\n <div data-mps=\"carousel\" [mpProps]=\"p_view.track\">\n <ng-content />\n </div>\n</div>\n@if (p_view.indicators) {\n <div data-mps=\"carousel\" [mpProps]=\"p_view.indicators.bag\">\n @for (item of p_view.indicators.items; track item.key) {\n <label data-mps=\"carousel\" [mpProps]=\"item.bag\"></label>\n }\n </div>\n}\n<div data-mps=\"carousel\" [mpProps]=\"p_view.controls.bag\">\n @for (pair of p_view.controls.pairs; track pair.key) {\n <span data-mps=\"carousel\" [mpProps]=\"pair.pair\">\n <label data-mps=\"carousel\" [mpProps]=\"pair.prev\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.prev\"></span>\n </label>\n <label data-mps=\"carousel\" [mpProps]=\"pair.next\">\n <span data-mps=\"carousel\" [mpProps]=\"p_view.controls.icon.next\"></span>\n </label>\n </span>\n }\n</div>\n","import { BsCarouselSlideDirective } from './carousel-slide.directive';\n\n/*\n * The Angular extension of the generated `bs-carousel-item` (PRD #437 D10):\n * the marker its carousel counts.\n */\nexport const hostDirectives = [BsCarouselSlideDirective];\n","// GENERATED from the carousel manifest (carousel-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { carouselItemCore, carouselScopedStyles } from '@mintplayer/ui-core/carousel';\nimport { bootstrapCarousel } from '@mintplayer/ui-core/bootstrap/carousel';\nimport { hostDirectives as ext_hostDirectives } from '../carousel-item.angular';\n\n/** One slide of a carousel. Its content is the slide. */\n@Component({\n selector: 'bs-carousel-item',\n templateUrl: './carousel-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsCarouselItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(carouselItemCore, { inputs: () => ({ }), idPrefix: 'bs-carousel-item', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'carousel' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapCarousel.key, bootstrapCarousel.css, { order: bootstrapCarousel.order }); useScopedStyles('carousel', carouselScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/carousel/src/templates/carousel-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the carousel manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsCarouselComponent } from './carousel.component.generated';\nexport { BsCarouselItemComponent } from './carousel-item.component.generated';\n","// The carousel is generated from @mintplayer/ui-core/carousel (PRD #437 D10).\nexport * from './generated';\nexport * from './carousel-slide.directive';\nexport type {\n CarouselAnimation,\n CarouselLabels,\n CarouselOrientation,\n CarouselSlideChangeEventDetail,\n} from '@mintplayer/ui-core/carousel';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["hostDirectives","ext_extendInputs","i1.BsCarouselSlidesDirective","ext_hostDirectives"],"mappings":";;;;;;AAEA;;;;AAIG;AAEH;MAEa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,SAAS;mBAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE;;AAG5C;MAEa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;QAEW,IAAA,CAAA,MAAM,GAAG,eAAe,CAAC,wBAAwB;mFAAC;AAC5D,IAAA;8GAFY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yBAAyB,qGACF,wBAAwB,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAD/C,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,SAAS;mBAAC,EAAE,QAAQ,EAAE,oBAAoB,EAAE;8FAET,wBAAwB,CA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B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uBAAuB,uICfpC,oKAEA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDaa,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,WAEnB,EAAE,EAAA,eAAA,EACM,uBAAuB,CAAC,MAAM,kBAC/BA,cAAkB,EAAA,QAAA,EAAA,oKAAA,EAAA;;;AEbpC;;ACAA;;ACAA;;AAEG;;;;"}
|
|
@@ -64,17 +64,15 @@ class BsHierarchyChartComponent {
|
|
|
64
64
|
...(ngDevMode ? [{ debugName: "labelFormatter" }] : /* istanbul ignore next */ []));
|
|
65
65
|
this.loadChildren = input(null, /* @ts-ignore */
|
|
66
66
|
...(ngDevMode ? [{ debugName: "loadChildren" }] : /* istanbul ignore next */ []));
|
|
67
|
-
/** The focus node changed (null: the tree root). */
|
|
68
|
-
this.rootidchange = output();
|
|
69
67
|
/** The chart re-rooted on a node; the detail has its path. */
|
|
70
68
|
this.zoom = output();
|
|
71
69
|
/** A leaf was clicked or activated with Enter. */
|
|
72
|
-
this.
|
|
70
|
+
this.nodeSelect = output();
|
|
73
71
|
/** The hovered node changed (`node` null when the pointer leaves). */
|
|
74
|
-
this.
|
|
72
|
+
this.nodeHover = output();
|
|
75
73
|
/** A lazy `loadChildren` call rejected; activating the node retries. */
|
|
76
|
-
this.
|
|
77
|
-
this.#core = useCore(hierarchyChartCore, { inputs: () => ({ data: this.data(), layout: this.layout(), rootId: this.rootId(), maxDepth: this.maxDepth(), minAngle: this.minAngle(), minSize: this.minSize(), showLabels: this.showLabels(), labelFontSize: this.labelFontSize(), backdrop: this.backdrop(), colorMin: this.colorMin(), colorMax: this.colorMax(), colorStart: this.colorStart(), colorEnd: this.colorEnd(), transitionDuration: this.transitionDuration(), locale: this.locale(), zoomGestures: this.zoomGestures(), zoomHintLabel: this.zoomHintLabel(), showBreadcrumb: this.showBreadcrumb(), breadcrumbLabel: this.breadcrumbLabel(), zoomOutLabel: this.zoomOutLabel(), metricUnitLabel: this.metricUnitLabel(), valueUnitLabel: this.valueUnitLabel(), loadingLabel: this.loadingLabel(), inputLabel: this.inputLabel(), tooltipFormatter: this.tooltipFormatter(), labelFormatter: this.labelFormatter(), loadChildren: this.loadChildren() }), idPrefix: 'bs-hierarchy-chart', outputs: {
|
|
74
|
+
this.nodeLoadError = output();
|
|
75
|
+
this.#core = useCore(hierarchyChartCore, { inputs: () => ({ data: this.data(), layout: this.layout(), rootId: this.rootId(), maxDepth: this.maxDepth(), minAngle: this.minAngle(), minSize: this.minSize(), showLabels: this.showLabels(), labelFontSize: this.labelFontSize(), backdrop: this.backdrop(), colorMin: this.colorMin(), colorMax: this.colorMax(), colorStart: this.colorStart(), colorEnd: this.colorEnd(), transitionDuration: this.transitionDuration(), locale: this.locale(), zoomGestures: this.zoomGestures(), zoomHintLabel: this.zoomHintLabel(), showBreadcrumb: this.showBreadcrumb(), breadcrumbLabel: this.breadcrumbLabel(), zoomOutLabel: this.zoomOutLabel(), metricUnitLabel: this.metricUnitLabel(), valueUnitLabel: this.valueUnitLabel(), loadingLabel: this.loadingLabel(), inputLabel: this.inputLabel(), tooltipFormatter: this.tooltipFormatter(), labelFormatter: this.labelFormatter(), loadChildren: this.loadChildren() }), idPrefix: 'bs-hierarchy-chart', outputs: { zoom: this.zoom, nodeSelect: this.nodeSelect, nodeHover: this.nodeHover, nodeLoadError: this.nodeLoadError }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'hierarchy-chart' }), models: { rootId: this.rootId } });
|
|
78
76
|
/** The template's props. */
|
|
79
77
|
this.props = this.#core.props;
|
|
80
78
|
useScopedStyles('hierarchy-chart', hierarchyChartScopedStyles);
|
|
@@ -100,12 +98,12 @@ class BsHierarchyChartComponent {
|
|
|
100
98
|
return this.#core.call('zoomLevel', args);
|
|
101
99
|
}
|
|
102
100
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsHierarchyChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
103
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsHierarchyChartComponent, isStandalone: true, selector: "bs-hierarchy-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, rootId: { classPropertyName: "rootId", publicName: "rootId", isSignal: true, isRequired: false, transformFunction: null }, maxDepth: { classPropertyName: "maxDepth", publicName: "maxDepth", isSignal: true, isRequired: false, transformFunction: null }, minAngle: { classPropertyName: "minAngle", publicName: "minAngle", isSignal: true, isRequired: false, transformFunction: null }, minSize: { classPropertyName: "minSize", publicName: "minSize", isSignal: true, isRequired: false, transformFunction: null }, showLabels: { classPropertyName: "showLabels", publicName: "showLabels", isSignal: true, isRequired: false, transformFunction: null }, labelFontSize: { classPropertyName: "labelFontSize", publicName: "labelFontSize", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, colorMin: { classPropertyName: "colorMin", publicName: "colorMin", isSignal: true, isRequired: false, transformFunction: null }, colorMax: { classPropertyName: "colorMax", publicName: "colorMax", isSignal: true, isRequired: false, transformFunction: null }, colorStart: { classPropertyName: "colorStart", publicName: "colorStart", isSignal: true, isRequired: false, transformFunction: null }, colorEnd: { classPropertyName: "colorEnd", publicName: "colorEnd", isSignal: true, isRequired: false, transformFunction: null }, transitionDuration: { classPropertyName: "transitionDuration", publicName: "transitionDuration", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, zoomGestures: { classPropertyName: "zoomGestures", publicName: "zoomGestures", isSignal: true, isRequired: false, transformFunction: null }, zoomHintLabel: { classPropertyName: "zoomHintLabel", publicName: "zoomHintLabel", isSignal: true, isRequired: false, transformFunction: null }, showBreadcrumb: { classPropertyName: "showBreadcrumb", publicName: "showBreadcrumb", isSignal: true, isRequired: false, transformFunction: null }, breadcrumbLabel: { classPropertyName: "breadcrumbLabel", publicName: "breadcrumbLabel", isSignal: true, isRequired: false, transformFunction: null }, zoomOutLabel: { classPropertyName: "zoomOutLabel", publicName: "zoomOutLabel", isSignal: true, isRequired: false, transformFunction: null }, metricUnitLabel: { classPropertyName: "metricUnitLabel", publicName: "metricUnitLabel", isSignal: true, isRequired: false, transformFunction: null }, valueUnitLabel: { classPropertyName: "valueUnitLabel", publicName: "valueUnitLabel", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, tooltipFormatter: { classPropertyName: "tooltipFormatter", publicName: "tooltipFormatter", isSignal: true, isRequired: false, transformFunction: null }, labelFormatter: { classPropertyName: "labelFormatter", publicName: "labelFormatter", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rootId: "rootIdChange",
|
|
101
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsHierarchyChartComponent, isStandalone: true, selector: "bs-hierarchy-chart", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, rootId: { classPropertyName: "rootId", publicName: "rootId", isSignal: true, isRequired: false, transformFunction: null }, maxDepth: { classPropertyName: "maxDepth", publicName: "maxDepth", isSignal: true, isRequired: false, transformFunction: null }, minAngle: { classPropertyName: "minAngle", publicName: "minAngle", isSignal: true, isRequired: false, transformFunction: null }, minSize: { classPropertyName: "minSize", publicName: "minSize", isSignal: true, isRequired: false, transformFunction: null }, showLabels: { classPropertyName: "showLabels", publicName: "showLabels", isSignal: true, isRequired: false, transformFunction: null }, labelFontSize: { classPropertyName: "labelFontSize", publicName: "labelFontSize", isSignal: true, isRequired: false, transformFunction: null }, backdrop: { classPropertyName: "backdrop", publicName: "backdrop", isSignal: true, isRequired: false, transformFunction: null }, colorMin: { classPropertyName: "colorMin", publicName: "colorMin", isSignal: true, isRequired: false, transformFunction: null }, colorMax: { classPropertyName: "colorMax", publicName: "colorMax", isSignal: true, isRequired: false, transformFunction: null }, colorStart: { classPropertyName: "colorStart", publicName: "colorStart", isSignal: true, isRequired: false, transformFunction: null }, colorEnd: { classPropertyName: "colorEnd", publicName: "colorEnd", isSignal: true, isRequired: false, transformFunction: null }, transitionDuration: { classPropertyName: "transitionDuration", publicName: "transitionDuration", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, zoomGestures: { classPropertyName: "zoomGestures", publicName: "zoomGestures", isSignal: true, isRequired: false, transformFunction: null }, zoomHintLabel: { classPropertyName: "zoomHintLabel", publicName: "zoomHintLabel", isSignal: true, isRequired: false, transformFunction: null }, showBreadcrumb: { classPropertyName: "showBreadcrumb", publicName: "showBreadcrumb", isSignal: true, isRequired: false, transformFunction: null }, breadcrumbLabel: { classPropertyName: "breadcrumbLabel", publicName: "breadcrumbLabel", isSignal: true, isRequired: false, transformFunction: null }, zoomOutLabel: { classPropertyName: "zoomOutLabel", publicName: "zoomOutLabel", isSignal: true, isRequired: false, transformFunction: null }, metricUnitLabel: { classPropertyName: "metricUnitLabel", publicName: "metricUnitLabel", isSignal: true, isRequired: false, transformFunction: null }, valueUnitLabel: { classPropertyName: "valueUnitLabel", publicName: "valueUnitLabel", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, tooltipFormatter: { classPropertyName: "tooltipFormatter", publicName: "tooltipFormatter", isSignal: true, isRequired: false, transformFunction: null }, labelFormatter: { classPropertyName: "labelFormatter", publicName: "labelFormatter", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rootId: "rootIdChange", zoom: "zoom", nodeSelect: "nodeSelect", nodeHover: "nodeHover", nodeLoadError: "nodeLoadError" }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/charts/hierarchy/src/templates/hierarchy-chart.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.breadcrumb) {\n <nav data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.breadcrumb.nav\">\n @for (c of p_view.breadcrumb.items; track c.key) {\n @if (c.current) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"c.current\">\n {{ c.text }}\n </span>\n }\n @if (c.button) {\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"c.button\">\n {{ c.text }}\n </button>\n }\n @if (c.sep) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"c.sep\">\n /\n </span>\n }\n }\n </nav>\n}\n<div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.chart\" [style]=\"p_view.chartStyle\">\n @if (p_view.sunburst) {\n <svg data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.svg\">\n <g data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.g\">\n @for (a of p_view.sunburst.arcs; track a.key) {\n <path data-mps=\"hierarchy-chart\" [mpProps]=\"a.bag\"></path>\n }\n @for (l of p_view.sunburst.labels; track l.key) {\n <text data-mps=\"hierarchy-chart\" [mpProps]=\"l.bag\">\n {{ l.text }}\n </text>\n }\n </g>\n </svg>\n }\n @if (p_view.sunburst) {\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.center.bag\" [style]=\"p_view.sunburst.center.style\">\n {{ p_view.sunburst.center.text }}\n </button>\n }\n @if (p_view.icicle) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.icicle.tree\">\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.icicle.focus.bag\" [style]=\"p_view.icicle.focus.style\">\n @if (p_view.icicle.focus.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ p_view.icicle.focus.label }}\n </span>\n }\n </div>\n @for (c of p_view.icicle.cells; track c.key) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"c.bag\" [style]=\"c.style\">\n @if (c.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ c.label }}\n </span>\n }\n </div>\n }\n </div>\n }\n @if (p_view.treemap) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.wrap\">\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.header.bag\">\n {{ p_view.treemap.header.text }}\n </button>\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.body\">\n @for (c of p_view.treemap.cells; track c.key) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"c.bag\" [style]=\"c.style\">\n @if (c.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ c.label }}\n </span>\n }\n </div>\n }\n </div>\n </div>\n }\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.tooltip.bag\" [style]=\"p_view.tooltip.style\">\n {{ p_view.tooltip.text }}\n </div>\n @if (p_view.hint) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.hint.bag\">\n {{ p_view.hint.text }}\n </div>\n }\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
104
102
|
}
|
|
105
103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsHierarchyChartComponent, decorators: [{
|
|
106
104
|
type: Component,
|
|
107
105
|
args: [{ selector: 'bs-hierarchy-chart', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/charts/hierarchy/src/templates/hierarchy-chart.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.breadcrumb) {\n <nav data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.breadcrumb.nav\">\n @for (c of p_view.breadcrumb.items; track c.key) {\n @if (c.current) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"c.current\">\n {{ c.text }}\n </span>\n }\n @if (c.button) {\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"c.button\">\n {{ c.text }}\n </button>\n }\n @if (c.sep) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"c.sep\">\n /\n </span>\n }\n }\n </nav>\n}\n<div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.chart\" [style]=\"p_view.chartStyle\">\n @if (p_view.sunburst) {\n <svg data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.svg\">\n <g data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.g\">\n @for (a of p_view.sunburst.arcs; track a.key) {\n <path data-mps=\"hierarchy-chart\" [mpProps]=\"a.bag\"></path>\n }\n @for (l of p_view.sunburst.labels; track l.key) {\n <text data-mps=\"hierarchy-chart\" [mpProps]=\"l.bag\">\n {{ l.text }}\n </text>\n }\n </g>\n </svg>\n }\n @if (p_view.sunburst) {\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.center.bag\" [style]=\"p_view.sunburst.center.style\">\n {{ p_view.sunburst.center.text }}\n </button>\n }\n @if (p_view.icicle) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.icicle.tree\">\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.icicle.focus.bag\" [style]=\"p_view.icicle.focus.style\">\n @if (p_view.icicle.focus.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ p_view.icicle.focus.label }}\n </span>\n }\n </div>\n @for (c of p_view.icicle.cells; track c.key) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"c.bag\" [style]=\"c.style\">\n @if (c.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ c.label }}\n </span>\n }\n </div>\n }\n </div>\n }\n @if (p_view.treemap) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.wrap\">\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.header.bag\">\n {{ p_view.treemap.header.text }}\n </button>\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.body\">\n @for (c of p_view.treemap.cells; track c.key) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"c.bag\" [style]=\"c.style\">\n @if (c.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ c.label }}\n </span>\n }\n </div>\n }\n </div>\n </div>\n }\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.tooltip.bag\" [style]=\"p_view.tooltip.style\">\n {{ p_view.tooltip.text }}\n </div>\n @if (p_view.hint) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.hint.bag\">\n {{ p_view.hint.text }}\n </div>\n }\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n </div>\n</div>\n" }]
|
|
108
|
-
}], ctorParameters: () => [], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], rootId: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootId", required: false }] }, { type: i0.Output, args: ["rootIdChange"] }], maxDepth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDepth", required: false }] }], minAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "minAngle", required: false }] }], minSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "minSize", required: false }] }], showLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLabels", required: false }] }], labelFontSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelFontSize", required: false }] }], backdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdrop", required: false }] }], colorMin: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorMin", required: false }] }], colorMax: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorMax", required: false }] }], colorStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorStart", required: false }] }], colorEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorEnd", required: false }] }], transitionDuration: [{ type: i0.Input, args: [{ isSignal: true, alias: "transitionDuration", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], zoomGestures: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomGestures", required: false }] }], zoomHintLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomHintLabel", required: false }] }], showBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBreadcrumb", required: false }] }], breadcrumbLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumbLabel", required: false }] }], zoomOutLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomOutLabel", required: false }] }], metricUnitLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricUnitLabel", required: false }] }], valueUnitLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueUnitLabel", required: false }] }], loadingLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingLabel", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], tooltipFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipFormatter", required: false }] }], labelFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelFormatter", required: false }] }], loadChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadChildren", required: false }] }],
|
|
106
|
+
}], ctorParameters: () => [], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], rootId: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootId", required: false }] }, { type: i0.Output, args: ["rootIdChange"] }], maxDepth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDepth", required: false }] }], minAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "minAngle", required: false }] }], minSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "minSize", required: false }] }], showLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLabels", required: false }] }], labelFontSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelFontSize", required: false }] }], backdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdrop", required: false }] }], colorMin: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorMin", required: false }] }], colorMax: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorMax", required: false }] }], colorStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorStart", required: false }] }], colorEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorEnd", required: false }] }], transitionDuration: [{ type: i0.Input, args: [{ isSignal: true, alias: "transitionDuration", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], zoomGestures: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomGestures", required: false }] }], zoomHintLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomHintLabel", required: false }] }], showBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBreadcrumb", required: false }] }], breadcrumbLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumbLabel", required: false }] }], zoomOutLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomOutLabel", required: false }] }], metricUnitLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "metricUnitLabel", required: false }] }], valueUnitLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueUnitLabel", required: false }] }], loadingLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingLabel", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], tooltipFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipFormatter", required: false }] }], labelFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelFormatter", required: false }] }], loadChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadChildren", required: false }] }], zoom: [{ type: i0.Output, args: ["zoom"] }], nodeSelect: [{ type: i0.Output, args: ["nodeSelect"] }], nodeHover: [{ type: i0.Output, args: ["nodeHover"] }], nodeLoadError: [{ type: i0.Output, args: ["nodeLoadError"] }] } });
|
|
109
107
|
|
|
110
108
|
// GENERATED from the charts/hierarchy manifest by @mintplayer/nx-component-compiler. Do not edit.
|
|
111
109
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-charts-hierarchy.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/generated/hierarchy-chart.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/generated/hierarchy-chart.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/mintplayer-ng-bootstrap-charts-hierarchy.ts"],"sourcesContent":["// GENERATED from the charts/hierarchy manifest (hierarchy-chart) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { hierarchyChartCore, type HierarchyChartInputs, type HierarchyChartMethods, hierarchyChartScopedStyles, type HierarchyHoverEventDetail, type HierarchyLoadErrorEventDetail, type HierarchyNodeEventDetail } from '@mintplayer/ui-core/charts/hierarchy';\n\n/**\n * One weighted tree, three projections: `layout` is sunburst, icicle or treemap.\n *\n * Size follows the summed leaf `value`, colour follows `colorValue`. Click, Enter or a breadcrumb re-roots\n * on a node (two-way `rootId`); ctrl/cmd+wheel, pinch and `+` / `-` / `0` magnify it geometrically.\n * Every node is a treeitem: arrows move between siblings (Down goes outward), Escape and Backspace zoom out.\n * The server renders the finished chart at a 420px fallback scale, its controls inert until it is live.\n */\n@Component({\n selector: 'bs-hierarchy-chart',\n templateUrl: './hierarchy-chart.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsHierarchyChartComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly data = input<HierarchyChartInputs['data']>(null);\n readonly layout = input<HierarchyChartInputs['layout']>('sunburst');\n readonly rootId = model<HierarchyChartInputs['rootId']>(null);\n /** A positive number, or `auto`. */\n readonly maxDepth = input<HierarchyChartInputs['maxDepth']>(null);\n readonly minAngle = input<HierarchyChartInputs['minAngle'], unknown>(0.2, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['minAngle'] });\n readonly minSize = input<HierarchyChartInputs['minSize'], unknown>(4, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['minSize'] });\n readonly showLabels = input<HierarchyChartInputs['showLabels'], unknown>(true, { transform: booleanAttribute });\n readonly labelFontSize = input<HierarchyChartInputs['labelFontSize'], unknown>(12, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['labelFontSize'] });\n readonly backdrop = input<HierarchyChartInputs['backdrop']>(null);\n readonly colorMin = input<HierarchyChartInputs['colorMin'], unknown>(0, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['colorMin'] });\n readonly colorMax = input<HierarchyChartInputs['colorMax'], unknown>(100, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['colorMax'] });\n readonly colorStart = input<HierarchyChartInputs['colorStart']>('#fe0000');\n readonly colorEnd = input<HierarchyChartInputs['colorEnd']>('#21b577');\n readonly transitionDuration = input<HierarchyChartInputs['transitionDuration'], unknown>(300, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['transitionDuration'] });\n readonly locale = input<HierarchyChartInputs['locale']>(null);\n readonly zoomGestures = input<HierarchyChartInputs['zoomGestures']>('wheel pinch');\n readonly zoomHintLabel = input<HierarchyChartInputs['zoomHintLabel']>(null);\n readonly showBreadcrumb = input<HierarchyChartInputs['showBreadcrumb'], unknown>(false, { transform: booleanAttribute });\n readonly breadcrumbLabel = input<HierarchyChartInputs['breadcrumbLabel']>('Chart path');\n readonly zoomOutLabel = input<HierarchyChartInputs['zoomOutLabel']>('Zoom out one level');\n readonly metricUnitLabel = input<HierarchyChartInputs['metricUnitLabel']>('%');\n readonly valueUnitLabel = input<HierarchyChartInputs['valueUnitLabel']>('');\n readonly loadingLabel = input<HierarchyChartInputs['loadingLabel']>('Loading');\n readonly inputLabel = input<HierarchyChartInputs['inputLabel']>(null);\n readonly tooltipFormatter = input<HierarchyChartInputs['tooltipFormatter']>(null);\n readonly labelFormatter = input<HierarchyChartInputs['labelFormatter']>(null);\n readonly loadChildren = input<HierarchyChartInputs['loadChildren']>(null);\n /** The focus node changed (null: the tree root). */\n readonly rootidchange = output<string | null>();\n /** The chart re-rooted on a node; the detail has its path. */\n readonly zoom = output<HierarchyNodeEventDetail>();\n /** A leaf was clicked or activated with Enter. */\n readonly nodeselect = output<HierarchyNodeEventDetail>();\n /** The hovered node changed (`node` null when the pointer leaves). */\n readonly nodehover = output<HierarchyHoverEventDetail>();\n /** A lazy `loadChildren` call rejected; activating the node retries. */\n readonly nodeloaderror = output<HierarchyLoadErrorEventDetail>();\n\n readonly #core = useCore(hierarchyChartCore, { inputs: () => ({ data: this.data(), layout: this.layout(), rootId: this.rootId(), maxDepth: this.maxDepth(), minAngle: this.minAngle(), minSize: this.minSize(), showLabels: this.showLabels(), labelFontSize: this.labelFontSize(), backdrop: this.backdrop(), colorMin: this.colorMin(), colorMax: this.colorMax(), colorStart: this.colorStart(), colorEnd: this.colorEnd(), transitionDuration: this.transitionDuration(), locale: this.locale(), zoomGestures: this.zoomGestures(), zoomHintLabel: this.zoomHintLabel(), showBreadcrumb: this.showBreadcrumb(), breadcrumbLabel: this.breadcrumbLabel(), zoomOutLabel: this.zoomOutLabel(), metricUnitLabel: this.metricUnitLabel(), valueUnitLabel: this.valueUnitLabel(), loadingLabel: this.loadingLabel(), inputLabel: this.inputLabel(), tooltipFormatter: this.tooltipFormatter(), labelFormatter: this.labelFormatter(), loadChildren: this.loadChildren() }), idPrefix: 'bs-hierarchy-chart', outputs: { rootIdChange: this.rootidchange, zoom: this.zoom, nodeSelect: this.nodeselect, nodeHover: this.nodehover, nodeLoadError: this.nodeloaderror }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'hierarchy-chart' }), models: { rootId: this.rootId } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('hierarchy-chart', hierarchyChartScopedStyles);\n }\n\n /** Re-root on a node id (the tree root when omitted). */\n zoomTo(...args: Parameters<HierarchyChartMethods['zoomTo']>): ReturnType<HierarchyChartMethods['zoomTo']> {\n return this.#core.call('zoomTo', args) as ReturnType<HierarchyChartMethods['zoomTo']>;\n }\n\n /** Move focus to a rendered node. */\n focusNode(...args: Parameters<HierarchyChartMethods['focusNode']>): ReturnType<HierarchyChartMethods['focusNode']> {\n return this.#core.call('focusNode', args) as ReturnType<HierarchyChartMethods['focusNode']>;\n }\n\n /** Magnify geometrically, anchored at chart fractions (default: the centre). */\n setZoomLevel(...args: Parameters<HierarchyChartMethods['setZoomLevel']>): ReturnType<HierarchyChartMethods['setZoomLevel']> {\n return this.#core.call('setZoomLevel', args) as ReturnType<HierarchyChartMethods['setZoomLevel']>;\n }\n\n /** Back to the fitted view. */\n resetZoom(...args: Parameters<HierarchyChartMethods['resetZoom']>): ReturnType<HierarchyChartMethods['resetZoom']> {\n return this.#core.call('resetZoom', args) as ReturnType<HierarchyChartMethods['resetZoom']>;\n }\n\n /** The current geometric magnification (1 = fitted). */\n zoomLevel(...args: Parameters<HierarchyChartMethods['zoomLevel']>): ReturnType<HierarchyChartMethods['zoomLevel']> {\n return this.#core.call('zoomLevel', args) as ReturnType<HierarchyChartMethods['zoomLevel']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/charts/hierarchy/src/templates/hierarchy-chart.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.breadcrumb) {\n <nav data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.breadcrumb.nav\">\n @for (c of p_view.breadcrumb.items; track c.key) {\n @if (c.current) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"c.current\">\n {{ c.text }}\n </span>\n }\n @if (c.button) {\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"c.button\">\n {{ c.text }}\n </button>\n }\n @if (c.sep) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"c.sep\">\n /\n </span>\n }\n }\n </nav>\n}\n<div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.chart\" [style]=\"p_view.chartStyle\">\n @if (p_view.sunburst) {\n <svg data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.svg\">\n <g data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.g\">\n @for (a of p_view.sunburst.arcs; track a.key) {\n <path data-mps=\"hierarchy-chart\" [mpProps]=\"a.bag\"></path>\n }\n @for (l of p_view.sunburst.labels; track l.key) {\n <text data-mps=\"hierarchy-chart\" [mpProps]=\"l.bag\">\n {{ l.text }}\n </text>\n }\n </g>\n </svg>\n }\n @if (p_view.sunburst) {\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.center.bag\" [style]=\"p_view.sunburst.center.style\">\n {{ p_view.sunburst.center.text }}\n </button>\n }\n @if (p_view.icicle) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.icicle.tree\">\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.icicle.focus.bag\" [style]=\"p_view.icicle.focus.style\">\n @if (p_view.icicle.focus.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ p_view.icicle.focus.label }}\n </span>\n }\n </div>\n @for (c of p_view.icicle.cells; track c.key) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"c.bag\" [style]=\"c.style\">\n @if (c.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ c.label }}\n </span>\n }\n </div>\n }\n </div>\n }\n @if (p_view.treemap) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.wrap\">\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.header.bag\">\n {{ p_view.treemap.header.text }}\n </button>\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.body\">\n @for (c of p_view.treemap.cells; track c.key) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"c.bag\" [style]=\"c.style\">\n @if (c.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ c.label }}\n </span>\n }\n </div>\n }\n </div>\n </div>\n }\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.tooltip.bag\" [style]=\"p_view.tooltip.style\">\n {{ p_view.tooltip.text }}\n </div>\n @if (p_view.hint) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.hint.bag\">\n {{ p_view.hint.text }}\n </div>\n }\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n </div>\n</div>\n","// GENERATED from the charts/hierarchy manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsHierarchyChartComponent } from './hierarchy-chart.component.generated';\n","// The hierarchy chart is generated from @mintplayer/ui-core/charts/hierarchy (PRD #437 D10).\nexport * from './generated';\nexport type {\n HierarchyChartLayout,\n HierarchyChildrenLoader,\n HierarchyHoverEventDetail,\n HierarchyLoadErrorEventDetail,\n HierarchyNode,\n HierarchyNodeEventDetail,\n HierarchyNodeFormatter,\n} from '@mintplayer/ui-core/charts/hierarchy';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AAKA;;;;;;;AAOG;MAOU,yBAAyB,CAAA;AA2C3B,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AA7CS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA+B,IAAI;iFAAC;QAChD,IAAA,CAAA,MAAM,GAAG,KAAK,CAAiC,UAAU;mFAAC;QAC1D,IAAA,CAAA,MAAM,GAAG,KAAK,CAAiC,IAAI;mFAAC;;QAEpD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAmC,IAAI;qFAAC;AACxD,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,C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BAAA,EAAA,UAAA,EAAA,kBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,cAAA,EAAA,YAAA,EAAA,cAAA,EAAA,IAAA,EAAA,MAAA,EAAA,UAAA,EAAA,YAAA,EAAA,SAAA,EAAA,WAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECnBtC,27GA6FA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED7EY,gBAAgB,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,WAErB,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,27GAAA,EAAA;;;AEjBjD;;ACAA;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-charts-hierarchy.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/generated/hierarchy-chart.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/generated/hierarchy-chart.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/charts/hierarchy/mintplayer-ng-bootstrap-charts-hierarchy.ts"],"sourcesContent":["// GENERATED from the charts/hierarchy manifest (hierarchy-chart) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { hierarchyChartCore, type HierarchyChartInputs, type HierarchyChartMethods, hierarchyChartScopedStyles, type HierarchyHoverEventDetail, type HierarchyLoadErrorEventDetail, type HierarchyNodeEventDetail } from '@mintplayer/ui-core/charts/hierarchy';\n\n/**\n * One weighted tree, three projections: `layout` is sunburst, icicle or treemap.\n *\n * Size follows the summed leaf `value`, colour follows `colorValue`. Click, Enter or a breadcrumb re-roots\n * on a node (two-way `rootId`); ctrl/cmd+wheel, pinch and `+` / `-` / `0` magnify it geometrically.\n * Every node is a treeitem: arrows move between siblings (Down goes outward), Escape and Backspace zoom out.\n * The server renders the finished chart at a 420px fallback scale, its controls inert until it is live.\n */\n@Component({\n selector: 'bs-hierarchy-chart',\n templateUrl: './hierarchy-chart.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsHierarchyChartComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly data = input<HierarchyChartInputs['data']>(null);\n readonly layout = input<HierarchyChartInputs['layout']>('sunburst');\n readonly rootId = model<HierarchyChartInputs['rootId']>(null);\n /** A positive number, or `auto`. */\n readonly maxDepth = input<HierarchyChartInputs['maxDepth']>(null);\n readonly minAngle = input<HierarchyChartInputs['minAngle'], unknown>(0.2, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['minAngle'] });\n readonly minSize = input<HierarchyChartInputs['minSize'], unknown>(4, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['minSize'] });\n readonly showLabels = input<HierarchyChartInputs['showLabels'], unknown>(true, { transform: booleanAttribute });\n readonly labelFontSize = input<HierarchyChartInputs['labelFontSize'], unknown>(12, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['labelFontSize'] });\n readonly backdrop = input<HierarchyChartInputs['backdrop']>(null);\n readonly colorMin = input<HierarchyChartInputs['colorMin'], unknown>(0, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['colorMin'] });\n readonly colorMax = input<HierarchyChartInputs['colorMax'], unknown>(100, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['colorMax'] });\n readonly colorStart = input<HierarchyChartInputs['colorStart']>('#fe0000');\n readonly colorEnd = input<HierarchyChartInputs['colorEnd']>('#21b577');\n readonly transitionDuration = input<HierarchyChartInputs['transitionDuration'], unknown>(300, { transform: (v: unknown) => numberAttribute(v) as HierarchyChartInputs['transitionDuration'] });\n readonly locale = input<HierarchyChartInputs['locale']>(null);\n readonly zoomGestures = input<HierarchyChartInputs['zoomGestures']>('wheel pinch');\n readonly zoomHintLabel = input<HierarchyChartInputs['zoomHintLabel']>(null);\n readonly showBreadcrumb = input<HierarchyChartInputs['showBreadcrumb'], unknown>(false, { transform: booleanAttribute });\n readonly breadcrumbLabel = input<HierarchyChartInputs['breadcrumbLabel']>('Chart path');\n readonly zoomOutLabel = input<HierarchyChartInputs['zoomOutLabel']>('Zoom out one level');\n readonly metricUnitLabel = input<HierarchyChartInputs['metricUnitLabel']>('%');\n readonly valueUnitLabel = input<HierarchyChartInputs['valueUnitLabel']>('');\n readonly loadingLabel = input<HierarchyChartInputs['loadingLabel']>('Loading');\n readonly inputLabel = input<HierarchyChartInputs['inputLabel']>(null);\n readonly tooltipFormatter = input<HierarchyChartInputs['tooltipFormatter']>(null);\n readonly labelFormatter = input<HierarchyChartInputs['labelFormatter']>(null);\n readonly loadChildren = input<HierarchyChartInputs['loadChildren']>(null);\n /** The chart re-rooted on a node; the detail has its path. */\n readonly zoom = output<HierarchyNodeEventDetail>();\n /** A leaf was clicked or activated with Enter. */\n readonly nodeSelect = output<HierarchyNodeEventDetail>();\n /** The hovered node changed (`node` null when the pointer leaves). */\n readonly nodeHover = output<HierarchyHoverEventDetail>();\n /** A lazy `loadChildren` call rejected; activating the node retries. */\n readonly nodeLoadError = output<HierarchyLoadErrorEventDetail>();\n\n readonly #core = useCore(hierarchyChartCore, { inputs: () => ({ data: this.data(), layout: this.layout(), rootId: this.rootId(), maxDepth: this.maxDepth(), minAngle: this.minAngle(), minSize: this.minSize(), showLabels: this.showLabels(), labelFontSize: this.labelFontSize(), backdrop: this.backdrop(), colorMin: this.colorMin(), colorMax: this.colorMax(), colorStart: this.colorStart(), colorEnd: this.colorEnd(), transitionDuration: this.transitionDuration(), locale: this.locale(), zoomGestures: this.zoomGestures(), zoomHintLabel: this.zoomHintLabel(), showBreadcrumb: this.showBreadcrumb(), breadcrumbLabel: this.breadcrumbLabel(), zoomOutLabel: this.zoomOutLabel(), metricUnitLabel: this.metricUnitLabel(), valueUnitLabel: this.valueUnitLabel(), loadingLabel: this.loadingLabel(), inputLabel: this.inputLabel(), tooltipFormatter: this.tooltipFormatter(), labelFormatter: this.labelFormatter(), loadChildren: this.loadChildren() }), idPrefix: 'bs-hierarchy-chart', outputs: { zoom: this.zoom, nodeSelect: this.nodeSelect, nodeHover: this.nodeHover, nodeLoadError: this.nodeLoadError }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'hierarchy-chart' }), models: { rootId: this.rootId } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('hierarchy-chart', hierarchyChartScopedStyles);\n }\n\n /** Re-root on a node id (the tree root when omitted). */\n zoomTo(...args: Parameters<HierarchyChartMethods['zoomTo']>): ReturnType<HierarchyChartMethods['zoomTo']> {\n return this.#core.call('zoomTo', args) as ReturnType<HierarchyChartMethods['zoomTo']>;\n }\n\n /** Move focus to a rendered node. */\n focusNode(...args: Parameters<HierarchyChartMethods['focusNode']>): ReturnType<HierarchyChartMethods['focusNode']> {\n return this.#core.call('focusNode', args) as ReturnType<HierarchyChartMethods['focusNode']>;\n }\n\n /** Magnify geometrically, anchored at chart fractions (default: the centre). */\n setZoomLevel(...args: Parameters<HierarchyChartMethods['setZoomLevel']>): ReturnType<HierarchyChartMethods['setZoomLevel']> {\n return this.#core.call('setZoomLevel', args) as ReturnType<HierarchyChartMethods['setZoomLevel']>;\n }\n\n /** Back to the fitted view. */\n resetZoom(...args: Parameters<HierarchyChartMethods['resetZoom']>): ReturnType<HierarchyChartMethods['resetZoom']> {\n return this.#core.call('resetZoom', args) as ReturnType<HierarchyChartMethods['resetZoom']>;\n }\n\n /** The current geometric magnification (1 = fitted). */\n zoomLevel(...args: Parameters<HierarchyChartMethods['zoomLevel']>): ReturnType<HierarchyChartMethods['zoomLevel']> {\n return this.#core.call('zoomLevel', args) as ReturnType<HierarchyChartMethods['zoomLevel']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/charts/hierarchy/src/templates/hierarchy-chart.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@if (p_view.breadcrumb) {\n <nav data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.breadcrumb.nav\">\n @for (c of p_view.breadcrumb.items; track c.key) {\n @if (c.current) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"c.current\">\n {{ c.text }}\n </span>\n }\n @if (c.button) {\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"c.button\">\n {{ c.text }}\n </button>\n }\n @if (c.sep) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"c.sep\">\n /\n </span>\n }\n }\n </nav>\n}\n<div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.chart\" [style]=\"p_view.chartStyle\">\n @if (p_view.sunburst) {\n <svg data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.svg\">\n <g data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.g\">\n @for (a of p_view.sunburst.arcs; track a.key) {\n <path data-mps=\"hierarchy-chart\" [mpProps]=\"a.bag\"></path>\n }\n @for (l of p_view.sunburst.labels; track l.key) {\n <text data-mps=\"hierarchy-chart\" [mpProps]=\"l.bag\">\n {{ l.text }}\n </text>\n }\n </g>\n </svg>\n }\n @if (p_view.sunburst) {\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.sunburst.center.bag\" [style]=\"p_view.sunburst.center.style\">\n {{ p_view.sunburst.center.text }}\n </button>\n }\n @if (p_view.icicle) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.icicle.tree\">\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.icicle.focus.bag\" [style]=\"p_view.icicle.focus.style\">\n @if (p_view.icicle.focus.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ p_view.icicle.focus.label }}\n </span>\n }\n </div>\n @for (c of p_view.icicle.cells; track c.key) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"c.bag\" [style]=\"c.style\">\n @if (c.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ c.label }}\n </span>\n }\n </div>\n }\n </div>\n }\n @if (p_view.treemap) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.wrap\">\n <button data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.header.bag\">\n {{ p_view.treemap.header.text }}\n </button>\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.treemap.body\">\n @for (c of p_view.treemap.cells; track c.key) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"c.bag\" [style]=\"c.style\">\n @if (c.label !== null) {\n <span data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.cellLabel\">\n {{ c.label }}\n </span>\n }\n </div>\n }\n </div>\n </div>\n }\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.tooltip.bag\" [style]=\"p_view.tooltip.style\">\n {{ p_view.tooltip.text }}\n </div>\n @if (p_view.hint) {\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.hint.bag\">\n {{ p_view.hint.text }}\n </div>\n }\n <div data-mps=\"hierarchy-chart\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n </div>\n</div>\n","// GENERATED from the charts/hierarchy manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsHierarchyChartComponent } from './hierarchy-chart.component.generated';\n","// The hierarchy chart is generated from @mintplayer/ui-core/charts/hierarchy (PRD #437 D10).\nexport * from './generated';\nexport type {\n HierarchyChartLayout,\n HierarchyChildrenLoader,\n HierarchyHoverEventDetail,\n HierarchyLoadErrorEventDetail,\n HierarchyNode,\n HierarchyNodeEventDetail,\n HierarchyNodeFormatter,\n} from '@mintplayer/ui-core/charts/hierarchy';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AAKA;;;;;;;AAOG;MAOU,yBAAyB,CAAA;AAyC3B,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AA3CS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA+B,IAAI;iFAAC;QAChD,IAAA,CAAA,MAAM,GAAG,KAAK,CAAiC,UAAU;mFAAC;QAC1D,IAAA,CAAA,MAAM,GAAG,KAAK,CAAiC,IAAI;mFAAC;;QAEpD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAmC,IAAI;qFAAC;AACxD,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAA4C,GAAG,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,UAAA,EAAA,8BAAA,EAAA,CAAA,E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