@softpak/components 19.17.0-beta.4 → 19.17.0-beta.5

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.
@@ -19,15 +19,15 @@ const ctrlUseCategories = 'useCategories';
19
19
  class SpxChangeDetailsComponent {
20
20
  constructor(formBuilder) {
21
21
  this.formBuilder = formBuilder;
22
- this.formGroup = input.required();
22
+ this.formGroup = input();
23
23
  this.suggestions = input({});
24
- this.textCategory = input.required();
25
- this.textContainerNumber = input.required();
26
- this.textContainerType = input.required();
27
- this.textCustomer = input.required();
28
- this.textLicensePlate = input.required();
29
- this.textSave = input.required();
30
- this.textTonsTested = input.required();
24
+ this.textCategory = input();
25
+ this.textContainerNumber = input();
26
+ this.textContainerType = input();
27
+ this.textCustomer = input();
28
+ this.textLicensePlate = input();
29
+ this.textSave = input();
30
+ this.textTonsTested = input();
31
31
  this.spxBlurCategory = output();
32
32
  this.spxBlurContainerType = output();
33
33
  this.spxSearchCategory = output();
@@ -110,10 +110,10 @@ class SpxChangeDetailsComponent {
110
110
  }
111
111
  ]
112
112
  };
113
- this.ctrlCategory = computed(() => this.formGroup().get(ctrlCategory));
114
- this.ctrlCustomer = computed(() => this.formGroup().get(ctrlCustomer));
115
- this.ctrlContainerType = computed(() => this.formGroup().get(ctrlContainerType));
116
- this.ctrlLicensePlate = computed(() => this.formGroup().get(ctrlLicensePlate));
113
+ this.ctrlCategory = computed(() => this.formGroup()?.get(ctrlCategory));
114
+ this.ctrlCustomer = computed(() => this.formGroup()?.get(ctrlCustomer));
115
+ this.ctrlContainerType = computed(() => this.formGroup()?.get(ctrlContainerType));
116
+ this.ctrlLicensePlate = computed(() => this.formGroup()?.get(ctrlLicensePlate));
117
117
  this.ctrlTonsTested = computed(() => this.formGroup()?.get(ctrlTonsTested));
118
118
  this.ctrlUseCategories = computed(() => this.formGroup()?.get(ctrlUseCategories));
119
119
  }
@@ -165,7 +165,7 @@ class SpxChangeDetailsComponent {
165
165
  });
166
166
  }
167
167
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: SpxChangeDetailsComponent, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
168
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.5", type: SpxChangeDetailsComponent, isStandalone: true, selector: "spx-change-details", inputs: { formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, textCategory: { classPropertyName: "textCategory", publicName: "textCategory", isSignal: true, isRequired: true, transformFunction: null }, textContainerNumber: { classPropertyName: "textContainerNumber", publicName: "textContainerNumber", isSignal: true, isRequired: true, transformFunction: null }, textContainerType: { classPropertyName: "textContainerType", publicName: "textContainerType", isSignal: true, isRequired: true, transformFunction: null }, textCustomer: { classPropertyName: "textCustomer", publicName: "textCustomer", isSignal: true, isRequired: true, transformFunction: null }, textLicensePlate: { classPropertyName: "textLicensePlate", publicName: "textLicensePlate", isSignal: true, isRequired: true, transformFunction: null }, textSave: { classPropertyName: "textSave", publicName: "textSave", isSignal: true, isRequired: true, transformFunction: null }, textTonsTested: { classPropertyName: "textTonsTested", publicName: "textTonsTested", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { spxBlurCategory: "spxBlurCategory", spxBlurContainerType: "spxBlurContainerType", spxSearchCategory: "spxSearchCategory", spxSearchContainerType: "spxSearchContainerType", spxSearchTonsTested: "spxSearchTonsTested", submit: "submit" }, ngImport: i0, template: "<form [formGroup]=\"formGroup()\" class=\"max-w-lg mx-auto flex flex-col gap-3\" (ngSubmit)=\"onSubmit()\">\r\n <spx-form-view\r\n [spxFormGroup]=\"formGroup()\"\r\n [spxForm]=\"form\"\r\n [spxSuggestions]=\"suggestions()\"\r\n (spxBlur)=\"onBlur($event)\"\r\n (spxSearch)=\"onSearch($event)\">\r\n </spx-form-view>\r\n</form>", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: SpxFormViewComponent, selector: "spx-form-view", inputs: ["spxFormGroup", "spxForm", "spxSuggestions"], outputs: ["spxBlur", "spxClick", "spxSearch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
168
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.5", type: SpxChangeDetailsComponent, isStandalone: true, selector: "spx-change-details", inputs: { formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, textCategory: { classPropertyName: "textCategory", publicName: "textCategory", isSignal: true, isRequired: false, transformFunction: null }, textContainerNumber: { classPropertyName: "textContainerNumber", publicName: "textContainerNumber", isSignal: true, isRequired: false, transformFunction: null }, textContainerType: { classPropertyName: "textContainerType", publicName: "textContainerType", isSignal: true, isRequired: false, transformFunction: null }, textCustomer: { classPropertyName: "textCustomer", publicName: "textCustomer", isSignal: true, isRequired: false, transformFunction: null }, textLicensePlate: { classPropertyName: "textLicensePlate", publicName: "textLicensePlate", isSignal: true, isRequired: false, transformFunction: null }, textSave: { classPropertyName: "textSave", publicName: "textSave", isSignal: true, isRequired: false, transformFunction: null }, textTonsTested: { classPropertyName: "textTonsTested", publicName: "textTonsTested", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { spxBlurCategory: "spxBlurCategory", spxBlurContainerType: "spxBlurContainerType", spxSearchCategory: "spxSearchCategory", spxSearchContainerType: "spxSearchContainerType", spxSearchTonsTested: "spxSearchTonsTested", submit: "submit" }, ngImport: i0, template: "<form [formGroup]=\"formGroup()!\" class=\"max-w-lg mx-auto flex flex-col gap-3\" (ngSubmit)=\"onSubmit()\">\r\n <spx-form-view\r\n [spxFormGroup]=\"formGroup()!\"\r\n [spxForm]=\"form\"\r\n [spxSuggestions]=\"suggestions()\"\r\n (spxBlur)=\"onBlur($event)\"\r\n (spxSearch)=\"onSearch($event)\">\r\n </spx-form-view>\r\n</form>", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: SpxFormViewComponent, selector: "spx-form-view", inputs: ["spxFormGroup", "spxForm", "spxSuggestions"], outputs: ["spxBlur", "spxClick", "spxSearch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
169
169
  }
170
170
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: SpxChangeDetailsComponent, decorators: [{
171
171
  type: Component,
@@ -173,7 +173,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
173
173
  FormsModule,
174
174
  ReactiveFormsModule,
175
175
  SpxFormViewComponent,
176
- ], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"formGroup()\" class=\"max-w-lg mx-auto flex flex-col gap-3\" (ngSubmit)=\"onSubmit()\">\r\n <spx-form-view\r\n [spxFormGroup]=\"formGroup()\"\r\n [spxForm]=\"form\"\r\n [spxSuggestions]=\"suggestions()\"\r\n (spxBlur)=\"onBlur($event)\"\r\n (spxSearch)=\"onSearch($event)\">\r\n </spx-form-view>\r\n</form>" }]
176
+ ], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"formGroup()!\" class=\"max-w-lg mx-auto flex flex-col gap-3\" (ngSubmit)=\"onSubmit()\">\r\n <spx-form-view\r\n [spxFormGroup]=\"formGroup()!\"\r\n [spxForm]=\"form\"\r\n [spxSuggestions]=\"suggestions()\"\r\n (spxBlur)=\"onBlur($event)\"\r\n (spxSearch)=\"onSearch($event)\">\r\n </spx-form-view>\r\n</form>" }]
177
177
  }], ctorParameters: () => [{ type: i1.FormBuilder }] });
