@ngx-smz/core 21.1.12 → 21.1.14
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.
|
@@ -28317,6 +28317,17 @@ class SmzDialogOverlayPanelBuilder extends SmzBuilderUtilities {
|
|
|
28317
28317
|
}
|
|
28318
28318
|
}
|
|
28319
28319
|
|
|
28320
|
+
/** Literal class strings so Tailwind JIT can detect and emit arbitrary min-height utilities. */
|
|
28321
|
+
const smzDialogMinHeightClassByViewportPercent = {
|
|
28322
|
+
50: 'min-h-[50vh]',
|
|
28323
|
+
60: 'min-h-[60vh]',
|
|
28324
|
+
65: 'min-h-[65vh]',
|
|
28325
|
+
70: 'min-h-[70vh]',
|
|
28326
|
+
75: 'min-h-[75vh]',
|
|
28327
|
+
80: 'min-h-[80vh]',
|
|
28328
|
+
85: 'min-h-[85vh]',
|
|
28329
|
+
90: 'min-h-[90vh]',
|
|
28330
|
+
};
|
|
28320
28331
|
class SmzDialogBuilder extends SmzBuilderUtilities {
|
|
28321
28332
|
that = this;
|
|
28322
28333
|
defaultConfig = GlobalInjector.config.dialogs;
|
|
@@ -28421,7 +28432,7 @@ class SmzDialogBuilder extends SmzBuilderUtilities {
|
|
|
28421
28432
|
return this;
|
|
28422
28433
|
}
|
|
28423
28434
|
setMinHeight(percentageOfScreen) {
|
|
28424
|
-
this.dialogState.containerStyleClass =
|
|
28435
|
+
this.dialogState.containerStyleClass = smzDialogMinHeightClassByViewportPercent[percentageOfScreen];
|
|
28425
28436
|
return this;
|
|
28426
28437
|
}
|
|
28427
28438
|
overrideFeatureContainerStyles(styleClassParam) {
|
|
@@ -55731,6 +55742,15 @@ class SmzCardsInjectableComponentBuilder {
|
|
|
55731
55742
|
}
|
|
55732
55743
|
}
|
|
55733
55744
|
|
|
55745
|
+
/** Literal class strings so Tailwind JIT can emit margin utilities used by addGap. */
|
|
55746
|
+
const smzTimelineEventGapClassBySpacingScale = {
|
|
55747
|
+
2: ' mb-2 block ',
|
|
55748
|
+
4: ' mb-4 block ',
|
|
55749
|
+
6: ' mb-6 block ',
|
|
55750
|
+
8: ' mb-8 block ',
|
|
55751
|
+
10: ' mb-10 block ',
|
|
55752
|
+
12: ' mb-12 block ',
|
|
55753
|
+
};
|
|
55734
55754
|
class SmzTimelineViewBuilder extends SmzBuilderUtilities {
|
|
55735
55755
|
builderRef;
|
|
55736
55756
|
viewDataRef;
|
|
@@ -55760,7 +55780,7 @@ class SmzTimelineViewBuilder extends SmzBuilderUtilities {
|
|
|
55760
55780
|
return this;
|
|
55761
55781
|
}
|
|
55762
55782
|
addGap(gap = 8) {
|
|
55763
|
-
this.viewStylesRef.event =
|
|
55783
|
+
this.viewStylesRef.event = smzTimelineEventGapClassBySpacingScale[gap];
|
|
55764
55784
|
return this;
|
|
55765
55785
|
}
|
|
55766
55786
|
setAlign(align) {
|