ctt-puro 0.66.0 → 0.66.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.
package/fesm2022/ctt-puro.mjs
CHANGED
|
@@ -6152,22 +6152,22 @@ class MapperService {
|
|
|
6152
6152
|
applyButton: Utils.mapButtons(this.siteId(), props?.buttons)[0],
|
|
6153
6153
|
seeAllButton: Utils.mapButtons(this.siteId(), props?.buttons)[1],
|
|
6154
6154
|
whyTextarea: {
|
|
6155
|
-
title: props?.texts?.
|
|
6156
|
-
placeholder: props?.texts?.
|
|
6155
|
+
title: props?.texts?.whyTextarea,
|
|
6156
|
+
placeholder: props?.texts?.whyTextarea,
|
|
6157
6157
|
value: '',
|
|
6158
6158
|
valid: signal(true),
|
|
6159
6159
|
name: 'whyMessage',
|
|
6160
6160
|
},
|
|
6161
6161
|
waTextarea: {
|
|
6162
|
-
title: props?.texts?.
|
|
6163
|
-
placeholder: props?.texts?.
|
|
6162
|
+
title: props?.texts?.waTextarea,
|
|
6163
|
+
placeholder: props?.texts?.waTextarea,
|
|
6164
6164
|
value: '',
|
|
6165
6165
|
valid: signal(true),
|
|
6166
6166
|
name: 'waMessage',
|
|
6167
6167
|
},
|
|
6168
6168
|
ppTextarea: {
|
|
6169
|
-
title: props?.texts?.
|
|
6170
|
-
placeholder: props?.texts?.
|
|
6169
|
+
title: props?.texts?.ppTextarea,
|
|
6170
|
+
placeholder: props?.texts?.ppTextarea,
|
|
6171
6171
|
value: '',
|
|
6172
6172
|
valid: signal(true),
|
|
6173
6173
|
name: 'ppMessage',
|
|
@@ -6197,7 +6197,7 @@ class MapperService {
|
|
|
6197
6197
|
code: index,
|
|
6198
6198
|
name: prefix,
|
|
6199
6199
|
})),
|
|
6200
|
-
placeholder: props?.texts?.
|
|
6200
|
+
placeholder: props?.texts?.prefixesInput,
|
|
6201
6201
|
},
|
|
6202
6202
|
addressInput: {
|
|
6203
6203
|
name: Utils.normalizeControlName(props?.texts?.addressInput, 'address'),
|
|
@@ -6219,58 +6219,58 @@ class MapperService {
|
|
|
6219
6219
|
valid: signal(true),
|
|
6220
6220
|
},
|
|
6221
6221
|
nameInput: {
|
|
6222
|
-
name: Utils.normalizeControlName(props?.texts?.
|
|
6223
|
-
placeholder: props?.texts?.
|
|
6222
|
+
name: Utils.normalizeControlName(props?.texts?.nameInput, 'name'),
|
|
6223
|
+
placeholder: props?.texts?.nameInput,
|
|
6224
6224
|
value: '',
|
|
6225
6225
|
type: 'text',
|
|
6226
|
-
error: props?.texts?.
|
|
6226
|
+
error: props?.texts?.nameInputError,
|
|
6227
6227
|
validators: [Validators.required],
|
|
6228
6228
|
valid: signal(true),
|
|
6229
6229
|
},
|
|
6230
6230
|
surnameInput: {
|
|
6231
|
-
title: props?.texts?.
|
|
6232
|
-
name: Utils.normalizeControlName(props?.texts?.
|
|
6233
|
-
placeholder: props?.texts?.
|
|
6231
|
+
title: props?.texts?.surnameInput,
|
|
6232
|
+
name: Utils.normalizeControlName(props?.texts?.surnameInput, 'surname'),
|
|
6233
|
+
placeholder: props?.texts?.surnameInput,
|
|
6234
6234
|
value: '',
|
|
6235
6235
|
type: 'text',
|
|
6236
|
-
error: props?.texts?.
|
|
6236
|
+
error: props?.texts?.surnameInputError,
|
|
6237
6237
|
validators: [Validators.required],
|
|
6238
6238
|
valid: signal(true),
|
|
6239
6239
|
},
|
|
6240
6240
|
emailInput: {
|
|
6241
|
-
title: props?.texts?.
|
|
6242
|
-
name: Utils.normalizeControlName(props?.texts?.
|
|
6243
|
-
placeholder: props?.texts?.
|
|
6241
|
+
title: props?.texts?.emailInput,
|
|
6242
|
+
name: Utils.normalizeControlName(props?.texts?.emailInput, 'email'),
|
|
6243
|
+
placeholder: props?.texts?.emailInput,
|
|
6244
6244
|
value: '',
|
|
6245
6245
|
type: 'email',
|
|
6246
|
-
error: props?.texts?.
|
|
6246
|
+
error: props?.texts?.emailInputError,
|
|
6247
6247
|
validators: [Validators.email, Validators.required],
|
|
6248
6248
|
valid: signal(true),
|
|
6249
6249
|
},
|
|
6250
6250
|
confirmEmailInput: {
|
|
6251
|
-
title: props?.texts?.
|
|
6252
|
-
name: Utils.normalizeControlName(props?.texts?.
|
|
6253
|
-
placeholder: props?.texts?.
|
|
6251
|
+
title: props?.texts?.confirmEmailInput,
|
|
6252
|
+
name: Utils.normalizeControlName(props?.texts?.confirmEmailInput, 'emailc'),
|
|
6253
|
+
placeholder: props?.texts?.confirmEmailInput,
|
|
6254
6254
|
value: '',
|
|
6255
6255
|
type: 'email',
|
|
6256
|
-
error: props?.texts?.
|
|
6256
|
+
error: props?.texts?.confirmEmailInputError,
|
|
6257
6257
|
validators: [Validators.email, Validators.required],
|
|
6258
6258
|
valid: signal(true),
|
|
6259
6259
|
},
|
|
6260
6260
|
phoneInput: {
|
|
6261
|
-
title: props?.texts?.
|
|
6262
|
-
name: Utils.normalizeControlName(props?.texts?.
|
|
6263
|
-
placeholder: props?.texts?.
|
|
6261
|
+
title: props?.texts?.phoneInput,
|
|
6262
|
+
name: Utils.normalizeControlName(props?.texts?.phoneInput, 'phone'),
|
|
6263
|
+
placeholder: props?.texts?.phoneInput,
|
|
6264
6264
|
value: '',
|
|
6265
6265
|
type: 'tel',
|
|
6266
|
-
error: props?.texts?.
|
|
6266
|
+
error: props?.texts?.phoneInputError,
|
|
6267
6267
|
validators: [Validators.required],
|
|
6268
6268
|
valid: signal(true),
|
|
6269
6269
|
},
|
|
6270
6270
|
materialsInput: {
|
|
6271
|
-
name: Utils.normalizeControlName(props?.texts?.
|
|
6272
|
-
type: props?.texts?.
|
|
6273
|
-
label: props?.texts?.
|
|
6271
|
+
name: Utils.normalizeControlName(props?.texts?.materialsInput, 'materials'),
|
|
6272
|
+
type: props?.texts?.materialsInput,
|
|
6273
|
+
label: props?.texts?.materialsInput,
|
|
6274
6274
|
value: null,
|
|
6275
6275
|
valid: signal(true),
|
|
6276
6276
|
// validators: [Validators.required],
|