valtech-components 4.0.45 → 4.0.46
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/lib/components/organisms/login/login.component.mjs +6 -1
- package/esm2022/lib/components/organisms/login/types.mjs +1 -1
- package/esm2022/lib/components/organisms/menu/menu.component.mjs +8 -19
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +13 -18
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/login/login.component.d.ts +4 -3
- package/lib/components/organisms/login/types.d.ts +3 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -56,7 +56,7 @@ import { BrowserMultiFormatReader } from '@zxing/browser';
|
|
|
56
56
|
* Current version of valtech-components.
|
|
57
57
|
* This is automatically updated during the publish process.
|
|
58
58
|
*/
|
|
59
|
-
const VERSION = '4.0.
|
|
59
|
+
const VERSION = '4.0.46';
|
|
60
60
|
|
|
61
61
|
// Control de estado de refresco (singleton a nivel de módulo)
|
|
62
62
|
let isRefreshing = false;
|
|
@@ -39177,11 +39177,6 @@ class MenuComponent {
|
|
|
39177
39177
|
<ion-toolbar>
|
|
39178
39178
|
<ion-buttons slot="start" style="padding-left: .5rem;">
|
|
39179
39179
|
<val-image
|
|
39180
|
-
*ngIf="props.logo"
|
|
39181
|
-
[props]="props.logo"
|
|
39182
|
-
/>
|
|
39183
|
-
<val-image
|
|
39184
|
-
*ngIf="!props.logo"
|
|
39185
39180
|
[props]="{
|
|
39186
39181
|
src: '--main-logo-mini',
|
|
39187
39182
|
alt: 'menu logo',
|
|
@@ -39191,7 +39186,7 @@ class MenuComponent {
|
|
|
39191
39186
|
size: 'small',
|
|
39192
39187
|
limited: false,
|
|
39193
39188
|
width: 2,
|
|
39194
|
-
flex: true
|
|
39189
|
+
flex: true,
|
|
39195
39190
|
}"
|
|
39196
39191
|
/>
|
|
39197
39192
|
</ion-buttons>
|
|
@@ -39221,14 +39216,14 @@ class MenuComponent {
|
|
|
39221
39216
|
shape: 'round',
|
|
39222
39217
|
icon: {
|
|
39223
39218
|
name: 'close-outline',
|
|
39224
|
-
slot: 'start'
|
|
39225
|
-
}
|
|
39219
|
+
slot: 'start',
|
|
39220
|
+
},
|
|
39226
39221
|
}"
|
|
39227
39222
|
(onClick)="closeMenu()"
|
|
39228
39223
|
/>
|
|
39229
39224
|
}
|
|
39230
39225
|
</ion-menu>
|
|
39231
|
-
`, isInline: true, styles: ["ion-menu{--min-width: 75%;--background: var(--ion-color-light)}@media (min-width: 768px){ion-menu{--min-width: 40%}}ion-menu ion-header{background:var(--ion-color-light)}ion-menu ion-content{--background: var(--ion-color-light)}.menu-close-button{display:block;text-align:center;padding:1rem .5rem;background:var(--ion-color-light)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "
|
|
39226
|
+
`, isInline: true, styles: ["ion-menu{--min-width: 75%;--background: var(--ion-color-light)}@media (min-width: 768px){ion-menu{--min-width: 40%}}ion-menu ion-header{background:var(--ion-color-light)}ion-menu ion-content{--background: var(--ion-color-light)}.menu-close-button{display:block;text-align:center;padding:1rem .5rem;background:var(--ion-color-light)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: IonMenu, selector: "ion-menu", inputs: ["contentId", "disabled", "maxEdgeStart", "menuId", "side", "swipeGesture", "type"] }, { kind: "component", type: IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: IonMenuToggle, selector: "ion-menu-toggle", inputs: ["autoHide", "menu"] }, { kind: "component", type: IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "component", type: IonContent, selector: "ion-content", inputs: ["color", "fixedSlotPlacement", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: ImageComponent, selector: "val-image", inputs: ["props"] }, { kind: "component", type: ButtonComponent, selector: "val-button", inputs: ["preset", "props"], outputs: ["onClick"] }] }); }
|
|
39232
39227
|
}
|
|
39233
39228
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenuComponent, decorators: [{
|
|
39234
39229
|
type: Component,
|
|
@@ -39256,11 +39251,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
39256
39251
|
<ion-toolbar>
|
|
39257
39252
|
<ion-buttons slot="start" style="padding-left: .5rem;">
|
|
39258
39253
|
<val-image
|
|
39259
|
-
*ngIf="props.logo"
|
|
39260
|
-
[props]="props.logo"
|
|
39261
|
-
/>
|
|
39262
|
-
<val-image
|
|
39263
|
-
*ngIf="!props.logo"
|
|
39264
39254
|
[props]="{
|
|
39265
39255
|
src: '--main-logo-mini',
|
|
39266
39256
|
alt: 'menu logo',
|
|
@@ -39270,7 +39260,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
39270
39260
|
size: 'small',
|
|
39271
39261
|
limited: false,
|
|
39272
39262
|
width: 2,
|
|
39273
|
-
flex: true
|
|
39263
|
+
flex: true,
|
|
39274
39264
|
}"
|
|
39275
39265
|
/>
|
|
39276
39266
|
</ion-buttons>
|
|
@@ -39300,8 +39290,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
39300
39290
|
shape: 'round',
|
|
39301
39291
|
icon: {
|
|
39302
39292
|
name: 'close-outline',
|
|
39303
|
-
slot: 'start'
|
|
39304
|
-
}
|
|
39293
|
+
slot: 'start',
|
|
39294
|
+
},
|
|
39305
39295
|
}"
|
|
39306
39296
|
(onClick)="closeMenu()"
|
|
39307
39297
|
/>
|
|
@@ -41245,6 +41235,11 @@ class LoginComponent {
|
|
|
41245
41235
|
}
|
|
41246
41236
|
this.resetResendCooldown = 0;
|
|
41247
41237
|
}
|
|
41238
|
+
ngOnInit() {
|
|
41239
|
+
if (this.props.initialOperation === 'signup') {
|
|
41240
|
+
this.isRegisterModalOpen = true;
|
|
41241
|
+
}
|
|
41242
|
+
}
|
|
41248
41243
|
ngOnDestroy() {
|
|
41249
41244
|
this.stopResendCooldown();
|
|
41250
41245
|
this.stopResetResendCooldown();
|