@lmvz-ds/angular 0.11.4
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/LICENSE.txt +3 -0
- package/fesm2022/lmvz-ds-angular.mjs +425 -0
- package/fesm2022/lmvz-ds-angular.mjs.map +1 -0
- package/index.d.ts +123 -0
- package/package.json +34 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, Directive, ChangeDetectorRef, ElementRef, NgZone, ChangeDetectionStrategy, Component, HostListener, forwardRef } from '@angular/core';
|
|
3
|
+
import { __decorate, __metadata } from 'tslib';
|
|
4
|
+
import { fromEvent } from 'rxjs';
|
|
5
|
+
import { defineCustomElement as defineCustomElement$1 } from '@lmvz-ds/components/components/lmvz-action.js';
|
|
6
|
+
import { defineCustomElement as defineCustomElement$2 } from '@lmvz-ds/components/components/lmvz-button.js';
|
|
7
|
+
import { defineCustomElement as defineCustomElement$3 } from '@lmvz-ds/components/components/lmvz-card.js';
|
|
8
|
+
import { defineCustomElement as defineCustomElement$4 } from '@lmvz-ds/components/components/lmvz-chip.js';
|
|
9
|
+
import { defineCustomElement as defineCustomElement$5 } from '@lmvz-ds/components/components/lmvz-header.js';
|
|
10
|
+
import { defineCustomElement as defineCustomElement$6 } from '@lmvz-ds/components/components/lmvz-icon.js';
|
|
11
|
+
import { defineCustomElement as defineCustomElement$7 } from '@lmvz-ds/components/components/lmvz-input.js';
|
|
12
|
+
import { defineCustomElement as defineCustomElement$8 } from '@lmvz-ds/components/components/lmvz-menuitem.js';
|
|
13
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
14
|
+
|
|
15
|
+
class LmvzInputValueChangeHelper {
|
|
16
|
+
valueChange = new EventEmitter();
|
|
17
|
+
onValueChange(value) {
|
|
18
|
+
this.valueChange.emit(value);
|
|
19
|
+
}
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzInputValueChangeHelper, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: LmvzInputValueChangeHelper, isStandalone: true, selector: "lmvz-input", outputs: { valueChange: "valueChange" }, host: { listeners: { "lmvzInput": "onValueChange($event.detail)" } }, ngImport: i0 });
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzInputValueChangeHelper, decorators: [{
|
|
24
|
+
type: Directive,
|
|
25
|
+
args: [{
|
|
26
|
+
selector: 'lmvz-input',
|
|
27
|
+
host: {
|
|
28
|
+
'(lmvzInput)': 'onValueChange($event.detail)',
|
|
29
|
+
},
|
|
30
|
+
}]
|
|
31
|
+
}], propDecorators: { valueChange: [{
|
|
32
|
+
type: Output
|
|
33
|
+
}] } });
|
|
34
|
+
|
|
35
|
+
/* eslint-disable */
|
|
36
|
+
/* tslint:disable */
|
|
37
|
+
const proxyInputs = (Cmp, inputs) => {
|
|
38
|
+
const Prototype = Cmp.prototype;
|
|
39
|
+
inputs.forEach((item) => {
|
|
40
|
+
Object.defineProperty(Prototype, item, {
|
|
41
|
+
get() {
|
|
42
|
+
return this.el[item];
|
|
43
|
+
},
|
|
44
|
+
set(val) {
|
|
45
|
+
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
46
|
+
},
|
|
47
|
+
/**
|
|
48
|
+
* In the event that proxyInputs is called
|
|
49
|
+
* multiple times re-defining these inputs
|
|
50
|
+
* will cause an error to be thrown. As a result
|
|
51
|
+
* we set configurable: true to indicate these
|
|
52
|
+
* properties can be changed.
|
|
53
|
+
*/
|
|
54
|
+
configurable: true,
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
const proxyMethods = (Cmp, methods) => {
|
|
59
|
+
const Prototype = Cmp.prototype;
|
|
60
|
+
methods.forEach((methodName) => {
|
|
61
|
+
Prototype[methodName] = function () {
|
|
62
|
+
const args = arguments;
|
|
63
|
+
return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
|
|
64
|
+
};
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
const proxyOutputs = (instance, el, events) => {
|
|
68
|
+
events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
|
|
69
|
+
};
|
|
70
|
+
const defineCustomElement = (tagName, customElement) => {
|
|
71
|
+
if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
|
|
72
|
+
customElements.define(tagName, customElement);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
// tslint:disable-next-line: only-arrow-functions
|
|
76
|
+
function ProxyCmp(opts) {
|
|
77
|
+
const decorator = function (cls) {
|
|
78
|
+
const { defineCustomElementFn, inputs, methods } = opts;
|
|
79
|
+
if (defineCustomElementFn !== undefined) {
|
|
80
|
+
defineCustomElementFn();
|
|
81
|
+
}
|
|
82
|
+
if (inputs) {
|
|
83
|
+
proxyInputs(cls, inputs);
|
|
84
|
+
}
|
|
85
|
+
if (methods) {
|
|
86
|
+
proxyMethods(cls, methods);
|
|
87
|
+
}
|
|
88
|
+
return cls;
|
|
89
|
+
};
|
|
90
|
+
return decorator;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
let LmvzAction = class LmvzAction {
|
|
94
|
+
z;
|
|
95
|
+
el;
|
|
96
|
+
actionClick = new EventEmitter();
|
|
97
|
+
constructor(c, r, z) {
|
|
98
|
+
this.z = z;
|
|
99
|
+
c.detach();
|
|
100
|
+
this.el = r.nativeElement;
|
|
101
|
+
}
|
|
102
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzAction, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
103
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: LmvzAction, isStandalone: true, selector: "lmvz-action", outputs: { actionClick: "actionClick" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
104
|
+
};
|
|
105
|
+
LmvzAction = __decorate([
|
|
106
|
+
ProxyCmp({
|
|
107
|
+
defineCustomElementFn: defineCustomElement$1
|
|
108
|
+
}),
|
|
109
|
+
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
110
|
+
], LmvzAction);
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzAction, decorators: [{
|
|
112
|
+
type: Component,
|
|
113
|
+
args: [{
|
|
114
|
+
selector: 'lmvz-action',
|
|
115
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
116
|
+
template: '<ng-content></ng-content>',
|
|
117
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
118
|
+
inputs: [],
|
|
119
|
+
outputs: ['actionClick'],
|
|
120
|
+
}]
|
|
121
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { actionClick: [{
|
|
122
|
+
type: Output
|
|
123
|
+
}] } });
|
|
124
|
+
let LmvzButton = class LmvzButton {
|
|
125
|
+
z;
|
|
126
|
+
el;
|
|
127
|
+
lmvzActivation = new EventEmitter();
|
|
128
|
+
constructor(c, r, z) {
|
|
129
|
+
this.z = z;
|
|
130
|
+
c.detach();
|
|
131
|
+
this.el = r.nativeElement;
|
|
132
|
+
}
|
|
133
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
134
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: LmvzButton, isStandalone: true, selector: "lmvz-button", inputs: { disabled: "disabled", form: "form", scale: "scale", ti: "ti", type: "type", variant: "variant" }, outputs: { lmvzActivation: "lmvzActivation" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
135
|
+
};
|
|
136
|
+
LmvzButton = __decorate([
|
|
137
|
+
ProxyCmp({
|
|
138
|
+
defineCustomElementFn: defineCustomElement$2,
|
|
139
|
+
inputs: ['disabled', 'form', 'scale', 'ti', 'type', 'variant']
|
|
140
|
+
}),
|
|
141
|
+
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
142
|
+
], LmvzButton);
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzButton, decorators: [{
|
|
144
|
+
type: Component,
|
|
145
|
+
args: [{
|
|
146
|
+
selector: 'lmvz-button',
|
|
147
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
148
|
+
template: '<ng-content></ng-content>',
|
|
149
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
150
|
+
inputs: ['disabled', 'form', 'scale', 'ti', 'type', 'variant'],
|
|
151
|
+
outputs: ['lmvzActivation'],
|
|
152
|
+
}]
|
|
153
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { lmvzActivation: [{
|
|
154
|
+
type: Output
|
|
155
|
+
}] } });
|
|
156
|
+
let LmvzCard = class LmvzCard {
|
|
157
|
+
z;
|
|
158
|
+
el;
|
|
159
|
+
primaryAction = new EventEmitter();
|
|
160
|
+
constructor(c, r, z) {
|
|
161
|
+
this.z = z;
|
|
162
|
+
c.detach();
|
|
163
|
+
this.el = r.nativeElement;
|
|
164
|
+
}
|
|
165
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
166
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: LmvzCard, isStandalone: true, selector: "lmvz-card", inputs: { cardTitle: "cardTitle", description: "description", imageUrl: "imageUrl", primaryActionLabel: "primaryActionLabel" }, outputs: { primaryAction: "primaryAction" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
167
|
+
};
|
|
168
|
+
LmvzCard = __decorate([
|
|
169
|
+
ProxyCmp({
|
|
170
|
+
defineCustomElementFn: defineCustomElement$3,
|
|
171
|
+
inputs: ['cardTitle', 'description', 'imageUrl', 'primaryActionLabel']
|
|
172
|
+
}),
|
|
173
|
+
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
174
|
+
], LmvzCard);
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzCard, decorators: [{
|
|
176
|
+
type: Component,
|
|
177
|
+
args: [{
|
|
178
|
+
selector: 'lmvz-card',
|
|
179
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
180
|
+
template: '<ng-content></ng-content>',
|
|
181
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
182
|
+
inputs: [{ name: 'cardTitle', required: true }, 'description', 'imageUrl', 'primaryActionLabel'],
|
|
183
|
+
outputs: ['primaryAction'],
|
|
184
|
+
}]
|
|
185
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { primaryAction: [{
|
|
186
|
+
type: Output
|
|
187
|
+
}] } });
|
|
188
|
+
let LmvzChip = class LmvzChip {
|
|
189
|
+
z;
|
|
190
|
+
el;
|
|
191
|
+
constructor(c, r, z) {
|
|
192
|
+
this.z = z;
|
|
193
|
+
c.detach();
|
|
194
|
+
this.el = r.nativeElement;
|
|
195
|
+
}
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzChip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
197
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: LmvzChip, isStandalone: true, selector: "lmvz-chip", inputs: { text: "text" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
198
|
+
};
|
|
199
|
+
LmvzChip = __decorate([
|
|
200
|
+
ProxyCmp({
|
|
201
|
+
defineCustomElementFn: defineCustomElement$4,
|
|
202
|
+
inputs: ['text']
|
|
203
|
+
}),
|
|
204
|
+
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
205
|
+
], LmvzChip);
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzChip, decorators: [{
|
|
207
|
+
type: Component,
|
|
208
|
+
args: [{
|
|
209
|
+
selector: 'lmvz-chip',
|
|
210
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
211
|
+
template: '<ng-content></ng-content>',
|
|
212
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
213
|
+
inputs: ['text'],
|
|
214
|
+
}]
|
|
215
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
216
|
+
let LmvzHeader = class LmvzHeader {
|
|
217
|
+
z;
|
|
218
|
+
el;
|
|
219
|
+
constructor(c, r, z) {
|
|
220
|
+
this.z = z;
|
|
221
|
+
c.detach();
|
|
222
|
+
this.el = r.nativeElement;
|
|
223
|
+
}
|
|
224
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
225
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: LmvzHeader, isStandalone: true, selector: "lmvz-header", inputs: { lmvzActiveNav: "lmvzActiveNav", role: "role" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
226
|
+
};
|
|
227
|
+
LmvzHeader = __decorate([
|
|
228
|
+
ProxyCmp({
|
|
229
|
+
defineCustomElementFn: defineCustomElement$5,
|
|
230
|
+
inputs: ['lmvzActiveNav', 'role']
|
|
231
|
+
}),
|
|
232
|
+
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
233
|
+
], LmvzHeader);
|
|
234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzHeader, decorators: [{
|
|
235
|
+
type: Component,
|
|
236
|
+
args: [{
|
|
237
|
+
selector: 'lmvz-header',
|
|
238
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
239
|
+
template: '<ng-content></ng-content>',
|
|
240
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
241
|
+
inputs: ['lmvzActiveNav', 'role'],
|
|
242
|
+
}]
|
|
243
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
244
|
+
let LmvzIcon = class LmvzIcon {
|
|
245
|
+
z;
|
|
246
|
+
el;
|
|
247
|
+
constructor(c, r, z) {
|
|
248
|
+
this.z = z;
|
|
249
|
+
c.detach();
|
|
250
|
+
this.el = r.nativeElement;
|
|
251
|
+
}
|
|
252
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
253
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: LmvzIcon, isStandalone: true, selector: "lmvz-icon", inputs: { ariaLabel: "ariaLabel", icon: "icon", size: "size", weight: "weight" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
254
|
+
};
|
|
255
|
+
LmvzIcon = __decorate([
|
|
256
|
+
ProxyCmp({
|
|
257
|
+
defineCustomElementFn: defineCustomElement$6,
|
|
258
|
+
inputs: ['ariaLabel', 'icon', 'size', 'weight']
|
|
259
|
+
}),
|
|
260
|
+
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
261
|
+
], LmvzIcon);
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzIcon, decorators: [{
|
|
263
|
+
type: Component,
|
|
264
|
+
args: [{
|
|
265
|
+
selector: 'lmvz-icon',
|
|
266
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
267
|
+
template: '<ng-content></ng-content>',
|
|
268
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
269
|
+
inputs: ['ariaLabel', { name: 'icon', required: true }, 'size', 'weight'],
|
|
270
|
+
}]
|
|
271
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
272
|
+
let LmvzInput = class LmvzInput {
|
|
273
|
+
z;
|
|
274
|
+
el;
|
|
275
|
+
lmvzInput = new EventEmitter();
|
|
276
|
+
constructor(c, r, z) {
|
|
277
|
+
this.z = z;
|
|
278
|
+
c.detach();
|
|
279
|
+
this.el = r.nativeElement;
|
|
280
|
+
}
|
|
281
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
282
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: LmvzInput, isStandalone: true, selector: "lmvz-input", inputs: { autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", disabled: "disabled", error: "error", errorMessage: "errorMessage", form: "form", helperText: "helperText", inputmode: "inputmode", label: "label", max: "max", maxlength: "maxlength", min: "min", minlength: "minlength", name: "name", pattern: "pattern", placeholder: "placeholder", readonly: "readonly", required: "required", spellcheck: "spellcheck", step: "step", type: "type", value: "value" }, outputs: { lmvzInput: "lmvzInput" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
283
|
+
};
|
|
284
|
+
LmvzInput = __decorate([
|
|
285
|
+
ProxyCmp({
|
|
286
|
+
defineCustomElementFn: defineCustomElement$7,
|
|
287
|
+
inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'error', 'errorMessage', 'form', 'helperText', 'inputmode', 'label', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'spellcheck', 'step', 'type', 'value'],
|
|
288
|
+
methods: ['setValue', 'focusInput', 'blurInput', 'select', 'checkValidity', 'reportValidity', 'getInputElement']
|
|
289
|
+
}),
|
|
290
|
+
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
291
|
+
], LmvzInput);
|
|
292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzInput, decorators: [{
|
|
293
|
+
type: Component,
|
|
294
|
+
args: [{
|
|
295
|
+
selector: 'lmvz-input',
|
|
296
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
297
|
+
template: '<ng-content></ng-content>',
|
|
298
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
299
|
+
inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'error', 'errorMessage', 'form', 'helperText', 'inputmode', { name: 'label', required: true }, 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'spellcheck', 'step', 'type', 'value'],
|
|
300
|
+
outputs: ['lmvzInput'],
|
|
301
|
+
}]
|
|
302
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { lmvzInput: [{
|
|
303
|
+
type: Output
|
|
304
|
+
}] } });
|
|
305
|
+
let LmvzMenuitem = class LmvzMenuitem {
|
|
306
|
+
z;
|
|
307
|
+
el;
|
|
308
|
+
lmvzActivation = new EventEmitter();
|
|
309
|
+
constructor(c, r, z) {
|
|
310
|
+
this.z = z;
|
|
311
|
+
c.detach();
|
|
312
|
+
this.el = r.nativeElement;
|
|
313
|
+
}
|
|
314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzMenuitem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
315
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: LmvzMenuitem, isStandalone: true, selector: "lmvz-menuitem", inputs: { role: "role", ti: "ti" }, outputs: { lmvzActivation: "lmvzActivation" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
316
|
+
};
|
|
317
|
+
LmvzMenuitem = __decorate([
|
|
318
|
+
ProxyCmp({
|
|
319
|
+
defineCustomElementFn: defineCustomElement$8,
|
|
320
|
+
inputs: ['role', 'ti']
|
|
321
|
+
}),
|
|
322
|
+
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
323
|
+
], LmvzMenuitem);
|
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: LmvzMenuitem, decorators: [{
|
|
325
|
+
type: Component,
|
|
326
|
+
args: [{
|
|
327
|
+
selector: 'lmvz-menuitem',
|
|
328
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
329
|
+
template: '<ng-content></ng-content>',
|
|
330
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
331
|
+
inputs: ['role', 'ti'],
|
|
332
|
+
outputs: ['lmvzActivation'],
|
|
333
|
+
}]
|
|
334
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { lmvzActivation: [{
|
|
335
|
+
type: Output
|
|
336
|
+
}] } });
|
|
337
|
+
|
|
338
|
+
const DIRECTIVES = [
|
|
339
|
+
LmvzAction,
|
|
340
|
+
LmvzButton,
|
|
341
|
+
LmvzCard,
|
|
342
|
+
LmvzChip,
|
|
343
|
+
LmvzHeader,
|
|
344
|
+
LmvzIcon,
|
|
345
|
+
LmvzInput,
|
|
346
|
+
LmvzMenuitem
|
|
347
|
+
];
|
|
348
|
+
|
|
349
|
+
class ValueAccessor {
|
|
350
|
+
el;
|
|
351
|
+
onChange = () => { };
|
|
352
|
+
onTouched = () => { };
|
|
353
|
+
lastValue;
|
|
354
|
+
constructor(el) {
|
|
355
|
+
this.el = el;
|
|
356
|
+
}
|
|
357
|
+
writeValue(value) {
|
|
358
|
+
this.el.nativeElement.value = this.lastValue = value == null ? '' : value;
|
|
359
|
+
}
|
|
360
|
+
handleChangeEvent(value) {
|
|
361
|
+
if (value !== this.lastValue) {
|
|
362
|
+
this.lastValue = value;
|
|
363
|
+
this.onChange(value);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
_handleBlurEvent() {
|
|
367
|
+
this.onTouched();
|
|
368
|
+
}
|
|
369
|
+
registerOnChange(fn) {
|
|
370
|
+
this.onChange = fn;
|
|
371
|
+
}
|
|
372
|
+
registerOnTouched(fn) {
|
|
373
|
+
this.onTouched = fn;
|
|
374
|
+
}
|
|
375
|
+
setDisabledState(isDisabled) {
|
|
376
|
+
this.el.nativeElement.disabled = isDisabled;
|
|
377
|
+
}
|
|
378
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
379
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: ValueAccessor, isStandalone: true, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
|
|
380
|
+
}
|
|
381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ValueAccessor, decorators: [{
|
|
382
|
+
type: Directive,
|
|
383
|
+
args: [{}]
|
|
384
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { _handleBlurEvent: [{
|
|
385
|
+
type: HostListener,
|
|
386
|
+
args: ['focusout']
|
|
387
|
+
}] } });
|
|
388
|
+
|
|
389
|
+
class TextValueAccessor extends ValueAccessor {
|
|
390
|
+
constructor(el) {
|
|
391
|
+
super(el);
|
|
392
|
+
}
|
|
393
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
394
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: TextValueAccessor, isStandalone: true, selector: "lmvz-input", host: { listeners: { "lmvzInput": "handleChangeEvent($event.target?.[\"value\"])" } }, providers: [
|
|
395
|
+
{
|
|
396
|
+
provide: NG_VALUE_ACCESSOR,
|
|
397
|
+
useExisting: forwardRef(() => TextValueAccessor),
|
|
398
|
+
multi: true
|
|
399
|
+
}
|
|
400
|
+
], usesInheritance: true, ngImport: i0 });
|
|
401
|
+
}
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
403
|
+
type: Directive,
|
|
404
|
+
args: [{
|
|
405
|
+
/* tslint:disable-next-line:directive-selector */
|
|
406
|
+
selector: 'lmvz-input',
|
|
407
|
+
host: {
|
|
408
|
+
'(lmvzInput)': 'handleChangeEvent($event.target?.["value"])'
|
|
409
|
+
},
|
|
410
|
+
providers: [
|
|
411
|
+
{
|
|
412
|
+
provide: NG_VALUE_ACCESSOR,
|
|
413
|
+
useExisting: forwardRef(() => TextValueAccessor),
|
|
414
|
+
multi: true
|
|
415
|
+
}
|
|
416
|
+
]
|
|
417
|
+
}]
|
|
418
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Generated bundle index. Do not edit.
|
|
422
|
+
*/
|
|
423
|
+
|
|
424
|
+
export { DIRECTIVES, LmvzAction, LmvzButton, LmvzCard, LmvzChip, LmvzHeader, LmvzIcon, LmvzInput, LmvzInputValueChangeHelper, LmvzMenuitem, TextValueAccessor, ValueAccessor };
|
|
425
|
+
//# sourceMappingURL=lmvz-ds-angular.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lmvz-ds-angular.mjs","sources":["../../../projects/component-library/src/directives/lmvz-input-helpers.ts","../../../projects/component-library/src/generated/angular-component-lib/utils.ts","../../../projects/component-library/src/generated/proxies.ts","../../../projects/component-library/src/generated/index.ts","../../../projects/component-library/src/generated/value-accessor.ts","../../../projects/component-library/src/generated/text-value-accessor.ts","../../../projects/component-library/src/lmvz-ds-angular.ts"],"sourcesContent":["\n\nimport { Directive, EventEmitter, Output } from '@angular/core';\n@Directive({\n selector: 'lmvz-input',\n host: {\n '(lmvzInput)': 'onValueChange($event.detail)',\n },\n})\nexport class LmvzInputValueChangeHelper {\n @Output() valueChange = new EventEmitter<string>();\n onValueChange(value: string) {\n this.valueChange.emit(value);\n }\n}","/* eslint-disable */\n/* tslint:disable */\nimport { fromEvent } from 'rxjs';\n\nexport const proxyInputs = (Cmp: any, inputs: string[]) => {\n const Prototype = Cmp.prototype;\n inputs.forEach((item) => {\n Object.defineProperty(Prototype, item, {\n get() {\n return this.el[item];\n },\n set(val: any) {\n this.z.runOutsideAngular(() => (this.el[item] = val));\n },\n /**\n * In the event that proxyInputs is called\n * multiple times re-defining these inputs\n * will cause an error to be thrown. As a result\n * we set configurable: true to indicate these\n * properties can be changed.\n */\n configurable: true,\n });\n });\n};\n\nexport const proxyMethods = (Cmp: any, methods: string[]) => {\n const Prototype = Cmp.prototype;\n methods.forEach((methodName) => {\n Prototype[methodName] = function () {\n const args = arguments;\n return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));\n };\n });\n};\n\nexport const proxyOutputs = (instance: any, el: any, events: string[]) => {\n events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));\n};\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {\n customElements.define(tagName, customElement);\n }\n};\n\n// tslint:disable-next-line: only-arrow-functions\nexport function ProxyCmp(opts: { defineCustomElementFn?: () => void; inputs?: any; methods?: any }) {\n const decorator = function (cls: any) {\n const { defineCustomElementFn, inputs, methods } = opts;\n\n if (defineCustomElementFn !== undefined) {\n defineCustomElementFn();\n }\n\n if (inputs) {\n proxyInputs(cls, inputs);\n }\n if (methods) {\n proxyMethods(cls, methods);\n }\n return cls;\n };\n return decorator;\n}\n","/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Output, NgZone } from '@angular/core';\n\nimport { ProxyCmp } from './angular-component-lib/utils';\n\nimport type { Components } from '@lmvz-ds/components/components';\n\nimport { defineCustomElement as defineLmvzAction } from '@lmvz-ds/components/components/lmvz-action.js';\nimport { defineCustomElement as defineLmvzButton } from '@lmvz-ds/components/components/lmvz-button.js';\nimport { defineCustomElement as defineLmvzCard } from '@lmvz-ds/components/components/lmvz-card.js';\nimport { defineCustomElement as defineLmvzChip } from '@lmvz-ds/components/components/lmvz-chip.js';\nimport { defineCustomElement as defineLmvzHeader } from '@lmvz-ds/components/components/lmvz-header.js';\nimport { defineCustomElement as defineLmvzIcon } from '@lmvz-ds/components/components/lmvz-icon.js';\nimport { defineCustomElement as defineLmvzInput } from '@lmvz-ds/components/components/lmvz-input.js';\nimport { defineCustomElement as defineLmvzMenuitem } from '@lmvz-ds/components/components/lmvz-menuitem.js';\n@ProxyCmp({\n defineCustomElementFn: defineLmvzAction\n})\n@Component({\n selector: 'lmvz-action',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: [],\n outputs: ['actionClick'],\n})\nexport class LmvzAction {\n protected el: HTMLLmvzActionElement;\n @Output() actionClick = new EventEmitter<CustomEvent<MouseEvent>>();\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface LmvzAction extends Components.LmvzAction {\n\n actionClick: EventEmitter<CustomEvent<MouseEvent>>;\n}\n\n\n@ProxyCmp({\n defineCustomElementFn: defineLmvzButton,\n inputs: ['disabled', 'form', 'scale', 'ti', 'type', 'variant']\n})\n@Component({\n selector: 'lmvz-button',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['disabled', 'form', 'scale', 'ti', 'type', 'variant'],\n outputs: ['lmvzActivation'],\n})\nexport class LmvzButton {\n protected el: HTMLLmvzButtonElement;\n @Output() lmvzActivation = new EventEmitter<CustomEvent<void>>();\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface LmvzButton extends Components.LmvzButton {\n\n lmvzActivation: EventEmitter<CustomEvent<void>>;\n}\n\n\n@ProxyCmp({\n defineCustomElementFn: defineLmvzCard,\n inputs: ['cardTitle', 'description', 'imageUrl', 'primaryActionLabel']\n})\n@Component({\n selector: 'lmvz-card',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: [{ name: 'cardTitle', required: true }, 'description', 'imageUrl', 'primaryActionLabel'],\n outputs: ['primaryAction'],\n})\nexport class LmvzCard {\n protected el: HTMLLmvzCardElement;\n @Output() primaryAction = new EventEmitter<CustomEvent<PointerEvent>>();\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface LmvzCard extends Components.LmvzCard {\n /**\n * Event emitted when primary button is clicked\n */\n primaryAction: EventEmitter<CustomEvent<PointerEvent>>;\n}\n\n\n@ProxyCmp({\n defineCustomElementFn: defineLmvzChip,\n inputs: ['text']\n})\n@Component({\n selector: 'lmvz-chip',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['text'],\n})\nexport class LmvzChip {\n protected el: HTMLLmvzChipElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface LmvzChip extends Components.LmvzChip {}\n\n\n@ProxyCmp({\n defineCustomElementFn: defineLmvzHeader,\n inputs: ['lmvzActiveNav', 'role']\n})\n@Component({\n selector: 'lmvz-header',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['lmvzActiveNav', 'role'],\n})\nexport class LmvzHeader {\n protected el: HTMLLmvzHeaderElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface LmvzHeader extends Components.LmvzHeader {}\n\n\n@ProxyCmp({\n defineCustomElementFn: defineLmvzIcon,\n inputs: ['ariaLabel', 'icon', 'size', 'weight']\n})\n@Component({\n selector: 'lmvz-icon',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['ariaLabel', { name: 'icon', required: true }, 'size', 'weight'],\n})\nexport class LmvzIcon {\n protected el: HTMLLmvzIconElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface LmvzIcon extends Components.LmvzIcon {}\n\n\n@ProxyCmp({\n defineCustomElementFn: defineLmvzInput,\n inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'error', 'errorMessage', 'form', 'helperText', 'inputmode', 'label', 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'spellcheck', 'step', 'type', 'value'],\n methods: ['setValue', 'focusInput', 'blurInput', 'select', 'checkValidity', 'reportValidity', 'getInputElement']\n})\n@Component({\n selector: 'lmvz-input',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'disabled', 'error', 'errorMessage', 'form', 'helperText', 'inputmode', { name: 'label', required: true }, 'max', 'maxlength', 'min', 'minlength', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'spellcheck', 'step', 'type', 'value'],\n outputs: ['lmvzInput'],\n})\nexport class LmvzInput {\n protected el: HTMLLmvzInputElement;\n @Output() lmvzInput = new EventEmitter<CustomEvent<string>>();\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface LmvzInput extends Components.LmvzInput {\n\n lmvzInput: EventEmitter<CustomEvent<string>>;\n}\n\n\n@ProxyCmp({\n defineCustomElementFn: defineLmvzMenuitem,\n inputs: ['role', 'ti']\n})\n@Component({\n selector: 'lmvz-menuitem',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['role', 'ti'],\n outputs: ['lmvzActivation'],\n})\nexport class LmvzMenuitem {\n protected el: HTMLLmvzMenuitemElement;\n @Output() lmvzActivation = new EventEmitter<CustomEvent<void>>();\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface LmvzMenuitem extends Components.LmvzMenuitem {\n\n lmvzActivation: EventEmitter<CustomEvent<void>>;\n}\n\n\n","\nimport * as d from './proxies';\n\nexport const DIRECTIVES = [\n d.LmvzAction,\n d.LmvzButton,\n d.LmvzCard,\n d.LmvzChip,\n d.LmvzHeader,\n d.LmvzIcon,\n d.LmvzInput,\n d.LmvzMenuitem\n];\n","import { Directive, ElementRef, HostListener } from '@angular/core';\nimport { ControlValueAccessor } from '@angular/forms';\n\n@Directive({})\nexport class ValueAccessor implements ControlValueAccessor {\n\n private onChange: (value: any) => void = () => {/**/};\n private onTouched: () => void = () => {/**/};\n protected lastValue: any;\n\n constructor(protected el: ElementRef) {}\n\n writeValue(value: any) {\n this.el.nativeElement.value = this.lastValue = value == null ? '' : value;\n }\n\n handleChangeEvent(value: any) {\n if (value !== this.lastValue) {\n this.lastValue = value;\n this.onChange(value);\n }\n }\n\n @HostListener('focusout')\n _handleBlurEvent() {\n this.onTouched();\n }\n\n registerOnChange(fn: (value: any) => void) {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void) {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean) {\n this.el.nativeElement.disabled = isDisabled;\n }\n}\n","import { Directive, ElementRef, forwardRef } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { ValueAccessor } from './value-accessor';\n\n@Directive({\n /* tslint:disable-next-line:directive-selector */\n selector: 'lmvz-input',\n host: {\n '(lmvzInput)': 'handleChangeEvent($event.target?.[\"value\"])'\n },\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TextValueAccessor),\n multi: true\n }\n ]\n})\nexport class TextValueAccessor extends ValueAccessor {\n constructor(el: ElementRef) {\n super(el);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["defineLmvzAction","defineLmvzButton","defineLmvzCard","defineLmvzChip","defineLmvzHeader","defineLmvzIcon","defineLmvzInput","defineLmvzMenuitem","d.LmvzAction","d.LmvzButton","d.LmvzCard","d.LmvzChip","d.LmvzHeader","d.LmvzIcon","d.LmvzInput","d.LmvzMenuitem"],"mappings":";;;;;;;;;;;;;;MASa,0BAA0B,CAAA;AAC3B,IAAA,WAAW,GAAG,IAAI,YAAY,EAAU;AAClD,IAAA,aAAa,CAAC,KAAa,EAAA;AACzB,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC;IAC9B;wGAJW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA1B,0BAA0B,EAAA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1B,4BAAA,WAAW,EAAE,UAAU,CAAC,uBAAuB,CAAC;AAChD,4BAAA,KAAK,EAAE;AACR;AACF;AACF,iBAAA;;;AClBD;;AAEG;;;;"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, NgZone, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
3
|
+
import { Components } from '@lmvz-ds/components/components';
|
|
4
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
+
|
|
6
|
+
declare class LmvzInputValueChangeHelper {
|
|
7
|
+
valueChange: EventEmitter<string>;
|
|
8
|
+
onValueChange(value: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LmvzInputValueChangeHelper, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LmvzInputValueChangeHelper, "lmvz-input", never, {}, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare class LmvzAction {
|
|
14
|
+
protected z: NgZone;
|
|
15
|
+
protected el: HTMLLmvzActionElement;
|
|
16
|
+
actionClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
17
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LmvzAction, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LmvzAction, "lmvz-action", never, {}, { "actionClick": "actionClick"; }, never, ["*"], true, never>;
|
|
20
|
+
}
|
|
21
|
+
declare interface LmvzAction extends Components.LmvzAction {
|
|
22
|
+
actionClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
23
|
+
}
|
|
24
|
+
declare class LmvzButton {
|
|
25
|
+
protected z: NgZone;
|
|
26
|
+
protected el: HTMLLmvzButtonElement;
|
|
27
|
+
lmvzActivation: EventEmitter<CustomEvent<void>>;
|
|
28
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LmvzButton, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LmvzButton, "lmvz-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "form": { "alias": "form"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "ti": { "alias": "ti"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "lmvzActivation": "lmvzActivation"; }, never, ["*"], true, never>;
|
|
31
|
+
}
|
|
32
|
+
declare interface LmvzButton extends Components.LmvzButton {
|
|
33
|
+
lmvzActivation: EventEmitter<CustomEvent<void>>;
|
|
34
|
+
}
|
|
35
|
+
declare class LmvzCard {
|
|
36
|
+
protected z: NgZone;
|
|
37
|
+
protected el: HTMLLmvzCardElement;
|
|
38
|
+
primaryAction: EventEmitter<CustomEvent<PointerEvent>>;
|
|
39
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LmvzCard, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LmvzCard, "lmvz-card", never, { "cardTitle": { "alias": "cardTitle"; "required": true; }; "description": { "alias": "description"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "primaryActionLabel": { "alias": "primaryActionLabel"; "required": false; }; }, { "primaryAction": "primaryAction"; }, never, ["*"], true, never>;
|
|
42
|
+
}
|
|
43
|
+
declare interface LmvzCard extends Components.LmvzCard {
|
|
44
|
+
/**
|
|
45
|
+
* Event emitted when primary button is clicked
|
|
46
|
+
*/
|
|
47
|
+
primaryAction: EventEmitter<CustomEvent<PointerEvent>>;
|
|
48
|
+
}
|
|
49
|
+
declare class LmvzChip {
|
|
50
|
+
protected z: NgZone;
|
|
51
|
+
protected el: HTMLLmvzChipElement;
|
|
52
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LmvzChip, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LmvzChip, "lmvz-chip", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
55
|
+
}
|
|
56
|
+
declare interface LmvzChip extends Components.LmvzChip {
|
|
57
|
+
}
|
|
58
|
+
declare class LmvzHeader {
|
|
59
|
+
protected z: NgZone;
|
|
60
|
+
protected el: HTMLLmvzHeaderElement;
|
|
61
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LmvzHeader, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LmvzHeader, "lmvz-header", never, { "lmvzActiveNav": { "alias": "lmvzActiveNav"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
64
|
+
}
|
|
65
|
+
declare interface LmvzHeader extends Components.LmvzHeader {
|
|
66
|
+
}
|
|
67
|
+
declare class LmvzIcon {
|
|
68
|
+
protected z: NgZone;
|
|
69
|
+
protected el: HTMLLmvzIconElement;
|
|
70
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LmvzIcon, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LmvzIcon, "lmvz-icon", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "icon": { "alias": "icon"; "required": true; }; "size": { "alias": "size"; "required": false; }; "weight": { "alias": "weight"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
73
|
+
}
|
|
74
|
+
declare interface LmvzIcon extends Components.LmvzIcon {
|
|
75
|
+
}
|
|
76
|
+
declare class LmvzInput {
|
|
77
|
+
protected z: NgZone;
|
|
78
|
+
protected el: HTMLLmvzInputElement;
|
|
79
|
+
lmvzInput: EventEmitter<CustomEvent<string>>;
|
|
80
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LmvzInput, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LmvzInput, "lmvz-input", never, { "autocapitalize": { "alias": "autocapitalize"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "autocorrect": { "alias": "autocorrect"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "form": { "alias": "form"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "label": { "alias": "label"; "required": true; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "name": { "alias": "name"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "spellcheck": { "alias": "spellcheck"; "required": false; }; "step": { "alias": "step"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "lmvzInput": "lmvzInput"; }, never, ["*"], true, never>;
|
|
83
|
+
}
|
|
84
|
+
declare interface LmvzInput extends Components.LmvzInput {
|
|
85
|
+
lmvzInput: EventEmitter<CustomEvent<string>>;
|
|
86
|
+
}
|
|
87
|
+
declare class LmvzMenuitem {
|
|
88
|
+
protected z: NgZone;
|
|
89
|
+
protected el: HTMLLmvzMenuitemElement;
|
|
90
|
+
lmvzActivation: EventEmitter<CustomEvent<void>>;
|
|
91
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LmvzMenuitem, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LmvzMenuitem, "lmvz-menuitem", never, { "role": { "alias": "role"; "required": false; }; "ti": { "alias": "ti"; "required": false; }; }, { "lmvzActivation": "lmvzActivation"; }, never, ["*"], true, never>;
|
|
94
|
+
}
|
|
95
|
+
declare interface LmvzMenuitem extends Components.LmvzMenuitem {
|
|
96
|
+
lmvzActivation: EventEmitter<CustomEvent<void>>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare const DIRECTIVES: (typeof LmvzAction | typeof LmvzButton | typeof LmvzCard | typeof LmvzChip | typeof LmvzHeader | typeof LmvzIcon | typeof LmvzInput | typeof LmvzMenuitem)[];
|
|
100
|
+
|
|
101
|
+
declare class ValueAccessor implements ControlValueAccessor {
|
|
102
|
+
protected el: ElementRef;
|
|
103
|
+
private onChange;
|
|
104
|
+
private onTouched;
|
|
105
|
+
protected lastValue: any;
|
|
106
|
+
constructor(el: ElementRef);
|
|
107
|
+
writeValue(value: any): void;
|
|
108
|
+
handleChangeEvent(value: any): void;
|
|
109
|
+
_handleBlurEvent(): void;
|
|
110
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
111
|
+
registerOnTouched(fn: () => void): void;
|
|
112
|
+
setDisabledState(isDisabled: boolean): void;
|
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessor, never>;
|
|
114
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessor, never, never, {}, {}, never, never, true, never>;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare class TextValueAccessor extends ValueAccessor {
|
|
118
|
+
constructor(el: ElementRef);
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextValueAccessor, never>;
|
|
120
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessor, "lmvz-input", never, {}, {}, never, never, true, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { DIRECTIVES, LmvzAction, LmvzButton, LmvzCard, LmvzChip, LmvzHeader, LmvzIcon, LmvzInput, LmvzInputValueChangeHelper, LmvzMenuitem, TextValueAccessor, ValueAccessor };
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lmvz-ds/angular",
|
|
3
|
+
"version": "0.11.4",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"author": "Patrick Nemenz <patrick.nemenz@adesso.at>",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://bitbucket.org/lmvz/lmvz-ds"
|
|
10
|
+
},
|
|
11
|
+
"volta": {
|
|
12
|
+
"extends": "../../../../package.json"
|
|
13
|
+
},
|
|
14
|
+
"peerDependencies": {
|
|
15
|
+
"@angular/common": "^20.3.0",
|
|
16
|
+
"@angular/core": "^20.3.0",
|
|
17
|
+
"@lmvz-ds/components": "*"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"tslib": "^2.3.0"
|
|
21
|
+
},
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"module": "fesm2022/lmvz-ds-angular.mjs",
|
|
24
|
+
"typings": "index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
"./package.json": {
|
|
27
|
+
"default": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./index.d.ts",
|
|
31
|
+
"default": "./fesm2022/lmvz-ds-angular.mjs"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|