@mintplayer/ng-bootstrap 22.32.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-a11y.mjs +3 -166
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +71 -140
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +33 -63
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +23 -30
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +37 -22
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +25 -9
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +5 -9
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +157 -219
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +12 -14
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -40
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +8 -8
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +313 -212
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +25 -15
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +87 -676
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +52 -119
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +15 -27
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +6 -10
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +5 -7
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +201 -197
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +9 -19
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +64 -123
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +18 -32
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +52 -38
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +64 -119
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +23 -38
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +44 -44
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +201 -18
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +27 -12
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +61 -261
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +13 -15
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +3 -4
- package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +30 -18
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +20 -90
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +52 -401
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +27 -50
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +21 -12
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +8 -10
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +26 -54
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +29 -15
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +56 -267
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +60 -335
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +47 -63
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +8 -16
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +232 -169
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +85 -47
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +80 -137
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +29 -326
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +49 -65
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +16 -24
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +48 -181
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +9 -9
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +52 -108
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +7 -7
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +35 -40
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +61 -101
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +29 -23
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +67 -306
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +7 -9
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +13 -17
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +103 -152
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +50 -157
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +10 -12
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +11 -13
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +159 -234
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/package.json +2 -22
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +2 -81
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +51 -86
- package/types/mintplayer-ng-bootstrap-alert.d.ts +20 -28
- package/types/mintplayer-ng-bootstrap-badge.d.ts +12 -12
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +29 -8
- package/types/mintplayer-ng-bootstrap-button-group.d.ts +14 -4
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +1 -5
- package/types/mintplayer-ng-bootstrap-card.d.ts +93 -78
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +24 -17
- package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +143 -91
- package/types/mintplayer-ng-bootstrap-close.d.ts +16 -5
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-color-picker.d.ts +42 -226
- package/types/mintplayer-ng-bootstrap-context-menu.d.ts +35 -17
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +23 -35
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +2 -6
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +2 -4
- package/types/mintplayer-ng-bootstrap-dock.d.ts +6 -8
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +122 -54
- package/types/mintplayer-ng-bootstrap-file-manager.d.ts +10 -20
- package/types/mintplayer-ng-bootstrap-file-upload.d.ts +62 -44
- package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +12 -15
- package/types/mintplayer-ng-bootstrap-form.d.ts +32 -11
- package/types/mintplayer-ng-bootstrap-grid.d.ts +38 -31
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +11 -22
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +28 -14
- package/types/mintplayer-ng-bootstrap-machine.d.ts +101 -4
- package/types/mintplayer-ng-bootstrap-marquee.d.ts +18 -5
- package/types/mintplayer-ng-bootstrap-modal.d.ts +43 -86
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-nav.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +21 -6
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +15 -42
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +35 -112
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +4 -3
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +22 -35
- package/types/mintplayer-ng-bootstrap-parallax.d.ts +14 -4
- package/types/mintplayer-ng-bootstrap-phone-input.d.ts +5 -6
- package/types/mintplayer-ng-bootstrap-placeholder.d.ts +17 -16
- package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +22 -6
- package/types/mintplayer-ng-bootstrap-popover.d.ts +35 -61
- package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +80 -68
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +34 -19
- package/types/mintplayer-ng-bootstrap-query-builder.d.ts +12 -20
- package/types/mintplayer-ng-bootstrap-radio.d.ts +112 -84
- package/types/mintplayer-ng-bootstrap-range.d.ts +35 -13
- package/types/mintplayer-ng-bootstrap-rating.d.ts +33 -42
- package/types/mintplayer-ng-bootstrap-resizable.d.ts +24 -114
- package/types/mintplayer-ng-bootstrap-ribbon.d.ts +21 -37
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +19 -27
- package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +26 -51
- package/types/mintplayer-ng-bootstrap-select.d.ts +8 -7
- package/types/mintplayer-ng-bootstrap-shell.d.ts +40 -63
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +4 -6
- package/types/mintplayer-ng-bootstrap-splitter.d.ts +3 -3
- package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +23 -19
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +61 -57
- package/types/mintplayer-ng-bootstrap-table.d.ts +21 -12
- package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +94 -154
- package/types/mintplayer-ng-bootstrap-timeline.d.ts +23 -25
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +3 -7
- package/types/mintplayer-ng-bootstrap-toast.d.ts +92 -55
- package/types/mintplayer-ng-bootstrap-tooltip.d.ts +34 -33
- package/types/mintplayer-ng-bootstrap-tree-select.d.ts +14 -16
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +12 -13
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +109 -133
- package/calendar-month/package.json +0 -4
- package/dropdown-divider/package.json +0 -4
- package/dropdown-menu/package.json +0 -4
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -30
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -169
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
- package/has-overlay/package.json +0 -4
- package/no-noscript/package.json +0 -4
- package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
- package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -9
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -94
- package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
- package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-form.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/form/src/
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-form.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/form/src/generated/form.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/generated/form.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/form/src/generated/form-control.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/generated/col-form-label.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/form/mintplayer-ng-bootstrap-form.ts"],"sourcesContent":["// GENERATED from the form manifest (form) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { formCore, type FormInputs, formScopedStyles, type FormSubmitEvent } from '@mintplayer/ui-core/form';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/**\n * A real `<form>` that anchors Bootstrap's forms part for everything inside it. `submitted` reports a submit;\n * without an `action` the native submit is cancelled.\n */\n@Component({\n selector: 'bs-form',\n templateUrl: './form.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsFormComponent {\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 action = input<FormInputs['action']>(null);\n readonly method = input<FormInputs['method']>(null);\n /** The form was submitted. */\n readonly submitted = output<FormSubmitEvent>();\n\n readonly #core = useCore(formCore, { inputs: () => ({ action: this.action(), method: this.method() }), idPrefix: 'bs-form', outputs: { submitted: this.submitted }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'form' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('form', formScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/form/src/templates/form.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<form data-mps=\"form\" [mpProps]=\"p_view.form\" [attr.action]=\"p_view.action\" [mpHostAttrs]=\"hostAttrs\">\n <ng-content />\n</form>\n","// GENERATED from the form manifest (form-control) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { formControlCore, formScopedStyles } from '@mintplayer/ui-core/form';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/** Bootstrap's `.form-control` on an input or textarea. */\n@Directive({ selector: 'bs-form input:not(.no-form-control), bs-form textarea:not(.no-form-control)' })\nexport class BsFormControlDirective {\n\n protected readonly core = useCore(formControlCore, { inputs: () => ({ }), idPrefix: 'bs-form-control', hostBag: (props) => ({ ...props, 'data-mps': 'form' }) });\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('form', formScopedStyles);\n }\n}\n","// GENERATED from the form manifest (col-form-label) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { colFormLabelCore, formScopedStyles } from '@mintplayer/ui-core/form';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/** Bootstrap's `.col-form-label` on a label that lines up with a control in a grid row. */\n@Directive({ selector: '[bsColFormLabel]' })\nexport class BsColFormLabelDirective {\n\n protected readonly core = useCore(colFormLabelCore, { inputs: () => ({ }), idPrefix: 'bs-col-form-label', hostBag: (props) => ({ ...props, 'data-mps': 'form' }) });\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('form', formScopedStyles);\n }\n}\n","// GENERATED from the form manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsFormComponent } from './form.component.generated';\nexport { BsFormControlDirective } from './form-control.directive.generated';\nexport { BsColFormLabelDirective } from './col-form-label.directive.generated';\n","// Generated from @mintplayer/ui-core/form (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAMA;;;AAGG;MAOU,eAAe,CAAA;AAYjB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAdS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAG9C,IAAA,CAAA,SAAS,GAAG,YAAY,EAAE;QAEpC,IAAA,CAAA,MAAM,GAAG,KAAK,CAAuB,IAAI;mFAAC;QAC1C,IAAA,CAAA,MAAM,GAAG,KAAK,CAAuB,IAAI;mFAAC;;QAE1C,IAAA,CAAA,SAAS,GAAG,MAAM,EAAmB;AAErC,QAAA,IAA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A,GAAA;AAFmB,QAAA,IAAA,CAAA,IAAI,GAAG,OAAO,CAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAI,CAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;AAGlK,QAAA,eAAe,CAAC,cAAc,CAAC,GAAG,EAAE,cAAc,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,MAAM,EAAE,gBAAgB,CAAC;IACrI;8GANW,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC,SAAS;mBAAC,EAAE,QAAQ,EAAE,kBAAkB,EAAE;;;ACP3C;;ACAA;;ACAA;;AAEG;;;;"}
|
|
@@ -1,161 +1,106 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { inject, ElementRef, input, ChangeDetectionStrategy, Component, Directive, numberAttribute } from '@angular/core';
|
|
3
|
+
import { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';
|
|
4
|
+
import { gridCore, gridScopedStyles, gridRowCore, gridColCore, gridColumnCore } from '@mintplayer/ui-core/grid';
|
|
4
5
|
import { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';
|
|
5
6
|
import { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';
|
|
6
|
-
import { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';
|
|
7
7
|
|
|
8
|
+
// GENERATED from the grid manifest (grid) by @mintplayer/nx-component-compiler. Do not edit.
|
|
9
|
+
/** Bootstrap's container around the page's rows: full width below `stopFullWidthAt`, fixed widths from it up (`never`: always full width). */
|
|
8
10
|
class BsGridComponent {
|
|
11
|
+
#core;
|
|
9
12
|
constructor() {
|
|
13
|
+
/** The host element. */
|
|
14
|
+
this.elementRef = inject(ElementRef);
|
|
10
15
|
this.stopFullWidthAt = input('sm', /* @ts-ignore */
|
|
11
16
|
...(ngDevMode ? [{ debugName: "stopFullWidthAt" }] : /* istanbul ignore next */ []));
|
|
12
|
-
this
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
}, /* @ts-ignore */
|
|
20
|
-
...(ngDevMode ? [{ debugName: "containerClass" }] : /* istanbul ignore next */ []));
|
|
21
|
-
// #452: the container and grid partials ship with the grid, scoped to the
|
|
22
|
-
// elements it (and the bsRow / column directives) stamp with data-mps.
|
|
23
|
-
useBootstrap(bootstrapContainers, bootstrapGrid);
|
|
17
|
+
this.#core = useCore(gridCore, { inputs: () => ({ stopFullWidthAt: this.stopFullWidthAt() }), idPrefix: 'bs-grid', hostBag: (props) => ({ ...props.root, 'data-mps': 'grid' }) });
|
|
18
|
+
/** The template's props. */
|
|
19
|
+
this.props = this.#core.props;
|
|
20
|
+
useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order });
|
|
21
|
+
useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order });
|
|
22
|
+
useScopedStyles('grid', gridScopedStyles);
|
|
24
23
|
}
|
|
25
24
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsGridComponent, isStandalone: true, selector: "bs-grid", inputs: { stopFullWidthAt: { classPropertyName: "stopFullWidthAt", publicName: "stopFullWidthAt", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsGridComponent, isStandalone: true, selector: "bs-grid", inputs: { stopFullWidthAt: { classPropertyName: "stopFullWidthAt", publicName: "stopFullWidthAt", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/grid/src/templates/grid.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
27
26
|
}
|
|
28
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridComponent, decorators: [{
|
|
29
28
|
type: Component,
|
|
30
|
-
args: [{ selector: 'bs-grid', changeDetection: ChangeDetectionStrategy.OnPush, template: "
|
|
29
|
+
args: [{ selector: 'bs-grid', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/grid/src/templates/grid.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
31
30
|
}], ctorParameters: () => [], propDecorators: { stopFullWidthAt: [{ type: i0.Input, args: [{ isSignal: true, alias: "stopFullWidthAt", required: false }] }] } });
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
* stamps the element (`data-mps`) and installs the grid part (#452): the
|
|
36
|
-
* scoped part matches only stamped elements.
|
|
37
|
-
*/
|
|
32
|
+
// GENERATED from the grid manifest (row) by @mintplayer/nx-component-compiler. Do not edit.
|
|
33
|
+
/** Bootstrap's `.row` on the element. */
|
|
38
34
|
class BsGridRowDirective {
|
|
39
35
|
constructor() {
|
|
40
|
-
|
|
36
|
+
this.core = useCore(gridRowCore, { inputs: () => ({}), idPrefix: 'bs-row', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });
|
|
37
|
+
useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order });
|
|
38
|
+
useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order });
|
|
39
|
+
useScopedStyles('grid', gridScopedStyles);
|
|
41
40
|
}
|
|
42
41
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridRowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
43
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsGridRowDirective, isStandalone: true, selector: "[bsRow]",
|
|
42
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsGridRowDirective, isStandalone: true, selector: "[bsRow]", ngImport: i0 }); }
|
|
44
43
|
}
|
|
45
44
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridRowDirective, decorators: [{
|
|
46
45
|
type: Directive,
|
|
47
|
-
args: [{
|
|
48
|
-
selector: '[bsRow]',
|
|
49
|
-
host: {
|
|
50
|
-
'[class.row]': 'true',
|
|
51
|
-
'[attr.data-mps]': '"grid"',
|
|
52
|
-
},
|
|
53
|
-
}]
|
|
46
|
+
args: [{ selector: '[bsRow]' }]
|
|
54
47
|
}], ctorParameters: () => [] });
|
|
55
48
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
this.xxs = input(undefined, /* @ts-ignore */
|
|
59
|
-
...(ngDevMode ? [{ debugName: "xxs" }] : /* istanbul ignore next */ []));
|
|
60
|
-
this.xs = input(undefined, /* @ts-ignore */
|
|
61
|
-
...(ngDevMode ? [{ debugName: "xs" }] : /* istanbul ignore next */ []));
|
|
62
|
-
this.sm = input(undefined, /* @ts-ignore */
|
|
63
|
-
...(ngDevMode ? [{ debugName: "sm" }] : /* istanbul ignore next */ []));
|
|
64
|
-
this.md = input(undefined, /* @ts-ignore */
|
|
65
|
-
...(ngDevMode ? [{ debugName: "md" }] : /* istanbul ignore next */ []));
|
|
66
|
-
this.lg = input(undefined, /* @ts-ignore */
|
|
67
|
-
...(ngDevMode ? [{ debugName: "lg" }] : /* istanbul ignore next */ []));
|
|
68
|
-
this.xl = input(undefined, /* @ts-ignore */
|
|
69
|
-
...(ngDevMode ? [{ debugName: "xl" }] : /* istanbul ignore next */ []));
|
|
70
|
-
this.xxl = input(undefined, /* @ts-ignore */
|
|
71
|
-
...(ngDevMode ? [{ debugName: "xxl" }] : /* istanbul ignore next */ []));
|
|
72
|
-
this.classList = computed(() => {
|
|
73
|
-
const sizes = {
|
|
74
|
-
xxs: this.xxs(),
|
|
75
|
-
xs: this.xs(),
|
|
76
|
-
sm: this.sm(),
|
|
77
|
-
md: this.md(),
|
|
78
|
-
lg: this.lg(),
|
|
79
|
-
xl: this.xl(),
|
|
80
|
-
xxl: this.xxl(),
|
|
81
|
-
};
|
|
82
|
-
return Object.keys(sizes)
|
|
83
|
-
.map(key => ({
|
|
84
|
-
key,
|
|
85
|
-
value: sizes[key],
|
|
86
|
-
}))
|
|
87
|
-
.filter(v => v.value)
|
|
88
|
-
.map(v => {
|
|
89
|
-
switch (v.key) {
|
|
90
|
-
case '': return 'col';
|
|
91
|
-
case 'xxs': return `col-${v.value}`;
|
|
92
|
-
default: return `col-${v.key}-${v.value}`;
|
|
93
|
-
}
|
|
94
|
-
})
|
|
95
|
-
.join(' ') || null;
|
|
96
|
-
}, /* @ts-ignore */
|
|
97
|
-
...(ngDevMode ? [{ debugName: "classList" }] : /* istanbul ignore next */ []));
|
|
98
|
-
useBootstrap(bootstrapGrid);
|
|
99
|
-
}
|
|
100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
101
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsGridColumnDirective, isStandalone: true, selector: "[xxs],[xs],[sm],[md],[lg],[xl],[xxl]", inputs: { xxs: { classPropertyName: "xxs", publicName: "xxs", isSignal: true, isRequired: false, transformFunction: null }, xs: { classPropertyName: "xs", publicName: "xs", isSignal: true, isRequired: false, transformFunction: null }, sm: { classPropertyName: "sm", publicName: "sm", isSignal: true, isRequired: false, transformFunction: null }, md: { classPropertyName: "md", publicName: "md", isSignal: true, isRequired: false, transformFunction: null }, lg: { classPropertyName: "lg", publicName: "lg", isSignal: true, isRequired: false, transformFunction: null }, xl: { classPropertyName: "xl", publicName: "xl", isSignal: true, isRequired: false, transformFunction: null }, xxl: { classPropertyName: "xxl", publicName: "xxl", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classList()", "attr.data-mps": "\"grid\"" } }, ngImport: i0 }); }
|
|
102
|
-
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColumnDirective, decorators: [{
|
|
104
|
-
type: Directive,
|
|
105
|
-
args: [{
|
|
106
|
-
selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]',
|
|
107
|
-
host: {
|
|
108
|
-
'[class]': 'classList()',
|
|
109
|
-
// #452: the directive owns the col-* classes, so it stamps the element for the scoped grid part.
|
|
110
|
-
'[attr.data-mps]': '"grid"',
|
|
111
|
-
},
|
|
112
|
-
}]
|
|
113
|
-
}], ctorParameters: () => [], propDecorators: { xxs: [{ type: i0.Input, args: [{ isSignal: true, alias: "xxs", required: false }] }], xs: [{ type: i0.Input, args: [{ isSignal: true, alias: "xs", required: false }] }], sm: [{ type: i0.Input, args: [{ isSignal: true, alias: "sm", required: false }] }], md: [{ type: i0.Input, args: [{ isSignal: true, alias: "md", required: false }] }], lg: [{ type: i0.Input, args: [{ isSignal: true, alias: "lg", required: false }] }], xl: [{ type: i0.Input, args: [{ isSignal: true, alias: "xl", required: false }] }], xxl: [{ type: i0.Input, args: [{ isSignal: true, alias: "xxl", required: false }] }] } });
|
|
49
|
+
// GENERATED from the grid manifest (col) by @mintplayer/nx-component-compiler. Do not edit.
|
|
50
|
+
/** Bootstrap's auto-width `.col` on the element. */
|
|
114
51
|
class BsGridColDirective {
|
|
115
52
|
constructor() {
|
|
116
|
-
this.
|
|
117
|
-
|
|
118
|
-
|
|
53
|
+
this.core = useCore(gridColCore, { inputs: () => ({}), idPrefix: 'bs-col', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });
|
|
54
|
+
useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order });
|
|
55
|
+
useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order });
|
|
56
|
+
useScopedStyles('grid', gridScopedStyles);
|
|
119
57
|
}
|
|
120
58
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
121
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
59
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsGridColDirective, isStandalone: true, selector: "[col]", ngImport: i0 }); }
|
|
122
60
|
}
|
|
123
61
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColDirective, decorators: [{
|
|
124
62
|
type: Directive,
|
|
125
|
-
args: [{
|
|
126
|
-
|
|
127
|
-
host: {
|
|
128
|
-
'[class.col]': 'true',
|
|
129
|
-
'[attr.data-mps]': '"grid"',
|
|
130
|
-
},
|
|
131
|
-
}]
|
|
132
|
-
}], ctorParameters: () => [], propDecorators: { col: [{ type: i0.Input, args: [{ isSignal: true, alias: "col", required: false }] }] } });
|
|
63
|
+
args: [{ selector: '[col]' }]
|
|
64
|
+
}], ctorParameters: () => [] });
|
|
133
65
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
*/
|
|
138
|
-
class BsColFormLabelDirective {
|
|
66
|
+
// GENERATED from the grid manifest (column) by @mintplayer/nx-component-compiler. Do not edit.
|
|
67
|
+
/** A column with a span per breakpoint: `<div md="6" lg="4">`. */
|
|
68
|
+
class BsGridColumnDirective {
|
|
139
69
|
constructor() {
|
|
140
|
-
|
|
70
|
+
/** The column span (1–12) at every width: `col-N`. */
|
|
71
|
+
this.xxs = input(undefined, { ...(ngDevMode ? { debugName: "xxs" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
|
|
72
|
+
/** The column span (1–12) from the `xs` breakpoint up: `col-xs-N`. */
|
|
73
|
+
this.xs = input(undefined, { ...(ngDevMode ? { debugName: "xs" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
|
|
74
|
+
/** The column span (1–12) from the `sm` breakpoint up: `col-sm-N`. */
|
|
75
|
+
this.sm = input(undefined, { ...(ngDevMode ? { debugName: "sm" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
|
|
76
|
+
/** The column span (1–12) from the `md` breakpoint up: `col-md-N`. */
|
|
77
|
+
this.md = input(undefined, { ...(ngDevMode ? { debugName: "md" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
|
|
78
|
+
/** The column span (1–12) from the `lg` breakpoint up: `col-lg-N`. */
|
|
79
|
+
this.lg = input(undefined, { ...(ngDevMode ? { debugName: "lg" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
|
|
80
|
+
/** The column span (1–12) from the `xl` breakpoint up: `col-xl-N`. */
|
|
81
|
+
this.xl = input(undefined, { ...(ngDevMode ? { debugName: "xl" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
|
|
82
|
+
/** The column span (1–12) from the `xxl` breakpoint up: `col-xxl-N`. */
|
|
83
|
+
this.xxl = input(undefined, { ...(ngDevMode ? { debugName: "xxl" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
|
|
84
|
+
this.core = useCore(gridColumnCore, { inputs: () => ({ xxs: this.xxs(), xs: this.xs(), sm: this.sm(), md: this.md(), lg: this.lg(), xl: this.xl(), xxl: this.xxl() }), idPrefix: 'bs-column', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });
|
|
85
|
+
useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order });
|
|
86
|
+
useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order });
|
|
87
|
+
useScopedStyles('grid', gridScopedStyles);
|
|
141
88
|
}
|
|
142
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
143
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
89
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
90
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsGridColumnDirective, isStandalone: true, selector: "[xxs],[xs],[sm],[md],[lg],[xl],[xxl]", inputs: { xxs: { classPropertyName: "xxs", publicName: "xxs", isSignal: true, isRequired: false, transformFunction: null }, xs: { classPropertyName: "xs", publicName: "xs", isSignal: true, isRequired: false, transformFunction: null }, sm: { classPropertyName: "sm", publicName: "sm", isSignal: true, isRequired: false, transformFunction: null }, md: { classPropertyName: "md", publicName: "md", isSignal: true, isRequired: false, transformFunction: null }, lg: { classPropertyName: "lg", publicName: "lg", isSignal: true, isRequired: false, transformFunction: null }, xl: { classPropertyName: "xl", publicName: "xl", isSignal: true, isRequired: false, transformFunction: null }, xxl: { classPropertyName: "xxl", publicName: "xxl", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
144
91
|
}
|
|
145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColumnDirective, decorators: [{
|
|
146
93
|
type: Directive,
|
|
147
|
-
args: [{
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}]
|
|
154
|
-
}], ctorParameters: () => [] });
|
|
94
|
+
args: [{ selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]' }]
|
|
95
|
+
}], ctorParameters: () => [], propDecorators: { xxs: [{ type: i0.Input, args: [{ isSignal: true, alias: "xxs", required: false }] }], xs: [{ type: i0.Input, args: [{ isSignal: true, alias: "xs", required: false }] }], sm: [{ type: i0.Input, args: [{ isSignal: true, alias: "sm", required: false }] }], md: [{ type: i0.Input, args: [{ isSignal: true, alias: "md", required: false }] }], lg: [{ type: i0.Input, args: [{ isSignal: true, alias: "lg", required: false }] }], xl: [{ type: i0.Input, args: [{ isSignal: true, alias: "xl", required: false }] }], xxl: [{ type: i0.Input, args: [{ isSignal: true, alias: "xxl", required: false }] }] } });
|
|
96
|
+
|
|
97
|
+
// GENERATED from the grid manifest by @mintplayer/nx-component-compiler. Do not edit.
|
|
98
|
+
|
|
99
|
+
// bs-grid, bsRow, [col] and the breakpoint columns are generated from @mintplayer/ui-core/grid (#458).
|
|
155
100
|
|
|
156
101
|
/**
|
|
157
102
|
* Generated bundle index. Do not edit.
|
|
158
103
|
*/
|
|
159
104
|
|
|
160
|
-
export {
|
|
105
|
+
export { BsGridColDirective, BsGridColumnDirective, BsGridComponent, BsGridRowDirective };
|
|
161
106
|
//# sourceMappingURL=mintplayer-ng-bootstrap-grid.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-grid.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/grid/src/component/grid.component.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/component/grid.component.html","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/row/row.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/column/column.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/col-form-label/col-form-label.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/mintplayer-ng-bootstrap-grid.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Breakpoint } from '@mintplayer/ng-bootstrap';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n@Component({\n selector: 'bs-grid',\n templateUrl: './grid.component.html',\n styleUrls: ['./grid.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsGridComponent {\n constructor() {\n // #452: the container and grid partials ship with the grid, scoped to the\n // elements it (and the bsRow / column directives) stamp with data-mps.\n useBootstrap(bootstrapContainers, bootstrapGrid);\n }\n\n stopFullWidthAt = input<Breakpoint | 'never'>('sm');\n\n containerClass = computed(() => {\n const stopFullWidthAt = this.stopFullWidthAt();\n switch (stopFullWidthAt) {\n case 'sm': return 'container';\n case 'never': return 'container-fluid';\n default: return `container-${stopFullWidthAt}`;\n }\n });\n}\n","<div [class]=\"containerClass()\" data-mps=\"grid\">\n <ng-content></ng-content>\n</div>\n","import { Directive } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/**\n * Puts Bootstrap's `.row` on the element. The directive owns that class, so it\n * stamps the element (`data-mps`) and installs the grid part (#452): the\n * scoped part matches only stamped elements.\n */\n@Directive({\n selector: '[bsRow]',\n host: {\n '[class.row]': 'true',\n '[attr.data-mps]': '\"grid\"',\n },\n})\nexport class BsGridRowDirective {\n constructor() {\n useBootstrap(bootstrapGrid);\n }\n}\n","import { Directive, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n@Directive({\n selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]',\n host: {\n '[class]': 'classList()',\n // #452: the directive owns the col-* classes, so it stamps the element for the scoped grid part.\n '[attr.data-mps]': '\"grid\"',\n },\n})\nexport class BsGridColumnDirective {\n constructor() {\n useBootstrap(bootstrapGrid);\n }\n\n xxs = input<number | undefined>(undefined);\n xs = input<number | undefined>(undefined);\n sm = input<number | undefined>(undefined);\n md = input<number | undefined>(undefined);\n lg = input<number | undefined>(undefined);\n xl = input<number | undefined>(undefined);\n xxl = input<number | undefined>(undefined);\n\n classList = computed(() => {\n const sizes = {\n xxs: this.xxs(),\n xs: this.xs(),\n sm: this.sm(),\n md: this.md(),\n lg: this.lg(),\n xl: this.xl(),\n xxl: this.xxl(),\n };\n return Object.keys(sizes)\n .map(key => ({\n key,\n value: (<any>sizes)[key],\n }))\n .filter(v => v.value)\n .map(v => {\n switch (v.key) {\n case '': return 'col';\n case 'xxs': return `col-${v.value}`;\n default: return `col-${v.key}-${v.value}`;\n }\n })\n .join(' ') || null;\n });\n}\n\n@Directive({\n selector: '[col]',\n host: {\n '[class.col]': 'true',\n '[attr.data-mps]': '\"grid\"',\n },\n})\nexport class BsGridColDirective {\n constructor() {\n useBootstrap(bootstrapGrid);\n }\n readonly col = input<undefined>(undefined);\n}\n","import { Directive } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/**\n * Puts Bootstrap's `.col-form-label` on the element, stamps it (`data-mps`)\n * and installs the forms part that styles it (#452).\n */\n@Directive({\n selector: '[bsColFormLabel]',\n host: {\n '[class.col-form-label]': 'true',\n '[attr.data-mps]': '\"grid\"',\n },\n})\nexport class BsColFormLabelDirective {\n constructor() {\n useBootstrap(bootstrapForms);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAYa,eAAe,CAAA;AAC1B,IAAA,WAAA,GAAA;QAMA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAuB,IAAI;4FAAC;AAEnD,QAAA,IAAA,CAAA,cAAc,GAAG,QAAQ,CAAC,MAAK;AAC7B,YAAA,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,EAAE;YAC9C,QAAQ,eAAe;AACrB,gBAAA,KAAK,IAAI,EAAE,OAAO,WAAW;AAC7B,gBAAA,KAAK,OAAO,EAAE,OAAO,iBAAiB;AACtC,gBAAA,SAAS,OAAO,CAAA,UAAA,EAAa,eAAe,EAAE;;QAElD,CAAC;2FAAC;;;AAZA,QAAA,YAAY,CAAC,mBAAmB,EAAE,aAAa,CAAC;IAClD;8GALW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,qOCZ5B,+FAGA,EAAA,MAAA,EAAA,CAAA,2BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDSa,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,SAAS;+BACE,SAA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uB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,eAAA,EAAA,UAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,IAAI,EAAE;AACJ,wBAAA,wBAAwB,EAAE,MAAM;AAChC,wBAAA,iBAAiB,EAAE,QAAQ;AAC5B,qBAAA;AACF,iBAAA;;;ACdD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-grid.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/grid.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/grid.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/row.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/col.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/column.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/grid/mintplayer-ng-bootstrap-grid.ts"],"sourcesContent":["// GENERATED from the grid manifest (grid) 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 { gridCore, type GridInputs, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's container around the page's rows: full width below `stopFullWidthAt`, fixed widths from it up (`never`: always full width). */\n@Component({\n selector: 'bs-grid',\n templateUrl: './grid.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsGridComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly stopFullWidthAt = input<GridInputs['stopFullWidthAt']>('sm');\n\n readonly #core = useCore(gridCore, { inputs: () => ({ stopFullWidthAt: this.stopFullWidthAt() }), idPrefix: 'bs-grid', hostBag: (props) => ({ ...props.root, 'data-mps': 'grid' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/grid/src/templates/grid.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the grid manifest (row) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridRowCore, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's `.row` on the element. */\n@Directive({ selector: '[bsRow]' })\nexport class BsGridRowDirective {\n\n protected readonly core = useCore(gridRowCore, { inputs: () => ({ }), idPrefix: 'bs-row', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest (col) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridColCore, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's auto-width `.col` on the element. */\n@Directive({ selector: '[col]' })\nexport class BsGridColDirective {\n\n protected readonly core = useCore(gridColCore, { inputs: () => ({ }), idPrefix: 'bs-col', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest (column) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, input, numberAttribute } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridColumnCore, type GridColumnInputs, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** A column with a span per breakpoint: `<div md=\"6\" lg=\"4\">`. */\n@Directive({ selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]' })\nexport class BsGridColumnDirective {\n /** The column span (1–12) at every width: `col-N`. */\n readonly xxs = input<GridColumnInputs['xxs'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['xxs'] });\n /** The column span (1–12) from the `xs` breakpoint up: `col-xs-N`. */\n readonly xs = input<GridColumnInputs['xs'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['xs'] });\n /** The column span (1–12) from the `sm` breakpoint up: `col-sm-N`. */\n readonly sm = input<GridColumnInputs['sm'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['sm'] });\n /** The column span (1–12) from the `md` breakpoint up: `col-md-N`. */\n readonly md = input<GridColumnInputs['md'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['md'] });\n /** The column span (1–12) from the `lg` breakpoint up: `col-lg-N`. */\n readonly lg = input<GridColumnInputs['lg'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['lg'] });\n /** The column span (1–12) from the `xl` breakpoint up: `col-xl-N`. */\n readonly xl = input<GridColumnInputs['xl'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['xl'] });\n /** The column span (1–12) from the `xxl` breakpoint up: `col-xxl-N`. */\n readonly xxl = input<GridColumnInputs['xxl'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['xxl'] });\n\n protected readonly core = useCore(gridColumnCore, { inputs: () => ({ xxs: this.xxs(), xs: this.xs(), sm: this.sm(), md: this.md(), lg: this.lg(), xl: this.xl(), xxl: this.xxl() }), idPrefix: 'bs-column', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsGridComponent } from './grid.component.generated';\nexport { BsGridRowDirective } from './row.directive.generated';\nexport { BsGridColDirective } from './col.directive.generated';\nexport { BsGridColumnDirective } from './column.directive.generated';\n","// bs-grid, bsRow, [col] and the breakpoint columns are generated from @mintplayer/ui-core/grid (#458).\nexport * from './generated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,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,SAAS;mBAAC,EAAE,QAAQ,EAAE,sCAAsC,EAAE;;;ACR/D;;ACAA;;ACAA;;AAEG;;;;"}
|
|
@@ -1,52 +1,37 @@
|
|
|
1
|
-
import { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { inject, ElementRef, input, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';
|
|
4
|
+
import { inputGroupCore, inputGroupScopedStyles } from '@mintplayer/ui-core/input-group';
|
|
5
|
+
import { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
* The host IS Bootstrap's `.input-group` (PRD #437 wave A): its children are
|
|
11
|
-
* its direct children, so the baseline's `.input-group > .form-control` rules
|
|
12
|
-
* apply as written and a consumer's `aria-*` / `id` already sits on the
|
|
13
|
-
* element that carries the role. The scoped sheet adds RTL and the sizing of
|
|
14
|
-
* controls rendered inside a framework host (`<bs-select>`).
|
|
15
|
-
*
|
|
16
|
-
* The role is `group` only when the group is named. The name is read from the
|
|
17
|
-
* host's static attributes, so SSR emits the same role; a group named through
|
|
18
|
-
* a binding passes `role="group"` itself.
|
|
19
|
-
*/
|
|
7
|
+
// GENERATED from the input-group manifest (input-group) by @mintplayer/nx-component-compiler. Do not edit.
|
|
8
|
+
/** Bootstrap's input group: joins its children into one visually continuous control. A `label` names it and makes it a `group`. */
|
|
20
9
|
class BsInputGroupComponent {
|
|
10
|
+
#core;
|
|
21
11
|
constructor() {
|
|
22
|
-
/**
|
|
12
|
+
/** The host element. */
|
|
13
|
+
this.elementRef = inject(ElementRef);
|
|
23
14
|
this.size = input('md', /* @ts-ignore */
|
|
24
15
|
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
25
|
-
this.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
useScopedStyles(INPUT_GROUP_SCOPE, inputGroupScopedStyles);
|
|
16
|
+
this.label = input(null, /* @ts-ignore */
|
|
17
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
18
|
+
this.#core = useCore(inputGroupCore, { inputs: () => ({ size: this.size(), label: this.label() }), idPrefix: 'bs-input-group', hostBag: (props) => ({ ...props.root, 'data-mps': 'input-group' }) });
|
|
19
|
+
/** The template's props. */
|
|
20
|
+
this.props = this.#core.props;
|
|
21
|
+
useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order });
|
|
22
|
+
useScopedStyles('input-group', inputGroupScopedStyles);
|
|
33
23
|
}
|
|
34
24
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsInputGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsInputGroupComponent, isStandalone: true, selector: "bs-input-group", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsInputGroupComponent, isStandalone: true, selector: "bs-input-group", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/input-group/src/templates/input-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
36
26
|
}
|
|
37
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsInputGroupComponent, decorators: [{
|
|
38
28
|
type: Component,
|
|
39
|
-
args: [{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
'[attr.data-mps]': 'scope',
|
|
46
|
-
'[attr.role]': 'role',
|
|
47
|
-
},
|
|
48
|
-
}]
|
|
49
|
-
}], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
|
|
29
|
+
args: [{ selector: 'bs-input-group', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/input-group/src/templates/input-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
30
|
+
}], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
|
|
31
|
+
|
|
32
|
+
// GENERATED from the input-group manifest by @mintplayer/nx-component-compiler. Do not edit.
|
|
33
|
+
|
|
34
|
+
// Generated from @mintplayer/ui-core/input-group (#458 M3, D10).
|
|
50
35
|
|
|
51
36
|
/**
|
|
52
37
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-input-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-input-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/input-group/src/generated/input-group.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/src/generated/input-group.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/input-group/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/mintplayer-ng-bootstrap-input-group.ts"],"sourcesContent":["// GENERATED from the input-group manifest (input-group) 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 { inputGroupCore, type InputGroupInputs, inputGroupScopedStyles } from '@mintplayer/ui-core/input-group';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/** Bootstrap's input group: joins its children into one visually continuous control. A `label` names it and makes it a `group`. */\n@Component({\n selector: 'bs-input-group',\n templateUrl: './input-group.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsInputGroupComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly size = input<InputGroupInputs['size']>('md');\n readonly label = input<InputGroupInputs['label']>(null);\n\n readonly #core = useCore(inputGroupCore, { inputs: () => ({ size: this.size(), label: this.label() }), idPrefix: 'bs-input-group', hostBag: (props) => ({ ...props.root, 'data-mps': 'input-group' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('input-group', inputGroupScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/input-group/src/templates/input-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the input-group manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsInputGroupComponent } from './input-group.component.generated';\n","// Generated from @mintplayer/ui-core/input-group (#458 M3, D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAMA;MAOa,qBAAqB,CAAA;AAOvB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AATS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA2B,IAAI;iFAAC;QAC5C,IAAA,CAAA,KAAK,GAAG,KAAK,CAA4B,IAAI;kFAAC;QAE9C,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC;;AAErL,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK;AAGzC,QAAA,eAAe,CAAC,cAAc,CAAC,GAAG,EAAE,cAAc,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,aAAa,EAAE,sBAAsB,CAAC;IAClJ;8GAbW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,mUCblC,qKAEA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDWa,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAAA,OAAA,EAEjB,EAAE,EAAA,eAAA,EACM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,qKAAA,EAAA;;;AEXjD;;ACAA;;ACAA;;AAEG;;;;"}
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';
|
|
4
|
+
import { listGroupCore, listGroupScopedStyles, listGroupItemCore } from '@mintplayer/ui-core/list-group';
|
|
4
5
|
import { bootstrapListGroup } from '@mintplayer/ui-core/bootstrap/list-group';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
// GENERATED from the list-group manifest (list-group) by @mintplayer/nx-component-compiler. Do not edit.
|
|
8
|
+
/** Bootstrap's list group: a `role="list"` of `list-group-item`s. `flush` drops the outer borders. */
|
|
9
|
+
class BsListGroupComponent {
|
|
10
|
+
#core;
|
|
7
11
|
constructor() {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
this.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
/** The host element. */
|
|
13
|
+
this.elementRef = inject(ElementRef);
|
|
14
|
+
this.flush = input(false, { ...(ngDevMode ? { debugName: "flush" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
15
|
+
this.#core = useCore(listGroupCore, { inputs: () => ({ flush: this.flush() }), idPrefix: 'bs-list-group', hostBag: (props) => ({ ...props.root, 'data-mps': 'list-group' }) });
|
|
16
|
+
/** The template's props. */
|
|
17
|
+
this.props = this.#core.props;
|
|
18
|
+
useScopedStyles(bootstrapListGroup.key, bootstrapListGroup.css, { order: bootstrapListGroup.order });
|
|
19
|
+
useScopedStyles('list-group', listGroupScopedStyles);
|
|
14
20
|
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type:
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsListGroupComponent, isStandalone: true, selector: "bs-list-group", inputs: { flush: { classPropertyName: "flush", publicName: "flush", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/list-group/src/templates/list-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17
23
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupComponent, decorators: [{
|
|
19
25
|
type: Component,
|
|
20
|
-
args: [{ selector: 'bs-list-group
|
|
21
|
-
|
|
22
|
-
'[class.list-group-item]': 'true',
|
|
23
|
-
'role': 'listitem',
|
|
24
|
-
'[class.active]': 'active()',
|
|
25
|
-
'[class.disabled]': 'disabled()',
|
|
26
|
-
// aria-current says WHICH item is current; the .active class alone was
|
|
27
|
-
// visual-only. Disabled items are perceivable but marked.
|
|
28
|
-
'[attr.aria-current]': 'active() ? "true" : null',
|
|
29
|
-
'[attr.aria-disabled]': 'disabled() ? "true" : null',
|
|
30
|
-
}, template: "<!-- <li class=\"list-group-item\"> -->\n <ng-content></ng-content>\n<!-- </li> -->", styles: [".list-group-item{margin-bottom:-1px}\n"] }]
|
|
31
|
-
}], ctorParameters: () => [], propDecorators: { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }] } });
|
|
26
|
+
args: [{ selector: 'bs-list-group', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/list-group/src/templates/list-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
27
|
+
}], ctorParameters: () => [], propDecorators: { flush: [{ type: i0.Input, args: [{ isSignal: true, alias: "flush", required: false }] }] } });
|
|
32
28
|
|
|
33
|
-
|
|
29
|
+
// GENERATED from the list-group manifest (list-group-item) by @mintplayer/nx-component-compiler. Do not edit.
|
|
30
|
+
/** One item of a list group. `active` marks the current one (`aria-current`); `color` is a contextual colour. */
|
|
31
|
+
class BsListGroupItemComponent {
|
|
32
|
+
#core;
|
|
34
33
|
constructor() {
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
this.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
/** The host element. */
|
|
35
|
+
this.elementRef = inject(ElementRef);
|
|
36
|
+
this.active = input(false, { ...(ngDevMode ? { debugName: "active" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
37
|
+
this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
38
|
+
this.color = input(null, /* @ts-ignore */
|
|
39
|
+
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
40
|
+
this.#core = useCore(listGroupItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled(), color: this.color() }), idPrefix: 'bs-list-group-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'list-group' }) });
|
|
41
|
+
/** The template's props. */
|
|
42
|
+
this.props = this.#core.props;
|
|
43
|
+
useScopedStyles(bootstrapListGroup.key, bootstrapListGroup.css, { order: bootstrapListGroup.order });
|
|
44
|
+
useScopedStyles('list-group', listGroupScopedStyles);
|
|
44
45
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
46
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsListGroupItemComponent, isStandalone: true, selector: "bs-list-group-item", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/list-group/src/templates/list-group-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
47
48
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type:
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
|
|
49
50
|
type: Component,
|
|
50
|
-
args: [{ selector: 'bs-list-group', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}], ctorParameters: () => [], propDecorators: { flush: [{ type: i0.Input, args: [{ isSignal: true, alias: "flush", required: false }] }], items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => BsListGroupItemComponent), { isSignal: true }] }] } });
|
|
51
|
+
args: [{ selector: 'bs-list-group-item', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/list-group/src/templates/list-group-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
52
|
+
}], ctorParameters: () => [], propDecorators: { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
|
|
53
|
+
|
|
54
|
+
// GENERATED from the list-group manifest by @mintplayer/nx-component-compiler. Do not edit.
|
|
55
|
+
|
|
56
|
+
// Generated from @mintplayer/ui-core/list-group (#458 D10).
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Generated bundle index. Do not edit.
|