@inera/ids-angular 3.0.0 → 3.0.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/bundles/inera-ids-angular.umd.js +20 -5
- package/bundles/inera-ids-angular.umd.js.map +1 -1
- package/esm2015/lib/components/button/button.component.js +11 -2
- package/esm2015/lib/components/button/button.module.js +1 -1
- package/esm2015/lib/components/date-label/date-label.component.js +2 -2
- package/esm2015/lib/components/dialog/dialog.component.js +5 -2
- package/esm2015/lib/components/footer/footer.module.js +1 -1
- package/esm2015/lib/components/link/link.module.js +1 -1
- package/esm2015/lib/components/popover/popover.component.js +6 -3
- package/fesm2015/inera-ids-angular.js +20 -5
- package/fesm2015/inera-ids-angular.js.map +1 -1
- package/lib/components/button/button.component.d.ts +3 -1
- package/lib/components/dialog/dialog.component.d.ts +2 -1
- package/lib/components/popover/popover.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -269,6 +269,10 @@
|
|
|
269
269
|
this.disabled = false;
|
|
270
270
|
this.type = undefined;
|
|
271
271
|
this.color = undefined;
|
|
272
|
+
//For Dialog
|
|
273
|
+
this.trigger = '';
|
|
274
|
+
// General props
|
|
275
|
+
this.tabindex = '';
|
|
272
276
|
// Internal Icon
|
|
273
277
|
this.iconobject = undefined;
|
|
274
278
|
this.onClicked = new i0.EventEmitter();
|
|
@@ -276,13 +280,14 @@
|
|
|
276
280
|
return IDButtonComponent;
|
|
277
281
|
}());
|
|
278
282
|
IDButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDButtonComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
279
|
-
IDButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDButtonComponent, selector: "id-button", inputs: { secondary: "secondary", fab: "fab", icon: "icon", tertiary: "tertiary", toggle: "toggle", block: "block", sblock: "sblock", mblock: "mblock", active: "active", submit: "submit", search: "search", size: "size", disabled: "disabled", type: "type", color: "color", iconobject: "iconobject" }, outputs: { onClicked: "onClicked" }, ngImport: i0__namespace, template: "<ids-button \r\n [secondary]=\"secondary ? 'true' : null\"\r\n [attr.fab]=\"fab ? 'true' : null\"\r\n [attr.icon]=\"icon ? 'true' : null\"\r\n [tertiary]=\"tertiary ? 'true' : null\"\r\n [toggle]=\"toggle ? 'true' : null\"\r\n [active]=\"active ? 'true' : null\"\r\n [submit]=\"submit ? 'true' : null\"\r\n [search]=\"search ? 'true' : null\"\r\n [disabled]=\"disabled ? 'true' : null\"\r\n [block]=\"block ? 'true' : null\"\r\n [sblock]=\"sblock ? 'true' : null\"\r\n [mblock]=\"mblock ? 'true' : null\"\r\n [size]=\"size\"\r\n [type]=\"type\"\r\n [color]=\"color\"\r\n (clicked)=\"onClicked.emit(true)\">\r\n <ids-icon *ngIf=\"iconobject !== undefined\"\r\n [attr.name]=\"iconobject?.name\"\r\n [attr.title]=\"iconobject?.title\" \r\n [attr.color]=\"iconobject?.color\" \r\n [attr.color2]=\"iconobject?.color2\" \r\n [attr.size]=\"iconobject?.size\" \r\n [attr.padding]=\"iconobject?.padding\" \r\n [attr.rotate]=\"iconobject?.rotate\" \r\n [attr.colorpreset]=\"iconobject?.colorpreset\" \r\n [attr.height]=\"iconobject?.height\" \r\n [attr.width]=\"iconobject?.width\"></ids-icon>\r\n <ng-content></ng-content>\r\n</ids-button>", styles: ["id-button[ng-reflect-block=true], id-button[ng-reflect-mblock=true], id-button[ng-reflect-sblock=true] { display: contents; }"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
283
|
+
IDButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDButtonComponent, selector: "id-button", inputs: { secondary: "secondary", fab: "fab", icon: "icon", tertiary: "tertiary", toggle: "toggle", block: "block", sblock: "sblock", mblock: "mblock", active: "active", submit: "submit", search: "search", size: "size", disabled: "disabled", type: "type", color: "color", trigger: "trigger", tabindex: "tabindex", iconobject: "iconobject" }, outputs: { onClicked: "onClicked" }, host: { classAttribute: "ids-contains-clickable" }, ngImport: i0__namespace, template: "<ids-button \r\n [secondary]=\"secondary ? 'true' : null\"\r\n [attr.fab]=\"fab ? 'true' : null\"\r\n [attr.icon]=\"icon ? 'true' : null\"\r\n [tertiary]=\"tertiary ? 'true' : null\"\r\n [attr.trigger]=\"trigger ? 'true' : null\"\r\n [attr.tabindex]=\"tabindex ? 'true' : null\"\r\n [toggle]=\"toggle ? 'true' : null\"\r\n [active]=\"active ? 'true' : null\"\r\n [submit]=\"submit ? 'true' : null\"\r\n [search]=\"search ? 'true' : null\"\r\n [disabled]=\"disabled ? 'true' : null\"\r\n [block]=\"block ? 'true' : null\"\r\n [sblock]=\"sblock ? 'true' : null\"\r\n [mblock]=\"mblock ? 'true' : null\"\r\n [size]=\"size\"\r\n [type]=\"type\"\r\n [color]=\"color\"\r\n (clicked)=\"onClicked.emit(true)\">\r\n <ids-icon *ngIf=\"iconobject !== undefined\"\r\n [attr.name]=\"iconobject?.name\"\r\n [attr.title]=\"iconobject?.title\" \r\n [attr.color]=\"iconobject?.color\" \r\n [attr.color2]=\"iconobject?.color2\" \r\n [attr.size]=\"iconobject?.size\" \r\n [attr.padding]=\"iconobject?.padding\" \r\n [attr.rotate]=\"iconobject?.rotate\" \r\n [attr.colorpreset]=\"iconobject?.colorpreset\" \r\n [attr.height]=\"iconobject?.height\" \r\n [attr.width]=\"iconobject?.width\"></ids-icon>\r\n <ng-content></ng-content>\r\n</ids-button>", styles: ["id-button[ng-reflect-block=true], id-button[ng-reflect-mblock=true], id-button[ng-reflect-sblock=true] { display: contents; }"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
280
284
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDButtonComponent, decorators: [{
|
|
281
285
|
type: i0.Component,
|
|
282
286
|
args: [{
|
|
283
287
|
selector: 'id-button',
|
|
284
288
|
templateUrl: './button.component.html',
|
|
285
289
|
styles: ['id-button[ng-reflect-block=true], id-button[ng-reflect-mblock=true], id-button[ng-reflect-sblock=true] { display: contents; }'],
|
|
290
|
+
host: { 'class': 'ids-contains-clickable' },
|
|
286
291
|
encapsulation: i0.ViewEncapsulation.None,
|
|
287
292
|
}]
|
|
288
293
|
}], ctorParameters: function () { return []; }, propDecorators: { secondary: [{
|
|
@@ -315,6 +320,10 @@
|
|
|
315
320
|
type: i0.Input
|
|
316
321
|
}], color: [{
|
|
317
322
|
type: i0.Input
|
|
323
|
+
}], trigger: [{
|
|
324
|
+
type: i0.Input
|
|
325
|
+
}], tabindex: [{
|
|
326
|
+
type: i0.Input
|
|
318
327
|
}], iconobject: [{
|
|
319
328
|
type: i0.Input
|
|
320
329
|
}], onClicked: [{
|
|
@@ -1190,7 +1199,7 @@
|
|
|
1190
1199
|
return IDDateLabelComponent;
|
|
1191
1200
|
}());
|
|
1192
1201
|
IDDateLabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDDateLabelComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1193
|
-
IDDateLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDateLabelComponent, selector: "id-date-label", inputs: { date: "date", year: "year", month: "month", monthlabel: "monthlabel", day: "day" }, ngImport: i0__namespace, template: "<ids-date-label \n [date]=\"date?.toString()\"\n [year]=\"year\"\n [month]=\"month\"\n [monthlabel]=\"monthlabel\"\n [day]=\"day\">\n <ng-content></ng-content>\n</ids-date-label>", encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1202
|
+
IDDateLabelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDateLabelComponent, selector: "id-date-label", inputs: { date: "date", year: "year", month: "month", monthlabel: "monthlabel", day: "day" }, ngImport: i0__namespace, template: "<ids-date-label \r\n [date]=\"date?.toString()\"\r\n [year]=\"year\"\r\n [month]=\"month\"\r\n [monthlabel]=\"monthlabel\"\r\n [day]=\"day\">\r\n <ng-content></ng-content>\r\n</ids-date-label>", encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1194
1203
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDDateLabelComponent, decorators: [{
|
|
1195
1204
|
type: i0.Component,
|
|
1196
1205
|
args: [{
|
|
@@ -1236,6 +1245,7 @@
|
|
|
1236
1245
|
this.dismissible = false;
|
|
1237
1246
|
this.srclosetext = '';
|
|
1238
1247
|
this.nofocustrap = false;
|
|
1248
|
+
this.autofocus = false;
|
|
1239
1249
|
this.headline = '';
|
|
1240
1250
|
this.overlay = false;
|
|
1241
1251
|
this.persistent = false;
|
|
@@ -1249,7 +1259,7 @@
|
|
|
1249
1259
|
return IDDialogComponent;
|
|
1250
1260
|
}());
|
|
1251
1261
|
IDDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDDialogComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1252
|
-
IDDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDialogComponent, selector: "id-dialog", inputs: { dismissible: "dismissible", srclosetext: "srclosetext", nofocustrap: "nofocustrap", headline: "headline", overlay: "overlay", persistent: "persistent", show: "show", width: "width" }, outputs: { onClosed: "onClosed" }, ngImport: i0__namespace, template: "<ids-dialog \r\n [attr.dismissible]=\"dismissible ? true : null\"\r\n [attr.headline]=\"headline\"\r\n [attr.overlay]=\"overlay ? true : null\"\r\n [attr.nofocustrap]=\"nofocustrap ? true : null\"\r\n [attr.persistent]=\"persistent ? true : null\"\r\n [show]=\"show\"\r\n [width]=\"width\"\r\n nofocustrap=\"nofocustrap\"\r\n [srclosetext]=\"srclosetext\"\r\n (closed)=\"emitOnClosed\">\r\n <ng-content></ng-content>\r\n</ids-dialog>", encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1262
|
+
IDDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDialogComponent, selector: "id-dialog", inputs: { dismissible: "dismissible", srclosetext: "srclosetext", nofocustrap: "nofocustrap", autofocus: "autofocus", headline: "headline", overlay: "overlay", persistent: "persistent", show: "show", width: "width" }, outputs: { onClosed: "onClosed" }, ngImport: i0__namespace, template: "<ids-dialog \r\n [attr.dismissible]=\"dismissible ? true : null\"\r\n [attr.headline]=\"headline\"\r\n [attr.overlay]=\"overlay ? true : null\"\r\n [attr.nofocustrap]=\"nofocustrap ? true : null\"\r\n [attr.autofocus]=\"autofocus ? true : null\"\r\n [attr.persistent]=\"persistent ? true : null\"\r\n [show]=\"show\"\r\n [width]=\"width\"\r\n nofocustrap=\"nofocustrap\"\r\n [srclosetext]=\"srclosetext\"\r\n (closed)=\"emitOnClosed\">\r\n <ng-content></ng-content>\r\n</ids-dialog>", encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
1253
1263
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDDialogComponent, decorators: [{
|
|
1254
1264
|
type: i0.Component,
|
|
1255
1265
|
args: [{
|
|
@@ -1263,6 +1273,8 @@
|
|
|
1263
1273
|
type: i0.Input
|
|
1264
1274
|
}], nofocustrap: [{
|
|
1265
1275
|
type: i0.Input
|
|
1276
|
+
}], autofocus: [{
|
|
1277
|
+
type: i0.Input
|
|
1266
1278
|
}], headline: [{
|
|
1267
1279
|
type: i0.Input
|
|
1268
1280
|
}], overlay: [{
|
|
@@ -2584,6 +2596,7 @@
|
|
|
2584
2596
|
|
|
2585
2597
|
var IDPopoverComponent = /** @class */ (function () {
|
|
2586
2598
|
function IDPopoverComponent() {
|
|
2599
|
+
this.autofocus = false;
|
|
2587
2600
|
this.maxwidth = '260px';
|
|
2588
2601
|
this.maxheight = '260px';
|
|
2589
2602
|
this.cathegory = undefined;
|
|
@@ -2592,14 +2605,16 @@
|
|
|
2592
2605
|
return IDPopoverComponent;
|
|
2593
2606
|
}());
|
|
2594
2607
|
IDPopoverComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDPopoverComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2595
|
-
IDPopoverComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDPopoverComponent, selector: "id-popover", inputs: { maxwidth: "maxwidth", maxheight: "maxheight", cathegory: "cathegory", position: "position" }, ngImport: i0__namespace, template: "<ids-popover \r\n [attr.cathegory]=\"cathegory\"\r\n [attr.position]=\"position\">\r\n <ng-content></ng-content>\r\n <ids-popover-content \r\n [attr.maxwidth]=\"maxwidth\"\r\n [attr.maxheight]=\"maxheight\">\r\n <ng-content select=\"[popover-content]\"></ng-content>\r\n </ids-popover-content>\r\n</ids-popover>" });
|
|
2608
|
+
IDPopoverComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDPopoverComponent, selector: "id-popover", inputs: { autofocus: "autofocus", maxwidth: "maxwidth", maxheight: "maxheight", cathegory: "cathegory", position: "position" }, ngImport: i0__namespace, template: "<ids-popover \r\n [attr.cathegory]=\"cathegory\"\r\n [attr.position]=\"position\">\r\n <ng-content></ng-content>\r\n <ids-popover-content \r\n [attr.autofocus]=\"autofocus ? 'true' : null\"\r\n [attr.maxwidth]=\"maxwidth\"\r\n [attr.maxheight]=\"maxheight\">\r\n <ng-content select=\"[popover-content]\"></ng-content>\r\n </ids-popover-content>\r\n</ids-popover>" });
|
|
2596
2609
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IDPopoverComponent, decorators: [{
|
|
2597
2610
|
type: i0.Component,
|
|
2598
2611
|
args: [{
|
|
2599
2612
|
selector: 'id-popover',
|
|
2600
2613
|
templateUrl: './popover.component.html',
|
|
2601
2614
|
}]
|
|
2602
|
-
}], ctorParameters: function () { return []; }, propDecorators: {
|
|
2615
|
+
}], ctorParameters: function () { return []; }, propDecorators: { autofocus: [{
|
|
2616
|
+
type: i0.Input
|
|
2617
|
+
}], maxwidth: [{
|
|
2603
2618
|
type: i0.Input
|
|
2604
2619
|
}], maxheight: [{
|
|
2605
2620
|
type: i0.Input
|