@wizishop/angular-components 14.3.29 → 14.3.30
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 +230 -132
- package/esm2020/lib/components/tag/tag.component.mjs +6 -3
- package/fesm2015/wizishop-angular-components.mjs +5 -2
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +5 -2
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/tag/tag.component.d.ts +3 -2
- package/package.json +1 -1
- package/wizishop-angular-components-14.3.30.tgz +0 -0
- package/wizishop-angular-components-14.3.29.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -5244,7 +5244,97 @@ wac-optional-disable-container {
|
|
|
5244
5244
|
}
|
|
5245
5245
|
}
|
|
5246
5246
|
}
|
|
5247
|
-
.
|
|
5247
|
+
.selected-list {
|
|
5248
|
+
width: 100%;
|
|
5249
|
+
&__wrapper {
|
|
5250
|
+
display: flex;
|
|
5251
|
+
flex-direction: column;
|
|
5252
|
+
align-items: flex-start;
|
|
5253
|
+
justify-content: flex-start;
|
|
5254
|
+
&__head {
|
|
5255
|
+
width: 100%;
|
|
5256
|
+
min-height: rem(60);
|
|
5257
|
+
display: flex;
|
|
5258
|
+
justify-content: space-between;
|
|
5259
|
+
padding: 10px 20px;
|
|
5260
|
+
background-color: $wac-gray-background;
|
|
5261
|
+
margin: 0 0 10px;
|
|
5262
|
+
> p {
|
|
5263
|
+
display: flex;
|
|
5264
|
+
align-items: center;
|
|
5265
|
+
white-space: nowrap;
|
|
5266
|
+
font-size: rem(16);
|
|
5267
|
+
line-height: rem(19);
|
|
5268
|
+
font-weight: 500;
|
|
5269
|
+
}
|
|
5270
|
+
|
|
5271
|
+
&__button {
|
|
5272
|
+
height: rem(40);
|
|
5273
|
+
width: fit-content;
|
|
5274
|
+
margin-left: auto;
|
|
5275
|
+
|
|
5276
|
+
&__mobile {
|
|
5277
|
+
@include media('>=1024px') {
|
|
5278
|
+
display: none;
|
|
5279
|
+
}
|
|
5280
|
+
}
|
|
5281
|
+
|
|
5282
|
+
&__notMobile {
|
|
5283
|
+
@include media('<1024px') {
|
|
5284
|
+
display: none;
|
|
5285
|
+
}
|
|
5286
|
+
}
|
|
5287
|
+
|
|
5288
|
+
}
|
|
5289
|
+
|
|
5290
|
+
}
|
|
5291
|
+
&__content {
|
|
5292
|
+
width: 100%;
|
|
5293
|
+
display: flex;
|
|
5294
|
+
flex-wrap: wrap;
|
|
5295
|
+
align-items: flex-start;
|
|
5296
|
+
align-content: flex-start;
|
|
5297
|
+
justify-content: flex-start;
|
|
5298
|
+
&__item {
|
|
5299
|
+
white-space: nowrap;
|
|
5300
|
+
margin: 0 10px 10px 0;
|
|
5301
|
+
border: 1px solid $wac-border-form;
|
|
5302
|
+
border-radius: 2px;
|
|
5303
|
+
color: $wac-second-color;
|
|
5304
|
+
height: rem(40);
|
|
5305
|
+
display: flex;
|
|
5306
|
+
justify-content: center;
|
|
5307
|
+
align-items: center;
|
|
5308
|
+
padding: 0 20px;
|
|
5309
|
+
transition: .3s ease;
|
|
5310
|
+
font-size: rem(16);
|
|
5311
|
+
line-height: rem(19);
|
|
5312
|
+
font-weight: 500;
|
|
5313
|
+
cursor: pointer;
|
|
5314
|
+
&:hover, &:focus {
|
|
5315
|
+
border: 1px solid $wac-main-text;
|
|
5316
|
+
}
|
|
5317
|
+
> i {
|
|
5318
|
+
color: $wac-green-color;
|
|
5319
|
+
max-width: 0;
|
|
5320
|
+
display: block;
|
|
5321
|
+
transition: .3s ease;
|
|
5322
|
+
overflow: hidden;
|
|
5323
|
+
}
|
|
5324
|
+
&.active {
|
|
5325
|
+
color: $wac-main-text;
|
|
5326
|
+
> i {
|
|
5327
|
+
max-width: unset;
|
|
5328
|
+
margin: 0 0 0 10px;
|
|
5329
|
+
}
|
|
5330
|
+
}
|
|
5331
|
+
&:first-child {
|
|
5332
|
+
margin-left: 18px;
|
|
5333
|
+
}
|
|
5334
|
+
}
|
|
5335
|
+
}
|
|
5336
|
+
}
|
|
5337
|
+
}.wac-search {
|
|
5248
5338
|
width: 100%;
|
|
5249
5339
|
min-height: 50px;
|
|
5250
5340
|
border-radius: 3px;
|
|
@@ -5478,97 +5568,7 @@ wac-optional-disable-container {
|
|
|
5478
5568
|
}
|
|
5479
5569
|
}
|
|
5480
5570
|
}
|
|
5481
|
-
.
|
|
5482
|
-
width: 100%;
|
|
5483
|
-
&__wrapper {
|
|
5484
|
-
display: flex;
|
|
5485
|
-
flex-direction: column;
|
|
5486
|
-
align-items: flex-start;
|
|
5487
|
-
justify-content: flex-start;
|
|
5488
|
-
&__head {
|
|
5489
|
-
width: 100%;
|
|
5490
|
-
min-height: rem(60);
|
|
5491
|
-
display: flex;
|
|
5492
|
-
justify-content: space-between;
|
|
5493
|
-
padding: 10px 20px;
|
|
5494
|
-
background-color: $wac-gray-background;
|
|
5495
|
-
margin: 0 0 10px;
|
|
5496
|
-
> p {
|
|
5497
|
-
display: flex;
|
|
5498
|
-
align-items: center;
|
|
5499
|
-
white-space: nowrap;
|
|
5500
|
-
font-size: rem(16);
|
|
5501
|
-
line-height: rem(19);
|
|
5502
|
-
font-weight: 500;
|
|
5503
|
-
}
|
|
5504
|
-
|
|
5505
|
-
&__button {
|
|
5506
|
-
height: rem(40);
|
|
5507
|
-
width: fit-content;
|
|
5508
|
-
margin-left: auto;
|
|
5509
|
-
|
|
5510
|
-
&__mobile {
|
|
5511
|
-
@include media('>=1024px') {
|
|
5512
|
-
display: none;
|
|
5513
|
-
}
|
|
5514
|
-
}
|
|
5515
|
-
|
|
5516
|
-
&__notMobile {
|
|
5517
|
-
@include media('<1024px') {
|
|
5518
|
-
display: none;
|
|
5519
|
-
}
|
|
5520
|
-
}
|
|
5521
|
-
|
|
5522
|
-
}
|
|
5523
|
-
|
|
5524
|
-
}
|
|
5525
|
-
&__content {
|
|
5526
|
-
width: 100%;
|
|
5527
|
-
display: flex;
|
|
5528
|
-
flex-wrap: wrap;
|
|
5529
|
-
align-items: flex-start;
|
|
5530
|
-
align-content: flex-start;
|
|
5531
|
-
justify-content: flex-start;
|
|
5532
|
-
&__item {
|
|
5533
|
-
white-space: nowrap;
|
|
5534
|
-
margin: 0 10px 10px 0;
|
|
5535
|
-
border: 1px solid $wac-border-form;
|
|
5536
|
-
border-radius: 2px;
|
|
5537
|
-
color: $wac-second-color;
|
|
5538
|
-
height: rem(40);
|
|
5539
|
-
display: flex;
|
|
5540
|
-
justify-content: center;
|
|
5541
|
-
align-items: center;
|
|
5542
|
-
padding: 0 20px;
|
|
5543
|
-
transition: .3s ease;
|
|
5544
|
-
font-size: rem(16);
|
|
5545
|
-
line-height: rem(19);
|
|
5546
|
-
font-weight: 500;
|
|
5547
|
-
cursor: pointer;
|
|
5548
|
-
&:hover, &:focus {
|
|
5549
|
-
border: 1px solid $wac-main-text;
|
|
5550
|
-
}
|
|
5551
|
-
> i {
|
|
5552
|
-
color: $wac-green-color;
|
|
5553
|
-
max-width: 0;
|
|
5554
|
-
display: block;
|
|
5555
|
-
transition: .3s ease;
|
|
5556
|
-
overflow: hidden;
|
|
5557
|
-
}
|
|
5558
|
-
&.active {
|
|
5559
|
-
color: $wac-main-text;
|
|
5560
|
-
> i {
|
|
5561
|
-
max-width: unset;
|
|
5562
|
-
margin: 0 0 0 10px;
|
|
5563
|
-
}
|
|
5564
|
-
}
|
|
5565
|
-
&:first-child {
|
|
5566
|
-
margin-left: 18px;
|
|
5567
|
-
}
|
|
5568
|
-
}
|
|
5569
|
-
}
|
|
5570
|
-
}
|
|
5571
|
-
}.wac-separator {
|
|
5571
|
+
.wac-separator {
|
|
5572
5572
|
display: block;
|
|
5573
5573
|
width: 100%;
|
|
5574
5574
|
border-bottom: 1px solid $wac-border-color;
|
|
@@ -5610,6 +5610,45 @@ wac-optional-disable-container {
|
|
|
5610
5610
|
}
|
|
5611
5611
|
}
|
|
5612
5612
|
}
|
|
5613
|
+
.wac-snackbar {
|
|
5614
|
+
.notification {
|
|
5615
|
+
position: fixed;
|
|
5616
|
+
bottom: 0;
|
|
5617
|
+
width: 800px;
|
|
5618
|
+
color: #fff;
|
|
5619
|
+
font-size: 15px;
|
|
5620
|
+
font-weight: 300;
|
|
5621
|
+
margin: 0 auto;
|
|
5622
|
+
left: 0;
|
|
5623
|
+
right: 0;
|
|
5624
|
+
z-index: 10;
|
|
5625
|
+
}
|
|
5626
|
+
|
|
5627
|
+
.notification.is-transparent {
|
|
5628
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
5629
|
+
}
|
|
5630
|
+
|
|
5631
|
+
.notification button {
|
|
5632
|
+
word-wrap: break-word;
|
|
5633
|
+
word-break: break-all;
|
|
5634
|
+
white-space: normal;
|
|
5635
|
+
height: 100%;
|
|
5636
|
+
margin-right: 1em;
|
|
5637
|
+
}
|
|
5638
|
+
|
|
5639
|
+
.notification .column:nth-child(2) {
|
|
5640
|
+
text-align: right;
|
|
5641
|
+
}
|
|
5642
|
+
|
|
5643
|
+
.notification .column:nth-child(1) {
|
|
5644
|
+
text-align: left;
|
|
5645
|
+
}
|
|
5646
|
+
|
|
5647
|
+
.notification--message {
|
|
5648
|
+
align-self: center;
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
}
|
|
5613
5652
|
.wac-state {
|
|
5614
5653
|
width: 12px;
|
|
5615
5654
|
height: 12px;
|
|
@@ -5669,45 +5708,6 @@ wac-optional-disable-container {
|
|
|
5669
5708
|
}
|
|
5670
5709
|
}
|
|
5671
5710
|
}
|
|
5672
|
-
.wac-snackbar {
|
|
5673
|
-
.notification {
|
|
5674
|
-
position: fixed;
|
|
5675
|
-
bottom: 0;
|
|
5676
|
-
width: 800px;
|
|
5677
|
-
color: #fff;
|
|
5678
|
-
font-size: 15px;
|
|
5679
|
-
font-weight: 300;
|
|
5680
|
-
margin: 0 auto;
|
|
5681
|
-
left: 0;
|
|
5682
|
-
right: 0;
|
|
5683
|
-
z-index: 10;
|
|
5684
|
-
}
|
|
5685
|
-
|
|
5686
|
-
.notification.is-transparent {
|
|
5687
|
-
background-color: rgba(0, 0, 0, 0.8);
|
|
5688
|
-
}
|
|
5689
|
-
|
|
5690
|
-
.notification button {
|
|
5691
|
-
word-wrap: break-word;
|
|
5692
|
-
word-break: break-all;
|
|
5693
|
-
white-space: normal;
|
|
5694
|
-
height: 100%;
|
|
5695
|
-
margin-right: 1em;
|
|
5696
|
-
}
|
|
5697
|
-
|
|
5698
|
-
.notification .column:nth-child(2) {
|
|
5699
|
-
text-align: right;
|
|
5700
|
-
}
|
|
5701
|
-
|
|
5702
|
-
.notification .column:nth-child(1) {
|
|
5703
|
-
text-align: left;
|
|
5704
|
-
}
|
|
5705
|
-
|
|
5706
|
-
.notification--message {
|
|
5707
|
-
align-self: center;
|
|
5708
|
-
}
|
|
5709
|
-
|
|
5710
|
-
}
|
|
5711
5711
|
.wac-summary {
|
|
5712
5712
|
p {
|
|
5713
5713
|
font-size: rem(14);
|
|
@@ -6121,6 +6121,7 @@ wac-optional-disable-container {
|
|
|
6121
6121
|
justify-content: space-between;
|
|
6122
6122
|
align-content: center;
|
|
6123
6123
|
color: $wac-white;
|
|
6124
|
+
height: 36px;
|
|
6124
6125
|
font-size: rem(14);
|
|
6125
6126
|
line-height: rem(16);
|
|
6126
6127
|
border-radius: rem(3);
|
|
@@ -6130,6 +6131,7 @@ wac-optional-disable-container {
|
|
|
6130
6131
|
cursor: default;
|
|
6131
6132
|
|
|
6132
6133
|
&.big {
|
|
6134
|
+
height: 38px;
|
|
6133
6135
|
padding: rem(11) rem(15);
|
|
6134
6136
|
font-size: rem(14);
|
|
6135
6137
|
font-weight: 500;
|
|
@@ -6141,6 +6143,10 @@ wac-optional-disable-container {
|
|
|
6141
6143
|
}
|
|
6142
6144
|
}
|
|
6143
6145
|
|
|
6146
|
+
&.draggable {
|
|
6147
|
+
cursor: grab;
|
|
6148
|
+
}
|
|
6149
|
+
|
|
6144
6150
|
i {
|
|
6145
6151
|
color: $wac-white;
|
|
6146
6152
|
font-weight: 400;
|
|
@@ -6148,13 +6154,40 @@ wac-optional-disable-container {
|
|
|
6148
6154
|
font-size: rem(13);
|
|
6149
6155
|
}
|
|
6150
6156
|
|
|
6157
|
+
&__draggable {
|
|
6158
|
+
position: relative;
|
|
6159
|
+
width: 2px;
|
|
6160
|
+
height: calc(100% + 10px);
|
|
6161
|
+
margin-left: -5px;
|
|
6162
|
+
margin-right: 18px;
|
|
6163
|
+
background-color: $wac-border-form;
|
|
6164
|
+
|
|
6165
|
+
&:before, &:after {
|
|
6166
|
+
display: block;
|
|
6167
|
+
position: absolute;
|
|
6168
|
+
height: 100%;
|
|
6169
|
+
width: 2px;
|
|
6170
|
+
top: 0;
|
|
6171
|
+
background-color: $wac-border-form;
|
|
6172
|
+
content: '';
|
|
6173
|
+
}
|
|
6174
|
+
|
|
6175
|
+
&:before {
|
|
6176
|
+
left: 4px;
|
|
6177
|
+
}
|
|
6178
|
+
|
|
6179
|
+
&:after {
|
|
6180
|
+
left: 8px;
|
|
6181
|
+
}
|
|
6182
|
+
}
|
|
6183
|
+
|
|
6151
6184
|
&--default {
|
|
6152
6185
|
background-color: $wac-tag-default;
|
|
6153
6186
|
border: 1px solid $wac-border-light;
|
|
6154
6187
|
color: $wac-second-color;
|
|
6155
6188
|
font-weight: 400;
|
|
6156
6189
|
i {
|
|
6157
|
-
color: $wac-
|
|
6190
|
+
color: $wac-second-color;
|
|
6158
6191
|
}
|
|
6159
6192
|
&.hover:hover,
|
|
6160
6193
|
&.hover:focus {
|
|
@@ -6172,6 +6205,14 @@ wac-optional-disable-container {
|
|
|
6172
6205
|
&.hover:focus {
|
|
6173
6206
|
background-color: darken($wac-tag-success, 15%);
|
|
6174
6207
|
}
|
|
6208
|
+
|
|
6209
|
+
.wac-tag__draggable {
|
|
6210
|
+
background-color: white;
|
|
6211
|
+
|
|
6212
|
+
&:before, &:after {
|
|
6213
|
+
background-color: white;
|
|
6214
|
+
}
|
|
6215
|
+
}
|
|
6175
6216
|
}
|
|
6176
6217
|
|
|
6177
6218
|
&--warning {
|
|
@@ -6180,6 +6221,14 @@ wac-optional-disable-container {
|
|
|
6180
6221
|
&.hover:focus {
|
|
6181
6222
|
background-color: darken($wac-tag-waring, 15%);
|
|
6182
6223
|
}
|
|
6224
|
+
|
|
6225
|
+
.wac-tag__draggable {
|
|
6226
|
+
background-color: white;
|
|
6227
|
+
|
|
6228
|
+
&:before, &:after {
|
|
6229
|
+
background-color: white;
|
|
6230
|
+
}
|
|
6231
|
+
}
|
|
6183
6232
|
}
|
|
6184
6233
|
|
|
6185
6234
|
&--error {
|
|
@@ -6188,6 +6237,14 @@ wac-optional-disable-container {
|
|
|
6188
6237
|
&.hover:focus {
|
|
6189
6238
|
background-color: darken($wac-primary-button, 15%);
|
|
6190
6239
|
}
|
|
6240
|
+
|
|
6241
|
+
.wac-tag__draggable {
|
|
6242
|
+
background-color: white;
|
|
6243
|
+
|
|
6244
|
+
&:before, &:after {
|
|
6245
|
+
background-color: white;
|
|
6246
|
+
}
|
|
6247
|
+
}
|
|
6191
6248
|
}
|
|
6192
6249
|
|
|
6193
6250
|
&--dark {
|
|
@@ -6196,6 +6253,14 @@ wac-optional-disable-container {
|
|
|
6196
6253
|
&.hover:focus {
|
|
6197
6254
|
background-color: lighten($wac-main-text, 15%);
|
|
6198
6255
|
}
|
|
6256
|
+
|
|
6257
|
+
.wac-tag__draggable {
|
|
6258
|
+
background-color: white;
|
|
6259
|
+
|
|
6260
|
+
&:before, &:after {
|
|
6261
|
+
background-color: white;
|
|
6262
|
+
}
|
|
6263
|
+
}
|
|
6199
6264
|
}
|
|
6200
6265
|
|
|
6201
6266
|
&--gray {
|
|
@@ -6204,6 +6269,14 @@ wac-optional-disable-container {
|
|
|
6204
6269
|
&.hover:focus {
|
|
6205
6270
|
background-color: darken($wac-tag-gray, 15%);
|
|
6206
6271
|
}
|
|
6272
|
+
|
|
6273
|
+
.wac-tag__draggable {
|
|
6274
|
+
background-color: white;
|
|
6275
|
+
|
|
6276
|
+
&:before, &:after {
|
|
6277
|
+
background-color: white;
|
|
6278
|
+
}
|
|
6279
|
+
}
|
|
6207
6280
|
}
|
|
6208
6281
|
|
|
6209
6282
|
&--lightgray {
|
|
@@ -6216,6 +6289,31 @@ wac-optional-disable-container {
|
|
|
6216
6289
|
&.hover:focus {
|
|
6217
6290
|
background-color: darken($wac-border-light, 15%);
|
|
6218
6291
|
}
|
|
6292
|
+
|
|
6293
|
+
.wac-tag__draggable {
|
|
6294
|
+
background-color: $wac-second-color;
|
|
6295
|
+
|
|
6296
|
+
&:before, &:after {
|
|
6297
|
+
background-color: $wac-second-color;
|
|
6298
|
+
}
|
|
6299
|
+
}
|
|
6300
|
+
}
|
|
6301
|
+
|
|
6302
|
+
&--white {
|
|
6303
|
+
background-color: white;
|
|
6304
|
+
border: 1px solid $wac-border-form;
|
|
6305
|
+
color: $wac-second-color;
|
|
6306
|
+
font-weight: 400;
|
|
6307
|
+
i {
|
|
6308
|
+
color: $wac-second-color;
|
|
6309
|
+
}
|
|
6310
|
+
&.hover:hover,
|
|
6311
|
+
&.hover:focus {
|
|
6312
|
+
color: $wac-main-text;
|
|
6313
|
+
i {
|
|
6314
|
+
color: $wac-main-text;
|
|
6315
|
+
}
|
|
6316
|
+
}
|
|
6219
6317
|
}
|
|
6220
6318
|
|
|
6221
6319
|
&__close {
|
|
@@ -5,6 +5,7 @@ export class TagComponent {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.label = '';
|
|
7
7
|
this.hasClose = false;
|
|
8
|
+
this.draggable = false;
|
|
8
9
|
this.big = false;
|
|
9
10
|
this.isOpen = true;
|
|
10
11
|
this.isOpenChange = new EventEmitter();
|
|
@@ -15,16 +16,18 @@ export class TagComponent {
|
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
TagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TagComponent, selector: "wac-tag", inputs: { label: "label", class: "class", hasClose: "hasClose", big: "big", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngImport: i0, template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\">\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
19
|
+
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TagComponent, selector: "wac-tag", inputs: { label: "label", class: "class", hasClose: "hasClose", draggable: "draggable", big: "big", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngImport: i0, template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big , draggable: draggable}\">\n <div *ngIf=\"draggable\" class=\"wac-tag__draggable\"></div>\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
19
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TagComponent, decorators: [{
|
|
20
21
|
type: Component,
|
|
21
|
-
args: [{ selector: 'wac-tag', template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\">\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n" }]
|
|
22
|
+
args: [{ selector: 'wac-tag', template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big , draggable: draggable}\">\n <div *ngIf=\"draggable\" class=\"wac-tag__draggable\"></div>\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n" }]
|
|
22
23
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
23
24
|
type: Input
|
|
24
25
|
}], class: [{
|
|
25
26
|
type: Input
|
|
26
27
|
}], hasClose: [{
|
|
27
28
|
type: Input
|
|
29
|
+
}], draggable: [{
|
|
30
|
+
type: Input
|
|
28
31
|
}], big: [{
|
|
29
32
|
type: Input
|
|
30
33
|
}], isOpen: [{
|
|
@@ -32,4 +35,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
32
35
|
}], isOpenChange: [{
|
|
33
36
|
type: Output
|
|
34
37
|
}] } });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvdGFnL3RhZy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3RhZy90YWcuY29tcG9uZW50Lmh0bWwiXSw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jbGFzcz1cImZhcyBmYS10aW1lc1wiPjwvaT48L3NwYW4+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1438,6 +1438,7 @@ class TagComponent {
|
|
|
1438
1438
|
constructor() {
|
|
1439
1439
|
this.label = '';
|
|
1440
1440
|
this.hasClose = false;
|
|
1441
|
+
this.draggable = false;
|
|
1441
1442
|
this.big = false;
|
|
1442
1443
|
this.isOpen = true;
|
|
1443
1444
|
this.isOpenChange = new EventEmitter();
|
|
@@ -1448,16 +1449,18 @@ class TagComponent {
|
|
|
1448
1449
|
}
|
|
1449
1450
|
}
|
|
1450
1451
|
TagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1451
|
-
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TagComponent, selector: "wac-tag", inputs: { label: "label", class: "class", hasClose: "hasClose", big: "big", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngImport: i0, template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\">\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1452
|
+
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TagComponent, selector: "wac-tag", inputs: { label: "label", class: "class", hasClose: "hasClose", draggable: "draggable", big: "big", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngImport: i0, template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big , draggable: draggable}\">\n <div *ngIf=\"draggable\" class=\"wac-tag__draggable\"></div>\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1452
1453
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TagComponent, decorators: [{
|
|
1453
1454
|
type: Component,
|
|
1454
|
-
args: [{ selector: 'wac-tag', template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\">\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n" }]
|
|
1455
|
+
args: [{ selector: 'wac-tag', template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big , draggable: draggable}\">\n <div *ngIf=\"draggable\" class=\"wac-tag__draggable\"></div>\n {{ label }}\n <span class=\"wac-tag__close\" *ngIf=\"hasClose\" (click)=\"toggleTag()\"><i class=\"fas fa-times\"></i></span>\n</div>\n" }]
|
|
1455
1456
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
1456
1457
|
type: Input
|
|
1457
1458
|
}], class: [{
|
|
1458
1459
|
type: Input
|
|
1459
1460
|
}], hasClose: [{
|
|
1460
1461
|
type: Input
|
|
1462
|
+
}], draggable: [{
|
|
1463
|
+
type: Input
|
|
1461
1464
|
}], big: [{
|
|
1462
1465
|
type: Input
|
|
1463
1466
|
}], isOpen: [{
|