@luftborn/custom-elements 1.4.0 → 2.0.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/README.md +2 -2
- package/assets/style.css +277 -277
- package/azure-pipeline.yml +54 -0
- package/demo/index.html +585 -585
- package/demo/index.js +6109 -0
- package/demo/index.min.js +6110 -0
- package/demo/index.min.js.map +1 -0
- package/demo/index.ts +11 -11
- package/demo/old/index.html +586 -586
- package/demo/old/index.js +10849 -10849
- package/demo/old/index.min.js +10850 -10850
- package/demo/old/index.ts +10 -10
- package/dist/custom-form.d.ts +20 -20
- package/dist/custom-form.js +147 -147
- package/dist/elements/Address/AddressElement.d.ts +28 -28
- package/dist/elements/Address/AddressElement.js +206 -206
- package/dist/elements/BankField/BankFieldElement.d.ts +22 -22
- package/dist/elements/BankField/BankFieldElement.js +127 -127
- package/dist/elements/CPRElement/CPRElement.d.ts +14 -14
- package/dist/elements/CPRElement/CPRElement.js +82 -82
- package/dist/elements/CVRElement/CVRElement.d.ts +14 -14
- package/dist/elements/CVRElement/CVRElement.js +82 -82
- package/dist/elements/CheckBoxElement/CheckBoxElement.d.ts +14 -14
- package/dist/elements/CheckBoxElement/CheckBoxElement.js +96 -96
- package/dist/elements/CustomRegularExpression/CustomRegularExpressionElement.d.ts +12 -12
- package/dist/elements/CustomRegularExpression/CustomRegularExpressionElement.js +82 -82
- package/dist/elements/DateField/DateFieldElement.d.ts +12 -12
- package/dist/elements/DateField/DateFieldElement.js +85 -85
- package/dist/elements/DropDownList/DropDownListElement.d.ts +14 -14
- package/dist/elements/DropDownList/DropDownListElement.js +93 -93
- package/dist/elements/Elements.d.ts +18 -18
- package/dist/elements/Elements.js +37 -37
- package/dist/elements/EmailField/EmailFieldElement.d.ts +13 -13
- package/dist/elements/EmailField/EmailFieldElement.js +83 -83
- package/dist/elements/FileField/FileFieldElement.d.ts +15 -15
- package/dist/elements/FileField/FileFieldElement.js +103 -103
- package/dist/elements/IdentificationElement/IdentificationElement.d.ts +18 -18
- package/dist/elements/IdentificationElement/IdentificationElement.js +94 -94
- package/dist/elements/InternationaPhoneNumber/InternationaPhoneNumberElement.d.ts +16 -16
- package/dist/elements/InternationaPhoneNumber/InternationaPhoneNumberElement.js +114 -114
- package/dist/elements/NumericField/NumericFieldElement.d.ts +12 -12
- package/dist/elements/NumericField/NumericFieldElement.js +91 -91
- package/dist/elements/RadioButtonGroup/RadioButtonGroupElement.d.ts +14 -14
- package/dist/elements/RadioButtonGroup/RadioButtonGroupElement.js +99 -99
- package/dist/elements/TextAreaElement/TextAreaElement.d.ts +12 -12
- package/dist/elements/TextAreaElement/TextAreaElement.js +79 -79
- package/dist/elements/TextField/TextFieldElement.d.ts +12 -12
- package/dist/elements/TextField/TextFieldElement.js +79 -79
- package/dist/elements/TypeAhead/TypeAheadElement.d.ts +24 -24
- package/dist/elements/TypeAhead/TypeAheadElement.js +209 -209
- package/dist/framework/CustomEvents.d.ts +21 -21
- package/dist/framework/CustomEvents.js +47 -47
- package/dist/framework/CustomInputElement.d.ts +50 -50
- package/dist/framework/CustomInputElement.js +258 -258
- package/dist/framework/Language/Languages/Base/BaseDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/Base/BaseDictionary.js +20 -20
- package/dist/framework/Language/Languages/CzechDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/CzechDictionary.js +39 -39
- package/dist/framework/Language/Languages/DanishDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/DanishDictionary.js +39 -39
- package/dist/framework/Language/Languages/DutchDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/DutchDictionary.js +39 -39
- package/dist/framework/Language/Languages/EnglishDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/EnglishDictionary.js +39 -39
- package/dist/framework/Language/Languages/EstonianDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/EstonianDictionary.js +39 -39
- package/dist/framework/Language/Languages/FinnishDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/FinnishDictionary.js +39 -39
- package/dist/framework/Language/Languages/FrenchDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/FrenchDictionary.js +39 -39
- package/dist/framework/Language/Languages/GermanDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/GermanDictionary.js +39 -39
- package/dist/framework/Language/Languages/GreekDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/GreekDictionary.js +39 -39
- package/dist/framework/Language/Languages/HungarianDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/HungarianDictionary.js +39 -39
- package/dist/framework/Language/Languages/IcelandicDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/IcelandicDictionary.js +39 -39
- package/dist/framework/Language/Languages/ItalianDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/ItalianDictionary.js +39 -39
- package/dist/framework/Language/Languages/LatvianDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/LatvianDictionary.js +39 -39
- package/dist/framework/Language/Languages/LituanianDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/LituanianDictionary.js +39 -39
- package/dist/framework/Language/Languages/NorwegianDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/NorwegianDictionary.js +39 -39
- package/dist/framework/Language/Languages/PolishDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/PolishDictionary.js +39 -39
- package/dist/framework/Language/Languages/PortugueseDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/PortugueseDictionary.js +39 -39
- package/dist/framework/Language/Languages/SpanishDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/SpanishDictionary.js +39 -39
- package/dist/framework/Language/Languages/SwedishDictionary.d.ts +4 -4
- package/dist/framework/Language/Languages/SwedishDictionary.js +39 -39
- package/dist/framework/Language/Translator.d.ts +23 -23
- package/dist/framework/Language/Translator.js +115 -115
- package/dist/framework/Models/OptionWithDescription.d.ts +6 -6
- package/dist/framework/Models/OptionWithDescription.js +9 -9
- package/dist/framework/Polyfills/getAttributeNamesPolyfill.d.ts +1 -1
- package/dist/framework/Polyfills/getAttributeNamesPolyfill.js +17 -17
- package/dist/framework/Translations/CaseConverter.d.ts +5 -5
- package/dist/framework/Translations/CaseConverter.js +50 -50
- package/dist/framework/Utilities/ArrayUtil.d.ts +6 -6
- package/dist/framework/Utilities/ArrayUtil.js +36 -36
- package/dist/framework/Utilities/DomUtil.d.ts +21 -21
- package/dist/framework/Utilities/DomUtil.js +101 -101
- package/dist/framework/Utilities/DomUtility.d.ts +3 -3
- package/dist/framework/Utilities/DomUtility.js +12 -12
- package/dist/framework/Utilities/MakeRequest.d.ts +8 -8
- package/dist/framework/Utilities/MakeRequest.js +48 -48
- package/dist/framework/Utilities/StringUtil.d.ts +4 -4
- package/dist/framework/Utilities/StringUtil.js +16 -16
- package/dist/framework/Utilities/ViewportUtil.d.ts +8 -8
- package/dist/framework/Utilities/ViewportUtil.js +42 -42
- package/dist/framework/Utilities/debouncer.d.ts +8 -8
- package/dist/framework/Utilities/debouncer.js +51 -51
- package/dist/framework/Validation/IValidator.interface.d.ts +3 -3
- package/dist/framework/Validation/IValidator.interface.js +2 -2
- package/dist/framework/Validation/Validators/BankAccount.d.ts +4 -4
- package/dist/framework/Validation/Validators/BankAccount.js +12 -12
- package/dist/framework/Validation/Validators/BankAccountRegistrationNumber.d.ts +4 -4
- package/dist/framework/Validation/Validators/BankAccountRegistrationNumber.js +12 -12
- package/dist/framework/Validation/Validators/BankIdNorway.d.ts +5 -5
- package/dist/framework/Validation/Validators/BankIdNorway.js +21 -21
- package/dist/framework/Validation/Validators/BankIdSweden.d.ts +5 -5
- package/dist/framework/Validation/Validators/BankIdSweden.js +21 -21
- package/dist/framework/Validation/Validators/CPR.d.ts +9 -9
- package/dist/framework/Validation/Validators/CPR.js +75 -75
- package/dist/framework/Validation/Validators/CVR.d.ts +5 -5
- package/dist/framework/Validation/Validators/CVR.js +30 -30
- package/dist/framework/custom-element.decorator.d.ts +9 -9
- package/dist/framework/custom-element.decorator.js +51 -51
- package/dist/index.d.ts +7 -7
- package/dist/index.js +14 -14
- package/package.json +38 -38
- package/src/custom-form.ts +140 -140
- package/src/elements/Address/AddressElement.ts +216 -216
- package/src/elements/BankField/BankFieldElement.ts +127 -127
- package/src/elements/CPRElement/CPRElement.ts +74 -74
- package/src/elements/CVRElement/CVRElement.ts +75 -75
- package/src/elements/CheckBoxElement/CheckBoxElement.ts +99 -99
- package/src/elements/CustomRegularExpression/CustomRegularExpressionElement.ts +75 -75
- package/src/elements/DateField/DateFieldElement.ts +78 -78
- package/src/elements/DropDownList/DropDownListElement.ts +100 -100
- package/src/elements/Elements.ts +37 -37
- package/src/elements/EmailField/EmailFieldElement.ts +78 -78
- package/src/elements/FileField/FileFieldElement.ts +96 -96
- package/src/elements/IdentificationElement/IdentificationElement.ts +104 -104
- package/src/elements/InternationaPhoneNumber/InternationaPhoneNumberElement.ts +116 -116
- package/src/elements/NumericField/NumericFieldElement.ts +84 -84
- package/src/elements/RadioButtonGroup/RadioButtonGroupElement.ts +103 -103
- package/src/elements/TextAreaElement/TextAreaElement.ts +72 -72
- package/src/elements/TextField/TextFieldElement.ts +72 -72
- package/src/elements/TypeAhead/TypeAheadElement.ts +248 -248
- package/src/framework/CustomEvents.ts +47 -47
- package/src/framework/CustomInputElement.ts +277 -277
- package/src/framework/Language/Languages/Base/BaseDictionary.ts +15 -15
- package/src/framework/Language/Languages/CzechDictionary.ts +18 -18
- package/src/framework/Language/Languages/DanishDictionary.ts +17 -17
- package/src/framework/Language/Languages/DutchDictionary.ts +17 -17
- package/src/framework/Language/Languages/EnglishDictionary.ts +18 -18
- package/src/framework/Language/Languages/EstonianDictionary.ts +17 -17
- package/src/framework/Language/Languages/FinnishDictionary.ts +17 -17
- package/src/framework/Language/Languages/FrenchDictionary.ts +17 -17
- package/src/framework/Language/Languages/GermanDictionary.ts +17 -17
- package/src/framework/Language/Languages/GreekDictionary.ts +17 -17
- package/src/framework/Language/Languages/HungarianDictionary.ts +17 -17
- package/src/framework/Language/Languages/IcelandicDictionary.ts +17 -17
- package/src/framework/Language/Languages/ItalianDictionary.ts +17 -17
- package/src/framework/Language/Languages/LatvianDictionary.ts +17 -17
- package/src/framework/Language/Languages/LituanianDictionary.ts +17 -17
- package/src/framework/Language/Languages/NorwegianDictionary.ts +17 -17
- package/src/framework/Language/Languages/PolishDictionary.ts +17 -17
- package/src/framework/Language/Languages/PortugueseDictionary.ts +17 -17
- package/src/framework/Language/Languages/SpanishDictionary.ts +17 -17
- package/src/framework/Language/Languages/SwedishDictionary.ts +17 -17
- package/src/framework/Language/Translator.ts +110 -110
- package/src/framework/Models/OptionWithDescription.ts +8 -8
- package/src/framework/Polyfills/getAttributeNamesPolyfill.ts +13 -13
- package/src/framework/Translations/CaseConverter.ts +43 -43
- package/src/framework/Utilities/ArrayUtil.ts +31 -31
- package/src/framework/Utilities/DomUtil.ts +117 -117
- package/src/framework/Utilities/DomUtility.ts +6 -6
- package/src/framework/Utilities/MakeRequest.ts +47 -47
- package/src/framework/Utilities/StringUtil.ts +8 -8
- package/src/framework/Utilities/ViewportUtil.ts +46 -46
- package/src/framework/Utilities/debouncer.ts +66 -66
- package/src/framework/Validation/IValidator.interface.ts +3 -3
- package/src/framework/Validation/Validators/BankAccount.ts +7 -7
- package/src/framework/Validation/Validators/BankAccountRegistrationNumber.ts +8 -8
- package/src/framework/Validation/Validators/BankIdNorway.ts +21 -21
- package/src/framework/Validation/Validators/BankIdSweden.ts +21 -21
- package/src/framework/Validation/Validators/CPR.ts +82 -82
- package/src/framework/Validation/Validators/CVR.ts +27 -27
- package/src/framework/custom-element.decorator.ts +57 -57
- package/src/index.ts +12 -12
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# custom-input-elements
|
|
2
|
-
custom input elements for the form builder application
|
|
1
|
+
# custom-input-elements
|
|
2
|
+
custom input elements for the form builder application
|
package/assets/style.css
CHANGED
|
@@ -1,277 +1,277 @@
|
|
|
1
|
-
body {
|
|
2
|
-
margin: 30px auto 0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.container {
|
|
6
|
-
padding: 0 3rem;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.text-bold {
|
|
10
|
-
font-weight: bold !important;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.border-solid {
|
|
14
|
-
border: 1px solid black;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.A0 {
|
|
18
|
-
width: 33.1in;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.A1 {
|
|
22
|
-
width: 23.4in;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.A2 {
|
|
26
|
-
width: 16.5in;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.A3 {
|
|
30
|
-
width: 11.7in;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.A4 {
|
|
34
|
-
width: 8.3in;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.A5 {
|
|
38
|
-
width: 5.8in;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.A6 {
|
|
42
|
-
width: 4.1in;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.A7 {
|
|
46
|
-
width: 2.9in;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.A8 {
|
|
50
|
-
width: 2in;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.A9 {
|
|
54
|
-
width: 1.5in;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.A10 {
|
|
58
|
-
width: 1in;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.header-bgcolor-dark {
|
|
62
|
-
background-color: #315d78;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.head {
|
|
66
|
-
display: -webkit-box;
|
|
67
|
-
display: -ms-flexbox;
|
|
68
|
-
display: flex;
|
|
69
|
-
-webkit-box-pack: justify;
|
|
70
|
-
-ms-flex-pack: justify;
|
|
71
|
-
justify-content: space-between;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.head-logo {
|
|
75
|
-
padding: 0 3rem;
|
|
76
|
-
background-color: white;
|
|
77
|
-
height: 40px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.head-title {
|
|
81
|
-
margin: auto 0;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.head-title.head-title-white {
|
|
85
|
-
color: white;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.head-subtitles .head-subtitle {
|
|
89
|
-
line-height: 25px;
|
|
90
|
-
margin: 0;
|
|
91
|
-
font-size: 10pt;
|
|
92
|
-
font-weight: normal;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.field-group {
|
|
96
|
-
display: -webkit-box;
|
|
97
|
-
display: -ms-flexbox;
|
|
98
|
-
display: flex;
|
|
99
|
-
margin: 25px auto;
|
|
100
|
-
page-break-inside: avoid;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.field-group .field-group-title {
|
|
104
|
-
width: 30%;
|
|
105
|
-
font-weight: bold;
|
|
106
|
-
padding: 5px;
|
|
107
|
-
-webkit-box-sizing: border-box;
|
|
108
|
-
box-sizing: border-box;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.field-group .field-group-content {
|
|
112
|
-
width: 70%;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.field-group .field-group-content .group-row {
|
|
116
|
-
display: -webkit-box;
|
|
117
|
-
display: -ms-flexbox;
|
|
118
|
-
display: flex;
|
|
119
|
-
width: 100%;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.field-group .field-group-content .group-row .field-item {
|
|
123
|
-
border: 1px solid black;
|
|
124
|
-
-webkit-box-flex: 1;
|
|
125
|
-
-ms-flex-positive: 1;
|
|
126
|
-
flex-grow: 1;
|
|
127
|
-
-ms-flex-preferred-size: 0;
|
|
128
|
-
flex-basis: 0;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.field-group .field-group-content .group-row .field-item .field-label {
|
|
132
|
-
margin: 2px;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.field-group .field-group-content .group-row .field-item .field-input {
|
|
136
|
-
display: -webkit-box;
|
|
137
|
-
display: -ms-flexbox;
|
|
138
|
-
display: flex;
|
|
139
|
-
-webkit-box-pack: center;
|
|
140
|
-
-ms-flex-pack: center;
|
|
141
|
-
justify-content: center;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.field-group .field-group-content .group-row .field-item .field-input input,
|
|
145
|
-
.field-group .field-group-content .group-row .field-item .field-input select,
|
|
146
|
-
.field-group .field-group-content .group-row .field-item .field-input textarea,
|
|
147
|
-
.field-group .field-group-content .group-row .field-item .field-input button {
|
|
148
|
-
-webkit-box-sizing: border-box;
|
|
149
|
-
box-sizing: border-box;
|
|
150
|
-
width: 100%;
|
|
151
|
-
border: none;
|
|
152
|
-
background-color: #f1f4ff;
|
|
153
|
-
margin: 2px;
|
|
154
|
-
resize: none;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.field-group
|
|
158
|
-
.field-group-content
|
|
159
|
-
.group-row
|
|
160
|
-
.field-item
|
|
161
|
-
.field-input
|
|
162
|
-
input:focus,
|
|
163
|
-
.field-group
|
|
164
|
-
.field-group-content
|
|
165
|
-
.group-row
|
|
166
|
-
.field-item
|
|
167
|
-
.field-input
|
|
168
|
-
select:focus,
|
|
169
|
-
.field-group
|
|
170
|
-
.field-group-content
|
|
171
|
-
.group-row
|
|
172
|
-
.field-item
|
|
173
|
-
.field-input
|
|
174
|
-
textarea:focus,
|
|
175
|
-
.field-group
|
|
176
|
-
.field-group-content
|
|
177
|
-
.group-row
|
|
178
|
-
.field-item
|
|
179
|
-
.field-input
|
|
180
|
-
button:focus {
|
|
181
|
-
background-color: transparent;
|
|
182
|
-
outline: none;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.field-group
|
|
186
|
-
.field-group-content
|
|
187
|
-
.group-row
|
|
188
|
-
.field-item
|
|
189
|
-
.field-input
|
|
190
|
-
input:invalid,
|
|
191
|
-
.field-group
|
|
192
|
-
.field-group-content
|
|
193
|
-
.group-row
|
|
194
|
-
.field-item
|
|
195
|
-
.field-input
|
|
196
|
-
select:invalid,
|
|
197
|
-
.field-group
|
|
198
|
-
.field-group-content
|
|
199
|
-
.group-row
|
|
200
|
-
.field-item
|
|
201
|
-
.field-input
|
|
202
|
-
textarea:invalid,
|
|
203
|
-
.field-group
|
|
204
|
-
.field-group-content
|
|
205
|
-
.group-row
|
|
206
|
-
.field-item
|
|
207
|
-
.field-input
|
|
208
|
-
button:invalid,
|
|
209
|
-
|
|
210
|
-
.field-group
|
|
211
|
-
.field-group-content
|
|
212
|
-
.group-row
|
|
213
|
-
.field-item
|
|
214
|
-
.field-input
|
|
215
|
-
input[type='checkbox'],
|
|
216
|
-
.field-group
|
|
217
|
-
.field-group-content
|
|
218
|
-
.group-row
|
|
219
|
-
.field-item
|
|
220
|
-
.field-input
|
|
221
|
-
input[type='radio'],
|
|
222
|
-
.field-group
|
|
223
|
-
.field-group-content
|
|
224
|
-
.group-row
|
|
225
|
-
.field-item
|
|
226
|
-
.field-input
|
|
227
|
-
select[type='checkbox'],
|
|
228
|
-
.field-group
|
|
229
|
-
.field-group-content
|
|
230
|
-
.group-row
|
|
231
|
-
.field-item
|
|
232
|
-
.field-input
|
|
233
|
-
select[type='radio'],
|
|
234
|
-
.field-group
|
|
235
|
-
.field-group-content
|
|
236
|
-
.group-row
|
|
237
|
-
.field-item
|
|
238
|
-
.field-input
|
|
239
|
-
textarea[type='checkbox'],
|
|
240
|
-
.field-group
|
|
241
|
-
.field-group-content
|
|
242
|
-
.group-row
|
|
243
|
-
.field-item
|
|
244
|
-
.field-input
|
|
245
|
-
textarea[type='radio'],
|
|
246
|
-
.field-group
|
|
247
|
-
.field-group-content
|
|
248
|
-
.group-row
|
|
249
|
-
.field-item
|
|
250
|
-
.field-input
|
|
251
|
-
button[type='checkbox'],
|
|
252
|
-
.field-group
|
|
253
|
-
.field-group-content
|
|
254
|
-
.group-row
|
|
255
|
-
.field-item
|
|
256
|
-
.field-input
|
|
257
|
-
button[type='radio'] {
|
|
258
|
-
width: auto;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.field-group
|
|
262
|
-
.field-group-content
|
|
263
|
-
.group-row
|
|
264
|
-
.field-item
|
|
265
|
-
.field-input
|
|
266
|
-
.checkbox {
|
|
267
|
-
width: auto;
|
|
268
|
-
margin: auto 3px;
|
|
269
|
-
display: -webkit-box;
|
|
270
|
-
display: -ms-flexbox;
|
|
271
|
-
display: flex;
|
|
272
|
-
-webkit-box-flex: 0.1;
|
|
273
|
-
-ms-flex-positive: 0.1;
|
|
274
|
-
flex-grow: 0.1;
|
|
275
|
-
-ms-flex-pack: distribute;
|
|
276
|
-
justify-content: space-around;
|
|
277
|
-
}
|
|
1
|
+
body {
|
|
2
|
+
margin: 30px auto 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.container {
|
|
6
|
+
padding: 0 3rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.text-bold {
|
|
10
|
+
font-weight: bold !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.border-solid {
|
|
14
|
+
border: 1px solid black;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.A0 {
|
|
18
|
+
width: 33.1in;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.A1 {
|
|
22
|
+
width: 23.4in;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.A2 {
|
|
26
|
+
width: 16.5in;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.A3 {
|
|
30
|
+
width: 11.7in;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.A4 {
|
|
34
|
+
width: 8.3in;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.A5 {
|
|
38
|
+
width: 5.8in;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.A6 {
|
|
42
|
+
width: 4.1in;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.A7 {
|
|
46
|
+
width: 2.9in;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.A8 {
|
|
50
|
+
width: 2in;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.A9 {
|
|
54
|
+
width: 1.5in;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.A10 {
|
|
58
|
+
width: 1in;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.header-bgcolor-dark {
|
|
62
|
+
background-color: #315d78;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.head {
|
|
66
|
+
display: -webkit-box;
|
|
67
|
+
display: -ms-flexbox;
|
|
68
|
+
display: flex;
|
|
69
|
+
-webkit-box-pack: justify;
|
|
70
|
+
-ms-flex-pack: justify;
|
|
71
|
+
justify-content: space-between;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.head-logo {
|
|
75
|
+
padding: 0 3rem;
|
|
76
|
+
background-color: white;
|
|
77
|
+
height: 40px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.head-title {
|
|
81
|
+
margin: auto 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.head-title.head-title-white {
|
|
85
|
+
color: white;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.head-subtitles .head-subtitle {
|
|
89
|
+
line-height: 25px;
|
|
90
|
+
margin: 0;
|
|
91
|
+
font-size: 10pt;
|
|
92
|
+
font-weight: normal;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.field-group {
|
|
96
|
+
display: -webkit-box;
|
|
97
|
+
display: -ms-flexbox;
|
|
98
|
+
display: flex;
|
|
99
|
+
margin: 25px auto;
|
|
100
|
+
page-break-inside: avoid;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.field-group .field-group-title {
|
|
104
|
+
width: 30%;
|
|
105
|
+
font-weight: bold;
|
|
106
|
+
padding: 5px;
|
|
107
|
+
-webkit-box-sizing: border-box;
|
|
108
|
+
box-sizing: border-box;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.field-group .field-group-content {
|
|
112
|
+
width: 70%;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.field-group .field-group-content .group-row {
|
|
116
|
+
display: -webkit-box;
|
|
117
|
+
display: -ms-flexbox;
|
|
118
|
+
display: flex;
|
|
119
|
+
width: 100%;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.field-group .field-group-content .group-row .field-item {
|
|
123
|
+
border: 1px solid black;
|
|
124
|
+
-webkit-box-flex: 1;
|
|
125
|
+
-ms-flex-positive: 1;
|
|
126
|
+
flex-grow: 1;
|
|
127
|
+
-ms-flex-preferred-size: 0;
|
|
128
|
+
flex-basis: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.field-group .field-group-content .group-row .field-item .field-label {
|
|
132
|
+
margin: 2px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.field-group .field-group-content .group-row .field-item .field-input {
|
|
136
|
+
display: -webkit-box;
|
|
137
|
+
display: -ms-flexbox;
|
|
138
|
+
display: flex;
|
|
139
|
+
-webkit-box-pack: center;
|
|
140
|
+
-ms-flex-pack: center;
|
|
141
|
+
justify-content: center;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.field-group .field-group-content .group-row .field-item .field-input input,
|
|
145
|
+
.field-group .field-group-content .group-row .field-item .field-input select,
|
|
146
|
+
.field-group .field-group-content .group-row .field-item .field-input textarea,
|
|
147
|
+
.field-group .field-group-content .group-row .field-item .field-input button {
|
|
148
|
+
-webkit-box-sizing: border-box;
|
|
149
|
+
box-sizing: border-box;
|
|
150
|
+
width: 100%;
|
|
151
|
+
border: none;
|
|
152
|
+
background-color: #f1f4ff;
|
|
153
|
+
margin: 2px;
|
|
154
|
+
resize: none;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.field-group
|
|
158
|
+
.field-group-content
|
|
159
|
+
.group-row
|
|
160
|
+
.field-item
|
|
161
|
+
.field-input
|
|
162
|
+
input:focus,
|
|
163
|
+
.field-group
|
|
164
|
+
.field-group-content
|
|
165
|
+
.group-row
|
|
166
|
+
.field-item
|
|
167
|
+
.field-input
|
|
168
|
+
select:focus,
|
|
169
|
+
.field-group
|
|
170
|
+
.field-group-content
|
|
171
|
+
.group-row
|
|
172
|
+
.field-item
|
|
173
|
+
.field-input
|
|
174
|
+
textarea:focus,
|
|
175
|
+
.field-group
|
|
176
|
+
.field-group-content
|
|
177
|
+
.group-row
|
|
178
|
+
.field-item
|
|
179
|
+
.field-input
|
|
180
|
+
button:focus {
|
|
181
|
+
background-color: transparent;
|
|
182
|
+
outline: none;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.field-group
|
|
186
|
+
.field-group-content
|
|
187
|
+
.group-row
|
|
188
|
+
.field-item
|
|
189
|
+
.field-input
|
|
190
|
+
input:invalid,
|
|
191
|
+
.field-group
|
|
192
|
+
.field-group-content
|
|
193
|
+
.group-row
|
|
194
|
+
.field-item
|
|
195
|
+
.field-input
|
|
196
|
+
select:invalid,
|
|
197
|
+
.field-group
|
|
198
|
+
.field-group-content
|
|
199
|
+
.group-row
|
|
200
|
+
.field-item
|
|
201
|
+
.field-input
|
|
202
|
+
textarea:invalid,
|
|
203
|
+
.field-group
|
|
204
|
+
.field-group-content
|
|
205
|
+
.group-row
|
|
206
|
+
.field-item
|
|
207
|
+
.field-input
|
|
208
|
+
button:invalid,
|
|
209
|
+
|
|
210
|
+
.field-group
|
|
211
|
+
.field-group-content
|
|
212
|
+
.group-row
|
|
213
|
+
.field-item
|
|
214
|
+
.field-input
|
|
215
|
+
input[type='checkbox'],
|
|
216
|
+
.field-group
|
|
217
|
+
.field-group-content
|
|
218
|
+
.group-row
|
|
219
|
+
.field-item
|
|
220
|
+
.field-input
|
|
221
|
+
input[type='radio'],
|
|
222
|
+
.field-group
|
|
223
|
+
.field-group-content
|
|
224
|
+
.group-row
|
|
225
|
+
.field-item
|
|
226
|
+
.field-input
|
|
227
|
+
select[type='checkbox'],
|
|
228
|
+
.field-group
|
|
229
|
+
.field-group-content
|
|
230
|
+
.group-row
|
|
231
|
+
.field-item
|
|
232
|
+
.field-input
|
|
233
|
+
select[type='radio'],
|
|
234
|
+
.field-group
|
|
235
|
+
.field-group-content
|
|
236
|
+
.group-row
|
|
237
|
+
.field-item
|
|
238
|
+
.field-input
|
|
239
|
+
textarea[type='checkbox'],
|
|
240
|
+
.field-group
|
|
241
|
+
.field-group-content
|
|
242
|
+
.group-row
|
|
243
|
+
.field-item
|
|
244
|
+
.field-input
|
|
245
|
+
textarea[type='radio'],
|
|
246
|
+
.field-group
|
|
247
|
+
.field-group-content
|
|
248
|
+
.group-row
|
|
249
|
+
.field-item
|
|
250
|
+
.field-input
|
|
251
|
+
button[type='checkbox'],
|
|
252
|
+
.field-group
|
|
253
|
+
.field-group-content
|
|
254
|
+
.group-row
|
|
255
|
+
.field-item
|
|
256
|
+
.field-input
|
|
257
|
+
button[type='radio'] {
|
|
258
|
+
width: auto;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.field-group
|
|
262
|
+
.field-group-content
|
|
263
|
+
.group-row
|
|
264
|
+
.field-item
|
|
265
|
+
.field-input
|
|
266
|
+
.checkbox {
|
|
267
|
+
width: auto;
|
|
268
|
+
margin: auto 3px;
|
|
269
|
+
display: -webkit-box;
|
|
270
|
+
display: -ms-flexbox;
|
|
271
|
+
display: flex;
|
|
272
|
+
-webkit-box-flex: 0.1;
|
|
273
|
+
-ms-flex-positive: 0.1;
|
|
274
|
+
flex-grow: 0.1;
|
|
275
|
+
-ms-flex-pack: distribute;
|
|
276
|
+
justify-content: space-around;
|
|
277
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
trigger:
|
|
2
|
+
- master
|
|
3
|
+
|
|
4
|
+
variables:
|
|
5
|
+
PackageName: 'custom-input-elements'
|
|
6
|
+
|
|
7
|
+
pool:
|
|
8
|
+
name: Azure Pipelines
|
|
9
|
+
|
|
10
|
+
steps:
|
|
11
|
+
- task: NodeTool@0
|
|
12
|
+
displayName: 'Use Node 18.x'
|
|
13
|
+
inputs:
|
|
14
|
+
versionSpec: 18.x
|
|
15
|
+
|
|
16
|
+
- task: Npm@1
|
|
17
|
+
displayName: 'npm install'
|
|
18
|
+
inputs:
|
|
19
|
+
workingDir: '$(PackageName)'
|
|
20
|
+
verbose: false
|
|
21
|
+
|
|
22
|
+
- task: gulp@0
|
|
23
|
+
displayName: 'gulp ts'
|
|
24
|
+
inputs:
|
|
25
|
+
gulpFile: $(PackageName)/gulpfile.js
|
|
26
|
+
targets: ts
|
|
27
|
+
|
|
28
|
+
- task: ArchiveFiles@2
|
|
29
|
+
displayName: 'Archive files'
|
|
30
|
+
inputs:
|
|
31
|
+
rootFolderOrFile: '$(System.DefaultWorkingDirectory)/$(PackageName)'
|
|
32
|
+
archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
|
|
33
|
+
includeRootFolder: false
|
|
34
|
+
|
|
35
|
+
- task: PublishBuildArtifacts@1
|
|
36
|
+
displayName: 'Publish Artifact: drop'
|
|
37
|
+
inputs:
|
|
38
|
+
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
|
39
|
+
|
|
40
|
+
- task: ExtractFiles@1
|
|
41
|
+
displayName: 'Extract files '
|
|
42
|
+
inputs:
|
|
43
|
+
archiveFilePatterns: '$(System.ArtifactsDirectory)/**/*.zip'
|
|
44
|
+
destinationFolder: repo
|
|
45
|
+
|
|
46
|
+
- task: Npm@1
|
|
47
|
+
displayName: 'npm publish'
|
|
48
|
+
inputs:
|
|
49
|
+
command: custom
|
|
50
|
+
workingDir: repo
|
|
51
|
+
verbose: false
|
|
52
|
+
customCommand: 'publish -access public'
|
|
53
|
+
customEndpoint: 'npm registry'
|
|
54
|
+
publishEndpoint: 'npm registry'
|