@softpak/components 20.6.8 → 20.6.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.
@@ -1 +1 @@
1
- {"version":3,"file":"softpak-components-spx-validation-messages.mjs","sources":["../../../../projects/softpak/components/spx-validation-messages/spx-validation-messages.component.ts","../../../../projects/softpak/components/spx-validation-messages/spx-validation-messages.component.html","../../../../projects/softpak/components/spx-validation-messages/softpak-components-spx-validation-messages.ts"],"sourcesContent":["import { AbstractControl, ValidationErrors } from '@angular/forms';\nimport { ChangeDetectionStrategy, Component, computed, effect, inject, input, signal } from '@angular/core';\nimport { spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextInvalidCode, spxTextPatternNotValid, spxTextRequired, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort } from '@softpak/components/spx-translate';\n\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'spx-validation-messages',\n standalone: true,\n templateUrl: './spx-validation-messages.component.html',\n styleUrl: './spx-validation-messages.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SpxValidationMessagesComponent {\n protected readonly errors = input.required<ValidationErrors>();\n protected readonly touched = input.required<boolean>();\n protected readonly formControlI = input<AbstractControl<any, any> | undefined>(undefined);\n protected readonly fieldLabel = input<string | undefined>(undefined);\n protected readonly submitTried = input<boolean | undefined>(undefined);\n protected readonly show = signal(false);\n private readonly shouldShow = computed(() => this.formControlI() && this.errors() && (this.touched() || this.submitTried()));\n\n private pending: ReturnType<typeof setTimeout> | null = null;\n private token = 0;\n\n // Short delay to avoid growing DOM while clicking on something.\n private _delayShow = effect(() => {\n const want = this.shouldShow();\n\n // Invalidate any older timeouts.\n this.token++;\n\n // Cancel any in-flight timeout.\n if (this.pending) {\n clearTimeout(this.pending);\n this.pending = null;\n }\n\n if (want) {\n const myToken = this.token;\n this.pending = setTimeout(() => {\n // Only set true if no newer change happened AND the condition still holds.\n if (myToken === this.token && this.shouldShow()) {\n this.show.set(true);\n }\n }, 500); // your delay\n } else {\n // Turn off immediately.\n this.show.set(false);\n }\n\n // Clean up if the effect is torn down.\n onCleanup(() => {\n if (this.pending) {\n clearTimeout(this.pending);\n this.pending = null;\n }\n });\n });\n\n translateService = inject(TranslateService);\n\n textTooLong = computed(() => {\n return this.translateService.instant(spxTextTooLong, { fieldLabel: this.fieldLabel(), error: this.errors()[\"maxlength\"].requiredLength });\n });\n\n textTooShort = computed(() => {\n return this.translateService.instant(spxTextTooShort, { fieldLabel: this.fieldLabel(), error: this.errors()[\"minlength\"].requiredLength });\n });\n\n textTooHigh = computed(() => {\n return this.translateService.instant(spxTextTooHigh, { fieldLabel: this.fieldLabel(), error: this.errors()[\"max\"].max });\n });\n\n textTooLow = computed(() => {\n return this.translateService.instant(spxTextTooLow, { fieldLabel: this.fieldLabel(), error: this.errors()[\"min\"].min });\n });\n\n textPatternNotValid = computed(() => {\n return this.translateService.instant(spxTextPatternNotValid, { fieldLabel: this.fieldLabel() });\n });\n\n textRequired = computed(() => {\n return this.translateService.instant(spxTextRequired, { fieldLabel: this.fieldLabel() });\n });\n\n textChoosePast = computed(() => {\n return this.translateService.instant(spxTextChoosePast);\n });\n\n textChooseFuture = computed(() => {\n return this.translateService.instant(spxTextChooseFuture);\n });\n\n textChooseValidMonth = computed(() => {\n return this.translateService.instant(spxTextChooseValidMonth);\n });\n\n textDateMayNotBeFuture = computed(() => {\n return this.translateService.instant(spxTextDateMayNotBeFuture);\n });\n\n textDateMayNotBePast = computed(() => {\n return this.translateService.instant(spxTextDateMayNotBePast);\n });\n\n textInvalidCode = computed(() => {\n return this.translateService.instant(spxTextInvalidCode, { codeName: this.errors()[\"invalidCode\"].name, codeCode: this.errors()[\"invalidCode\"].code });\n });\n\n}\nfunction onCleanup(arg0: () => void) {\n throw new Error('Function not implemented.');\n}\n\n","\n@if (show()) {\n @if (errors()[\"maxlength\"]) {\n <div>{{ textTooLong() }}</div>\n }\n @if (errors()[\"minlength\"]) {\n <div>{{ textTooShort() }}</div>\n }\n @if (errors()[\"max\"]) {\n <div>{{ textTooHigh() }}</div>\n }\n @if (errors()[\"min\"]) {\n <div>{{ textTooLow() }}</div>\n }\n @if (errors()[\"pattern\"]) {\n <div>{{ textPatternNotValid() }}</div>\n }\n @if (errors()[\"required\"]) {\n <div>{{ textRequired() }}</div>\n }\n @if (errors()[\"year\"]) {\n <div>{{ textChoosePast() }}</div>\n }\n @if (errors()[\"yearFuture\"]) {\n <div>{{ textChooseFuture() }}</div>\n }\n @if (errors()[\"month\"]) {\n <div>{{ textChooseValidMonth() }}</div>\n }\n @if (errors()[\"future\"]) {\n <div>{{ textDateMayNotBeFuture() }}</div>\n }\n @if (errors()[\"past\"]) {\n <div>{{ textDateMayNotBePast() }}</div>\n }\n @if (errors()[\"invalidCode\"]) {\n <div>{{ textInvalidCode() }}</div>\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAaa,8BAA8B,CAAA;AAP3C,IAAA,WAAA,GAAA;AAQqB,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,iDAAoB;AAC3C,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,kDAAW;AACnC,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAwC,SAAS,wDAAC;AACtE,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAqB,SAAS,sDAAC;AACjD,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAsB,SAAS,uDAAC;AACnD,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,KAAK,gDAAC;AACtB,QAAA,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,YAAY,EAAE,IAAI,IAAI,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,OAAO,EAAE,IAAI,IAAI,CAA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A,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,ovBCb3C,07BAsCC,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDzBY,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAP1C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,EAAA,UAAA,EACvB,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,07BAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;AAoGjD,SAAS,SAAS,CAAC,IAAgB,EAAA;AACjC,IAAA,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC;AAC9C;;AEjHA;;AAEG;;;;"}
1
+ {"version":3,"file":"softpak-components-spx-validation-messages.mjs","sources":["../../../../projects/softpak/components/spx-validation-messages/spx-validation-messages.component.ts","../../../../projects/softpak/components/spx-validation-messages/spx-validation-messages.component.html","../../../../projects/softpak/components/spx-validation-messages/softpak-components-spx-validation-messages.ts"],"sourcesContent":["import { AbstractControl, ValidationErrors } from '@angular/forms';\nimport { ChangeDetectionStrategy, Component, computed, effect, inject, input, signal } from '@angular/core';\nimport { spxTextChooseFuture, spxTextChoosePast, spxTextChooseValidMonth, spxTextDateMayNotBeFuture, spxTextDateMayNotBePast, spxTextInvalidCode, spxTextPatternNotValid, spxTextRequired, spxTextTooHigh, spxTextTooLong, spxTextTooLow, spxTextTooShort } from '@softpak/components/spx-translate';\n\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'spx-validation-messages',\n standalone: true,\n templateUrl: './spx-validation-messages.component.html',\n styleUrl: './spx-validation-messages.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SpxValidationMessagesComponent {\n public readonly errors = input.required<ValidationErrors>();\n public readonly touched = input.required<boolean>();\n public readonly formControlI = input<AbstractControl<any, any> | undefined>(undefined);\n public readonly fieldLabel = input<string | undefined>(undefined);\n public readonly submitTried = input<boolean | undefined>(undefined);\n protected readonly show = signal(false);\n private readonly shouldShow = computed(() => this.formControlI() && this.errors() && (this.touched() || this.submitTried()));\n\n private pending: ReturnType<typeof setTimeout> | null = null;\n private token = 0;\n\n // Short delay to avoid growing DOM while clicking on something.\n private _delayShow = effect(() => {\n const want = this.shouldShow();\n\n // Invalidate any older timeouts.\n this.token++;\n\n // Cancel any in-flight timeout.\n if (this.pending) {\n clearTimeout(this.pending);\n this.pending = null;\n }\n\n if (want) {\n const myToken = this.token;\n this.pending = setTimeout(() => {\n // Only set true if no newer change happened AND the condition still holds.\n if (myToken === this.token && this.shouldShow()) {\n this.show.set(true);\n }\n }, 500); // your delay\n } else {\n // Turn off immediately.\n this.show.set(false);\n }\n\n // Clean up if the effect is torn down.\n onCleanup(() => {\n if (this.pending) {\n clearTimeout(this.pending);\n this.pending = null;\n }\n });\n });\n\n translateService = inject(TranslateService);\n\n textTooLong = computed(() => {\n return this.translateService.instant(spxTextTooLong, { fieldLabel: this.fieldLabel(), error: this.errors()[\"maxlength\"].requiredLength });\n });\n\n textTooShort = computed(() => {\n return this.translateService.instant(spxTextTooShort, { fieldLabel: this.fieldLabel(), error: this.errors()[\"minlength\"].requiredLength });\n });\n\n textTooHigh = computed(() => {\n return this.translateService.instant(spxTextTooHigh, { fieldLabel: this.fieldLabel(), error: this.errors()[\"max\"].max });\n });\n\n textTooLow = computed(() => {\n return this.translateService.instant(spxTextTooLow, { fieldLabel: this.fieldLabel(), error: this.errors()[\"min\"].min });\n });\n\n textPatternNotValid = computed(() => {\n return this.translateService.instant(spxTextPatternNotValid, { fieldLabel: this.fieldLabel() });\n });\n\n textRequired = computed(() => {\n return this.translateService.instant(spxTextRequired, { fieldLabel: this.fieldLabel() });\n });\n\n textChoosePast = computed(() => {\n return this.translateService.instant(spxTextChoosePast);\n });\n\n textChooseFuture = computed(() => {\n return this.translateService.instant(spxTextChooseFuture);\n });\n\n textChooseValidMonth = computed(() => {\n return this.translateService.instant(spxTextChooseValidMonth);\n });\n\n textDateMayNotBeFuture = computed(() => {\n return this.translateService.instant(spxTextDateMayNotBeFuture);\n });\n\n textDateMayNotBePast = computed(() => {\n return this.translateService.instant(spxTextDateMayNotBePast);\n });\n\n textInvalidCode = computed(() => {\n return this.translateService.instant(spxTextInvalidCode, { codeName: this.errors()[\"invalidCode\"].name, codeCode: this.errors()[\"invalidCode\"].code });\n });\n\n}\nfunction onCleanup(arg0: () => void) {\n throw new Error('Function not implemented.');\n}\n\n","\n@if (show()) {\n @if (errors()[\"maxlength\"]) {\n <div>{{ textTooLong() }}</div>\n }\n @if (errors()[\"minlength\"]) {\n <div>{{ textTooShort() }}</div>\n }\n @if (errors()[\"max\"]) {\n <div>{{ textTooHigh() }}</div>\n }\n @if (errors()[\"min\"]) {\n <div>{{ textTooLow() }}</div>\n }\n @if (errors()[\"pattern\"]) {\n <div>{{ textPatternNotValid() }}</div>\n }\n @if (errors()[\"required\"]) {\n <div>{{ textRequired() }}</div>\n }\n @if (errors()[\"year\"]) {\n <div>{{ textChoosePast() }}</div>\n }\n @if (errors()[\"yearFuture\"]) {\n <div>{{ textChooseFuture() }}</div>\n }\n @if (errors()[\"month\"]) {\n <div>{{ textChooseValidMonth() }}</div>\n }\n @if (errors()[\"future\"]) {\n <div>{{ textDateMayNotBeFuture() }}</div>\n }\n @if (errors()[\"past\"]) {\n <div>{{ textDateMayNotBePast() }}</div>\n }\n @if (errors()[\"invalidCode\"]) {\n <div>{{ textInvalidCode() }}</div>\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAaa,8BAA8B,CAAA;AAP3C,IAA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GED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softpak/components",
3
- "version": "20.6.8",
3
+ "version": "20.6.9",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "20.x.x",
@@ -40,9 +40,9 @@
40
40
  "types": "./spx-alert/index.d.ts",
41
41
  "default": "./fesm2022/softpak-components-spx-alert.mjs"
42
42
  },
43
- "./spx-app-expiry": {
44
- "types": "./spx-app-expiry/index.d.ts",
45
- "default": "./fesm2022/softpak-components-spx-app-expiry.mjs"
43
+ "./spx-app-configuration": {
44
+ "types": "./spx-app-configuration/index.d.ts",
45
+ "default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
46
46
  },
47
47
  "./spx-button": {
48
48
  "types": "./spx-button/index.d.ts",
@@ -52,18 +52,18 @@
52
52
  "types": "./spx-card/index.d.ts",
53
53
  "default": "./fesm2022/softpak-components-spx-card.mjs"
54
54
  },
55
- "./spx-app-configuration": {
56
- "types": "./spx-app-configuration/index.d.ts",
57
- "default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
55
+ "./spx-capitalize": {
56
+ "types": "./spx-capitalize/index.d.ts",
57
+ "default": "./fesm2022/softpak-components-spx-capitalize.mjs"
58
+ },
59
+ "./spx-app-expiry": {
60
+ "types": "./spx-app-expiry/index.d.ts",
61
+ "default": "./fesm2022/softpak-components-spx-app-expiry.mjs"
58
62
  },
59
63
  "./spx-change-details": {
60
64
  "types": "./spx-change-details/index.d.ts",
61
65
  "default": "./fesm2022/softpak-components-spx-change-details.mjs"
62
66
  },
63
- "./spx-capitalize": {
64
- "types": "./spx-capitalize/index.d.ts",
65
- "default": "./fesm2022/softpak-components-spx-capitalize.mjs"
66
- },
67
67
  "./spx-channel-selection": {
68
68
  "types": "./spx-channel-selection/index.d.ts",
69
69
  "default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
@@ -92,22 +92,22 @@
92
92
  "types": "./spx-inputs/index.d.ts",
93
93
  "default": "./fesm2022/softpak-components-spx-inputs.mjs"
94
94
  },
95
- "./spx-navigation": {
96
- "types": "./spx-navigation/index.d.ts",
97
- "default": "./fesm2022/softpak-components-spx-navigation.mjs"
98
- },
99
- "./spx-number-check": {
100
- "types": "./spx-number-check/index.d.ts",
101
- "default": "./fesm2022/softpak-components-spx-number-check.mjs"
102
- },
103
95
  "./spx-pagination": {
104
96
  "types": "./spx-pagination/index.d.ts",
105
97
  "default": "./fesm2022/softpak-components-spx-pagination.mjs"
106
98
  },
99
+ "./spx-navigation": {
100
+ "types": "./spx-navigation/index.d.ts",
101
+ "default": "./fesm2022/softpak-components-spx-navigation.mjs"
102
+ },
107
103
  "./spx-patch": {
108
104
  "types": "./spx-patch/index.d.ts",
109
105
  "default": "./fesm2022/softpak-components-spx-patch.mjs"
110
106
  },
107
+ "./spx-number-check": {
108
+ "types": "./spx-number-check/index.d.ts",
109
+ "default": "./fesm2022/softpak-components-spx-number-check.mjs"
110
+ },
111
111
  "./spx-pipes": {
112
112
  "types": "./spx-pipes/index.d.ts",
113
113
  "default": "./fesm2022/softpak-components-spx-pipes.mjs"
@@ -116,10 +116,6 @@
116
116
  "types": "./spx-spinner/index.d.ts",
117
117
  "default": "./fesm2022/softpak-components-spx-spinner.mjs"
118
118
  },
119
- "./spx-progress-bar": {
120
- "types": "./spx-progress-bar/index.d.ts",
121
- "default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
122
- },
123
119
  "./spx-stock-info": {
124
120
  "types": "./spx-stock-info/index.d.ts",
125
121
  "default": "./fesm2022/softpak-components-spx-stock-info.mjs"
@@ -128,22 +124,26 @@
128
124
  "types": "./spx-storage/index.d.ts",
129
125
  "default": "./fesm2022/softpak-components-spx-storage.mjs"
130
126
  },
131
- "./spx-suggestion": {
132
- "types": "./spx-suggestion/index.d.ts",
133
- "default": "./fesm2022/softpak-components-spx-suggestion.mjs"
134
- },
135
- "./spx-toggle": {
136
- "types": "./spx-toggle/index.d.ts",
137
- "default": "./fesm2022/softpak-components-spx-toggle.mjs"
127
+ "./spx-progress-bar": {
128
+ "types": "./spx-progress-bar/index.d.ts",
129
+ "default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
138
130
  },
139
131
  "./spx-tabs": {
140
132
  "types": "./spx-tabs/index.d.ts",
141
133
  "default": "./fesm2022/softpak-components-spx-tabs.mjs"
142
134
  },
135
+ "./spx-suggestion": {
136
+ "types": "./spx-suggestion/index.d.ts",
137
+ "default": "./fesm2022/softpak-components-spx-suggestion.mjs"
138
+ },
143
139
  "./spx-toaster": {
144
140
  "types": "./spx-toaster/index.d.ts",
145
141
  "default": "./fesm2022/softpak-components-spx-toaster.mjs"
146
142
  },
143
+ "./spx-toggle": {
144
+ "types": "./spx-toggle/index.d.ts",
145
+ "default": "./fesm2022/softpak-components-spx-toggle.mjs"
146
+ },
147
147
  "./spx-translate": {
148
148
  "types": "./spx-translate/index.d.ts",
149
149
  "default": "./fesm2022/softpak-components-spx-translate.mjs"
@@ -152,14 +152,14 @@
152
152
  "types": "./spx-update/index.d.ts",
153
153
  "default": "./fesm2022/softpak-components-spx-update.mjs"
154
154
  },
155
- "./spx-validation": {
156
- "types": "./spx-validation/index.d.ts",
157
- "default": "./fesm2022/softpak-components-spx-validation.mjs"
158
- },
159
155
  "./spx-validation-messages": {
160
156
  "types": "./spx-validation-messages/index.d.ts",
161
157
  "default": "./fesm2022/softpak-components-spx-validation-messages.mjs"
162
158
  },
159
+ "./spx-validation": {
160
+ "types": "./spx-validation/index.d.ts",
161
+ "default": "./fesm2022/softpak-components-spx-validation.mjs"
162
+ },
163
163
  "./spx-welcome": {
164
164
  "types": "./spx-welcome/index.d.ts",
165
165
  "default": "./fesm2022/softpak-components-spx-welcome.mjs"
@@ -3,11 +3,11 @@ import { ValidationErrors, AbstractControl } from '@angular/forms';
3
3
  import { TranslateService } from '@ngx-translate/core';
4
4
 
5
5
  declare class SpxValidationMessagesComponent {
6
- protected readonly errors: _angular_core.InputSignal<ValidationErrors>;
7
- protected readonly touched: _angular_core.InputSignal<boolean>;
8
- protected readonly formControlI: _angular_core.InputSignal<AbstractControl<any, any, any> | undefined>;
9
- protected readonly fieldLabel: _angular_core.InputSignal<string | undefined>;
10
- protected readonly submitTried: _angular_core.InputSignal<boolean | undefined>;
6
+ readonly errors: _angular_core.InputSignal<ValidationErrors>;
7
+ readonly touched: _angular_core.InputSignal<boolean>;
8
+ readonly formControlI: _angular_core.InputSignal<AbstractControl<any, any, any> | undefined>;
9
+ readonly fieldLabel: _angular_core.InputSignal<string | undefined>;
10
+ readonly submitTried: _angular_core.InputSignal<boolean | undefined>;
11
11
  protected readonly show: _angular_core.WritableSignal<boolean>;
12
12
  private readonly shouldShow;
13
13
  private pending;