@dative-gpi/foundation-core-components 1.1.23-fs-chart → 1.1.24-icon-list
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.
|
@@ -122,6 +122,32 @@
|
|
|
122
122
|
:subgroupings="item.subgroupings"
|
|
123
123
|
/>
|
|
124
124
|
</template>
|
|
125
|
+
<template
|
|
126
|
+
#filter.connectivity-custom="{ filter, toggle, variant }"
|
|
127
|
+
>
|
|
128
|
+
<FSChip
|
|
129
|
+
:variant="variant"
|
|
130
|
+
:height="['30px', '24px']"
|
|
131
|
+
:color="ColorEnum.Primary"
|
|
132
|
+
:label="filter.text"
|
|
133
|
+
align="center-left"
|
|
134
|
+
:clickable="true"
|
|
135
|
+
:border="false"
|
|
136
|
+
@click="toggle()"
|
|
137
|
+
>
|
|
138
|
+
<template
|
|
139
|
+
#prepend
|
|
140
|
+
>
|
|
141
|
+
<FSIcon
|
|
142
|
+
v-if="connectivityIcon(filter.value)"
|
|
143
|
+
size="s"
|
|
144
|
+
:color="variant === CardVariants.Full ? null : connectivityColor(filter.value)"
|
|
145
|
+
>
|
|
146
|
+
{{ connectivityIcon(filter.value) }}
|
|
147
|
+
</FSIcon>
|
|
148
|
+
</template>
|
|
149
|
+
</FSChip>
|
|
150
|
+
</template>
|
|
125
151
|
<template
|
|
126
152
|
#filter.subgroupings-custom="{ filter, toggle, variant }"
|
|
127
153
|
>
|
|
@@ -198,7 +224,8 @@ import _ from "lodash";
|
|
|
198
224
|
import { useTranslations as useTranslationsProvider } from "@dative-gpi/bones-ui";
|
|
199
225
|
|
|
200
226
|
import { ConnectivityStatus, Criticity, PropertyEntity } from "@dative-gpi/foundation-shared-domain/enums";
|
|
201
|
-
import { alphanumericSort, connectivityLabel } from "@dative-gpi/foundation-shared-components/utils";
|
|
227
|
+
import { alphanumericSort, connectivityLabel, connectivityIcon, connectivityColor } from "@dative-gpi/foundation-shared-components/utils";
|
|
228
|
+
import { CardVariants, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
202
229
|
import { AlertTools } from "@dative-gpi/foundation-shared-components/tools";
|
|
203
230
|
|
|
204
231
|
import type { DeviceConnectivityDetails, DeviceOrganisationAlert, DeviceOrganisationFilters, DeviceOrganisationInfos, DeviceStatusDetails} from "@dative-gpi/foundation-core-domain/models";
|
|
@@ -216,6 +243,8 @@ import FSIconCheck from "@dative-gpi/foundation-shared-components/components/FSI
|
|
|
216
243
|
import FSTagGroup from "@dative-gpi/foundation-shared-components/components/FSTagGroup.vue";
|
|
217
244
|
import FSImage from "@dative-gpi/foundation-shared-components/components/FSImage.vue";
|
|
218
245
|
import FSSpan from '@dative-gpi/foundation-shared-components/components/FSSpan.vue';
|
|
246
|
+
import FSChip from "@dative-gpi/foundation-shared-components/components/FSChip.vue";
|
|
247
|
+
import FSIcon from "@dative-gpi/foundation-shared-components/components/FSIcon.vue";
|
|
219
248
|
import FSSubgroupingsChipGroup from "../subgroupings/FSSubgroupingsChipGroup.vue";
|
|
220
249
|
|
|
221
250
|
export default defineComponent({
|
|
@@ -232,7 +261,9 @@ export default defineComponent({
|
|
|
232
261
|
FSMetaValue,
|
|
233
262
|
FSTagGroup,
|
|
234
263
|
FSImage,
|
|
235
|
-
FSSpan
|
|
264
|
+
FSSpan,
|
|
265
|
+
FSChip,
|
|
266
|
+
FSIcon
|
|
236
267
|
},
|
|
237
268
|
props: {
|
|
238
269
|
tableCode: {
|
|
@@ -444,10 +475,14 @@ export default defineComponent({
|
|
|
444
475
|
fetchingDeviceOrganisations,
|
|
445
476
|
fecthingCustomProperties,
|
|
446
477
|
deviceOrganisations,
|
|
478
|
+
connectivityColor,
|
|
479
|
+
connectivityIcon,
|
|
447
480
|
ConnectivityStatus,
|
|
448
481
|
customProperties,
|
|
449
482
|
subgroupingMap,
|
|
450
483
|
headersOptions,
|
|
484
|
+
CardVariants,
|
|
485
|
+
ColorEnum,
|
|
451
486
|
isSelected
|
|
452
487
|
};
|
|
453
488
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"url": "https://github.com/Dative-GPI/foundation-shared-ui.git"
|
|
5
5
|
},
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"version": "1.1.
|
|
7
|
+
"version": "1.1.24-icon-list",
|
|
8
8
|
"description": "",
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"author": "",
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@dative-gpi/foundation-core-domain": "1.1.
|
|
17
|
-
"@dative-gpi/foundation-core-services": "1.1.
|
|
18
|
-
"@dative-gpi/foundation-shared-components": "1.1.
|
|
19
|
-
"@dative-gpi/foundation-shared-domain": "1.1.
|
|
20
|
-
"@dative-gpi/foundation-shared-services": "1.1.
|
|
16
|
+
"@dative-gpi/foundation-core-domain": "1.1.24-icon-list",
|
|
17
|
+
"@dative-gpi/foundation-core-services": "1.1.24-icon-list",
|
|
18
|
+
"@dative-gpi/foundation-shared-components": "1.1.24-icon-list",
|
|
19
|
+
"@dative-gpi/foundation-shared-domain": "1.1.24-icon-list",
|
|
20
|
+
"@dative-gpi/foundation-shared-services": "1.1.24-icon-list"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@dative-gpi/bones-ui": "^1.0.0",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"sass": "1.71.1",
|
|
30
30
|
"sass-loader": "13.3.2"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "f2b847aa74ef7f7e05b89d3791ac95d171acce98"
|
|
33
33
|
}
|