@desynth/web-components-angular 24.7.9-alpha.9 → 25.2.7-alpha.1
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/dist/fesm2022/stencil-wrapper.mjs +184 -98
- package/dist/fesm2022/stencil-wrapper.mjs.map +1 -1
- package/dist/src/directives/proxies.d.ts +69 -68
- package/dist/src/stencil-wrapper.module.d.ts +1 -1
- package/package.json +21 -21
- package/dist/esm2022/index.mjs +0 -6
- package/dist/esm2022/src/directives/angular-component-lib/utils.mjs +0 -59
- package/dist/esm2022/src/directives/proxies.mjs +0 -721
- package/dist/esm2022/src/stencil-wrapper.module.mjs +0 -52
- package/dist/esm2022/stencil-wrapper.mjs +0 -5
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import { Components } from '@desynth/web-components';
|
|
3
|
-
import type { BeforeCloseAlertEventDetail as IDesynthAlertBeforeCloseAlertEventDetail } from '@desynth/web-components';
|
|
4
|
-
import type { CheckedChangeEventValue as IDesynthCheckboxCheckedChangeEventValue } from '@desynth/web-components';
|
|
5
|
-
import type { InputChangeEventValue as IDesynthDatePickerInputChangeEventValue } from '@desynth/web-components';
|
|
6
|
-
import type { IFormInput as IDesynthFormIFormInput } from '@desynth/web-components';
|
|
7
|
-
import type { ListItem as IDesynthListListItem } from '@desynth/web-components';
|
|
8
|
-
import type { BeforeCloseEventDetail as IDesynthModalBeforeCloseEventDetail } from '@desynth/web-components';
|
|
9
|
-
import type { TextInputChangeEventValue as IDesynthRatingTextInputChangeEventValue } from '@desynth/web-components';
|
|
10
|
-
import type { InputChangeEventValue as IDesynthSelectInputChangeEventValue } from '@desynth/web-components';
|
|
11
|
-
import type { SwitchChangeEventValue as IDesynthSwitchSwitchChangeEventValue } from '@desynth/web-components';
|
|
12
|
-
import type { InputChangeEventValue as IDesynthTextAreaInputChangeEventValue } from '@desynth/web-components';
|
|
13
|
-
import type { TextInputChangeEventValue as IDesynthTextInputTextInputChangeEventValue } from '@desynth/web-components';
|
|
2
|
+
import type { Components } from '@desynth/web-components/dist';
|
|
3
|
+
import type { BeforeCloseAlertEventDetail as IDesynthAlertBeforeCloseAlertEventDetail } from '@desynth/web-components/dist';
|
|
4
|
+
import type { CheckedChangeEventValue as IDesynthCheckboxCheckedChangeEventValue } from '@desynth/web-components/dist';
|
|
5
|
+
import type { InputChangeEventValue as IDesynthDatePickerInputChangeEventValue } from '@desynth/web-components/dist';
|
|
6
|
+
import type { IFormInput as IDesynthFormIFormInput } from '@desynth/web-components/dist';
|
|
7
|
+
import type { ListItem as IDesynthListListItem } from '@desynth/web-components/dist';
|
|
8
|
+
import type { BeforeCloseEventDetail as IDesynthModalBeforeCloseEventDetail } from '@desynth/web-components/dist';
|
|
9
|
+
import type { TextInputChangeEventValue as IDesynthRatingTextInputChangeEventValue } from '@desynth/web-components/dist';
|
|
10
|
+
import type { InputChangeEventValue as IDesynthSelectInputChangeEventValue } from '@desynth/web-components/dist';
|
|
11
|
+
import type { SwitchChangeEventValue as IDesynthSwitchSwitchChangeEventValue } from '@desynth/web-components/dist';
|
|
12
|
+
import type { InputChangeEventValue as IDesynthTextAreaInputChangeEventValue } from '@desynth/web-components/dist';
|
|
13
|
+
import type { TextInputChangeEventValue as IDesynthTextInputTextInputChangeEventValue } from '@desynth/web-components/dist';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare class DesynthAccordion {
|
|
16
16
|
protected z: NgZone;
|
|
17
|
-
protected el:
|
|
17
|
+
protected el: HTMLDesynthAccordionElement;
|
|
18
18
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthAccordion, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthAccordion, "desynth-accordion", never, { "summaryText": { "alias": "summaryText"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"],
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthAccordion, "desynth-accordion", never, { "summaryText": { "alias": "summaryText"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
21
|
}
|
|
22
22
|
export declare interface DesynthAccordion extends Components.DesynthAccordion {
|
|
23
23
|
}
|
|
24
24
|
export declare class DesynthAlert {
|
|
25
25
|
protected z: NgZone;
|
|
26
|
-
protected el:
|
|
26
|
+
protected el: HTMLDesynthAlertElement;
|
|
27
27
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthAlert, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthAlert, "desynth-alert", never, { "alertId": { "alias": "alertId"; "required": false; }; "alertText": { "alias": "alertText"; "required": false; }; "alertType": { "alias": "alertType"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; }, {}, never, ["*"],
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthAlert, "desynth-alert", never, { "alertId": { "alias": "alertId"; "required": false; }; "alertText": { "alias": "alertText"; "required": false; }; "alertType": { "alias": "alertType"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
30
30
|
}
|
|
31
31
|
export declare interface DesynthAlert extends Components.DesynthAlert {
|
|
32
32
|
/**
|
|
@@ -44,10 +44,10 @@ export declare interface DesynthAlert extends Components.DesynthAlert {
|
|
|
44
44
|
}
|
|
45
45
|
export declare class DesynthBreadcrumb {
|
|
46
46
|
protected z: NgZone;
|
|
47
|
-
protected el:
|
|
47
|
+
protected el: HTMLDesynthBreadcrumbElement;
|
|
48
48
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthBreadcrumb, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthBreadcrumb, "desynth-breadcrumb", never, { "breadcrumbs": { "alias": "breadcrumbs"; "required": false; }; "route": { "alias": "route"; "required": false; }; }, {}, never, ["*"],
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthBreadcrumb, "desynth-breadcrumb", never, { "breadcrumbs": { "alias": "breadcrumbs"; "required": false; }; "route": { "alias": "route"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
51
51
|
}
|
|
52
52
|
export declare interface DesynthBreadcrumb extends Components.DesynthBreadcrumb {
|
|
53
53
|
/**
|
|
@@ -65,10 +65,10 @@ export declare interface DesynthBreadcrumb extends Components.DesynthBreadcrumb
|
|
|
65
65
|
}
|
|
66
66
|
export declare class DesynthButton {
|
|
67
67
|
protected z: NgZone;
|
|
68
|
-
protected el:
|
|
68
|
+
protected el: HTMLDesynthButtonElement;
|
|
69
69
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
70
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthButton, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthButton, "desynth-button", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "circular": { "alias": "circular"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"],
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthButton, "desynth-button", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "circular": { "alias": "circular"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
72
72
|
}
|
|
73
73
|
export declare interface DesynthButton extends Components.DesynthButton {
|
|
74
74
|
/**
|
|
@@ -86,28 +86,28 @@ export declare interface DesynthButton extends Components.DesynthButton {
|
|
|
86
86
|
}
|
|
87
87
|
export declare class DesynthButtonSlider {
|
|
88
88
|
protected z: NgZone;
|
|
89
|
-
protected el:
|
|
89
|
+
protected el: HTMLDesynthButtonSliderElement;
|
|
90
90
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
91
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthButtonSlider, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthButtonSlider, "desynth-button-slider", never, { "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, ["*"],
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthButtonSlider, "desynth-button-slider", never, { "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
93
93
|
}
|
|
94
94
|
export declare interface DesynthButtonSlider extends Components.DesynthButtonSlider {
|
|
95
95
|
}
|
|
96
96
|
export declare class DesynthCard {
|
|
97
97
|
protected z: NgZone;
|
|
98
|
-
protected el:
|
|
98
|
+
protected el: HTMLDesynthCardElement;
|
|
99
99
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
100
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthCard, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthCard, "desynth-card", never, { "cardSize": { "alias": "cardSize"; "required": false; }; }, {}, never, ["*"],
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthCard, "desynth-card", never, { "cardSize": { "alias": "cardSize"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
102
102
|
}
|
|
103
103
|
export declare interface DesynthCard extends Components.DesynthCard {
|
|
104
104
|
}
|
|
105
105
|
export declare class DesynthCheckbox {
|
|
106
106
|
protected z: NgZone;
|
|
107
|
-
protected el:
|
|
107
|
+
protected el: HTMLDesynthCheckboxElement;
|
|
108
108
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
109
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthCheckbox, never>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthCheckbox, "desynth-checkbox", never, { "checkboxId": { "alias": "checkboxId"; "required": false; }; "checkboxLabel": { "alias": "checkboxLabel"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; }, {}, never, ["*"],
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthCheckbox, "desynth-checkbox", never, { "checkboxId": { "alias": "checkboxId"; "required": false; }; "checkboxLabel": { "alias": "checkboxLabel"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
111
111
|
}
|
|
112
112
|
export declare interface DesynthCheckbox extends Components.DesynthCheckbox {
|
|
113
113
|
/**
|
|
@@ -117,29 +117,29 @@ export declare interface DesynthCheckbox extends Components.DesynthCheckbox {
|
|
|
117
117
|
}
|
|
118
118
|
export declare class DesynthDatePicker {
|
|
119
119
|
protected z: NgZone;
|
|
120
|
-
protected el:
|
|
120
|
+
protected el: HTMLDesynthDatePickerElement;
|
|
121
121
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
122
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthDatePicker, never>;
|
|
123
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthDatePicker, "desynth-date-picker", never, { "dateSelected": { "alias": "dateSelected"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; }, {}, never, ["*"],
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthDatePicker, "desynth-date-picker", never, { "dateSelected": { "alias": "dateSelected"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
124
124
|
}
|
|
125
125
|
export declare interface DesynthDatePicker extends Components.DesynthDatePicker {
|
|
126
126
|
dateChanged: EventEmitter<CustomEvent<IDesynthDatePickerInputChangeEventValue>>;
|
|
127
127
|
}
|
|
128
128
|
export declare class DesynthDivider {
|
|
129
129
|
protected z: NgZone;
|
|
130
|
-
protected el:
|
|
130
|
+
protected el: HTMLDesynthDividerElement;
|
|
131
131
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
132
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthDivider, never>;
|
|
133
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthDivider, "desynth-divider", never, {}, {}, never, ["*"],
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthDivider, "desynth-divider", never, {}, {}, never, ["*"], true, never>;
|
|
134
134
|
}
|
|
135
135
|
export declare interface DesynthDivider extends Components.DesynthDivider {
|
|
136
136
|
}
|
|
137
137
|
export declare class DesynthDrawer {
|
|
138
138
|
protected z: NgZone;
|
|
139
|
-
protected el:
|
|
139
|
+
protected el: HTMLDesynthDrawerElement;
|
|
140
140
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
141
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthDrawer, never>;
|
|
142
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthDrawer, "desynth-drawer", never, { "items": { "alias": "items"; "required": false; }; "open": { "alias": "open"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"],
|
|
142
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthDrawer, "desynth-drawer", never, { "items": { "alias": "items"; "required": false; }; "open": { "alias": "open"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
143
143
|
}
|
|
144
144
|
export declare interface DesynthDrawer extends Components.DesynthDrawer {
|
|
145
145
|
/**
|
|
@@ -157,20 +157,20 @@ export declare interface DesynthDrawer extends Components.DesynthDrawer {
|
|
|
157
157
|
}
|
|
158
158
|
export declare class DesynthDropFile {
|
|
159
159
|
protected z: NgZone;
|
|
160
|
-
protected el:
|
|
160
|
+
protected el: HTMLDesynthDropFileElement;
|
|
161
161
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
162
162
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthDropFile, never>;
|
|
163
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthDropFile, "desynth-drop-file", never, {}, {}, never, ["*"],
|
|
163
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthDropFile, "desynth-drop-file", never, {}, {}, never, ["*"], true, never>;
|
|
164
164
|
}
|
|
165
165
|
export declare interface DesynthDropFile extends Components.DesynthDropFile {
|
|
166
166
|
filesDropped: EventEmitter<CustomEvent<File[]>>;
|
|
167
167
|
}
|
|
168
168
|
export declare class DesynthForm {
|
|
169
169
|
protected z: NgZone;
|
|
170
|
-
protected el:
|
|
170
|
+
protected el: HTMLDesynthFormElement;
|
|
171
171
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
172
172
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthForm, never>;
|
|
173
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthForm, "desynth-form", never, { "inputs": { "alias": "inputs"; "required": false; }; }, {}, never, ["*"],
|
|
173
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthForm, "desynth-form", never, { "hasSubmitButton": { "alias": "hasSubmitButton"; "required": false; }; "inputs": { "alias": "inputs"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
174
174
|
}
|
|
175
175
|
export declare interface DesynthForm extends Components.DesynthForm {
|
|
176
176
|
/**
|
|
@@ -182,19 +182,19 @@ export declare interface DesynthForm extends Components.DesynthForm {
|
|
|
182
182
|
}
|
|
183
183
|
export declare class DesynthGrid {
|
|
184
184
|
protected z: NgZone;
|
|
185
|
-
protected el:
|
|
185
|
+
protected el: HTMLDesynthGridElement;
|
|
186
186
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
187
187
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthGrid, never>;
|
|
188
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthGrid, "desynth-grid", never, { "columnSpacing": { "alias": "columnSpacing"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "container": { "alias": "container"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "item": { "alias": "item"; "required": false; }; "lg": { "alias": "lg"; "required": false; }; "md": { "alias": "md"; "required": false; }; "rowSpacing": { "alias": "rowSpacing"; "required": false; }; "sm": { "alias": "sm"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "xl": { "alias": "xl"; "required": false; }; "xs": { "alias": "xs"; "required": false; }; "zeroMinWidth": { "alias": "zeroMinWidth"; "required": false; }; }, {}, never, ["*"],
|
|
188
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthGrid, "desynth-grid", never, { "columnSpacing": { "alias": "columnSpacing"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "container": { "alias": "container"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "item": { "alias": "item"; "required": false; }; "lg": { "alias": "lg"; "required": false; }; "md": { "alias": "md"; "required": false; }; "rowSpacing": { "alias": "rowSpacing"; "required": false; }; "sm": { "alias": "sm"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "xl": { "alias": "xl"; "required": false; }; "xs": { "alias": "xs"; "required": false; }; "zeroMinWidth": { "alias": "zeroMinWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
189
189
|
}
|
|
190
190
|
export declare interface DesynthGrid extends Components.DesynthGrid {
|
|
191
191
|
}
|
|
192
192
|
export declare class DesynthHeader {
|
|
193
193
|
protected z: NgZone;
|
|
194
|
-
protected el:
|
|
194
|
+
protected el: HTMLDesynthHeaderElement;
|
|
195
195
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
196
196
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthHeader, never>;
|
|
197
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthHeader, "desynth-header", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"],
|
|
197
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthHeader, "desynth-header", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
198
198
|
}
|
|
199
199
|
export declare interface DesynthHeader extends Components.DesynthHeader {
|
|
200
200
|
/**
|
|
@@ -212,29 +212,29 @@ export declare interface DesynthHeader extends Components.DesynthHeader {
|
|
|
212
212
|
}
|
|
213
213
|
export declare class DesynthList {
|
|
214
214
|
protected z: NgZone;
|
|
215
|
-
protected el:
|
|
215
|
+
protected el: HTMLDesynthListElement;
|
|
216
216
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
217
217
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthList, never>;
|
|
218
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthList, "desynth-list", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"],
|
|
218
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthList, "desynth-list", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
219
219
|
}
|
|
220
220
|
export declare interface DesynthList extends Components.DesynthList {
|
|
221
221
|
itemClicked: EventEmitter<CustomEvent<IDesynthListListItem>>;
|
|
222
222
|
}
|
|
223
223
|
export declare class DesynthLoader {
|
|
224
224
|
protected z: NgZone;
|
|
225
|
-
protected el:
|
|
225
|
+
protected el: HTMLDesynthLoaderElement;
|
|
226
226
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
227
227
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthLoader, never>;
|
|
228
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthLoader, "desynth-loader", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, ["*"],
|
|
228
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthLoader, "desynth-loader", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
229
229
|
}
|
|
230
230
|
export declare interface DesynthLoader extends Components.DesynthLoader {
|
|
231
231
|
}
|
|
232
232
|
export declare class DesynthModal {
|
|
233
233
|
protected z: NgZone;
|
|
234
|
-
protected el:
|
|
234
|
+
protected el: HTMLDesynthModalElement;
|
|
235
235
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
236
236
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthModal, never>;
|
|
237
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthModal, "desynth-modal", never, { "duration": { "alias": "duration"; "required": false; }; "headTitle": { "alias": "headTitle"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"],
|
|
237
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthModal, "desynth-modal", never, { "duration": { "alias": "duration"; "required": false; }; "headTitle": { "alias": "headTitle"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
238
238
|
}
|
|
239
239
|
export declare interface DesynthModal extends Components.DesynthModal {
|
|
240
240
|
/**
|
|
@@ -252,10 +252,10 @@ export declare interface DesynthModal extends Components.DesynthModal {
|
|
|
252
252
|
}
|
|
253
253
|
export declare class DesynthMultiStepper {
|
|
254
254
|
protected z: NgZone;
|
|
255
|
-
protected el:
|
|
255
|
+
protected el: HTMLDesynthMultiStepperElement;
|
|
256
256
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
257
257
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthMultiStepper, never>;
|
|
258
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthMultiStepper, "desynth-multi-stepper", never, { "validators": { "alias": "validators"; "required": false; }; }, {}, never, ["*"],
|
|
258
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthMultiStepper, "desynth-multi-stepper", never, { "validators": { "alias": "validators"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
259
259
|
}
|
|
260
260
|
export declare interface DesynthMultiStepper extends Components.DesynthMultiStepper {
|
|
261
261
|
/**
|
|
@@ -265,19 +265,19 @@ export declare interface DesynthMultiStepper extends Components.DesynthMultiStep
|
|
|
265
265
|
}
|
|
266
266
|
export declare class DesynthPaper {
|
|
267
267
|
protected z: NgZone;
|
|
268
|
-
protected el:
|
|
268
|
+
protected el: HTMLDesynthPaperElement;
|
|
269
269
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
270
270
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthPaper, never>;
|
|
271
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthPaper, "desynth-paper", never, { "paperSize": { "alias": "paperSize"; "required": false; }; }, {}, never, ["*"],
|
|
271
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthPaper, "desynth-paper", never, { "paperSize": { "alias": "paperSize"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
272
272
|
}
|
|
273
273
|
export declare interface DesynthPaper extends Components.DesynthPaper {
|
|
274
274
|
}
|
|
275
275
|
export declare class DesynthRating {
|
|
276
276
|
protected z: NgZone;
|
|
277
|
-
protected el:
|
|
277
|
+
protected el: HTMLDesynthRatingElement;
|
|
278
278
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
279
279
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthRating, never>;
|
|
280
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthRating, "desynth-rating", never, { "inputName": { "alias": "inputName"; "required": false; }; "rating": { "alias": "rating"; "required": false; }; }, {}, never, ["*"],
|
|
280
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthRating, "desynth-rating", never, { "inputName": { "alias": "inputName"; "required": false; }; "rating": { "alias": "rating"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
281
281
|
}
|
|
282
282
|
export declare interface DesynthRating extends Components.DesynthRating {
|
|
283
283
|
/**
|
|
@@ -287,19 +287,19 @@ export declare interface DesynthRating extends Components.DesynthRating {
|
|
|
287
287
|
}
|
|
288
288
|
export declare class DesynthRenderer {
|
|
289
289
|
protected z: NgZone;
|
|
290
|
-
protected el:
|
|
290
|
+
protected el: HTMLDesynthRendererElement;
|
|
291
291
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
292
292
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthRenderer, never>;
|
|
293
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthRenderer, "desynth-renderer", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, ["*"],
|
|
293
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthRenderer, "desynth-renderer", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
294
294
|
}
|
|
295
295
|
export declare interface DesynthRenderer extends Components.DesynthRenderer {
|
|
296
296
|
}
|
|
297
297
|
export declare class DesynthSelect {
|
|
298
298
|
protected z: NgZone;
|
|
299
|
-
protected el:
|
|
299
|
+
protected el: HTMLDesynthSelectElement;
|
|
300
300
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
301
301
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthSelect, never>;
|
|
302
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthSelect, "desynth-select", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "options": { "alias": "options"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"],
|
|
302
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthSelect, "desynth-select", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "options": { "alias": "options"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
303
303
|
}
|
|
304
304
|
export declare interface DesynthSelect extends Components.DesynthSelect {
|
|
305
305
|
/**
|
|
@@ -321,19 +321,19 @@ export declare interface DesynthSelect extends Components.DesynthSelect {
|
|
|
321
321
|
}
|
|
322
322
|
export declare class DesynthStepStepper {
|
|
323
323
|
protected z: NgZone;
|
|
324
|
-
protected el:
|
|
324
|
+
protected el: HTMLDesynthStepStepperElement;
|
|
325
325
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
326
326
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthStepStepper, never>;
|
|
327
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthStepStepper, "desynth-step-stepper", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"],
|
|
327
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthStepStepper, "desynth-step-stepper", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
328
328
|
}
|
|
329
329
|
export declare interface DesynthStepStepper extends Components.DesynthStepStepper {
|
|
330
330
|
}
|
|
331
331
|
export declare class DesynthSwitch {
|
|
332
332
|
protected z: NgZone;
|
|
333
|
-
protected el:
|
|
333
|
+
protected el: HTMLDesynthSwitchElement;
|
|
334
334
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
335
335
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthSwitch, never>;
|
|
336
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthSwitch, "desynth-switch", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; }, {}, never, ["*"],
|
|
336
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthSwitch, "desynth-switch", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
337
337
|
}
|
|
338
338
|
export declare interface DesynthSwitch extends Components.DesynthSwitch {
|
|
339
339
|
/**
|
|
@@ -355,22 +355,23 @@ export declare interface DesynthSwitch extends Components.DesynthSwitch {
|
|
|
355
355
|
}
|
|
356
356
|
export declare class DesynthTable {
|
|
357
357
|
protected z: NgZone;
|
|
358
|
-
protected el:
|
|
358
|
+
protected el: HTMLDesynthTableElement;
|
|
359
359
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
360
360
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthTable, never>;
|
|
361
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthTable, "desynth-table", never, { "_actions": { "alias": "_actions"; "required": false; }; "_column_keys": { "alias": "_column_keys"; "required": false; }; "_columns": { "alias": "_columns"; "required": false; }; "_source": { "alias": "_source"; "required": false; }; "count": { "alias": "count"; "required": false; }; }, {}, never, ["*"],
|
|
361
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthTable, "desynth-table", never, { "_actions": { "alias": "_actions"; "required": false; }; "_column_keys": { "alias": "_column_keys"; "required": false; }; "_columns": { "alias": "_columns"; "required": false; }; "_hasPagination": { "alias": "_hasPagination"; "required": false; }; "_isDraggable": { "alias": "_isDraggable"; "required": false; }; "_source": { "alias": "_source"; "required": false; }; "count": { "alias": "count"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
362
362
|
}
|
|
363
363
|
export declare interface DesynthTable extends Components.DesynthTable {
|
|
364
364
|
changeRowsPerPage: EventEmitter<CustomEvent<number>>;
|
|
365
365
|
getDataNextPage: EventEmitter<CustomEvent<null>>;
|
|
366
366
|
rowEvent: EventEmitter<CustomEvent<any>>;
|
|
367
|
+
dropEvent: EventEmitter<CustomEvent<any>>;
|
|
367
368
|
}
|
|
368
369
|
export declare class DesynthTextArea {
|
|
369
370
|
protected z: NgZone;
|
|
370
|
-
protected el:
|
|
371
|
+
protected el: HTMLDesynthTextAreaElement;
|
|
371
372
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
372
373
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthTextArea, never>;
|
|
373
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthTextArea, "desynth-text-area", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; }, {}, never, ["*"],
|
|
374
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthTextArea, "desynth-text-area", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
374
375
|
}
|
|
375
376
|
export declare interface DesynthTextArea extends Components.DesynthTextArea {
|
|
376
377
|
/**
|
|
@@ -392,10 +393,10 @@ export declare interface DesynthTextArea extends Components.DesynthTextArea {
|
|
|
392
393
|
}
|
|
393
394
|
export declare class DesynthTextInput {
|
|
394
395
|
protected z: NgZone;
|
|
395
|
-
protected el:
|
|
396
|
+
protected el: HTMLDesynthTextInputElement;
|
|
396
397
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
397
398
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthTextInput, never>;
|
|
398
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthTextInput, "desynth-text-input", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; "inputType": { "alias": "inputType"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; }, {}, never, ["*"],
|
|
399
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthTextInput, "desynth-text-input", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputName": { "alias": "inputName"; "required": false; }; "inputType": { "alias": "inputType"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
399
400
|
}
|
|
400
401
|
export declare interface DesynthTextInput extends Components.DesynthTextInput {
|
|
401
402
|
/**
|
|
@@ -417,10 +418,10 @@ export declare interface DesynthTextInput extends Components.DesynthTextInput {
|
|
|
417
418
|
}
|
|
418
419
|
export declare class DesynthTooltip {
|
|
419
420
|
protected z: NgZone;
|
|
420
|
-
protected el:
|
|
421
|
+
protected el: HTMLDesynthTooltipElement;
|
|
421
422
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
422
423
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesynthTooltip, never>;
|
|
423
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthTooltip, "desynth-tooltip", never, { "direction": { "alias": "direction"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, ["*"],
|
|
424
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesynthTooltip, "desynth-tooltip", never, { "direction": { "alias": "direction"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
424
425
|
}
|
|
425
426
|
export declare interface DesynthTooltip extends Components.DesynthTooltip {
|
|
426
427
|
}
|
|
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./directives/proxies";
|
|
3
3
|
export declare class StencilWrapperModule {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<StencilWrapperModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StencilWrapperModule, [typeof i1.DesynthAccordion, typeof i1.DesynthAlert, typeof i1.DesynthBreadcrumb, typeof i1.DesynthButton, typeof i1.DesynthButtonSlider, typeof i1.DesynthCard, typeof i1.DesynthCheckbox, typeof i1.DesynthDatePicker, typeof i1.DesynthDivider, typeof i1.DesynthDrawer, typeof i1.DesynthDropFile, typeof i1.DesynthForm, typeof i1.DesynthGrid, typeof i1.DesynthHeader, typeof i1.DesynthList, typeof i1.DesynthLoader, typeof i1.DesynthModal, typeof i1.DesynthMultiStepper, typeof i1.DesynthPaper, typeof i1.DesynthRating, typeof i1.DesynthRenderer, typeof i1.DesynthSelect, typeof i1.DesynthStepStepper, typeof i1.DesynthSwitch, typeof i1.DesynthTable, typeof i1.DesynthTextArea, typeof i1.DesynthTextInput, typeof i1.DesynthTooltip],
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StencilWrapperModule, never, [typeof i1.DesynthAccordion, typeof i1.DesynthAlert, typeof i1.DesynthBreadcrumb, typeof i1.DesynthButton, typeof i1.DesynthButtonSlider, typeof i1.DesynthCard, typeof i1.DesynthCheckbox, typeof i1.DesynthDatePicker, typeof i1.DesynthDivider, typeof i1.DesynthDrawer, typeof i1.DesynthDropFile, typeof i1.DesynthForm, typeof i1.DesynthGrid, typeof i1.DesynthHeader, typeof i1.DesynthList, typeof i1.DesynthLoader, typeof i1.DesynthModal, typeof i1.DesynthMultiStepper, typeof i1.DesynthPaper, typeof i1.DesynthRating, typeof i1.DesynthRenderer, typeof i1.DesynthSelect, typeof i1.DesynthStepStepper, typeof i1.DesynthSwitch, typeof i1.DesynthTable, typeof i1.DesynthTextArea, typeof i1.DesynthTextInput, typeof i1.DesynthTooltip], [typeof i1.DesynthAccordion, typeof i1.DesynthAlert, typeof i1.DesynthBreadcrumb, typeof i1.DesynthButton, typeof i1.DesynthButtonSlider, typeof i1.DesynthCard, typeof i1.DesynthCheckbox, typeof i1.DesynthDatePicker, typeof i1.DesynthDivider, typeof i1.DesynthDrawer, typeof i1.DesynthDropFile, typeof i1.DesynthForm, typeof i1.DesynthGrid, typeof i1.DesynthHeader, typeof i1.DesynthList, typeof i1.DesynthLoader, typeof i1.DesynthModal, typeof i1.DesynthMultiStepper, typeof i1.DesynthPaper, typeof i1.DesynthRating, typeof i1.DesynthRenderer, typeof i1.DesynthSelect, typeof i1.DesynthStepStepper, typeof i1.DesynthSwitch, typeof i1.DesynthTable, typeof i1.DesynthTextArea, typeof i1.DesynthTextInput, typeof i1.DesynthTooltip]>;
|
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<StencilWrapperModule>;
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynth/web-components-angular",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "25.02.07-alpha.1",
|
|
5
5
|
"description": "Angular proxy for @desynth/web-components",
|
|
6
6
|
"license": "MPL-2.0",
|
|
7
7
|
"homepage": "https://github.com/desynth/desynth-web-components#readme",
|
|
@@ -35,30 +35,30 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@angular/animations": "~
|
|
39
|
-
"@angular/common": "~
|
|
40
|
-
"@angular/compiler": "~
|
|
41
|
-
"@angular/core": "~
|
|
42
|
-
"@angular/forms": "~
|
|
43
|
-
"@angular/platform-browser": "~
|
|
44
|
-
"@angular/platform-browser-dynamic": "~
|
|
45
|
-
"@angular/router": "~
|
|
46
|
-
"ng-packagr": "~
|
|
47
|
-
"rxjs": "~7.8.
|
|
48
|
-
"tslib": "^2.
|
|
49
|
-
"zone.js": "~0.
|
|
38
|
+
"@angular/animations": "~19.0.5",
|
|
39
|
+
"@angular/common": "~19.0.5",
|
|
40
|
+
"@angular/compiler": "~19.0.5",
|
|
41
|
+
"@angular/core": "~19.0.5",
|
|
42
|
+
"@angular/forms": "~19.0.5",
|
|
43
|
+
"@angular/platform-browser": "~19.0.5",
|
|
44
|
+
"@angular/platform-browser-dynamic": "~19.0.5",
|
|
45
|
+
"@angular/router": "~19.0.5",
|
|
46
|
+
"ng-packagr": "~19.0.1",
|
|
47
|
+
"rxjs": "~7.8.1",
|
|
48
|
+
"tslib": "^2.8.1",
|
|
49
|
+
"zone.js": "~0.15.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@angular-devkit/build-angular": "
|
|
53
|
-
"@angular/cli": "
|
|
54
|
-
"@angular/compiler-cli": "
|
|
55
|
-
"@types/jasmine": "5.1.
|
|
56
|
-
"jasmine-core": "5.
|
|
57
|
-
"karma": "6.4.
|
|
52
|
+
"@angular-devkit/build-angular": "19.0.6",
|
|
53
|
+
"@angular/cli": "19.0.6",
|
|
54
|
+
"@angular/compiler-cli": "19.0.5",
|
|
55
|
+
"@types/jasmine": "5.1.5",
|
|
56
|
+
"jasmine-core": "5.5.0",
|
|
57
|
+
"karma": "6.4.4",
|
|
58
58
|
"karma-chrome-launcher": "3.2.0",
|
|
59
|
-
"karma-coverage": "2.2.
|
|
59
|
+
"karma-coverage": "2.2.1",
|
|
60
60
|
"karma-jasmine": "5.1.0",
|
|
61
61
|
"karma-jasmine-html-reporter": "2.1.0",
|
|
62
|
-
"typescript": "5.
|
|
62
|
+
"typescript": "~5.6.2"
|
|
63
63
|
}
|
|
64
64
|
}
|
package/dist/esm2022/index.mjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of stencil-wrapper
|
|
3
|
-
*/
|
|
4
|
-
export { StencilWrapperModule } from './src/stencil-wrapper.module';
|
|
5
|
-
export * from './src/directives/proxies';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9saWIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNwRSxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBzdGVuY2lsLXdyYXBwZXJcbiAqL1xuXG5leHBvcnQgeyBTdGVuY2lsV3JhcHBlck1vZHVsZSB9IGZyb20gJy4vc3JjL3N0ZW5jaWwtd3JhcHBlci5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvZGlyZWN0aXZlcy9wcm94aWVzJzsiXX0=
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
import { fromEvent } from 'rxjs';
|
|
4
|
-
export const proxyInputs = (Cmp, inputs) => {
|
|
5
|
-
const Prototype = Cmp.prototype;
|
|
6
|
-
inputs.forEach((item) => {
|
|
7
|
-
Object.defineProperty(Prototype, item, {
|
|
8
|
-
get() {
|
|
9
|
-
return this.el[item];
|
|
10
|
-
},
|
|
11
|
-
set(val) {
|
|
12
|
-
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
13
|
-
},
|
|
14
|
-
/**
|
|
15
|
-
* In the event that proxyInputs is called
|
|
16
|
-
* multiple times re-defining these inputs
|
|
17
|
-
* will cause an error to be thrown. As a result
|
|
18
|
-
* we set configurable: true to indicate these
|
|
19
|
-
* properties can be changed.
|
|
20
|
-
*/
|
|
21
|
-
configurable: true,
|
|
22
|
-
});
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
export const proxyMethods = (Cmp, methods) => {
|
|
26
|
-
const Prototype = Cmp.prototype;
|
|
27
|
-
methods.forEach((methodName) => {
|
|
28
|
-
Prototype[methodName] = function () {
|
|
29
|
-
const args = arguments;
|
|
30
|
-
return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
|
|
31
|
-
};
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
export const proxyOutputs = (instance, el, events) => {
|
|
35
|
-
events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
|
|
36
|
-
};
|
|
37
|
-
export const defineCustomElement = (tagName, customElement) => {
|
|
38
|
-
if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
|
|
39
|
-
customElements.define(tagName, customElement);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
// tslint:disable-next-line: only-arrow-functions
|
|
43
|
-
export function ProxyCmp(opts) {
|
|
44
|
-
const decorator = function (cls) {
|
|
45
|
-
const { defineCustomElementFn, inputs, methods } = opts;
|
|
46
|
-
if (defineCustomElementFn !== undefined) {
|
|
47
|
-
defineCustomElementFn();
|
|
48
|
-
}
|
|
49
|
-
if (inputs) {
|
|
50
|
-
proxyInputs(cls, inputs);
|
|
51
|
-
}
|
|
52
|
-
if (methods) {
|
|
53
|
-
proxyMethods(cls, methods);
|
|
54
|
-
}
|
|
55
|
-
return cls;
|
|
56
|
-
};
|
|
57
|
-
return decorator;
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWIvc3JjL2RpcmVjdGl2ZXMvYW5ndWxhci1jb21wb25lbnQtbGliL3V0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG9CQUFvQjtBQUNwQ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