@spicainternational/ngx-sds-components 2.9.0 → 2.9.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.
Files changed (37) hide show
  1. package/esm2020/public-api.mjs +2 -1
  2. package/esm2020/src/lib/date-picker/date-picker.component.mjs +15 -3
  3. package/esm2020/src/lib/date-picker/date-picker.model.mjs +1 -1
  4. package/esm2020/src/lib/modal/dialog/dialog.component.mjs +3 -3
  5. package/esm2020/src/lib/modal/modal.component.mjs +8 -5
  6. package/esm2020/src/lib/modal/modal.model.mjs +2 -0
  7. package/esm2020/src/lib/quick-info/public-api.mjs +3 -0
  8. package/esm2020/src/lib/quick-info/quick-info.component.mjs +25 -0
  9. package/esm2020/src/lib/quick-info/quick-info.module.mjs +35 -0
  10. package/esm2020/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +5 -0
  11. package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +14 -2
  12. package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
  13. package/fesm2015/spicainternational-ngx-sds-components-src-lib-modal.mjs +9 -6
  14. package/fesm2015/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -1
  15. package/fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +64 -0
  16. package/fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +1 -0
  17. package/fesm2015/spicainternational-ngx-sds-components.mjs +1 -0
  18. package/fesm2015/spicainternational-ngx-sds-components.mjs.map +1 -1
  19. package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +14 -2
  20. package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
  21. package/fesm2020/spicainternational-ngx-sds-components-src-lib-modal.mjs +9 -6
  22. package/fesm2020/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -1
  23. package/fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +64 -0
  24. package/fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +1 -0
  25. package/fesm2020/spicainternational-ngx-sds-components.mjs +1 -0
  26. package/fesm2020/spicainternational-ngx-sds-components.mjs.map +1 -1
  27. package/package.json +9 -1
  28. package/public-api.d.ts +1 -0
  29. package/src/lib/date-picker/date-picker.component.d.ts +5 -2
  30. package/src/lib/date-picker/date-picker.model.d.ts +4 -0
  31. package/src/lib/modal/modal.component.d.ts +3 -2
  32. package/src/lib/modal/modal.model.d.ts +3 -0
  33. package/src/lib/quick-info/package.json +10 -0
  34. package/src/lib/quick-info/public-api.d.ts +2 -0
  35. package/src/lib/quick-info/quick-info.component.d.ts +11 -0
  36. package/src/lib/quick-info/quick-info.module.d.ts +10 -0
  37. package/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.d.ts +5 -0
