@softpak/components 20.2.0 → 20.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,7 +32,7 @@ class SpxWelcomeComponent {
|
|
|
32
32
|
this.textCompany = spxTextCompany;
|
|
33
33
|
this.textSelect = spxTextSelect;
|
|
34
34
|
this.textSelectYourCompany = spxTextSelectYourCompany;
|
|
35
|
-
this.formSection = computed(() => this.formGroup()?.get(
|
|
35
|
+
this.formSection = computed(() => this.formGroup()?.get(spxSectionWelcome));
|
|
36
36
|
this.ctrlChannel = computed(() => this.formSection()?.get(spxCtrlChannel));
|
|
37
37
|
this.ctrlChannelType = computed(() => this.formSection()?.get(spxCtrlChannelType));
|
|
38
38
|
this.subscriptions = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"softpak-components-spx-welcome.mjs","sources":["../../../../projects/softpak/components/spx-welcome/spx-welcome.component.ts","../../../../projects/softpak/components/spx-welcome/spx-welcome.component.html","../../../../projects/softpak/components/spx-welcome/softpak-components-spx-welcome.ts"],"sourcesContent":["import { Component, OnInit, OnDestroy, signal, computed, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { Store } from '@ngrx/store';\r\nimport { SpxAppChannelI, SpxAppChannelTypeEnum } from '@softpak/components/spx-app-configuration';\r\nimport { SpxFormButtonTypeEnum, SpxFormI, SpxFormViewComponent } from '@softpak/components/spx-form-view';\r\nimport { SpxSeverityEnum, unsubscribeSubscriptions, valuePairToValue } from '@softpak/components/spx-helpers';\r\nimport { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';\r\nimport { spxValidatorRequired } from '@softpak/components/spx-validation';\r\nimport { Subscription } from 'rxjs';\r\nimport { spxTextChannel, spxTextCompany, spxTextSelect, spxTextSelectYourCompany } from '@softpak/components/spx-translate';\r\nimport { IonHeader, IonToolbar, IonTitle, IonButtons, IonContent } from '@ionic/angular/standalone';\r\nimport { SpxCapitalizePipe } from '@softpak/components/spx-capitalize';\r\nimport { TranslatePipe } from '@ngx-translate/core';\r\nimport { spxToasterActions, SpxToasterAutoCloseSpeedEnum } from '@softpak/components/spx-toaster';\r\nimport { spxChannelReducer, spxChannelActions } from '@softpak/components/spx-channel-selection';\r\n\r\nexport const spxSectionWelcome = 'welcome';\r\nexport const spxCtrlChannel = 'channel';\r\nexport const spxCtrlChannelType = 'channelType';\r\n\r\n@Component({\r\n selector: 'spx-welcome',\r\n templateUrl: './spx-welcome.component.html',\r\n imports: [\r\n FormsModule,\r\n ReactiveFormsModule,\r\n SpxCapitalizePipe,\r\n SpxFormViewComponent,\r\n IonHeader,\r\n IonToolbar,\r\n IonTitle,\r\n IonButtons,\r\n IonContent,\r\n TranslatePipe,\r\n ],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n})\r\nexport class SpxWelcomeComponent implements OnInit, OnDestroy {\r\n private readonly channels = signal<SpxAppChannelI[]>([]);\r\n protected readonly formGroup = signal<FormGroup | undefined>(undefined);\r\n protected readonly suggestions = signal<{\r\n [spxCtrlChannelType]?: SpxValuePair<string>[];\r\n [spxCtrlChannel]?: SpxValuePair<string>[];\r\n}>({\r\n [spxCtrlChannelType]: [],\r\n [spxCtrlChannel]: [],\r\n });\r\n\r\n textChannel = spxTextChannel;\r\n textCompany = spxTextCompany;\r\n textSelect = spxTextSelect;\r\n textSelectYourCompany = spxTextSelectYourCompany;\r\n\r\n protected readonly formSection = computed(() => this.formGroup()?.get(\"welc\") as FormGroup);\r\n private readonly ctrlChannel = computed(() => this.formSection()?.get(spxCtrlChannel) as FormControl);\r\n private readonly ctrlChannelType = computed(() => this.formSection()?.get(spxCtrlChannelType) as FormControl);\r\n private subscriptions: {\r\n channel?: Subscription;\r\n channels?: Subscription;\r\n } = {};\r\n\r\n protected readonly form = signal<SpxFormI>({\r\n buttons: [\r\n {\r\n severity: SpxSeverityEnum.success,\r\n type: SpxFormButtonTypeEnum.submit,\r\n label: () => this.textSelect,\r\n }\r\n ],\r\n sections: [\r\n {\r\n key: spxSectionWelcome,\r\n showTitle: () => false,\r\n fields: [\r\n {\r\n key: spxCtrlChannel,\r\n type: () => SpxInputTypeEnum.radio,\r\n label: () => this.textCompany,\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: spxCtrlChannelType,\r\n type: () => SpxInputTypeEnum.radio,\r\n label: () => this.textChannel,\r\n capitalize: () => true,\r\n show: () => valuePairToValue(this.ctrlChannel().value),\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n ]\r\n }\r\n ]\r\n });\r\n\r\n constructor(\r\n private readonly store: Store,\r\n private readonly formBuilder: FormBuilder\r\n ) {\r\n this.formGroup.set(this.formBuilder.group({\r\n [spxSectionWelcome]: SpxFormViewComponent.createForm(this.formBuilder, this.form().sections)\r\n }));\r\n }\r\n\r\n ngOnDestroy(): void {\r\n unsubscribeSubscriptions(this.subscriptions);\r\n }\r\n\r\n ngOnInit(): void {\r\n let channels: SpxAppChannelI[] = [];\r\n\r\n this.subscriptions.channels = this.store.select(spxChannelReducer.default.selectChannels).subscribe(channelsD => {\r\n channels = channelsD;\r\n this.channels.set(channels);\r\n this.suggestions()[spxCtrlChannel] = channels.filter(channel => channel.channelTypes.map(type => type.name).includes(SpxAppChannelTypeEnum.production)).map(c => ({ description: c.brand, value: c.brand }));\r\n });\r\n\r\n this.subscriptions.channel = this.ctrlChannel().valueChanges.subscribe(valuePair => {\r\n const brandFound = channels.find(c => c.brand === valuePairToValue(valuePair));\r\n this.suggestions()[spxCtrlChannelType] = !brandFound ? [] : brandFound?.channelTypes?.map(channelType => ({\r\n description: channelType.name,\r\n value: channelType.name\r\n }));\r\n this.ctrlChannelType().setValue({\r\n value: SpxAppChannelTypeEnum.production,\r\n });\r\n });\r\n }\r\n\r\n protected onSubmit(): void {\r\n const channel = this.channels().find(c => c.brand === valuePairToValue(this.ctrlChannel().value))!;\r\n const channelType = valuePairToValue(this.ctrlChannelType().value);\r\n\r\n if (!channel) {\r\n this.store.dispatch(spxToasterActions.createWarning({\r\n autoClose: SpxToasterAutoCloseSpeedEnum.DEFAULT,\r\n messageText: 'Please select a company',\r\n }))\r\n } else {\r\n this.store.dispatch(spxChannelActions.choose({\r\n channel,\r\n channelType,\r\n }));\r\n }\r\n }\r\n}\r\n","<ion-header>\r\n <ion-toolbar>\r\n <ion-title>\r\n {{ textSelectYourCompany | translate | capitalize }}\r\n </ion-title>\r\n <ion-buttons slot=\"end\">\r\n </ion-buttons>\r\n </ion-toolbar>\r\n</ion-header>\r\n<ion-content class=\"ion-padding\">\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 [spxForm]=\"form()\"\r\n [spxFormGroup]=\"formSection()\"\r\n [spxSuggestions]=\"suggestions()\">\r\n </spx-form-view>\r\n </form>\r\n</ion-content>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAgBO,MAAM,iBAAiB,GAAG;AAC1B,MAAM,cAAc,GAAG;AACvB,MAAM,kBAAkB,GAAG;MAoBrB,mBAAmB,CAAA;IAwD9B,WACmB,CAAA,KAAY,EACZ,WAAwB,EAAA;QADxB,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAW,CAAA,WAAA,GAAX,WAAW;AAzDb,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAmB,EAAE,CAAC;AACrC,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAwB,SAAS,CAAC;QACpD,IAAW,CAAA,WAAA,GAAG,MAAM,CAGtC;YACC,CAAC,kBAAkB,GAAG,EAAE;YACxB,CAAC,cAAc,GAAG,EAAE;AACrB,SAAA,CAAC;QAEF,IAAW,CAAA,WAAA,GAAG,cAAc;QAC5B,IAAW,CAAA,WAAA,GAAG,cA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aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAKJ,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAlB/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EAEd,OAAA,EAAA;wBACP,WAAW;wBACX,mBAAmB;wBACnB,iBAAiB;wBACjB,oBAAoB;wBACpB,SAAS;wBACT,UAAU;wBACV,QAAQ;wBACR,UAAU;wBACV,UAAU;wBACV,aAAa;AACd,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EAAA,QAAA,EAAA,8jBAAA,EAAA;;;AEpClB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"softpak-components-spx-welcome.mjs","sources":["../../../../projects/softpak/components/spx-welcome/spx-welcome.component.ts","../../../../projects/softpak/components/spx-welcome/spx-welcome.component.html","../../../../projects/softpak/components/spx-welcome/softpak-components-spx-welcome.ts"],"sourcesContent":["import { Component, OnInit, OnDestroy, signal, computed, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { Store } from '@ngrx/store';\r\nimport { SpxAppChannelI, SpxAppChannelTypeEnum } from '@softpak/components/spx-app-configuration';\r\nimport { SpxFormButtonTypeEnum, SpxFormI, SpxFormViewComponent } from '@softpak/components/spx-form-view';\r\nimport { SpxSeverityEnum, unsubscribeSubscriptions, valuePairToValue } from '@softpak/components/spx-helpers';\r\nimport { SpxInputTypeEnum, SpxValuePair } from '@softpak/components/spx-inputs';\r\nimport { spxValidatorRequired } from '@softpak/components/spx-validation';\r\nimport { Subscription } from 'rxjs';\r\nimport { spxTextChannel, spxTextCompany, spxTextSelect, spxTextSelectYourCompany } from '@softpak/components/spx-translate';\r\nimport { IonHeader, IonToolbar, IonTitle, IonButtons, IonContent } from '@ionic/angular/standalone';\r\nimport { SpxCapitalizePipe } from '@softpak/components/spx-capitalize';\r\nimport { TranslatePipe } from '@ngx-translate/core';\r\nimport { spxToasterActions, SpxToasterAutoCloseSpeedEnum } from '@softpak/components/spx-toaster';\r\nimport { spxChannelReducer, spxChannelActions } from '@softpak/components/spx-channel-selection';\r\n\r\nexport const spxSectionWelcome = 'welcome';\r\nexport const spxCtrlChannel = 'channel';\r\nexport const spxCtrlChannelType = 'channelType';\r\n\r\n@Component({\r\n selector: 'spx-welcome',\r\n templateUrl: './spx-welcome.component.html',\r\n imports: [\r\n FormsModule,\r\n ReactiveFormsModule,\r\n SpxCapitalizePipe,\r\n SpxFormViewComponent,\r\n IonHeader,\r\n IonToolbar,\r\n IonTitle,\r\n IonButtons,\r\n IonContent,\r\n TranslatePipe,\r\n ],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n})\r\nexport class SpxWelcomeComponent implements OnInit, OnDestroy {\r\n private readonly channels = signal<SpxAppChannelI[]>([]);\r\n protected readonly formGroup = signal<FormGroup | undefined>(undefined);\r\n protected readonly suggestions = signal<{\r\n [spxCtrlChannelType]?: SpxValuePair<string>[];\r\n [spxCtrlChannel]?: SpxValuePair<string>[];\r\n}>({\r\n [spxCtrlChannelType]: [],\r\n [spxCtrlChannel]: [],\r\n });\r\n\r\n textChannel = spxTextChannel;\r\n textCompany = spxTextCompany;\r\n textSelect = spxTextSelect;\r\n textSelectYourCompany = spxTextSelectYourCompany;\r\n\r\n protected readonly formSection = computed(() => this.formGroup()?.get(spxSectionWelcome) as FormGroup);\r\n private readonly ctrlChannel = computed(() => this.formSection()?.get(spxCtrlChannel) as FormControl);\r\n private readonly ctrlChannelType = computed(() => this.formSection()?.get(spxCtrlChannelType) as FormControl);\r\n private subscriptions: {\r\n channel?: Subscription;\r\n channels?: Subscription;\r\n } = {};\r\n\r\n protected readonly form = signal<SpxFormI>({\r\n buttons: [\r\n {\r\n severity: SpxSeverityEnum.success,\r\n type: SpxFormButtonTypeEnum.submit,\r\n label: () => this.textSelect,\r\n }\r\n ],\r\n sections: [\r\n {\r\n key: spxSectionWelcome,\r\n showTitle: () => false,\r\n fields: [\r\n {\r\n key: spxCtrlChannel,\r\n type: () => SpxInputTypeEnum.radio,\r\n label: () => this.textCompany,\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n {\r\n key: spxCtrlChannelType,\r\n type: () => SpxInputTypeEnum.radio,\r\n label: () => this.textChannel,\r\n capitalize: () => true,\r\n show: () => valuePairToValue(this.ctrlChannel().value),\r\n validators: () => [spxValidatorRequired()],\r\n },\r\n ]\r\n }\r\n ]\r\n });\r\n\r\n constructor(\r\n private readonly store: Store,\r\n private readonly formBuilder: FormBuilder\r\n ) {\r\n this.formGroup.set(this.formBuilder.group({\r\n [spxSectionWelcome]: SpxFormViewComponent.createForm(this.formBuilder, this.form().sections)\r\n }));\r\n }\r\n\r\n ngOnDestroy(): void {\r\n unsubscribeSubscriptions(this.subscriptions);\r\n }\r\n\r\n ngOnInit(): void {\r\n let channels: SpxAppChannelI[] = [];\r\n\r\n this.subscriptions.channels = this.store.select(spxChannelReducer.default.selectChannels).subscribe(channelsD => {\r\n channels = channelsD;\r\n this.channels.set(channels);\r\n this.suggestions()[spxCtrlChannel] = channels.filter(channel => channel.channelTypes.map(type => type.name).includes(SpxAppChannelTypeEnum.production)).map(c => ({ description: c.brand, value: c.brand }));\r\n });\r\n\r\n this.subscriptions.channel = this.ctrlChannel().valueChanges.subscribe(valuePair => {\r\n const brandFound = channels.find(c => c.brand === valuePairToValue(valuePair));\r\n this.suggestions()[spxCtrlChannelType] = !brandFound ? [] : brandFound?.channelTypes?.map(channelType => ({\r\n description: channelType.name,\r\n value: channelType.name\r\n }));\r\n this.ctrlChannelType().setValue({\r\n value: SpxAppChannelTypeEnum.production,\r\n });\r\n });\r\n }\r\n\r\n protected onSubmit(): void {\r\n const channel = this.channels().find(c => c.brand === valuePairToValue(this.ctrlChannel().value))!;\r\n const channelType = valuePairToValue(this.ctrlChannelType().value);\r\n\r\n if (!channel) {\r\n this.store.dispatch(spxToasterActions.createWarning({\r\n autoClose: SpxToasterAutoCloseSpeedEnum.DEFAULT,\r\n messageText: 'Please select a company',\r\n }))\r\n } else {\r\n this.store.dispatch(spxChannelActions.choose({\r\n channel,\r\n channelType,\r\n }));\r\n }\r\n }\r\n}\r\n","<ion-header>\r\n <ion-toolbar>\r\n <ion-title>\r\n {{ textSelectYourCompany | translate | capitalize }}\r\n </ion-title>\r\n <ion-buttons slot=\"end\">\r\n </ion-buttons>\r\n </ion-toolbar>\r\n</ion-header>\r\n<ion-content class=\"ion-padding\">\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 [spxForm]=\"form()\"\r\n [spxFormGroup]=\"formSection()\"\r\n [spxSuggestions]=\"suggestions()\">\r\n </spx-form-view>\r\n </form>\r\n</ion-content>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAgBO,MAAM,iBAAiB,GAAG;AAC1B,MAAM,cAAc,GAAG;AACvB,MAAM,kBAAkB,GAAG;MAoBrB,mBAAmB,CAAA;IAwD9B,WACmB,CAAA,KAAY,EACZ,WAAwB,EAAA;QADxB,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAW,CAAA,WAAA,GAAX,WAAW;AAzDb,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAmB,EAAE,CAAC;AACrC,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAwB,SAAS,CAAC;QACpD,IAAW,CAAA,WAAA,GAAG,MAAM,CAGtC;YACC,CAAC,kBAAkB,GAAG,EAAE;YACxB,CAAC,cAAc,GAAG,EAAE;AACrB,SAAA,CAAC;QAEF,IAAW,CAAA,WAAA,GAAG,cAAc;QAC5B,IAAW,CAAA,WAAA,GAAG,cA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,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAKJ,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAlB/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EAEd,OAAA,EAAA;wBACP,WAAW;wBACX,mBAAmB;wBACnB,iBAAiB;wBACjB,oBAAoB;wBACpB,SAAS;wBACT,UAAU;wBACV,QAAQ;wBACR,UAAU;wBACV,UAAU;wBACV,aAAa;AACd,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EAAA,QAAA,EAAA,8jBAAA,EAAA;;;AEpClB;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softpak/components",
|
|
3
|
-
"version": "20.2.
|
|
3
|
+
"version": "20.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "19.x.x || 20.x.x",
|
|
@@ -32,33 +32,29 @@
|
|
|
32
32
|
"types": "./index.d.ts",
|
|
33
33
|
"default": "./fesm2022/softpak-components.mjs"
|
|
34
34
|
},
|
|
35
|
-
"./spx-alert": {
|
|
36
|
-
"types": "./spx-alert/index.d.ts",
|
|
37
|
-
"default": "./fesm2022/softpak-components-spx-alert.mjs"
|
|
38
|
-
},
|
|
39
35
|
"./spx-404-page": {
|
|
40
36
|
"types": "./spx-404-page/index.d.ts",
|
|
41
37
|
"default": "./fesm2022/softpak-components-spx-404-page.mjs"
|
|
42
38
|
},
|
|
43
|
-
"./spx-
|
|
44
|
-
"types": "./spx-
|
|
45
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
39
|
+
"./spx-alert": {
|
|
40
|
+
"types": "./spx-alert/index.d.ts",
|
|
41
|
+
"default": "./fesm2022/softpak-components-spx-alert.mjs"
|
|
46
42
|
},
|
|
47
43
|
"./spx-app-configuration": {
|
|
48
44
|
"types": "./spx-app-configuration/index.d.ts",
|
|
49
45
|
"default": "./fesm2022/softpak-components-spx-app-configuration.mjs"
|
|
50
46
|
},
|
|
51
|
-
"./spx-button": {
|
|
52
|
-
"types": "./spx-button/index.d.ts",
|
|
53
|
-
"default": "./fesm2022/softpak-components-spx-button.mjs"
|
|
54
|
-
},
|
|
55
47
|
"./spx-capitalize": {
|
|
56
48
|
"types": "./spx-capitalize/index.d.ts",
|
|
57
49
|
"default": "./fesm2022/softpak-components-spx-capitalize.mjs"
|
|
58
50
|
},
|
|
59
|
-
"./spx-
|
|
60
|
-
"types": "./spx-
|
|
61
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
51
|
+
"./spx-app-expiry": {
|
|
52
|
+
"types": "./spx-app-expiry/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/softpak-components-spx-app-expiry.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./spx-button": {
|
|
56
|
+
"types": "./spx-button/index.d.ts",
|
|
57
|
+
"default": "./fesm2022/softpak-components-spx-button.mjs"
|
|
62
58
|
},
|
|
63
59
|
"./spx-change-details": {
|
|
64
60
|
"types": "./spx-change-details/index.d.ts",
|
|
@@ -68,10 +64,6 @@
|
|
|
68
64
|
"types": "./spx-channel-selection/index.d.ts",
|
|
69
65
|
"default": "./fesm2022/softpak-components-spx-channel-selection.mjs"
|
|
70
66
|
},
|
|
71
|
-
"./spx-check-digit": {
|
|
72
|
-
"types": "./spx-check-digit/index.d.ts",
|
|
73
|
-
"default": "./fesm2022/softpak-components-spx-check-digit.mjs"
|
|
74
|
-
},
|
|
75
67
|
"./spx-confirm": {
|
|
76
68
|
"types": "./spx-confirm/index.d.ts",
|
|
77
69
|
"default": "./fesm2022/softpak-components-spx-confirm.mjs"
|
|
@@ -84,42 +76,58 @@
|
|
|
84
76
|
"types": "./spx-form-view/index.d.ts",
|
|
85
77
|
"default": "./fesm2022/softpak-components-spx-form-view.mjs"
|
|
86
78
|
},
|
|
79
|
+
"./spx-check-digit": {
|
|
80
|
+
"types": "./spx-check-digit/index.d.ts",
|
|
81
|
+
"default": "./fesm2022/softpak-components-spx-check-digit.mjs"
|
|
82
|
+
},
|
|
87
83
|
"./spx-inputs": {
|
|
88
84
|
"types": "./spx-inputs/index.d.ts",
|
|
89
85
|
"default": "./fesm2022/softpak-components-spx-inputs.mjs"
|
|
90
86
|
},
|
|
91
|
-
"./spx-helpers": {
|
|
92
|
-
"types": "./spx-helpers/index.d.ts",
|
|
93
|
-
"default": "./fesm2022/softpak-components-spx-helpers.mjs"
|
|
94
|
-
},
|
|
95
87
|
"./spx-navigation": {
|
|
96
88
|
"types": "./spx-navigation/index.d.ts",
|
|
97
89
|
"default": "./fesm2022/softpak-components-spx-navigation.mjs"
|
|
98
90
|
},
|
|
91
|
+
"./spx-number-check": {
|
|
92
|
+
"types": "./spx-number-check/index.d.ts",
|
|
93
|
+
"default": "./fesm2022/softpak-components-spx-number-check.mjs"
|
|
94
|
+
},
|
|
95
|
+
"./spx-card": {
|
|
96
|
+
"types": "./spx-card/index.d.ts",
|
|
97
|
+
"default": "./fesm2022/softpak-components-spx-card.mjs"
|
|
98
|
+
},
|
|
99
99
|
"./spx-pagination": {
|
|
100
100
|
"types": "./spx-pagination/index.d.ts",
|
|
101
101
|
"default": "./fesm2022/softpak-components-spx-pagination.mjs"
|
|
102
102
|
},
|
|
103
|
-
"./spx-
|
|
104
|
-
"types": "./spx-
|
|
105
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
103
|
+
"./spx-helpers": {
|
|
104
|
+
"types": "./spx-helpers/index.d.ts",
|
|
105
|
+
"default": "./fesm2022/softpak-components-spx-helpers.mjs"
|
|
106
106
|
},
|
|
107
107
|
"./spx-progress-bar": {
|
|
108
108
|
"types": "./spx-progress-bar/index.d.ts",
|
|
109
109
|
"default": "./fesm2022/softpak-components-spx-progress-bar.mjs"
|
|
110
110
|
},
|
|
111
|
-
"./spx-
|
|
112
|
-
"types": "./spx-
|
|
113
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
111
|
+
"./spx-patch": {
|
|
112
|
+
"types": "./spx-patch/index.d.ts",
|
|
113
|
+
"default": "./fesm2022/softpak-components-spx-patch.mjs"
|
|
114
114
|
},
|
|
115
|
-
"./spx-
|
|
116
|
-
"types": "./spx-
|
|
117
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
115
|
+
"./spx-stock-info": {
|
|
116
|
+
"types": "./spx-stock-info/index.d.ts",
|
|
117
|
+
"default": "./fesm2022/softpak-components-spx-stock-info.mjs"
|
|
118
118
|
},
|
|
119
119
|
"./spx-suggestion": {
|
|
120
120
|
"types": "./spx-suggestion/index.d.ts",
|
|
121
121
|
"default": "./fesm2022/softpak-components-spx-suggestion.mjs"
|
|
122
122
|
},
|
|
123
|
+
"./spx-spinner": {
|
|
124
|
+
"types": "./spx-spinner/index.d.ts",
|
|
125
|
+
"default": "./fesm2022/softpak-components-spx-spinner.mjs"
|
|
126
|
+
},
|
|
127
|
+
"./spx-pipes": {
|
|
128
|
+
"types": "./spx-pipes/index.d.ts",
|
|
129
|
+
"default": "./fesm2022/softpak-components-spx-pipes.mjs"
|
|
130
|
+
},
|
|
123
131
|
"./spx-tabs": {
|
|
124
132
|
"types": "./spx-tabs/index.d.ts",
|
|
125
133
|
"default": "./fesm2022/softpak-components-spx-tabs.mjs"
|
|
@@ -128,10 +136,6 @@
|
|
|
128
136
|
"types": "./spx-toaster/index.d.ts",
|
|
129
137
|
"default": "./fesm2022/softpak-components-spx-toaster.mjs"
|
|
130
138
|
},
|
|
131
|
-
"./spx-toggle": {
|
|
132
|
-
"types": "./spx-toggle/index.d.ts",
|
|
133
|
-
"default": "./fesm2022/softpak-components-spx-toggle.mjs"
|
|
134
|
-
},
|
|
135
139
|
"./spx-translate": {
|
|
136
140
|
"types": "./spx-translate/index.d.ts",
|
|
137
141
|
"default": "./fesm2022/softpak-components-spx-translate.mjs"
|
|
@@ -140,29 +144,25 @@
|
|
|
140
144
|
"types": "./spx-update/index.d.ts",
|
|
141
145
|
"default": "./fesm2022/softpak-components-spx-update.mjs"
|
|
142
146
|
},
|
|
143
|
-
"./spx-
|
|
144
|
-
"types": "./spx-
|
|
145
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
146
|
-
},
|
|
147
|
-
"./spx-stock-info": {
|
|
148
|
-
"types": "./spx-stock-info/index.d.ts",
|
|
149
|
-
"default": "./fesm2022/softpak-components-spx-stock-info.mjs"
|
|
150
|
-
},
|
|
151
|
-
"./spx-patch": {
|
|
152
|
-
"types": "./spx-patch/index.d.ts",
|
|
153
|
-
"default": "./fesm2022/softpak-components-spx-patch.mjs"
|
|
147
|
+
"./spx-storage": {
|
|
148
|
+
"types": "./spx-storage/index.d.ts",
|
|
149
|
+
"default": "./fesm2022/softpak-components-spx-storage.mjs"
|
|
154
150
|
},
|
|
155
151
|
"./spx-validation": {
|
|
156
152
|
"types": "./spx-validation/index.d.ts",
|
|
157
153
|
"default": "./fesm2022/softpak-components-spx-validation.mjs"
|
|
158
154
|
},
|
|
159
|
-
"./spx-
|
|
160
|
-
"types": "./spx-
|
|
161
|
-
"default": "./fesm2022/softpak-components-spx-
|
|
155
|
+
"./spx-toggle": {
|
|
156
|
+
"types": "./spx-toggle/index.d.ts",
|
|
157
|
+
"default": "./fesm2022/softpak-components-spx-toggle.mjs"
|
|
162
158
|
},
|
|
163
159
|
"./spx-welcome": {
|
|
164
160
|
"types": "./spx-welcome/index.d.ts",
|
|
165
161
|
"default": "./fesm2022/softpak-components-spx-welcome.mjs"
|
|
162
|
+
},
|
|
163
|
+
"./spx-validation-messages": {
|
|
164
|
+
"types": "./spx-validation-messages/index.d.ts",
|
|
165
|
+
"default": "./fesm2022/softpak-components-spx-validation-messages.mjs"
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|