@marianmeres/stuic 1.59.0 → 1.60.0
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.
|
@@ -61,12 +61,18 @@ const _PRESET_BY_SIZE = {
|
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
export class FieldConfig {
|
|
64
|
+
//
|
|
64
65
|
static class = _emptyClasses();
|
|
65
66
|
static classBySize = {
|
|
66
67
|
sm: _emptyClasses(),
|
|
67
68
|
md: _emptyClasses(),
|
|
68
69
|
lg: _emptyClasses()
|
|
69
70
|
};
|
|
71
|
+
static labelLeft = false;
|
|
72
|
+
static labelLeftWidth = "normal";
|
|
73
|
+
//
|
|
74
|
+
static _preset = _PRESET;
|
|
75
|
+
static _presetBySize = _PRESET_BY_SIZE;
|
|
70
76
|
}
|
|
71
77
|
</script>
|
|
72
78
|
|
|
@@ -98,8 +104,8 @@ export let pattern = void 0;
|
|
|
98
104
|
export let step = void 0;
|
|
99
105
|
export let useTrim = true;
|
|
100
106
|
export let textareaAutoEnlarge = true;
|
|
101
|
-
export let labelLeft =
|
|
102
|
-
export let labelLeftWidth =
|
|
107
|
+
export let labelLeft = FieldConfig.labelLeft;
|
|
108
|
+
export let labelLeftWidth = FieldConfig.labelLeftWidth;
|
|
103
109
|
export let validate = void 0;
|
|
104
110
|
export let showAsterixOnRequired = true;
|
|
105
111
|
let validation;
|
|
@@ -19,6 +19,10 @@ export interface FieldConfigClassesBySize {
|
|
|
19
19
|
export declare class FieldConfig {
|
|
20
20
|
static class: FieldConfigClasses;
|
|
21
21
|
static classBySize: FieldConfigClassesBySize;
|
|
22
|
+
static labelLeft: boolean;
|
|
23
|
+
static labelLeftWidth: 'normal' | 'wide';
|
|
24
|
+
static readonly _preset: FieldConfigClasses;
|
|
25
|
+
static readonly _presetBySize: FieldConfigClassesBySize;
|
|
22
26
|
}
|
|
23
27
|
declare const __propDef: {
|
|
24
28
|
props: {
|
|
@@ -58,12 +58,18 @@ const _PRESET_BY_SIZE = {
|
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
export class FieldSelectConfig {
|
|
61
|
+
//
|
|
61
62
|
static class = _emptyClasses();
|
|
62
63
|
static classBySize = {
|
|
63
64
|
sm: _emptyClasses(),
|
|
64
65
|
md: _emptyClasses(),
|
|
65
66
|
lg: _emptyClasses()
|
|
66
67
|
};
|
|
68
|
+
static labelLeft = false;
|
|
69
|
+
static labelLeftWidth = "normal";
|
|
70
|
+
//
|
|
71
|
+
static _preset = _PRESET;
|
|
72
|
+
static _presetBySize = _PRESET_BY_SIZE;
|
|
67
73
|
}
|
|
68
74
|
</script>
|
|
69
75
|
|
|
@@ -84,8 +90,8 @@ export let required = false;
|
|
|
84
90
|
export let autofocus = void 0;
|
|
85
91
|
export let validate = void 0;
|
|
86
92
|
export let showAsterixOnRequired = true;
|
|
87
|
-
export let labelLeft =
|
|
88
|
-
export let labelLeftWidth =
|
|
93
|
+
export let labelLeft = FieldSelectConfig.labelLeft;
|
|
94
|
+
export let labelLeftWidth = FieldSelectConfig.labelLeftWidth;
|
|
89
95
|
let validation;
|
|
90
96
|
const setValidationResult = (res) => validation = res;
|
|
91
97
|
let _options = [];
|
|
@@ -19,6 +19,10 @@ export interface FieldSelectConfigClassesBySize {
|
|
|
19
19
|
export declare class FieldSelectConfig {
|
|
20
20
|
static class: FieldSelectConfigClasses;
|
|
21
21
|
static classBySize: FieldSelectConfigClassesBySize;
|
|
22
|
+
static labelLeft: boolean;
|
|
23
|
+
static labelLeftWidth: 'normal' | 'wide';
|
|
24
|
+
static readonly _preset: FieldSelectConfigClasses;
|
|
25
|
+
static readonly _presetBySize: FieldSelectConfigClassesBySize;
|
|
22
26
|
}
|
|
23
27
|
declare const __propDef: {
|
|
24
28
|
props: {
|