@everymatrix/general-registration 1.10.11 → 1.10.13
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/dist/cjs/checkbox-input_11.cjs.entry.js +211 -22
- package/dist/cjs/general-registration.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/general-registration/general-registration.js +7 -6
- package/dist/components/checkbox-input2.js +23 -2
- package/dist/components/date-input2.js +23 -2
- package/dist/components/email-input2.js +23 -2
- package/dist/components/general-input2.js +31 -10
- package/dist/components/general-registration.js +5 -4
- package/dist/components/number-input2.js +23 -2
- package/dist/components/password-input2.js +23 -2
- package/dist/components/radio-input2.js +22 -3
- package/dist/components/select-input2.js +23 -2
- package/dist/components/tel-input2.js +23 -2
- package/dist/components/text-input2.js +23 -2
- package/dist/esm/checkbox-input_11.entry.js +211 -22
- package/dist/esm/general-registration.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/{p-b5f7ebdd.entry.js → p-c7e0b72f.entry.js} +16 -16
- package/dist/types/components/general-registration/general-registration.d.ts +2 -2
- package/dist/types/components.d.ts +4 -4
- package/package.json +1 -1
|
@@ -40,7 +40,17 @@ const CheckboxInput = class {
|
|
|
40
40
|
* Default value for the input.
|
|
41
41
|
*/
|
|
42
42
|
this.defaultValue = '';
|
|
43
|
+
/**
|
|
44
|
+
* Client custom styling via inline style
|
|
45
|
+
*/
|
|
46
|
+
this.clientStyling = '';
|
|
47
|
+
this.limitStylingAppends = false;
|
|
43
48
|
this.value = '';
|
|
49
|
+
this.setClientStyling = () => {
|
|
50
|
+
let sheet = document.createElement('style');
|
|
51
|
+
sheet.innerHTML = this.clientStyling;
|
|
52
|
+
this.stylingContainer.prepend(sheet);
|
|
53
|
+
};
|
|
44
54
|
}
|
|
45
55
|
validityChanged() {
|
|
46
56
|
if (this.emitValue == true) {
|
|
@@ -58,6 +68,15 @@ const CheckboxInput = class {
|
|
|
58
68
|
valueHandler(inputValueEvent) {
|
|
59
69
|
this.sendInputValue.emit(inputValueEvent);
|
|
60
70
|
}
|
|
71
|
+
componentDidRender() {
|
|
72
|
+
// start custom styling area
|
|
73
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
74
|
+
if (this.clientStyling)
|
|
75
|
+
this.setClientStyling();
|
|
76
|
+
this.limitStylingAppends = true;
|
|
77
|
+
}
|
|
78
|
+
// end custom styling area
|
|
79
|
+
}
|
|
61
80
|
componentDidLoad() {
|
|
62
81
|
if (this.defaultValue) {
|
|
63
82
|
this.value = this.defaultValue;
|
|
@@ -80,7 +99,7 @@ const CheckboxInput = class {
|
|
|
80
99
|
}
|
|
81
100
|
}
|
|
82
101
|
render() {
|
|
83
|
-
return h$2("div", { class: 'checkbox__wrapper' }, h$2("input", { type: "checkbox", id: `${this.name}__input`, ref: (el) => this.inputReference = el, name: this.name, checked: !!this.defaultValue, readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), h$2("label", { class: 'checkbox__label', htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$2("small", { class: 'checkbox__error-message' }, this.errorMessage));
|
|
102
|
+
return h$2("div", { class: 'checkbox__wrapper', ref: el => this.stylingContainer = el }, h$2("input", { type: "checkbox", id: `${this.name}__input`, ref: (el) => this.inputReference = el, name: this.name, checked: !!this.defaultValue, readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), h$2("label", { class: 'checkbox__label', htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$2("small", { class: 'checkbox__error-message' }, this.errorMessage));
|
|
84
103
|
}
|
|
85
104
|
static get watchers() { return {
|
|
86
105
|
"isValid": ["validityChanged"],
|
|
@@ -23038,6 +23057,16 @@ const DateInput = class {
|
|
|
23038
23057
|
registerInstance(this, hostRef);
|
|
23039
23058
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
23040
23059
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
23060
|
+
/**
|
|
23061
|
+
* Client custom styling via inline style
|
|
23062
|
+
*/
|
|
23063
|
+
this.clientStyling = '';
|
|
23064
|
+
this.limitStylingAppends = false;
|
|
23065
|
+
this.setClientStyling = () => {
|
|
23066
|
+
let sheet = document.createElement('style');
|
|
23067
|
+
sheet.innerHTML = this.clientStyling;
|
|
23068
|
+
this.stylingContainer.prepend(sheet);
|
|
23069
|
+
};
|
|
23041
23070
|
}
|
|
23042
23071
|
validityChanged() {
|
|
23043
23072
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -23056,6 +23085,15 @@ const DateInput = class {
|
|
|
23056
23085
|
valueHandler(inputValueEvent) {
|
|
23057
23086
|
this.sendInputValue.emit(inputValueEvent);
|
|
23058
23087
|
}
|
|
23088
|
+
componentDidRender() {
|
|
23089
|
+
// start custom styling area
|
|
23090
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
23091
|
+
if (this.clientStyling)
|
|
23092
|
+
this.setClientStyling();
|
|
23093
|
+
this.limitStylingAppends = true;
|
|
23094
|
+
}
|
|
23095
|
+
// end custom styling area
|
|
23096
|
+
}
|
|
23059
23097
|
componentDidLoad() {
|
|
23060
23098
|
this.inputReference = this.element.shadowRoot.querySelector('input');
|
|
23061
23099
|
if (this.defaultValue) {
|
|
@@ -23083,7 +23121,7 @@ const DateInput = class {
|
|
|
23083
23121
|
}
|
|
23084
23122
|
render() {
|
|
23085
23123
|
const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'date__input--invalid';
|
|
23086
|
-
return h$2("div", { class: 'date__wrapper' }, h$2("label", { class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$2("vaadin-date-picker", { id: `${this.name}__input`, type: 'date', class: `date__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onBlur: (e) => this.handleInput(e) }), h$2("small", { class: 'date__error-message' }, this.errorMessage));
|
|
23124
|
+
return h$2("div", { class: 'date__wrapper', ref: el => this.stylingContainer = el }, h$2("label", { class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$2("vaadin-date-picker", { id: `${this.name}__input`, type: 'date', class: `date__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onBlur: (e) => this.handleInput(e) }), h$2("small", { class: 'date__error-message' }, this.errorMessage));
|
|
23087
23125
|
}
|
|
23088
23126
|
get element() { return getElement(this); }
|
|
23089
23127
|
static get watchers() { return {
|
|
@@ -23100,7 +23138,17 @@ const EmailInput = class {
|
|
|
23100
23138
|
registerInstance(this, hostRef);
|
|
23101
23139
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
23102
23140
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
23141
|
+
/**
|
|
23142
|
+
* Client custom styling via inline style
|
|
23143
|
+
*/
|
|
23144
|
+
this.clientStyling = '';
|
|
23145
|
+
this.limitStylingAppends = false;
|
|
23103
23146
|
this.validationPattern = '';
|
|
23147
|
+
this.setClientStyling = () => {
|
|
23148
|
+
let sheet = document.createElement('style');
|
|
23149
|
+
sheet.innerHTML = this.clientStyling;
|
|
23150
|
+
this.stylingContainer.prepend(sheet);
|
|
23151
|
+
};
|
|
23104
23152
|
}
|
|
23105
23153
|
validityChanged() {
|
|
23106
23154
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -23129,6 +23177,15 @@ const EmailInput = class {
|
|
|
23129
23177
|
connectedCallback() {
|
|
23130
23178
|
this.validationPattern = this.setPattern();
|
|
23131
23179
|
}
|
|
23180
|
+
componentDidRender() {
|
|
23181
|
+
// start custom styling area
|
|
23182
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
23183
|
+
if (this.clientStyling)
|
|
23184
|
+
this.setClientStyling();
|
|
23185
|
+
this.limitStylingAppends = true;
|
|
23186
|
+
}
|
|
23187
|
+
// end custom styling area
|
|
23188
|
+
}
|
|
23132
23189
|
componentDidLoad() {
|
|
23133
23190
|
if (this.defaultValue) {
|
|
23134
23191
|
this.value = this.defaultValue;
|
|
@@ -23168,7 +23225,7 @@ const EmailInput = class {
|
|
|
23168
23225
|
}
|
|
23169
23226
|
render() {
|
|
23170
23227
|
const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'email__input--invalid';
|
|
23171
|
-
return h$2("div", { class: 'email__wrapper' }, h$2("input", { id: `${this.name}__input`, type: 'email', class: `email__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, ref: (el) => this.inputReference = el, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onBlur: (e) => this.handleInput(e) }), h$2("label", { class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'email__error-message' }, this.errorMessage));
|
|
23228
|
+
return h$2("div", { class: 'email__wrapper', ref: el => this.stylingContainer = el }, h$2("input", { id: `${this.name}__input`, type: 'email', class: `email__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, ref: (el) => this.inputReference = el, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onBlur: (e) => this.handleInput(e) }), h$2("label", { class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'email__error-message' }, this.errorMessage));
|
|
23172
23229
|
}
|
|
23173
23230
|
static get watchers() { return {
|
|
23174
23231
|
"isValid": ["validityChanged"],
|
|
@@ -23186,27 +23243,46 @@ const GeneralInput = class {
|
|
|
23186
23243
|
* Type the general-input should take. Can take the default HTML input values.
|
|
23187
23244
|
*/
|
|
23188
23245
|
this.type = 'text';
|
|
23246
|
+
/**
|
|
23247
|
+
* Client custom styling via inline style
|
|
23248
|
+
*/
|
|
23249
|
+
this.clientStyling = '';
|
|
23250
|
+
this.limitStylingAppends = false;
|
|
23251
|
+
this.setClientStyling = () => {
|
|
23252
|
+
let sheet = document.createElement('style');
|
|
23253
|
+
sheet.innerHTML = this.clientStyling;
|
|
23254
|
+
this.stylingContainer.prepend(sheet);
|
|
23255
|
+
};
|
|
23256
|
+
}
|
|
23257
|
+
componentDidRender() {
|
|
23258
|
+
// start custom styling area
|
|
23259
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
23260
|
+
if (this.clientStyling)
|
|
23261
|
+
this.setClientStyling();
|
|
23262
|
+
this.limitStylingAppends = true;
|
|
23263
|
+
}
|
|
23264
|
+
// end custom styling area
|
|
23189
23265
|
}
|
|
23190
23266
|
render() {
|
|
23191
23267
|
switch (this.type.toLowerCase()) {
|
|
23192
23268
|
case 'text':
|
|
23193
|
-
return h$2("text-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput });
|
|
23269
|
+
return h$2("text-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling });
|
|
23194
23270
|
case 'email':
|
|
23195
|
-
return h$2("email-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput });
|
|
23271
|
+
return h$2("email-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling });
|
|
23196
23272
|
case 'number':
|
|
23197
|
-
return h$2("number-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language });
|
|
23273
|
+
return h$2("number-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling });
|
|
23198
23274
|
case 'checkbox':
|
|
23199
|
-
return h$2("checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, defaultValue: this.defaultValue, autofilled: this.autofilled, language: this.language });
|
|
23275
|
+
return h$2("checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, defaultValue: this.defaultValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling });
|
|
23200
23276
|
case 'datetime':
|
|
23201
|
-
return h$2("date-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language });
|
|
23277
|
+
return h$2("date-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling });
|
|
23202
23278
|
case 'password':
|
|
23203
|
-
return h$2("password-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput });
|
|
23279
|
+
return h$2("password-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling });
|
|
23204
23280
|
case 'radio':
|
|
23205
|
-
return h$2("radio-input", { name: this.name, displayName: this.displayName, optionsGroup: this.options, validation: this.validation, emitValue: this.emitValue, language: this.language });
|
|
23281
|
+
return h$2("radio-input", { name: this.name, displayName: this.displayName, optionsGroup: this.options, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling });
|
|
23206
23282
|
case 'tel':
|
|
23207
|
-
return h$2("tel-input", { name: this.name, action: this.action, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, emitValue: this.emitValue, language: this.language, autofilled: this.autofilled });
|
|
23283
|
+
return h$2("tel-input", { name: this.name, action: this.action, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, emitValue: this.emitValue, language: this.language, autofilled: this.autofilled, "client-styling": this.clientStyling });
|
|
23208
23284
|
case 'dropdown':
|
|
23209
|
-
return h$2("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language });
|
|
23285
|
+
return h$2("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling });
|
|
23210
23286
|
default:
|
|
23211
23287
|
return h$2("p", null, "The ", this.type, " input type is not valid");
|
|
23212
23288
|
}
|
|
@@ -23255,11 +23331,11 @@ const GeneralRegistration = class {
|
|
|
23255
23331
|
*/
|
|
23256
23332
|
this.language = 'en';
|
|
23257
23333
|
/**
|
|
23258
|
-
* Client custom styling via
|
|
23334
|
+
* Client custom styling via inline styles
|
|
23259
23335
|
*/
|
|
23260
23336
|
this.clientStyling = '';
|
|
23261
23337
|
/**
|
|
23262
|
-
* Client custom styling via url
|
|
23338
|
+
* Client custom styling via url
|
|
23263
23339
|
*/
|
|
23264
23340
|
this.clientStylingUrl = '';
|
|
23265
23341
|
this.emitValue = false;
|
|
@@ -23284,6 +23360,7 @@ const GeneralRegistration = class {
|
|
|
23284
23360
|
.then((res) => res.text())
|
|
23285
23361
|
.then((data) => {
|
|
23286
23362
|
cssFile.innerHTML = data;
|
|
23363
|
+
this.clientStyling = data;
|
|
23287
23364
|
setTimeout(() => { this.stylingContainer.prepend(cssFile); }, 1);
|
|
23288
23365
|
});
|
|
23289
23366
|
};
|
|
@@ -23546,7 +23623,7 @@ const GeneralRegistration = class {
|
|
|
23546
23623
|
return listOfInputs.filter(input => input.isValid == false).length > 0;
|
|
23547
23624
|
}
|
|
23548
23625
|
renderInputs() {
|
|
23549
|
-
return (this.listOfInputs.map(input => h$2("general-input", { type: input.inputType, name: input.name, displayName: input.displayName, validation: input.validate, action: input.action || null, options: input.data ? input.data.values : [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, isDuplicateInput: input.isDuplicateInput })));
|
|
23626
|
+
return (this.listOfInputs.map(input => h$2("general-input", { type: input.inputType, name: input.name, displayName: input.displayName, validation: input.validate, action: input.action || null, options: input.data ? input.data.values : [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, isDuplicateInput: input.isDuplicateInput, "client-styling": this.clientStyling })));
|
|
23550
23627
|
}
|
|
23551
23628
|
;
|
|
23552
23629
|
renderButtons() {
|
|
@@ -23571,6 +23648,16 @@ const NumberInput = class {
|
|
|
23571
23648
|
registerInstance(this, hostRef);
|
|
23572
23649
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
23573
23650
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
23651
|
+
/**
|
|
23652
|
+
* Client custom styling via inline style
|
|
23653
|
+
*/
|
|
23654
|
+
this.clientStyling = '';
|
|
23655
|
+
this.limitStylingAppends = false;
|
|
23656
|
+
this.setClientStyling = () => {
|
|
23657
|
+
let sheet = document.createElement('style');
|
|
23658
|
+
sheet.innerHTML = this.clientStyling;
|
|
23659
|
+
this.stylingContainer.prepend(sheet);
|
|
23660
|
+
};
|
|
23574
23661
|
}
|
|
23575
23662
|
validityChanged() {
|
|
23576
23663
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -23589,6 +23676,15 @@ const NumberInput = class {
|
|
|
23589
23676
|
valueHandler(inputValueEvent) {
|
|
23590
23677
|
this.sendInputValue.emit(inputValueEvent);
|
|
23591
23678
|
}
|
|
23679
|
+
componentDidRender() {
|
|
23680
|
+
// start custom styling area
|
|
23681
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
23682
|
+
if (this.clientStyling)
|
|
23683
|
+
this.setClientStyling();
|
|
23684
|
+
this.limitStylingAppends = true;
|
|
23685
|
+
}
|
|
23686
|
+
// end custom styling area
|
|
23687
|
+
}
|
|
23592
23688
|
componentDidLoad() {
|
|
23593
23689
|
if (this.defaultValue) {
|
|
23594
23690
|
this.value = this.defaultValue;
|
|
@@ -23615,7 +23711,7 @@ const NumberInput = class {
|
|
|
23615
23711
|
}
|
|
23616
23712
|
render() {
|
|
23617
23713
|
const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'number__input--invalid';
|
|
23618
|
-
return h$2("div", { class: 'number__wrapper' }, h$2("input", { ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onBlur: (e) => this.handleInput(e) }), h$2("label", { class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'number__error-message' }, this.errorMessage));
|
|
23714
|
+
return h$2("div", { class: 'number__wrapper', ref: el => this.stylingContainer = el }, h$2("input", { ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onBlur: (e) => this.handleInput(e) }), h$2("label", { class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'number__error-message' }, this.errorMessage));
|
|
23619
23715
|
}
|
|
23620
23716
|
static get watchers() { return {
|
|
23621
23717
|
"isValid": ["validityChanged"],
|
|
@@ -24430,8 +24526,18 @@ const PasswordInput = class {
|
|
|
24430
24526
|
* Default value for the input.
|
|
24431
24527
|
*/
|
|
24432
24528
|
this.defaultValue = '';
|
|
24529
|
+
/**
|
|
24530
|
+
* Client custom styling via inline style
|
|
24531
|
+
*/
|
|
24532
|
+
this.clientStyling = '';
|
|
24533
|
+
this.limitStylingAppends = false;
|
|
24433
24534
|
this.value = '';
|
|
24434
24535
|
this.validationPattern = '';
|
|
24536
|
+
this.setClientStyling = () => {
|
|
24537
|
+
let sheet = document.createElement('style');
|
|
24538
|
+
sheet.innerHTML = this.clientStyling;
|
|
24539
|
+
this.stylingContainer.prepend(sheet);
|
|
24540
|
+
};
|
|
24435
24541
|
}
|
|
24436
24542
|
validityChanged() {
|
|
24437
24543
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -24460,6 +24566,15 @@ const PasswordInput = class {
|
|
|
24460
24566
|
connectedCallback() {
|
|
24461
24567
|
this.validationPattern = this.setPattern();
|
|
24462
24568
|
}
|
|
24569
|
+
componentDidRender() {
|
|
24570
|
+
// start custom styling area
|
|
24571
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
24572
|
+
if (this.clientStyling)
|
|
24573
|
+
this.setClientStyling();
|
|
24574
|
+
this.limitStylingAppends = true;
|
|
24575
|
+
}
|
|
24576
|
+
// end custom styling area
|
|
24577
|
+
}
|
|
24463
24578
|
componentDidLoad() {
|
|
24464
24579
|
this.inputReference = this.element.shadowRoot.querySelector('input');
|
|
24465
24580
|
if (this.defaultValue) {
|
|
@@ -24500,7 +24615,7 @@ const PasswordInput = class {
|
|
|
24500
24615
|
}
|
|
24501
24616
|
render() {
|
|
24502
24617
|
const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'password__input--invalid';
|
|
24503
|
-
return h$2("div", { class: 'password__wrapper' }, h$2("vaadin-password-field", { type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue,
|
|
24618
|
+
return h$2("div", { class: 'password__wrapper', ref: el => this.stylingContainer = el }, h$2("vaadin-password-field", { type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue,
|
|
24504
24619
|
// ref={(el) => this.inputReference = el as HTMLInputElement}
|
|
24505
24620
|
required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, onBlur: (e) => this.handleInput(e) }), h$2("label", { class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'password__error-message' }, this.errorMessage));
|
|
24506
24621
|
}
|
|
@@ -24519,6 +24634,16 @@ const RadioInput = class {
|
|
|
24519
24634
|
registerInstance(this, hostRef);
|
|
24520
24635
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
24521
24636
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
24637
|
+
/**
|
|
24638
|
+
* Client custom styling via inline style
|
|
24639
|
+
*/
|
|
24640
|
+
this.clientStyling = '';
|
|
24641
|
+
this.limitStylingAppends = false;
|
|
24642
|
+
this.setClientStyling = () => {
|
|
24643
|
+
let sheet = document.createElement('style');
|
|
24644
|
+
sheet.innerHTML = this.clientStyling;
|
|
24645
|
+
this.stylingContainer.prepend(sheet);
|
|
24646
|
+
};
|
|
24522
24647
|
}
|
|
24523
24648
|
validityChanged() {
|
|
24524
24649
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -24537,7 +24662,14 @@ const RadioInput = class {
|
|
|
24537
24662
|
validityStateHandler(inputStateEvent) {
|
|
24538
24663
|
this.sendValidityState.emit(inputStateEvent);
|
|
24539
24664
|
}
|
|
24540
|
-
|
|
24665
|
+
componentDidRender() {
|
|
24666
|
+
// start custom styling area
|
|
24667
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
24668
|
+
if (this.clientStyling)
|
|
24669
|
+
this.setClientStyling();
|
|
24670
|
+
this.limitStylingAppends = true;
|
|
24671
|
+
}
|
|
24672
|
+
// end custom styling area
|
|
24541
24673
|
}
|
|
24542
24674
|
handleClick(event) {
|
|
24543
24675
|
this.value = event.target.value;
|
|
@@ -24555,7 +24687,7 @@ const RadioInput = class {
|
|
|
24555
24687
|
}
|
|
24556
24688
|
}
|
|
24557
24689
|
render() {
|
|
24558
|
-
return h$2("fieldset", { class: 'radio__fieldset' }, h$2("legend", { class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => h$2("div", { class: 'radio__wrapper' }, h$2("input", { type: "radio", class: 'radio__input', id: `${option.label}__input`, ref: (el) => this.inputReference = el, value: option.value, name: this.name, required: this.validation.mandatory, onClick: (e) => this.handleClick(e) }), h$2("label", { htmlFor: `${option.label}__input` }, option.label))), h$2("small", { class: 'radio__error-message' }, this.errorMessage));
|
|
24690
|
+
return h$2("fieldset", { class: 'radio__fieldset', ref: el => this.stylingContainer = el }, h$2("legend", { class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => h$2("div", { class: 'radio__wrapper' }, h$2("input", { type: "radio", class: 'radio__input', id: `${option.label}__input`, ref: (el) => this.inputReference = el, value: option.value, name: this.name, required: this.validation.mandatory, onClick: (e) => this.handleClick(e) }), h$2("label", { htmlFor: `${option.label}__input` }, option.label))), h$2("small", { class: 'radio__error-message' }, this.errorMessage));
|
|
24559
24691
|
}
|
|
24560
24692
|
static get watchers() { return {
|
|
24561
24693
|
"isValid": ["validityChanged"],
|
|
@@ -28920,6 +29052,16 @@ const SelectInput = class {
|
|
|
28920
29052
|
* Options of the input.
|
|
28921
29053
|
*/
|
|
28922
29054
|
this.options = [];
|
|
29055
|
+
/**
|
|
29056
|
+
* Client custom styling via inline style
|
|
29057
|
+
*/
|
|
29058
|
+
this.clientStyling = '';
|
|
29059
|
+
this.limitStylingAppends = false;
|
|
29060
|
+
this.setClientStyling = () => {
|
|
29061
|
+
let sheet = document.createElement('style');
|
|
29062
|
+
sheet.innerHTML = this.clientStyling;
|
|
29063
|
+
this.stylingContainer.prepend(sheet);
|
|
29064
|
+
};
|
|
28923
29065
|
}
|
|
28924
29066
|
validityChanged() {
|
|
28925
29067
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -28952,6 +29094,15 @@ const SelectInput = class {
|
|
|
28952
29094
|
}
|
|
28953
29095
|
}
|
|
28954
29096
|
}
|
|
29097
|
+
componentDidRender() {
|
|
29098
|
+
// start custom styling area
|
|
29099
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
29100
|
+
if (this.clientStyling)
|
|
29101
|
+
this.setClientStyling();
|
|
29102
|
+
this.limitStylingAppends = true;
|
|
29103
|
+
}
|
|
29104
|
+
// end custom styling area
|
|
29105
|
+
}
|
|
28955
29106
|
componentDidLoad() {
|
|
28956
29107
|
this.inputReference = this.element.shadowRoot.querySelector('input');
|
|
28957
29108
|
if (this.defaultValue) {
|
|
@@ -28990,7 +29141,7 @@ const SelectInput = class {
|
|
|
28990
29141
|
}
|
|
28991
29142
|
render() {
|
|
28992
29143
|
const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'select__input--invalid';
|
|
28993
|
-
return h$2("div", { class: 'select__wrapper' }, h$2("label", { class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), h$2("vaadin-combo-box", { name: this.name, id: `${this.name}__input`, class: `select__input ${invalidClass}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, items: this.displayedOptions, onBlur: (e) => this.handleChange(e) }), h$2("small", { class: 'select__error-message' }, this.errorMessage));
|
|
29144
|
+
return h$2("div", { class: 'select__wrapper', ref: el => this.stylingContainer = el }, h$2("label", { class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), h$2("vaadin-combo-box", { name: this.name, id: `${this.name}__input`, class: `select__input ${invalidClass}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, items: this.displayedOptions, onBlur: (e) => this.handleChange(e) }), h$2("small", { class: 'select__error-message' }, this.errorMessage));
|
|
28994
29145
|
}
|
|
28995
29146
|
get element() { return getElement(this); }
|
|
28996
29147
|
static get watchers() { return {
|
|
@@ -29007,7 +29158,17 @@ const TelInput = class {
|
|
|
29007
29158
|
registerInstance(this, hostRef);
|
|
29008
29159
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
29009
29160
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
29161
|
+
/**
|
|
29162
|
+
* Client custom styling via inline style
|
|
29163
|
+
*/
|
|
29164
|
+
this.clientStyling = '';
|
|
29165
|
+
this.limitStylingAppends = false;
|
|
29010
29166
|
this.validationPattern = '';
|
|
29167
|
+
this.setClientStyling = () => {
|
|
29168
|
+
let sheet = document.createElement('style');
|
|
29169
|
+
sheet.innerHTML = this.clientStyling;
|
|
29170
|
+
this.stylingContainer.prepend(sheet);
|
|
29171
|
+
};
|
|
29011
29172
|
}
|
|
29012
29173
|
validityChanged() {
|
|
29013
29174
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -29044,6 +29205,15 @@ const TelInput = class {
|
|
|
29044
29205
|
}
|
|
29045
29206
|
}
|
|
29046
29207
|
}
|
|
29208
|
+
componentDidRender() {
|
|
29209
|
+
// start custom styling area
|
|
29210
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
29211
|
+
if (this.clientStyling)
|
|
29212
|
+
this.setClientStyling();
|
|
29213
|
+
this.limitStylingAppends = true;
|
|
29214
|
+
}
|
|
29215
|
+
// end custom styling area
|
|
29216
|
+
}
|
|
29047
29217
|
componentDidLoad() {
|
|
29048
29218
|
if (this.defaultValue) {
|
|
29049
29219
|
this.value = `${this.prefixValue}|${this.phoneValue}`;
|
|
@@ -29095,7 +29265,7 @@ const TelInput = class {
|
|
|
29095
29265
|
}
|
|
29096
29266
|
render() {
|
|
29097
29267
|
const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'tel__wrapper--flex--invalid';
|
|
29098
|
-
return h$2("div", { class: 'tel__wrapper' }, h$2("div", { class: `tel__wrapper--flex ${invalidClass}` }, h$2("vaadin-combo-box", { class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onBlur: (e) => this.prefixValue = e.target.value }), h$2("input", { type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onBlur: (e) => this.handleInput(e) })), h$2("label", { class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'tel__error-message' }, this.errorMessage));
|
|
29268
|
+
return h$2("div", { class: 'tel__wrapper', ref: el => this.stylingContainer = el }, h$2("div", { class: `tel__wrapper--flex ${invalidClass}` }, h$2("vaadin-combo-box", { class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onBlur: (e) => this.prefixValue = e.target.value }), h$2("input", { type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onBlur: (e) => this.handleInput(e) })), h$2("label", { class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'tel__error-message' }, this.errorMessage));
|
|
29099
29269
|
}
|
|
29100
29270
|
static get watchers() { return {
|
|
29101
29271
|
"isValid": ["validityChanged"],
|
|
@@ -29115,10 +29285,20 @@ const TextInput = class {
|
|
|
29115
29285
|
* Default value for the input.
|
|
29116
29286
|
*/
|
|
29117
29287
|
this.defaultValue = '';
|
|
29288
|
+
/**
|
|
29289
|
+
* Client custom styling via inline style
|
|
29290
|
+
*/
|
|
29291
|
+
this.clientStyling = '';
|
|
29118
29292
|
this.errorMessage = '';
|
|
29293
|
+
this.limitStylingAppends = false;
|
|
29119
29294
|
this.value = '';
|
|
29120
29295
|
this.customRules = [];
|
|
29121
29296
|
this.validationPattern = '';
|
|
29297
|
+
this.setClientStyling = () => {
|
|
29298
|
+
let sheet = document.createElement('style');
|
|
29299
|
+
sheet.innerHTML = this.clientStyling;
|
|
29300
|
+
this.stylingContainer.prepend(sheet);
|
|
29301
|
+
};
|
|
29122
29302
|
}
|
|
29123
29303
|
validityChanged() {
|
|
29124
29304
|
if (this.emitValue == true) {
|
|
@@ -29146,6 +29326,15 @@ const TextInput = class {
|
|
|
29146
29326
|
connectedCallback() {
|
|
29147
29327
|
this.validationPattern = this.setPattern();
|
|
29148
29328
|
}
|
|
29329
|
+
componentDidRender() {
|
|
29330
|
+
// start custom styling area
|
|
29331
|
+
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
29332
|
+
if (this.clientStyling)
|
|
29333
|
+
this.setClientStyling();
|
|
29334
|
+
this.limitStylingAppends = true;
|
|
29335
|
+
}
|
|
29336
|
+
// end custom styling area
|
|
29337
|
+
}
|
|
29149
29338
|
componentDidLoad() {
|
|
29150
29339
|
if (this.defaultValue) {
|
|
29151
29340
|
this.value = this.defaultValue;
|
|
@@ -29185,7 +29374,7 @@ const TextInput = class {
|
|
|
29185
29374
|
}
|
|
29186
29375
|
render() {
|
|
29187
29376
|
const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
29188
|
-
return h$2("div", { class: 'text__wrapper' }, h$2("label", { class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("input", { name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onBlur: (e) => { this.handleInput(e); } }), h$2("small", { class: 'text__error-message' }, this.errorMessage));
|
|
29377
|
+
return h$2("div", { class: 'text__wrapper', ref: el => this.stylingContainer = el }, h$2("label", { class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("input", { name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onBlur: (e) => { this.handleInput(e); } }), h$2("small", { class: 'text__error-message' }, this.errorMessage));
|
|
29189
29378
|
}
|
|
29190
29379
|
static get watchers() { return {
|
|
29191
29380
|
"isValid": ["validityChanged"],
|
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["checkbox-input_11",[[1,"general-registration",{"endpoint":[1],"language":[1],"clientStyling":[
|
|
16
|
+
return bootstrapLazy([["checkbox-input_11",[[1,"general-registration",{"endpoint":[1],"language":[1],"clientStyling":[1025,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"errorMessage":[32],"emitValue":[32],"isFormValid":[32],"listOfInputs":[32],"isLoading":[32],"limitStylingAppends":[32],"registrationStep":[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{"type":[1],"name":[1],"displayName":[1,"display-name"],"action":[1],"validation":[16],"options":[8],"language":[1],"autofilled":[4],"defaultValue":[8,"default-value"],"emitValue":[4,"emit-value"],"isDuplicateInput":[4,"is-duplicate-input"],"clientStyling":[1,"client-styling"],"limitStylingAppends":[32]}],[1,"checkbox-input",{"name":[1],"displayName":[1,"display-name"],"defaultValue":[1,"default-value"],"autofilled":[4],"validation":[16],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"date-input",{"name":[1],"displayName":[1,"display-name"],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"email-input",{"name":[1],"displayName":[1,"display-name"],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"language":[1],"emitValue":[4,"emit-value"],"isDuplicateInput":[4,"is-duplicate-input"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{"name":[1],"displayName":[1,"display-name"],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"password-input",{"name":[1],"displayName":[1,"display-name"],"defaultValue":[1,"default-value"],"autofilled":[4],"validation":[16],"language":[1],"emitValue":[4,"emit-value"],"isDuplicateInput":[4,"is-duplicate-input"],"clientStyling":[1,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"radio-input",{"name":[1],"displayName":[1,"display-name"],"optionsGroup":[16],"validation":[16],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"select-input",{"name":[1],"displayName":[1,"display-name"],"action":[1],"defaultValue":[1,"default-value"],"autofilled":[4],"options":[16],"validation":[16],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"tel-input",{"name":[1],"displayName":[1,"display-name"],"showLabels":[4,"show-labels"],"action":[1],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]}],[1,"text-input",{"name":[1],"displayName":[1,"display-name"],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"rules":[1],"language":[1],"checkValidity":[4,"check-validity"],"emitValue":[4,"emit-value"],"isDuplicateInput":[4,"is-duplicate-input"],"clientStyling":[1,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]]]]], options);
|
|
17
17
|
});
|
package/dist/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["checkbox-input_11",[[1,"general-registration",{"endpoint":[1],"language":[1],"clientStyling":[
|
|
13
|
+
return bootstrapLazy([["checkbox-input_11",[[1,"general-registration",{"endpoint":[1],"language":[1],"clientStyling":[1025,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"errorMessage":[32],"emitValue":[32],"isFormValid":[32],"listOfInputs":[32],"isLoading":[32],"limitStylingAppends":[32],"registrationStep":[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{"type":[1],"name":[1],"displayName":[1,"display-name"],"action":[1],"validation":[16],"options":[8],"language":[1],"autofilled":[4],"defaultValue":[8,"default-value"],"emitValue":[4,"emit-value"],"isDuplicateInput":[4,"is-duplicate-input"],"clientStyling":[1,"client-styling"],"limitStylingAppends":[32]}],[1,"checkbox-input",{"name":[1],"displayName":[1,"display-name"],"defaultValue":[1,"default-value"],"autofilled":[4],"validation":[16],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"date-input",{"name":[1],"displayName":[1,"display-name"],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"email-input",{"name":[1],"displayName":[1,"display-name"],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"language":[1],"emitValue":[4,"emit-value"],"isDuplicateInput":[4,"is-duplicate-input"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{"name":[1],"displayName":[1,"display-name"],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"password-input",{"name":[1],"displayName":[1,"display-name"],"defaultValue":[1,"default-value"],"autofilled":[4],"validation":[16],"language":[1],"emitValue":[4,"emit-value"],"isDuplicateInput":[4,"is-duplicate-input"],"clientStyling":[1,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"radio-input",{"name":[1],"displayName":[1,"display-name"],"optionsGroup":[16],"validation":[16],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"select-input",{"name":[1],"displayName":[1,"display-name"],"action":[1],"defaultValue":[1,"default-value"],"autofilled":[4],"options":[16],"validation":[16],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"tel-input",{"name":[1],"displayName":[1,"display-name"],"showLabels":[4,"show-labels"],"action":[1],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"language":[1],"emitValue":[4,"emit-value"],"clientStyling":[1,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]}],[1,"text-input",{"name":[1],"displayName":[1,"display-name"],"validation":[16],"defaultValue":[1,"default-value"],"autofilled":[4],"rules":[1],"language":[1],"checkValidity":[4,"check-validity"],"emitValue":[4,"emit-value"],"isDuplicateInput":[4,"is-duplicate-input"],"clientStyling":[1,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as e,b as l}from"./p-8f644809.js";(()=>{const l=import.meta.url,i={};return""!==l&&(i.resourcesUrl=new URL(".",l).href),e(i)})().then((e=>l([["p-c7e0b72f",[[1,"general-registration",{endpoint:[1],language:[1],clientStyling:[1025,"client-styling"],clientStylingUrl:[1,"client-styling-url"],errorMessage:[32],emitValue:[32],isFormValid:[32],listOfInputs:[32],isLoading:[32],limitStylingAppends:[32],registrationStep:[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{type:[1],name:[1],displayName:[1,"display-name"],action:[1],validation:[16],options:[8],language:[1],autofilled:[4],defaultValue:[8,"default-value"],emitValue:[4,"emit-value"],isDuplicateInput:[4,"is-duplicate-input"],clientStyling:[1,"client-styling"],limitStylingAppends:[32]}],[1,"checkbox-input",{name:[1],displayName:[1,"display-name"],defaultValue:[1,"default-value"],autofilled:[4],validation:[16],language:[1],emitValue:[4,"emit-value"],clientStyling:[1,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"date-input",{name:[1],displayName:[1,"display-name"],validation:[16],defaultValue:[1,"default-value"],autofilled:[4],language:[1],emitValue:[4,"emit-value"],clientStyling:[1,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"email-input",{name:[1],displayName:[1,"display-name"],validation:[16],defaultValue:[1,"default-value"],autofilled:[4],language:[1],emitValue:[4,"emit-value"],isDuplicateInput:[4,"is-duplicate-input"],clientStyling:[1,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{name:[1],displayName:[1,"display-name"],validation:[16],defaultValue:[1,"default-value"],autofilled:[4],language:[1],emitValue:[4,"emit-value"],clientStyling:[1,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"password-input",{name:[1],displayName:[1,"display-name"],defaultValue:[1,"default-value"],autofilled:[4],validation:[16],language:[1],emitValue:[4,"emit-value"],isDuplicateInput:[4,"is-duplicate-input"],clientStyling:[1,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"radio-input",{name:[1],displayName:[1,"display-name"],optionsGroup:[16],validation:[16],language:[1],emitValue:[4,"emit-value"],clientStyling:[1,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"select-input",{name:[1],displayName:[1,"display-name"],action:[1],defaultValue:[1,"default-value"],autofilled:[4],options:[16],validation:[16],language:[1],emitValue:[4,"emit-value"],clientStyling:[1,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"tel-input",{name:[1],displayName:[1,"display-name"],showLabels:[4,"show-labels"],action:[1],validation:[16],defaultValue:[1,"default-value"],autofilled:[4],language:[1],emitValue:[4,"emit-value"],clientStyling:[1,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32]}],[1,"text-input",{name:[1],displayName:[1,"display-name"],validation:[16],defaultValue:[1,"default-value"],autofilled:[4],rules:[1],language:[1],checkValidity:[4,"check-validity"],emitValue:[4,"emit-value"],isDuplicateInput:[4,"is-duplicate-input"],clientStyling:[1,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32]},[[16,"sendInputValue","valueChangedHandler"]]]]]],e)));
|