@wizishop/angular-components 0.0.209 → 0.0.210
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/angular-components.scss +202 -202
- package/bundles/wizishop-angular-components.umd.js +2 -2
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/inputs/input/input.component.js +2 -2
- package/esm2015/lib/components/text-area/text-area.component.js +2 -2
- package/fesm2015/wizishop-angular-components.js +2 -2
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.210.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.209.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -1942,72 +1942,174 @@ $wac-subtitle-color: #7A87A1!default;
|
|
|
1942
1942
|
}
|
|
1943
1943
|
|
|
1944
1944
|
}
|
|
1945
|
-
.wac-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
max-width: 100%;
|
|
1960
|
-
transition: 0s visibility .35s, opacity .3s ease 0s, transform .3s ease 0s;
|
|
1961
|
-
&.hide-text {
|
|
1962
|
-
> div {
|
|
1963
|
-
&:first-child {
|
|
1964
|
-
span {
|
|
1965
|
-
display: none;
|
|
1945
|
+
.wac-field-checkbox {
|
|
1946
|
+
&.disable-wt {
|
|
1947
|
+
.wac-field-checkbox__row {
|
|
1948
|
+
display: flex;
|
|
1949
|
+
width: 100%;
|
|
1950
|
+
}
|
|
1951
|
+
.is-checkradio[type='checkbox'] {
|
|
1952
|
+
& + label {
|
|
1953
|
+
white-space: normal;
|
|
1954
|
+
line-height: 1.4;
|
|
1955
|
+
padding: 0;
|
|
1956
|
+
> span {
|
|
1957
|
+
margin: 0 0 0 30px;
|
|
1958
|
+
transform: translateY(-4px);
|
|
1966
1959
|
}
|
|
1967
1960
|
}
|
|
1968
1961
|
}
|
|
1969
1962
|
}
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
transition: 0s visibility, opacity .3s ease .05s, transform .3s ease .05s;
|
|
1963
|
+
&__row {
|
|
1964
|
+
position: relative;
|
|
1965
|
+
min-width: 100%;
|
|
1966
|
+
margin: 0;
|
|
1975
1967
|
}
|
|
1976
|
-
|
|
1968
|
+
&--nowrap {
|
|
1969
|
+
display: inline-block;
|
|
1977
1970
|
width: auto;
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1971
|
+
min-width: 0;
|
|
1972
|
+
margin: 0 10px 10px 0;
|
|
1973
|
+
.field {
|
|
1974
|
+
&__row {
|
|
1975
|
+
width: auto;
|
|
1976
|
+
display: inline-block;
|
|
1977
|
+
margin: 0;
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
input[type='text'] {
|
|
1983
|
+
height: 40px;
|
|
1984
|
+
max-height: 40px;
|
|
1985
|
+
padding: 0 20px;
|
|
1986
|
+
line-height: 40px;
|
|
1987
|
+
border: 1px solid $wac-border-form;
|
|
1988
|
+
border-radius: 3px;
|
|
1989
|
+
margin: 15px 0 10px !important;
|
|
1990
|
+
font-size: rem(14) !important;
|
|
1991
|
+
color: $wac-main-text;
|
|
1992
|
+
&:focus {
|
|
1993
|
+
border-color: $wac-wizishop-blue !important;
|
|
1994
|
+
box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
|
|
1995
|
+
&::-webkit-input-placeholder {
|
|
1996
|
+
/* Chrome/Opera/Safari */
|
|
1997
|
+
opacity: 0;
|
|
1998
|
+
}
|
|
1999
|
+
&::-moz-placeholder {
|
|
2000
|
+
/* Firefox 19+ */
|
|
2001
|
+
opacity: 0;
|
|
2002
|
+
}
|
|
2003
|
+
&:-ms-input-placeholder {
|
|
2004
|
+
/* IE 10+ */
|
|
2005
|
+
opacity: 0;
|
|
2006
|
+
}
|
|
2007
|
+
&:-moz-placeholder {
|
|
2008
|
+
/* Firefox 18- */
|
|
2009
|
+
opacity: 0;
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
&.alone {
|
|
2014
|
+
.is-checkradio[type='checkbox'] {
|
|
2015
|
+
& + label {
|
|
2016
|
+
padding-left: 9px;
|
|
2017
|
+
margin-right: 0px;
|
|
2018
|
+
|
|
2019
|
+
&:before {
|
|
2020
|
+
border-width: 1px;
|
|
2021
|
+
width: 16px;
|
|
2022
|
+
height: 16px;
|
|
2023
|
+
border-radius: 2px;
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
&:checked + label {
|
|
2027
|
+
&:after {
|
|
2028
|
+
top: 7px;
|
|
2029
|
+
transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
.is-checkradio[type='checkbox'] {
|
|
2036
|
+
outline: 0 !important;
|
|
2037
|
+
top: 0;
|
|
2038
|
+
& + label {
|
|
2039
|
+
font-size: rem(14);
|
|
2040
|
+
line-height: 0;
|
|
2041
|
+
color: $wac-input-radio-color-label;
|
|
2042
|
+
white-space: nowrap;
|
|
2043
|
+
padding: 0 8px;
|
|
2044
|
+
margin-right: 0;
|
|
2045
|
+
outline: 0 !important;
|
|
1985
2046
|
&:before {
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
2047
|
+
width: 16px;
|
|
2048
|
+
height: 16px;
|
|
2049
|
+
border: 1px solid $wac-border-color;
|
|
1989
2050
|
top: 0;
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
2051
|
+
transition: all 0.3s ease-in-out;
|
|
2052
|
+
}
|
|
2053
|
+
&:after {
|
|
2054
|
+
top: 2.3px !important;
|
|
2055
|
+
left: 3px !important;
|
|
2056
|
+
width: 10px;
|
|
2057
|
+
height: 12px;
|
|
2058
|
+
border: none !important;
|
|
2059
|
+
background: transparent
|
|
2060
|
+
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
|
|
2061
|
+
center center / 8px 8px no-repeat;
|
|
2062
|
+
transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
|
|
2063
|
+
transition: all 0.3s ease-in-out;
|
|
1994
2064
|
}
|
|
1995
2065
|
span {
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2066
|
+
margin: 0 0 0 rem(16);
|
|
2067
|
+
display: inline-block;
|
|
2068
|
+
}
|
|
2069
|
+
&:hover,
|
|
2070
|
+
&:focus {
|
|
2071
|
+
&:before {
|
|
2072
|
+
border-color: $wac-input-active-color !important;
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
&:before,
|
|
2076
|
+
&:after {
|
|
2077
|
+
outline: 0 !important;
|
|
2000
2078
|
}
|
|
2001
2079
|
}
|
|
2002
|
-
&:
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
&:
|
|
2006
|
-
|
|
2080
|
+
&:hover {
|
|
2081
|
+
& + label {
|
|
2082
|
+
color: $wac-input-radio-color-active-label;
|
|
2083
|
+
&:before {
|
|
2084
|
+
border-color: $wac-input-active-color !important;
|
|
2085
|
+
}
|
|
2086
|
+
&:after {
|
|
2087
|
+
border-color: $wac-white !important;
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
&:not([disabled]) {
|
|
2091
|
+
& + label {
|
|
2092
|
+
&:before {
|
|
2093
|
+
border-color: $wac-input-active-color !important;
|
|
2094
|
+
}
|
|
2007
2095
|
}
|
|
2008
2096
|
}
|
|
2009
2097
|
}
|
|
2098
|
+
&:checked + label {
|
|
2099
|
+
color: $wac-input-radio-color-active-label;
|
|
2100
|
+
&:before {
|
|
2101
|
+
border: 1px solid $wac-input-active-color;
|
|
2102
|
+
background-color: $wac-input-active-color;
|
|
2103
|
+
transition: all 0.3s ease-in-out;
|
|
2104
|
+
}
|
|
2105
|
+
&:after {
|
|
2106
|
+
left: 7px;
|
|
2107
|
+
top: 8px;
|
|
2108
|
+
transition: all 0.3s ease-in-out;
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2010
2111
|
}
|
|
2112
|
+
|
|
2011
2113
|
}
|
|
2012
2114
|
.wac-state {
|
|
2013
2115
|
width: 12px;
|
|
@@ -5260,174 +5362,72 @@ span.wac-tooltip {
|
|
|
5260
5362
|
}
|
|
5261
5363
|
}
|
|
5262
5364
|
}
|
|
5263
|
-
.wac-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5365
|
+
.wac-confirm-delete {
|
|
5366
|
+
position: absolute;
|
|
5367
|
+
right: 0;
|
|
5368
|
+
top: 0;
|
|
5369
|
+
height: 100%;
|
|
5370
|
+
z-index: 999;
|
|
5371
|
+
width: auto;
|
|
5372
|
+
display: flex;
|
|
5373
|
+
flex-wrap: nowrap;
|
|
5374
|
+
align-items: stretch;
|
|
5375
|
+
background-color: $wac-white;
|
|
5376
|
+
opacity: 0;
|
|
5377
|
+
visibility: hidden;
|
|
5378
|
+
transform: translateX(100%);
|
|
5379
|
+
max-width: 100%;
|
|
5380
|
+
transition: 0s visibility .35s, opacity .3s ease 0s, transform .3s ease 0s;
|
|
5381
|
+
&.hide-text {
|
|
5382
|
+
> div {
|
|
5383
|
+
&:first-child {
|
|
5384
|
+
span {
|
|
5385
|
+
display: none;
|
|
5277
5386
|
}
|
|
5278
5387
|
}
|
|
5279
5388
|
}
|
|
5280
5389
|
}
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5390
|
+
&.is-open {
|
|
5391
|
+
opacity: 1;
|
|
5392
|
+
visibility: visible;
|
|
5393
|
+
transform: translateX(0);
|
|
5394
|
+
transition: 0s visibility, opacity .3s ease .05s, transform .3s ease .05s;
|
|
5285
5395
|
}
|
|
5286
|
-
|
|
5287
|
-
display: inline-block;
|
|
5396
|
+
> div {
|
|
5288
5397
|
width: auto;
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
}
|
|
5297
|
-
}
|
|
5298
|
-
}
|
|
5299
|
-
|
|
5300
|
-
input[type='text'] {
|
|
5301
|
-
height: 40px;
|
|
5302
|
-
max-height: 40px;
|
|
5303
|
-
padding: 0 20px;
|
|
5304
|
-
line-height: 40px;
|
|
5305
|
-
border: 1px solid $wac-border-form;
|
|
5306
|
-
border-radius: 3px;
|
|
5307
|
-
margin: 15px 0 10px !important;
|
|
5308
|
-
font-size: rem(14) !important;
|
|
5309
|
-
color: $wac-main-text;
|
|
5310
|
-
&:focus {
|
|
5311
|
-
border-color: $wac-wizishop-blue !important;
|
|
5312
|
-
box-shadow: 0px 0px 4px $wac-checkbox-shadow !important;
|
|
5313
|
-
&::-webkit-input-placeholder {
|
|
5314
|
-
/* Chrome/Opera/Safari */
|
|
5315
|
-
opacity: 0;
|
|
5316
|
-
}
|
|
5317
|
-
&::-moz-placeholder {
|
|
5318
|
-
/* Firefox 19+ */
|
|
5319
|
-
opacity: 0;
|
|
5320
|
-
}
|
|
5321
|
-
&:-ms-input-placeholder {
|
|
5322
|
-
/* IE 10+ */
|
|
5323
|
-
opacity: 0;
|
|
5324
|
-
}
|
|
5325
|
-
&:-moz-placeholder {
|
|
5326
|
-
/* Firefox 18- */
|
|
5327
|
-
opacity: 0;
|
|
5328
|
-
}
|
|
5329
|
-
}
|
|
5330
|
-
}
|
|
5331
|
-
&.alone {
|
|
5332
|
-
.is-checkradio[type='checkbox'] {
|
|
5333
|
-
& + label {
|
|
5334
|
-
padding-left: 9px;
|
|
5335
|
-
margin-right: 0px;
|
|
5336
|
-
|
|
5337
|
-
&:before {
|
|
5338
|
-
border-width: 1px;
|
|
5339
|
-
width: 16px;
|
|
5340
|
-
height: 16px;
|
|
5341
|
-
border-radius: 2px;
|
|
5342
|
-
}
|
|
5343
|
-
}
|
|
5344
|
-
&:checked + label {
|
|
5345
|
-
&:after {
|
|
5346
|
-
top: 7px;
|
|
5347
|
-
transform: scale(1.1) translateY(1px) translateX(6px) rotate(45deg);
|
|
5348
|
-
}
|
|
5349
|
-
}
|
|
5350
|
-
}
|
|
5351
|
-
}
|
|
5352
|
-
|
|
5353
|
-
.is-checkradio[type='checkbox'] {
|
|
5354
|
-
outline: 0 !important;
|
|
5355
|
-
top: 0;
|
|
5356
|
-
& + label {
|
|
5357
|
-
font-size: rem(14);
|
|
5358
|
-
line-height: 0;
|
|
5359
|
-
color: $wac-input-radio-color-label;
|
|
5360
|
-
white-space: nowrap;
|
|
5361
|
-
padding: 0 8px;
|
|
5362
|
-
margin-right: 0;
|
|
5363
|
-
outline: 0 !important;
|
|
5398
|
+
display: flex;
|
|
5399
|
+
align-items: center;
|
|
5400
|
+
margin: 0!important;
|
|
5401
|
+
&:first-child {
|
|
5402
|
+
position: relative;
|
|
5403
|
+
margin: 0 20px 0 0;
|
|
5404
|
+
padding: 0 30px;
|
|
5364
5405
|
&:before {
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5406
|
+
content: '';
|
|
5407
|
+
display: block;
|
|
5408
|
+
position: absolute;
|
|
5368
5409
|
top: 0;
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
left: 3px !important;
|
|
5374
|
-
width: 10px;
|
|
5375
|
-
height: 12px;
|
|
5376
|
-
border: none !important;
|
|
5377
|
-
background: transparent
|
|
5378
|
-
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' data-prefix='fas' data-icon='check' viewBox='0 0 512 512' class='svg-inline--fa fa-check fa-w-16 fa-5x'%3E%3Cpath fill='%23ffffff' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E")
|
|
5379
|
-
center center / 8px 8px no-repeat;
|
|
5380
|
-
transform: scale(1) translateY(0px) translateX(0px) rotate(0deg) !important;
|
|
5381
|
-
transition: all 0.3s ease-in-out;
|
|
5410
|
+
left: 10px;
|
|
5411
|
+
width: 1px;
|
|
5412
|
+
height: 100%;
|
|
5413
|
+
background-color: $wac-border-form;
|
|
5382
5414
|
}
|
|
5383
5415
|
span {
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
&:focus {
|
|
5389
|
-
&:before {
|
|
5390
|
-
border-color: $wac-input-active-color !important;
|
|
5391
|
-
}
|
|
5392
|
-
}
|
|
5393
|
-
&:before,
|
|
5394
|
-
&:after {
|
|
5395
|
-
outline: 0 !important;
|
|
5416
|
+
font-size: rem(16);
|
|
5417
|
+
line-height: 1.4;
|
|
5418
|
+
color: $wac-second-color;
|
|
5419
|
+
white-space: nowrap;
|
|
5396
5420
|
}
|
|
5397
5421
|
}
|
|
5398
|
-
&:
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
&:
|
|
5402
|
-
|
|
5403
|
-
}
|
|
5404
|
-
&:after {
|
|
5405
|
-
border-color: $wac-white !important;
|
|
5406
|
-
}
|
|
5407
|
-
}
|
|
5408
|
-
&:not([disabled]) {
|
|
5409
|
-
& + label {
|
|
5410
|
-
&:before {
|
|
5411
|
-
border-color: $wac-input-active-color !important;
|
|
5412
|
-
}
|
|
5422
|
+
&:last-child {
|
|
5423
|
+
> div {
|
|
5424
|
+
width: auto;
|
|
5425
|
+
&:first-child {
|
|
5426
|
+
margin: 0 10px 0 0;
|
|
5413
5427
|
}
|
|
5414
5428
|
}
|
|
5415
5429
|
}
|
|
5416
|
-
&:checked + label {
|
|
5417
|
-
color: $wac-input-radio-color-active-label;
|
|
5418
|
-
&:before {
|
|
5419
|
-
border: 1px solid $wac-input-active-color;
|
|
5420
|
-
background-color: $wac-input-active-color;
|
|
5421
|
-
transition: all 0.3s ease-in-out;
|
|
5422
|
-
}
|
|
5423
|
-
&:after {
|
|
5424
|
-
left: 7px;
|
|
5425
|
-
top: 8px;
|
|
5426
|
-
transition: all 0.3s ease-in-out;
|
|
5427
|
-
}
|
|
5428
|
-
}
|
|
5429
5430
|
}
|
|
5430
|
-
|
|
5431
5431
|
}
|
|
5432
5432
|
.wac-wrapper-multiple-block {
|
|
5433
5433
|
width: 100%;
|
|
@@ -2038,7 +2038,7 @@
|
|
|
2038
2038
|
TextAreaComponent.decorators = [
|
|
2039
2039
|
{ type: i0.Component, args: [{
|
|
2040
2040
|
selector: 'wac-text-area',
|
|
2041
|
-
template: "<div class=\"field wac-text-area\" [ngClass]=\"{'dynamic': dynamicSize}\">\n <div class=\"field-label is-normal has-text-left\">\n <label class=\"label has-text-weight-normal\" [innerHTML]=\"label\" [for]=\"id\"></label>\n </div>\n <div class=\"field-body\">\n <div class=\"field\">\n <p class=\"control\" [ngClass]=\"{ 'has-icons-right': textError || error || success }\">\n <textarea\n class=\"textarea\"\n [id]=\"id\"\n [ngClass]=\"{ 'is-danger': textError || error, 'is-success': success, 'has-help-text': textInfo != '' || size }\"\n [placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n [disabled]=\"disabled\"\n [autosize]=\"dynamicSize\"\n [onlyGrow]=\"true\"\n [maxlength]=\"maxlength ? maxlength : 524288\"\n [minlength]=\"minlength ? minlength : 0\"\n ></textarea>\n <!-- Icon error -->\n <span *ngIf=\"textError || error\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n <!-- Icon success -->\n <span *ngIf=\"success\" class=\"icon is-small is-right\">\n <i class=\"fas fa-check has-text-success\"></i>\n </span>\n <span\n *ngIf=\"textInfo && (textError === null || textError === '')\"\n class=\"is-size-7 wac-text-area__info text-info\"\n [innerHtml]=\"textInfo\"\n ></span>\n <span *ngIf=\"textError\" class=\"is-size-7 wac-text-area__error has-text-danger\" [innerHtml]=\"textError\"></span>\n <span\n *ngIf=\"size && !progressBar\"\n class=\"is-size-7 wac-text-area__size\"\n [ngClass]=\"value.length > size ? 'has-text-danger' : ''\"\n ><strong>{{ value ? value.length : 0 }}</strong> / {{ size }}</span\n >\n </p>\n <wac-progress-bar *ngIf=\"progressBar && value\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\n </div>\n </div>\n</div>\n",
|
|
2041
|
+
template: "<div class=\"field wac-text-area\" [ngClass]=\"{'dynamic': dynamicSize}\">\n <div class=\"field-label is-normal has-text-left\">\n <label class=\"label has-text-weight-normal\" [innerHTML]=\"label\" [for]=\"id\"></label>\n </div>\n <div class=\"field-body\">\n <div class=\"field\">\n <p class=\"control\" [ngClass]=\"{ 'has-icons-right': (textError || error || success) && !disabled }\">\n <textarea\n class=\"textarea\"\n [id]=\"id\"\n [ngClass]=\"{ 'is-danger': (textError || error) && !disabled, 'is-success': success && !disabled, 'has-help-text': textInfo != '' || size }\"\n [placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n [disabled]=\"disabled\"\n [autosize]=\"dynamicSize\"\n [onlyGrow]=\"true\"\n [maxlength]=\"maxlength ? maxlength : 524288\"\n [minlength]=\"minlength ? minlength : 0\"\n ></textarea>\n <!-- Icon error -->\n <span *ngIf=\"(textError || error) && !disabled\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n <!-- Icon success -->\n <span *ngIf=\"success && !disabled\" class=\"icon is-small is-right\">\n <i class=\"fas fa-check has-text-success\"></i>\n </span>\n <span\n *ngIf=\"textInfo && (textError === null || textError === '')\"\n class=\"is-size-7 wac-text-area__info text-info\"\n [innerHtml]=\"textInfo\"\n ></span>\n <span *ngIf=\"textError\" class=\"is-size-7 wac-text-area__error has-text-danger\" [innerHtml]=\"textError\"></span>\n <span\n *ngIf=\"size && !progressBar\"\n class=\"is-size-7 wac-text-area__size\"\n [ngClass]=\"value.length > size ? 'has-text-danger' : ''\"\n ><strong>{{ value ? value.length : 0 }}</strong> / {{ size }}</span\n >\n </p>\n <wac-progress-bar *ngIf=\"progressBar && value\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\n </div>\n </div>\n</div>\n",
|
|
2042
2042
|
providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: TextAreaComponent, multi: true }]
|
|
2043
2043
|
},] }
|
|
2044
2044
|
];
|
|
@@ -2225,7 +2225,7 @@
|
|
|
2225
2225
|
InputComponent.decorators = [
|
|
2226
2226
|
{ type: i0.Component, args: [{
|
|
2227
2227
|
selector: 'wac-input',
|
|
2228
|
-
template: "<div\n class=\"field wac-input\"\n [ngClass]=\"{ 'has-no-block': withoutBlock, 'is-big': big, 'is-medium': medium, 'with-padding': padding, 'indication-left': indicationLeft, 'with-progress-bar': progressBar }\"\n>\n <div class=\"field-label is-normal has-text-left\" *ngIf=\"!withoutBlock\">\n <label\n [ngClass]=\"[boldLabel == 'true' ? 'label has-text-weight-bold' : 'label has-text-weight-normal', showTooltip ? 'label-inline' : '']\"\n [innerHTML]=\"label\"\n [for]=\"id\"\n ></label>\n <wac-tooltip\n *ngIf=\"showTooltip\"\n [tooltipIcon]=\"iconTooltip\"\n [tooltipText]=\"textTooltip\"\n [tooltipLink]=\"linkTooltip\"\n [tooltipUrl]=\"urlTooltip\"\n ></wac-tooltip>\n <!-- Size -->\n <span *ngIf=\"size && !progressBar\" class=\"is-size-7 wac-input__size\">\n <strong>{{ value.toString().length }}</strong> / {{ size }}\n </span>\n </div>\n <div class=\"field-body\">\n <div class=\"field\">\n <p\n class=\"control\"\n [ngClass]=\"{ 'has-icons-right': textError || success || error, 'has-icons-left': icon !== '', 'has-input-group': textAppend || textPrepend }\"\n >\n <!-- Text Prepend -->\n <span *ngIf=\"textPrepend\" class=\"has-input-group\">\n <span class=\"has-input-group-text prepend\">{{ textPrepend }}</span>\n <span *ngIf=\"icon !== ''\" class=\"icon is-small is-left\">\n <i [class]=\"icon\"></i>\n </span>\n </span>\n\n <!-- Input -->\n <input\n [class]=\"'input ' + extraClasses\"\n [id]=\"id\"\n [ngClass]=\"{\n 'is-danger': textError || error,\n 'is-large': big,\n 'is-number': isNumber,\n 'remove-margin': disableMargin,\n 'text-append': textAppend\n }\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n [disabled]=\"disabled\"\n (focusout)=\"onFocusOut()\"\n [min]=\"min\"\n [max]=\"max\"\n [maxlength]=\"maxlength ? maxlength : 524288\"\n [minlength]=\"minlength ? minlength : 0\"\n (keypress)=\"keyPress($event)\"\n />\n\n <!-- Indication at the end of the input -->\n <span class=\"indication\" *ngIf=\"indication\" [ngClass]=\"{'reverse': indicationLeft}\">\n <span [innerHTML]=\"indication\"></span>\n </span>\n\n <!-- Text Append -->\n <span *ngIf=\"textAppend && !indicationLeft\" class=\"has-input-group\">\n <span class=\"has-input-group-text append\">{{ textAppend }}</span>\n <!-- error if text append not empty -->\n <span *ngIf=\"textError\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n </span>\n\n <!-- Icon Left -->\n <span *ngIf=\"icon !== '' && !textPrepend && !indicationLeft\" class=\"icon is-small is-left\">\n <i [class]=\"icon\"></i>\n </span>\n\n <!-- Icon error if textAppend empty -->\n <span *ngIf=\"(textError || error) && !textAppend && !indicationLeft\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n\n <!-- Icon success -->\n <span *ngIf=\"success\" class=\"icon is-small is-right\">\n <i class=\"fas fa-check has-text-success\"></i>\n </span>\n\n <!-- Text Info -->\n <span\n *ngIf=\"textInfo && (textError === null || textError === '') && !progressBar && !indicationLeft\"\n class=\"is-size-7 wac-input__info text-info\"\n [innerHtml]=\"textInfo\"\n ></span>\n\n <!-- Text Error -->\n <span *ngIf=\"textError && !progressBar && !indicationLeft\" class=\"is-size-7 wac-input__error has-text-danger\" [innerHtml]=\"textError\"></span>\n </p>\n\n <!-- Progress Bar -->\n <wac-progress-bar *ngIf=\"progressBar && !indicationLeft\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\n </div>\n </div>\n</div>\n",
|
|
2228
|
+
template: "<div\n class=\"field wac-input\"\n [ngClass]=\"{ 'has-no-block': withoutBlock, 'is-big': big, 'is-medium': medium, 'with-padding': padding, 'indication-left': indicationLeft, 'with-progress-bar': progressBar }\"\n>\n <div class=\"field-label is-normal has-text-left\" *ngIf=\"!withoutBlock\">\n <label\n [ngClass]=\"[boldLabel == 'true' ? 'label has-text-weight-bold' : 'label has-text-weight-normal', showTooltip ? 'label-inline' : '']\"\n [innerHTML]=\"label\"\n [for]=\"id\"\n ></label>\n <wac-tooltip\n *ngIf=\"showTooltip\"\n [tooltipIcon]=\"iconTooltip\"\n [tooltipText]=\"textTooltip\"\n [tooltipLink]=\"linkTooltip\"\n [tooltipUrl]=\"urlTooltip\"\n ></wac-tooltip>\n <!-- Size -->\n <span *ngIf=\"size && !progressBar\" class=\"is-size-7 wac-input__size\">\n <strong>{{ value.toString().length }}</strong> / {{ size }}\n </span>\n </div>\n <div class=\"field-body\">\n <div class=\"field\">\n <p\n class=\"control\"\n [ngClass]=\"{ 'has-icons-right': textError || success || error, 'has-icons-left': icon !== '', 'has-input-group': textAppend || textPrepend }\"\n >\n <!-- Text Prepend -->\n <span *ngIf=\"textPrepend\" class=\"has-input-group\">\n <span class=\"has-input-group-text prepend\">{{ textPrepend }}</span>\n <span *ngIf=\"icon !== ''\" class=\"icon is-small is-left\">\n <i [class]=\"icon\"></i>\n </span>\n </span>\n\n <!-- Input -->\n <input\n [class]=\"'input ' + extraClasses\"\n [id]=\"id\"\n [ngClass]=\"{\n 'is-danger': (textError || error) && !disabled,\n 'is-large': big,\n 'is-number': isNumber,\n 'remove-margin': disableMargin,\n 'text-append': textAppend\n }\"\n [type]=\"type\"\n [placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange($event)\"\n (blur)=\"onBlur()\"\n [disabled]=\"disabled\"\n (focusout)=\"onFocusOut()\"\n [min]=\"min\"\n [max]=\"max\"\n [maxlength]=\"maxlength ? maxlength : 524288\"\n [minlength]=\"minlength ? minlength : 0\"\n (keypress)=\"keyPress($event)\"\n />\n\n <!-- Indication at the end of the input -->\n <span class=\"indication\" *ngIf=\"indication\" [ngClass]=\"{'reverse': indicationLeft}\">\n <span [innerHTML]=\"indication\"></span>\n </span>\n\n <!-- Text Append -->\n <span *ngIf=\"textAppend && !indicationLeft\" class=\"has-input-group\">\n <span class=\"has-input-group-text append\">{{ textAppend }}</span>\n <!-- error if text append not empty -->\n <span *ngIf=\"textError\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n </span>\n\n <!-- Icon Left -->\n <span *ngIf=\"icon !== '' && !textPrepend && !indicationLeft\" class=\"icon is-small is-left\">\n <i [class]=\"icon\"></i>\n </span>\n\n <!-- Icon error if textAppend empty -->\n <span *ngIf=\"(textError || error) && !textAppend && !indicationLeft && !disabled\" class=\"icon is-small is-right\">\n <i class=\"fal fa-times has-text-danger\"></i>\n </span>\n\n <!-- Icon success -->\n <span *ngIf=\"success && !disabled\" class=\"icon is-small is-right\">\n <i class=\"fas fa-check has-text-success\"></i>\n </span>\n\n <!-- Text Info -->\n <span\n *ngIf=\"textInfo && (textError === null || textError === '') && !progressBar && !indicationLeft\"\n class=\"is-size-7 wac-input__info text-info\"\n [innerHtml]=\"textInfo\"\n ></span>\n\n <!-- Text Error -->\n <span *ngIf=\"textError && !progressBar && !indicationLeft\" class=\"is-size-7 wac-input__error has-text-danger\" [innerHtml]=\"textError\"></span>\n </p>\n\n <!-- Progress Bar -->\n <wac-progress-bar *ngIf=\"progressBar && !indicationLeft\" [min]=\"min\" [max]=\"max\" [valueLength]=\"value.length\"></wac-progress-bar>\n </div>\n </div>\n</div>\n",
|
|
2229
2229
|
providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: InputComponent, multi: true }]
|
|
2230
2230
|
},] }
|
|
2231
2231
|
];
|