@nova-design-system/nova-angular-18 3.0.0-beta.43 → 3.0.0-beta.45
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/nova-components/esm2022/lib/nova-components.module.mjs +1 -1
- package/dist/nova-components/esm2022/lib/stencil-generated/component-value-accessors.mjs +37 -1
- package/dist/nova-components/esm2022/lib/stencil-generated/components.mjs +9 -9
- package/dist/nova-components/fesm2022/nova-components.mjs +46 -10
- package/dist/nova-components/fesm2022/nova-components.mjs.map +1 -1
- package/dist/nova-components/lib/nova-components.module.d.ts +1 -1
- package/dist/nova-components/lib/stencil-generated/component-value-accessors.d.ts +8 -1
- package/dist/nova-components/lib/stencil-generated/components.d.ts +4 -4
- package/dist/nova-components/package.json +25 -0
- package/package.json +1 -1
|
@@ -286,11 +286,11 @@ let NvDatagrid = class NvDatagrid {
|
|
|
286
286
|
proxyOutputs(this, this.el, ['action']);
|
|
287
287
|
}
|
|
288
288
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvDatagrid, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
289
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvDatagrid, selector: "nv-datagrid", inputs: { columns: "columns", columnsJson: "columnsJson", data: "data", dataJson: "dataJson", enableGlobalFilter: "enableGlobalFilter", fallbackValue: "fallbackValue", noColumnsNoDataMessage: "noColumnsNoDataMessage", noDataMessage: "noDataMessage" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
289
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvDatagrid, selector: "nv-datagrid", inputs: { autoGenerateColumns: "autoGenerateColumns", columns: "columns", columnsJson: "columnsJson", data: "data", dataJson: "dataJson", enableGlobalFilter: "enableGlobalFilter", fallbackValue: "fallbackValue", noColumnsNoDataMessage: "noColumnsNoDataMessage", noDataMessage: "noDataMessage" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
290
290
|
};
|
|
291
291
|
NvDatagrid = __decorate([
|
|
292
292
|
ProxyCmp({
|
|
293
|
-
inputs: ['columns', 'columnsJson', 'data', 'dataJson', 'enableGlobalFilter', 'fallbackValue', 'noColumnsNoDataMessage', 'noDataMessage']
|
|
293
|
+
inputs: ['autoGenerateColumns', 'columns', 'columnsJson', 'data', 'dataJson', 'enableGlobalFilter', 'fallbackValue', 'noColumnsNoDataMessage', 'noDataMessage']
|
|
294
294
|
})
|
|
295
295
|
], NvDatagrid);
|
|
296
296
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvDatagrid, decorators: [{
|
|
@@ -300,7 +300,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
300
300
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
301
301
|
template: '<ng-content></ng-content>',
|
|
302
302
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
303
|
-
inputs: ['columns', 'columnsJson', 'data', 'dataJson', 'enableGlobalFilter', 'fallbackValue', 'noColumnsNoDataMessage', 'noDataMessage'],
|
|
303
|
+
inputs: ['autoGenerateColumns', 'columns', 'columnsJson', 'data', 'dataJson', 'enableGlobalFilter', 'fallbackValue', 'noColumnsNoDataMessage', 'noDataMessage'],
|
|
304
304
|
}]
|
|
305
305
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
306
306
|
let NvDatagridcolumn = class NvDatagridcolumn {
|
|
@@ -310,11 +310,11 @@ let NvDatagridcolumn = class NvDatagridcolumn {
|
|
|
310
310
|
this.el = r.nativeElement;
|
|
311
311
|
}
|
|
312
312
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvDatagridcolumn, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
313
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvDatagridcolumn, selector: "nv-datagridcolumn", inputs: { accessor: "accessor", header: "header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
313
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvDatagridcolumn, selector: "nv-datagridcolumn", inputs: { accessor: "accessor", header: "header", repeatTemplate: "repeatTemplate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
314
314
|
};
|
|
315
315
|
NvDatagridcolumn = __decorate([
|
|
316
316
|
ProxyCmp({
|
|
317
|
-
inputs: ['accessor', 'header']
|
|
317
|
+
inputs: ['accessor', 'header', 'repeatTemplate']
|
|
318
318
|
})
|
|
319
319
|
], NvDatagridcolumn);
|
|
320
320
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvDatagridcolumn, decorators: [{
|
|
@@ -324,7 +324,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
324
324
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
325
325
|
template: '<ng-content></ng-content>',
|
|
326
326
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
327
|
-
inputs: ['accessor', 'header'],
|
|
327
|
+
inputs: ['accessor', 'header', 'repeatTemplate'],
|
|
328
328
|
}]
|
|
329
329
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
330
330
|
let NvDialog = class NvDialog {
|
|
@@ -332,7 +332,7 @@ let NvDialog = class NvDialog {
|
|
|
332
332
|
this.z = z;
|
|
333
333
|
c.detach();
|
|
334
334
|
this.el = r.nativeElement;
|
|
335
|
-
proxyOutputs(this, this.el, ['
|
|
335
|
+
proxyOutputs(this, this.el, ['openChanged']);
|
|
336
336
|
}
|
|
337
337
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvDialog, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
338
338
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvDialog, selector: "nv-dialog", inputs: { clickOutside: "clickOutside", controlled: "controlled", full: "full", open: "open", undismissable: "undismissable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -340,7 +340,7 @@ let NvDialog = class NvDialog {
|
|
|
340
340
|
NvDialog = __decorate([
|
|
341
341
|
ProxyCmp({
|
|
342
342
|
inputs: ['clickOutside', 'controlled', 'full', 'open', 'undismissable'],
|
|
343
|
-
methods: ['show', '
|
|
343
|
+
methods: ['show', 'close']
|
|
344
344
|
})
|
|
345
345
|
], NvDialog);
|
|
346
346
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvDialog, decorators: [{
|
|
@@ -1165,6 +1165,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1165
1165
|
type: HostListener,
|
|
1166
1166
|
args: ['hiddenChanged', ['$event']]
|
|
1167
1167
|
}] } });
|
|
1168
|
+
class NvDialogValueAccessor extends ValueAccessor {
|
|
1169
|
+
constructor(el) {
|
|
1170
|
+
super(el);
|
|
1171
|
+
}
|
|
1172
|
+
handleOpenChanged(event) {
|
|
1173
|
+
this.handleChangeEvent(event.target.open);
|
|
1174
|
+
}
|
|
1175
|
+
writeValue(value) {
|
|
1176
|
+
this.el.nativeElement.open = this.lastValue = value;
|
|
1177
|
+
}
|
|
1178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvDialogValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1179
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: NvDialogValueAccessor, selector: "nv-dialog", host: { listeners: { "openChanged": "handleOpenChanged($event)" } }, providers: [
|
|
1180
|
+
{
|
|
1181
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1182
|
+
useExisting: NvDialogValueAccessor,
|
|
1183
|
+
multi: true,
|
|
1184
|
+
},
|
|
1185
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
1186
|
+
}
|
|
1187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvDialogValueAccessor, decorators: [{
|
|
1188
|
+
type: Directive,
|
|
1189
|
+
args: [{
|
|
1190
|
+
selector: 'nv-dialog',
|
|
1191
|
+
providers: [
|
|
1192
|
+
{
|
|
1193
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1194
|
+
useExisting: NvDialogValueAccessor,
|
|
1195
|
+
multi: true,
|
|
1196
|
+
},
|
|
1197
|
+
],
|
|
1198
|
+
}]
|
|
1199
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { handleOpenChanged: [{
|
|
1200
|
+
type: HostListener,
|
|
1201
|
+
args: ['openChanged', ['$event']]
|
|
1202
|
+
}] } });
|
|
1168
1203
|
class NvFieldcheckboxValueAccessor extends ValueAccessor {
|
|
1169
1204
|
constructor(el) {
|
|
1170
1205
|
super(el);
|
|
@@ -1552,6 +1587,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1552
1587
|
}] } });
|
|
1553
1588
|
const VALUE_ACCESSORS = [
|
|
1554
1589
|
NvAlertValueAccessor,
|
|
1590
|
+
NvDialogValueAccessor,
|
|
1555
1591
|
NvFieldcheckboxValueAccessor,
|
|
1556
1592
|
NvFielddropdownValueAccessor,
|
|
1557
1593
|
NvFieldmultiselectValueAccessor,
|
|
@@ -1592,7 +1628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1592
1628
|
}] });
|
|
1593
1629
|
class NovaComponentsValueAccessorModule {
|
|
1594
1630
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsValueAccessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1595
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsValueAccessorModule, declarations: [NvAlertValueAccessor, NvFieldcheckboxValueAccessor, NvFielddropdownValueAccessor, NvFieldmultiselectValueAccessor, NvFieldnumberValueAccessor, NvFieldpasswordValueAccessor, NvFieldradioValueAccessor, NvFieldselectValueAccessor, NvFieldtextValueAccessor, NvFieldtextareaValueAccessor, NvPopoverValueAccessor, NvToggleValueAccessor], exports: [NvAlertValueAccessor, NvFieldcheckboxValueAccessor, NvFielddropdownValueAccessor, NvFieldmultiselectValueAccessor, NvFieldnumberValueAccessor, NvFieldpasswordValueAccessor, NvFieldradioValueAccessor, NvFieldselectValueAccessor, NvFieldtextValueAccessor, NvFieldtextareaValueAccessor, NvPopoverValueAccessor, NvToggleValueAccessor] }); }
|
|
1631
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsValueAccessorModule, declarations: [NvAlertValueAccessor, NvDialogValueAccessor, NvFieldcheckboxValueAccessor, NvFielddropdownValueAccessor, NvFieldmultiselectValueAccessor, NvFieldnumberValueAccessor, NvFieldpasswordValueAccessor, NvFieldradioValueAccessor, NvFieldselectValueAccessor, NvFieldtextValueAccessor, NvFieldtextareaValueAccessor, NvPopoverValueAccessor, NvToggleValueAccessor], exports: [NvAlertValueAccessor, NvDialogValueAccessor, NvFieldcheckboxValueAccessor, NvFielddropdownValueAccessor, NvFieldmultiselectValueAccessor, NvFieldnumberValueAccessor, NvFieldpasswordValueAccessor, NvFieldradioValueAccessor, NvFieldselectValueAccessor, NvFieldtextValueAccessor, NvFieldtextareaValueAccessor, NvPopoverValueAccessor, NvToggleValueAccessor] }); }
|
|
1596
1632
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsValueAccessorModule }); }
|
|
1597
1633
|
}
|
|
1598
1634
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsValueAccessorModule, decorators: [{
|
|
@@ -1611,5 +1647,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1611
1647
|
* Generated bundle index. Do not edit.
|
|
1612
1648
|
*/
|
|
1613
1649
|
|
|
1614
|
-
export { NovaComponentsModule, NovaComponentsValueAccessorModule, NvAlert, NvAlertValueAccessor, NvAvatar, NvBadge, NvBase, NvBreadcrumb, NvBreadcrumbs, NvButton, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDialog, NvDialogfooter, NvDialogheader, NvFieldcheckbox, NvFieldcheckboxValueAccessor, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownValueAccessor, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldmultiselectValueAccessor, NvFieldnumber, NvFieldnumberValueAccessor, NvFieldpassword, NvFieldpasswordValueAccessor, NvFieldradio, NvFieldradioValueAccessor, NvFieldselect, NvFieldselectValueAccessor, NvFieldtext, NvFieldtextValueAccessor, NvFieldtextarea, NvFieldtextareaValueAccessor, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvPopover, NvPopoverValueAccessor, NvRow, NvStack, NvTable, NvTablecolumn, NvToggle, NvToggleValueAccessor, NvTooltip, VALUE_ACCESSORS, provideNovaComponents };
|
|
1650
|
+
export { NovaComponentsModule, NovaComponentsValueAccessorModule, NvAlert, NvAlertValueAccessor, NvAvatar, NvBadge, NvBase, NvBreadcrumb, NvBreadcrumbs, NvButton, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDialog, NvDialogValueAccessor, NvDialogfooter, NvDialogheader, NvFieldcheckbox, NvFieldcheckboxValueAccessor, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownValueAccessor, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldmultiselectValueAccessor, NvFieldnumber, NvFieldnumberValueAccessor, NvFieldpassword, NvFieldpasswordValueAccessor, NvFieldradio, NvFieldradioValueAccessor, NvFieldselect, NvFieldselectValueAccessor, NvFieldtext, NvFieldtextValueAccessor, NvFieldtextarea, NvFieldtextareaValueAccessor, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvPopover, NvPopoverValueAccessor, NvRow, NvStack, NvTable, NvTablecolumn, NvToggle, NvToggleValueAccessor, NvTooltip, VALUE_ACCESSORS, provideNovaComponents };
|
|
1615
1651
|
//# sourceMappingURL=nova-components.mjs.map
|