@mintplayer/ng-bootstrap 22.33.0 → 22.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +6 -6
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +3 -3
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +4 -4
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/package.json +2 -2
- package/types/mintplayer-ng-bootstrap-machine.d.ts +6 -0
|
@@ -72,7 +72,7 @@ class BsAccordionTabComponent {
|
|
|
72
72
|
/** The template's named slots. */
|
|
73
73
|
this.slots = computed(() => ({ header: this.headerSlot()?.templateRef }), /* @ts-ignore */
|
|
74
74
|
...(ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []));
|
|
75
|
-
this.#core = useCore(accordionTabCore, { inputs: () => ({ open: this.open(), disabled: this.disabled() }), idPrefix: 'bs-accordion-tab', models: { open: this.open } });
|
|
75
|
+
this.#core = useCore(accordionTabCore, { inputs: () => ({ open: this.open(), disabled: this.disabled() }), idPrefix: 'bs-accordion-tab', hostScope: 'accordion', models: { open: this.open } });
|
|
76
76
|
/** The template's props. */
|
|
77
77
|
this.props = this.#core.props;
|
|
78
78
|
useScopedStyles(bootstrapAccordion.key, bootstrapAccordion.css, { order: bootstrapAccordion.order });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-accordion.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/accordion.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/accordion.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/accordion-tab.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/accordion-tab.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/accordion/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/accordion/mintplayer-ng-bootstrap-accordion.ts"],"sourcesContent":["// GENERATED from the accordion manifest (accordion) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, output } from '@angular/core';\nimport { provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { ACCORDION, accordionCore, type AccordionInputs, type AccordionMethods, accordionScopedStyles, type AccordionTabToggle } from '@mintplayer/ui-core/accordion';\nimport { bootstrapAccordion } from '@mintplayer/ui-core/bootstrap/accordion';\n\n/**\n * A Bootstrap accordion on native `<details name>` (#458): every tab opens and closes with\n * JavaScript off, and single-open is the platform's exclusivity. Declare `accordion-tab`s as\n * content. Up/Down/Home/End move between headers.\n */\n@Component({\n selector: 'bs-accordion',\n templateUrl: './accordion.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(ACCORDION, BsAccordionComponent)],\n})\nexport class BsAccordionComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Allow several tabs open at once. */\n readonly multi = input<AccordionInputs['multi'], unknown>(false, { transform: booleanAttribute });\n /** Paint the open header with the Bootstrap active background. */\n readonly highlightActiveTab = input<AccordionInputs['highlightActiveTab'], unknown>(false, { transform: booleanAttribute });\n /** A tab of this accordion (never a nested one's) opened or closed. */\n readonly tabToggle = output<AccordionTabToggle>();\n\n readonly #core = useCore(accordionCore, { inputs: () => ({ multi: this.multi(), highlightActiveTab: this.highlightActiveTab() }), idPrefix: 'bs-accordion', outputs: { tabToggle: this.tabToggle }, hostBag: (props) => ({ ...props.root, 'data-mps': 'accordion' }) });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapAccordion.key, bootstrapAccordion.css, { order: bootstrapAccordion.order }); useScopedStyles('accordion', accordionScopedStyles);\n }\n\n /** Close every open tab, and every accordion nested inside them. */\n closeAll(...args: Parameters<AccordionMethods['closeAll']>): ReturnType<AccordionMethods['closeAll']> {\n return this.#core.call('closeAll', args) as ReturnType<AccordionMethods['closeAll']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/accordion/src/templates/accordion.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the accordion manifest (accordion-tab) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { accordionScopedStyles, accordionTabCore, type AccordionTabInputs, type AccordionTabMethods } from '@mintplayer/ui-core/accordion';\nimport { bootstrapAccordion } from '@mintplayer/ui-core/bootstrap/accordion';\n\n/** The `header` slot of `<bs-accordion-tab>`: `<ng-template bsAccordionTabHeader>` or `*bsAccordionTabHeader`. */\n@Directive({ selector: '[bsAccordionTabHeader]' })\nexport class BsAccordionTabHeaderDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * One tab of an accordion: a `<details>` whose `header` slot is the summary and whose content is\n * the body. `open` is two-way.\n */\n@Component({\n selector: 'bs-accordion-tab',\n templateUrl: './accordion-tab.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsAccordionTabComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly open = model<AccordionTabInputs['open']>(false);\n readonly disabled = input<AccordionTabInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n\n private readonly headerSlot = contentChild(BsAccordionTabHeaderDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ header: this.headerSlot()?.templateRef }));\n readonly #core = useCore(accordionTabCore, { inputs: () => ({ open: this.open(), disabled: this.disabled() }), idPrefix: 'bs-accordion-tab', models: { open: this.open } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapAccordion.key, bootstrapAccordion.css, { order: bootstrapAccordion.order }); useScopedStyles('accordion', accordionScopedStyles);\n }\n\n /** Open or close the tab through its `<details>`, so exclusivity and the nested collapse apply. */\n setOpen(...args: Parameters<AccordionTabMethods['setOpen']>): ReturnType<AccordionTabMethods['setOpen']> {\n return this.#core.call('setOpen', args) as ReturnType<AccordionTabMethods['setOpen']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/accordion/src/templates/accordion-tab.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<details data-mps=\"accordion\" [mpProps]=\"p_view.item\" #root>\n <summary data-mps=\"accordion\" [mpProps]=\"p_view.summary\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" />\n }\n </summary>\n <div data-mps=\"accordion\" [mpProps]=\"p_view.content\">\n <ng-content />\n </div>\n</details>\n","// GENERATED from the accordion manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsAccordionComponent } from './accordion.component.generated';\nexport { BsAccordionTabComponent, BsAccordionTabHeaderDirective } from './accordion-tab.component.generated';\n","// Generated from @mintplayer/ui-core/accordion (#458 M4, D10): bs-accordion, bs-accordion-tab and\n// the *bsAccordionTabHeader slot.\nexport * from './generated';\nexport type { AccordionTabToggle } from '@mintplayer/ui-core/accordion';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAMA;;;;AAIG;MAQU,oBAAoB,CAAA;AAWtB,IAAA,KAAK;AAMd,IAAA,WAAA,GAAA;;AAfS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,KAAK,GAAG,KAAK,CAAoC,KAAK,6EAAI,SAAS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,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uBAAuB,uZAOS,6BAA6B,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC9B1E,whBAYA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDQY,gBAAgB,wGAAE,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGjC,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,SAAS;+BACE,kBAAkB,EAAA,OAAA,EAEnB,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAA,eAAA,EAC5B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,whBAAA,EAAA;4VASJ,6BAA6B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE9B1E;;ACAA;AACA;;ACDA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-accordion.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/accordion.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/accordion.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/accordion-tab.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/accordion-tab.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/accordion/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/accordion/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/accordion/mintplayer-ng-bootstrap-accordion.ts"],"sourcesContent":["// GENERATED from the accordion manifest (accordion) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, output } from '@angular/core';\nimport { provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { ACCORDION, accordionCore, type AccordionInputs, type AccordionMethods, accordionScopedStyles, type AccordionTabToggle } from '@mintplayer/ui-core/accordion';\nimport { bootstrapAccordion } from '@mintplayer/ui-core/bootstrap/accordion';\n\n/**\n * A Bootstrap accordion on native `<details name>` (#458): every tab opens and closes with\n * JavaScript off, and single-open is the platform's exclusivity. Declare `accordion-tab`s as\n * content. Up/Down/Home/End move between headers.\n */\n@Component({\n selector: 'bs-accordion',\n templateUrl: './accordion.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(ACCORDION, BsAccordionComponent)],\n})\nexport class BsAccordionComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Allow several tabs open at once. */\n readonly multi = input<AccordionInputs['multi'], unknown>(false, { transform: booleanAttribute });\n /** Paint the open header with the Bootstrap active background. */\n readonly highlightActiveTab = input<AccordionInputs['highlightActiveTab'], unknown>(false, { transform: booleanAttribute });\n /** A tab of this accordion (never a nested one's) opened or closed. */\n readonly tabToggle = output<AccordionTabToggle>();\n\n readonly #core = useCore(accordionCore, { inputs: () => ({ multi: this.multi(), highlightActiveTab: this.highlightActiveTab() }), idPrefix: 'bs-accordion', outputs: { tabToggle: this.tabToggle }, hostBag: (props) => ({ ...props.root, 'data-mps': 'accordion' }) });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapAccordion.key, bootstrapAccordion.css, { order: bootstrapAccordion.order }); useScopedStyles('accordion', accordionScopedStyles);\n }\n\n /** Close every open tab, and every accordion nested inside them. */\n closeAll(...args: Parameters<AccordionMethods['closeAll']>): ReturnType<AccordionMethods['closeAll']> {\n return this.#core.call('closeAll', args) as ReturnType<AccordionMethods['closeAll']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/accordion/src/templates/accordion.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the accordion manifest (accordion-tab) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { accordionScopedStyles, accordionTabCore, type AccordionTabInputs, type AccordionTabMethods } from '@mintplayer/ui-core/accordion';\nimport { bootstrapAccordion } from '@mintplayer/ui-core/bootstrap/accordion';\n\n/** The `header` slot of `<bs-accordion-tab>`: `<ng-template bsAccordionTabHeader>` or `*bsAccordionTabHeader`. */\n@Directive({ selector: '[bsAccordionTabHeader]' })\nexport class BsAccordionTabHeaderDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * One tab of an accordion: a `<details>` whose `header` slot is the summary and whose content is\n * the body. `open` is two-way.\n */\n@Component({\n selector: 'bs-accordion-tab',\n templateUrl: './accordion-tab.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsAccordionTabComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly open = model<AccordionTabInputs['open']>(false);\n readonly disabled = input<AccordionTabInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n\n private readonly headerSlot = contentChild(BsAccordionTabHeaderDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ header: this.headerSlot()?.templateRef }));\n readonly #core = useCore(accordionTabCore, { inputs: () => ({ open: this.open(), disabled: this.disabled() }), idPrefix: 'bs-accordion-tab', hostScope: 'accordion', models: {open: this.open } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapAccordion.key, bootstrapAccordion.css, { order: bootstrapAccordion.order }); useScopedStyles('accordion', accordionScopedStyles);\n }\n\n /** Open or close the tab through its `<details>`, so exclusivity and the nested collapse apply. */\n setOpen(...args: Parameters<AccordionTabMethods['setOpen']>): ReturnType<AccordionTabMethods['setOpen']> {\n return this.#core.call('setOpen', args) as ReturnType<AccordionTabMethods['setOpen']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/accordion/src/templates/accordion-tab.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<details data-mps=\"accordion\" [mpProps]=\"p_view.item\" #root>\n <summary data-mps=\"accordion\" [mpProps]=\"p_view.summary\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" />\n }\n </summary>\n <div data-mps=\"accordion\" [mpProps]=\"p_view.content\">\n <ng-content />\n </div>\n</details>\n","// GENERATED from the accordion manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsAccordionComponent } from './accordion.component.generated';\nexport { BsAccordionTabComponent, BsAccordionTabHeaderDirective } from './accordion-tab.component.generated';\n","// Generated from @mintplayer/ui-core/accordion (#458 M4, D10): bs-accordion, bs-accordion-tab and\n// the *bsAccordionTabHeader slot.\nexport * from './generated';\nexport type { AccordionTabToggle } from '@mintplayer/ui-core/accordion';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAMA;;;;AAIG;MAQU,oBAAoB,CAAA;AAWtB,IAAA,KAAK;AAMd,IAAA,WAAA,GAAA;;AAfS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,KAAK,GAAG,KAAK,CAAoC,KAAK,6EAAI,SAAS,EAA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,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uBAAuB,uZAOS,6BAA6B,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC9B1E,whBAYA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDQY,gBAAgB,wGAAE,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGjC,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,SAAS;+BACE,kBAAkB,EAAA,OAAA,EAEnB,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAA,eAAA,EAC5B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,whBAAA,EAAA;4VASJ,6BAA6B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE9B1E;;ACAA;AACA;;ACDA;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-alert.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/alert/src/generated/alert.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/alert/src/generated/alert.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/alert/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/alert/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/alert/mintplayer-ng-bootstrap-alert.ts"],"sourcesContent":["// GENERATED from the alert manifest (alert) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { alertCore, type AlertInputs, alertScopedStyles } from '@mintplayer/ui-core/alert';\nimport { bootstrapAlert } from '@mintplayer/ui-core/bootstrap/alert';\nimport { bootstrapClose } from '@mintplayer/ui-core/bootstrap/close';\n\n/**\n * Bootstrap's contextual alert. `visible` is two-way; `dismissible` adds a close button named by\n * `closeLabel` that hides it and keeps focus on the page. `announce` opts in to `role=\"alert\"`.\n */\n@Component({\n selector: 'bs-alert',\n templateUrl: './alert.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsAlertComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<AlertInputs['color']>('primary');\n readonly announce = input<AlertInputs['announce'], unknown>(false, { transform: booleanAttribute });\n readonly dismissible = input<AlertInputs['dismissible'], unknown>(false, { transform: booleanAttribute });\n readonly closeLabel = input<AlertInputs['closeLabel']>('Close');\n readonly visible = model<AlertInputs['visible']>(true);\n\n readonly #core = useCore(alertCore, { inputs: () => ({ color: this.color(), announce: this.announce(), dismissible: this.dismissible(), closeLabel: this.closeLabel(), visible: this.visible() }), idPrefix: 'bs-alert', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'alert' }), models: {
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-alert.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/alert/src/generated/alert.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/alert/src/generated/alert.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/alert/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/alert/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/alert/mintplayer-ng-bootstrap-alert.ts"],"sourcesContent":["// GENERATED from the alert manifest (alert) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { alertCore, type AlertInputs, alertScopedStyles } from '@mintplayer/ui-core/alert';\nimport { bootstrapAlert } from '@mintplayer/ui-core/bootstrap/alert';\nimport { bootstrapClose } from '@mintplayer/ui-core/bootstrap/close';\n\n/**\n * Bootstrap's contextual alert. `visible` is two-way; `dismissible` adds a close button named by\n * `closeLabel` that hides it and keeps focus on the page. `announce` opts in to `role=\"alert\"`.\n */\n@Component({\n selector: 'bs-alert',\n templateUrl: './alert.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsAlertComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<AlertInputs['color']>('primary');\n readonly announce = input<AlertInputs['announce'], unknown>(false, { transform: booleanAttribute });\n readonly dismissible = input<AlertInputs['dismissible'], unknown>(false, { transform: booleanAttribute });\n readonly closeLabel = input<AlertInputs['closeLabel']>('Close');\n readonly visible = model<AlertInputs['visible']>(true);\n\n readonly #core = useCore(alertCore, { inputs: () => ({ color: this.color(), announce: this.announce(), dismissible: this.dismissible(), closeLabel: this.closeLabel(), visible: this.visible() }), idPrefix: 'bs-alert', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'alert' }), models: {visible: this.visible } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapAlert.key, bootstrapAlert.css, { order: bootstrapAlert.order }); useScopedStyles(bootstrapClose.key, bootstrapClose.css, { order: bootstrapClose.order }); useScopedStyles('alert', alertScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/alert/src/templates/alert.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<ng-content />\n@if (p_view.dismiss) {\n <button data-mps=\"alert\" [mpProps]=\"p_view.dismiss\"></button>\n}\n","// GENERATED from the alert manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsAlertComponent } from './alert.component.generated';\n","// Generated from @mintplayer/ui-core/alert (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAOA;;;AAGG;MAOU,gBAAgB,CAAA;AAUlB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAZS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,KAAK,GAAG,KAAK,CAAuB,SAAS;kFAAC;QAC9C,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAmC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC1F,IAAA,CAAA,WAAW,GAAG,KAAK,CAAsC,KAAK,mFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAChG,IAAA,CAAA,UAAU,GAAG,KAAK,CAA4B,OAAO;uFAAC;QACtD,IAAA,CAAA,OAAO,GAAG,KAAK,CAAyB,IAAI;oFAAC;AAE7C,QAAA,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAA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QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,OAAA,EAAA,eAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECjB7B,sRAMA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDQY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,UAAU,WAEX,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,sRAAA,EAAA;;;AEfjD;;ACAA;;ACAA;;AAEG;;;;"}
|
|
@@ -25,7 +25,7 @@ class BsCalendarComponent {
|
|
|
25
25
|
...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
|
|
26
26
|
this.disableDateFn = input(null, /* @ts-ignore */
|
|
27
27
|
...(ngDevMode ? [{ debugName: "disableDateFn" }] : /* istanbul ignore next */ []));
|
|
28
|
-
this.firstDayOfWeek = input(1, { ...(ngDevMode ? { debugName: "firstDayOfWeek" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
28
|
+
this.firstDayOfWeek = input(1, { ...(ngDevMode ? { debugName: "firstDayOfWeek" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 1 : numberAttribute(v)) });
|
|
29
29
|
this.locale = input(null, /* @ts-ignore */
|
|
30
30
|
...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
|
|
31
31
|
this.labels = input(null, /* @ts-ignore */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-calendar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/calendar/src/generated/calendar.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/calendar/src/generated/calendar.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/calendar/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/calendar/mintplayer-ng-bootstrap-calendar.ts"],"sourcesContent":["// GENERATED from the calendar manifest (calendar) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input, model, numberAttribute } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { calendarCore, type CalendarInputs, type CalendarMethods, calendarScopedStyles } from '@mintplayer/ui-core/calendar';\n\n/**\n * A month grid (#437): the APG date-grid keyboard, a month toolbar, ISO or locale week numbers.\n *\n * `selectedDate` and `currentMonth` are two-way. With JavaScript off the month renders inert:\n * the month buttons are disabled and no day is tabbable until the page hydrates.\n */\n@Component({\n selector: 'bs-calendar',\n templateUrl: './calendar.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCalendarComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly selectedDate = model<CalendarInputs['selectedDate']>(null);\n readonly currentMonth = model<CalendarInputs['currentMonth']>(null);\n readonly min = input<CalendarInputs['min']>(null);\n readonly max = input<CalendarInputs['max']>(null);\n readonly disableDateFn = input<CalendarInputs['disableDateFn']>(null);\n readonly firstDayOfWeek = input<CalendarInputs['firstDayOfWeek'], unknown>(1, { transform: (v: unknown) => numberAttribute(v) as CalendarInputs['firstDayOfWeek'] });\n readonly locale = input<CalendarInputs['locale']>(null);\n readonly labels = input<CalendarInputs['labels']>(null);\n\n readonly #core = useCore(calendarCore, { inputs: () => ({ selectedDate: this.selectedDate(), currentMonth: this.currentMonth(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), labels: this.labels() }), idPrefix: 'bs-calendar', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'calendar' }), models: {
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-calendar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/calendar/src/generated/calendar.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/calendar/src/generated/calendar.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/calendar/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/calendar/mintplayer-ng-bootstrap-calendar.ts"],"sourcesContent":["// GENERATED from the calendar manifest (calendar) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input, model, numberAttribute } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { calendarCore, type CalendarInputs, type CalendarMethods, calendarScopedStyles } from '@mintplayer/ui-core/calendar';\n\n/**\n * A month grid (#437): the APG date-grid keyboard, a month toolbar, ISO or locale week numbers.\n *\n * `selectedDate` and `currentMonth` are two-way. With JavaScript off the month renders inert:\n * the month buttons are disabled and no day is tabbable until the page hydrates.\n */\n@Component({\n selector: 'bs-calendar',\n templateUrl: './calendar.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCalendarComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly selectedDate = model<CalendarInputs['selectedDate']>(null);\n readonly currentMonth = model<CalendarInputs['currentMonth']>(null);\n readonly min = input<CalendarInputs['min']>(null);\n readonly max = input<CalendarInputs['max']>(null);\n readonly disableDateFn = input<CalendarInputs['disableDateFn']>(null);\n readonly firstDayOfWeek = input<CalendarInputs['firstDayOfWeek'], unknown>(1, { transform: (v: unknown) => (v == null || v === '' ? 1 : numberAttribute(v)) as CalendarInputs['firstDayOfWeek'] });\n readonly locale = input<CalendarInputs['locale']>(null);\n readonly labels = input<CalendarInputs['labels']>(null);\n\n readonly #core = useCore(calendarCore, { inputs: () => ({ selectedDate: this.selectedDate(), currentMonth: this.currentMonth(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), labels: this.labels() }), idPrefix: 'bs-calendar', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'calendar' }), models: {selectedDate: this.selectedDate, currentMonth: this.currentMonth } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('calendar', calendarScopedStyles);\n }\n\n /** Show the previous month. */\n previousMonth(...args: Parameters<CalendarMethods['previousMonth']>): ReturnType<CalendarMethods['previousMonth']> {\n return this.#core.call('previousMonth', args) as ReturnType<CalendarMethods['previousMonth']>;\n }\n\n /** Show the next month. */\n nextMonth(...args: Parameters<CalendarMethods['nextMonth']>): ReturnType<CalendarMethods['nextMonth']> {\n return this.#core.call('nextMonth', args) as ReturnType<CalendarMethods['nextMonth']>;\n }\n\n /** Select a day (ignored when disabled), showing its month. */\n select(...args: Parameters<CalendarMethods['select']>): ReturnType<CalendarMethods['select']> {\n return this.#core.call('select', args) as ReturnType<CalendarMethods['select']>;\n }\n\n /** Focus the roving day cell. */\n focusGrid(...args: Parameters<CalendarMethods['focusGrid']>): ReturnType<CalendarMethods['focusGrid']> {\n return this.#core.call('focusGrid', args) as ReturnType<CalendarMethods['focusGrid']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/calendar/src/templates/calendar.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"calendar\" [mpProps]=\"p_view.nav\">\n <button data-mps=\"calendar\" [mpProps]=\"p_view.previous\"></button>\n <span data-mps=\"calendar\" [mpProps]=\"p_view.monthLabel\">\n {{ p_view.monthText }}\n </span>\n <button data-mps=\"calendar\" [mpProps]=\"p_view.next\"></button>\n</div>\n<table data-mps=\"calendar\" [mpProps]=\"p_view.grid\">\n <tbody data-mps=\"calendar\">\n <tr data-mps=\"calendar\" [mpProps]=\"p_view.headRow\">\n <th data-mps=\"calendar\" [mpProps]=\"p_view.weekHeader\">\n <span data-mps=\"calendar\" [mpProps]=\"p_view.weekHeaderText\">\n {{ p_view.weekLabel }}\n </span>\n </th>\n @for (day of p_view.weekdays; track day.key) {\n <th data-mps=\"calendar\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.weeks; track week.key) {\n <tr data-mps=\"calendar\" [mpProps]=\"week.row\">\n <th data-mps=\"calendar\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"calendar\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"calendar\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n</table>\n","// GENERATED from the calendar manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsCalendarComponent } from './calendar.component.generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AAKA;;;;;AAKG;MAOU,mBAAmB,CAAA;AAarB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAfS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,YAAY,GAAG,KAAK,CAAiC,IAAI;yFAAC;QAC1D,IAAA,CAAA,YAAY,GAAG,KAAK,CAAiC,IAAI;yFAAC;QAC1D,IAAA,CAAA,GAAG,GAAG,KAAK,CAAwB,IAAI;gFAAC;QACxC,IAAA,CAAA,GAAG,GAAG,KAAK,CAAwB,IAAI;gFAAC;QACxC,IAAA,CAAA,aAAa,GAAG,KAAK,CAAkC,IAAI;0FAAC;AAC5D,QAAA,IAAA,CAAA,c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AA,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,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,YAAA,EAAA,oBAAA,EAAA,YAAA,EAAA,oBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECjBhC,8iDAyCA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED3BY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WAEd,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8iDAAA,EAAA;;;AEfjD;;ACAA;;AAEG;;;;"}
|
|
@@ -103,7 +103,7 @@ class BsCardTitleComponent {
|
|
|
103
103
|
constructor() {
|
|
104
104
|
/** The host element. */
|
|
105
105
|
this.elementRef = inject(ElementRef);
|
|
106
|
-
this.level = input(5, { ...(ngDevMode ? { debugName: "level" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
106
|
+
this.level = input(5, { ...(ngDevMode ? { debugName: "level" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 5 : numberAttribute(v)) });
|
|
107
107
|
this.#core = useCore(cardTitleCore, { inputs: () => ({ level: this.level() }), idPrefix: 'bs-card-title', hostBag: (props) => ({ ...props.root, 'data-mps': 'card' }) });
|
|
108
108
|
/** The template's props. */
|
|
109
109
|
this.props = this.#core.props;
|
|
@@ -1 +1 @@
|
|
|
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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AAE,CAAC;AAAE,QAAA,eAAe,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClI;8GAfW,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECbhC,0SAKA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDKY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,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;;;;"}
|
|
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) => (v == null || v === '' ? 5 : 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,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAA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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;;;;"}
|
|
@@ -61,7 +61,7 @@ class BsCarouselComponent {
|
|
|
61
61
|
this.orientation = input('horizontal', /* @ts-ignore */
|
|
62
62
|
...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
|
|
63
63
|
this.indicators = input(false, { ...(ngDevMode ? { debugName: "indicators" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
64
|
-
this.interval = input(null, { ...(ngDevMode ? { debugName: "interval" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
64
|
+
this.interval = input(null, { ...(ngDevMode ? { debugName: "interval" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? null : numberAttribute(v)) });
|
|
65
65
|
this.wrap = input(true, { ...(ngDevMode ? { debugName: "wrap" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
66
66
|
this.keyboardEvents = input(true, { ...(ngDevMode ? { debugName: "keyboardEvents" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
67
67
|
this.paused = model(false, /* @ts-ignore */
|
|
@@ -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 /** 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;mFAA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AAgB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAI,CAAC,EAAE,QAAQ,EAAE,kBAAkB,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC;;AAErJ,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK;AAGzC,QAAA,eAAe,CAAC,iBAAiB,CAAC,GAAG,EAAE,iBAAiB,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,iBAAiB,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,UAAU,EAAE,oBAAoB,CAAC;IACtJ;8GAVW,uBAAuB,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;;;;"}
|
|
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) => (v == null || v === '' ? null : 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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Mode ? [{ debugName: "maxDepth" }] : /* istanbul ignore next */ []));
|
|
29
|
-
this.minAngle = input(0.2, { ...(ngDevMode ? { debugName: "minAngle" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
30
|
-
this.minSize = input(4, { ...(ngDevMode ? { debugName: "minSize" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
29
|
+
this.minAngle = input(0.2, { ...(ngDevMode ? { debugName: "minAngle" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 0.2 : numberAttribute(v)) });
|
|
30
|
+
this.minSize = input(4, { ...(ngDevMode ? { debugName: "minSize" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 4 : numberAttribute(v)) });
|
|
31
31
|
this.showLabels = input(true, { ...(ngDevMode ? { debugName: "showLabels" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
32
|
-
this.labelFontSize = input(12, { ...(ngDevMode ? { debugName: "labelFontSize" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
32
|
+
this.labelFontSize = input(12, { ...(ngDevMode ? { debugName: "labelFontSize" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 12 : numberAttribute(v)) });
|
|
33
33
|
this.backdrop = input(null, /* @ts-ignore */
|
|
34
34
|
...(ngDevMode ? [{ debugName: "backdrop" }] : /* istanbul ignore next */ []));
|
|
35
|
-
this.colorMin = input(0, { ...(ngDevMode ? { debugName: "colorMin" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
36
|
-
this.colorMax = input(100, { ...(ngDevMode ? { debugName: "colorMax" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
35
|
+
this.colorMin = input(0, { ...(ngDevMode ? { debugName: "colorMin" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 0 : numberAttribute(v)) });
|
|
36
|
+
this.colorMax = input(100, { ...(ngDevMode ? { debugName: "colorMax" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 100 : numberAttribute(v)) });
|
|
37
37
|
this.colorStart = input('#fe0000', /* @ts-ignore */
|
|
38
38
|
...(ngDevMode ? [{ debugName: "colorStart" }] : /* istanbul ignore next */ []));
|
|
39
39
|
this.colorEnd = input('#21b577', /* @ts-ignore */
|
|
40
40
|
...(ngDevMode ? [{ debugName: "colorEnd" }] : /* istanbul ignore next */ []));
|
|
41
|
-
this.transitionDuration = input(300, { ...(ngDevMode ? { debugName: "transitionDuration" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
|
|
41
|
+
this.transitionDuration = input(300, { ...(ngDevMode ? { debugName: "transitionDuration" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 300 : numberAttribute(v)) });
|
|
42
42
|
this.locale = input(null, /* @ts-ignore */
|
|
43
43
|
...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
|
|
44
44
|
this.zoomGestures = input('wheel pinch', /* @ts-ignore */
|
|
@@ -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 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,EAAI,SAAS,EAAE,CAAC,CAAU,KAAK,eAAe,CAAC,CAAC,CAAqC,GAAG;AACvJ,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAA2C,CAAC,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,SAAA,EAAA,8BAAA,EAAA,CAAA,EAAI,SAAS,EAAE,CAAC,CAAU,KAAK,eAAe,CAAC,CAAC,CAAoC,GAAG;QAClJ,IAAA,CAAA,UAAU,GAAG,KAAK,CAA8C,IAAI,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AACtG,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAiD,EAAE,EAAA,EAAA,IAAA,SAAA,GAA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AAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED7EY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,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) => (v == null || v === '' ? 0.2 : numberAttribute(v)) as HierarchyChartInputs['minAngle'] });\n readonly minSize = input<HierarchyChartInputs['minSize'], unknown>(4, { transform: (v: unknown) => (v == null || v === '' ? 4 : 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) => (v == null || v === '' ? 12 : numberAttribute(v)) as HierarchyChartInputs['labelFontSize'] });\n readonly backdrop = input<HierarchyChartInputs['backdrop']>(null);\n readonly colorMin = input<HierarchyChartInputs['colorMin'], unknown>(0, { transform: (v: unknown) => (v == null || v === '' ? 0 : numberAttribute(v)) as HierarchyChartInputs['colorMin'] });\n readonly colorMax = input<HierarchyChartInputs['colorMax'], unknown>(100, { transform: (v: unknown) => (v == null || v === '' ? 100 : 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) => (v == null || v === '' ? 300 : 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,gFAAI,SAAS,EAAE,CAAC,CAAU,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,eAAe,CAAC,CAAC,CAAC,CAAqC,GAAG;AACvL,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAA2C,CAAC,+EAAI,SAAS,EAAE,CAAC,CAAU,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAAoC,GAAG;QAChL,IAAA,CAAA,UAAU,GAAG,KAAK,CAA8C,IAAI,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AACtG,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAiD,EAAE,qFAAI,SAAS,EAAE,CAAC,CAAU,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,eAAe,CAAC,CAAC,CAAC,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