@softpak/components 0.1.8-beta.8 → 0.1.8-beta.9

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.
@@ -3,17 +3,17 @@ import { SpxButtonComponent } from '@softpak/components/spx-button';
3
3
  import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@fortawesome/angular-fontawesome";
6
- export class SpxStockInfoComponent {
6
+ export class SpxPaginationComponent {
7
7
  constructor() {
8
8
  this.spxPageChange = new EventEmitter();
9
9
  }
10
10
  onPageChange(page) {
11
11
  this.spxPageChange.emit(page);
12
12
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SpxStockInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: SpxStockInfoComponent, isStandalone: true, selector: "spx-pagination", inputs: { faArrowLeft: "faArrowLeft", faArrowRight: "faArrowRight", spxPage: "spxPage", spxMaxPages: "spxMaxPages" }, outputs: { spxPageChange: "spxPageChange" }, ngImport: i0, template: "<div class=\"inline mx-auto flex gap-3 items-center font-bold\">\n <spx-button (click)=\"onPageChange(spxPage - 1)\" [spxDisabled]=\"spxPage === 1\">\n <fa-icon [icon]=\"faArrowLeft\"></fa-icon> Previous\n </spx-button>\n Page {{ spxPage }}\n <spx-button [spxDisabled]=\"spxMaxPages < (spxPage + 1)\" (click)=\"onPageChange(spxPage + 1)\">\n Next <fa-icon [icon]=\"faArrowRight\"></fa-icon>\n </spx-button>\n</div>", dependencies: [{ kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "component", type: SpxButtonComponent, selector: "spx-button", inputs: ["spxDisabled", "spxClass", "spxClassObject", "spxForm", "spxFullHeight", "spxFullWidth", "spxSeverity", "spxSize", "spxTabIndex", "spxType"], outputs: ["spxClick"] }] }); }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SpxPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: SpxPaginationComponent, isStandalone: true, selector: "spx-pagination", inputs: { faArrowLeft: "faArrowLeft", faArrowRight: "faArrowRight", spxPage: "spxPage", spxMaxPages: "spxMaxPages" }, outputs: { spxPageChange: "spxPageChange" }, ngImport: i0, template: "<div class=\"inline mx-auto flex gap-3 items-center font-bold\">\n <spx-button (click)=\"onPageChange(spxPage - 1)\" [spxDisabled]=\"spxPage === 1\">\n <fa-icon [icon]=\"faArrowLeft\"></fa-icon> Previous\n </spx-button>\n Page {{ spxPage }}\n <spx-button [spxDisabled]=\"spxMaxPages < (spxPage + 1)\" (click)=\"onPageChange(spxPage + 1)\">\n Next <fa-icon [icon]=\"faArrowRight\"></fa-icon>\n </spx-button>\n</div>", dependencies: [{ kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "component", type: SpxButtonComponent, selector: "spx-button", inputs: ["spxDisabled", "spxClass", "spxClassObject", "spxForm", "spxFullHeight", "spxFullWidth", "spxSeverity", "spxSize", "spxTabIndex", "spxType"], outputs: ["spxClick"] }] }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SpxStockInfoComponent, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SpxPaginationComponent, decorators: [{
17
17
  type: Component,
18
18
  args: [{ selector: 'spx-pagination', standalone: true, imports: [
19
19
  FontAwesomeModule,
@@ -30,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImpor
30
30
  }], spxPageChange: [{
31
31
  type: Output
32
32
  }] } });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3B4LXBhZ2luYXRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc29mdHBhay9jb21wb25lbnRzL3NweC1wYWdpbmF0aW9uL3NweC1wYWdpbmF0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NvZnRwYWsvY29tcG9uZW50cy9zcHgtcGFnaW5hdGlvbi9zcHgtcGFnaW5hdGlvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDOzs7QUFZckUsTUFBTSxPQUFPLHFCQUFxQjtJQVRsQztRQWVZLGtCQUFhLEdBQXlCLElBQUksWUFBWSxFQUFVLENBQUM7S0FLNUU7SUFIQyxZQUFZLENBQUMsSUFBWTtRQUN2QixJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUNoQyxDQUFDOzhHQVZVLHFCQUFxQjtrR0FBckIscUJBQXFCLDZPQ2RsQywyYUFRTSw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3M9XCJpbmxpbmUgbXgtYXV0byBmbGV4IGdhcC0zIGl0ZW1zLWNlbnRlciBmb250LWJvbGRcIj5cbiAgPHNweC1idXR0b24gKGNsaWNrKT1cIm9uUGFnZUNoYW5nZShzcHhQYWdlIC0gMSlcIiBbc3B4RGlzYWJsZWRdPVwic3B4UGFnZSA9PT0gMVwiPlxuICAgIDxmYS1pY29uIFtpY29uXT1cImZhQXJyb3dMZWZ0XCI+PC9mYS1pY29uPiBQcmV2aW91c1xuICA8L3NweC1idXR0b24+XG4gIFBhZ2Uge3sgc3B4UGFnZSB9fVxuICA8c3B4LWJ1dHRvbiBbc3B4RGlzYWJsZWRdPVwic3B4TWF4UGFnZXMgPCAoc3B4UGFnZSArIDEpXCIgKGNsaWNrKT1cIm9uUGFnZUNoYW5nZShzcHhQYWdlICsgMSlcIj5cbiAgICBOZXh0IDxmYS1pY29uIFtpY29uXT1cImZhQXJyb3dSaWdodFwiPjwvZmEtaWNvbj5cbiAgPC9zcHgtYnV0dG9uPlxuPC9kaXY+Il19
