@brandsync/angular 1.8.0 → 1.10.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/README.md +73 -0
- package/fesm2022/brandsync-angular.mjs +155 -71
- package/fesm2022/brandsync-angular.mjs.map +1 -1
- package/lib/components.d.ts +90 -6
- package/lib/index.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -50,3 +50,76 @@ or via a plain `@import` in `src/styles.css`:
|
|
|
50
50
|
Note: the vendored stylesheet currently contains a handful of malformed token declarations from an upstream `brandsync-tokens` export step (e.g. `--bs-5-brand-colors-jade-brand-700: {Brand Colors.teal.700};`), which Angular's build may warn about. These are pre-existing in the vendored dependency and harmless — they don't affect any token this library actually uses.
|
|
51
51
|
|
|
52
52
|
See `@brandsync/wc`'s own README ("Design tokens — required, not optional") for the full explanation.
|
|
53
|
+
|
|
54
|
+
## Events are typed
|
|
55
|
+
|
|
56
|
+
Each component's outputs are real Angular outputs whose payload is typed, so you read the value from
|
|
57
|
+
`$event.detail` without `$any`:
|
|
58
|
+
|
|
59
|
+
```ts
|
|
60
|
+
@Component({
|
|
61
|
+
standalone: true,
|
|
62
|
+
imports: [BsCheckbox],
|
|
63
|
+
template: `<bs-checkbox (bsChange)="onChange($event.detail)">I agree</bs-checkbox>`,
|
|
64
|
+
})
|
|
65
|
+
export class Example {
|
|
66
|
+
onChange(checked: boolean) {} // `$event.detail` is a `boolean` here
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
The emitted event is a `BsCheckboxCustomEvent<boolean>` (a `CustomEvent` whose `detail` and `target` are
|
|
71
|
+
typed), exported from `@brandsync/wc`.
|
|
72
|
+
|
|
73
|
+
## No `CUSTOM_ELEMENTS_SCHEMA`
|
|
74
|
+
|
|
75
|
+
You do not need `CUSTOM_ELEMENTS_SCHEMA`. Importing a component class (`imports: [BsButton]`) is what
|
|
76
|
+
makes `<bs-button>` a known element in that component's template. If you see "`bs-button` is not a known
|
|
77
|
+
element", the class is not in that component's `imports`.
|
|
78
|
+
|
|
79
|
+
## Forms: `ngModel` and `formControlName`
|
|
80
|
+
|
|
81
|
+
`bs-input`, `bs-checkbox`, `bs-switch` and `bs-slider` work with Angular forms. Import the matching
|
|
82
|
+
`ControlValueAccessor` directive next to the component:
|
|
83
|
+
|
|
84
|
+
| Component | Accessor | Control value |
|
|
85
|
+
| --- | --- | --- |
|
|
86
|
+
| `bs-input` | `TextValueAccessor` | `string` |
|
|
87
|
+
| `bs-checkbox`, `bs-switch` | `BooleanValueAccessor` | `boolean` |
|
|
88
|
+
| `bs-slider` | `NumericValueAccessor` | `number` (not for `type="range"`, which has two values) |
|
|
89
|
+
|
|
90
|
+
```ts
|
|
91
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
92
|
+
import { BsInput, BsCheckbox, TextValueAccessor, BooleanValueAccessor } from '@brandsync/angular';
|
|
93
|
+
|
|
94
|
+
@Component({
|
|
95
|
+
standalone: true,
|
|
96
|
+
imports: [ReactiveFormsModule, BsInput, TextValueAccessor, BsCheckbox, BooleanValueAccessor],
|
|
97
|
+
template: `
|
|
98
|
+
<form [formGroup]="form">
|
|
99
|
+
<bs-input formControlName="email" label="Email"></bs-input>
|
|
100
|
+
<bs-checkbox formControlName="terms">I accept the terms</bs-checkbox>
|
|
101
|
+
</form>`,
|
|
102
|
+
})
|
|
103
|
+
export class SignupForm {
|
|
104
|
+
form = new FormGroup({ email: new FormControl(''), terms: new FormControl(false) });
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
- `@angular/forms` (`^19.0.0`) is a peer dependency.
|
|
109
|
+
- `bs-input` updates the control when the value is **committed** (blur, Enter, and immediately for the
|
|
110
|
+
number stepper, dropdown and pin), like `updateOn: 'blur'`. Use `(bsInput)` for every keystroke.
|
|
111
|
+
- `control.disable()` disables the component.
|
|
112
|
+
- `bs-radio` has no accessor yet: bind it with `[checked]` and `(bsChange)`.
|
|
113
|
+
- Two-way `[(value)]` / `[(checked)]` is not provided; use `ngModel` or `formControlName` instead.
|
|
114
|
+
- A native `<form>` also works: give the controls a `name`, and a `<bs-button type="submit">` submits it.
|
|
115
|
+
|
|
116
|
+
See **Guides / Forms (Angular)** in the Angular Storybook for a working example.
|
|
117
|
+
|
|
118
|
+
## Boolean inputs need property binding
|
|
119
|
+
|
|
120
|
+
Bind booleans with `[...]`: `<bs-checkbox [disabled]="true">`, `<bs-input [required]="true">`. A bare
|
|
121
|
+
attribute (`<bs-checkbox disabled>`) is **not** coerced: Angular passes it as an empty string, which the
|
|
122
|
+
component treats as `false`. (Stencil's Angular output target can generate a coercion transform for this
|
|
123
|
+
via its `booleanAttributes` option, but that currently does not compile under this package's TypeScript
|
|
124
|
+
configuration, so it is not enabled.)
|
|
125
|
+
|
|
@@ -30,32 +30,34 @@ import { defineCustomElement as defineCustomElement$p } from '@brandsync/wc/dist
|
|
|
30
30
|
import { defineCustomElement as defineCustomElement$q } from '@brandsync/wc/dist/components/bs-composer.js';
|
|
31
31
|
import { defineCustomElement as defineCustomElement$r } from '@brandsync/wc/dist/components/bs-composer-status-banner.js';
|
|
32
32
|
import { defineCustomElement as defineCustomElement$s } from '@brandsync/wc/dist/components/bs-data-table.js';
|
|
33
|
-
import { defineCustomElement as defineCustomElement$t } from '@brandsync/wc/dist/components/bs-
|
|
34
|
-
import { defineCustomElement as defineCustomElement$u } from '@brandsync/wc/dist/components/bs-
|
|
35
|
-
import { defineCustomElement as defineCustomElement$v } from '@brandsync/wc/dist/components/bs-file-upload
|
|
36
|
-
import { defineCustomElement as defineCustomElement$w } from '@brandsync/wc/dist/components/bs-
|
|
37
|
-
import { defineCustomElement as defineCustomElement$x } from '@brandsync/wc/dist/components/bs-
|
|
38
|
-
import { defineCustomElement as defineCustomElement$y } from '@brandsync/wc/dist/components/bs-
|
|
39
|
-
import { defineCustomElement as defineCustomElement$z } from '@brandsync/wc/dist/components/bs-
|
|
40
|
-
import { defineCustomElement as defineCustomElement$A } from '@brandsync/wc/dist/components/bs-
|
|
41
|
-
import { defineCustomElement as defineCustomElement$B } from '@brandsync/wc/dist/components/bs-menu
|
|
42
|
-
import { defineCustomElement as defineCustomElement$C } from '@brandsync/wc/dist/components/bs-
|
|
43
|
-
import { defineCustomElement as defineCustomElement$D } from '@brandsync/wc/dist/components/bs-navigation-drawer
|
|
44
|
-
import { defineCustomElement as defineCustomElement$E } from '@brandsync/wc/dist/components/bs-navigation-
|
|
45
|
-
import { defineCustomElement as defineCustomElement$F } from '@brandsync/wc/dist/components/bs-
|
|
46
|
-
import { defineCustomElement as defineCustomElement$G } from '@brandsync/wc/dist/components/bs-
|
|
47
|
-
import { defineCustomElement as defineCustomElement$H } from '@brandsync/wc/dist/components/bs-progress
|
|
48
|
-
import { defineCustomElement as defineCustomElement$I } from '@brandsync/wc/dist/components/bs-
|
|
49
|
-
import { defineCustomElement as defineCustomElement$J } from '@brandsync/wc/dist/components/bs-
|
|
50
|
-
import { defineCustomElement as defineCustomElement$K } from '@brandsync/wc/dist/components/bs-
|
|
51
|
-
import { defineCustomElement as defineCustomElement$L } from '@brandsync/wc/dist/components/bs-
|
|
52
|
-
import { defineCustomElement as defineCustomElement$M } from '@brandsync/wc/dist/components/bs-
|
|
53
|
-
import { defineCustomElement as defineCustomElement$N } from '@brandsync/wc/dist/components/bs-stepper
|
|
54
|
-
import { defineCustomElement as defineCustomElement$O } from '@brandsync/wc/dist/components/bs-
|
|
55
|
-
import { defineCustomElement as defineCustomElement$P } from '@brandsync/wc/dist/components/bs-
|
|
56
|
-
import { defineCustomElement as defineCustomElement$Q } from '@brandsync/wc/dist/components/bs-
|
|
57
|
-
import { defineCustomElement as defineCustomElement$R } from '@brandsync/wc/dist/components/bs-
|
|
58
|
-
import { defineCustomElement as defineCustomElement$S } from '@brandsync/wc/dist/components/bs-
|
|
33
|
+
import { defineCustomElement as defineCustomElement$t } from '@brandsync/wc/dist/components/bs-datepicker.js';
|
|
34
|
+
import { defineCustomElement as defineCustomElement$u } from '@brandsync/wc/dist/components/bs-dialog.js';
|
|
35
|
+
import { defineCustomElement as defineCustomElement$v } from '@brandsync/wc/dist/components/bs-file-upload.js';
|
|
36
|
+
import { defineCustomElement as defineCustomElement$w } from '@brandsync/wc/dist/components/bs-file-upload-item.js';
|
|
37
|
+
import { defineCustomElement as defineCustomElement$x } from '@brandsync/wc/dist/components/bs-icon-button.js';
|
|
38
|
+
import { defineCustomElement as defineCustomElement$y } from '@brandsync/wc/dist/components/bs-inline-tab.js';
|
|
39
|
+
import { defineCustomElement as defineCustomElement$z } from '@brandsync/wc/dist/components/bs-input.js';
|
|
40
|
+
import { defineCustomElement as defineCustomElement$A } from '@brandsync/wc/dist/components/bs-logo.js';
|
|
41
|
+
import { defineCustomElement as defineCustomElement$B } from '@brandsync/wc/dist/components/bs-menu.js';
|
|
42
|
+
import { defineCustomElement as defineCustomElement$C } from '@brandsync/wc/dist/components/bs-menu-item.js';
|
|
43
|
+
import { defineCustomElement as defineCustomElement$D } from '@brandsync/wc/dist/components/bs-navigation-drawer.js';
|
|
44
|
+
import { defineCustomElement as defineCustomElement$E } from '@brandsync/wc/dist/components/bs-navigation-drawer-item.js';
|
|
45
|
+
import { defineCustomElement as defineCustomElement$F } from '@brandsync/wc/dist/components/bs-navigation-header.js';
|
|
46
|
+
import { defineCustomElement as defineCustomElement$G } from '@brandsync/wc/dist/components/bs-pagination.js';
|
|
47
|
+
import { defineCustomElement as defineCustomElement$H } from '@brandsync/wc/dist/components/bs-progress.js';
|
|
48
|
+
import { defineCustomElement as defineCustomElement$I } from '@brandsync/wc/dist/components/bs-progress-linear.js';
|
|
49
|
+
import { defineCustomElement as defineCustomElement$J } from '@brandsync/wc/dist/components/bs-radio.js';
|
|
50
|
+
import { defineCustomElement as defineCustomElement$K } from '@brandsync/wc/dist/components/bs-slider.js';
|
|
51
|
+
import { defineCustomElement as defineCustomElement$L } from '@brandsync/wc/dist/components/bs-snackbar.js';
|
|
52
|
+
import { defineCustomElement as defineCustomElement$M } from '@brandsync/wc/dist/components/bs-source-link.js';
|
|
53
|
+
import { defineCustomElement as defineCustomElement$N } from '@brandsync/wc/dist/components/bs-stepper.js';
|
|
54
|
+
import { defineCustomElement as defineCustomElement$O } from '@brandsync/wc/dist/components/bs-stepper-step.js';
|
|
55
|
+
import { defineCustomElement as defineCustomElement$P } from '@brandsync/wc/dist/components/bs-switch.js';
|
|
56
|
+
import { defineCustomElement as defineCustomElement$Q } from '@brandsync/wc/dist/components/bs-tab.js';
|
|
57
|
+
import { defineCustomElement as defineCustomElement$R } from '@brandsync/wc/dist/components/bs-tabs.js';
|
|
58
|
+
import { defineCustomElement as defineCustomElement$S } from '@brandsync/wc/dist/components/bs-timepicker.js';
|
|
59
|
+
import { defineCustomElement as defineCustomElement$T } from '@brandsync/wc/dist/components/bs-toast.js';
|
|
60
|
+
import { defineCustomElement as defineCustomElement$U } from '@brandsync/wc/dist/components/bs-tooltip.js';
|
|
59
61
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
60
62
|
|
|
61
63
|
/* eslint-disable */
|
|
@@ -342,13 +344,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
342
344
|
let BsBreadcrumb = class BsBreadcrumb {
|
|
343
345
|
z;
|
|
344
346
|
el;
|
|
347
|
+
bsNavigate = new EventEmitter();
|
|
345
348
|
constructor(c, r, z) {
|
|
346
349
|
this.z = z;
|
|
347
350
|
c.detach();
|
|
348
351
|
this.el = r.nativeElement;
|
|
349
352
|
}
|
|
350
353
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsBreadcrumb, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
351
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsBreadcrumb, isStandalone: true, selector: "bs-breadcrumb", inputs: { current: "current", href: "href", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
354
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsBreadcrumb, isStandalone: true, selector: "bs-breadcrumb", inputs: { current: "current", href: "href", size: "size" }, outputs: { bsNavigate: "bsNavigate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
352
355
|
};
|
|
353
356
|
BsBreadcrumb = __decorate([
|
|
354
357
|
ProxyCmp({
|
|
@@ -364,18 +367,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
364
367
|
template: '<ng-content></ng-content>',
|
|
365
368
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
366
369
|
inputs: ['current', 'href', 'size'],
|
|
370
|
+
outputs: ['bsNavigate'],
|
|
367
371
|
}]
|
|
368
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]
|
|
372
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { bsNavigate: [{
|
|
373
|
+
type: Output
|
|
374
|
+
}] } });
|
|
369
375
|
let BsBreadcrumbOverflow = class BsBreadcrumbOverflow {
|
|
370
376
|
z;
|
|
371
377
|
el;
|
|
378
|
+
bsNavigate = new EventEmitter();
|
|
372
379
|
constructor(c, r, z) {
|
|
373
380
|
this.z = z;
|
|
374
381
|
c.detach();
|
|
375
382
|
this.el = r.nativeElement;
|
|
376
383
|
}
|
|
377
384
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsBreadcrumbOverflow, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
378
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsBreadcrumbOverflow, isStandalone: true, selector: "bs-breadcrumb-overflow", inputs: { items: "items", overflowLabel: "overflowLabel", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
385
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsBreadcrumbOverflow, isStandalone: true, selector: "bs-breadcrumb-overflow", inputs: { items: "items", overflowLabel: "overflowLabel", size: "size" }, outputs: { bsNavigate: "bsNavigate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
379
386
|
};
|
|
380
387
|
BsBreadcrumbOverflow = __decorate([
|
|
381
388
|
ProxyCmp({
|
|
@@ -391,8 +398,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
391
398
|
template: '<ng-content></ng-content>',
|
|
392
399
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
393
400
|
inputs: ['items', 'overflowLabel', 'size'],
|
|
401
|
+
outputs: ['bsNavigate'],
|
|
394
402
|
}]
|
|
395
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]
|
|
403
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { bsNavigate: [{
|
|
404
|
+
type: Output
|
|
405
|
+
}] } });
|
|
396
406
|
let BsBreadcrumbs = class BsBreadcrumbs {
|
|
397
407
|
z;
|
|
398
408
|
el;
|
|
@@ -991,6 +1001,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
991
1001
|
}], bsRowSelect: [{
|
|
992
1002
|
type: Output
|
|
993
1003
|
}] } });
|
|
1004
|
+
let BsDatepicker = class BsDatepicker {
|
|
1005
|
+
z;
|
|
1006
|
+
el;
|
|
1007
|
+
bsChange = new EventEmitter();
|
|
1008
|
+
constructor(c, r, z) {
|
|
1009
|
+
this.z = z;
|
|
1010
|
+
c.detach();
|
|
1011
|
+
this.el = r.nativeElement;
|
|
1012
|
+
}
|
|
1013
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1014
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsDatepicker, isStandalone: true, selector: "bs-datepicker", inputs: { end: "end", endLabel: "endLabel", firstDayOfWeek: "firstDayOfWeek", locale: "locale", max: "max", min: "min", monthLabel: "monthLabel", name: "name", nextLabel: "nextLabel", previousLabel: "previousLabel", range: "range", start: "start", startLabel: "startLabel", value: "value", yearLabel: "yearLabel" }, outputs: { bsChange: "bsChange" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1015
|
+
};
|
|
1016
|
+
BsDatepicker = __decorate([
|
|
1017
|
+
ProxyCmp({
|
|
1018
|
+
defineCustomElementFn: defineCustomElement$t,
|
|
1019
|
+
inputs: ['end', 'endLabel', 'firstDayOfWeek', 'locale', 'max', 'min', 'monthLabel', 'name', 'nextLabel', 'previousLabel', 'range', 'start', 'startLabel', 'value', 'yearLabel']
|
|
1020
|
+
})
|
|
1021
|
+
], BsDatepicker);
|
|
1022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsDatepicker, decorators: [{
|
|
1023
|
+
type: Component,
|
|
1024
|
+
args: [{
|
|
1025
|
+
selector: 'bs-datepicker',
|
|
1026
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1027
|
+
template: '<ng-content></ng-content>',
|
|
1028
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1029
|
+
inputs: ['end', 'endLabel', 'firstDayOfWeek', 'locale', 'max', 'min', 'monthLabel', 'name', 'nextLabel', 'previousLabel', 'range', 'start', 'startLabel', 'value', 'yearLabel'],
|
|
1030
|
+
outputs: ['bsChange'],
|
|
1031
|
+
}]
|
|
1032
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { bsChange: [{
|
|
1033
|
+
type: Output
|
|
1034
|
+
}] } });
|
|
994
1035
|
let BsDialog = class BsDialog {
|
|
995
1036
|
z;
|
|
996
1037
|
el;
|
|
@@ -1005,7 +1046,7 @@ let BsDialog = class BsDialog {
|
|
|
1005
1046
|
};
|
|
1006
1047
|
BsDialog = __decorate([
|
|
1007
1048
|
ProxyCmp({
|
|
1008
|
-
defineCustomElementFn: defineCustomElement$
|
|
1049
|
+
defineCustomElementFn: defineCustomElement$u,
|
|
1009
1050
|
inputs: ['centered', 'heading', 'open', 'size']
|
|
1010
1051
|
})
|
|
1011
1052
|
], BsDialog);
|
|
@@ -1037,7 +1078,7 @@ let BsFileUpload = class BsFileUpload {
|
|
|
1037
1078
|
};
|
|
1038
1079
|
BsFileUpload = __decorate([
|
|
1039
1080
|
ProxyCmp({
|
|
1040
|
-
defineCustomElementFn: defineCustomElement$
|
|
1081
|
+
defineCustomElementFn: defineCustomElement$v,
|
|
1041
1082
|
inputs: ['accept', 'buttonLabel', 'description', 'direction', 'disabled', 'dragging', 'heading', 'multiple']
|
|
1042
1083
|
})
|
|
1043
1084
|
], BsFileUpload);
|
|
@@ -1071,7 +1112,7 @@ let BsFileUploadItem = class BsFileUploadItem {
|
|
|
1071
1112
|
};
|
|
1072
1113
|
BsFileUploadItem = __decorate([
|
|
1073
1114
|
ProxyCmp({
|
|
1074
|
-
defineCustomElementFn: defineCustomElement$
|
|
1115
|
+
defineCustomElementFn: defineCustomElement$w,
|
|
1075
1116
|
inputs: ['cancelLabel', 'fileName', 'fileSize', 'message', 'progress', 'removeLabel', 'state', 'thumbnailAlt', 'thumbnailSrc']
|
|
1076
1117
|
})
|
|
1077
1118
|
], BsFileUploadItem);
|
|
@@ -1103,7 +1144,7 @@ let BsIconButton = class BsIconButton {
|
|
|
1103
1144
|
};
|
|
1104
1145
|
BsIconButton = __decorate([
|
|
1105
1146
|
ProxyCmp({
|
|
1106
|
-
defineCustomElementFn: defineCustomElement$
|
|
1147
|
+
defineCustomElementFn: defineCustomElement$x,
|
|
1107
1148
|
inputs: ['ariaLabel', 'disabled', 'size', 'type', 'variant']
|
|
1108
1149
|
})
|
|
1109
1150
|
], BsIconButton);
|
|
@@ -1127,12 +1168,12 @@ let BsInlineTab = class BsInlineTab {
|
|
|
1127
1168
|
this.el = r.nativeElement;
|
|
1128
1169
|
}
|
|
1129
1170
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsInlineTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1130
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsInlineTab, isStandalone: true, selector: "bs-inline-tab", inputs: { ariaLabel: "ariaLabel", disabled: "disabled", selected: "selected", tabbable: "tabbable" }, outputs: { bsSelect: "bsSelect" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1171
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsInlineTab, isStandalone: true, selector: "bs-inline-tab", inputs: { ariaLabel: "ariaLabel", disabled: "disabled", selected: "selected", tabbable: "tabbable", value: "value" }, outputs: { bsSelect: "bsSelect" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1131
1172
|
};
|
|
1132
1173
|
BsInlineTab = __decorate([
|
|
1133
1174
|
ProxyCmp({
|
|
1134
|
-
defineCustomElementFn: defineCustomElement$
|
|
1135
|
-
inputs: ['ariaLabel', 'disabled', 'selected', 'tabbable']
|
|
1175
|
+
defineCustomElementFn: defineCustomElement$y,
|
|
1176
|
+
inputs: ['ariaLabel', 'disabled', 'selected', 'tabbable', 'value']
|
|
1136
1177
|
})
|
|
1137
1178
|
], BsInlineTab);
|
|
1138
1179
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsInlineTab, decorators: [{
|
|
@@ -1142,7 +1183,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
1142
1183
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1143
1184
|
template: '<ng-content></ng-content>',
|
|
1144
1185
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1145
|
-
inputs: ['ariaLabel', 'disabled', 'selected', 'tabbable'],
|
|
1186
|
+
inputs: ['ariaLabel', 'disabled', 'selected', 'tabbable', 'value'],
|
|
1146
1187
|
outputs: ['bsSelect'],
|
|
1147
1188
|
}]
|
|
1148
1189
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { bsSelect: [{
|
|
@@ -1168,7 +1209,7 @@ let BsInput = class BsInput {
|
|
|
1168
1209
|
};
|
|
1169
1210
|
BsInput = __decorate([
|
|
1170
1211
|
ProxyCmp({
|
|
1171
|
-
defineCustomElementFn: defineCustomElement$
|
|
1212
|
+
defineCustomElementFn: defineCustomElement$z,
|
|
1172
1213
|
inputs: ['chips', 'country', 'countryOptions', 'description', 'disabled', 'error', 'initialsTitle', 'label', 'length', 'max', 'min', 'name', 'open', 'options', 'placeholder', 'required', 'rows', 'step', 'titleOptions', 'type', 'value']
|
|
1173
1214
|
})
|
|
1174
1215
|
], BsInput);
|
|
@@ -1210,7 +1251,7 @@ let BsLogo = class BsLogo {
|
|
|
1210
1251
|
};
|
|
1211
1252
|
BsLogo = __decorate([
|
|
1212
1253
|
ProxyCmp({
|
|
1213
|
-
defineCustomElementFn: defineCustomElement$
|
|
1254
|
+
defineCustomElementFn: defineCustomElement$A,
|
|
1214
1255
|
inputs: ['alt', 'background', 'src', 'variant']
|
|
1215
1256
|
})
|
|
1216
1257
|
], BsLogo);
|
|
@@ -1237,7 +1278,7 @@ let BsMenu = class BsMenu {
|
|
|
1237
1278
|
};
|
|
1238
1279
|
BsMenu = __decorate([
|
|
1239
1280
|
ProxyCmp({
|
|
1240
|
-
defineCustomElementFn: defineCustomElement$
|
|
1281
|
+
defineCustomElementFn: defineCustomElement$B
|
|
1241
1282
|
})
|
|
1242
1283
|
], BsMenu);
|
|
1243
1284
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsMenu, decorators: [{
|
|
@@ -1264,7 +1305,7 @@ let BsMenuItem = class BsMenuItem {
|
|
|
1264
1305
|
};
|
|
1265
1306
|
BsMenuItem = __decorate([
|
|
1266
1307
|
ProxyCmp({
|
|
1267
|
-
defineCustomElementFn: defineCustomElement$
|
|
1308
|
+
defineCustomElementFn: defineCustomElement$C,
|
|
1268
1309
|
inputs: ['disabled']
|
|
1269
1310
|
})
|
|
1270
1311
|
], BsMenuItem);
|
|
@@ -1286,18 +1327,19 @@ let BsNavigationDrawer = class BsNavigationDrawer {
|
|
|
1286
1327
|
el;
|
|
1287
1328
|
bsCollapse = new EventEmitter();
|
|
1288
1329
|
bsSearchClick = new EventEmitter();
|
|
1330
|
+
bsClose = new EventEmitter();
|
|
1289
1331
|
constructor(c, r, z) {
|
|
1290
1332
|
this.z = z;
|
|
1291
1333
|
c.detach();
|
|
1292
1334
|
this.el = r.nativeElement;
|
|
1293
1335
|
}
|
|
1294
1336
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsNavigationDrawer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1295
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsNavigationDrawer, isStandalone: true, selector: "bs-navigation-drawer", inputs: { collapsed: "collapsed", collapsible: "collapsible", heading: "heading", logoBackground: "logoBackground", showLogo: "showLogo" }, outputs: { bsCollapse: "bsCollapse", bsSearchClick: "bsSearchClick" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1337
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsNavigationDrawer, isStandalone: true, selector: "bs-navigation-drawer", inputs: { collapsed: "collapsed", collapsible: "collapsible", heading: "heading", logoBackground: "logoBackground", open: "open", showLogo: "showLogo" }, outputs: { bsCollapse: "bsCollapse", bsSearchClick: "bsSearchClick", bsClose: "bsClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1296
1338
|
};
|
|
1297
1339
|
BsNavigationDrawer = __decorate([
|
|
1298
1340
|
ProxyCmp({
|
|
1299
|
-
defineCustomElementFn: defineCustomElement$
|
|
1300
|
-
inputs: ['collapsed', 'collapsible', 'heading', 'logoBackground', 'showLogo']
|
|
1341
|
+
defineCustomElementFn: defineCustomElement$D,
|
|
1342
|
+
inputs: ['collapsed', 'collapsible', 'heading', 'logoBackground', 'open', 'showLogo']
|
|
1301
1343
|
})
|
|
1302
1344
|
], BsNavigationDrawer);
|
|
1303
1345
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsNavigationDrawer, decorators: [{
|
|
@@ -1307,13 +1349,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
1307
1349
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1308
1350
|
template: '<ng-content></ng-content>',
|
|
1309
1351
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1310
|
-
inputs: ['collapsed', 'collapsible', 'heading', 'logoBackground', 'showLogo'],
|
|
1311
|
-
outputs: ['bsCollapse', 'bsSearchClick'],
|
|
1352
|
+
inputs: ['collapsed', 'collapsible', 'heading', 'logoBackground', 'open', 'showLogo'],
|
|
1353
|
+
outputs: ['bsCollapse', 'bsSearchClick', 'bsClose'],
|
|
1312
1354
|
}]
|
|
1313
1355
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { bsCollapse: [{
|
|
1314
1356
|
type: Output
|
|
1315
1357
|
}], bsSearchClick: [{
|
|
1316
1358
|
type: Output
|
|
1359
|
+
}], bsClose: [{
|
|
1360
|
+
type: Output
|
|
1317
1361
|
}] } });
|
|
1318
1362
|
let BsNavigationDrawerItem = class BsNavigationDrawerItem {
|
|
1319
1363
|
z;
|
|
@@ -1330,7 +1374,7 @@ let BsNavigationDrawerItem = class BsNavigationDrawerItem {
|
|
|
1330
1374
|
};
|
|
1331
1375
|
BsNavigationDrawerItem = __decorate([
|
|
1332
1376
|
ProxyCmp({
|
|
1333
|
-
defineCustomElementFn: defineCustomElement$
|
|
1377
|
+
defineCustomElementFn: defineCustomElement$E,
|
|
1334
1378
|
inputs: ['ariaLabel', 'collapsed', 'expandable', 'expanded', 'nested', 'selected']
|
|
1335
1379
|
})
|
|
1336
1380
|
], BsNavigationDrawerItem);
|
|
@@ -1362,7 +1406,7 @@ let BsNavigationHeader = class BsNavigationHeader {
|
|
|
1362
1406
|
};
|
|
1363
1407
|
BsNavigationHeader = __decorate([
|
|
1364
1408
|
ProxyCmp({
|
|
1365
|
-
defineCustomElementFn: defineCustomElement$
|
|
1409
|
+
defineCustomElementFn: defineCustomElement$F,
|
|
1366
1410
|
inputs: ['alignment', 'ariaLabel', 'logoBackground', 'skipToContentHref', 'skipToContentLabel']
|
|
1367
1411
|
})
|
|
1368
1412
|
], BsNavigationHeader);
|
|
@@ -1390,7 +1434,7 @@ let BsPagination = class BsPagination {
|
|
|
1390
1434
|
};
|
|
1391
1435
|
BsPagination = __decorate([
|
|
1392
1436
|
ProxyCmp({
|
|
1393
|
-
defineCustomElementFn: defineCustomElement$
|
|
1437
|
+
defineCustomElementFn: defineCustomElement$G,
|
|
1394
1438
|
inputs: ['currentPage', 'nextLabel', 'previousLabel', 'siblingCount', 'totalPages']
|
|
1395
1439
|
})
|
|
1396
1440
|
], BsPagination);
|
|
@@ -1420,7 +1464,7 @@ let BsProgress = class BsProgress {
|
|
|
1420
1464
|
};
|
|
1421
1465
|
BsProgress = __decorate([
|
|
1422
1466
|
ProxyCmp({
|
|
1423
|
-
defineCustomElementFn: defineCustomElement$
|
|
1467
|
+
defineCustomElementFn: defineCustomElement$H,
|
|
1424
1468
|
inputs: ['ariaLabel', 'showLabel', 'size', 'strokeWidth', 'type', 'value']
|
|
1425
1469
|
})
|
|
1426
1470
|
], BsProgress);
|
|
@@ -1447,7 +1491,7 @@ let BsProgressLinear = class BsProgressLinear {
|
|
|
1447
1491
|
};
|
|
1448
1492
|
BsProgressLinear = __decorate([
|
|
1449
1493
|
ProxyCmp({
|
|
1450
|
-
defineCustomElementFn: defineCustomElement$
|
|
1494
|
+
defineCustomElementFn: defineCustomElement$I,
|
|
1451
1495
|
inputs: ['ariaLabel', 'showLabel', 'size', 'type', 'value']
|
|
1452
1496
|
})
|
|
1453
1497
|
], BsProgressLinear);
|
|
@@ -1475,7 +1519,7 @@ let BsRadio = class BsRadio {
|
|
|
1475
1519
|
};
|
|
1476
1520
|
BsRadio = __decorate([
|
|
1477
1521
|
ProxyCmp({
|
|
1478
|
-
defineCustomElementFn: defineCustomElement$
|
|
1522
|
+
defineCustomElementFn: defineCustomElement$J,
|
|
1479
1523
|
inputs: ['checked', 'disabled', 'name', 'value']
|
|
1480
1524
|
})
|
|
1481
1525
|
], BsRadio);
|
|
@@ -1507,7 +1551,7 @@ let BsSlider = class BsSlider {
|
|
|
1507
1551
|
};
|
|
1508
1552
|
BsSlider = __decorate([
|
|
1509
1553
|
ProxyCmp({
|
|
1510
|
-
defineCustomElementFn: defineCustomElement$
|
|
1554
|
+
defineCustomElementFn: defineCustomElement$K,
|
|
1511
1555
|
inputs: ['ariaLabel', 'disabled', 'label', 'max', 'min', 'name', 'segments', 'showLabel', 'step', 'type', 'value', 'valueEnd', 'valueStart']
|
|
1512
1556
|
})
|
|
1513
1557
|
], BsSlider);
|
|
@@ -1541,7 +1585,7 @@ let BsSnackbar = class BsSnackbar {
|
|
|
1541
1585
|
};
|
|
1542
1586
|
BsSnackbar = __decorate([
|
|
1543
1587
|
ProxyCmp({
|
|
1544
|
-
defineCustomElementFn: defineCustomElement$
|
|
1588
|
+
defineCustomElementFn: defineCustomElement$L,
|
|
1545
1589
|
inputs: ['actionLabel', 'loading', 'variant']
|
|
1546
1590
|
})
|
|
1547
1591
|
], BsSnackbar);
|
|
@@ -1574,7 +1618,7 @@ let BsSourceLink = class BsSourceLink {
|
|
|
1574
1618
|
};
|
|
1575
1619
|
BsSourceLink = __decorate([
|
|
1576
1620
|
ProxyCmp({
|
|
1577
|
-
defineCustomElementFn: defineCustomElement$
|
|
1621
|
+
defineCustomElementFn: defineCustomElement$M,
|
|
1578
1622
|
inputs: ['fileName', 'href', 'sourceName', 'target', 'version']
|
|
1579
1623
|
})
|
|
1580
1624
|
], BsSourceLink);
|
|
@@ -1604,7 +1648,7 @@ let BsStepper = class BsStepper {
|
|
|
1604
1648
|
};
|
|
1605
1649
|
BsStepper = __decorate([
|
|
1606
1650
|
ProxyCmp({
|
|
1607
|
-
defineCustomElementFn: defineCustomElement$
|
|
1651
|
+
defineCustomElementFn: defineCustomElement$N,
|
|
1608
1652
|
inputs: ['currentStep', 'direction', 'showDescription']
|
|
1609
1653
|
})
|
|
1610
1654
|
], BsStepper);
|
|
@@ -1631,7 +1675,7 @@ let BsStepperStep = class BsStepperStep {
|
|
|
1631
1675
|
};
|
|
1632
1676
|
BsStepperStep = __decorate([
|
|
1633
1677
|
ProxyCmp({
|
|
1634
|
-
defineCustomElementFn: defineCustomElement$
|
|
1678
|
+
defineCustomElementFn: defineCustomElement$O,
|
|
1635
1679
|
inputs: ['computedState', 'description', 'direction', 'disabled', 'error', 'name', 'showDescription']
|
|
1636
1680
|
})
|
|
1637
1681
|
], BsStepperStep);
|
|
@@ -1659,7 +1703,7 @@ let BsSwitch = class BsSwitch {
|
|
|
1659
1703
|
};
|
|
1660
1704
|
BsSwitch = __decorate([
|
|
1661
1705
|
ProxyCmp({
|
|
1662
|
-
defineCustomElementFn: defineCustomElement$
|
|
1706
|
+
defineCustomElementFn: defineCustomElement$P,
|
|
1663
1707
|
inputs: ['ariaLabel', 'checked', 'disabled', 'name', 'size', 'value']
|
|
1664
1708
|
})
|
|
1665
1709
|
], BsSwitch);
|
|
@@ -1686,12 +1730,12 @@ let BsTab = class BsTab {
|
|
|
1686
1730
|
this.el = r.nativeElement;
|
|
1687
1731
|
}
|
|
1688
1732
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1689
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsTab, isStandalone: true, selector: "bs-tab", inputs: { ariaLabel: "ariaLabel", disabled: "disabled", iconPosition: "iconPosition", selected: "selected", tabbable: "tabbable" }, outputs: { bsSelect: "bsSelect" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1733
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsTab, isStandalone: true, selector: "bs-tab", inputs: { ariaLabel: "ariaLabel", disabled: "disabled", iconPosition: "iconPosition", selected: "selected", tabbable: "tabbable", value: "value" }, outputs: { bsSelect: "bsSelect" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1690
1734
|
};
|
|
1691
1735
|
BsTab = __decorate([
|
|
1692
1736
|
ProxyCmp({
|
|
1693
|
-
defineCustomElementFn: defineCustomElement$
|
|
1694
|
-
inputs: ['ariaLabel', 'disabled', 'iconPosition', 'selected', 'tabbable']
|
|
1737
|
+
defineCustomElementFn: defineCustomElement$Q,
|
|
1738
|
+
inputs: ['ariaLabel', 'disabled', 'iconPosition', 'selected', 'tabbable', 'value']
|
|
1695
1739
|
})
|
|
1696
1740
|
], BsTab);
|
|
1697
1741
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsTab, decorators: [{
|
|
@@ -1701,7 +1745,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
1701
1745
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1702
1746
|
template: '<ng-content></ng-content>',
|
|
1703
1747
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1704
|
-
inputs: ['ariaLabel', 'disabled', 'iconPosition', 'selected', 'tabbable'],
|
|
1748
|
+
inputs: ['ariaLabel', 'disabled', 'iconPosition', 'selected', 'tabbable', 'value'],
|
|
1705
1749
|
outputs: ['bsSelect'],
|
|
1706
1750
|
}]
|
|
1707
1751
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { bsSelect: [{
|
|
@@ -1710,18 +1754,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
1710
1754
|
let BsTabs = class BsTabs {
|
|
1711
1755
|
z;
|
|
1712
1756
|
el;
|
|
1757
|
+
bsChange = new EventEmitter();
|
|
1713
1758
|
constructor(c, r, z) {
|
|
1714
1759
|
this.z = z;
|
|
1715
1760
|
c.detach();
|
|
1716
1761
|
this.el = r.nativeElement;
|
|
1717
1762
|
}
|
|
1718
1763
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsTabs, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1719
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsTabs, isStandalone: true, selector: "bs-tabs", inputs: { orientation: "orientation", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1764
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsTabs, isStandalone: true, selector: "bs-tabs", inputs: { orientation: "orientation", type: "type", value: "value" }, outputs: { bsChange: "bsChange" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1720
1765
|
};
|
|
1721
1766
|
BsTabs = __decorate([
|
|
1722
1767
|
ProxyCmp({
|
|
1723
|
-
defineCustomElementFn: defineCustomElement$
|
|
1724
|
-
inputs: ['orientation', 'type']
|
|
1768
|
+
defineCustomElementFn: defineCustomElement$R,
|
|
1769
|
+
inputs: ['orientation', 'type', 'value']
|
|
1725
1770
|
})
|
|
1726
1771
|
], BsTabs);
|
|
1727
1772
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsTabs, decorators: [{
|
|
@@ -1731,9 +1776,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
1731
1776
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1732
1777
|
template: '<ng-content></ng-content>',
|
|
1733
1778
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1734
|
-
inputs: ['orientation', 'type'],
|
|
1779
|
+
inputs: ['orientation', 'type', 'value'],
|
|
1780
|
+
outputs: ['bsChange'],
|
|
1735
1781
|
}]
|
|
1736
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]
|
|
1782
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { bsChange: [{
|
|
1783
|
+
type: Output
|
|
1784
|
+
}] } });
|
|
1785
|
+
let BsTimepicker = class BsTimepicker {
|
|
1786
|
+
z;
|
|
1787
|
+
el;
|
|
1788
|
+
bsChange = new EventEmitter();
|
|
1789
|
+
bsCancel = new EventEmitter();
|
|
1790
|
+
constructor(c, r, z) {
|
|
1791
|
+
this.z = z;
|
|
1792
|
+
c.detach();
|
|
1793
|
+
this.el = r.nativeElement;
|
|
1794
|
+
}
|
|
1795
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsTimepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1796
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BsTimepicker, isStandalone: true, selector: "bs-timepicker", inputs: { cancelLabel: "cancelLabel", confirmLabel: "confirmLabel", format: "format", formatLabel: "formatLabel", heading: "heading", hourLabel: "hourLabel", minuteLabel: "minuteLabel", minuteStep: "minuteStep", name: "name", periodLabel: "periodLabel", value: "value" }, outputs: { bsChange: "bsChange", bsCancel: "bsCancel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1797
|
+
};
|
|
1798
|
+
BsTimepicker = __decorate([
|
|
1799
|
+
ProxyCmp({
|
|
1800
|
+
defineCustomElementFn: defineCustomElement$S,
|
|
1801
|
+
inputs: ['cancelLabel', 'confirmLabel', 'format', 'formatLabel', 'heading', 'hourLabel', 'minuteLabel', 'minuteStep', 'name', 'periodLabel', 'value']
|
|
1802
|
+
})
|
|
1803
|
+
], BsTimepicker);
|
|
1804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BsTimepicker, decorators: [{
|
|
1805
|
+
type: Component,
|
|
1806
|
+
args: [{
|
|
1807
|
+
selector: 'bs-timepicker',
|
|
1808
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1809
|
+
template: '<ng-content></ng-content>',
|
|
1810
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1811
|
+
inputs: ['cancelLabel', 'confirmLabel', 'format', 'formatLabel', 'heading', 'hourLabel', 'minuteLabel', 'minuteStep', 'name', 'periodLabel', 'value'],
|
|
1812
|
+
outputs: ['bsChange', 'bsCancel'],
|
|
1813
|
+
}]
|
|
1814
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { bsChange: [{
|
|
1815
|
+
type: Output
|
|
1816
|
+
}], bsCancel: [{
|
|
1817
|
+
type: Output
|
|
1818
|
+
}] } });
|
|
1737
1819
|
let BsToast = class BsToast {
|
|
1738
1820
|
z;
|
|
1739
1821
|
el;
|
|
@@ -1748,7 +1830,7 @@ let BsToast = class BsToast {
|
|
|
1748
1830
|
};
|
|
1749
1831
|
BsToast = __decorate([
|
|
1750
1832
|
ProxyCmp({
|
|
1751
|
-
defineCustomElementFn: defineCustomElement$
|
|
1833
|
+
defineCustomElementFn: defineCustomElement$T,
|
|
1752
1834
|
inputs: ['state']
|
|
1753
1835
|
})
|
|
1754
1836
|
], BsToast);
|
|
@@ -1778,7 +1860,7 @@ let BsTooltip = class BsTooltip {
|
|
|
1778
1860
|
};
|
|
1779
1861
|
BsTooltip = __decorate([
|
|
1780
1862
|
ProxyCmp({
|
|
1781
|
-
defineCustomElementFn: defineCustomElement$
|
|
1863
|
+
defineCustomElementFn: defineCustomElement$U,
|
|
1782
1864
|
inputs: ['placement']
|
|
1783
1865
|
})
|
|
1784
1866
|
], BsTooltip);
|
|
@@ -1822,6 +1904,7 @@ const DIRECTIVES = [
|
|
|
1822
1904
|
BsComposer,
|
|
1823
1905
|
BsComposerStatusBanner,
|
|
1824
1906
|
BsDataTable,
|
|
1907
|
+
BsDatepicker,
|
|
1825
1908
|
BsDialog,
|
|
1826
1909
|
BsFileUpload,
|
|
1827
1910
|
BsFileUploadItem,
|
|
@@ -1846,6 +1929,7 @@ const DIRECTIVES = [
|
|
|
1846
1929
|
BsSwitch,
|
|
1847
1930
|
BsTab,
|
|
1848
1931
|
BsTabs,
|
|
1932
|
+
BsTimepicker,
|
|
1849
1933
|
BsToast,
|
|
1850
1934
|
BsTooltip
|
|
1851
1935
|
];
|
|
@@ -1999,5 +2083,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
1999
2083
|
* Generated bundle index. Do not edit.
|
|
2000
2084
|
*/
|
|
2001
2085
|
|
|
2002
|
-
export { BooleanValueAccessor, BsAccordion, BsAiDisclaimer, BsAiGreeting, BsAiThinking, BsAttachment, BsAttachmentList, BsAvatar, BsBadge, BsBreadcrumb, BsBreadcrumbOverflow, BsBreadcrumbs, BsButton, BsButtonSkeleton, BsCard, BsCarousel, BsChatbotFeedback, BsChatbotHeader, BsChatbotResponseAction, BsChatbotSourcesDrawer, BsChatbotSuggestionButton, BsCheckbox, BsCheckboxSkeleton, BsChipFilter, BsChipInformative, BsChipInput, BsComposer, BsComposerStatusBanner, BsDataTable, BsDialog, BsFileUpload, BsFileUploadItem, BsIconButton, BsInlineTab, BsInput, BsLogo, BsMenu, BsMenuItem, BsNavigationDrawer, BsNavigationDrawerItem, BsNavigationHeader, BsPagination, BsProgress, BsProgressLinear, BsRadio, BsSlider, BsSnackbar, BsSourceLink, BsStepper, BsStepperStep, BsSwitch, BsTab, BsTabs, BsToast, BsTooltip, DIRECTIVES, NumericValueAccessor, TextValueAccessor, ValueAccessor };
|
|
2086
|
+
export { BooleanValueAccessor, BsAccordion, BsAiDisclaimer, BsAiGreeting, BsAiThinking, BsAttachment, BsAttachmentList, BsAvatar, BsBadge, BsBreadcrumb, BsBreadcrumbOverflow, BsBreadcrumbs, BsButton, BsButtonSkeleton, BsCard, BsCarousel, BsChatbotFeedback, BsChatbotHeader, BsChatbotResponseAction, BsChatbotSourcesDrawer, BsChatbotSuggestionButton, BsCheckbox, BsCheckboxSkeleton, BsChipFilter, BsChipInformative, BsChipInput, BsComposer, BsComposerStatusBanner, BsDataTable, BsDatepicker, BsDialog, BsFileUpload, BsFileUploadItem, BsIconButton, BsInlineTab, BsInput, BsLogo, BsMenu, BsMenuItem, BsNavigationDrawer, BsNavigationDrawerItem, BsNavigationHeader, BsPagination, BsProgress, BsProgressLinear, BsRadio, BsSlider, BsSnackbar, BsSourceLink, BsStepper, BsStepperStep, BsSwitch, BsTab, BsTabs, BsTimepicker, BsToast, BsTooltip, DIRECTIVES, NumericValueAccessor, TextValueAccessor, ValueAccessor };
|
|
2003
2087
|
//# sourceMappingURL=brandsync-angular.mjs.map
|