178
178
 
179
179
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"softpak-components-spx-change-details.mjs","sources":["../../../../projects/softpak/components/spx-change-details/spx-change-details.component.ts","../../../../projects/softpak/components/spx-change-details/spx-change-details.component.html","../../../../projects/softpak/components/spx-change-details/softpak-components-spx-change-details.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { Subscription } from 'rxjs';\r\nimport { SpxChangeDetailsValueI } from './spx-change-details-value.interface';\r\nimport { SpxFormViewComponent, SpxFormI, SpxFormButtonTypeEnum, SpxFormFieldI } from '@softpak/components/spx-form-view';\r\nimport { SpxSeverityEnum, valuePairToValue } from '@softpak/components/spx-helpers';\r\nimport { SpxValuePair, SpxInputTypeEnum } from '@softpak/components/spx-inputs';\r\nimport { spxValidatorRequired } from '@softpak/components/spx-validation';\r\n\r\nexport const sectionChangeDetails = 'changeDetails';\r\nexport const ctrlContainerNumber = 'containerNumber';\r\nexport const ctrlContainerSeqNr = 'containerSeqNr';\r\nexport const ctrlContainerType = 'containerType';\r\nexport const ctrlCustomer = 'customer';\r\nexport const ctrlTonsTested = 'tonsTested';\r\nexport const ctrlLicensePlate = 'licensePlate';\r\nexport const ctrlCategory = 'category';\r\nexport const ctrlUseCategories = 'useCategories';\r\n\r\n@Component({\r\n selector: 'spx-change-details',\r\n templateUrl: './spx-change-details.component.html',\r\n imports: [\r\n FormsModule,\r\n ReactiveFormsModule,\r\n SpxFormViewComponent,\r\n ],\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class SpxChangeDetailsComponent {\r\n readonly formGroup = input.required<FormGroup>();\r\n readonly suggestions = input<any>({});\r\n readonly textCategory = input.required<string>();\r\n readonly textContainerNumber = input.required<string>();\r\n readonly textContainerType = input.required<string>();\r\n readonly textCustomer = input.required<string>();\r\n readonly textLicensePlate = input.required<string>();\r\n readonly textSave = input.required<string>();\r\n readonly textTonsTested = input.required<string>();\r\n spxBlurCategory = output<SpxValuePair<string>>();\r\n spxBlurContainerType = output<SpxValuePair<string>>();\r\n spxSearchCategory = output<SpxValuePair<string>>();\r\n spxSearchContainerType = output<SpxValuePair<string>>();\r\n spxSearchTonsTested = output<SpxValuePair<string>>();\r\n submit = output<SpxChangeDetailsValueI>();\r\n\r\n form: SpxFormI = {\r\n buttons: [\r\n {\r\n severity: SpxSeverityEnum.success,\r\n type: SpxFormButtonTypeEnum.submit,\r\n label: () => this.textSave(),\r\n }\r\n ],\r\n sections: [\r\n {\r\n key: sectionChangeDetails,\r\n showTitle: () => false,\r\n fields: [\r\n {\r\n key: ctrlContainerSeqNr,\r\n type: () => SpxInputTypeEnum.hidden,\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: ctrlContainerNumber,\r\n type: () => SpxInputTypeEnum.text,\r\n label: () => this.textContainerNumber(),\r\n readonly: () => true,\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: ctrlCustomer,\r\n type: () => SpxInputTypeEnum.text,\r\n capitalize: () => true,\r\n readonly: () => true,\r\n label: () => this.textCustomer(),\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: ctrlContainerType,\r\n type: () => SpxInputTypeEnum.autocomplete,\r\n label: () => this.textContainerType(),\r\n capitalize: () => true,\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: ctrlTonsTested,\r\n type: () => SpxInputTypeEnum.radio,\r\n label: () => this.textTonsTested(),\r\n show: () => {\r\n const suggestions = this.suggestions();\r\n return suggestions?.[ctrlTonsTested] && suggestions?.[ctrlTonsTested].length && suggestions?.[ctrlTonsTested].length > 0;\r\n},\r\n validators: () => {\r\n const suggestions = this.suggestions();\r\n return suggestions?.[ctrlTonsTested] && suggestions?.[ctrlTonsTested].length && suggestions?.[ctrlTonsTested].length > 0 ? [spxValidatorRequired()] : [];\r\n},\r\n },\r\n {\r\n key: ctrlLicensePlate,\r\n type: () => SpxInputTypeEnum.text,\r\n label: () => this.textLicensePlate(),\r\n capitalize: () => true,\r\n },\r\n {\r\n key: ctrlUseCategories,\r\n type: () => SpxInputTypeEnum.hidden,\r\n capitalize: () => true,\r\n },\r\n {\r\n key: ctrlCategory,\r\n type: () => SpxInputTypeEnum.autocomplete,\r\n label: () => this.textCategory(),\r\n capitalize: () => true,\r\n show: () => valuePairToValue(this.ctrlUseCategories()?.value),\r\n validators: () => valuePairToValue(this.ctrlUseCategories()?.value) ? [spxValidatorRequired()] : [],\r\n }\r\n ]\r\n }\r\n ]\r\n };\r\n\r\n readonly ctrlCategory = computed(() => this.formGroup().get(ctrlCategory) as FormControl);\r\n readonly ctrlCustomer = computed(() => this.formGroup().get(ctrlCustomer) as FormControl);\r\n readonly ctrlContainerType = computed(() => this.formGroup().get(ctrlContainerType) as FormControl);\r\n readonly ctrlLicensePlate = computed(() => this.formGroup().get(ctrlLicensePlate) as FormControl);\r\n readonly ctrlTonsTested = computed(() => this.formGroup()?.get(ctrlTonsTested) as FormControl);\r\n readonly ctrlUseCategories = computed(() => this.formGroup()?.get(ctrlUseCategories) as FormControl);\r\n\r\n private subContainerType?: Subscription;\r\n\r\n constructor(readonly formBuilder: FormBuilder) {\r\n }\r\n\r\n createForm(): FormGroup {\r\n return SpxFormViewComponent.createForm(this.formBuilder, this.form.sections);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.listenToContainerType();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.subContainerType) {\r\n this.subContainerType.unsubscribe();\r\n }\r\n }\r\n\r\n getRawValidators(formControl: FormControl) {\r\n return (formControl as any)._rawValidators;\r\n }\r\n\r\n onBlur(data: { field: SpxFormFieldI, valuePair: SpxValuePair<any> }) {\r\n if (data.field.key === ctrlCategory) {\r\n this.spxBlurCategory.emit(data.valuePair);\r\n }\r\n if (data.field.key === ctrlContainerType) {\r\n this.spxBlurContainerType.emit(data.valuePair);\r\n }\r\n }\r\n\r\n onSearch(data: { field: SpxFormFieldI, valuePair: SpxValuePair<any> }) {\r\n if (data.field.key === ctrlCategory) {\r\n this.spxSearchCategory.emit(data.valuePair);\r\n }\r\n if (data.field.key === ctrlContainerType) {\r\n this.spxSearchContainerType.emit(data.valuePair);\r\n }\r\n if (data.field.key === ctrlTonsTested) {\r\n this.spxSearchTonsTested.emit(data.valuePair);\r\n }\r\n }\r\n\r\n onSubmit(): void {\r\n this.submit.emit({\r\n category: valuePairToValue(this.ctrlUseCategories().value) ? this.ctrlCategory().value : null,\r\n containerType: this.ctrlContainerType().value,\r\n licensePlate: this.ctrlLicensePlate().value,\r\n tonsTested: this.ctrlTonsTested().value,\r\n })\r\n }\r\n\r\n private listenToContainerType(): void {\r\n this.subContainerType = this.ctrlContainerType().valueChanges.subscribe(valuePair => {\r\n this.ctrlTonsTested().setValue({ value: null });\r\n this.spxSearchTonsTested.emit(valuePair);\r\n });\r\n }\r\n}\r\n","<form [formGroup]=\"formGroup()\" class=\"max-w-lg mx-auto flex flex-col gap-3\" (ngSubmit)=\"onSubmit()\">\r\n <spx-form-view\r\n [spxFormGroup]=\"formGroup()\"\r\n [spxForm]=\"form\"\r\n [spxSuggestions]=\"suggestions()\"\r\n (spxBlur)=\"onBlur($event)\"\r\n (spxSearch)=\"onSearch($event)\">\r\n </spx-form-view>\r\n</form>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AASO,MAAM,oBAAoB,GAAG;AAC7B,MAAM,mBAAmB,GAAG;AAC5B,MAAM,kBAAkB,GAAG;AAC3B,MAAM,iBAAiB,GAAG;AAC1B,MAAM,YAAY,GAAG;AACrB,MAAM,cAAc,GAAG;AACvB,MAAM,gBAAgB,GAAG;AACzB,MAAM,YAAY,GAAG;AACrB,MAAM,iBAAiB,GAAG;MAapB,yBAAyB,CAAA;AAuGpC,IAAA,WAAA,CAAqB,WAAwB,EAAA;QAAxB,IAAW,CAAA,WAAA,GAAX,WAAW;AAtGvB,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,QAAQ,EAAa;AACvC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAM,EAAE,CAAC;AAC5B,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,QAAQ,EAAU;AACvC,QAAA,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAC,QAAQ,EAAU;AAC9C,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAC,QAAQ,EAAU;AAC5C,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,QAAQ,EAAU;AACvC,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAAC,QAAQ,EAAU;AAC3C,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,QAAQ,EAAU;AACnC,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK,CAAC,QAAQ,EAAU;QAClD,IAAe,CAAA,eAAA,GAAG,MAAM,EAAwB;QAChD,IAAoB,CAAA,oBAAA,GAAG,MAAM,EAAwB;QACrD,IAAiB,CAAA,iBAAA,GAAG,MAAM,EAAwB;QAClD,IAAsB,CAAA,sBAAA,GAAG,MAAM,EAAwB;QACvD,IAAmB,C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CAAA,SAAA,EAAA,UAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAKf,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAXrC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAErB,OAAA,EAAA;wBACL,WAAW;wBACX,mBAAmB;wBACnB,oBAAoB;AACvB,qBAAA,EAAA,UAAA,EACW,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,yVAAA,EAAA;;;AE5BnD;;AAEG;;;;"}
1
+ {"version":3,"file":"softpak-components-spx-change-details.mjs","sources":["../../../../projects/softpak/components/spx-change-details/spx-change-details.component.ts","../../../../projects/softpak/components/spx-change-details/spx-change-details.component.html","../../../../projects/softpak/components/spx-change-details/softpak-components-spx-change-details.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { Subscription } from 'rxjs';\r\nimport { SpxChangeDetailsValueI } from './spx-change-details-value.interface';\r\nimport { SpxFormViewComponent, SpxFormI, SpxFormButtonTypeEnum, SpxFormFieldI } from '@softpak/components/spx-form-view';\r\nimport { SpxSeverityEnum, valuePairToValue } from '@softpak/components/spx-helpers';\r\nimport { SpxValuePair, SpxInputTypeEnum } from '@softpak/components/spx-inputs';\r\nimport { spxValidatorRequired } from '@softpak/components/spx-validation';\r\n\r\nexport const sectionChangeDetails = 'changeDetails';\r\nexport const ctrlContainerNumber = 'containerNumber';\r\nexport const ctrlContainerSeqNr = 'containerSeqNr';\r\nexport const ctrlContainerType = 'containerType';\r\nexport const ctrlCustomer = 'customer';\r\nexport const ctrlTonsTested = 'tonsTested';\r\nexport const ctrlLicensePlate = 'licensePlate';\r\nexport const ctrlCategory = 'category';\r\nexport const ctrlUseCategories = 'useCategories';\r\n\r\n@Component({\r\n selector: 'spx-change-details',\r\n templateUrl: './spx-change-details.component.html',\r\n imports: [\r\n FormsModule,\r\n ReactiveFormsModule,\r\n SpxFormViewComponent,\r\n ],\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class SpxChangeDetailsComponent {\r\n readonly formGroup = input<FormGroup>();\r\n readonly suggestions = input<any>({});\r\n readonly textCategory = input<string>();\r\n readonly textContainerNumber = input<string>();\r\n readonly textContainerType = input<string>();\r\n readonly textCustomer = input<string>();\r\n readonly textLicensePlate = input<string>();\r\n readonly textSave = input<string>();\r\n readonly textTonsTested = input<string>();\r\n spxBlurCategory = output<SpxValuePair<string>>();\r\n spxBlurContainerType = output<SpxValuePair<string>>();\r\n spxSearchCategory = output<SpxValuePair<string>>();\r\n spxSearchContainerType = output<SpxValuePair<string>>();\r\n spxSearchTonsTested = output<SpxValuePair<string>>();\r\n submit = output<SpxChangeDetailsValueI>();\r\n\r\n form: SpxFormI = {\r\n buttons: [\r\n {\r\n severity: SpxSeverityEnum.success,\r\n type: SpxFormButtonTypeEnum.submit,\r\n label: () => this.textSave()!,\r\n }\r\n ],\r\n sections: [\r\n {\r\n key: sectionChangeDetails,\r\n showTitle: () => false,\r\n fields: [\r\n {\r\n key: ctrlContainerSeqNr,\r\n type: () => SpxInputTypeEnum.hidden,\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: ctrlContainerNumber,\r\n type: () => SpxInputTypeEnum.text,\r\n label: () => this.textContainerNumber()!,\r\n readonly: () => true,\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: ctrlCustomer,\r\n type: () => SpxInputTypeEnum.text,\r\n capitalize: () => true,\r\n readonly: () => true,\r\n label: () => this.textCustomer()!,\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: ctrlContainerType,\r\n type: () => SpxInputTypeEnum.autocomplete,\r\n label: () => this.textContainerType()!,\r\n capitalize: () => true,\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: ctrlTonsTested,\r\n type: () => SpxInputTypeEnum.radio,\r\n label: () => this.textTonsTested()!,\r\n show: () => {\r\n const suggestions = this.suggestions();\r\n return suggestions?.[ctrlTonsTested] && suggestions?.[ctrlTonsTested].length && suggestions?.[ctrlTonsTested].length > 0;\r\n},\r\n validators: () => {\r\n const suggestions = this.suggestions();\r\n return suggestions?.[ctrlTonsTested] && suggestions?.[ctrlTonsTested].length && suggestions?.[ctrlTonsTested].length > 0 ? [spxValidatorRequired()] : [];\r\n},\r\n },\r\n {\r\n key: ctrlLicensePlate,\r\n type: () => SpxInputTypeEnum.text,\r\n label: () => this.textLicensePlate()!,\r\n capitalize: () => true,\r\n },\r\n {\r\n key: ctrlUseCategories,\r\n type: () => SpxInputTypeEnum.hidden,\r\n capitalize: () => true,\r\n },\r\n {\r\n key: ctrlCategory,\r\n type: () => SpxInputTypeEnum.autocomplete,\r\n label: () => this.textCategory()!,\r\n capitalize: () => true,\r\n show: () => valuePairToValue(this.ctrlUseCategories()?.value),\r\n validators: () => valuePairToValue(this.ctrlUseCategories()?.value) ? [spxValidatorRequired()] : [],\r\n }\r\n ]\r\n }\r\n ]\r\n };\r\n\r\n readonly ctrlCategory = computed(() => this.formGroup()?.get(ctrlCategory) as FormControl);\r\n readonly ctrlCustomer = computed(() => this.formGroup()?.get(ctrlCustomer) as FormControl);\r\n readonly ctrlContainerType = computed(() => this.formGroup()?.get(ctrlContainerType) as FormControl);\r\n readonly ctrlLicensePlate = computed(() => this.formGroup()?.get(ctrlLicensePlate) as FormControl);\r\n readonly ctrlTonsTested = computed(() => this.formGroup()?.get(ctrlTonsTested) as FormControl);\r\n readonly ctrlUseCategories = computed(() => this.formGroup()?.get(ctrlUseCategories) as FormControl);\r\n\r\n private subContainerType?: Subscription;\r\n\r\n constructor(readonly formBuilder: FormBuilder) {\r\n }\r\n\r\n createForm(): FormGroup {\r\n return SpxFormViewComponent.createForm(this.formBuilder, this.form.sections);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.listenToContainerType();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.subContainerType) {\r\n this.subContainerType.unsubscribe();\r\n }\r\n }\r\n\r\n getRawValidators(formControl: FormControl) {\r\n return (formControl as any)._rawValidators;\r\n }\r\n\r\n onBlur(data: { field: SpxFormFieldI, valuePair: SpxValuePair<any> }) {\r\n if (data.field.key === ctrlCategory) {\r\n this.spxBlurCategory.emit(data.valuePair);\r\n }\r\n if (data.field.key === ctrlContainerType) {\r\n this.spxBlurContainerType.emit(data.valuePair);\r\n }\r\n }\r\n\r\n onSearch(data: { field: SpxFormFieldI, valuePair: SpxValuePair<any> }) {\r\n if (data.field.key === ctrlCategory) {\r\n this.spxSearchCategory.emit(data.valuePair);\r\n }\r\n if (data.field.key === ctrlContainerType) {\r\n this.spxSearchContainerType.emit(data.valuePair);\r\n }\r\n if (data.field.key === ctrlTonsTested) {\r\n this.spxSearchTonsTested.emit(data.valuePair);\r\n }\r\n }\r\n\r\n onSubmit(): void {\r\n this.submit.emit({\r\n category: valuePairToValue(this.ctrlUseCategories().value) ? this.ctrlCategory().value : null,\r\n containerType: this.ctrlContainerType().value,\r\n licensePlate: this.ctrlLicensePlate().value,\r\n tonsTested: this.ctrlTonsTested().value,\r\n })\r\n }\r\n\r\n private listenToContainerType(): void {\r\n this.subContainerType = this.ctrlContainerType().valueChanges.subscribe(valuePair => {\r\n this.ctrlTonsTested().setValue({ value: null });\r\n this.spxSearchTonsTested.emit(valuePair);\r\n });\r\n }\r\n}\r\n","<form [formGroup]=\"formGroup()!\" class=\"max-w-lg mx-auto flex flex-col gap-3\" (ngSubmit)=\"onSubmit()\">\r\n <spx-form-view\r\n [spxFormGroup]=\"formGroup()!\"\r\n [spxForm]=\"form\"\r\n [spxSuggestions]=\"suggestions()\"\r\n (spxBlur)=\"onBlur($event)\"\r\n (spxSearch)=\"onSearch($event)\">\r\n </spx-form-view>\r\n</form>","/**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oBAAoB,EAErB,OAAA,EAAA;wBACL,WAAW;wBACX,mBAAmB;wBACnB,oBAAoB;AACvB,qBAAA,EAAA,UAAA,EACW,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,2VAAA,EAAA;;;AE5BnD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softpak/components",
3
- "version": "19.17.0-beta.4",
3
+ "version": "19.17.0-beta.5",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "19.x.x",
@@ -29,14 +29,18 @@
29
29
  "types": "./index.d.ts",
30
30
  "default": "./fesm2022/softpak-components.mjs"
31
31
  },
32
- "./spx-app-configuration": {
33
- "types": "./spx-app-configuration/index.d.ts",
34
- "default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
35
- },
36
32
  "./spx-alert": {
37
33
  "types": "./spx-alert/index.d.ts",
38
34
  "default": "./fesm2022/softpak-components-spx-alert.mjs"
39
35
  },
36
+ "./spx-app-expiry": {
37
+ "types": "./spx-app-expiry/index.d.ts",
38
+ "default": "./fesm2022/softpak-components-spx-app-expiry.mjs"
39
+ },
40
+ "./spx-app-configuration": {
41
+ "types": "./spx-app-configuration/index.d.ts",
42
+ "default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
43
+ },
40
44
  "./spx-button": {
41
45
  "types": "./spx-button/index.d.ts",
42
46
  "default": "./fesm2022/softpak-components-spx-button.mjs"
@@ -45,30 +49,26 @@
45
49
  "types": "./spx-capitalize/index.d.ts",
46
50
  "default": "./fesm2022/softpak-components-spx-capitalize.mjs"
47
51
  },
48
- "./spx-app-expiry": {
49
- "types": "./spx-app-expiry/index.d.ts",
50
- "default": "./fesm2022/softpak-components-spx-app-expiry.mjs"
52
+ "./spx-card": {
53
+ "types": "./spx-card/index.d.ts",
54
+ "default": "./fesm2022/softpak-components-spx-card.mjs"
51
55
  },
52
56
  "./spx-change-details": {
53
57
  "types": "./spx-change-details/index.d.ts",
54
58
  "default": "./fesm2022/softpak-components-spx-change-details.mjs"
55
59
  },
60
+ "./spx-channel-selection": {
61
+ "types": "./spx-channel-selection/index.d.ts",
62
+ "default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
63
+ },
56
64
  "./spx-check-digit": {
57
65
  "types": "./spx-check-digit/index.d.ts",
58
66
  "default": "./fesm2022/softpak-components-spx-check-digit.mjs"
59
67
  },
60
- "./spx-card": {
61
- "types": "./spx-card/index.d.ts",
62
- "default": "./fesm2022/softpak-components-spx-card.mjs"
63
- },
64
68
  "./spx-confirm": {
65
69
  "types": "./spx-confirm/index.d.ts",
66
70
  "default": "./fesm2022/softpak-components-spx-confirm.mjs"
67
71
  },
68
- "./spx-channel-selection": {
69
- "types": "./spx-channel-selection/index.d.ts",
70
- "default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
71
- },
72
72
  "./spx-form-section": {
73
73
  "types": "./spx-form-section/index.d.ts",
74
74
  "default": "./fesm2022/softpak-components-spx-form-section.mjs"
@@ -89,14 +89,14 @@
89
89
  "types": "./spx-navigation/index.d.ts",
90
90
  "default": "./fesm2022/softpak-components-spx-navigation.mjs"
91
91
  },
92
- "./spx-pagination": {
93
- "types": "./spx-pagination/index.d.ts",
94
- "default": "./fesm2022/softpak-components-spx-pagination.mjs"
95
- },
96
92
  "./spx-number-check": {
97
93
  "types": "./spx-number-check/index.d.ts",
98
94
  "default": "./fesm2022/softpak-components-spx-number-check.mjs"
99
95
  },
96
+ "./spx-pagination": {
97
+ "types": "./spx-pagination/index.d.ts",
98
+ "default": "./fesm2022/softpak-components-spx-pagination.mjs"
99
+ },
100
100
  "./spx-patch": {
101
101
  "types": "./spx-patch/index.d.ts",
102
102
  "default": "./fesm2022/softpak-components-spx-patch.mjs"
@@ -105,14 +105,14 @@
105
105
  "types": "./spx-pipes/index.d.ts",
106
106
  "default": "./fesm2022/softpak-components-spx-pipes.mjs"
107
107
  },
108
- "./spx-progress-bar": {
109
- "types": "./spx-progress-bar/index.d.ts",
110
- "default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
111
- },
112
108
  "./spx-spinner": {
113
109
  "types": "./spx-spinner/index.d.ts",
114
110
  "default": "./fesm2022/softpak-components-spx-spinner.mjs"
115
111
  },
112
+ "./spx-progress-bar": {
113
+ "types": "./spx-progress-bar/index.d.ts",
114
+ "default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
115
+ },
116
116
  "./spx-stock-info": {
117
117
  "types": "./spx-stock-info/index.d.ts",
118
118
  "default": "./fesm2022/softpak-components-spx-stock-info.mjs"
@@ -125,10 +125,6 @@
125
125
  "types": "./spx-suggestion/index.d.ts",
126
126
  "default": "./fesm2022/softpak-components-spx-suggestion.mjs"
127
127
  },
128
- "./spx-update": {
129
- "types": "./spx-update/index.d.ts",
130
- "default": "./fesm2022/softpak-components-spx-update.mjs"
131
- },
132
128
  "./spx-translate": {
133
129
  "types": "./spx-translate/index.d.ts",
134
130
  "default": "./fesm2022/softpak-components-spx-translate.mjs"
@@ -137,6 +133,10 @@
137
133
  "types": "./spx-toaster/index.d.ts",
138
134
  "default": "./fesm2022/softpak-components-spx-toaster.mjs"
139
135
  },
136
+ "./spx-update": {
137
+ "types": "./spx-update/index.d.ts",
138
+ "default": "./fesm2022/softpak-components-spx-update.mjs"
139
+ },
140
140
  "./spx-validation": {
141
141
  "types": "./spx-validation/index.d.ts",
142
142
  "default": "./fesm2022/softpak-components-spx-validation.mjs"
@@ -14,15 +14,15 @@ export declare const ctrlCategory = "category";
14
14
  export declare const ctrlUseCategories = "useCategories";
15
15
  export declare class SpxChangeDetailsComponent {
16
16
  readonly formBuilder: FormBuilder;
17
- readonly formGroup: import("@angular/core").InputSignal<FormGroup<any>>;
17
+ readonly formGroup: import("@angular/core").InputSignal<FormGroup<any> | undefined>;
18
18
  readonly suggestions: import("@angular/core").InputSignal<any>;
19
- readonly textCategory: import("@angular/core").InputSignal<string>;
20
- readonly textContainerNumber: import("@angular/core").InputSignal<string>;
21
- readonly textContainerType: import("@angular/core").InputSignal<string>;
22
- readonly textCustomer: import("@angular/core").InputSignal<string>;
23
- readonly textLicensePlate: import("@angular/core").InputSignal<string>;
24
- readonly textSave: import("@angular/core").InputSignal<string>;
25
- readonly textTonsTested: import("@angular/core").InputSignal<string>;
19
+ readonly textCategory: import("@angular/core").InputSignal<string | undefined>;
20
+ readonly textContainerNumber: import("@angular/core").InputSignal<string | undefined>;
21
+ readonly textContainerType: import("@angular/core").InputSignal<string | undefined>;
22
+ readonly textCustomer: import("@angular/core").InputSignal<string | undefined>;
23
+ readonly textLicensePlate: import("@angular/core").InputSignal<string | undefined>;
24
+ readonly textSave: import("@angular/core").InputSignal<string | undefined>;
25
+ readonly textTonsTested: import("@angular/core").InputSignal<string | undefined>;
26
26
  spxBlurCategory: import("@angular/core").OutputEmitterRef<SpxValuePair<string>>;
27
27
  spxBlurContainerType: import("@angular/core").OutputEmitterRef<SpxValuePair<string>>;
28
28
  spxSearchCategory: import("@angular/core").OutputEmitterRef<SpxValuePair<string>>;
@@ -53,5 +53,5 @@ export declare class SpxChangeDetailsComponent {
53
53
  onSubmit(): void;
54
54
  private listenToContainerType;
55
55
  static ɵfac: i0.ɵɵFactoryDeclaration<SpxChangeDetailsComponent, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<SpxChangeDetailsComponent, "spx-change-details", never, { "formGroup": { "alias": "formGroup"; "required": true; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "textCategory": { "alias": "textCategory"; "required": true; "isSignal": true; }; "textContainerNumber": { "alias": "textContainerNumber"; "required": true; "isSignal": true; }; "textContainerType": { "alias": "textContainerType"; "required": true; "isSignal": true; }; "textCustomer": { "alias": "textCustomer"; "required": true; "isSignal": true; }; "textLicensePlate": { "alias": "textLicensePlate"; "required": true; "isSignal": true; }; "textSave": { "alias": "textSave"; "required": true; "isSignal": true; }; "textTonsTested": { "alias": "textTonsTested"; "required": true; "isSignal": true; }; }, { "spxBlurCategory": "spxBlurCategory"; "spxBlurContainerType": "spxBlurContainerType"; "spxSearchCategory": "spxSearchCategory"; "spxSearchContainerType": "spxSearchContainerType"; "spxSearchTonsTested": "spxSearchTonsTested"; "submit": "submit"; }, never, never, true, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpxChangeDetailsComponent, "spx-change-details", never, { "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "textCategory": { "alias": "textCategory"; "required": false; "isSignal": true; }; "textContainerNumber": { "alias": "textContainerNumber"; "required": false; "isSignal": true; }; "textContainerType": { "alias": "textContainerType"; "required": false; "isSignal": true; }; "textCustomer": { "alias": "textCustomer"; "required": false; "isSignal": true; }; "textLicensePlate": { "alias": "textLicensePlate"; "required": false; "isSignal": true; }; "textSave": { "alias": "textSave"; "required": false; "isSignal": true; }; "textTonsTested": { "alias": "textTonsTested"; "required": false; "isSignal": true; }; }, { "spxBlurCategory": "spxBlurCategory"; "spxBlurContainerType": "spxBlurContainerType"; "spxSearchCategory": "spxSearchCategory"; "spxSearchContainerType": "spxSearchContainerType"; "spxSearchTonsTested": "spxSearchTonsTested"; "submit": "submit"; }, never, never, true, never>;
57
57
  }
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class SpxHomeTilesComponent {
3
- readonly spxCols: import("@angular/core").InputSignal<1 | 2>;
3
+ readonly spxCols: import("@angular/core").InputSignal<2 | 1>;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<SpxHomeTilesComponent, never>;
5
5
  static ɵcmp: i0.ɵɵComponentDeclaration<SpxHomeTilesComponent, "spx-home-tiles", never, { "spxCols": { "alias": "spxCols"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
6
6
  }
@@ -18,11 +18,11 @@ export declare const update: import("@ngrx/store").ActionCreator<"[SPX / Navigat
18
18
  } & import("@ngrx/store").Action<"[SPX / Navigation] Update">>;
19
19
  declare const all: ({
20
20
  navigationItems: SpxNavigationItemI[];
21
- } & import("@ngrx/store").Action<"[SPX / Navigation] Add items">) | ({
22
- navigationItems: SpxNavigationItemI[];
23
21
  } & import("@ngrx/store").Action<"[SPX / Navigation] Initialize">) | ({
24
22
  accessList: string[];
25
23
  signedIn: boolean;
26
- } & import("@ngrx/store").Action<"[SPX / Navigation] Update">);
24
+ } & import("@ngrx/store").Action<"[SPX / Navigation] Update">) | ({
25
+ navigationItems: SpxNavigationItemI[];
26
+ } & import("@ngrx/store").Action<"[SPX / Navigation] Add items">);
27
27
  export type Actions = typeof all;
28
28
  export {};
@@ -17,12 +17,12 @@ export declare const runCheck: import("@ngrx/store").ActionCreator<"[SPX / Updat
17
17
  }) => {
18
18
  forceWaitForUpdate?: boolean;
19
19
  } & import("@ngrx/store").Action<"[SPX / Update Check] Run">>;
20
- declare const all: ({
21
- forceWaitForUpdate?: boolean;
22
- } & import("@ngrx/store").Action<"[SPX / Update Check] Run">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Check] An update is ready">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Check] Clear error">) | ({
20
+ declare const all: (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Check] An update is ready">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Check] Clear error">) | ({
23
21
  startUpdateAgainAfterTimeout?: boolean;
24
- } & import("@ngrx/store").Action<"[SPX / Update Check] Error happened">) | ({
22
+ } & import("@ngrx/store").Action<"[SPX / Update Check] Error happened">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Check] Initialize">) | ({
25
23
  startUpdateAgainAfterTimeout?: boolean;
26
- } & import("@ngrx/store").Action<"[SPX / Update Check] No update was found">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Check] Not available on web">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Check] Initialize">);
24
+ } & import("@ngrx/store").Action<"[SPX / Update Check] No update was found">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Check] Not available on web">) | ({
25
+ forceWaitForUpdate?: boolean;
26
+ } & import("@ngrx/store").Action<"[SPX / Update Check] Run">);
27
27
  export type Actions = typeof all;
28
28
  export {};
@@ -3,6 +3,6 @@ export declare const hasBeenDownloaded: import("@ngrx/store").ActionCreator<"[SP
3
3
  export declare const hasBeenInstalled: import("@ngrx/store").ActionCreator<"[SPX / Update Pending] Has been installed", (props: Record<string, unknown>) => Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Has been installed">>;
4
4
  export declare const postpone: import("@ngrx/store").ActionCreator<"[SPX / Update Pending] Postpone", (props: Record<string, unknown>) => Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Postpone">>;
5
5
  export declare const postponeExpired: import("@ngrx/store").ActionCreator<"[SPX / Update Pending] Postpone expired", (props: Record<string, unknown>) => Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Postpone expired">>;
6
- declare const all: (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Has been downloaded">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Accept update">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Has been installed">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Postpone">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Postpone expired">);
6
+ declare const all: (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Accept update">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Has been downloaded">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Has been installed">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Postpone">) | (Record<string, unknown> & import("@ngrx/store").Action<"[SPX / Update Pending] Postpone expired">);
7
7
  export type Actions = typeof all;
8
8
  export {};