@ebrains/angular 2.0.0 → 2.1.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.
@@ -27,22 +27,23 @@ import { defineCustomElement as defineCustomElement$m } from '@ebrains/component
27
27
  import { defineCustomElement as defineCustomElement$n } from '@ebrains/components/dist/components/eds-logo.js';
28
28
  import { defineCustomElement as defineCustomElement$o } from '@ebrains/components/dist/components/eds-matomo-notice.js';
29
29
  import { defineCustomElement as defineCustomElement$p } from '@ebrains/components/dist/components/eds-modal.js';
30
- import { defineCustomElement as defineCustomElement$q } from '@ebrains/components/dist/components/eds-pagination.js';
31
- import { defineCustomElement as defineCustomElement$r } from '@ebrains/components/dist/components/eds-pie.js';
32
- import { defineCustomElement as defineCustomElement$s } from '@ebrains/components/dist/components/eds-progress-bar.js';
33
- import { defineCustomElement as defineCustomElement$t } from '@ebrains/components/dist/components/eds-rating.js';
34
- import { defineCustomElement as defineCustomElement$u } from '@ebrains/components/dist/components/eds-social-networks.js';
35
- import { defineCustomElement as defineCustomElement$v } from '@ebrains/components/dist/components/eds-spinner.js';
36
- import { defineCustomElement as defineCustomElement$w } from '@ebrains/components/dist/components/eds-splash-screen.js';
37
- import { defineCustomElement as defineCustomElement$x } from '@ebrains/components/dist/components/eds-steps.js';
38
- import { defineCustomElement as defineCustomElement$y } from '@ebrains/components/dist/components/eds-steps-v2.js';
39
- import { defineCustomElement as defineCustomElement$z } from '@ebrains/components/dist/components/eds-switch.js';
40
- import { defineCustomElement as defineCustomElement$A } from '@ebrains/components/dist/components/eds-table.js';
41
- import { defineCustomElement as defineCustomElement$B } from '@ebrains/components/dist/components/eds-tabs.js';
42
- import { defineCustomElement as defineCustomElement$C } from '@ebrains/components/dist/components/eds-tag.js';
43
- import { defineCustomElement as defineCustomElement$D } from '@ebrains/components/dist/components/eds-toast.js';
44
- import { defineCustomElement as defineCustomElement$E } from '@ebrains/components/dist/components/eds-tooltip.js';
45
- import { defineCustomElement as defineCustomElement$F } from '@ebrains/components/dist/components/eds-user.js';
30
+ import { defineCustomElement as defineCustomElement$q } from '@ebrains/components/dist/components/eds-nps.js';
31
+ import { defineCustomElement as defineCustomElement$r } from '@ebrains/components/dist/components/eds-pagination.js';
32
+ import { defineCustomElement as defineCustomElement$s } from '@ebrains/components/dist/components/eds-pie.js';
33
+ import { defineCustomElement as defineCustomElement$t } from '@ebrains/components/dist/components/eds-progress-bar.js';
34
+ import { defineCustomElement as defineCustomElement$u } from '@ebrains/components/dist/components/eds-rating.js';
35
+ import { defineCustomElement as defineCustomElement$v } from '@ebrains/components/dist/components/eds-social-networks.js';
36
+ import { defineCustomElement as defineCustomElement$w } from '@ebrains/components/dist/components/eds-spinner.js';
37
+ import { defineCustomElement as defineCustomElement$x } from '@ebrains/components/dist/components/eds-splash-screen.js';
38
+ import { defineCustomElement as defineCustomElement$y } from '@ebrains/components/dist/components/eds-steps.js';
39
+ import { defineCustomElement as defineCustomElement$z } from '@ebrains/components/dist/components/eds-steps-v2.js';
40
+ import { defineCustomElement as defineCustomElement$A } from '@ebrains/components/dist/components/eds-switch.js';
41
+ import { defineCustomElement as defineCustomElement$B } from '@ebrains/components/dist/components/eds-table.js';
42
+ import { defineCustomElement as defineCustomElement$C } from '@ebrains/components/dist/components/eds-tabs.js';
43
+ import { defineCustomElement as defineCustomElement$D } from '@ebrains/components/dist/components/eds-tag.js';
44
+ import { defineCustomElement as defineCustomElement$E } from '@ebrains/components/dist/components/eds-toast.js';
45
+ import { defineCustomElement as defineCustomElement$F } from '@ebrains/components/dist/components/eds-tooltip.js';
46
+ import { defineCustomElement as defineCustomElement$G } from '@ebrains/components/dist/components/eds-user.js';
46
47
 
47
48
  /* eslint-disable */
48
49
  /* tslint:disable */
