@dative-gpi/foundation-shared-components 0.0.153 → 0.0.155
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/buttons/FSButtonAdd.vue +28 -0
- package/components/buttons/FSButtonAddIcon.vue +28 -0
- package/components/buttons/FSButtonAddLabel.vue +27 -0
- package/components/buttons/FSButtonAddMini.vue +27 -0
- package/components/fields/FSTermField.vue +2 -1
- package/components/fields/FSTimeField.vue +4 -4
- package/components/fields/FSTimeSlotField.vue +4 -4
- package/package.json +4 -4
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FSButton
|
|
3
|
+
prependIcon="mdi-plus-circle-outline"
|
|
4
|
+
:label="$tr('ui.button.add', 'Add')"
|
|
5
|
+
:color="ColorEnum.Primary"
|
|
6
|
+
v-bind="$attrs"
|
|
7
|
+
/>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script lang="ts">
|
|
11
|
+
import { defineComponent } from "vue";
|
|
12
|
+
|
|
13
|
+
import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
14
|
+
|
|
15
|
+
import FSButton from "../FSButton.vue";
|
|
16
|
+
|
|
17
|
+
export default defineComponent({
|
|
18
|
+
name: "FSButtonAdd",
|
|
19
|
+
components: {
|
|
20
|
+
FSButton
|
|
21
|
+
},
|
|
22
|
+
setup() {
|
|
23
|
+
return {
|
|
24
|
+
ColorEnum
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
</script>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FSButton
|
|
3
|
+
icon="mdi-plus-circle-outline"
|
|
4
|
+
variant="icon"
|
|
5
|
+
:color="ColorEnum.Primary"
|
|
6
|
+
v-bind="$attrs"
|
|
7
|
+
/>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script lang="ts">
|
|
11
|
+
import { defineComponent } from "vue";
|
|
12
|
+
|
|
13
|
+
import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
14
|
+
|
|
15
|
+
import FSButton from "../FSButton.vue";
|
|
16
|
+
|
|
17
|
+
export default defineComponent({
|
|
18
|
+
name: "FSButtonAddIcon",
|
|
19
|
+
components: {
|
|
20
|
+
FSButton
|
|
21
|
+
},
|
|
22
|
+
setup() {
|
|
23
|
+
return {
|
|
24
|
+
ColorEnum
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
</script>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FSButton
|
|
3
|
+
:label="$tr('ui.button.add', 'Add')"
|
|
4
|
+
:color="ColorEnum.Primary"
|
|
5
|
+
v-bind="$attrs"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script lang="ts">
|
|
10
|
+
import { defineComponent } from "vue";
|
|
11
|
+
|
|
12
|
+
import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
13
|
+
|
|
14
|
+
import FSButton from "../FSButton.vue";
|
|
15
|
+
|
|
16
|
+
export default defineComponent({
|
|
17
|
+
name: "FSButtonAddLabel",
|
|
18
|
+
components: {
|
|
19
|
+
FSButton
|
|
20
|
+
},
|
|
21
|
+
setup() {
|
|
22
|
+
return {
|
|
23
|
+
ColorEnum
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
</script>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FSButton
|
|
3
|
+
prependIcon="mdi-plus-circle-outline"
|
|
4
|
+
:color="ColorEnum.Primary"
|
|
5
|
+
v-bind="$attrs"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script lang="ts">
|
|
10
|
+
import { defineComponent } from "vue";
|
|
11
|
+
|
|
12
|
+
import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
13
|
+
|
|
14
|
+
import FSButton from "../FSButton.vue";
|
|
15
|
+
|
|
16
|
+
export default defineComponent({
|
|
17
|
+
name: "FSButtonAddMini",
|
|
18
|
+
components: {
|
|
19
|
+
FSButton
|
|
20
|
+
},
|
|
21
|
+
setup() {
|
|
22
|
+
return {
|
|
23
|
+
ColorEnum
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
</script>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<FSBaseField
|
|
3
|
-
:label="$props.label"
|
|
4
3
|
:description="$props.description"
|
|
5
4
|
:hideHeader="$props.hideHeader"
|
|
6
5
|
:required="$props.required"
|
|
7
6
|
:editable="$props.editable"
|
|
7
|
+
:label="$props.label"
|
|
8
8
|
:messages="messages"
|
|
9
9
|
>
|
|
10
10
|
<FSForm
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
:lastPeriod="$props.lastPeriod"
|
|
18
18
|
:editable="$props.editable"
|
|
19
19
|
:variant="$props.variant"
|
|
20
|
+
:hideHeader="true"
|
|
20
21
|
:modelValue="localDateSetting"
|
|
21
22
|
@update:modelValue="localDateSettingChange"
|
|
22
23
|
/>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<FSBaseField
|
|
3
|
-
:label="$props.label"
|
|
4
3
|
:description="$props.description"
|
|
5
4
|
:hideHeader="$props.hideHeader"
|
|
6
5
|
:required="$props.required"
|
|
7
6
|
:editable="$props.editable"
|
|
7
|
+
:label="$props.label"
|
|
8
8
|
:messages="messages"
|
|
9
9
|
>
|
|
10
10
|
<FSRow>
|
|
11
11
|
<FSNumberField
|
|
12
|
+
:validationValue="$props.modelValue"
|
|
12
13
|
:editable="$props.editable"
|
|
13
|
-
:
|
|
14
|
+
:validateOn="validateOn"
|
|
14
15
|
:rules="$props.rules"
|
|
16
|
+
:hideHeader="true"
|
|
15
17
|
:messages="messages"
|
|
16
|
-
:validateOn="validateOn"
|
|
17
|
-
:validationValue="$props.modelValue"
|
|
18
18
|
:modelValue="innerTime"
|
|
19
19
|
@update:modelValue="onSubmitValue"
|
|
20
20
|
v-bind="$attrs"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<FSBaseField
|
|
3
|
-
:label="$props.label"
|
|
4
3
|
:description="$props.description"
|
|
5
4
|
:hideHeader="$props.hideHeader"
|
|
6
5
|
:required="$props.required"
|
|
7
6
|
:editable="$props.editable"
|
|
7
|
+
:label="$props.label"
|
|
8
8
|
:messages="messages"
|
|
9
9
|
>
|
|
10
10
|
<FSRow>
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
:wrap="false"
|
|
13
13
|
>
|
|
14
14
|
<FSSelectField
|
|
15
|
+
:validationValue="$props.modelValue"
|
|
15
16
|
:editable="$props.editable"
|
|
17
|
+
:validateOn="validateOn"
|
|
18
|
+
:rules="$props.rules"
|
|
16
19
|
:items="daysObject"
|
|
17
20
|
:hideHeader="true"
|
|
18
21
|
:clearable="false"
|
|
19
22
|
:style="style"
|
|
20
|
-
:rules="$props.rules"
|
|
21
|
-
:validateOn="validateOn"
|
|
22
|
-
:validationValue="$props.modelValue"
|
|
23
23
|
:modelValue="dayStart"
|
|
24
24
|
@update:modelValue="onChangeDayStart"
|
|
25
25
|
/>
|
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.155",
|
|
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.155",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "0.0.155",
|
|
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": "bf1576623598b4203a63c5a4e8ba2ef17a47061a"
|
|
36
36
|
}
|