@@ -0,0 +1,64 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ElementRef, Component, ChangeDetectionStrategy, Input, ViewChild, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import { faInfoCircle } from '@fortawesome/pro-regular-svg-icons';
5
+ import * as i1 from '@fortawesome/angular-fontawesome';
6
+ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
7
+ import * as i2 from 'devextreme-angular/ui/popover';
8
+ import { DxPopoverModule } from 'devextreme-angular/ui/popover';
9
+
10
+ class SdsQuickInfoComponent {
11
+ constructor() {
12
+ this.icon = faInfoCircle;
13
+ this.popoverMaxWidth = 300;
14
+ }
15
+ }
16
+ SdsQuickInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsQuickInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ SdsQuickInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: SdsQuickInfoComponent, selector: "sds-quick-info", inputs: { icon: "icon", popoverMaxWidth: "popoverMaxWidth" }, viewQueries: [{ propertyName: "buttonElementRef", first: true, predicate: ["popoverTarget"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: "<fa-icon \r\n #popoverTarget \r\n [icon]=\"icon\"\r\n> </fa-icon>\r\n\r\n<dx-popover\r\n [target]=\"buttonElementRef?.nativeElement\"\r\n [maxWidth]=\"popoverMaxWidth\"\r\n showEvent=\"dxhoverstart\"\r\n hideEvent=\"dxhoverend\"\r\n>\r\n <ng-content></ng-content>\r\n</dx-popover>", styles: [""], components: [{ type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { type: i2.DxPopoverComponent, selector: "dx-popover", inputs: ["animation", "closeOnOutsideClick", "container", "contentTemplate", "copyRootClassesToWrapper", "deferRendering", "disabled", "elementAttr", "height", "hideEvent", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showEvent", "showTitle", "target", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "onTitleRendered", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "copyRootClassesToWrapperChange", "deferRenderingChange", "disabledChange", "elementAttrChange", "heightChange", "hideEventChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showEventChange", "showTitleChange", "targetChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsQuickInfoComponent, decorators: [{
19
+ type: Component,
20
+ args: [{ selector: 'sds-quick-info', changeDetection: ChangeDetectionStrategy.OnPush, template: "<fa-icon \r\n #popoverTarget \r\n [icon]=\"icon\"\r\n> </fa-icon>\r\n\r\n<dx-popover\r\n [target]=\"buttonElementRef?.nativeElement\"\r\n [maxWidth]=\"popoverMaxWidth\"\r\n showEvent=\"dxhoverstart\"\r\n hideEvent=\"dxhoverend\"\r\n>\r\n <ng-content></ng-content>\r\n</dx-popover>", styles: [""] }]
21
+ }], ctorParameters: function () { return []; }, propDecorators: { icon: [{
22
+ type: Input
23
+ }], popoverMaxWidth: [{
24
+ type: Input
25
+ }], buttonElementRef: [{
26
+ type: ViewChild,
27
+ args: ['popoverTarget', { read: ElementRef, static: true }]
28
+ }] } });
29
+
30
+ const components = [SdsQuickInfoComponent];
31
+ class SdsQuickInfoModule {
32
+ }
33
+ SdsQuickInfoModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsQuickInfoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
+ SdsQuickInfoModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsQuickInfoModule, declarations: [SdsQuickInfoComponent], imports: [CommonModule,
35
+ FontAwesomeModule,
36
+ DxPopoverModule], exports: [SdsQuickInfoComponent] });
37
+ SdsQuickInfoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsQuickInfoModule, imports: [[
38
+ CommonModule,
39
+ FontAwesomeModule,
40
+ DxPopoverModule,
41
+ ]] });
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsQuickInfoModule, decorators: [{
43
+ type: NgModule,
44
+ args: [{
45
+ declarations: [
46
+ ...components
47
+ ],
48
+ imports: [
49
+ CommonModule,
50
+ FontAwesomeModule,
51
+ DxPopoverModule,
52
+ ],
53
+ exports: [
54
+ ...components
55
+ ]
56
+ }]
57
+ }] });
58
+
59
+ /**
60
+ * Generated bundle index. Do not edit.
61
+ */
62
+
63
+ export { SdsQuickInfoComponent, SdsQuickInfoModule };
64
+ //# sourceMappingURL=spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spicainternational-ngx-sds-components-src-lib-quick-info.mjs","sources":["../../../projects/ngx-sds-components/src/lib/quick-info/quick-info.component.ts","../../../projects/ngx-sds-components/src/lib/quick-info/quick-info.component.html","../../../projects/ngx-sds-components/src/lib/quick-info/quick-info.module.ts","../../../projects/ngx-sds-components/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild } from '@angular/core';\r\nimport { faInfoCircle, IconDefinition } from '@fortawesome/pro-regular-svg-icons';\r\n\r\n@Component({\r\n selector: 'sds-quick-info',\r\n templateUrl: './quick-info.component.html',\r\n styleUrls: ['./quick-info.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class SdsQuickInfoComponent {\r\n\r\n @Input() icon: IconDefinition = faInfoCircle;\r\n @Input() popoverMaxWidth: number = 300;\r\n \r\n @ViewChild('popoverTarget', { read: ElementRef, static: true }) public buttonElementRef?: ElementRef;\r\n \r\n \r\n constructor() {}\r\n \r\n\r\n}\r\n","<fa-icon \r\n #popoverTarget \r\n [icon]=\"icon\"\r\n> </fa-icon>\r\n\r\n<dx-popover\r\n [target]=\"buttonElementRef?.nativeElement\"\r\n [maxWidth]=\"popoverMaxWidth\"\r\n showEvent=\"dxhoverstart\"\r\n hideEvent=\"dxhoverend\"\r\n>\r\n <ng-content></ng-content>\r\n</dx-popover>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SdsQuickInfoComponent } from './quick-info.component';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { DxPopoverModule } from 'devextreme-angular/ui/popover';\r\n\r\n\r\nconst components = [SdsQuickInfoComponent];\r\n@NgModule({\r\n declarations: [\r\n ...components\r\n ],\r\n imports: [\r\n CommonModule,\r\n FontAwesomeModule,\r\n DxPopoverModule,\r\n ],\r\n exports: [\r\n ...components\r\n ]\r\n})\r\nexport class SdsQuickInfoModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MASa,qBAAqB,CAAA;AAQ9B,IAAA,WAAA,GAAA;QANS,IAAI,CAAA,IAAA,GAAmB,YAAY,CAAC;QACpC,IAAe,CAAA,eAAA,GAAW,GAAG,CAAC;KAKvB;;kHARP,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;sGAArB,qBAAqB,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,kBAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,eAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,IAAA,EAKM,UAAU,EAAA,MAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECdlD,kTAYa,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,QAAA,EAAA,SAAA,EAAA,QA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;"}
@@ -7,6 +7,7 @@ export * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';
7
7
  export * from '@spicainternational/ngx-sds-components/src/lib/modal';