@@ -139,6 +140,7 @@ let EdsAlert = class EdsAlert {
139
140
  this.z = z;
140
141
  c.detach();
141
142
  this.el = r.nativeElement;
143
+ proxyOutputs(this, this.el, ['edsalert']);
142
144
  }
143
145
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: EdsAlert, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
144
146
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: EdsAlert, isStandalone: true, selector: "eds-alert", inputs: { brd: "brd", direction: "direction", intent: "intent", message: "message", pressableLabel: "pressableLabel", pressableUrl: "pressableUrl" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -838,6 +840,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
838
840
  standalone: true
839
841
  }]
840
842
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
843
+ let EdsNps = class EdsNps {
844
+ z;
845
+ el;
846
+ constructor(c, r, z) {
847
+ this.z = z;
848
+ c.detach();
849
+ this.el = r.nativeElement;
850
+ proxyOutputs(this, this.el, ['nps']);
851
+ }
852
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: EdsNps, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
853
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: EdsNps, isStandalone: true, selector: "eds-nps", inputs: { leftLabel: "leftLabel", question: "question", rightLabel: "rightLabel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
854
+ };
855
+ EdsNps = __decorate([
856
+ ProxyCmp({
857
+ defineCustomElementFn: defineCustomElement$q,
858
+ inputs: ['leftLabel', 'question', 'rightLabel']
859
+ }),
860
+ __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
861
+ ], EdsNps);
862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: EdsNps, decorators: [{
863
+ type: Component,
864
+ args: [{
865
+ selector: 'eds-nps',
866
+ changeDetection: ChangeDetectionStrategy.OnPush,
867
+ template: '<ng-content></ng-content>',
868
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
869
+ inputs: ['leftLabel', 'question', 'rightLabel'],
870
+ standalone: true
871
+ }]
872
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
841
873
  let EdsPagination = class EdsPagination {
842
874
  z;
843
875
  el;
@@ -847,12 +879,12 @@ let EdsPagination = class EdsPagination {
847
879
  this.el = r.nativeElement;
848
880
  }
849
881
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: EdsPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
850
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: EdsPagination, isStandalone: true, selector: "eds-pagination", inputs: { currentPage: "currentPage", lastPage: "lastPage", mode: "mode", nextLabel: "nextLabel", nextUrl: "nextUrl", perPage: "perPage", prevLabel: "prevLabel", prevUrl: "prevUrl", total: "total", url: "url" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
882
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: EdsPagination, isStandalone: true, selector: "eds-pagination", inputs: { currentPage: "currentPage", lastPage: "lastPage", mode: "mode", nextLabel: "nextLabel", nextUrl: "nextUrl", perPage: "perPage", prevLabel: "prevLabel", prevUrl: "prevUrl", total: "total", url: "url", useButtons: "useButtons" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
851
883
  };
852
884
  EdsPagination = __decorate([
853
885
  ProxyCmp({
854
- defineCustomElementFn: defineCustomElement$q,
855
- inputs: ['currentPage', 'lastPage', 'mode', 'nextLabel', 'nextUrl', 'perPage', 'prevLabel', 'prevUrl', 'total', 'url']
886
+ defineCustomElementFn: defineCustomElement$r,
887
+ inputs: ['currentPage', 'lastPage', 'mode', 'nextLabel', 'nextUrl', 'perPage', 'prevLabel', 'prevUrl', 'total', 'url', 'useButtons']
856
888
  }),
857
889
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
858
890
  ], EdsPagination);
@@ -863,7 +895,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
863
895
  changeDetection: ChangeDetectionStrategy.OnPush,
864
896
  template: '<ng-content></ng-content>',
865
897
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
866
- inputs: ['currentPage', 'lastPage', 'mode', 'nextLabel', 'nextUrl', 'perPage', 'prevLabel', 'prevUrl', 'total', 'url'],
898
+ inputs: ['currentPage', 'lastPage', 'mode', 'nextLabel', 'nextUrl', 'perPage', 'prevLabel', 'prevUrl', 'total', 'url', 'useButtons'],
867
899
  standalone: true
868
900
  }]
869
901
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -880,7 +912,7 @@ let EdsPie = class EdsPie {
880
912
  };
881
913
  EdsPie = __decorate([
882
914
  ProxyCmp({
883
- defineCustomElementFn: defineCustomElement$r,
915
+ defineCustomElementFn: defineCustomElement$s,
884
916
  inputs: ['colorScheme', 'display', 'legend', 'size', 'slices', 'thickness']
885
917
  }),
886
918
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -909,7 +941,7 @@ let EdsProgressBar = class EdsProgressBar {
909
941
  };
910
942
  EdsProgressBar = __decorate([
911
943
  ProxyCmp({
912
- defineCustomElementFn: defineCustomElement$s,
944
+ defineCustomElementFn: defineCustomElement$t,
913
945
  inputs: ['rounded', 'value'],
914
946
  methods: ['updateValue']
915
947
  }),
@@ -940,7 +972,7 @@ let EdsRating = class EdsRating {
940
972
  };
941
973
  EdsRating = __decorate([
942
974
  ProxyCmp({
943
- defineCustomElementFn: defineCustomElement$t,
975
+ defineCustomElementFn: defineCustomElement$u,
944
976
  inputs: ['ratingCount', 'ratingType']
945
977
  }),
946
978
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -969,7 +1001,7 @@ let EdsSocialNetworks = class EdsSocialNetworks {
969
1001
  };
970
1002
  EdsSocialNetworks = __decorate([
971
1003
  ProxyCmp({
972
- defineCustomElementFn: defineCustomElement$u,
1004
+ defineCustomElementFn: defineCustomElement$v,
973
1005
  inputs: ['heading']
974
1006
  }),
975
1007
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -998,7 +1030,7 @@ let EdsSpinner = class EdsSpinner {
998
1030
  };
999
1031
  EdsSpinner = __decorate([
1000
1032
  ProxyCmp({
1001
- defineCustomElementFn: defineCustomElement$v,
1033
+ defineCustomElementFn: defineCustomElement$w,
1002
1034
  inputs: ['background', 'fullscreen', 'message', 'size', 'variant']
1003
1035
  }),
1004
1036
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1028,7 +1060,7 @@ let EdsSplashScreen = class EdsSplashScreen {
1028
1060
  };
1029
1061
  EdsSplashScreen = __decorate([
1030
1062
  ProxyCmp({
1031
- defineCustomElementFn: defineCustomElement$w,
1063
+ defineCustomElementFn: defineCustomElement$x,
1032
1064
  inputs: ['initPromise', 'inverse']
1033
1065
  }),
1034
1066
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1058,7 +1090,7 @@ let EdsSteps = class EdsSteps {
1058
1090
  };
1059
1091
  EdsSteps = __decorate([
1060
1092
  ProxyCmp({
1061
- defineCustomElementFn: defineCustomElement$x,
1093
+ defineCustomElementFn: defineCustomElement$y,
1062
1094
  inputs: ['steps', 'type']
1063
1095
  }),
1064
1096
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1088,7 +1120,7 @@ let EdsStepsV2 = class EdsStepsV2 {
1088
1120
  };
1089
1121
  EdsStepsV2 = __decorate([
1090
1122
  ProxyCmp({
1091
- defineCustomElementFn: defineCustomElement$y,
1123
+ defineCustomElementFn: defineCustomElement$z,
1092
1124
  inputs: ['bg', 'imageSrc', 'imageWidth', 'message', 'steps', 'type']
1093
1125
  }),
1094
1126
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1118,7 +1150,7 @@ let EdsSwitch = class EdsSwitch {
1118
1150
  };
1119
1151
  EdsSwitch = __decorate([
1120
1152
  ProxyCmp({
1121
- defineCustomElementFn: defineCustomElement$z,
1153
+ defineCustomElementFn: defineCustomElement$A,
1122
1154
  inputs: ['checked', 'disabled', 'labelOff', 'labelOn']
1123
1155
  }),
1124
1156
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1144,12 +1176,12 @@ let EdsTable = class EdsTable {
1144
1176
  proxyOutputs(this, this.el, ['rowaction']);
1145
1177
  }
1146
1178
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: EdsTable, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1147
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: EdsTable, isStandalone: true, selector: "eds-table", inputs: { actionTemplate: "actionTemplate", actions: "actions", columnSize: "columnSize", config: "config", data: "data", endpoint: "endpoint", hostWidth: "hostWidth", paginationEnabled: "paginationEnabled", rowsPerPage: "rowsPerPage", searchEnabled: "searchEnabled" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1179
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: EdsTable, isStandalone: true, selector: "eds-table", inputs: { actionTemplate: "actionTemplate", actions: "actions", columnSize: "columnSize", config: "config", data: "data", hostWidth: "hostWidth", paginationEnabled: "paginationEnabled", rowsPerPage: "rowsPerPage", searchEnabled: "searchEnabled" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1148
1180
  };
1149
1181
  EdsTable = __decorate([
1150
1182
  ProxyCmp({
1151
- defineCustomElementFn: defineCustomElement$A,
1152
- inputs: ['actionTemplate', 'actions', 'columnSize', 'config', 'data', 'endpoint', 'hostWidth', 'paginationEnabled', 'rowsPerPage', 'searchEnabled']
1183
+ defineCustomElementFn: defineCustomElement$B,
1184
+ inputs: ['actionTemplate', 'actions', 'columnSize', 'config', 'data', 'hostWidth', 'paginationEnabled', 'rowsPerPage', 'searchEnabled']
1153
1185
  }),
1154
1186
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1155
1187
  ], EdsTable);
@@ -1160,7 +1192,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
1160
1192
  changeDetection: ChangeDetectionStrategy.OnPush,
1161
1193
  template: '<ng-content></ng-content>',
1162
1194
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1163
- inputs: ['actionTemplate', 'actions', 'columnSize', 'config', 'data', 'endpoint', 'hostWidth', 'paginationEnabled', 'rowsPerPage', 'searchEnabled'],
1195
+ inputs: ['actionTemplate', 'actions', 'columnSize', 'config', 'data', 'hostWidth', 'paginationEnabled', 'rowsPerPage', 'searchEnabled'],
1164
1196
  standalone: true
1165
1197
  }]
1166
1198
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
@@ -1178,7 +1210,7 @@ let EdsTabs = class EdsTabs {
1178
1210
  };
1179
1211
  EdsTabs = __decorate([
1180
1212
  ProxyCmp({
1181
- defineCustomElementFn: defineCustomElement$B,
1213
+ defineCustomElementFn: defineCustomElement$C,
1182
1214
  inputs: ['identifier', 'navAriaLabel', 'tabs']
1183
1215
  }),
1184
1216
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1207,7 +1239,7 @@ let EdsTag = class EdsTag {
1207
1239
  };
1208
1240
  EdsTag = __decorate([
1209
1241
  ProxyCmp({
1210
- defineCustomElementFn: defineCustomElement$C,
1242
+ defineCustomElementFn: defineCustomElement$D,
1211
1243
  inputs: ['intent', 'label', 'size']
1212
1244
  }),
1213
1245
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1237,7 +1269,7 @@ let EdsToast = class EdsToast {
1237
1269
  };
1238
1270
  EdsToast = __decorate([
1239
1271
  ProxyCmp({
1240
- defineCustomElementFn: defineCustomElement$D,
1272
+ defineCustomElementFn: defineCustomElement$E,
1241
1273
  inputs: ['duration', 'intent', 'message']
1242
1274
  }),
1243
1275
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1266,7 +1298,7 @@ let EdsTooltip = class EdsTooltip {
1266
1298
  };
1267
1299
  EdsTooltip = __decorate([
1268
1300
  ProxyCmp({
1269
- defineCustomElementFn: defineCustomElement$E,
1301
+ defineCustomElementFn: defineCustomElement$F,
1270
1302
  inputs: ['content', 'position']
1271
1303
  }),
1272
1304
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1295,7 +1327,7 @@ let EdsUser = class EdsUser {
1295
1327
  };
1296
1328
  EdsUser = __decorate([
1297
1329
  ProxyCmp({
1298
- defineCustomElementFn: defineCustomElement$F,
1330
+ defineCustomElementFn: defineCustomElement$G,
1299
1331
  inputs: ['user']
1300
1332
  }),
1301
1333
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -1316,5 +1348,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
1316
1348
  * Generated bundle index. Do not edit.
1317
1349
  */
1318
1350
 
1319
- export { EdsAccordion, EdsAlert, EdsAvatar, EdsBlockBreak, EdsBreadcrumb, EdsButton, EdsCardGeneric, EdsCardSection, EdsCodeBlock, EdsDropdown, EdsFeedback, EdsFooter, EdsForm, EdsFullscreenMenu, EdsGauge, EdsHeader, EdsIconWrapper, EdsImg, EdsInputField, EdsInputFooter, EdsInputLabel, EdsLink, EdsLogo, EdsMatomoNotice, EdsModal, EdsPagination, EdsPie, EdsProgressBar, EdsRating, EdsSocialNetworks, EdsSpinner, EdsSplashScreen, EdsSteps, EdsStepsV2, EdsSwitch, EdsTable, EdsTabs, EdsTag, EdsToast, EdsTooltip, EdsUser };
1351
+ export { EdsAccordion, EdsAlert, EdsAvatar, EdsBlockBreak, EdsBreadcrumb, EdsButton, EdsCardGeneric, EdsCardSection, EdsCodeBlock, EdsDropdown, EdsFeedback, EdsFooter, EdsForm, EdsFullscreenMenu, EdsGauge, EdsHeader, EdsIconWrapper, EdsImg, EdsInputField, EdsInputFooter, EdsInputLabel, EdsLink, EdsLogo, EdsMatomoNotice, EdsModal, EdsNps, EdsPagination, EdsPie, EdsProgressBar, EdsRating, EdsSocialNetworks, EdsSpinner, EdsSplashScreen, EdsSteps, EdsStepsV2, EdsSwitch, EdsTable, EdsTabs, EdsTag, EdsToast, EdsTooltip, EdsUser };
1320
1352
  //# sourceMappingURL=ebrains-angular.mjs.map