@@ -4,17 +4,17 @@ import { SpxButtonComponent } from '@softpak/components/spx-button';
4
4
  import * as i1 from '@fortawesome/angular-fontawesome';
5
5
  import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
6
6
 
7
- class SpxStockInfoComponent {
7
+ class SpxPaginationComponent {
8
8
  constructor() {
9
9
  this.spxPageChange = new EventEmitter();
10
10
  }
11
11
  onPageChange(page) {
12
12
  this.spxPageChange.emit(page);
13
13
  }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SpxStockInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: SpxStockInfoComponent, isStandalone: true, selector: "spx-pagination", inputs: { faArrowLeft: "faArrowLeft", faArrowRight: "faArrowRight", spxPage: "spxPage", spxMaxPages: "spxMaxPages" }, outputs: { spxPageChange: "spxPageChange" }, ngImport: i0, template: "<div class=\"inline mx-auto flex gap-3 items-center font-bold\">\n <spx-button (click)=\"onPageChange(spxPage - 1)\" [spxDisabled]=\"spxPage === 1\">\n <fa-icon [icon]=\"faArrowLeft\"></fa-icon> Previous\n </spx-button>\n Page {{ spxPage }}\n <spx-button [spxDisabled]=\"spxMaxPages < (spxPage + 1)\" (click)=\"onPageChange(spxPage + 1)\">\n Next <fa-icon [icon]=\"faArrowRight\"></fa-icon>\n </spx-button>\n</div>", dependencies: [{ kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "component", type: SpxButtonComponent, selector: "spx-button", inputs: ["spxDisabled", "spxClass", "spxClassObject", "spxForm", "spxFullHeight", "spxFullWidth", "spxSeverity", "spxSize", "spxTabIndex", "spxType"], outputs: ["spxClick"] }] }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SpxPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: SpxPaginationComponent, isStandalone: true, selector: "spx-pagination", inputs: { faArrowLeft: "faArrowLeft", faArrowRight: "faArrowRight", spxPage: "spxPage", spxMaxPages: "spxMaxPages" }, outputs: { spxPageChange: "spxPageChange" }, ngImport: i0, template: "<div class=\"inline mx-auto flex gap-3 items-center font-bold\">\n <spx-button (click)=\"onPageChange(spxPage - 1)\" [spxDisabled]=\"spxPage === 1\">\n <fa-icon [icon]=\"faArrowLeft\"></fa-icon> Previous\n </spx-button>\n Page {{ spxPage }}\n <spx-button [spxDisabled]=\"spxMaxPages < (spxPage + 1)\" (click)=\"onPageChange(spxPage + 1)\">\n Next <fa-icon [icon]=\"faArrowRight\"></fa-icon>\n </spx-button>\n</div>", dependencies: [{ kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "component", type: SpxButtonComponent, selector: "spx-button", inputs: ["spxDisabled", "spxClass", "spxClassObject", "spxForm", "spxFullHeight", "spxFullWidth", "spxSeverity", "spxSize", "spxTabIndex", "spxType"], outputs: ["spxClick"] }] }); }
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SpxStockInfoComponent, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: SpxPaginationComponent, decorators: [{
18
18
  type: Component,
19
19
  args: [{ selector: 'spx-pagination', standalone: true, imports: [
20
20
  FontAwesomeModule,
@@ -36,5 +36,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImpor
36
36
  * Generated bundle index. Do not edit.
37
37
  */
38
38
 
39
- export { SpxStockInfoComponent };
39
+ export { SpxPaginationComponent };
40
40
  //# sourceMappingURL=softpak-components-spx-pagination.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"softpak-components-spx-pagination.mjs","sources":["../../../../projects/softpak/components/spx-pagination/spx-pagination.component.ts","../../../../projects/softpak/components/spx-pagination/spx-pagination.component.html","../../../../projects/softpak/components/spx-pagination/softpak-components-spx-pagination.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { SpxButtonComponent } from '@softpak/components/spx-button';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { IconProp } from '@fortawesome/angular-fontawesome/types';\n\n@Component({\n selector: 'spx-pagination',\n templateUrl: './spx-pagination.component.html',\n standalone: true,\n imports: [\n FontAwesomeModule,\n SpxButtonComponent,\n ]\n})\nexport class SpxStockInfoComponent {\n @Input() faArrowLeft!: IconProp;\n\n @Input() faArrowRight!: IconProp;\n @Input() spxPage!: number;\n @Input() spxMaxPages!: number;\n @Output() spxPageChange: EventEmitter<number> = new EventEmitter<number>();\n\n onPageChange(page: number) {\n this.spxPageChange.emit(page);\n }\n}","<div class=\"inline mx-auto flex gap-3 items-center font-bold\">\n <spx-button (click)=\"onPageChange(spxPage - 1)\" [spxDisabled]=\"spxPage === 1\">\n <fa-icon [icon]=\"faArrowLeft\"></fa-icon> Previous\n </spx-button>\n Page {{ spxPage }}\n <spx-button [spxDisabled]=\"spxMaxPages < (spxPage + 1)\" (click)=\"onPageChange(spxPage + 1)\">\n Next <fa-icon [icon]=\"faArrowRight\"></fa-icon>\n </spx-button>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAca,qBAAqB,CAAA;AATlC,IAAA,WAAA,GAAA;AAeY,QAAA,IAAA,CAAA,aAAa,GAAyB,IAAI,YAAY,EAAU,CAAC;AAK5E,KAAA;AAHC,IAAA,YAAY,CAAC,IAAY,EAAA;AACvB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC/B;8GAVU,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,ECdlC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,YAAA,EAAA,cAAA,EAAA,OAAA,EAAA,SAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,OAAA,EAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,2aAQM,EDEF,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,6PACjB,kBAAkB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,SAAA,EAAA,eAAA,EAAA,cAAA,EAAA,aAAA,EAAA,SAAA,EAAA,aAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGT,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBATjC,SAAS;+BACE,gBAAgB,EAAA,UAAA,EAEd,IAAI,EACP,OAAA,EAAA;wBACP,iBAAiB;wBACjB,kBAAkB;AACnB,qBAAA,EAAA,QAAA,EAAA,2aAAA,EAAA,CAAA;8BAGQ,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBAEG,YAAY,EAAA,CAAA;sBAApB,KAAK;gBACG,OAAO,EAAA,CAAA;sBAAf,KAAK;gBACG,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBACI,aAAa,EAAA,CAAA;sBAAtB,MAAM;;;AEpBT;;AAEG;;;;"}
1
+ {"version":3,"file":"softpak-components-spx-pagination.mjs","sources":["../../../../projects/softpak/components/spx-pagination/spx-pagination.component.ts","../../../../projects/softpak/components/spx-pagination/spx-pagination.component.html","../../../../projects/softpak/components/spx-pagination/softpak-components-spx-pagination.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { SpxButtonComponent } from '@softpak/components/spx-button';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { IconProp } from '@fortawesome/angular-fontawesome/types';\n\n@Component({\n selector: 'spx-pagination',\n templateUrl: './spx-pagination.component.html',\n standalone: true,\n imports: [\n FontAwesomeModule,\n SpxButtonComponent,\n ]\n})\nexport class SpxPaginationComponent {\n @Input() faArrowLeft!: IconProp;\n\n @Input() faArrowRight!: IconProp;\n @Input() spxPage!: number;\n @Input() spxMaxPages!: number;\n @Output() spxPageChange: EventEmitter<number> = new EventEmitter<number>();\n\n onPageChange(page: number) {\n this.spxPageChange.emit(page);\n }\n}","<div class=\"inline mx-auto flex gap-3 items-center font-bold\">\n <spx-button (click)=\"onPageChange(spxPage - 1)\" [spxDisabled]=\"spxPage === 1\">\n <fa-icon [icon]=\"faArrowLeft\"></fa-icon> Previous\n </spx-button>\n Page {{ spxPage }}\n <spx-button [spxDisabled]=\"spxMaxPages < (spxPage + 1)\" (click)=\"onPageChange(spxPage + 1)\">\n Next <fa-icon [icon]=\"faArrowRight\"></fa-icon>\n </spx-button>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAca,sBAAsB,CAAA;AATnC,IAAA,WAAA,GAAA;AAeY,QAAA,IAAA,CAAA,aAAa,GAAyB,IAAI,YAAY,EAAU,CAAC;AAK5E,KAAA;AAHC,IAAA,YAAY,CAAC,IAAY,EAAA;AACvB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC/B;8GAVU,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,ECdnC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,YAAA,EAAA,cAAA,EAAA,OAAA,EAAA,SAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,OAAA,EAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,2aAQM,EDEF,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,6PACjB,kBAAkB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,SAAA,EAAA,eAAA,EAAA,cAAA,EAAA,aAAA,EAAA,SAAA,EAAA,aAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGT,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBATlC,SAAS;+BACE,gBAAgB,EAAA,UAAA,EAEd,IAAI,EACP,OAAA,EAAA;wBACP,iBAAiB;wBACjB,kBAAkB;AACnB,qBAAA,EAAA,QAAA,EAAA,2aAAA,EAAA,CAAA;8BAGQ,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBAEG,YAAY,EAAA,CAAA;sBAApB,KAAK;gBACG,OAAO,EAAA,CAAA;sBAAf,KAAK;gBACG,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBACI,aAAa,EAAA,CAAA;sBAAtB,MAAM;;;AEpBT;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softpak/components",
3
- "version": "0.1.8-beta.8",
3
+ "version": "0.1.8-beta.9",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "15.x.x || 18.x.x",
@@ -34,23 +34,17 @@
34
34
  "esm": "./esm2022/spx-alert/softpak-components-spx-alert.mjs",
35
35
  "default": "./fesm2022/softpak-components-spx-alert.mjs"
36
36
  },
37
- "./spx-app-configuration": {
38
- "types": "./spx-app-configuration/index.d.ts",
39
- "esm2022": "./esm2022/spx-app-configuration/softpak-components-spx-app-configuration.mjs",
40
- "esm": "./esm2022/spx-app-configuration/softpak-components-spx-app-configuration.mjs",
41
- "default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
42
- },
43
37
  "./spx-app-expiry": {
44
38
  "types": "./spx-app-expiry/index.d.ts",
45
39
  "esm2022": "./esm2022/spx-app-expiry/softpak-components-spx-app-expiry.mjs",
46
40
  "esm": "./esm2022/spx-app-expiry/softpak-components-spx-app-expiry.mjs",
47
41
  "default": "./fesm2022/softpak-components-spx-app-expiry.mjs"
48
42
  },
49
- "./spx-app-update": {
50
- "types": "./spx-app-update/index.d.ts",
51
- "esm2022": "./esm2022/spx-app-update/softpak-components-spx-app-update.mjs",
52
- "esm": "./esm2022/spx-app-update/softpak-components-spx-app-update.mjs",
53
- "default": "./fesm2022/softpak-components-spx-app-update.mjs"
43
+ "./spx-app-configuration": {
44
+ "types": "./spx-app-configuration/index.d.ts",
45
+ "esm2022": "./esm2022/spx-app-configuration/softpak-components-spx-app-configuration.mjs",
46
+ "esm": "./esm2022/spx-app-configuration/softpak-components-spx-app-configuration.mjs",
47
+ "default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
54
48
  },
55
49
  "./spx-button": {
56
50
  "types": "./spx-button/index.d.ts",
@@ -58,11 +52,11 @@
58
52
  "esm": "./esm2022/spx-button/softpak-components-spx-button.mjs",
59
53
  "default": "./fesm2022/softpak-components-spx-button.mjs"
60
54
  },
61
- "./spx-change-details": {
62
- "types": "./spx-change-details/index.d.ts",
63
- "esm2022": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
64
- "esm": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
65
- "default": "./fesm2022/softpak-components-spx-change-details.mjs"
55
+ "./spx-app-update": {
56
+ "types": "./spx-app-update/index.d.ts",
57
+ "esm2022": "./esm2022/spx-app-update/softpak-components-spx-app-update.mjs",
58
+ "esm": "./esm2022/spx-app-update/softpak-components-spx-app-update.mjs",
59
+ "default": "./fesm2022/softpak-components-spx-app-update.mjs"
66
60
  },
67
61
  "./spx-capitalize": {
68
62
  "types": "./spx-capitalize/index.d.ts",
@@ -70,6 +64,12 @@
70
64
  "esm": "./esm2022/spx-capitalize/softpak-components-spx-capitalize.mjs",
71
65
  "default": "./fesm2022/softpak-components-spx-capitalize.mjs"
72
66
  },
67
+ "./spx-change-details": {
68
+ "types": "./spx-change-details/index.d.ts",
69
+ "esm2022": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
70
+ "esm": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
71
+ "default": "./fesm2022/softpak-components-spx-change-details.mjs"
72
+ },
73
73
  "./spx-channel-selection": {
74
74
  "types": "./spx-channel-selection/index.d.ts",
75
75
  "esm2022": "./esm2022/spx-channel-selection/softpak-components-spx-channel-selection.mjs",
@@ -1,13 +1,13 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { IconProp } from '@fortawesome/angular-fontawesome/types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class SpxStockInfoComponent {
4
+ export declare class SpxPaginationComponent {
5
5
  faArrowLeft: IconProp;
6
6
  faArrowRight: IconProp;
7
7
  spxPage: number;
8
8
  spxMaxPages: number;
9
9
  spxPageChange: EventEmitter<number>;
10
10
  onPageChange(page: number): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SpxStockInfoComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<SpxStockInfoComponent, "spx-pagination", never, { "faArrowLeft": { "alias": "faArrowLeft"; "required": false; }; "faArrowRight": { "alias": "faArrowRight"; "required": false; }; "spxPage": { "alias": "spxPage"; "required": false; }; "spxMaxPages": { "alias": "spxMaxPages"; "required": false; }; }, { "spxPageChange": "spxPageChange"; }, never, never, true, never>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpxPaginationComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpxPaginationComponent, "spx-pagination", never, { "faArrowLeft": { "alias": "faArrowLeft"; "required": false; }; "faArrowRight": { "alias": "faArrowRight"; "required": false; }; "spxPage": { "alias": "spxPage"; "required": false; }; "spxMaxPages": { "alias": "spxMaxPages"; "required": false; }; }, { "spxPageChange": "spxPageChange"; }, never, never, true, never>;
13
13
  }