@dative-gpi/foundation-shared-components 0.0.104 → 0.0.105
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/components/FSAccordionPanel.vue +1 -1
- package/components/FSButton.vue +1 -1
- package/components/FSCalendar.vue +1 -1
- package/components/FSCalendarTwin.vue +1 -1
- package/components/FSCard.vue +1 -1
- package/components/FSCheckbox.vue +1 -1
- package/components/FSChip.vue +1 -1
- package/components/FSClickable.vue +1 -1
- package/components/FSClock.vue +1 -1
- package/components/FSCol.vue +1 -1
- package/components/FSDialog.vue +1 -1
- package/components/FSDivider.vue +1 -1
- package/components/FSFadeOut.vue +1 -1
- package/components/FSGrid.vue +1 -1
- package/components/FSIcon.vue +1 -1
- package/components/FSImage.vue +1 -1
- package/components/FSLabel.vue +1 -1
- package/components/FSLink.vue +1 -1
- package/components/FSLoader.vue +1 -1
- package/components/FSOptionGroup.vue +1 -1
- package/components/FSPagination.vue +1 -1
- package/components/FSRadio.vue +1 -1
- package/components/FSRow.vue +1 -1
- package/components/FSSlideGroup.vue +1 -1
- package/components/FSSlider.vue +1 -1
- package/components/FSSpan.vue +1 -1
- package/components/FSSwitch.vue +1 -1
- package/components/FSTabs.vue +1 -1
- package/components/FSTag.vue +1 -1
- package/components/FSText.vue +1 -1
- package/components/FSWindow.vue +1 -1
- package/components/FSWrapGroup.vue +1 -1
- package/components/deviceOrganisations/FSStatusesCarousel.vue +1 -1
- package/components/fields/FSBaseField.vue +1 -1
- package/components/fields/FSDateField.vue +1 -1
- package/components/fields/FSDateRangeField.vue +1 -1
- package/components/fields/FSDateTimeField.vue +1 -1
- package/components/fields/FSDateTimeRangeField.vue +1 -1
- package/components/fields/FSIconField.vue +1 -1
- package/components/fields/FSPasswordField.vue +1 -1
- package/components/fields/FSRichTextField.vue +1 -1
- package/components/fields/FSSelectField.vue +1 -1
- package/components/fields/FSTagField.vue +1 -1
- package/components/fields/FSTextArea.vue +1 -1
- package/components/fields/FSTextField.vue +1 -1
- package/components/fields/FSTimeField.vue +1 -1
- package/components/fields/FSTimeSlotField.vue +1 -1
- package/components/lists/FSLoadDataTable.vue +1 -1
- package/components/tiles/FSLoadTile.vue +1 -1
- package/components/tiles/FSTile.vue +1 -1
- package/package.json +4 -4
|
@@ -117,7 +117,7 @@ export default defineComponent({
|
|
|
117
117
|
const backgrounds = getColors(ColorEnum.Background);
|
|
118
118
|
const lights = getColors(ColorEnum.Light);
|
|
119
119
|
|
|
120
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
120
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
121
121
|
return {
|
|
122
122
|
"--fs-accordion-panel-padding-title" : sizeToVar(props.paddingTitle),
|
|
123
123
|
"--fs-accordion-panel-padding-content" : sizeToVar(props.paddingContent),
|
package/components/FSButton.vue
CHANGED
|
@@ -213,7 +213,7 @@ export default defineComponent({
|
|
|
213
213
|
const lights = getColors(ColorEnum.Light);
|
|
214
214
|
const darks = getColors(ColorEnum.Dark);
|
|
215
215
|
|
|
216
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
216
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
217
217
|
if (!props.editable) {
|
|
218
218
|
switch (props.variant) {
|
|
219
219
|
case "icon": return {
|
|
@@ -118,7 +118,7 @@ export default defineComponent({
|
|
|
118
118
|
const innerMonth = ref(props.modelValue ? epochToPicker(props.modelValue).getMonth() : new Date().getMonth());
|
|
119
119
|
const innerYear = ref(props.modelValue ? epochToPicker(props.modelValue).getFullYear() : new Date().getFullYear());
|
|
120
120
|
|
|
121
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
121
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
122
122
|
return {
|
|
123
123
|
"--fs-calendar-background-color" : backgrounds.base,
|
|
124
124
|
"--fs-calendar-hover-background-color" : colors.value.light,
|
|
@@ -223,7 +223,7 @@ export default defineComponent({
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
226
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
227
227
|
return {
|
|
228
228
|
"--fs-calendar-background-color" : backgrounds.base,
|
|
229
229
|
"--fs-calendar-hover-background-color" : colors.value.light,
|
package/components/FSCard.vue
CHANGED
|
@@ -115,7 +115,7 @@ export default defineComponent({
|
|
|
115
115
|
const lights = getColors(ColorEnum.Light);
|
|
116
116
|
const darks = getColors(ColorEnum.Dark);
|
|
117
117
|
|
|
118
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
118
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
119
119
|
switch (props.variant) {
|
|
120
120
|
case "standard": return {
|
|
121
121
|
"--fs-card-border-size" : props.border ? "1px" : "0",
|
|
@@ -127,7 +127,7 @@ export default defineComponent({
|
|
|
127
127
|
const lights = getColors(ColorEnum.Light);
|
|
128
128
|
const darks = getColors(ColorEnum.Dark);
|
|
129
129
|
|
|
130
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
130
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
131
131
|
if (!props.editable) {
|
|
132
132
|
return {
|
|
133
133
|
"--fs-checkbox-cursor" : "default",
|
package/components/FSChip.vue
CHANGED
|
@@ -105,7 +105,7 @@ export default defineComponent({
|
|
|
105
105
|
const backgrounds = getColors(ColorEnum.Background);
|
|
106
106
|
const darks = getColors(ColorEnum.Dark);
|
|
107
107
|
|
|
108
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
108
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
109
109
|
switch (props.variant) {
|
|
110
110
|
case "standard": return {
|
|
111
111
|
"--fs-chip-height" : sizeToVar(props.height),
|
|
@@ -211,7 +211,7 @@ export default defineComponent({
|
|
|
211
211
|
const hover = ref(false);
|
|
212
212
|
const active = ref(false);
|
|
213
213
|
|
|
214
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
214
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
215
215
|
if (!props.editable) {
|
|
216
216
|
return {
|
|
217
217
|
"--fs-clickable-border-size" : props.border ? "1px" : "0",
|
package/components/FSClock.vue
CHANGED
|
@@ -115,7 +115,7 @@ export default defineComponent({
|
|
|
115
115
|
const innerHours = ref(props.modelValue ? Math.floor(props.modelValue / (60 * 60 * 1000)) : 0);
|
|
116
116
|
const innerMinutes = ref(props.modelValue ? Math.floor((props.modelValue % (60 * 60 * 1000)) / (60 * 1000)) : 0);
|
|
117
117
|
|
|
118
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
118
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
119
119
|
if (!props.editable) {
|
|
120
120
|
return {
|
|
121
121
|
"--fs-clock-field-cursor" : "default",
|
package/components/FSCol.vue
CHANGED
|
@@ -43,7 +43,7 @@ export default defineComponent({
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
setup(props) {
|
|
46
|
-
const style = computed((): { [key: string] : string | undefined } => ({
|
|
46
|
+
const style = computed((): { [key: string] : string | null | undefined } => ({
|
|
47
47
|
"--fs-col-padding": sizeToVar(props.padding),
|
|
48
48
|
"--fs-col-gap" : sizeToVar(props.gap),
|
|
49
49
|
"--fs-col-width" : sizeToVar(props.width),
|
package/components/FSDialog.vue
CHANGED
|
@@ -128,7 +128,7 @@ export default defineComponent({
|
|
|
128
128
|
return classNames;
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
131
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
132
132
|
if (isExtraSmall.value) {
|
|
133
133
|
return {
|
|
134
134
|
"--fs-dialog-width": "100%"
|
package/components/FSDivider.vue
CHANGED
|
@@ -85,7 +85,7 @@ export default defineComponent({
|
|
|
85
85
|
|
|
86
86
|
const colors = computed(() => getColors(props.color));
|
|
87
87
|
|
|
88
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
88
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
89
89
|
switch (props.variant) {
|
|
90
90
|
case "base": return {
|
|
91
91
|
"--fs-divider-size" : sizeToVar(props.size),
|
package/components/FSFadeOut.vue
CHANGED
|
@@ -54,7 +54,7 @@ export default defineComponent({
|
|
|
54
54
|
|
|
55
55
|
const resizeObserver = ref<ResizeObserver | null>(null);
|
|
56
56
|
|
|
57
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
57
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
58
58
|
return {
|
|
59
59
|
"--fs-fade-out-height" : sizeToVar(props.height),
|
|
60
60
|
"--fs-fade-out-width" : sizeToVar(props.width),
|
package/components/FSGrid.vue
CHANGED
|
@@ -95,7 +95,7 @@ export default defineComponent({
|
|
|
95
95
|
|
|
96
96
|
const lights = getColors(ColorEnum.Light);
|
|
97
97
|
|
|
98
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
98
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
99
99
|
return {
|
|
100
100
|
"--fs-grid-border-color": lights.dark
|
|
101
101
|
};
|
package/components/FSIcon.vue
CHANGED
|
@@ -46,7 +46,7 @@ export default defineComponent({
|
|
|
46
46
|
return null;
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
49
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
50
50
|
switch(props.size) {
|
|
51
51
|
case "s": return {
|
|
52
52
|
"--fs-icon-font-size": isMobileSized.value ? "14px" : "16px"
|
package/components/FSImage.vue
CHANGED
|
@@ -110,7 +110,7 @@ export default defineComponent({
|
|
|
110
110
|
"/9j/" : "image/jpg",
|
|
111
111
|
});
|
|
112
112
|
|
|
113
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
113
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
114
114
|
return {
|
|
115
115
|
"--fs-image-border-radius" : sizeToVar(props.borderRadius),
|
|
116
116
|
"--fs-image-blurhash-opacity": blurHash.value ? "1" : "0"
|
package/components/FSLabel.vue
CHANGED
|
@@ -80,7 +80,7 @@ export default defineComponent({
|
|
|
80
80
|
return classNames;
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
83
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
84
84
|
switch (props.variant) {
|
|
85
85
|
case "base": return {
|
|
86
86
|
"--fs-span-line-clamp": props.lineClamp.toString(),
|
package/components/FSLink.vue
CHANGED
|
@@ -95,7 +95,7 @@ export default defineComponent({
|
|
|
95
95
|
return classNames;
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
98
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
99
99
|
switch (props.variant) {
|
|
100
100
|
case "base": return {
|
|
101
101
|
"--fs-span-line-clamp": props.lineClamp.toString(),
|
package/components/FSLoader.vue
CHANGED
|
@@ -48,7 +48,7 @@ export default defineComponent({
|
|
|
48
48
|
|
|
49
49
|
const backgrounds = getColors(ColorEnum.Background);
|
|
50
50
|
|
|
51
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
51
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
52
52
|
return {
|
|
53
53
|
"--fs-loader-background-color": backgrounds.base,
|
|
54
54
|
"--fs-loader-border-radius" : ["chip"].includes(props.variant) ? "50px" : sizeToVar(props.borderRadius),
|
|
@@ -205,7 +205,7 @@ export default defineComponent({
|
|
|
205
205
|
|
|
206
206
|
const colors = getColors(props.optionColor);
|
|
207
207
|
|
|
208
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
208
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
209
209
|
return {
|
|
210
210
|
"--fs-option-group-border-size" : props.border ? "1px" : "0",
|
|
211
211
|
"--fs-option-group-border-radius": sizeToVar(props.borderRadius),
|
|
@@ -63,7 +63,7 @@ export default defineComponent({
|
|
|
63
63
|
const lights = getColors(ColorEnum.Light);
|
|
64
64
|
const darks = getColors(ColorEnum.Dark);
|
|
65
65
|
|
|
66
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
66
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
67
67
|
switch (props.color) {
|
|
68
68
|
case ColorEnum.Light:
|
|
69
69
|
case ColorEnum.Dark: return {
|
package/components/FSRadio.vue
CHANGED
|
@@ -122,7 +122,7 @@ export default defineComponent({
|
|
|
122
122
|
const lights = getColors(ColorEnum.Light);
|
|
123
123
|
const darks = getColors(ColorEnum.Dark);
|
|
124
124
|
|
|
125
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
125
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
126
126
|
if (!props.editable) {
|
|
127
127
|
return {
|
|
128
128
|
"--fs-radio-cursor" : "default",
|
package/components/FSRow.vue
CHANGED
|
@@ -48,7 +48,7 @@ export default defineComponent({
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
setup(props) {
|
|
51
|
-
const style = computed((): { [key: string] : string | undefined } => ({
|
|
51
|
+
const style = computed((): { [key: string] : string | null | undefined } => ({
|
|
52
52
|
"--fs-row-flex-wrap": props.wrap ? "wrap" : "nowrap",
|
|
53
53
|
"--fs-row-padding" : sizeToVar(props.padding),
|
|
54
54
|
"--fs-row-gap" : sizeToVar(props.gap),
|
|
@@ -97,7 +97,7 @@ export default defineComponent({
|
|
|
97
97
|
|
|
98
98
|
const slideGroupRef = ref<HTMLElement | null>(null);
|
|
99
99
|
|
|
100
|
-
const style = computed((): { [key: string] : string | undefined } => ({
|
|
100
|
+
const style = computed((): { [key: string] : string | null | undefined } => ({
|
|
101
101
|
"--fs-group-arrows-width": props.dash ? "52px" : "32px",
|
|
102
102
|
"--fs-group-padding" : sizeToVar(props.padding),
|
|
103
103
|
"--fs-group-gap" : sizeToVar(props.gap),
|
package/components/FSSlider.vue
CHANGED
|
@@ -119,7 +119,7 @@ export default defineComponent({
|
|
|
119
119
|
const lights = getColors(ColorEnum.Light);
|
|
120
120
|
const darks = getColors(ColorEnum.Dark);
|
|
121
121
|
|
|
122
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
122
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
123
123
|
if (!props.editable) {
|
|
124
124
|
return {
|
|
125
125
|
"--fs-slider-cursor" : "default",
|
package/components/FSSpan.vue
CHANGED
|
@@ -56,7 +56,7 @@ export default defineComponent({
|
|
|
56
56
|
return classNames;
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
59
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
60
60
|
return {
|
|
61
61
|
"--fs-span-line-clamp": props.lineClamp.toString()
|
|
62
62
|
};
|
package/components/FSSwitch.vue
CHANGED
|
@@ -108,7 +108,7 @@ export default defineComponent({
|
|
|
108
108
|
const lights = getColors(ColorEnum.Light);
|
|
109
109
|
const darks = getColors(ColorEnum.Dark);
|
|
110
110
|
|
|
111
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
111
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
112
112
|
if (!props.editable) {
|
|
113
113
|
return {
|
|
114
114
|
"--fs-switch-translate-x": props.modelValue ? "8px" : "-8px",
|
package/components/FSTabs.vue
CHANGED
|
@@ -47,7 +47,7 @@ export default defineComponent({
|
|
|
47
47
|
const colors = computed(() => getColors(props.color));
|
|
48
48
|
const darks = getColors(ColorEnum.Dark);
|
|
49
49
|
|
|
50
|
-
const style = computed((): { [key: string] : string | undefined } => ({
|
|
50
|
+
const style = computed((): { [key: string] : string | null | undefined } => ({
|
|
51
51
|
"--fs-group-color" : darks.base,
|
|
52
52
|
"--fs-group-disabled-color" : darks.light,
|
|
53
53
|
"--fs-group-hover-background-color": colors.value.light,
|
package/components/FSTag.vue
CHANGED
|
@@ -77,7 +77,7 @@ export default defineComponent({
|
|
|
77
77
|
|
|
78
78
|
const colors = computed(() => getColors(props.color));
|
|
79
79
|
|
|
80
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
80
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
81
81
|
switch (props.variant) {
|
|
82
82
|
case "standard": return {
|
|
83
83
|
"--fs-tag-background-color" : colors.value.light,
|
package/components/FSText.vue
CHANGED
|
@@ -70,7 +70,7 @@ export default defineComponent({
|
|
|
70
70
|
return classNames;
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
73
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
74
74
|
return {
|
|
75
75
|
"--fs-span-line-clamp": props.lineClamp.toString(),
|
|
76
76
|
"--fs-text-color" : colors.value[props.variant]
|
package/components/FSWindow.vue
CHANGED
|
@@ -46,7 +46,7 @@ export default defineComponent({
|
|
|
46
46
|
|
|
47
47
|
delete slots.default;
|
|
48
48
|
|
|
49
|
-
const style = computed((): { [key: string] : string | undefined } => ({
|
|
49
|
+
const style = computed((): { [key: string] : string | null | undefined } => ({
|
|
50
50
|
"--fs-window-width": sizeToVar(props.width)
|
|
51
51
|
}));
|
|
52
52
|
|
|
@@ -45,7 +45,7 @@ export default defineComponent({
|
|
|
45
45
|
|
|
46
46
|
const wrapGroupRef = ref(null);
|
|
47
47
|
|
|
48
|
-
const style = computed((): { [key: string] : string | undefined } => ({
|
|
48
|
+
const style = computed((): { [key: string] : string | null | undefined } => ({
|
|
49
49
|
"--fs-group-padding" : sizeToVar(props.padding),
|
|
50
50
|
"--fs-group-gap" : sizeToVar(props.gap),
|
|
51
51
|
"--fs-group-color" : darks.light,
|
|
@@ -113,7 +113,7 @@ export default defineComponent({
|
|
|
113
113
|
const lights = getColors(ColorEnum.Light);
|
|
114
114
|
const darks = getColors(ColorEnum.Dark);
|
|
115
115
|
|
|
116
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
116
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
117
117
|
if (!props.editable) {
|
|
118
118
|
return {
|
|
119
119
|
"--fs-base-field-color": lights.dark
|
|
@@ -229,7 +229,7 @@ export default defineComponent({
|
|
|
229
229
|
const lights = getColors(ColorEnum.Light);
|
|
230
230
|
const darks = getColors(ColorEnum.Dark);
|
|
231
231
|
|
|
232
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
232
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
233
233
|
if (!props.editable) {
|
|
234
234
|
return {
|
|
235
235
|
"--fs-date-field-color": lights.dark
|
|
@@ -133,7 +133,7 @@ export default defineComponent({
|
|
|
133
133
|
const dialog = ref(false);
|
|
134
134
|
const innerDateRange = ref<number[] | null>(props.modelValue);
|
|
135
135
|
|
|
136
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
136
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
137
137
|
if (!props.editable) {
|
|
138
138
|
return {
|
|
139
139
|
"--fs-date-field-color": lights.dark
|
|
@@ -288,7 +288,7 @@ export default defineComponent({
|
|
|
288
288
|
innerDate.value = props.modelValue - innerTime.value;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
291
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
292
292
|
if (!props.editable) {
|
|
293
293
|
return {
|
|
294
294
|
"--fs-date-field-color": lights.dark
|
|
@@ -186,7 +186,7 @@ export default defineComponent({
|
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
189
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
190
190
|
if (!props.editable) {
|
|
191
191
|
return {
|
|
192
192
|
"--fs-date-field-color": lights.dark
|
|
@@ -135,7 +135,7 @@ export default defineComponent({
|
|
|
135
135
|
const toggleSetRef = ref<HTMLElement | null>(null);
|
|
136
136
|
const innerValue = ref<string | null>(null);
|
|
137
137
|
|
|
138
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
138
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
139
139
|
if (!props.editable) {
|
|
140
140
|
return {
|
|
141
141
|
"--fs-icon-field-color": lights.dark
|
|
@@ -69,7 +69,7 @@ export default defineComponent({
|
|
|
69
69
|
|
|
70
70
|
const stars = ref(true);
|
|
71
71
|
|
|
72
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
72
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
73
73
|
if (!props.editable) {
|
|
74
74
|
return {
|
|
75
75
|
"--fs-password-field-cursor" : "default",
|
|
@@ -314,7 +314,7 @@ export default defineComponent({
|
|
|
314
314
|
return ["readonly"].includes(props.variant);
|
|
315
315
|
});
|
|
316
316
|
|
|
317
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
317
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
318
318
|
let minHeight: string | undefined = "auto";
|
|
319
319
|
if (!readonly.value) {
|
|
320
320
|
const base = isMobileSized.value ? 30 : 42;
|
|
@@ -292,7 +292,7 @@ export default defineComponent({
|
|
|
292
292
|
const lights = getColors(ColorEnum.Light);
|
|
293
293
|
const darks = getColors(ColorEnum.Dark);
|
|
294
294
|
|
|
295
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
295
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
296
296
|
if (!props.editable) {
|
|
297
297
|
return {
|
|
298
298
|
"--fs-select-field-cursor" : "default",
|
|
@@ -127,7 +127,7 @@ export default defineComponent({
|
|
|
127
127
|
|
|
128
128
|
const innerValue = ref("");
|
|
129
129
|
|
|
130
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
130
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
131
131
|
if (!props.editable) {
|
|
132
132
|
return {
|
|
133
133
|
"--fs-tag-field-color": lights.dark
|
|
@@ -134,7 +134,7 @@ export default defineComponent({
|
|
|
134
134
|
const lights = getColors(ColorEnum.Light);
|
|
135
135
|
const darks = getColors(ColorEnum.Dark);
|
|
136
136
|
|
|
137
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
137
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
138
138
|
let height: string | undefined = undefined;
|
|
139
139
|
let minHeight: string | undefined = undefined;
|
|
140
140
|
if (!props.autoGrow) {
|
|
@@ -122,7 +122,7 @@ export default defineComponent({
|
|
|
122
122
|
const lights = getColors(ColorEnum.Light);
|
|
123
123
|
const darks = getColors(ColorEnum.Dark);
|
|
124
124
|
|
|
125
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
125
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
126
126
|
if (!props.editable) {
|
|
127
127
|
return {
|
|
128
128
|
"--fs-text-field-cursor" : "default",
|
|
@@ -126,7 +126,7 @@ export default defineComponent({
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
129
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
130
130
|
if (!props.editable) {
|
|
131
131
|
return {
|
|
132
132
|
"--fs-time-field-cursor" : "default",
|
|
@@ -141,7 +141,7 @@ export default defineComponent({
|
|
|
141
141
|
return acc;
|
|
142
142
|
}, [] as { id: number, label: string }[]);
|
|
143
143
|
|
|
144
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
144
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
145
145
|
if (!props.editable) {
|
|
146
146
|
return {
|
|
147
147
|
"--fs-time-slot-field-cursor" : "default",
|
|
@@ -81,7 +81,7 @@ export default defineComponent({
|
|
|
81
81
|
|
|
82
82
|
const backgroundColors = getColors(ColorEnum.Background);
|
|
83
83
|
|
|
84
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
84
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
85
85
|
return {
|
|
86
86
|
"--fs-load-data-table-background-color": backgroundColors.base
|
|
87
87
|
};
|
|
@@ -108,7 +108,7 @@ export default defineComponent({
|
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
111
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
112
112
|
return {
|
|
113
113
|
"--fs-load-tile-background-color": backgroundColors.base
|
|
114
114
|
};
|
|
@@ -107,7 +107,7 @@ export default defineComponent({
|
|
|
107
107
|
const { isMobileSized } = useBreakpoints();
|
|
108
108
|
const { getGradients } = useColors();
|
|
109
109
|
|
|
110
|
-
const style = computed((): { [key: string] : string | undefined } => {
|
|
110
|
+
const style = computed((): { [key: string] : string | null | undefined } => {
|
|
111
111
|
if (props.bottomColor) {
|
|
112
112
|
const bottomColors = getGradients(props.bottomColor);
|
|
113
113
|
return {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-shared-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.105",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-shared-domain": "0.0.
|
|
14
|
-
"@dative-gpi/foundation-shared-services": "0.0.
|
|
13
|
+
"@dative-gpi/foundation-shared-domain": "0.0.105",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "0.0.105",
|
|
15
15
|
"@fontsource/montserrat": "^5.0.16",
|
|
16
16
|
"@lexical/clipboard": "^0.12.5",
|
|
17
17
|
"@lexical/history": "^0.12.5",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"sass": "^1.69.5",
|
|
33
33
|
"sass-loader": "^13.3.2"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "87c3913599bcfc96f33e3f2528e2be91a252726e"
|
|
36
36
|
}
|