@everymatrix/general-registration 1.32.4 → 1.33.0
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-group-input_13.cjs.entry.js +36991 -0
- package/dist/cjs/general-registration.cjs.js +19 -0
- package/dist/cjs/index-0b9241d1.js +1360 -0
- package/dist/cjs/index.cjs.js +18 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/collection/collection-manifest.json +30 -0
- package/dist/collection/components/general-registration/general-registration.css +122 -0
- package/dist/collection/components/general-registration/general-registration.js +774 -0
- package/dist/collection/index.js +17 -0
- package/dist/collection/utils/locale.utils.js +108 -0
- package/dist/collection/utils/utils.js +3 -0
- package/dist/components/active-mixin.js +975 -0
- package/dist/components/checkbox-group-input.js +6 -0
- package/dist/components/checkbox-group-input2.js +1078 -0
- package/dist/components/checkbox-input.js +6 -0
- package/dist/components/checkbox-input2.js +129 -0
- package/dist/components/date-input.js +6 -0
- package/dist/components/date-input2.js +11556 -0
- package/dist/components/email-input.js +6 -0
- package/dist/components/email-input2.js +171 -0
- package/dist/components/field-mixin.js +12426 -0
- package/dist/components/general-input.js +6 -0
- package/dist/components/general-input2.js +341 -0
- package/dist/components/general-registration.d.ts +11 -0
- package/dist/components/general-registration.js +754 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +18 -0
- package/dist/components/input-field-shared-styles.js +1211 -0
- package/dist/components/number-input.js +6 -0
- package/dist/components/number-input2.js +158 -0
- package/dist/components/password-input.js +6 -0
- package/dist/components/password-input2.js +1041 -0
- package/dist/components/radio-input.js +6 -0
- package/dist/components/radio-input2.js +114 -0
- package/dist/components/select-input.js +6 -0
- package/dist/components/select-input2.js +183 -0
- package/dist/components/tel-input.js +6 -0
- package/dist/components/tel-input2.js +197 -0
- package/dist/components/text-input.js +6 -0
- package/dist/components/text-input2.js +199 -0
- package/dist/components/toggle-checkbox-input.js +6 -0
- package/dist/components/tooltipIcon.js +127 -0
- package/dist/components/vaadin-button.js +490 -0
- package/dist/components/vaadin-combo-box.js +4512 -0
- package/dist/components/virtual-keyboard-controller.js +2001 -0
- package/dist/esm/checkbox-group-input_13.entry.js +36975 -0
- package/dist/esm/general-registration.js +17 -0
- package/dist/esm/index-a42c182c.js +1332 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/general-registration/general-registration.esm.js +1 -0
- package/dist/general-registration/index.esm.js +1 -0
- package/dist/general-registration/p-4ff02444.js +1 -0
- package/dist/general-registration/p-8eaa2cfb.entry.js +3647 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.js +22 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/general-registration/.stencil/packages/general-input/src/utils/types.d.ts +87 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/general-registration/.stencil/packages/general-registration/stencil.config.d.ts +2 -0
- package/dist/types/components/general-registration/general-registration.d.ts +93 -0
- package/dist/types/components.d.ts +111 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/utils/locale.utils.d.ts +17 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +2 -3
- package/LICENSE +0 -21
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function safeDecorator(fn) {
|
|
4
|
+
// eslint-disable-next-line func-names
|
|
5
|
+
return function (...args) {
|
|
6
|
+
try {
|
|
7
|
+
return fn.apply(this, args);
|
|
8
|
+
}
|
|
9
|
+
catch (error) {
|
|
10
|
+
if (error instanceof DOMException &&
|
|
11
|
+
error.message.includes('has already been used with this registry') || error.message.includes('Cannot define multiple custom elements with the same tag name')) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
throw error;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
customElements.define = safeDecorator(customElements.define);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-0b9241d1.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
const patchEsm = () => {
|
|
11
|
+
return index.promiseResolve();
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const defineCustomElements = (win, options) => {
|
|
15
|
+
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
|
+
return patchEsm().then(() => {
|
|
17
|
+
return index.bootstrapLazy([["checkbox-group-input_13.cjs",[[1,"general-registration",{"endpoint":[513],"language":[513],"clientStyling":[1537,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"dateFormat":[513,"date-format"],"buttonInsideForm":[516,"button-inside-form"],"btag":[513],"emitOnClick":[516,"emit-on-click"],"errorMessage":[32],"isFormValid":[32],"isLoading":[32],"isLoadingPOST":[32],"registrationStep":[32],"forms":[32],"limitStylingAppends":[32],"autofilled":[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{"type":[513],"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"action":[513],"validation":[16],"options":[520],"language":[513],"autofilled":[516],"tooltip":[513],"defaultValue":[520,"default-value"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[520,"client-styling"],"dateFormat":[513,"date-format"],"translationUrl":[513,"translation-url"],"emitOnClick":[516,"emit-on-click"]}],[1,"toggle-checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"options":[16],"autofilled":[516],"tooltip":[513],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32],"showFields":[32]},[[4,"click","handleClickOutside"]]],[1,"checkbox-group-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32],"selectedValues":[32]},[[4,"click","handleClickOutside"]]],[1,"checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]]],[1,"date-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"dateFormat":[513,"date-format"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]]],[1,"email-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]]],[1,"password-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32],"passwordComplexity":[32],"showPopup":[32],"value":[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]]],[1,"radio-input",{"name":[513],"displayName":[513,"display-name"],"optionsGroup":[16],"validation":[16],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]]],[1,"select-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"action":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]]],[1,"tel-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"showLabels":[516,"show-labels"],"action":[513],"validation":[16],"defaultValue":[520,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"]]],[1,"text-input",{"name":[513],"displayName":[513,"display-name"],"placeholder":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"tooltip":[513],"language":[513],"checkValidity":[516,"check-validity"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32],"showTooltip":[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]]]]]], options);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"./components/general-registration/general-registration.js"
|
|
4
|
+
],
|
|
5
|
+
"compiler": {
|
|
6
|
+
"name": "@stencil/core",
|
|
7
|
+
"version": "2.15.2",
|
|
8
|
+
"typescriptVersion": "4.5.4"
|
|
9
|
+
},
|
|
10
|
+
"collections": [
|
|
11
|
+
{
|
|
12
|
+
"name": "@everymatrix/general-input",
|
|
13
|
+
"tags": [
|
|
14
|
+
"checkbox-group-input",
|
|
15
|
+
"checkbox-input",
|
|
16
|
+
"date-input",
|
|
17
|
+
"email-input",
|
|
18
|
+
"general-input",
|
|
19
|
+
"number-input",
|
|
20
|
+
"password-input",
|
|
21
|
+
"radio-input",
|
|
22
|
+
"select-input",
|
|
23
|
+
"tel-input",
|
|
24
|
+
"text-input",
|
|
25
|
+
"toggle-checkbox-input"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"bundles": []
|
|
30
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {
|
|
4
|
+
padding: 0;
|
|
5
|
+
margin: 0;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.registration__form.hidden {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.registration {
|
|
14
|
+
font-family: "Roboto";
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-family: sans-serif;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 24px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
container-type: inline-size;
|
|
23
|
+
}
|
|
24
|
+
.registration__wrapper {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
align-items: center;
|
|
28
|
+
}
|
|
29
|
+
.registration__error-message {
|
|
30
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
31
|
+
font-size: 13px;
|
|
32
|
+
display: block;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
text-align: center;
|
|
35
|
+
}
|
|
36
|
+
.registration__form {
|
|
37
|
+
display: grid;
|
|
38
|
+
grid-template-columns: repeat(1, 1fr);
|
|
39
|
+
gap: 40px;
|
|
40
|
+
justify-items: stretch;
|
|
41
|
+
align-content: flex-start;
|
|
42
|
+
overflow: auto;
|
|
43
|
+
width: 100%;
|
|
44
|
+
height: 100%;
|
|
45
|
+
}
|
|
46
|
+
.registration__buttons-wrapper {
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
justify-content: space-around;
|
|
50
|
+
align-items: center;
|
|
51
|
+
position: relative;
|
|
52
|
+
}
|
|
53
|
+
.registration__button {
|
|
54
|
+
border-radius: 5px;
|
|
55
|
+
background: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
56
|
+
border: 1px solid var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
57
|
+
color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
|
|
58
|
+
text-transform: uppercase;
|
|
59
|
+
font-size: 20px;
|
|
60
|
+
height: 44px;
|
|
61
|
+
width: 100%;
|
|
62
|
+
margin: 0px auto;
|
|
63
|
+
padding: 10px 20px;
|
|
64
|
+
font-weight: normal;
|
|
65
|
+
box-shadow: none;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
.registration__button--disabled {
|
|
69
|
+
background: var(--emfe-w-color-gray-100, #E6E6E6);
|
|
70
|
+
border: 1px solid var(--emfe-w-color-gray-150, #828282);
|
|
71
|
+
pointer-events: none;
|
|
72
|
+
box-shadow: none;
|
|
73
|
+
}
|
|
74
|
+
.registration__button--first-step {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@container (min-width: 450px) {
|
|
79
|
+
.registration__form {
|
|
80
|
+
grid-template-columns: repeat(2, 1fr);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.registration__buttons-wrapper {
|
|
84
|
+
flex-direction: row-reverse;
|
|
85
|
+
gap: 15px;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
.spinner {
|
|
89
|
+
animation: rotate 2s linear infinite;
|
|
90
|
+
z-index: 2;
|
|
91
|
+
position: absolute;
|
|
92
|
+
top: 50%;
|
|
93
|
+
left: 50%;
|
|
94
|
+
margin: -25px 0 0 -25px;
|
|
95
|
+
width: 50px;
|
|
96
|
+
height: 50px;
|
|
97
|
+
}
|
|
98
|
+
.spinner .path {
|
|
99
|
+
stroke: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
100
|
+
stroke-linecap: round;
|
|
101
|
+
animation: dash 1.5s ease-in-out infinite;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@keyframes rotate {
|
|
105
|
+
100% {
|
|
106
|
+
transform: rotate(360deg);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
@keyframes dash {
|
|
110
|
+
0% {
|
|
111
|
+
stroke-dasharray: 1, 150;
|
|
112
|
+
stroke-dashoffset: 0;
|
|
113
|
+
}
|
|
114
|
+
50% {
|
|
115
|
+
stroke-dasharray: 90, 150;
|
|
116
|
+
stroke-dashoffset: -35;
|
|
117
|
+
}
|
|
118
|
+
100% {
|
|
119
|
+
stroke-dasharray: 90, 150;
|
|
120
|
+
stroke-dashoffset: -124;
|
|
121
|
+
}
|
|
122
|
+
}
|