@spicainternational/ngx-sds-components 2.9.5 → 2.10.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/esm2020/public-api.mjs +3 -1
- package/esm2020/src/lib/app-switcher/app-switcher.component.mjs +1 -1
- package/esm2020/src/lib/avatar/avatar-group.component.mjs +1 -1
- package/esm2020/src/lib/color-picker/color-picker.component.mjs +1 -1
- package/esm2020/src/lib/date-picker/date-picker.component.mjs +24 -15
- package/esm2020/src/lib/date-picker/sds-date-picker.service.mjs +4 -4
- package/esm2020/src/lib/layout/default-layout/default-layout.component.mjs +15 -0
- package/esm2020/src/lib/layout/extra-large-layout/extra-large-layout.component.mjs +15 -0
- package/esm2020/src/lib/layout/fluid-layout/fluid-layout.component.mjs +15 -0
- package/esm2020/src/lib/layout/layout.module.mjs +49 -0
- package/esm2020/src/lib/layout/medium-layout/medium-layout.component.mjs +15 -0
- package/esm2020/src/lib/layout/public-api.mjs +7 -0
- package/esm2020/src/lib/layout/small-layout/small-layout.component.mjs +15 -0
- package/esm2020/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.mjs +5 -0
- package/esm2020/src/lib/page-header/page-header.component.mjs +22 -0
- package/esm2020/src/lib/page-header/page-header.module.mjs +19 -0
- package/esm2020/src/lib/page-header/public-api.mjs +3 -0
- package/esm2020/src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.mjs +5 -0
- package/esm2020/src/lib/quick-info/quick-info.component.mjs +49 -8
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-avatar.mjs +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-avatar.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-color-picker.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +26 -17
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-layout.mjs +112 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-layout.mjs.map +1 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-page-header.mjs +45 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-page-header.mjs.map +1 -0
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +50 -7
- package/fesm2015/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +1 -1
- package/fesm2015/spicainternational-ngx-sds-components.mjs +2 -0
- package/fesm2015/spicainternational-ngx-sds-components.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-avatar.mjs +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-avatar.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-color-picker.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +26 -17
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-layout.mjs +112 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-layout.mjs.map +1 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-page-header.mjs +45 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-page-header.mjs.map +1 -0
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +48 -7
- package/fesm2020/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +1 -1
- package/fesm2020/spicainternational-ngx-sds-components.mjs +2 -0
- package/fesm2020/spicainternational-ngx-sds-components.mjs.map +1 -1
- package/package.json +17 -1
- package/public-api.d.ts +2 -0
- package/src/lib/date-picker/date-picker.component.d.ts +2 -1
- package/src/lib/date-picker/sds-date-picker.service.d.ts +1 -1
- package/src/lib/layout/default-layout/default-layout.component.d.ts +8 -0
- package/src/lib/layout/extra-large-layout/extra-large-layout.component.d.ts +8 -0
- package/src/lib/layout/fluid-layout/fluid-layout.component.d.ts +8 -0
- package/src/lib/layout/layout.module.d.ts +13 -0
- package/src/lib/layout/medium-layout/medium-layout.component.d.ts +8 -0
- package/src/lib/layout/package.json +10 -0
- package/src/lib/layout/public-api.d.ts +6 -0
- package/src/lib/layout/small-layout/small-layout.component.d.ts +8 -0
- package/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.d.ts +5 -0
- package/src/lib/page-header/package.json +10 -0
- package/src/lib/page-header/page-header.component.d.ts +10 -0
- package/src/lib/page-header/page-header.module.d.ts +8 -0
- package/src/lib/page-header/public-api.d.ts +2 -0
- package/src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.d.ts +5 -0
- package/src/lib/quick-info/quick-info.component.d.ts +21 -4
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, Component, ChangeDetectionStrategy, Input, ViewChild, NgModule } from '@angular/core';
|
|
2
|
+
import { ElementRef, Component, ChangeDetectionStrategy, Input, ViewChild, ContentChild, NgModule } from '@angular/core';
|
|
3
|
+
import * as i4 from '@angular/common';
|
|
3
4
|
import { CommonModule } from '@angular/common';
|
|
4
5
|
import { faInfoCircle } from '@fortawesome/pro-regular-svg-icons';
|
|
5
6
|
import * as i1 from '@fortawesome/angular-fontawesome';
|
|
@@ -11,29 +12,69 @@ import * as i3 from 'devextreme-angular/ui/nested';
|
|
|
11
12
|
class SdsQuickInfoComponent {
|
|
12
13
|
constructor() {
|
|
13
14
|
this.icon = faInfoCircle;
|
|
14
|
-
this.popoverMaxWidth =
|
|
15
|
+
this.popoverMaxWidth = '20rem';
|
|
16
|
+
this.popoverMinWidth = '';
|
|
17
|
+
this.popoverWidth = '';
|
|
18
|
+
this.hideOnMouseLeave = true;
|
|
19
|
+
this.customContent = { nativeElement: undefined };
|
|
20
|
+
this.hideEvent = { name: 'dxhoverend', delay: 200 };
|
|
21
|
+
this.showEvent = { name: 'dxhoverstart', delay: 200 };
|
|
22
|
+
}
|
|
23
|
+
ngOnChanges(changes) {
|
|
24
|
+
if (changes['showDelay']) {
|
|
25
|
+
this.setShowEvent();
|
|
26
|
+
}
|
|
27
|
+
if (changes['hideDelay'] || changes['hideOnMouseLeave']) {
|
|
28
|
+
this.setHideEvent();
|
|
29
|
+
}
|
|
15
30
|
}
|
|
16
31
|
onHiding(e) {
|
|
17
32
|
const popoverContent = e.component.content().parentNode;
|
|
18
33
|
const isMouseInsidePopover = popoverContent.matches(':hover');
|
|
19
34
|
e.cancel = isMouseInsidePopover;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
35
|
+
if (this.hideOnMouseLeave) {
|
|
36
|
+
popoverContent.addEventListener('mouseleave', () => {
|
|
37
|
+
e.component.hide();
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
setShowEvent() {
|
|
42
|
+
this.showEvent = { name: 'dxhoverstart', delay: this.showDelay ?? 200 };
|
|
43
|
+
}
|
|
44
|
+
setHideEvent() {
|
|
45
|
+
if (this.hideOnMouseLeave) {
|
|
46
|
+
this.hideEvent = { name: 'dxhoverend', delay: this.hideDelay ?? 200 };
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.hideEvent = {};
|
|
50
|
+
}
|
|
23
51
|
}
|
|
24
52
|
}
|
|
25
53
|
SdsQuickInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsQuickInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
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: "<
|
|
54
|
+
SdsQuickInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: SdsQuickInfoComponent, selector: "sds-quick-info", inputs: { icon: "icon", popoverMaxWidth: "popoverMaxWidth", popoverMinWidth: "popoverMinWidth", popoverWidth: "popoverWidth", showDelay: "showDelay", hideDelay: "hideDelay", hideOnMouseLeave: "hideOnMouseLeave" }, queries: [{ propertyName: "customContent", first: true, predicate: ["customContent"], descendants: true }], viewQueries: [{ propertyName: "buttonElementRef", first: true, predicate: ["popoverTarget"], descendants: true, read: ElementRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<div #popoverTarget\r\n class=\"d-inline\">\r\n\r\n <fa-icon *ngIf=\"!customContent\"\r\n [icon]=\"icon\"\r\n > </fa-icon>\r\n\r\n <ng-container *ngIf=\"customContent\" >\r\n <ng-content select=\"customContent\"></ng-content>\r\n </ng-container> \r\n</div>\r\n\r\n<dx-popover\r\n [target]=\"buttonElementRef?.nativeElement\"\r\n [maxWidth]=\"popoverMaxWidth\"\r\n [minWidth]=\"popoverMinWidth\"\r\n [width]=\"popoverWidth\"\r\n [showEvent]=\"showEvent\"\r\n [hideEvent]=\"hideEvent\"\r\n (onHiding)=\"onHiding($event)\"\r\n>\r\n <dxo-animation>\r\n <dxo-show\r\n type=\"fade\"\r\n duration=\"200\"\r\n [from]=\"0\"\r\n [to]=\"1\"\r\n ></dxo-show>\r\n <dxo-hide\r\n type=\"fade\"\r\n duration=\"100\"\r\n [from]=\"1\"\r\n [to]=\"0\"\r\n ></dxo-hide>\r\n </dxo-animation>\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", "hideOnOutsideClick", "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", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showEventChange", "showTitleChange", "targetChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { type: i3.DxoAnimationComponent, selector: "dxo-animation", inputs: ["hide", "show", "duration", "easing", "enabled", "maxPointCountSupported", "complete", "delay", "direction", "from", "staggerDelay", "start", "to", "type"] }, { type: i3.DxoShowComponent, selector: "dxo-show", inputs: ["complete", "delay", "direction", "duration", "easing", "from", "staggerDelay", "start", "to", "type"] }, { type: i3.DxoHideComponent, selector: "dxo-hide", inputs: ["complete", "delay", "direction", "duration", "easing", "from", "staggerDelay", "start", "to", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
55
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SdsQuickInfoComponent, decorators: [{
|
|
28
56
|
type: Component,
|
|
29
|
-
args: [{ selector: 'sds-quick-info', changeDetection: ChangeDetectionStrategy.OnPush, template: "<
|
|
57
|
+
args: [{ selector: 'sds-quick-info', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #popoverTarget\r\n class=\"d-inline\">\r\n\r\n <fa-icon *ngIf=\"!customContent\"\r\n [icon]=\"icon\"\r\n > </fa-icon>\r\n\r\n <ng-container *ngIf=\"customContent\" >\r\n <ng-content select=\"customContent\"></ng-content>\r\n </ng-container> \r\n</div>\r\n\r\n<dx-popover\r\n [target]=\"buttonElementRef?.nativeElement\"\r\n [maxWidth]=\"popoverMaxWidth\"\r\n [minWidth]=\"popoverMinWidth\"\r\n [width]=\"popoverWidth\"\r\n [showEvent]=\"showEvent\"\r\n [hideEvent]=\"hideEvent\"\r\n (onHiding)=\"onHiding($event)\"\r\n>\r\n <dxo-animation>\r\n <dxo-show\r\n type=\"fade\"\r\n duration=\"200\"\r\n [from]=\"0\"\r\n [to]=\"1\"\r\n ></dxo-show>\r\n <dxo-hide\r\n type=\"fade\"\r\n duration=\"100\"\r\n [from]=\"1\"\r\n [to]=\"0\"\r\n ></dxo-hide>\r\n </dxo-animation>\r\n <ng-content></ng-content>\r\n</dx-popover>", styles: [""] }]
|
|
30
58
|
}], ctorParameters: function () { return []; }, propDecorators: { icon: [{
|
|
31
59
|
type: Input
|
|
32
60
|
}], popoverMaxWidth: [{
|
|
33
61
|
type: Input
|
|
62
|
+
}], popoverMinWidth: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], popoverWidth: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], showDelay: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], hideDelay: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], hideOnMouseLeave: [{
|
|
71
|
+
type: Input
|
|
34
72
|
}], buttonElementRef: [{
|
|
35
73
|
type: ViewChild,
|
|
36
74
|
args: ['popoverTarget', { read: ElementRef, static: true }]
|
|
75
|
+
}], customContent: [{
|
|
76
|
+
type: ContentChild,
|
|
77
|
+
args: ['customContent']
|
|
37
78
|
}] } });
|
|
38
79
|
|
|
39
80
|
const components = [SdsQuickInfoComponent];
|
|
@@ -1 +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 {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ElementRef,\r\n Input,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport {\r\n faInfoCircle,\r\n IconDefinition,\r\n} 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 @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 constructor() {}\r\n\r\n onHiding(e: any) {\r\n const popoverContent = e.component.content().parentNode;\r\n const isMouseInsidePopover = popoverContent.matches(':hover');\r\n e.cancel = isMouseInsidePopover;\r\n\r\n popoverContent.addEventListener('mouseleave', () => {\r\n e.component.hide();\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]=\"{ name: 'dxhoverend', delay: 200 }\"\r\n (onHiding)=\"onHiding($event)\"\r\n>\r\n<dxo-animation>\r\n <dxo-show\r\n type=\"fade\"\r\n duration=\"200\"\r\n [from]=\"0\"\r\n [to]=\"1\"\r\n ></dxo-show>\r\n <dxo-hide\r\n type=\"fade\"\r\n duration=\"100\"\r\n [from]=\"1\"\r\n [to]=\"0\"\r\n ></dxo-hide>\r\n</dxo-animation>\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":";;;;;;;;;;MAkBa,qBAAqB,CAAA;AAM9B,IAAA,WAAA,GAAA;QALS,IAAI,CAAA,IAAA,GAAmB,YAAY,CAAC;QACpC,IAAe,CAAA,eAAA,GAAW,GAAG,CAAC;KAIvB;AAEhB,IAAA,QAAQ,CAAC,CAAM,EAAA;QACX,MAAM,cAAc,GAAG,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC;QACxD,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC9D,QAAA,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,CAAA;YACP,YAAY;YACZ,iBAAiB;YACjB,eAAe;AAChB,SAAA,CAAA,EAAA,CAAA,CAAA;2FAKU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAb9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;AACZ,wBAAA,GAAG,UAAU;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;AACP,wBAAA,GAAG,UAAU;AACd,qBAAA;AACF,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
|
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 {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n Input,\r\n OnChanges,\r\n SimpleChanges,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport {\r\n faInfoCircle,\r\n IconDefinition,\r\n} 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 implements OnChanges {\r\n @Input() icon: IconDefinition = faInfoCircle;\r\n @Input() popoverMaxWidth: number | Function | string = '20rem';\r\n @Input() popoverMinWidth: number | Function | string = '';\r\n @Input() popoverWidth: number | Function | string = '';\r\n @Input() showDelay?: number;\r\n @Input() hideDelay?: number;\r\n @Input() hideOnMouseLeave: boolean = true;\r\n\r\n @ViewChild('popoverTarget', { read: ElementRef, static: true }) public buttonElementRef?: ElementRef;\r\n @ContentChild('customContent') customContent: ElementRef = { nativeElement: undefined };\r\n\r\n public hideEvent: string | {\r\n delay?: number;\r\n name?: string;\r\n };\r\n\r\n public showEvent: string | {\r\n delay?: number;\r\n name?: string;\r\n }; \r\n\r\n constructor() {\r\n this.hideEvent = { name: 'dxhoverend', delay: 200 };\r\n this.showEvent = { name: 'dxhoverstart', delay: 200 };\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['showDelay']) {\r\n this.setShowEvent();\r\n }\r\n\r\n if (changes['hideDelay'] || changes['hideOnMouseLeave']) {\r\n this.setHideEvent();\r\n }\r\n }\r\n\r\n onHiding(e: any) {\r\n const popoverContent = e.component.content().parentNode;\r\n const isMouseInsidePopover = popoverContent.matches(':hover');\r\n e.cancel = isMouseInsidePopover;\r\n\r\n if (this.hideOnMouseLeave) {\r\n popoverContent.addEventListener('mouseleave', () => {\r\n e.component.hide();\r\n });\r\n }\r\n }\r\n\r\n private setShowEvent(): void {\r\n this.showEvent = { name: 'dxhoverstart', delay: this.showDelay ?? 200 };\r\n }\r\n\r\n private setHideEvent(): void {\r\n if (this.hideOnMouseLeave) {\r\n this.hideEvent = { name: 'dxhoverend', delay: this.hideDelay ?? 200 };\r\n } else {\r\n this.hideEvent = { };\r\n }\r\n }\r\n\r\n}\r\n","<div #popoverTarget\r\n class=\"d-inline\">\r\n\r\n <fa-icon *ngIf=\"!customContent\"\r\n [icon]=\"icon\"\r\n > </fa-icon>\r\n\r\n <ng-container *ngIf=\"customContent\" >\r\n <ng-content select=\"customContent\"></ng-content>\r\n </ng-container> \r\n</div>\r\n\r\n<dx-popover\r\n [target]=\"buttonElementRef?.nativeElement\"\r\n [maxWidth]=\"popoverMaxWidth\"\r\n [minWidth]=\"popoverMinWidth\"\r\n [width]=\"popoverWidth\"\r\n [showEvent]=\"showEvent\"\r\n [hideEvent]=\"hideEvent\"\r\n (onHiding)=\"onHiding($event)\"\r\n>\r\n <dxo-animation>\r\n <dxo-show\r\n type=\"fade\"\r\n duration=\"200\"\r\n [from]=\"0\"\r\n [to]=\"1\"\r\n ></dxo-show>\r\n <dxo-hide\r\n type=\"fade\"\r\n duration=\"100\"\r\n [from]=\"1\"\r\n [to]=\"0\"\r\n ></dxo-hide>\r\n </dxo-animation>\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":";;;;;;;;;;;MAqBa,qBAAqB,CAAA;AAsB9B,IAAA,WAAA,GAAA;QArBS,IAAI,CAAA,IAAA,GAAmB,YAAY,CAAC;QACpC,IAAe,CAAA,eAAA,GAA+B,OAAO,CAAC;QACtD,IAAe,CAAA,eAAA,GAA+B,EAAE,CAAC;QACjD,IAAY,CAAA,YAAA,GAA+B,EAAE,CAAC;QAG9C,IAAgB,CAAA,gBAAA,GAAY,IAAI,CAAC;AAGX,QAAA,IAAA,CAAA,aAAa,GAAe,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC;AAapF,QAAA,IAAI,CAAC,SAAS,GAAG,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC;AACpD,QAAA,IAAI,CAAC,SAAS,GAAG,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC;KACzD;AAED,IAAA,WAAW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AAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAlB,kBAAkB,EAAA,YAAA,EAAA,CAdX,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAMrC,YAAY;QACZ,iBAAiB;AACjB,QAAA,eAAe,aARC,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAc5B,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EATpB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,iBAAiB;YACjB,eAAe;AAChB,SAAA,CAAA,EAAA,CAAA,CAAA;2FAKU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAb9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;AACZ,wBAAA,GAAG,UAAU;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;AACP,wBAAA,GAAG,UAAU;AACd,qBAAA;AACF,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
|
@@ -4,8 +4,10 @@ export * from '@spicainternational/ngx-sds-components/src/lib/callout';
|
|
|
4
4
|
export * from '@spicainternational/ngx-sds-components/src/lib/color-picker';
|
|
5
5
|
export * from '@spicainternational/ngx-sds-components/src/lib/date-picker';
|
|
6
6
|
export * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';
|
|
7
|
+
export * from '@spicainternational/ngx-sds-components/src/lib/layout';
|
|
7
8
|
export * from '@spicainternational/ngx-sds-components/src/lib/modal';
|
|
8
9
|
export * from '@spicainternational/ngx-sds-components/src/lib/navigation';
|
|
10
|
+
export * from '@spicainternational/ngx-sds-components/src/lib/page-header';
|
|
9
11
|
export * from '@spicainternational/ngx-sds-components/src/lib/pane';
|
|
10
12
|
export * from '@spicainternational/ngx-sds-components/src/lib/quick-info';
|
|
11
13
|
export * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';
|
|
@@ -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/quick-info';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/side-bar';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/tooltip';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"
|
|
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/layout';\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/page-header';\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';\r\nexport * from '@spicainternational/ngx-sds-components/src/lib/tooltip';\r\n","/**\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.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"description": "Spica design system angular components.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": ">=10.0.0",
|
|
@@ -84,6 +84,14 @@
|
|
|
84
84
|
"node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs",
|
|
85
85
|
"default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs"
|
|
86
86
|
},
|
|
87
|
+
"./src/lib/layout": {
|
|
88
|
+
"types": "./src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.d.ts",
|
|
89
|
+
"esm2020": "./esm2020/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
90
|
+
"es2020": "./fesm2020/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
91
|
+
"es2015": "./fesm2015/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
92
|
+
"node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
93
|
+
"default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-layout.mjs"
|
|
94
|
+
},
|
|
87
95
|
"./src/lib/modal": {
|
|
88
96
|
"types": "./src/lib/modal/spicainternational-ngx-sds-components-src-lib-modal.d.ts",
|
|
89
97
|
"esm2020": "./esm2020/src/lib/modal/spicainternational-ngx-sds-components-src-lib-modal.mjs",
|
|
@@ -100,6 +108,14 @@
|
|
|
100
108
|
"node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-navigation.mjs",
|
|
101
109
|
"default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-navigation.mjs"
|
|
102
110
|
},
|
|
111
|
+
"./src/lib/page-header": {
|
|
112
|
+
"types": "./src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.d.ts",
|
|
113
|
+
"esm2020": "./esm2020/src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
|
|
114
|
+
"es2020": "./fesm2020/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
|
|
115
|
+
"es2015": "./fesm2015/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
|
|
116
|
+
"node": "./fesm2015/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
|
|
117
|
+
"default": "./fesm2020/spicainternational-ngx-sds-components-src-lib-page-header.mjs"
|
|
118
|
+
},
|
|
103
119
|
"./src/lib/pane": {
|
|
104
120
|
"types": "./src/lib/pane/spicainternational-ngx-sds-components-src-lib-pane.d.ts",
|
|
105
121
|
"esm2020": "./esm2020/src/lib/pane/spicainternational-ngx-sds-components-src-lib-pane.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -4,8 +4,10 @@ export * from '@spicainternational/ngx-sds-components/src/lib/callout';
|
|
|
4
4
|
export * from '@spicainternational/ngx-sds-components/src/lib/color-picker';
|
|
5
5
|
export * from '@spicainternational/ngx-sds-components/src/lib/date-picker';
|
|
6
6
|
export * from '@spicainternational/ngx-sds-components/src/lib/date-pipes';
|
|
7
|
+
export * from '@spicainternational/ngx-sds-components/src/lib/layout';
|
|
7
8
|
export * from '@spicainternational/ngx-sds-components/src/lib/modal';
|
|
8
9
|
export * from '@spicainternational/ngx-sds-components/src/lib/navigation';
|
|
10
|
+
export * from '@spicainternational/ngx-sds-components/src/lib/page-header';
|
|
9
11
|
export * from '@spicainternational/ngx-sds-components/src/lib/pane';
|
|
10
12
|
export * from '@spicainternational/ngx-sds-components/src/lib/quick-info';
|
|
11
13
|
export * from '@spicainternational/ngx-sds-components/src/lib/segmented-control';
|
|
@@ -25,6 +25,7 @@ export declare class SdsDatePickerComponent implements OnInit, OnChanges {
|
|
|
25
25
|
applyText?: string;
|
|
26
26
|
cancelText?: string;
|
|
27
27
|
translations: PeriodPickerTranslations;
|
|
28
|
+
firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
28
29
|
previousPeriodIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
29
30
|
nextPeriodIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
30
31
|
calendarIcon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
@@ -84,5 +85,5 @@ export declare class SdsDatePickerComponent implements OnInit, OnChanges {
|
|
|
84
85
|
generateDateRanges(force?: boolean): void;
|
|
85
86
|
onKeyupHandler(event: KeyboardEvent): void;
|
|
86
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDatePickerComponent, 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>;
|
|
88
|
+
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"; "firstDayOfWeek": "firstDayOfWeek"; }, { "selectedDateChange": "selectedDateChange"; "selectedDateStartChange": "selectedDateStartChange"; "selectedDateEndChange": "selectedDateEndChange"; "periodChange": "periodChange"; }, never, never>;
|
|
88
89
|
}
|
|
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class SdsDatePickerService {
|
|
4
4
|
constructor();
|
|
5
5
|
getRange(currentStartDate: Date, currentEndDate: Date, direction: 'previous' | 'next'): [Date, Date];
|
|
6
|
-
getPredefinedDateRanges(dateRangeDefinitions: Array<PeriodPickerDateRangeDefinition>, referenceDay: Date): Array<PeriodPickerDateRange>;
|
|
6
|
+
getPredefinedDateRanges(dateRangeDefinitions: Array<PeriodPickerDateRangeDefinition>, referenceDay: Date, firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6): Array<PeriodPickerDateRange>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDatePickerService, never>;
|
|
8
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<SdsDatePickerService>;
|
|
9
9
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdsDefaultLayoutComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDefaultLayoutComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsDefaultLayoutComponent, "sds-default-layout", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdsExtraLargeLayoutComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsExtraLargeLayoutComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsExtraLargeLayoutComponent, "sds-extra-large-layout", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdsFluidLayoutComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsFluidLayoutComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsFluidLayoutComponent, "sds-fluid-layout", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./default-layout/default-layout.component";
|
|
3
|
+
import * as i2 from "./fluid-layout/fluid-layout.component";
|
|
4
|
+
import * as i3 from "./small-layout/small-layout.component";
|
|
5
|
+
import * as i4 from "./medium-layout/medium-layout.component";
|
|
6
|
+
import * as i5 from "./extra-large-layout/extra-large-layout.component";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@angular/router";
|
|
9
|
+
export declare class SdsLayoutModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsLayoutModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SdsLayoutModule, [typeof i1.SdsDefaultLayoutComponent, typeof i2.SdsFluidLayoutComponent, typeof i3.SdsSmallLayoutComponent, typeof i4.SdsMediumLayoutComponent, typeof i5.SdsExtraLargeLayoutComponent], [typeof i6.CommonModule, typeof i7.RouterModule], [typeof i1.SdsDefaultLayoutComponent, typeof i2.SdsFluidLayoutComponent, typeof i3.SdsSmallLayoutComponent, typeof i4.SdsMediumLayoutComponent, typeof i5.SdsExtraLargeLayoutComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SdsLayoutModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdsMediumLayoutComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsMediumLayoutComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsMediumLayoutComponent, "sds-medium-layout", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
3
|
+
"es2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
4
|
+
"esm2020": "../../../esm2020/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
5
|
+
"fesm2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
6
|
+
"fesm2015": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-layout.mjs",
|
|
7
|
+
"typings": "spicainternational-ngx-sds-components-src-lib-layout.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@spicainternational/ngx-sds-components/src/lib/layout"
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './layout.module';
|
|
2
|
+
export * from './default-layout/default-layout.component';
|
|
3
|
+
export * from './fluid-layout/fluid-layout.component';
|
|
4
|
+
export * from './small-layout/small-layout.component';
|
|
5
|
+
export * from './medium-layout/medium-layout.component';
|
|
6
|
+
export * from './extra-large-layout/extra-large-layout.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdsSmallLayoutComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsSmallLayoutComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsSmallLayoutComponent, "sds-small-layout", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
|
|
3
|
+
"es2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
|
|
4
|
+
"esm2020": "../../../esm2020/src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
|
|
5
|
+
"fesm2020": "../../../fesm2020/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
|
|
6
|
+
"fesm2015": "../../../fesm2015/spicainternational-ngx-sds-components-src-lib-page-header.mjs",
|
|
7
|
+
"typings": "spicainternational-ngx-sds-components-src-lib-page-header.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@spicainternational/ngx-sds-components/src/lib/page-header"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdsPageHeaderComponent implements OnInit {
|
|
4
|
+
titleContent: ElementRef;
|
|
5
|
+
title: string;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsPageHeaderComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsPageHeaderComponent, "sds-page-header", never, { "title": "title"; }, {}, ["titleContent"], ["title", "titleAppendix", "*"]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./page-header.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class SdsPageHeaderModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsPageHeaderModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SdsPageHeaderModule, [typeof i1.SdsPageHeaderComponent], [typeof i2.CommonModule], [typeof i1.SdsPageHeaderComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SdsPageHeaderModule>;
|
|
8
|
+
}
|
|
@@ -1,12 +1,29 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { IconDefinition } from '@fortawesome/pro-regular-svg-icons';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SdsQuickInfoComponent {
|
|
4
|
+
export declare class SdsQuickInfoComponent implements OnChanges {
|
|
5
5
|
icon: IconDefinition;
|
|
6
|
-
popoverMaxWidth: number;
|
|
6
|
+
popoverMaxWidth: number | Function | string;
|
|
7
|
+
popoverMinWidth: number | Function | string;
|
|
8
|
+
popoverWidth: number | Function | string;
|
|
9
|
+
showDelay?: number;
|
|
10
|
+
hideDelay?: number;
|
|
11
|
+
hideOnMouseLeave: boolean;
|
|
7
12
|
buttonElementRef?: ElementRef;
|
|
13
|
+
customContent: ElementRef;
|
|
14
|
+
hideEvent: string | {
|
|
15
|
+
delay?: number;
|
|
16
|
+
name?: string;
|
|
17
|
+
};
|
|
18
|
+
showEvent: string | {
|
|
19
|
+
delay?: number;
|
|
20
|
+
name?: string;
|
|
21
|
+
};
|
|
8
22
|
constructor();
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
9
24
|
onHiding(e: any): void;
|
|
25
|
+
private setShowEvent;
|
|
26
|
+
private setHideEvent;
|
|
10
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsQuickInfoComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdsQuickInfoComponent, "sds-quick-info", never, { "icon": "icon"; "popoverMaxWidth": "popoverMaxWidth"; }, {},
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsQuickInfoComponent, "sds-quick-info", never, { "icon": "icon"; "popoverMaxWidth": "popoverMaxWidth"; "popoverMinWidth": "popoverMinWidth"; "popoverWidth": "popoverWidth"; "showDelay": "showDelay"; "hideDelay": "hideDelay"; "hideOnMouseLeave": "hideOnMouseLeave"; }, {}, ["customContent"], ["customContent", "*"]>;
|
|
12
29
|
}
|