@softpak/components 0.0.0-beta.12 → 0.0.0-beta.121
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/esm2022/spx-alert/spx-alert.component.mjs +5 -2
- package/esm2022/spx-change-details/public-api.mjs +2 -0
- package/esm2022/spx-change-details/softpak-components-spx-change-details.mjs +5 -0
- package/esm2022/spx-change-details/spx-change-details-value.interface.mjs +2 -0
- package/esm2022/spx-change-details/spx-change-details.component.mjs +118 -0
- package/esm2022/spx-channel-selection/src/spx-channel-selection.component.mjs +6 -5
- package/esm2022/spx-channel-selection/src/spx-company-selection.component.mjs +6 -5
- package/esm2022/spx-check-digit/spx-check-digit.component.mjs +6 -4
- package/esm2022/spx-form-section/spx-form-section.component.mjs +7 -7
- package/esm2022/spx-form-view/public-api.mjs +4 -0
- package/esm2022/spx-form-view/softpak-components-spx-form-view.mjs +5 -0
- package/esm2022/spx-form-view/spx-form-field.interface.mjs +2 -0
- package/esm2022/spx-form-view/spx-form-section.interface.mjs +2 -0
- package/esm2022/spx-form-view/spx-form-view.component.mjs +163 -0
- package/esm2022/spx-inputs/public-api.mjs +2 -1
- package/esm2022/spx-inputs/spx-dropdown.component.mjs +94 -0
- package/esm2022/spx-inputs/spx-input-box.component.mjs +74 -50
- package/esm2022/spx-inputs/spx-input-date.component.mjs +1 -1
- package/esm2022/spx-inputs/spx-input-radio.component.mjs +72 -27
- package/esm2022/spx-inputs/spx-input-text.component.mjs +20 -31
- package/esm2022/spx-inputs/spx-input-type.enum.mjs +14 -0
- package/esm2022/spx-inputs/spx-input.component.mjs +43 -16
- package/esm2022/spx-navigation/spx-home-tile.component.mjs +29 -10
- package/esm2022/spx-navigation/spx-navigation-item.interface.mjs +1 -1
- package/esm2022/spx-navigation/spx-navigation.component.mjs +11 -5
- package/esm2022/spx-number-check/public-api.mjs +2 -0
- package/esm2022/spx-number-check/softpak-components-spx-number-check.mjs +5 -0
- package/esm2022/spx-number-check/spx-number-check.component.mjs +262 -0
- package/esm2022/spx-spinner/spx-spinner.component.mjs +5 -5
- package/esm2022/spx-suggestion/spx-suggestion.component.mjs +30 -16
- package/esm2022/spx-toaster/src/spx-toaster.component.mjs +3 -3
- package/esm2022/spx-update/src/spx-update-info.component.mjs +1 -1
- package/fesm2022/softpak-components-spx-alert.mjs +4 -1
- package/fesm2022/softpak-components-spx-alert.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-change-details.mjs +125 -0
- package/fesm2022/softpak-components-spx-change-details.mjs.map +1 -0
- package/fesm2022/softpak-components-spx-channel-selection.mjs +9 -7
- package/fesm2022/softpak-components-spx-channel-selection.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-check-digit.mjs +5 -3
- package/fesm2022/softpak-components-spx-check-digit.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-form-section.mjs +6 -6
- package/fesm2022/softpak-components-spx-form-section.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-form-view.mjs +170 -0
- package/fesm2022/softpak-components-spx-form-view.mjs.map +1 -0
- package/fesm2022/softpak-components-spx-inputs.mjs +305 -119
- package/fesm2022/softpak-components-spx-inputs.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-navigation.mjs +37 -12
- package/fesm2022/softpak-components-spx-navigation.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-number-check.mjs +269 -0
- package/fesm2022/softpak-components-spx-number-check.mjs.map +1 -0
- package/fesm2022/softpak-components-spx-spinner.mjs +4 -4
- package/fesm2022/softpak-components-spx-spinner.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-suggestion.mjs +29 -15
- package/fesm2022/softpak-components-spx-suggestion.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-toaster.mjs +2 -2
- package/fesm2022/softpak-components-spx-toaster.mjs.map +1 -1
- package/fesm2022/softpak-components-spx-update.mjs +1 -1
- package/fesm2022/softpak-components-spx-update.mjs.map +1 -1
- package/package.json +36 -18
- package/spx-change-details/index.d.ts +5 -0
- package/spx-change-details/public-api.d.ts +1 -0
- package/spx-change-details/spx-change-details-value.interface.d.ts +7 -0
- package/spx-change-details/spx-change-details.component.d.ts +40 -0
- package/spx-channel-selection/src/spx-channel-selection.component.d.ts +2 -1
- package/spx-channel-selection/src/spx-company-selection.component.d.ts +2 -1
- package/spx-check-digit/spx-check-digit.component.d.ts +3 -0
- package/spx-form-view/index.d.ts +5 -0
- package/spx-form-view/public-api.d.ts +3 -0
- package/spx-form-view/spx-form-field.interface.d.ts +16 -0
- package/spx-form-view/spx-form-section.interface.d.ts +9 -0
- package/spx-form-view/spx-form-view.component.d.ts +27 -0
- package/spx-inputs/public-api.d.ts +1 -0
- package/spx-inputs/spx-dropdown.component.d.ts +18 -0
- package/spx-inputs/spx-input-box.component.d.ts +13 -8
- package/spx-inputs/spx-input-radio.component.d.ts +11 -5
- package/spx-inputs/spx-input-text.component.d.ts +2 -1
- package/spx-inputs/spx-input-type.enum.d.ts +12 -0
- package/spx-inputs/spx-input.component.d.ts +9 -4
- package/spx-navigation/spx-home-tile.component.d.ts +5 -1
- package/spx-navigation/spx-navigation-item.interface.d.ts +1 -0
- package/spx-navigation/spx-navigation.component.d.ts +4 -1
- package/spx-number-check/index.d.ts +5 -0
- package/spx-number-check/public-api.d.ts +1 -0
- package/spx-number-check/spx-number-check.component.d.ts +48 -0
- package/spx-suggestion/spx-suggestion.component.d.ts +4 -1
- package/tailwind.css +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softpak-components-spx-update.mjs","sources":["../../../../projects/softpak/components/spx-update/src/spx-update-info.component.ts","../../../../projects/softpak/components/spx-update/src/spx-update-progress.component.ts","../../../../projects/softpak/components/spx-update/softpak-components-spx-update.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { SpxCapitalizePipe } from '@softpak/components/spx-capitalize';\nimport { SpxInputComponent } from '@softpak/components/spx-inputs';\n\nconst ctrlAppStoreVersion = 'appStoreVersion';\nconst ctrlChannel = 'channel';\nconst ctrlNextVersionNumber = 'nextVersionNumber';\nconst ctrlVersionNumber = 'versionNumber';\n\n@Component({\n selector: 'spx-update-info',\n template: `<form [formGroup]=\"form\" class=\"mt-3\">\n <div class=\"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-3\">\n <spx-input [formControl]=\"ctrlVersionNumber\" [spxLabel]=\"txtVersion | capitalize\"\n [spxReadonly]=\"true\"></spx-input>\n <spx-input [formControl]=\"ctrlNextVersionNumber\" [spxLabel]=\"txtNextVersion | capitalize\"\n [spxReadonly]=\"true\"></spx-input>\n <spx-input [formControl]=\"ctrlConfiguredChannel\" [spxLabel]=\"txtChannel | capitalize\"\n [spxReadonly]=\"true\"></spx-input>\n <spx-input [formControl]=\"ctrlAppStoreVersion\" [spxLabel]=\"txtAppStoreVersion | capitalize\"\n [spxReadonly]=\"true\"></spx-input>\n </div>\n </form>`,\n standalone: true,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SpxCapitalizePipe,\n SpxInputComponent,\n ]\n})\nexport class SpxUpdateInfoComponent {\n form!: FormGroup;\n @Input() txtAppStoreVersion!: string;\n @Input() txtChannel!: string;\n @Input() txtNextVersion!: string;\n @Input() txtVersion!: string;\n \n get ctrlVersionNumber(): FormControl { return this.form.get(ctrlVersionNumber) as FormControl; }\n get ctrlNextVersionNumber(): FormControl { return this.form.get(ctrlNextVersionNumber) as FormControl; }\n get ctrlConfiguredChannel(): FormControl { return this.form.get(ctrlChannel) as FormControl; }\n get ctrlAppStoreVersion(): FormControl { return this.form.get(ctrlAppStoreVersion) as FormControl; }\n\n constructor(\n private readonly formBuilder: FormBuilder,\n ) {\n this.form = this.formBuilder.group({\n [ctrlAppStoreVersion]: [null, []],\n [ctrlChannel]: [null, []],\n [ctrlNextVersionNumber]: [null, []],\n [ctrlVersionNumber]: [null, []],\n });\n }\n\n update(appStoreVersion: string, channel: string, nextVersion: string, version: string) {\n this.ctrlVersionNumber.setValue({\n value: version,\n });\n this.ctrlNextVersionNumber.setValue({\n value: nextVersion,\n });\n this.ctrlConfiguredChannel.setValue({\n value: channel,\n });\n this.ctrlAppStoreVersion.setValue({\n value: appStoreVersion,\n });\n }\n}\n","import { Component, Input, OnDestroy, OnInit } from '@angular/core';\nimport { SpxCapitalizePipe } from '@softpak/components/spx-capitalize';\nimport { SpxProgressBarComponent } from '@softpak/components/spx-progress-bar';\n\n@Component({\n selector: 'spx-update-progress',\n template: `<spx-progress-bar [spxPercentage]=\"delayedPercentage\" [spxTitle]=\"title | capitalize\">\n </spx-progress-bar>`,\n standalone: true,\n imports: [\n SpxProgressBarComponent,\n SpxCapitalizePipe,\n ],\n})\nexport class SpxUpdateProgressComponent implements OnInit, OnDestroy {\n @Input() title!: string;\n @Input() percentage!: number;\n delayedPercentage!: number;\n syncTruckInterval?: any;\n \n ngOnInit(): void {\n this.startLoaderSync();\n }\n\n ngOnDestroy(): void {\n this.stopLoaderSync();\n }\n\n private startLoaderSync() {\n if (this.syncTruckInterval === null) {\n this.syncTruckInterval = setInterval(() => {\n this.delayedPercentage = this.percentage;\n }, 200);\n }\n }\n\n private stopLoaderSync() {\n if (this.syncTruckInterval !== null) {\n clearInterval(this.syncTruckInterval);\n this.syncTruckInterval = undefined;\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAMA,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AAC9C,MAAM,WAAW,GAAG,SAAS,CAAC;AAC9B,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AAClD,MAAM,iBAAiB,GAAG,eAAe,CAAC;MAyB7B,sBAAsB,CAAA;AAOjC,IAAA,IAAI,iBAAiB,GAAA,EAAkB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAgB,CAAC,EAAE;AAChG,IAAA,IAAI,qBAAqB,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,EAAA,UAAA,EAAA,CAAA;kBAVtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,QAAQ,EAAE,CAAA;AACU,qBAAA,CAAA;AACpB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;wBACP,uBAAuB;wBACvB,iBAAiB;AAClB,qBAAA;AACF,iBAAA,CAAA;8BAEU,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;;;AChBR;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"softpak-components-spx-update.mjs","sources":["../../../../projects/softpak/components/spx-update/src/spx-update-info.component.ts","../../../../projects/softpak/components/spx-update/src/spx-update-progress.component.ts","../../../../projects/softpak/components/spx-update/softpak-components-spx-update.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { SpxCapitalizePipe } from '@softpak/components/spx-capitalize';\nimport { SpxInputComponent } from '@softpak/components/spx-inputs';\n\nconst ctrlAppStoreVersion = 'appStoreVersion';\nconst ctrlChannel = 'channel';\nconst ctrlNextVersionNumber = 'nextVersionNumber';\nconst ctrlVersionNumber = 'versionNumber';\n\n@Component({\n selector: 'spx-update-info',\n template: `<form [formGroup]=\"form\" class=\"mt-3\">\n <div class=\"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-3\">\n <spx-input [formControl]=\"ctrlVersionNumber\" [spxLabel]=\"txtVersion | capitalize\"\n [spxReadonly]=\"true\"></spx-input>\n <spx-input [formControl]=\"ctrlNextVersionNumber\" [spxLabel]=\"txtNextVersion | capitalize\"\n [spxReadonly]=\"true\"></spx-input>\n <spx-input [formControl]=\"ctrlConfiguredChannel\" [spxLabel]=\"txtChannel | capitalize\"\n [spxReadonly]=\"true\"></spx-input>\n <spx-input [formControl]=\"ctrlAppStoreVersion\" [spxLabel]=\"txtAppStoreVersion | capitalize\"\n [spxReadonly]=\"true\"></spx-input>\n </div>\n </form>`,\n standalone: true,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SpxCapitalizePipe,\n SpxInputComponent,\n ]\n})\nexport class SpxUpdateInfoComponent {\n form!: FormGroup;\n @Input() txtAppStoreVersion!: string;\n @Input() txtChannel!: string;\n @Input() txtNextVersion!: string;\n @Input() txtVersion!: string;\n \n get ctrlVersionNumber(): FormControl { return this.form.get(ctrlVersionNumber) as FormControl; }\n get ctrlNextVersionNumber(): FormControl { return this.form.get(ctrlNextVersionNumber) as FormControl; }\n get ctrlConfiguredChannel(): FormControl { return this.form.get(ctrlChannel) as FormControl; }\n get ctrlAppStoreVersion(): FormControl { return this.form.get(ctrlAppStoreVersion) as FormControl; }\n\n constructor(\n private readonly formBuilder: FormBuilder,\n ) {\n this.form = this.formBuilder.group({\n [ctrlAppStoreVersion]: [null, []],\n [ctrlChannel]: [null, []],\n [ctrlNextVersionNumber]: [null, []],\n [ctrlVersionNumber]: [null, []],\n });\n }\n\n update(appStoreVersion: string, channel: string, nextVersion: string, version: string) {\n this.ctrlVersionNumber.setValue({\n value: version,\n });\n this.ctrlNextVersionNumber.setValue({\n value: nextVersion,\n });\n this.ctrlConfiguredChannel.setValue({\n value: channel,\n });\n this.ctrlAppStoreVersion.setValue({\n value: appStoreVersion,\n });\n }\n}\n","import { Component, Input, OnDestroy, OnInit } from '@angular/core';\nimport { SpxCapitalizePipe } from '@softpak/components/spx-capitalize';\nimport { SpxProgressBarComponent } from '@softpak/components/spx-progress-bar';\n\n@Component({\n selector: 'spx-update-progress',\n template: `<spx-progress-bar [spxPercentage]=\"delayedPercentage\" [spxTitle]=\"title | capitalize\">\n </spx-progress-bar>`,\n standalone: true,\n imports: [\n SpxProgressBarComponent,\n SpxCapitalizePipe,\n ],\n})\nexport class SpxUpdateProgressComponent implements OnInit, OnDestroy {\n @Input() title!: string;\n @Input() percentage!: number;\n delayedPercentage!: number;\n syncTruckInterval?: any;\n \n ngOnInit(): void {\n this.startLoaderSync();\n }\n\n ngOnDestroy(): void {\n this.stopLoaderSync();\n }\n\n private startLoaderSync() {\n if (this.syncTruckInterval === null) {\n this.syncTruckInterval = setInterval(() => {\n this.delayedPercentage = this.percentage;\n }, 200);\n }\n }\n\n private stopLoaderSync() {\n if (this.syncTruckInterval !== null) {\n clearInterval(this.syncTruckInterval);\n this.syncTruckInterval = undefined;\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAMA,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AAC9C,MAAM,WAAW,GAAG,SAAS,CAAC;AAC9B,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AAClD,MAAM,iBAAiB,GAAG,eAAe,CAAC;MAyB7B,sBAAsB,CAAA;AAOjC,IAAA,IAAI,iBAAiB,GAAA,EAAkB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAgB,CAAC,EAAE;AAChG,IAAA,IAAI,qBAAqB,GAAA,EAAkB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,qBAAqB,CAAgB,CAAC,EAAE;AACxG,IAAA,IAAI,qBAAqB,GAAA,EAAkB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,CAAgB,CAAC,EAAE;AAC9F,IAAA,IAAI,mBAAmB,GAAA,EAAkB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAgB,CAAC,EAAE;AAEpG,IAAA,WAAA,CACmB,WAAwB,EAAA;QAAxB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAa;QAEzC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AACjC,YAAA,CAAC,mBAAmB,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC;AACjC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0-beta.121",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^17.x.x",
|
|
@@ -41,18 +41,24 @@
|
|
|
41
41
|
"esm": "./esm2022/spx-app-configuration/softpak-components-spx-app-configuration.mjs",
|
|
42
42
|
"default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
|
|
43
43
|
},
|
|
44
|
-
"./spx-channel-selection": {
|
|
45
|
-
"types": "./spx-channel-selection/index.d.ts",
|
|
46
|
-
"esm2022": "./esm2022/spx-channel-selection/softpak-components-spx-channel-selection.mjs",
|
|
47
|
-
"esm": "./esm2022/spx-channel-selection/softpak-components-spx-channel-selection.mjs",
|
|
48
|
-
"default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
|
|
49
|
-
},
|
|
50
44
|
"./spx-button": {
|
|
51
45
|
"types": "./spx-button/index.d.ts",
|
|
52
46
|
"esm2022": "./esm2022/spx-button/softpak-components-spx-button.mjs",
|
|
53
47
|
"esm": "./esm2022/spx-button/softpak-components-spx-button.mjs",
|
|
54
48
|
"default": "./fesm2022/softpak-components-spx-button.mjs"
|
|
55
49
|
},
|
|
50
|
+
"./spx-change-details": {
|
|
51
|
+
"types": "./spx-change-details/index.d.ts",
|
|
52
|
+
"esm2022": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
|
|
53
|
+
"esm": "./esm2022/spx-change-details/softpak-components-spx-change-details.mjs",
|
|
54
|
+
"default": "./fesm2022/softpak-components-spx-change-details.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./spx-channel-selection": {
|
|
57
|
+
"types": "./spx-channel-selection/index.d.ts",
|
|
58
|
+
"esm2022": "./esm2022/spx-channel-selection/softpak-components-spx-channel-selection.mjs",
|
|
59
|
+
"esm": "./esm2022/spx-channel-selection/softpak-components-spx-channel-selection.mjs",
|
|
60
|
+
"default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
|
|
61
|
+
},
|
|
56
62
|
"./spx-check-digit": {
|
|
57
63
|
"types": "./spx-check-digit/index.d.ts",
|
|
58
64
|
"esm2022": "./esm2022/spx-check-digit/softpak-components-spx-check-digit.mjs",
|
|
@@ -65,6 +71,12 @@
|
|
|
65
71
|
"esm": "./esm2022/spx-form-section/softpak-components-spx-form-section.mjs",
|
|
66
72
|
"default": "./fesm2022/softpak-components-spx-form-section.mjs"
|
|
67
73
|
},
|
|
74
|
+
"./spx-form-view": {
|
|
75
|
+
"types": "./spx-form-view/index.d.ts",
|
|
76
|
+
"esm2022": "./esm2022/spx-form-view/softpak-components-spx-form-view.mjs",
|
|
77
|
+
"esm": "./esm2022/spx-form-view/softpak-components-spx-form-view.mjs",
|
|
78
|
+
"default": "./fesm2022/softpak-components-spx-form-view.mjs"
|
|
79
|
+
},
|
|
68
80
|
"./spx-helpers": {
|
|
69
81
|
"types": "./spx-helpers/index.d.ts",
|
|
70
82
|
"esm2022": "./esm2022/spx-helpers/softpak-components-spx-helpers.mjs",
|
|
@@ -83,6 +95,12 @@
|
|
|
83
95
|
"esm": "./esm2022/spx-navigation/softpak-components-spx-navigation.mjs",
|
|
84
96
|
"default": "./fesm2022/softpak-components-spx-navigation.mjs"
|
|
85
97
|
},
|
|
98
|
+
"./spx-number-check": {
|
|
99
|
+
"types": "./spx-number-check/index.d.ts",
|
|
100
|
+
"esm2022": "./esm2022/spx-number-check/softpak-components-spx-number-check.mjs",
|
|
101
|
+
"esm": "./esm2022/spx-number-check/softpak-components-spx-number-check.mjs",
|
|
102
|
+
"default": "./fesm2022/softpak-components-spx-number-check.mjs"
|
|
103
|
+
},
|
|
86
104
|
"./spx-patch": {
|
|
87
105
|
"types": "./spx-patch/index.d.ts",
|
|
88
106
|
"esm2022": "./esm2022/spx-patch/softpak-components-spx-patch.mjs",
|
|
@@ -95,23 +113,17 @@
|
|
|
95
113
|
"esm": "./esm2022/spx-progress-bar/softpak-components-spx-progress-bar.mjs",
|
|
96
114
|
"default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
|
|
97
115
|
},
|
|
98
|
-
"./spx-spinner": {
|
|
99
|
-
"types": "./spx-spinner/index.d.ts",
|
|
100
|
-
"esm2022": "./esm2022/spx-spinner/softpak-components-spx-spinner.mjs",
|
|
101
|
-
"esm": "./esm2022/spx-spinner/softpak-components-spx-spinner.mjs",
|
|
102
|
-
"default": "./fesm2022/softpak-components-spx-spinner.mjs"
|
|
103
|
-
},
|
|
104
116
|
"./spx-storage": {
|
|
105
117
|
"types": "./spx-storage/index.d.ts",
|
|
106
118
|
"esm2022": "./esm2022/spx-storage/softpak-components-spx-storage.mjs",
|
|
107
119
|
"esm": "./esm2022/spx-storage/softpak-components-spx-storage.mjs",
|
|
108
120
|
"default": "./fesm2022/softpak-components-spx-storage.mjs"
|
|
109
121
|
},
|
|
110
|
-
"./spx-
|
|
111
|
-
"types": "./spx-
|
|
112
|
-
"esm2022": "./esm2022/spx-
|
|
113
|
-
"esm": "./esm2022/spx-
|
|
114
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
122
|
+
"./spx-spinner": {
|
|
123
|
+
"types": "./spx-spinner/index.d.ts",
|
|
124
|
+
"esm2022": "./esm2022/spx-spinner/softpak-components-spx-spinner.mjs",
|
|
125
|
+
"esm": "./esm2022/spx-spinner/softpak-components-spx-spinner.mjs",
|
|
126
|
+
"default": "./fesm2022/softpak-components-spx-spinner.mjs"
|
|
115
127
|
},
|
|
116
128
|
"./spx-suggestion": {
|
|
117
129
|
"types": "./spx-suggestion/index.d.ts",
|
|
@@ -119,6 +131,12 @@
|
|
|
119
131
|
"esm": "./esm2022/spx-suggestion/softpak-components-spx-suggestion.mjs",
|
|
120
132
|
"default": "./fesm2022/softpak-components-spx-suggestion.mjs"
|
|
121
133
|
},
|
|
134
|
+
"./spx-toaster": {
|
|
135
|
+
"types": "./spx-toaster/index.d.ts",
|
|
136
|
+
"esm2022": "./esm2022/spx-toaster/softpak-components-spx-toaster.mjs",
|
|
137
|
+
"esm": "./esm2022/spx-toaster/softpak-components-spx-toaster.mjs",
|
|
138
|
+
"default": "./fesm2022/softpak-components-spx-toaster.mjs"
|
|
139
|
+
},
|
|
122
140
|
"./spx-update": {
|
|
123
141
|
"types": "./spx-update/index.d.ts",
|
|
124
142
|
"esm2022": "./esm2022/spx-update/softpak-components-spx-update.mjs",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './spx-change-details.component';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { SpxInputTypeEnum } from '@softpak/components/spx-inputs';
|
|
4
|
+
import { SpxFormSectionI } from '@softpak/components/spx-form-view';
|
|
5
|
+
import { SpxSeverityEnum } from '@softpak/components/spx-helpers';
|
|
6
|
+
import { SpxChangeDetailsValueI } from './spx-change-details-value.interface';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare const sectionChangeDetails = "changeDetails";
|
|
9
|
+
export declare const ctrlContainerType = "containerType";
|
|
10
|
+
export declare const ctrlTonsTested = "tonsTested";
|
|
11
|
+
export declare const ctrlLicensePlate = "licensePlate";
|
|
12
|
+
export declare const ctrlCategory = "category";
|
|
13
|
+
export declare class SpxChangeDetailsComponent {
|
|
14
|
+
readonly formBuilder: FormBuilder;
|
|
15
|
+
formGroup: FormGroup;
|
|
16
|
+
showCategory: boolean;
|
|
17
|
+
suggestions: any;
|
|
18
|
+
txtCategory: string;
|
|
19
|
+
txtContainerType: string;
|
|
20
|
+
txtLicensePlate: string;
|
|
21
|
+
txtTonsTested: string;
|
|
22
|
+
submit: EventEmitter<SpxChangeDetailsValueI>;
|
|
23
|
+
inputTypeAutocomplete: SpxInputTypeEnum;
|
|
24
|
+
inputTypeRadio: SpxInputTypeEnum;
|
|
25
|
+
inputTypeText: SpxInputTypeEnum;
|
|
26
|
+
severitySuccess: SpxSeverityEnum;
|
|
27
|
+
sections: SpxFormSectionI[];
|
|
28
|
+
get ctrlCategory(): FormControl;
|
|
29
|
+
get ctrlContainerType(): FormControl;
|
|
30
|
+
get ctrlLicensePlate(): FormControl;
|
|
31
|
+
get ctrlTonsTested(): FormControl;
|
|
32
|
+
private inputChanges?;
|
|
33
|
+
constructor(formBuilder: FormBuilder);
|
|
34
|
+
createForm(): FormGroup;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
getRawValidators(formControl: FormControl): any;
|
|
37
|
+
onSubmit(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxChangeDetailsComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxChangeDetailsComponent, "spx-change-details", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "showCategory": { "alias": "showCategory"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "txtCategory": { "alias": "txtCategory"; "required": false; }; "txtContainerType": { "alias": "txtContainerType"; "required": false; }; "txtLicensePlate": { "alias": "txtLicensePlate"; "required": false; }; "txtTonsTested": { "alias": "txtTonsTested"; "required": false; }; }, { "submit": "submit"; }, never, never, true, never>;
|
|
40
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
|
-
import { SpxValuePair } from '@softpak/components/spx-inputs';
|
|
2
|
+
import { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SpxChannelSelectionComponent {
|
|
5
5
|
control: FormControl;
|
|
6
6
|
options: SpxValuePair<string>[];
|
|
7
7
|
txtChannel: string;
|
|
8
|
+
inputTypeRadio: SpxInputTypeEnum;
|
|
8
9
|
constructor();
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxChannelSelectionComponent, never>;
|
|
10
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpxChannelSelectionComponent, "spx-channel-selection", never, { "control": { "alias": "control"; "required": false; }; "options": { "alias": "options"; "required": false; }; "txtChannel": { "alias": "txtChannel"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
|
-
import { SpxValuePair } from '@softpak/components/spx-inputs';
|
|
2
|
+
import { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SpxCompanySelectionComponent {
|
|
5
5
|
control: FormControl;
|
|
6
6
|
options: SpxValuePair<string>[];
|
|
7
7
|
txtChannel: string;
|
|
8
8
|
txtCompany: string;
|
|
9
|
+
inputTypeRadio: SpxInputTypeEnum;
|
|
9
10
|
constructor();
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxCompanySelectionComponent, never>;
|
|
11
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpxCompanySelectionComponent, "spx-company-selection", never, { "control": { "alias": "control"; "required": false; }; "options": { "alias": "options"; "required": false; }; "txtChannel": { "alias": "txtChannel"; "required": false; }; "txtCompany": { "alias": "txtCompany"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { SpxInputTypeEnum } from '@softpak/components/spx-inputs';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class SpxCheckDigitComponent {
|
|
4
5
|
private readonly formBuilder;
|
|
5
6
|
txtCheckDigit: string;
|
|
6
7
|
txtContainer: string;
|
|
7
8
|
txtPrefix: string;
|
|
9
|
+
inputTypeOverlayNumber: SpxInputTypeEnum;
|
|
10
|
+
inputTypeText: SpxInputTypeEnum;
|
|
8
11
|
formGroup: FormGroup;
|
|
9
12
|
get ctrlCheckDigit(): FormControl;
|
|
10
13
|
get ctrlContainerNumber(): FormControl;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SpxInputTypeEnum, SpxValuePair } from "@softpak/components/spx-inputs";
|
|
2
|
+
export interface SpxFormFieldI {
|
|
3
|
+
afterValueChange?: (value: SpxValuePair<string | number | boolean | any>) => void;
|
|
4
|
+
autofocus?: () => boolean;
|
|
5
|
+
capitalize?: () => boolean;
|
|
6
|
+
defaultValue?: () => string | number | boolean | any;
|
|
7
|
+
key: string;
|
|
8
|
+
label?: () => string;
|
|
9
|
+
readonly?: () => boolean;
|
|
10
|
+
show?: () => boolean;
|
|
11
|
+
step?: () => number;
|
|
12
|
+
suggestions?: () => boolean;
|
|
13
|
+
suggestionsFixed?: () => SpxValuePair<string | number | boolean | any>[];
|
|
14
|
+
type: () => SpxInputTypeEnum;
|
|
15
|
+
validators?: () => any[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SpxFormSectionI } from './spx-form-section.interface';
|
|
2
|
+
import { SpxInputTypeEnum } from '@softpak/components/spx-inputs';
|
|
3
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { SpxFormFieldI } from './spx-form-field.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SpxFormViewComponent {
|
|
7
|
+
readonly formBuilder: FormBuilder;
|
|
8
|
+
spxFormGroup: FormGroup;
|
|
9
|
+
spxSections: SpxFormSectionI[];
|
|
10
|
+
spxSuggestions: any;
|
|
11
|
+
typeAutocomplete: SpxInputTypeEnum;
|
|
12
|
+
typeFloat: SpxInputTypeEnum;
|
|
13
|
+
typeNumber: SpxInputTypeEnum;
|
|
14
|
+
typeRadio: SpxInputTypeEnum;
|
|
15
|
+
typeText: SpxInputTypeEnum;
|
|
16
|
+
typeNumericKeyboard: SpxInputTypeEnum;
|
|
17
|
+
typeOverlay: SpxInputTypeEnum;
|
|
18
|
+
typeOverlayNumber: SpxInputTypeEnum;
|
|
19
|
+
onBlur(field: SpxFormFieldI): void;
|
|
20
|
+
getRawValidators(formControl: AbstractControl): any;
|
|
21
|
+
hasRequiredField(abstractControl: AbstractControl): boolean;
|
|
22
|
+
static initialFormValue(sections: SpxFormSectionI[]): any;
|
|
23
|
+
static createForm(formBuilder: FormBuilder, sections: SpxFormSectionI[]): FormGroup;
|
|
24
|
+
constructor(formBuilder: FormBuilder);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxFormViewComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxFormViewComponent, "spx-form-view", never, { "spxFormGroup": { "alias": "spxFormGroup"; "required": false; }; "spxSections": { "alias": "spxSections"; "required": false; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { SpxValuePair } from './spx-value-interface';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SpxDropdownComponent implements OnChanges, OnInit, OnDestroy {
|
|
6
|
+
protected focusPosition: number;
|
|
7
|
+
spxSuggestions: SpxValuePair<boolean | number | string>[];
|
|
8
|
+
spxSelect: EventEmitter<SpxValuePair<any>>;
|
|
9
|
+
subscriptionKeyUp?: Subscription;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
handleSuggestionClick(valuePair: SpxValuePair<string | number | boolean>): void;
|
|
14
|
+
private listenToKeyUp;
|
|
15
|
+
private select;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpxDropdownComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxDropdownComponent, "spx-dropdown", never, { "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; }, { "spxSelect": "spxSelect"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -1,33 +1,38 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { SpxValuePair } from './spx-value-interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SpxInputBoxComponent {
|
|
5
|
+
private elRef;
|
|
5
6
|
faEdit: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
7
|
faSearch: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
8
|
faQuestion: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
8
9
|
faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
|
+
spxCompact?: boolean;
|
|
11
|
+
spxFocused: boolean;
|
|
9
12
|
spxLabel?: string;
|
|
10
|
-
spxRequired?: boolean;
|
|
11
13
|
spxReadonly: boolean;
|
|
12
|
-
|
|
13
|
-
spxCompact?: boolean;
|
|
14
|
+
spxRequired?: boolean;
|
|
14
15
|
spxShowClear: boolean;
|
|
15
16
|
spxShowEdit?: boolean;
|
|
17
|
+
spxShowHelp?: boolean;
|
|
18
|
+
spxShowLabel: boolean;
|
|
16
19
|
spxShowSearch?: boolean;
|
|
17
20
|
spxShowValidationMessages?: boolean | null | undefined;
|
|
18
21
|
spxValue?: SpxValuePair<any>;
|
|
19
22
|
spxClear: EventEmitter<void>;
|
|
20
|
-
|
|
23
|
+
spxSearch: EventEmitter<void>;
|
|
21
24
|
spxFocus: EventEmitter<void>;
|
|
22
25
|
spxFocusOut: EventEmitter<void>;
|
|
23
26
|
spxEdit: EventEmitter<void>;
|
|
24
27
|
spxHelp: EventEmitter<void>;
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
handleFocusIn(ev: Event): void;
|
|
29
|
+
handleFocusOut(ev: FocusEvent): void;
|
|
30
|
+
handleWindowClick(ev: Event): void;
|
|
27
31
|
onClear(): void;
|
|
28
32
|
onSearch(): void;
|
|
29
33
|
onEdit(): void;
|
|
30
34
|
onHelp(): void;
|
|
35
|
+
constructor(elRef: ElementRef);
|
|
31
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxInputBoxComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpxInputBoxComponent, "spx-input-box", never, { "
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxInputBoxComponent, "spx-input-box", never, { "spxCompact": { "alias": "spxCompact"; "required": false; }; "spxFocused": { "alias": "spxFocused"; "required": false; }; "spxLabel": { "alias": "spxLabel"; "required": false; }; "spxReadonly": { "alias": "spxReadonly"; "required": false; }; "spxRequired": { "alias": "spxRequired"; "required": false; }; "spxShowClear": { "alias": "spxShowClear"; "required": false; }; "spxShowEdit": { "alias": "spxShowEdit"; "required": false; }; "spxShowHelp": { "alias": "spxShowHelp"; "required": false; }; "spxShowLabel": { "alias": "spxShowLabel"; "required": false; }; "spxShowSearch": { "alias": "spxShowSearch"; "required": false; }; "spxShowValidationMessages": { "alias": "spxShowValidationMessages"; "required": false; }; "spxValue": { "alias": "spxValue"; "required": false; }; }, { "spxClear": "spxClear"; "spxSearch": "spxSearch"; "spxFocus": "spxFocus"; "spxFocusOut": "spxFocusOut"; "spxEdit": "spxEdit"; "spxHelp": "spxHelp"; }, never, ["[controls]", "[validation-messages]"], true, never>;
|
|
33
38
|
}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { SpxValuePair } from './spx-value-interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SpxInputRadioComponent {
|
|
5
|
+
protected focusPosition: number;
|
|
5
6
|
spxName?: string;
|
|
6
7
|
spxValidators: any[];
|
|
7
8
|
spxFocused: boolean;
|
|
9
|
+
spxShowLabel: boolean;
|
|
8
10
|
spxReadonly: boolean;
|
|
9
11
|
spxSuggestions: SpxValuePair<any>[];
|
|
10
12
|
value?: SpxValuePair<any>;
|
|
11
13
|
spxChange: EventEmitter<SpxValuePair<any>>;
|
|
12
14
|
spxFocus: EventEmitter<void>;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
private subscriptionKeyUp?;
|
|
16
|
+
spxFocusIn(): void;
|
|
17
|
+
spxFocusOut(): void;
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
handleSuggestionClick(valuePair: SpxValuePair<any>): void;
|
|
20
|
+
private select;
|
|
21
|
+
private listenToKeyUp;
|
|
16
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxInputRadioComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpxInputRadioComponent, "spx-input-radio", never, { "spxName": { "alias": "spxName"; "required": false; }; "spxValidators": { "alias": "spxValidators"; "required": false; }; "spxFocused": { "alias": "spxFocused"; "required": false; }; "spxReadonly": { "alias": "spxReadonly"; "required": false; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "spxChange": "spxChange"; "spxFocus": "spxFocus"; }, never, never, true, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxInputRadioComponent, "spx-input-radio", never, { "spxName": { "alias": "spxName"; "required": false; }; "spxValidators": { "alias": "spxValidators"; "required": false; }; "spxFocused": { "alias": "spxFocused"; "required": false; }; "spxShowLabel": { "alias": "spxShowLabel"; "required": false; }; "spxReadonly": { "alias": "spxReadonly"; "required": false; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "spxChange": "spxChange"; "spxFocus": "spxFocus"; }, never, never, true, never>;
|
|
18
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { SpxValuePair } from './spx-value-interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SpxInputTextComponent {
|
|
@@ -17,6 +17,7 @@ export declare class SpxInputTextComponent {
|
|
|
17
17
|
spxChange: EventEmitter<SpxValuePair<any>>;
|
|
18
18
|
spxFocus: EventEmitter<void>;
|
|
19
19
|
spxWasInternalUpdate: boolean;
|
|
20
|
+
inputRef?: ElementRef<HTMLInputElement>;
|
|
20
21
|
spxSetFocus(): Promise<void>;
|
|
21
22
|
componentDidLoad(): void;
|
|
22
23
|
handleBlur(): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum SpxInputTypeEnum {
|
|
2
|
+
autocomplete = "autocomplete",
|
|
3
|
+
date = "date",
|
|
4
|
+
float = "float",
|
|
5
|
+
overlay = "overlay",
|
|
6
|
+
overlayNumber = "overlaynumber",
|
|
7
|
+
radio = "radio",
|
|
8
|
+
number = "number",
|
|
9
|
+
password = "password",
|
|
10
|
+
text = "text",
|
|
11
|
+
textNumericKeyboard = "textNumericKeyboard"
|
|
12
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { SpxInputTextComponent } from './spx-input-text.component';
|
|
2
3
|
import { SpxValuePair } from './spx-value-interface';
|
|
4
|
+
import { SpxInputRadioComponent } from './spx-input-radio.component';
|
|
5
|
+
import { SpxInputTypeEnum } from './spx-input-type.enum';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
export declare class SpxInputComponent {
|
|
5
8
|
spxLabel: string;
|
|
@@ -15,13 +18,14 @@ export declare class SpxInputComponent {
|
|
|
15
18
|
spxSelectDay: boolean;
|
|
16
19
|
spxShowEdit: boolean;
|
|
17
20
|
spxShowHelp: boolean;
|
|
21
|
+
spxShowLabel: boolean;
|
|
18
22
|
spxCompact: boolean;
|
|
19
23
|
spxShowClear: boolean;
|
|
20
24
|
spxShowSearch: boolean;
|
|
21
25
|
spxShowValidationMessages?: boolean | null | undefined;
|
|
22
26
|
spxStep?: number;
|
|
23
27
|
spxSuggestions: SpxValuePair<boolean | number | string>[];
|
|
24
|
-
spxType:
|
|
28
|
+
spxType: SpxInputTypeEnum;
|
|
25
29
|
spxValidators: any[];
|
|
26
30
|
value: SpxValuePair<any>;
|
|
27
31
|
spxCapitalize: boolean;
|
|
@@ -32,14 +36,15 @@ export declare class SpxInputComponent {
|
|
|
32
36
|
spxEdit: EventEmitter<void>;
|
|
33
37
|
spxHelp: EventEmitter<void>;
|
|
34
38
|
spxSearch: EventEmitter<void>;
|
|
39
|
+
textInput?: SpxInputTextComponent;
|
|
40
|
+
radioInput?: SpxInputRadioComponent;
|
|
35
41
|
spxFocused: boolean;
|
|
36
|
-
spxSetFocus(): Promise<void>;
|
|
37
42
|
handleBlur(): void;
|
|
38
43
|
handleChange(event: any): void;
|
|
39
44
|
handleClear(): void;
|
|
40
45
|
handleFocus(): void;
|
|
41
46
|
handleSearch(): void;
|
|
42
|
-
|
|
47
|
+
setFocusIn(): void;
|
|
43
48
|
setFocusOut(): void;
|
|
44
49
|
handleEdit(): void;
|
|
45
50
|
handleHelp(): void;
|
|
@@ -53,5 +58,5 @@ export declare class SpxInputComponent {
|
|
|
53
58
|
registerOnChange(fn: (value: any) => void): void;
|
|
54
59
|
registerOnTouched(fn: () => void): void;
|
|
55
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxInputComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpxInputComponent, "spx-input", never, { "spxLabel": { "alias": "spxLabel"; "required": false; }; "spxMax": { "alias": "spxMax"; "required": false; }; "spxMin": { "alias": "spxMin"; "required": false; }; "spxName": { "alias": "spxName"; "required": false; }; "spxReadonly": { "alias": "spxReadonly"; "required": false; }; "spxAutofocus": { "alias": "spxAutofocus"; "required": false; }; "spxInputMode": { "alias": "spxInputMode"; "required": false; }; "spxPattern": { "alias": "spxPattern"; "required": false; }; "spxRequired": { "alias": "spxRequired"; "required": false; }; "spxSelectMonth": { "alias": "spxSelectMonth"; "required": false; }; "spxSelectDay": { "alias": "spxSelectDay"; "required": false; }; "spxShowEdit": { "alias": "spxShowEdit"; "required": false; }; "spxShowHelp": { "alias": "spxShowHelp"; "required": false; }; "spxCompact": { "alias": "spxCompact"; "required": false; }; "spxShowClear": { "alias": "spxShowClear"; "required": false; }; "spxShowSearch": { "alias": "spxShowSearch"; "required": false; }; "spxShowValidationMessages": { "alias": "spxShowValidationMessages"; "required": false; }; "spxStep": { "alias": "spxStep"; "required": false; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; "spxType": { "alias": "spxType"; "required": false; }; "spxValidators": { "alias": "spxValidators"; "required": false; }; "value": { "alias": "value"; "required": false; }; "spxCapitalize": { "alias": "spxCapitalize"; "required": false; }; "spxFocused": { "alias": "spxFocused"; "required": false; }; }, { "spxBlur": "spxBlur"; "spxClear": "spxClear"; "spxChange": "spxChange"; "spxFocus": "spxFocus"; "spxEdit": "spxEdit"; "spxHelp": "spxHelp"; "spxSearch": "spxSearch"; }, never, ["*"], true, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxInputComponent, "spx-input", never, { "spxLabel": { "alias": "spxLabel"; "required": false; }; "spxMax": { "alias": "spxMax"; "required": false; }; "spxMin": { "alias": "spxMin"; "required": false; }; "spxName": { "alias": "spxName"; "required": false; }; "spxReadonly": { "alias": "spxReadonly"; "required": false; }; "spxAutofocus": { "alias": "spxAutofocus"; "required": false; }; "spxInputMode": { "alias": "spxInputMode"; "required": false; }; "spxPattern": { "alias": "spxPattern"; "required": false; }; "spxRequired": { "alias": "spxRequired"; "required": false; }; "spxSelectMonth": { "alias": "spxSelectMonth"; "required": false; }; "spxSelectDay": { "alias": "spxSelectDay"; "required": false; }; "spxShowEdit": { "alias": "spxShowEdit"; "required": false; }; "spxShowHelp": { "alias": "spxShowHelp"; "required": false; }; "spxShowLabel": { "alias": "spxShowLabel"; "required": false; }; "spxCompact": { "alias": "spxCompact"; "required": false; }; "spxShowClear": { "alias": "spxShowClear"; "required": false; }; "spxShowSearch": { "alias": "spxShowSearch"; "required": false; }; "spxShowValidationMessages": { "alias": "spxShowValidationMessages"; "required": false; }; "spxStep": { "alias": "spxStep"; "required": false; }; "spxSuggestions": { "alias": "spxSuggestions"; "required": false; }; "spxType": { "alias": "spxType"; "required": false; }; "spxValidators": { "alias": "spxValidators"; "required": false; }; "value": { "alias": "value"; "required": false; }; "spxCapitalize": { "alias": "spxCapitalize"; "required": false; }; "spxFocused": { "alias": "spxFocused"; "required": false; }; }, { "spxBlur": "spxBlur"; "spxClear": "spxClear"; "spxChange": "spxChange"; "spxFocus": "spxFocus"; "spxEdit": "spxEdit"; "spxHelp": "spxHelp"; "spxSearch": "spxSearch"; }, never, ["*"], true, never>;
|
|
57
62
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class SpxHomeTileComponent {
|
|
3
|
+
spxAutofocus?: boolean;
|
|
3
4
|
spxClass?: string;
|
|
5
|
+
spxSubtitle?: string;
|
|
4
6
|
spxTitle?: string;
|
|
7
|
+
private buttonRef?;
|
|
8
|
+
setFocus(): void;
|
|
5
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxHomeTileComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpxHomeTileComponent, "spx-home-tile", never, { "spxClass": { "alias": "spxClass"; "required": false; }; "spxTitle": { "alias": "spxTitle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpxHomeTileComponent, "spx-home-tile", never, { "spxAutofocus": { "alias": "spxAutofocus"; "required": false; }; "spxClass": { "alias": "spxClass"; "required": false; }; "spxSubtitle": { "alias": "spxSubtitle"; "required": false; }; "spxTitle": { "alias": "spxTitle"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
11
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { SpxNavigationItemI } from './spx-navigation-item.interface';
|
|
3
|
+
import { SpxHomeTileComponent } from './spx-home-tile.component';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class SpxNavigationComponent {
|
|
6
|
+
tiles?: QueryList<SpxHomeTileComponent>;
|
|
5
7
|
iconTemplateRef?: TemplateRef<any>;
|
|
6
8
|
navItems: SpxNavigationItemI[];
|
|
7
9
|
spxClick: EventEmitter<string>;
|
|
8
10
|
constructor();
|
|
11
|
+
setFocus(): void;
|
|
9
12
|
onNavigate(link: string): void;
|
|
10
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpxNavigationComponent, never>;
|
|
11
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpxNavigationComponent, "spx-navigation", never, { "navItems": { "alias": "navItems"; "required": false; }; }, { "spxClick": "spxClick"; }, ["iconTemplateRef"], never, true, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './spx-number-check.component';
|