@dative-gpi/foundation-shared-components 0.0.11 → 0.0.12
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/aliases/FSButton.ts +8 -6
- package/components/FSAutocompleteField.vue +7 -5
- package/components/FSBreadcrumbs.vue +3 -1
- package/components/FSButton.vue +12 -9
- package/components/FSCalendar.vue +4 -3
- package/components/FSCalendarTwin.vue +4 -3
- package/components/FSCarousel.vue +3 -1
- package/components/FSCheckbox.vue +5 -3
- package/components/FSChip.vue +5 -3
- package/components/FSClock.vue +5 -4
- package/components/FSColor.vue +3 -1
- package/components/FSColorIcon.vue +3 -1
- package/components/FSContainer.vue +4 -2
- package/components/FSDateField.vue +4 -3
- package/components/FSDateRangeField.vue +4 -3
- package/components/FSDateTimeField.vue +4 -3
- package/components/FSDateTimeRangeField.vue +4 -3
- package/components/FSDivider.vue +3 -1
- package/components/FSFadeOut.vue +3 -1
- package/components/FSFileButton.vue +4 -3
- package/components/FSIconField.vue +5 -3
- package/components/FSImage.vue +1 -1
- package/components/FSLink.vue +95 -0
- package/components/FSPagination.vue +80 -0
- package/components/FSPasswordField.vue +4 -2
- package/components/FSRadio.vue +5 -3
- package/components/FSRemoveDialog.vue +1 -1
- package/components/FSRichTextField.vue +7 -6
- package/components/FSSearchField.vue +46 -13
- package/components/FSSelectField.vue +5 -3
- package/components/FSSlideGroup.vue +2 -1
- package/components/FSSlider.vue +5 -3
- package/components/FSSubmitDialog.vue +1 -1
- package/components/FSSwitch.vue +6 -4
- package/components/FSTabs.vue +4 -3
- package/components/FSTag.vue +4 -2
- package/components/FSTagField.vue +4 -3
- package/components/FSText.vue +2 -1
- package/components/FSTextArea.vue +4 -3
- package/components/FSTextField.vue +5 -3
- package/components/FSWrapGroup.vue +2 -1
- package/components/deviceOrganisations/FSConnectivity.vue +2 -1
- package/components/deviceOrganisations/FSWorstAlert.vue +2 -1
- package/components/lists/FSDataTableUI.vue +5 -4
- package/components/lists/FSFilterButton.vue +24 -16
- package/components/lists/FSHiddenButton.vue +1 -0
- package/components/lists/FSLoadDataTable.vue +88 -0
- package/components/tiles/FSDeviceOrganisationTileUI.vue +1 -1
- package/components/tiles/FSGroupTileUI.vue +1 -1
- package/components/{FSLoadTile.vue → tiles/FSLoadTile.vue} +9 -7
- package/components/{FSTile.vue → tiles/FSTile.vue} +5 -4
- package/composables/index.ts +1 -0
- package/composables/useDebounce.ts +22 -0
- package/models/rules.ts +2 -1
- package/package.json +6 -4
- package/styles/components/fs_link.scss +6 -0
- package/styles/components/fs_load_data_table.scss +77 -0
- package/styles/components/fs_pagination.scss +11 -0
- package/styles/components/index.scss +3 -0
- package/index.ts +0 -6
package/models/rules.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useTranslations as useTranslationsProvider } from "@dative-gpi/bones-ui/composables";
|
|
2
|
+
import { useTimeZone } from "@dative-gpi/foundation-shared-services/composables";
|
|
2
3
|
|
|
3
4
|
const { epochToLongDateFormat } = useTimeZone()!;
|
|
4
5
|
const { $tr } = useTranslationsProvider();
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-shared-components",
|
|
3
|
-
"
|
|
3
|
+
"sideEffects": false,
|
|
4
|
+
"version": "0.0.12",
|
|
4
5
|
"description": "",
|
|
5
6
|
"publishConfig": {
|
|
6
7
|
"access": "public"
|
|
@@ -9,9 +10,10 @@
|
|
|
9
10
|
"author": "",
|
|
10
11
|
"license": "ISC",
|
|
11
12
|
"dependencies": {
|
|
12
|
-
"@dative-gpi/foundation-shared-domain": "0.0.
|
|
13
|
-
"@dative-gpi/foundation-shared-services": "0.0.
|
|
13
|
+
"@dative-gpi/foundation-shared-domain": "0.0.12",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "0.0.12",
|
|
14
15
|
"@fontsource/montserrat": "^5.0.16",
|
|
16
|
+
"@lexical/clipboard": "^0.12.5",
|
|
15
17
|
"@lexical/history": "^0.12.5",
|
|
16
18
|
"@lexical/link": "^0.12.5",
|
|
17
19
|
"@lexical/plain-text": "^0.12.5",
|
|
@@ -30,5 +32,5 @@
|
|
|
30
32
|
"sass": "^1.69.5",
|
|
31
33
|
"sass-loader": "^13.3.2"
|
|
32
34
|
},
|
|
33
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "73c686b3b0343ac4b42d34c2aa7cf7604ad0d298"
|
|
34
36
|
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
.fs-load-data-table {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.fs-load-data-table .fs-row:first-of-type .v-skeleton-loader__button {
|
|
6
|
+
margin: 0;
|
|
7
|
+
|
|
8
|
+
@include web {
|
|
9
|
+
height: 40px !important;
|
|
10
|
+
min-width: 40px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@include mobile {
|
|
14
|
+
height: 36px !important;
|
|
15
|
+
min-width: 36px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.fs-load-data-table .fs-row:first-of-type .v-skeleton-loader:first-of-type {
|
|
20
|
+
@include web {
|
|
21
|
+
min-width: calc(50% - 132px);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@include mobile {
|
|
25
|
+
min-width: calc(50% - 124px);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
& .v-skeleton-loader__button {
|
|
29
|
+
min-width: 100%;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.fs-load-data-table .fs-row:nth-of-type(2) .v-skeleton-loader__chip {
|
|
34
|
+
margin: 0;
|
|
35
|
+
border-radius: 50px !important;
|
|
36
|
+
min-width: 10vw;
|
|
37
|
+
|
|
38
|
+
@include web {
|
|
39
|
+
height: 24px !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include mobile {
|
|
43
|
+
height: 20px !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.fs-load-data-table .v-skeleton-loader:has(.v-skeleton-loader__table-row-divider),
|
|
48
|
+
.fs-load-data-table .v-skeleton-loader:has(.v-skeleton-loader__table-thead) {
|
|
49
|
+
background-color: var(--fs-load-tile-background-color);
|
|
50
|
+
min-width: 100%;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.fs-load-data-table .v-skeleton-loader__table-row {
|
|
54
|
+
margin: 0 -8px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.fs-load-data-table .fs-row:last-of-type .v-skeleton-loader__button {
|
|
58
|
+
margin: 0;
|
|
59
|
+
|
|
60
|
+
@include web {
|
|
61
|
+
height: 40px !important;
|
|
62
|
+
min-width: 40px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@include mobile {
|
|
66
|
+
height: 36px !important;
|
|
67
|
+
min-width: 36px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.fs-load-data-table .fs-row:last-of-type .v-skeleton-loader:first-of-type {
|
|
72
|
+
min-width: 120px;
|
|
73
|
+
|
|
74
|
+
& .v-skeleton-loader__button {
|
|
75
|
+
min-width: 100%;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.fs-pagination {
|
|
2
|
+
height: 4px;
|
|
3
|
+
min-width: 12%;
|
|
4
|
+
border-radius: 4px;
|
|
5
|
+
background-color: var(--fs-pagination-background-color);
|
|
6
|
+
transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
7
|
+
|
|
8
|
+
&.fs-pagination-active {
|
|
9
|
+
background-color: var(--fs-pagination-active-background-color);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
@import "fs_icon_field.scss";
|
|
24
24
|
@import "fs_icon.scss";
|
|
25
25
|
@import "fs_image.scss";
|
|
26
|
+
@import "fs_link.scss";
|
|
27
|
+
@import "fs_load_data_table.scss";
|
|
26
28
|
@import "fs_load_tile.scss";
|
|
29
|
+
@import "fs_pagination.scss";
|
|
27
30
|
@import "fs_password_field.scss";
|
|
28
31
|
@import "fs_radio.scss";
|
|
29
32
|
@import "fs_rich_text_field.scss";
|