8
8
  export * from '@spicainternational/ngx-sds-components/src/lib/navigation';
9
9
  export * from '@spicainternational/ngx-sds-components/src/lib/pane';
10
+ export * from '@spicainternational/ngx-sds-components/src/lib/quick-info';
10
11
  export * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';
11
12
  export * from '@spicainternational/ngx-sds-components/src/lib/side-bar';
12
13
 
@@ -1 +1 @@
1
- {"version":3,"file":"spicainternational-ngx-sds-components.mjs","sources":["../../../projects/ngx-sds-components/src/public-api.ts","../../../projects/ngx-sds-components/src/spicainternational-ngx-sds-components.ts"],"sourcesContent":["/*\r\n * Public API Surface of ngx-sds-components\r\n */\r\n\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/app-switcher';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/avatar';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/callout';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/color-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/modal';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/navigation';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/pane';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/side-bar';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;AAEG;;ACFH;;AAEG"}
1
+ {"version":3,"file":"spicainternational-ngx-sds-components.mjs","sources":["../../../projects/ngx-sds-components/src/public-api.ts","../../../projects/ngx-sds-components/src/spicainternational-ngx-sds-components.ts"],"sourcesContent":["/*\r\n * Public API Surface of ngx-sds-components\r\n */\r\n\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/app-switcher';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/avatar';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/callout';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/color-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-picker';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/modal';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/navigation';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/pane';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/quick-info';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/side-bar';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;AAEG;;ACFH;;AAEG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spicainternational/ngx-sds-components",
3
- "version": "2.9.0",
3
+ "version": "2.9.1",
4
4
  "description": "Spica design system angular components.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=10.0.0",
@@ -108,6 +108,14 @@
108
108
  "node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-pane.mjs",
109
109
  "default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-pane.mjs"
110
110
  },
111
+ "./src/lib/quick-info": {
112
+ "types": "./src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.d.ts",
113
+ "esm2020": "./esm2020/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
114
+ "es2020": "./fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
115
+ "es2015": "./fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
116
+ "node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
117
+ "default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs"
118
+ },
111
119
  "./src/lib/segmented-control": {
112
120
  "types": "./src/lib/segmented-control/spicainternational-ngx-sds-components-src-lib-segmented-control.d.ts",
113
121
  "esm2020": "./esm2020/src/lib/segmented-control/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs",
package/public-api.d.ts CHANGED
@@ -7,5 +7,6 @@ export * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';
7
7
  export * from '@spicainternational/ngx-sds-components/src/lib/modal';
8
8
  export * from '@spicainternational/ngx-sds-components/src/lib/navigation';
9
9
  export * from '@spicainternational/ngx-sds-components/src/lib/pane';
10
+ export * from '@spicainternational/ngx-sds-components/src/lib/quick-info';
10
11
  export * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';
11
12
  export * from '@spicainternational/ngx-sds-components/src/lib/side-bar';
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { PeriodPickerDateRange, PeriodPickerDateRangeDefinition } from './date-picker.model';
2
+ import { PeriodPickerDateRange, PeriodPickerDateRangeDefinition, PeriodPickerTranslations } from './date-picker.model';
3
3
  import { SdsDatePickerService } from './sds-date-picker.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SdsDatePickerComponent implements OnInit, OnChanges {
@@ -22,6 +22,9 @@ export declare class SdsDatePickerComponent implements OnInit, OnChanges {
22
22
  isValid: boolean;
23
23
  fixedWidth: number;
24
24
  occupiedDays: any[];
25
+ applyText?: string;
26
+ cancelText?: string;
27
+ translations: PeriodPickerTranslations;
25
28
  previousPeriodIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
26
29
  nextPeriodIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
27
30
  calendarIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
@@ -81,5 +84,5 @@ export declare class SdsDatePickerComponent implements OnInit, OnChanges {
81
84
  generateDateRanges(force?: boolean): void;
82
85
  onKeyupHandler(event: KeyboardEvent): void;
83
86
  static ɵfac: i0.ɵɵFactoryDeclaration<SdsDatePickerComponent, never>;
84
- static ɵcmp: i0.ɵɵComponentDeclaration<SdsDatePickerComponent, "sds-date-picker", never, { "selectionKind": "selectionKind"; "dateRangeDefinitions": "dateRangeDefinitions"; "selectedDate": "selectedDate"; "selectedDateStart": "selectedDateStart"; "selectedDateEnd": "selectedDateEnd"; "minDate": "minDate"; "maxDate": "maxDate"; "locales": "locales"; "disabled": "disabled"; "validationError": "validationError"; "isValid": "isValid"; "fixedWidth": "fixedWidth"; "occupiedDays": "occupiedDays"; }, { "selectedDateChange": "selectedDateChange"; "selectedDateStartChange": "selectedDateStartChange"; "selectedDateEndChange": "selectedDateEndChange"; "periodChange": "periodChange"; }, never, never>;
87
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdsDatePickerComponent, "sds-date-picker", never, { "selectionKind": "selectionKind"; "dateRangeDefinitions": "dateRangeDefinitions"; "selectedDate": "selectedDate"; "selectedDateStart": "selectedDateStart"; "selectedDateEnd": "selectedDateEnd"; "minDate": "minDate"; "maxDate": "maxDate"; "locales": "locales"; "disabled": "disabled"; "validationError": "validationError"; "isValid": "isValid"; "fixedWidth": "fixedWidth"; "occupiedDays": "occupiedDays"; "applyText": "applyText"; "cancelText": "cancelText"; "translations": "translations"; }, { "selectedDateChange": "selectedDateChange"; "selectedDateStartChange": "selectedDateStartChange"; "selectedDateEndChange": "selectedDateEndChange"; "periodChange": "periodChange"; }, never, never>;
85
88
  }
@@ -20,3 +20,7 @@ export declare class PeriodPickerDateRange {
20
20
  dateTo?: Date;
21
21
  constructor(name: string, dateFrom?: Date, dateTo?: Date);
22
22
  }
23
+ export interface PeriodPickerTranslations {
24
+ cancel: string;
25
+ apply: string;
26
+ }
@@ -1,14 +1,15 @@
1
1
  import { ElementRef, OnInit, EventEmitter } from '@angular/core';
2
+ import { ModalTranslations } from './modal.model';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class SdsModalComponent implements OnInit {
4
5
  headerContent: ElementRef;
5
6
  modalTitle?: string;
6
7
  showHeader: boolean;
7
8
  showFooter: boolean;
8
- closeText?: string;
9
9
  size: 'sm' | 'md' | 'lg' | 'xl';
10
10
  modalDialogId?: string;
11
11
  showCloseButton: boolean;
12
+ translations: ModalTranslations;
12
13
  modalOpen: EventEmitter<void>;
13
14
  modalClose: EventEmitter<void>;
14
15
  closeClick: EventEmitter<void>;
@@ -20,5 +21,5 @@ export declare class SdsModalComponent implements OnInit {
20
21
  close(): void;
21
22
  onCloseButtonClick(): void;
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<SdsModalComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<SdsModalComponent, "sds-modal", never, { "modalTitle": "modalTitle"; "showHeader": "showHeader"; "showFooter": "showFooter"; "closeText": "closeText"; "size": "size"; "modalDialogId": "modalDialogId"; "showCloseButton": "showCloseButton"; }, { "modalOpen": "modalOpen"; "modalClose": "modalClose"; "closeClick": "closeClick"; }, ["headerContent"], ["header", "*", "footer"]>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdsModalComponent, "sds-modal", never, { "modalTitle": "modalTitle"; "showHeader": "showHeader"; "showFooter": "showFooter"; "size": "size"; "modalDialogId": "modalDialogId"; "showCloseButton": "showCloseButton"; "translations": "translations"; }, { "modalOpen": "modalOpen"; "modalClose": "modalClose"; "closeClick": "closeClick"; }, ["headerContent"], ["header", "*", "footer"]>;
24
25
  }
@@ -0,0 +1,3 @@
1
+ export interface ModalTranslations {
2
+ close?: string;
3
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
3
+ "es2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
4
+ "esm2020": "../../../esm2020/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
5
+ "fesm2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
6
+ "fesm2015": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs",
7
+ "typings": "spicainternational-ngx-sds-components-src-lib-quick-info.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@spicainternational/ngx-sds-components/src/lib/quick-info"
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './quick-info.module';
2
+ export * from './quick-info.component';
@@ -0,0 +1,11 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { IconDefinition } from '@fortawesome/pro-regular-svg-icons';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SdsQuickInfoComponent {
5
+ icon: IconDefinition;
6
+ popoverMaxWidth: number;
7
+ buttonElementRef?: ElementRef;
8
+ constructor();
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdsQuickInfoComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SdsQuickInfoComponent, "sds-quick-info", never, { "icon": "icon"; "popoverMaxWidth": "popoverMaxWidth"; }, {}, never, ["*"]>;
11
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./quick-info.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@fortawesome/angular-fontawesome";
5
+ import * as i4 from "devextreme-angular/ui/popover";
6
+ export declare class SdsQuickInfoModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SdsQuickInfoModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SdsQuickInfoModule, [typeof i1.SdsQuickInfoComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule, typeof i4.DxPopoverModule], [typeof i1.SdsQuickInfoComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<SdsQuickInfoModule>;
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@spicainternational/ngx-sds-components/src/lib/quick-info" />
5
+ export * from './public-api';