@pepperi-addons/ngx-lib 0.4.2-beta.320 → 0.4.2-beta.321
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/core/customization/customization.service.d.ts +3 -1
- package/esm2020/core/common/services/utilities.service.mjs +13 -8
- package/esm2020/core/customization/customization.service.mjs +13 -2
- package/esm2020/list/list.component.mjs +8 -1
- package/esm2020/top-bar/top-bar.component.mjs +16 -13
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs +7 -0
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs +16 -13
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -1
- package/fesm2015/pepperi-addons-ngx-lib.mjs +24 -8
- package/fesm2015/pepperi-addons-ngx-lib.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs +7 -0
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs +15 -12
- package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-lib.mjs +24 -8
- package/fesm2020/pepperi-addons-ngx-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/src/core/style/abstracts/mixins.scss +244 -99
- package/src/core/style/components/general.scss +57 -29
- package/top-bar/top-bar.component.d.ts +2 -2
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
@use '../abstracts/mixins';
|
|
3
3
|
@use '../abstracts/functions';
|
|
4
4
|
|
|
5
|
-
.pepperi-report-fields,
|
|
5
|
+
.pepperi-report-fields,
|
|
6
|
+
.pep-report-fields {
|
|
6
7
|
height: inherit;
|
|
7
8
|
display: flex;
|
|
8
9
|
align-items: center;
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
display: grid;
|
|
22
23
|
grid-template-columns: auto 1fr auto;
|
|
23
24
|
align-content: center;
|
|
24
|
-
|
|
25
|
+
|
|
25
26
|
// padding: variables.$spacing-2xs 0;
|
|
26
27
|
// line-height: 1rem;
|
|
27
28
|
// display: block;
|
|
@@ -113,7 +114,7 @@
|
|
|
113
114
|
display: flex;
|
|
114
115
|
align-self: center;
|
|
115
116
|
z-index: variables.$z-index-lowest + 1;
|
|
116
|
-
|
|
117
|
+
|
|
117
118
|
@include pep-field-icon();
|
|
118
119
|
|
|
119
120
|
.mat-button {
|
|
@@ -177,19 +178,22 @@
|
|
|
177
178
|
$field-height: variables.$spacing-3xl;
|
|
178
179
|
$field-padding: variables.$spacing-md;
|
|
179
180
|
|
|
180
|
-
@if $size ==
|
|
181
|
+
@if $size =='xl' {
|
|
181
182
|
$field-height: variables.$spacing-5xl;
|
|
182
183
|
$field-padding: variables.$spacing-xl;
|
|
183
184
|
}
|
|
184
|
-
|
|
185
|
+
|
|
186
|
+
@else if $size =='lg' {
|
|
185
187
|
$field-height: variables.$spacing-4xl;
|
|
186
188
|
$field-padding: variables.$spacing-lg;
|
|
187
189
|
}
|
|
188
|
-
|
|
190
|
+
|
|
191
|
+
@else if $size =='sm' {
|
|
189
192
|
$field-height: variables.$spacing-2xl;
|
|
190
193
|
$field-padding: variables.$spacing-sm;
|
|
191
194
|
}
|
|
192
|
-
|
|
195
|
+
|
|
196
|
+
@else if $size =='xs' {
|
|
193
197
|
$field-height: variables.$spacing-xl;
|
|
194
198
|
$field-padding: variables.$spacing-xs;
|
|
195
199
|
}
|
|
@@ -207,15 +211,19 @@
|
|
|
207
211
|
.xl {
|
|
208
212
|
@include pep-field-size('xl');
|
|
209
213
|
}
|
|
214
|
+
|
|
210
215
|
.lg {
|
|
211
216
|
@include pep-field-size('lg');
|
|
212
217
|
}
|
|
218
|
+
|
|
213
219
|
.md {
|
|
214
220
|
@include pep-field-size('md');
|
|
215
221
|
}
|
|
222
|
+
|
|
216
223
|
.sm {
|
|
217
224
|
@include pep-field-size('sm');
|
|
218
225
|
}
|
|
226
|
+
|
|
219
227
|
.xs {
|
|
220
228
|
@include pep-field-size('xs');
|
|
221
229
|
}
|
|
@@ -226,7 +234,7 @@
|
|
|
226
234
|
|
|
227
235
|
/* make content to be on top (to be on the first row - if the field is declared on more than one row but it's UI is only on one row) */
|
|
228
236
|
.mat-grid-tile .mat-figure {
|
|
229
|
-
justify-content: flex-start !important
|
|
237
|
+
justify-content: flex-start !important;
|
|
230
238
|
align-items: flex-start !important;
|
|
231
239
|
}
|
|
232
240
|
|
|
@@ -292,7 +300,7 @@ $zoom-compact-view: 85%;
|
|
|
292
300
|
// cursor: text;
|
|
293
301
|
display: block; // flex; with flex the ellipsis is not working.
|
|
294
302
|
align-items: center;
|
|
295
|
-
|
|
303
|
+
|
|
296
304
|
.required,
|
|
297
305
|
.mandatory {
|
|
298
306
|
height: 0.75rem;
|
|
@@ -320,9 +328,9 @@ $zoom-compact-view: 85%;
|
|
|
320
328
|
width: 0.125rem;
|
|
321
329
|
height: 1rem;
|
|
322
330
|
line-height: variables.$table-field-height; // 2rem;
|
|
323
|
-
|
|
331
|
+
|
|
324
332
|
padding-inline-end: 0.425rem;
|
|
325
|
-
border:none;
|
|
333
|
+
border: none;
|
|
326
334
|
border-inline-end-width: 1px;
|
|
327
335
|
border-inline-end-style: dashed;
|
|
328
336
|
}
|
|
@@ -365,6 +373,7 @@ $zoom-compact-view: 85%;
|
|
|
365
373
|
&:hover {
|
|
366
374
|
&.support-sorting {
|
|
367
375
|
cursor: pointer;
|
|
376
|
+
|
|
368
377
|
.header-label {
|
|
369
378
|
cursor: pointer;
|
|
370
379
|
padding-inline-end: 1rem;
|
|
@@ -398,7 +407,7 @@ $zoom-compact-view: 85%;
|
|
|
398
407
|
&.is-last {
|
|
399
408
|
border-start-end-radius: variables.$table-border-radius;
|
|
400
409
|
border-end-end-radius: variables.$table-border-radius;
|
|
401
|
-
|
|
410
|
+
|
|
402
411
|
&:hover {
|
|
403
412
|
.resize-box {
|
|
404
413
|
border-start-end-radius: variables.$table-border-radius;
|
|
@@ -437,9 +446,9 @@ $zoom-compact-view: 85%;
|
|
|
437
446
|
|
|
438
447
|
&.mat-radio-button {
|
|
439
448
|
display: inline-flex;
|
|
440
|
-
|
|
449
|
+
|
|
441
450
|
.mat-radio-label-content {
|
|
442
|
-
padding: 0;
|
|
451
|
+
padding: 0;
|
|
443
452
|
}
|
|
444
453
|
}
|
|
445
454
|
}
|
|
@@ -447,6 +456,7 @@ $zoom-compact-view: 85%;
|
|
|
447
456
|
fieldset {
|
|
448
457
|
height: variables.$table-row-fieldset-height; // 2.5rem;
|
|
449
458
|
border-radius: variables.$table-border-radius;
|
|
459
|
+
|
|
450
460
|
// padding: 0 variables.$spacing-2xs;
|
|
451
461
|
.table-cell {
|
|
452
462
|
box-sizing: border-box;
|
|
@@ -463,7 +473,8 @@ $zoom-compact-view: 85%;
|
|
|
463
473
|
}
|
|
464
474
|
}
|
|
465
475
|
|
|
466
|
-
.pepperi-input,
|
|
476
|
+
.pepperi-input,
|
|
477
|
+
.pep-input {
|
|
467
478
|
padding: 0 variables.$spacing-md;
|
|
468
479
|
height: variables.$table-field-height; // 2rem;
|
|
469
480
|
}
|
|
@@ -484,7 +495,7 @@ $zoom-compact-view: 85%;
|
|
|
484
495
|
// }
|
|
485
496
|
}
|
|
486
497
|
}
|
|
487
|
-
|
|
498
|
+
|
|
488
499
|
&.compact-view {
|
|
489
500
|
padding: 0;
|
|
490
501
|
height: variables.$table-field-height;
|
|
@@ -496,11 +507,11 @@ $zoom-compact-view: 85%;
|
|
|
496
507
|
fieldset {
|
|
497
508
|
height: variables.$table-field-height;
|
|
498
509
|
|
|
499
|
-
.table-cell
|
|
510
|
+
.table-cell>* {
|
|
500
511
|
zoom: $zoom-compact-view;
|
|
501
512
|
}
|
|
502
|
-
|
|
503
|
-
.pep-report-fields
|
|
513
|
+
|
|
514
|
+
.pep-report-fields>* {
|
|
504
515
|
zoom: $zoom-compact-view;
|
|
505
516
|
}
|
|
506
517
|
}
|
|
@@ -510,7 +521,9 @@ $zoom-compact-view: 85%;
|
|
|
510
521
|
&.highlighted,
|
|
511
522
|
&:active,
|
|
512
523
|
&.selected {
|
|
513
|
-
|
|
524
|
+
|
|
525
|
+
.pepperi-form,
|
|
526
|
+
.pep-form {
|
|
514
527
|
z-index: variables.$z-index-lowest + 1;
|
|
515
528
|
}
|
|
516
529
|
}
|
|
@@ -602,7 +615,8 @@ $zoom-compact-view: 85%;
|
|
|
602
615
|
display: grid;
|
|
603
616
|
grid-auto-flow: column;
|
|
604
617
|
|
|
605
|
-
&.pepperi-button,
|
|
618
|
+
&.pepperi-button,
|
|
619
|
+
&.pep-button {
|
|
606
620
|
background: unset; // Cancel the default background and shows background only on the declared states (hover, etc).
|
|
607
621
|
}
|
|
608
622
|
|
|
@@ -628,7 +642,7 @@ $zoom-compact-view: 85%;
|
|
|
628
642
|
height: inherit;
|
|
629
643
|
|
|
630
644
|
&.wrap {
|
|
631
|
-
white-space:normal;
|
|
645
|
+
white-space: normal;
|
|
632
646
|
}
|
|
633
647
|
}
|
|
634
648
|
|
|
@@ -668,7 +682,8 @@ $zoom-compact-view: 85%;
|
|
|
668
682
|
align-items: center;
|
|
669
683
|
}
|
|
670
684
|
|
|
671
|
-
.pepperi-button:not(.card-edit-button),
|
|
685
|
+
.pepperi-button:not(.card-edit-button),
|
|
686
|
+
.pep-button:not(.card-edit-button) {
|
|
672
687
|
// height: variables.$card-field-height !important; // 1.5rem !important;
|
|
673
688
|
// line-height: 1.5rem !important;
|
|
674
689
|
padding: 0 variables.$spacing-xs;
|
|
@@ -681,7 +696,8 @@ $zoom-compact-view: 85%;
|
|
|
681
696
|
padding: 0 variables.$spacing-xs;
|
|
682
697
|
}
|
|
683
698
|
|
|
684
|
-
.pepperi-button,
|
|
699
|
+
.pepperi-button,
|
|
700
|
+
.pep-button,
|
|
685
701
|
.mat-select-trigger,
|
|
686
702
|
.mat-form-field-infix {
|
|
687
703
|
height: variables.$card-field-height !important; // 1.5rem !important;
|
|
@@ -711,8 +727,9 @@ $zoom-compact-view: 85%;
|
|
|
711
727
|
|
|
712
728
|
// Card views type sizes
|
|
713
729
|
.line-view {
|
|
714
|
-
width:100%;
|
|
730
|
+
width: 100%;
|
|
715
731
|
}
|
|
732
|
+
|
|
716
733
|
.card-view {
|
|
717
734
|
$screen-almost-full-width: 99.99%;
|
|
718
735
|
|
|
@@ -728,6 +745,7 @@ $zoom-compact-view: 85%;
|
|
|
728
745
|
min-width: calc(#{$screen-almost-full-width} / 9);
|
|
729
746
|
}
|
|
730
747
|
}
|
|
748
|
+
|
|
731
749
|
/* Large - XLarge */
|
|
732
750
|
@media (max-width: variables.$screen-max-size-xl) and (min-width: variables.$screen-max-size-lg) {
|
|
733
751
|
min-width: calc(#{$screen-almost-full-width} / 4);
|
|
@@ -740,6 +758,7 @@ $zoom-compact-view: 85%;
|
|
|
740
758
|
min-width: calc(#{$screen-almost-full-width} / 7);
|
|
741
759
|
}
|
|
742
760
|
}
|
|
761
|
+
|
|
743
762
|
/* Medium - Large */
|
|
744
763
|
@media (max-width: variables.$screen-max-size-lg) and (min-width: variables.$screen-max-size-md) {
|
|
745
764
|
min-width: calc(#{$screen-almost-full-width} / 3);
|
|
@@ -752,6 +771,7 @@ $zoom-compact-view: 85%;
|
|
|
752
771
|
min-width: calc(#{$screen-almost-full-width} / 5);
|
|
753
772
|
}
|
|
754
773
|
}
|
|
774
|
+
|
|
755
775
|
/* Small - Medium */
|
|
756
776
|
@media (max-width: variables.$screen-max-size-md) and (min-width: variables.$screen-max-size-sm) {
|
|
757
777
|
min-width: calc(#{$screen-almost-full-width} / 3);
|
|
@@ -764,6 +784,7 @@ $zoom-compact-view: 85%;
|
|
|
764
784
|
min-width: calc(#{$screen-almost-full-width} / 4);
|
|
765
785
|
}
|
|
766
786
|
}
|
|
787
|
+
|
|
767
788
|
/* Extra small - Small */
|
|
768
789
|
@media (max-width: variables.$screen-max-size-sm) and (min-width: variables.$screen-max-size-xs) {
|
|
769
790
|
min-width: calc(#{$screen-almost-full-width} / 2);
|
|
@@ -776,6 +797,7 @@ $zoom-compact-view: 85%;
|
|
|
776
797
|
min-width: calc(#{$screen-almost-full-width} / 2);
|
|
777
798
|
}
|
|
778
799
|
}
|
|
800
|
+
|
|
779
801
|
/* < Extra small */
|
|
780
802
|
@media (max-width: variables.$screen-max-size-xs) {
|
|
781
803
|
min-width: calc(#{$screen-almost-full-width} / 1);
|
|
@@ -792,7 +814,8 @@ $zoom-compact-view: 85%;
|
|
|
792
814
|
|
|
793
815
|
// Custom field (added for stand alone field).
|
|
794
816
|
// ---------------------------------------------
|
|
795
|
-
.pepperi-field,
|
|
817
|
+
.pepperi-field,
|
|
818
|
+
.pep-field {
|
|
796
819
|
&:not(.pep-field-no-spacing) {
|
|
797
820
|
min-height: variables.$form-row-height;
|
|
798
821
|
margin-bottom: variables.$form-spacing;
|
|
@@ -800,6 +823,7 @@ $zoom-compact-view: 85%;
|
|
|
800
823
|
}
|
|
801
824
|
|
|
802
825
|
@mixin pep-general-theme() {
|
|
826
|
+
|
|
803
827
|
.required,
|
|
804
828
|
.mandatory {
|
|
805
829
|
color: functions.get-pep-color(color-system-caution, color-base);
|
|
@@ -813,8 +837,11 @@ $zoom-compact-view: 85%;
|
|
|
813
837
|
@include mixins.state-icon();
|
|
814
838
|
}
|
|
815
839
|
|
|
816
|
-
.pepperi-report-fields,
|
|
817
|
-
|
|
840
|
+
.pepperi-report-fields,
|
|
841
|
+
.pep-report-fields {
|
|
842
|
+
|
|
843
|
+
.pepperi-input,
|
|
844
|
+
.pep-input {
|
|
818
845
|
background: transparent !important;
|
|
819
846
|
}
|
|
820
847
|
}
|
|
@@ -840,6 +867,7 @@ $zoom-compact-view: 85%;
|
|
|
840
867
|
|
|
841
868
|
.mat-form-field {
|
|
842
869
|
.mat-form-field-wrapper {
|
|
870
|
+
|
|
843
871
|
.mat-form-field-prefix,
|
|
844
872
|
.mat-form-field-suffix {
|
|
845
873
|
color: functions.get-pep-color(color-weak, color-flat-r-20);
|
|
@@ -1028,4 +1056,4 @@ $zoom-compact-view: 85%;
|
|
|
1028
1056
|
// }
|
|
1029
1057
|
}
|
|
1030
1058
|
|
|
1031
|
-
}
|
|
1059
|
+
}
|
|
@@ -28,8 +28,8 @@ export declare class PepTopBarComponent implements AfterViewInit, AfterContentIn
|
|
|
28
28
|
searchIsOpenAndSmallDevice: boolean;
|
|
29
29
|
footerState: PepFooterStateType;
|
|
30
30
|
PepScreenSizeType: typeof PepScreenSizeType;
|
|
31
|
-
private __pepLifecyclePhase;
|
|
32
31
|
private __pepViewReady;
|
|
32
|
+
private _footerOwnerSeq;
|
|
33
33
|
constructor(customizationService: PepCustomizationService, layoutService: PepLayoutService, cdRef: ChangeDetectorRef);
|
|
34
34
|
ngAfterViewInit(): void;
|
|
35
35
|
ngAfterContentInit(): void;
|
|
@@ -37,5 +37,5 @@ export declare class PepTopBarComponent implements AfterViewInit, AfterContentIn
|
|
|
37
37
|
private setSearchIsOpenAndSmallDevice;
|
|
38
38
|
private setFooterState;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepTopBarComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PepTopBarComponent, "pep-top-bar", never, { "inline": "inline"; "title": "title"; }, { "footerStateChange": "footerStateChange"; }, ["searchComp", "listActionsComp", "listChooserComp", "listTotalComp", "listSortingComp", "listViewsComp"], ["[footer-start-content]", "[footer-end-content]", "pep-list-actions", "pep-list-chooser", "[header-start-content]", "pep-list-total", "pep-search", "pep-list-sorting", "pep-list-views", "[header-end-content]"], false>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepTopBarComponent, "pep-top-bar", never, { "inline": "inline"; "title": "title"; }, { "footerStateChange": "footerStateChange"; }, ["searchComp", "listActionsComp", "listChooserComp", "listTotalComp", "listSortingComp", "listViewsComp"], ["[footer-start-content]", "[footer-end-content]", "pep-list-actions-element", "pep-list-chooser", "[header-start-content]", "pep-list-total", "pep-search", "pep-list-sorting", "pep-list-views", "[header-end-content]"], false>;
|
|
41
41
|
}
|