@wizishop/angular-components 15.1.37 → 15.1.39
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 +43 -86
- package/esm2020/lib/components/row/row.component.mjs +7 -4
- package/fesm2015/wizishop-angular-components.mjs +6 -3
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +6 -3
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/row/row.component.d.ts +2 -1
- package/package.json +1 -1
- package/wizishop-angular-components-15.1.39.tgz +0 -0
- package/wizishop-angular-components-15.1.37.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -5705,6 +5705,7 @@ wac-optional-disable-container {
|
|
|
5705
5705
|
*/
|
|
5706
5706
|
&.with-border {
|
|
5707
5707
|
border: 1px solid $wac-border-form;
|
|
5708
|
+
padding: 20px;
|
|
5708
5709
|
}
|
|
5709
5710
|
|
|
5710
5711
|
|
|
@@ -5715,67 +5716,58 @@ wac-optional-disable-container {
|
|
|
5715
5716
|
|
|
5716
5717
|
&.direction-column {
|
|
5717
5718
|
flex-direction: column!important;
|
|
5719
|
+
&.last-child-down {
|
|
5720
|
+
> *:last-child {
|
|
5721
|
+
justify-self: flex-end;
|
|
5722
|
+
margin-top: auto!important;
|
|
5723
|
+
}
|
|
5724
|
+
}
|
|
5718
5725
|
&.top-middle {
|
|
5719
5726
|
justify-content: flex-start;
|
|
5720
5727
|
align-items: center;
|
|
5721
|
-
> * {
|
|
5722
|
-
width: auto!important;
|
|
5723
|
-
}
|
|
5724
5728
|
}
|
|
5725
5729
|
&.top-right {
|
|
5726
5730
|
justify-content: flex-start;
|
|
5727
5731
|
align-items: flex-end;
|
|
5728
|
-
> * {
|
|
5729
|
-
width: auto!important;
|
|
5730
|
-
}
|
|
5731
5732
|
}
|
|
5732
5733
|
&.middle-left {
|
|
5733
5734
|
justify-content: center;
|
|
5734
5735
|
align-items: flex-start;
|
|
5735
|
-
> * {
|
|
5736
|
-
width: auto!important;
|
|
5737
|
-
}
|
|
5738
5736
|
}
|
|
5739
5737
|
&.middle-right {
|
|
5740
5738
|
justify-content: center;
|
|
5741
5739
|
align-items: flex-end;
|
|
5742
|
-
> * {
|
|
5743
|
-
width: auto!important;
|
|
5744
|
-
}
|
|
5745
5740
|
}
|
|
5746
5741
|
&.bottom-left {
|
|
5747
5742
|
justify-content: flex-end;
|
|
5748
5743
|
align-items: flex-start;
|
|
5749
|
-
> * {
|
|
5750
|
-
width: auto!important;
|
|
5751
|
-
}
|
|
5752
5744
|
}
|
|
5753
5745
|
&.bottom-middle {
|
|
5754
5746
|
justify-content: flex-end;
|
|
5755
5747
|
align-items: center;
|
|
5756
|
-
> * {
|
|
5757
|
-
width: auto!important;
|
|
5758
|
-
}
|
|
5759
5748
|
}
|
|
5760
5749
|
&.stretch-left {
|
|
5761
5750
|
justify-content: stretch;
|
|
5762
5751
|
align-items: flex-start;
|
|
5763
|
-
> * {
|
|
5764
|
-
width: auto!important;
|
|
5765
|
-
}
|
|
5766
5752
|
}
|
|
5767
5753
|
&.stretch-middle {
|
|
5768
5754
|
justify-content: stretch;
|
|
5769
5755
|
align-items: center;
|
|
5770
|
-
> * {
|
|
5771
|
-
width: auto!important;
|
|
5772
|
-
}
|
|
5773
5756
|
}
|
|
5774
5757
|
&.stretch-right {
|
|
5775
5758
|
justify-content: stretch;
|
|
5776
5759
|
align-items: flex-end;
|
|
5777
|
-
|
|
5778
|
-
|
|
5760
|
+
}
|
|
5761
|
+
> * {
|
|
5762
|
+
&:not(:last-child) {
|
|
5763
|
+
@include media('>=tablet') {
|
|
5764
|
+
margin: 0 0 15px !important;
|
|
5765
|
+
}
|
|
5766
|
+
}
|
|
5767
|
+
&:last-child {
|
|
5768
|
+
@include media('>=tablet') {
|
|
5769
|
+
margin: 0 !important;
|
|
5770
|
+
}
|
|
5779
5771
|
}
|
|
5780
5772
|
}
|
|
5781
5773
|
}
|
|
@@ -5787,86 +5779,50 @@ wac-optional-disable-container {
|
|
|
5787
5779
|
&.top-left {
|
|
5788
5780
|
justify-content: flex-start;
|
|
5789
5781
|
align-items: flex-start;
|
|
5790
|
-
> * {
|
|
5791
|
-
width: auto!important;
|
|
5792
|
-
}
|
|
5793
5782
|
}
|
|
5794
5783
|
&.top-middle {
|
|
5795
5784
|
justify-content: center;
|
|
5796
5785
|
align-items: flex-start;
|
|
5797
|
-
> * {
|
|
5798
|
-
width: auto!important;
|
|
5799
|
-
}
|
|
5800
5786
|
}
|
|
5801
5787
|
&.top-right {
|
|
5802
5788
|
justify-content: flex-end;
|
|
5803
5789
|
align-items: flex-start;
|
|
5804
|
-
> * {
|
|
5805
|
-
width: auto!important;
|
|
5806
|
-
}
|
|
5807
5790
|
}
|
|
5808
5791
|
&.middle-left {
|
|
5809
5792
|
justify-content: flex-start;
|
|
5810
5793
|
align-items: center;
|
|
5811
|
-
> * {
|
|
5812
|
-
width: auto!important;
|
|
5813
|
-
}
|
|
5814
5794
|
}
|
|
5815
5795
|
&.middle-middle {
|
|
5816
5796
|
justify-content: center;
|
|
5817
5797
|
align-items: center;
|
|
5818
|
-
> * {
|
|
5819
|
-
width: auto!important;
|
|
5820
|
-
}
|
|
5821
5798
|
}
|
|
5822
5799
|
&.middle-right {
|
|
5823
5800
|
justify-content: flex-end;
|
|
5824
5801
|
align-items: center;
|
|
5825
|
-
> * {
|
|
5826
|
-
width: auto!important;
|
|
5827
|
-
}
|
|
5828
5802
|
}
|
|
5829
5803
|
&.bottom-left {
|
|
5830
5804
|
justify-content: flex-start;
|
|
5831
5805
|
align-items: flex-end;
|
|
5832
|
-
> * {
|
|
5833
|
-
width: auto!important;
|
|
5834
|
-
}
|
|
5835
5806
|
}
|
|
5836
5807
|
&.bottom-middle {
|
|
5837
5808
|
justify-content: center;
|
|
5838
5809
|
align-items: flex-end;
|
|
5839
|
-
> * {
|
|
5840
|
-
width: auto!important;
|
|
5841
|
-
}
|
|
5842
5810
|
}
|
|
5843
5811
|
&.bottom-right {
|
|
5844
5812
|
justify-content: flex-end;
|
|
5845
5813
|
align-items: flex-end;
|
|
5846
|
-
> * {
|
|
5847
|
-
width: auto!important;
|
|
5848
|
-
}
|
|
5849
5814
|
}
|
|
5850
5815
|
&.stretch-left {
|
|
5851
5816
|
justify-content: flex-start;
|
|
5852
5817
|
align-items: stretch;
|
|
5853
|
-
> * {
|
|
5854
|
-
width: auto!important;
|
|
5855
|
-
}
|
|
5856
5818
|
}
|
|
5857
5819
|
&.stretch-middle {
|
|
5858
5820
|
justify-content: center;
|
|
5859
5821
|
align-items: stretch;
|
|
5860
|
-
> * {
|
|
5861
|
-
width: auto!important;
|
|
5862
|
-
}
|
|
5863
5822
|
}
|
|
5864
5823
|
&.stretch-right {
|
|
5865
5824
|
justify-content: flex-end;
|
|
5866
5825
|
align-items: stretch;
|
|
5867
|
-
> * {
|
|
5868
|
-
width: auto!important;
|
|
5869
|
-
}
|
|
5870
5826
|
}
|
|
5871
5827
|
|
|
5872
5828
|
&.childrens-width-auto {
|
|
@@ -5971,6 +5927,7 @@ wac-optional-disable-container {
|
|
|
5971
5927
|
}
|
|
5972
5928
|
> * {
|
|
5973
5929
|
width: 100%;
|
|
5930
|
+
display: flex;
|
|
5974
5931
|
&:not(:last-child) {
|
|
5975
5932
|
@include media('<tablet') {
|
|
5976
5933
|
margin: 0 0 15px!important;
|
|
@@ -7306,30 +7263,6 @@ wac-optional-disable-container {
|
|
|
7306
7263
|
margin: inherit;
|
|
7307
7264
|
}
|
|
7308
7265
|
}
|
|
7309
|
-
.wac-token-check {
|
|
7310
|
-
display: inline-block;
|
|
7311
|
-
position: relative;
|
|
7312
|
-
padding: 11px 20px;
|
|
7313
|
-
border-style: solid;
|
|
7314
|
-
border-width: 1px;
|
|
7315
|
-
border-radius: 3px;
|
|
7316
|
-
box-sizing: border-box;
|
|
7317
|
-
border-color: $wac-border-light;
|
|
7318
|
-
font-size: 14px;
|
|
7319
|
-
line-height: 16px;
|
|
7320
|
-
font-weight: 400;
|
|
7321
|
-
> span:nth-child(2){
|
|
7322
|
-
font-weight: 600;
|
|
7323
|
-
}
|
|
7324
|
-
> strong {
|
|
7325
|
-
font-weight: 400;
|
|
7326
|
-
}
|
|
7327
|
-
> span {
|
|
7328
|
-
&.warning {
|
|
7329
|
-
color: $wac-primary-button;
|
|
7330
|
-
}
|
|
7331
|
-
}
|
|
7332
|
-
}
|
|
7333
7266
|
.wac-text-area {
|
|
7334
7267
|
|
|
7335
7268
|
::-webkit-input-placeholder {
|
|
@@ -7481,6 +7414,30 @@ wac-optional-disable-container {
|
|
|
7481
7414
|
}
|
|
7482
7415
|
}
|
|
7483
7416
|
}
|
|
7417
|
+
.wac-token-check {
|
|
7418
|
+
display: inline-block;
|
|
7419
|
+
position: relative;
|
|
7420
|
+
padding: 11px 20px;
|
|
7421
|
+
border-style: solid;
|
|
7422
|
+
border-width: 1px;
|
|
7423
|
+
border-radius: 3px;
|
|
7424
|
+
box-sizing: border-box;
|
|
7425
|
+
border-color: $wac-border-light;
|
|
7426
|
+
font-size: 14px;
|
|
7427
|
+
line-height: 16px;
|
|
7428
|
+
font-weight: 400;
|
|
7429
|
+
> span:nth-child(2){
|
|
7430
|
+
font-weight: 600;
|
|
7431
|
+
}
|
|
7432
|
+
> strong {
|
|
7433
|
+
font-weight: 400;
|
|
7434
|
+
}
|
|
7435
|
+
> span {
|
|
7436
|
+
&.warning {
|
|
7437
|
+
color: $wac-primary-button;
|
|
7438
|
+
}
|
|
7439
|
+
}
|
|
7440
|
+
}
|
|
7484
7441
|
span.wac-tooltip {
|
|
7485
7442
|
position: relative;
|
|
7486
7443
|
padding: 0.5rem;
|
|
@@ -14,11 +14,12 @@ export class RowComponent {
|
|
|
14
14
|
this.lineDisplayContent = false;
|
|
15
15
|
this.border = false;
|
|
16
16
|
this.padding = '';
|
|
17
|
+
this.lastChildIsDown = false;
|
|
17
18
|
this.halfMarginChild = '';
|
|
18
19
|
this.nbChildsClass = '';
|
|
19
20
|
}
|
|
20
21
|
ngOnInit() {
|
|
21
|
-
this.id = 'row-' + Math.floor(Math.random() *
|
|
22
|
+
this.id = 'row-' + Math.floor(Math.random() * 100000);
|
|
22
23
|
if (this.marginChild) {
|
|
23
24
|
this.halfMarginChild = parseInt(this.marginChild) / 2 + 'px';
|
|
24
25
|
}
|
|
@@ -71,10 +72,10 @@ export class RowComponent {
|
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
RowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: RowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
74
|
-
RowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: RowComponent, selector: "wac-row", inputs: { position: "position", width: "width", height: "height", responsiveAuto: "responsiveAuto", childrensWidthAuto: "childrensWidthAuto", visibility: "visibility", marginChild: "marginChild", addWacBlock: "addWacBlock", lineDisplayContent: "lineDisplayContent", border: "border", padding: "padding" }, host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div [ngStyle]=\"{'padding': padding,'transform': (childs > 1 ? 'translateX(-' + halfMarginChild + ')' : 'wrong'), 'width': (childs > 1 ? 'calc(100% + ' + marginChild + ')' : 'wrong')}\" class=\"wac-row {{ addWacBlock ? 'white-block' : '' }} {{ lineDisplayContent ? 'direction-column' : '' }} {{ border ? 'with-border' : '' }} {{ childrensWidthAuto ? 'childrens-width-auto' : '' }} {{ position ? position : '' }} {{ visibility ? visibility : '' }} {{ responsiveClass ? responsiveClass : '' }} {{nbChildsClass}} {{classWidth}}\" #container [ngClass]=\"{\n 'multiple-child': childs > 3,\n 'five-or-more-child': childs > 4,\n 'alone': childs === 1\n}\" [id]=\"id\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
75
|
+
RowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: RowComponent, selector: "wac-row", inputs: { position: "position", width: "width", height: "height", responsiveAuto: "responsiveAuto", childrensWidthAuto: "childrensWidthAuto", visibility: "visibility", marginChild: "marginChild", addWacBlock: "addWacBlock", lineDisplayContent: "lineDisplayContent", border: "border", padding: "padding", lastChildIsDown: "lastChildIsDown" }, host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div [ngStyle]=\"{'padding': padding,'transform': (childs > 1 ? 'translateX(-' + halfMarginChild + ')' : 'wrong'), 'width': (childs > 1 ? 'calc(100% + ' + marginChild + ')' : 'wrong')}\" class=\"wac-row {{ addWacBlock ? 'white-block' : '' }} {{ lineDisplayContent ? 'direction-column' : '' }} {{ border ? 'with-border' : '' }} {{ lastChildIsDown ? 'last-child-down' : '' }} {{ childrensWidthAuto ? 'childrens-width-auto' : '' }} {{ position ? position : '' }} {{ visibility ? visibility : '' }} {{ responsiveClass ? responsiveClass : '' }} {{nbChildsClass}} {{classWidth}}\" #container [ngClass]=\"{\n 'multiple-child': childs > 3,\n 'five-or-more-child': childs > 4,\n 'alone': childs === 1\n}\" [id]=\"id\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
75
76
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: RowComponent, decorators: [{
|
|
76
77
|
type: Component,
|
|
77
|
-
args: [{ selector: 'wac-row', encapsulation: ViewEncapsulation.None, template: "<div [ngStyle]=\"{'padding': padding,'transform': (childs > 1 ? 'translateX(-' + halfMarginChild + ')' : 'wrong'), 'width': (childs > 1 ? 'calc(100% + ' + marginChild + ')' : 'wrong')}\" class=\"wac-row {{ addWacBlock ? 'white-block' : '' }} {{ lineDisplayContent ? 'direction-column' : '' }} {{ border ? 'with-border' : '' }} {{ childrensWidthAuto ? 'childrens-width-auto' : '' }} {{ position ? position : '' }} {{ visibility ? visibility : '' }} {{ responsiveClass ? responsiveClass : '' }} {{nbChildsClass}} {{classWidth}}\" #container [ngClass]=\"{\n 'multiple-child': childs > 3,\n 'five-or-more-child': childs > 4,\n 'alone': childs === 1\n}\" [id]=\"id\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
78
|
+
args: [{ selector: 'wac-row', encapsulation: ViewEncapsulation.None, template: "<div [ngStyle]=\"{'padding': padding,'transform': (childs > 1 ? 'translateX(-' + halfMarginChild + ')' : 'wrong'), 'width': (childs > 1 ? 'calc(100% + ' + marginChild + ')' : 'wrong')}\" class=\"wac-row {{ addWacBlock ? 'white-block' : '' }} {{ lineDisplayContent ? 'direction-column' : '' }} {{ border ? 'with-border' : '' }} {{ lastChildIsDown ? 'last-child-down' : '' }} {{ childrensWidthAuto ? 'childrens-width-auto' : '' }} {{ position ? position : '' }} {{ visibility ? visibility : '' }} {{ responsiveClass ? responsiveClass : '' }} {{nbChildsClass}} {{classWidth}}\" #container [ngClass]=\"{\n 'multiple-child': childs > 3,\n 'five-or-more-child': childs > 4,\n 'alone': childs === 1\n}\" [id]=\"id\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
78
79
|
}], propDecorators: { position: [{
|
|
79
80
|
type: Input
|
|
80
81
|
}], width: [{
|
|
@@ -97,6 +98,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
97
98
|
type: Input
|
|
98
99
|
}], padding: [{
|
|
99
100
|
type: Input
|
|
101
|
+
}], lastChildIsDown: [{
|
|
102
|
+
type: Input
|
|
100
103
|
}], container: [{
|
|
101
104
|
type: ViewChild,
|
|
102
105
|
args: [`container`]
|
|
@@ -104,4 +107,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
104
107
|
type: HostListener,
|
|
105
108
|
args: ['window:resize', ['$event']]
|
|
106
109
|
}] } });
|
|
107
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
110
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm93LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvcm93L3Jvdy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3Jvdy9yb3cuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUVMLFNBQVMsRUFDVCxpQkFBaUIsRUFDbEIsTUFBTSxlQUFlLENBQUM7OztBQVF2QixNQUFNLE9BQU8sWUFBWTtJQUx6QjtRQVFFLE9BQUUsR0FBRyxFQUFFLENBQUM7UUFDUixXQUFNLEdBQUcsQ0FBQyxDQUFDO1FBQ1gsZUFBVSxHQUFHLEVBQUUsQ0FBQztRQUNoQixvQkFBZSxHQUFHLEVBQUUsQ0FBQztRQU1yQixtQkFBYyxHQUFHLEtBQUssQ0FBQztRQUV2Qix1QkFBa0IsR0FBRyxLQUFLLENBQUM7UUFJM0IsZ0JBQVcsR0FBRyxFQUFFLENBQUM7UUFFakIsZ0JBQVcsR0FBRyxLQUFLLENBQUM7UUFFcEIsd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XZlQ2xhc3MgPyByZXNwb25zaXZlQ2xhc3MgOiAnJyB9fSB7e25iQ2hpbGRzQ2xhc3N9fSB7e2NsYXNzV2lkdGh9fVwiICNjb250YWluZXIgW25nQ2xhc3NdPVwie1xuICAnbXVsdGlwbGUtY2hpbGQnOiBjaGlsZHMgPiAzLFxuICAnZml2ZS1vci1tb3JlLWNoaWxkJzogY2hpbGRzID4gNCxcbiAgJ2Fsb25lJzogY2hpbGRzID09PSAxXG59XCIgW2lkXT1cImlkXCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
|
@@ -5945,11 +5945,12 @@ class RowComponent {
|
|
|
5945
5945
|
this.lineDisplayContent = false;
|
|
5946
5946
|
this.border = false;
|
|
5947
5947
|
this.padding = '';
|
|
5948
|
+
this.lastChildIsDown = false;
|
|
5948
5949
|
this.halfMarginChild = '';
|
|
5949
5950
|
this.nbChildsClass = '';
|
|
5950
5951
|
}
|
|
5951
5952
|
ngOnInit() {
|
|
5952
|
-
this.id = 'row-' + Math.floor(Math.random() *
|
|
5953
|
+
this.id = 'row-' + Math.floor(Math.random() * 100000);
|
|
5953
5954
|
if (this.marginChild) {
|
|
5954
5955
|
this.halfMarginChild = parseInt(this.marginChild) / 2 + 'px';
|
|
5955
5956
|
}
|
|
@@ -6002,10 +6003,10 @@ class RowComponent {
|
|
|
6002
6003
|
}
|
|
6003
6004
|
}
|
|
6004
6005
|
RowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: RowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6005
|
-
RowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: RowComponent, selector: "wac-row", inputs: { position: "position", width: "width", height: "height", responsiveAuto: "responsiveAuto", childrensWidthAuto: "childrensWidthAuto", visibility: "visibility", marginChild: "marginChild", addWacBlock: "addWacBlock", lineDisplayContent: "lineDisplayContent", border: "border", padding: "padding" }, host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div [ngStyle]=\"{'padding': padding,'transform': (childs > 1 ? 'translateX(-' + halfMarginChild + ')' : 'wrong'), 'width': (childs > 1 ? 'calc(100% + ' + marginChild + ')' : 'wrong')}\" class=\"wac-row {{ addWacBlock ? 'white-block' : '' }} {{ lineDisplayContent ? 'direction-column' : '' }} {{ border ? 'with-border' : '' }} {{ childrensWidthAuto ? 'childrens-width-auto' : '' }} {{ position ? position : '' }} {{ visibility ? visibility : '' }} {{ responsiveClass ? responsiveClass : '' }} {{nbChildsClass}} {{classWidth}}\" #container [ngClass]=\"{\n 'multiple-child': childs > 3,\n 'five-or-more-child': childs > 4,\n 'alone': childs === 1\n}\" [id]=\"id\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
6006
|
+
RowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: RowComponent, selector: "wac-row", inputs: { position: "position", width: "width", height: "height", responsiveAuto: "responsiveAuto", childrensWidthAuto: "childrensWidthAuto", visibility: "visibility", marginChild: "marginChild", addWacBlock: "addWacBlock", lineDisplayContent: "lineDisplayContent", border: "border", padding: "padding", lastChildIsDown: "lastChildIsDown" }, host: { listeners: { "window:resize": "onResize($event)" } }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div [ngStyle]=\"{'padding': padding,'transform': (childs > 1 ? 'translateX(-' + halfMarginChild + ')' : 'wrong'), 'width': (childs > 1 ? 'calc(100% + ' + marginChild + ')' : 'wrong')}\" class=\"wac-row {{ addWacBlock ? 'white-block' : '' }} {{ lineDisplayContent ? 'direction-column' : '' }} {{ border ? 'with-border' : '' }} {{ lastChildIsDown ? 'last-child-down' : '' }} {{ childrensWidthAuto ? 'childrens-width-auto' : '' }} {{ position ? position : '' }} {{ visibility ? visibility : '' }} {{ responsiveClass ? responsiveClass : '' }} {{nbChildsClass}} {{classWidth}}\" #container [ngClass]=\"{\n 'multiple-child': childs > 3,\n 'five-or-more-child': childs > 4,\n 'alone': childs === 1\n}\" [id]=\"id\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
6006
6007
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: RowComponent, decorators: [{
|
|
6007
6008
|
type: Component,
|
|
6008
|
-
args: [{ selector: 'wac-row', encapsulation: ViewEncapsulation.None, template: "<div [ngStyle]=\"{'padding': padding,'transform': (childs > 1 ? 'translateX(-' + halfMarginChild + ')' : 'wrong'), 'width': (childs > 1 ? 'calc(100% + ' + marginChild + ')' : 'wrong')}\" class=\"wac-row {{ addWacBlock ? 'white-block' : '' }} {{ lineDisplayContent ? 'direction-column' : '' }} {{ border ? 'with-border' : '' }} {{ childrensWidthAuto ? 'childrens-width-auto' : '' }} {{ position ? position : '' }} {{ visibility ? visibility : '' }} {{ responsiveClass ? responsiveClass : '' }} {{nbChildsClass}} {{classWidth}}\" #container [ngClass]=\"{\n 'multiple-child': childs > 3,\n 'five-or-more-child': childs > 4,\n 'alone': childs === 1\n}\" [id]=\"id\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
6009
|
+
args: [{ selector: 'wac-row', encapsulation: ViewEncapsulation.None, template: "<div [ngStyle]=\"{'padding': padding,'transform': (childs > 1 ? 'translateX(-' + halfMarginChild + ')' : 'wrong'), 'width': (childs > 1 ? 'calc(100% + ' + marginChild + ')' : 'wrong')}\" class=\"wac-row {{ addWacBlock ? 'white-block' : '' }} {{ lineDisplayContent ? 'direction-column' : '' }} {{ border ? 'with-border' : '' }} {{ lastChildIsDown ? 'last-child-down' : '' }} {{ childrensWidthAuto ? 'childrens-width-auto' : '' }} {{ position ? position : '' }} {{ visibility ? visibility : '' }} {{ responsiveClass ? responsiveClass : '' }} {{nbChildsClass}} {{classWidth}}\" #container [ngClass]=\"{\n 'multiple-child': childs > 3,\n 'five-or-more-child': childs > 4,\n 'alone': childs === 1\n}\" [id]=\"id\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
6009
6010
|
}], propDecorators: { position: [{
|
|
6010
6011
|
type: Input
|
|
6011
6012
|
}], width: [{
|
|
@@ -6028,6 +6029,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
6028
6029
|
type: Input
|
|
6029
6030
|
}], padding: [{
|
|
6030
6031
|
type: Input
|
|
6032
|
+
}], lastChildIsDown: [{
|
|
6033
|
+
type: Input
|
|
6031
6034
|
}], container: [{
|
|
6032
6035
|
type: ViewChild,
|
|
6033
6036
|
args: [`container`]
|