@paris-ias/list 1.0.4 → 1.0.5

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.
Files changed (99) hide show
  1. package/example/.env.example +3 -0
  2. package/example/nuxt.config.ts +19 -0
  3. package/example/pages/index.vue +27 -0
  4. package/package.json +3 -3
  5. package/src/module.ts +119 -0
  6. package/src/runtime/components/events/Badges.vue +73 -0
  7. package/src/runtime/components/events/DateTimePlace.vue +77 -0
  8. package/src/runtime/components/events/DenseItem.vue +40 -0
  9. package/src/runtime/components/events/ExpandedItem.vue +11 -0
  10. package/src/runtime/components/events/ListContainer.vue +41 -0
  11. package/src/runtime/components/events/RegisterModal.vue +51 -0
  12. package/src/runtime/components/events/RelatedItem.vue +44 -0
  13. package/src/runtime/components/events/RowsItem.vue +114 -0
  14. package/src/runtime/components/events/View.vue +333 -0
  15. package/src/runtime/components/fellowships/Badges.vue +48 -0
  16. package/src/runtime/components/fellowships/DenseItem.vue +39 -0
  17. package/src/runtime/components/fellowships/ExpandedItem.vue +7 -0
  18. package/src/runtime/components/fellowships/RegisterModal.vue +41 -0
  19. package/src/runtime/components/fellowships/RowsItem.vue +61 -0
  20. package/src/runtime/components/fellowships/View.vue +210 -0
  21. package/src/runtime/components/list/atoms/FiltersMenu.vue +46 -0
  22. package/src/runtime/components/list/atoms/SearchInput.vue +129 -0
  23. package/src/runtime/components/list/atoms/SearchItem.vue +59 -0
  24. package/src/runtime/components/list/atoms/SearchString.vue +161 -0
  25. package/src/runtime/components/list/atoms/SortMenu.vue +97 -0
  26. package/src/runtime/components/list/atoms/ViewMenu.vue +71 -0
  27. package/src/runtime/components/list/inputs/AutoComplete.vue +22 -0
  28. package/src/runtime/components/list/inputs/BooleanSwitch.vue +18 -0
  29. package/src/runtime/components/list/inputs/Checkbox.vue +21 -0
  30. package/src/runtime/components/list/inputs/Select.vue +25 -0
  31. package/src/runtime/components/list/molecules/Filters.vue +97 -0
  32. package/src/runtime/components/list/molecules/Header.vue +47 -0
  33. package/src/runtime/components/list/molecules/Pagination.vue +243 -0
  34. package/src/runtime/components/list/organisms/List.vue +92 -0
  35. package/src/runtime/components/list/views/Dense.vue +25 -0
  36. package/src/runtime/components/list/views/Expanded.vue +10 -0
  37. package/src/runtime/components/list/views/Grid.vue +13 -0
  38. package/src/runtime/components/list/views/Rows.vue +13 -0
  39. package/src/runtime/components/list/views/Table.vue +13 -0
  40. package/src/runtime/components/misc/atoms/CountUp.vue +198 -0
  41. package/src/runtime/components/misc/atoms/DateStamp.vue +104 -0
  42. package/src/runtime/components/misc/atoms/ImageContainer.vue +105 -0
  43. package/src/runtime/components/misc/atoms/ShareMenu.vue +60 -0
  44. package/src/runtime/components/misc/atoms/Socials.vue +127 -0
  45. package/src/runtime/components/misc/molecules/ChipContainer.vue +35 -0
  46. package/src/runtime/components/misc/molecules/Related.vue +41 -0
  47. package/src/runtime/components/misc/molecules/RelatedItems.vue +29 -0
  48. package/src/runtime/components/misc/molecules/SearchItem.vue +26 -0
  49. package/src/runtime/components/news/DenseItem.vue +62 -0
  50. package/src/runtime/components/news/ExpandedItem.vue +153 -0
  51. package/src/runtime/components/news/Header.vue +9 -0
  52. package/src/runtime/components/news/RelatedItem.vue +44 -0
  53. package/src/runtime/components/news/RowsItem.vue +160 -0
  54. package/src/runtime/components/news/View.vue +190 -0
  55. package/src/runtime/components/people/DenseItem.vue +37 -0
  56. package/src/runtime/components/people/ExpandedItem.vue +16 -0
  57. package/src/runtime/components/people/GroupBadges.vue +56 -0
  58. package/src/runtime/components/people/RelatedItem.vue +41 -0
  59. package/src/runtime/components/people/RowsItem.vue +95 -0
  60. package/src/runtime/components/people/View.vue +162 -0
  61. package/src/runtime/components/projects/ExpandedItem.vue +14 -0
  62. package/src/runtime/components/projects/RelatedItem.vue +44 -0
  63. package/src/runtime/components/projects/RowsItem.vue +106 -0
  64. package/src/runtime/components/projects/View.vue +131 -0
  65. package/src/runtime/components/publications/RelatedItem.vue +44 -0
  66. package/src/runtime/components/publications/RowsItem.vue +105 -0
  67. package/src/runtime/components/publications/View.vue +139 -0
  68. package/src/runtime/composables/useFetchItem.ts +64 -0
  69. package/src/runtime/composables/useIcons.ts +30 -0
  70. package/src/runtime/composables/useUtils.ts +75 -0
  71. package/src/runtime/graphql/queries/buildFiltersValues.gql +35 -0
  72. package/src/runtime/graphql/queries/item/action.gql +0 -0
  73. package/src/runtime/graphql/queries/item/apps.gql +0 -0
  74. package/src/runtime/graphql/queries/item/events.gql +120 -0
  75. package/src/runtime/graphql/queries/item/fellowships.gql +164 -0
  76. package/src/runtime/graphql/queries/item/news.gql +129 -0
  77. package/src/runtime/graphql/queries/item/people.gql +174 -0
  78. package/src/runtime/graphql/queries/item/projects.gql +171 -0
  79. package/src/runtime/graphql/queries/item/publications.gql +169 -0
  80. package/src/runtime/graphql/queries/item/users.gql +0 -0
  81. package/src/runtime/graphql/queries/list/action.gql +0 -0
  82. package/src/runtime/graphql/queries/list/apps.gql +32 -0
  83. package/src/runtime/graphql/queries/list/events.gql +44 -0
  84. package/src/runtime/graphql/queries/list/fellowships.gql +53 -0
  85. package/src/runtime/graphql/queries/list/news.gql +39 -0
  86. package/src/runtime/graphql/queries/list/people.gql +49 -0
  87. package/src/runtime/graphql/queries/list/projects.gql +37 -0
  88. package/src/runtime/graphql/queries/list/publications.gql +37 -0
  89. package/src/runtime/graphql/queries/list/search.gql +148 -0
  90. package/src/runtime/graphql/queries/list/users.gql +32 -0
  91. package/src/runtime/graphql/queries/login.gql +0 -0
  92. package/src/runtime/plugins/pinia.ts +88 -0
  93. package/src/runtime/plugins/vuetify.js +21 -0
  94. package/src/runtime/stores/factory.ts +18 -0
  95. package/src/runtime/stores/root.ts +353 -0
  96. package/src/runtime/translations/en.json +436 -0
  97. package/src/runtime/translations/fr.json +429 -0
  98. package/src/runtime/types/imports.d.ts +13 -0
  99. package/src/runtime/types/stores.d.ts +11 -0
@@ -0,0 +1,171 @@
1
+ query getProject($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
2
+ getProject(appId: $appId, itemId: $itemId, lang: $lang) {
3
+ color
4
+ date
5
+ description
6
+ featured
7
+ slug {
8
+ fr
9
+ en
10
+ }
11
+ files {
12
+ file
13
+ createdAt
14
+ fileType
15
+ hash
16
+ id
17
+ image {
18
+ alt
19
+ backgroundColor
20
+ copyright
21
+ caption
22
+ license
23
+ licenseUrl
24
+ url
25
+ }
26
+ path
27
+ size
28
+ name
29
+ thumb
30
+ updatedAt
31
+ url
32
+ }
33
+ subtitle
34
+ name
35
+ url
36
+ video {
37
+ alt
38
+ backgroundColor
39
+ caption
40
+ copyright
41
+ licenseUrl
42
+ license
43
+ url
44
+ }
45
+ affiliations {
46
+ name
47
+ ror
48
+ url
49
+ location {
50
+ alt
51
+ city
52
+ country
53
+ details
54
+ name
55
+ street
56
+ zip
57
+ geocode {
58
+ lat
59
+ lng
60
+ }
61
+ }
62
+ image {
63
+ alt
64
+ backgroundColor
65
+ caption
66
+ copyright
67
+ license
68
+ licenseUrl
69
+ url
70
+ }
71
+ }
72
+ gallery {
73
+ alt
74
+ backgroundColor
75
+ caption
76
+ copyright
77
+ license
78
+ licenseUrl
79
+ url
80
+ }
81
+ image {
82
+ alt
83
+ backgroundColor
84
+ caption
85
+ copyright
86
+ license
87
+ licenseUrl
88
+ url
89
+ }
90
+ tags {
91
+ createdAt
92
+ description
93
+ icon
94
+ name
95
+ updatedAt
96
+ }
97
+ appId
98
+ id
99
+ status
100
+ related {
101
+ events {
102
+ description
103
+ image {
104
+ alt
105
+ backgroundColor
106
+ caption
107
+ copyright
108
+ licenseUrl
109
+ license
110
+ url
111
+ }
112
+ name
113
+ url
114
+ slug
115
+ }
116
+ news {
117
+ description
118
+ id
119
+ image {
120
+ alt
121
+ backgroundColor
122
+ caption
123
+ copyright
124
+ license
125
+ licenseUrl
126
+ url
127
+ }
128
+ name
129
+ url
130
+ slug
131
+ }
132
+ people {
133
+ firstname
134
+ id
135
+ image {
136
+ alt
137
+ backgroundColor
138
+ caption
139
+ copyright
140
+ license
141
+ licenseUrl
142
+ url
143
+ }
144
+ lastname
145
+ slug
146
+ }
147
+ projects {
148
+ description
149
+ id
150
+ image {
151
+ alt
152
+ backgroundColor
153
+ caption
154
+ copyright
155
+ license
156
+ licenseUrl
157
+ url
158
+ }
159
+ name
160
+ url
161
+ slug
162
+ }
163
+ publications {
164
+ id
165
+ name
166
+ url
167
+ slug
168
+ }
169
+ }
170
+ }
171
+ }
@@ -0,0 +1,169 @@
1
+ query getPublication(
2
+ $appId: ID = "iea"
3
+ $itemId: ID = ""
4
+ $lang: String = "en"
5
+ ) {
6
+ getPublication(appId: $appId, itemId: $itemId, lang: $lang) {
7
+ affiliations {
8
+ image {
9
+ alt
10
+ backgroundColor
11
+ caption
12
+ copyright
13
+ license
14
+ licenseUrl
15
+ url
16
+ }
17
+ location {
18
+ alt
19
+ city
20
+ country
21
+ details
22
+ geocode {
23
+ lat
24
+ lng
25
+ }
26
+ name
27
+ street
28
+ zip
29
+ }
30
+ name
31
+ ror
32
+ url
33
+ }
34
+ color
35
+ date
36
+ description
37
+ files {
38
+ createdAt
39
+ file
40
+ fileType
41
+ hash
42
+ id
43
+ image {
44
+ alt
45
+ backgroundColor
46
+ caption
47
+ copyright
48
+ license
49
+ licenseUrl
50
+ url
51
+ }
52
+ name
53
+ path
54
+ size
55
+ thumb
56
+ updatedAt
57
+ url
58
+ }
59
+ gallery {
60
+ backgroundColor
61
+ alt
62
+ caption
63
+ copyright
64
+ license
65
+ licenseUrl
66
+ url
67
+ }
68
+ id
69
+ image {
70
+ alt
71
+ backgroundColor
72
+ caption
73
+ copyright
74
+ license
75
+ licenseUrl
76
+ url
77
+ }
78
+ subtitle
79
+ tags {
80
+ createdAt
81
+ description
82
+ icon
83
+ name
84
+ updatedAt
85
+ }
86
+ name
87
+ url
88
+ video {
89
+ alt
90
+ backgroundColor
91
+ caption
92
+ copyright
93
+ license
94
+ licenseUrl
95
+ url
96
+ }
97
+ appId
98
+ type
99
+ related {
100
+ events {
101
+ description
102
+ image {
103
+ alt
104
+ backgroundColor
105
+ caption
106
+ copyright
107
+ license
108
+ licenseUrl
109
+ url
110
+ }
111
+ name
112
+ url
113
+ }
114
+ news {
115
+ description
116
+ id
117
+ image {
118
+ alt
119
+ backgroundColor
120
+ caption
121
+ copyright
122
+ license
123
+ licenseUrl
124
+ url
125
+ }
126
+ name
127
+ url
128
+ }
129
+ people {
130
+ firstname
131
+ id
132
+ image {
133
+ alt
134
+ backgroundColor
135
+ caption
136
+ copyright
137
+ license
138
+ licenseUrl
139
+ url
140
+ }
141
+ lastname
142
+ }
143
+ projects {
144
+ description
145
+ id
146
+ image {
147
+ alt
148
+ backgroundColor
149
+ caption
150
+ copyright
151
+ license
152
+ licenseUrl
153
+ url
154
+ }
155
+ name
156
+ url
157
+ }
158
+ publications {
159
+ id
160
+ name
161
+ url
162
+ }
163
+ }
164
+ slug {
165
+ fr
166
+ en
167
+ }
168
+ }
169
+ }
File without changes
File without changes
@@ -0,0 +1,32 @@
1
+ query listApps($appId: ID = "", $lang: String = "", $options: ListInput = {}) {
2
+ listApps(options: $options, appId: $appId, lang: $lang) {
3
+ items {
4
+ appId
5
+ color
6
+ date
7
+ description
8
+ logo {
9
+ alt
10
+ backgroundColor
11
+ caption
12
+ copyright
13
+ license
14
+ licenseUrl
15
+ url
16
+ }
17
+ name
18
+ state
19
+ subtitle
20
+ summary
21
+ tags {
22
+ createdAt
23
+ description
24
+ icon
25
+ name
26
+ updatedAt
27
+ }
28
+ url
29
+ }
30
+ total
31
+ }
32
+ }
@@ -0,0 +1,44 @@
1
+ query listEvents(
2
+ $options: ListInput = {}
3
+ $appId: ID = "iea"
4
+ $lang: String = "en"
5
+ ) {
6
+ listEvents(options: $options, appId: $appId, lang: $lang) {
7
+ items {
8
+ availableSlots
9
+ bookingState
10
+ category
11
+ dateText
12
+ details
13
+ eventType
14
+ summary
15
+ subtitle
16
+ id
17
+ image {
18
+ alt
19
+ backgroundColor
20
+ caption
21
+ copyright
22
+ license
23
+ licenseUrl
24
+ url
25
+ }
26
+ name
27
+ outside
28
+ place {
29
+ address
30
+ id
31
+ name
32
+ url
33
+ }
34
+ state
35
+ start
36
+ stop
37
+ slug {
38
+ fr
39
+ en
40
+ }
41
+ }
42
+ total
43
+ }
44
+ }
@@ -0,0 +1,53 @@
1
+ query listFellowships(
2
+ $options: ListInput = {}
3
+ $appId: ID = "iea"
4
+ $lang: String = "en"
5
+ ) {
6
+ listFellowships(options: $options, appId: $appId, lang: $lang) {
7
+ items {
8
+ id
9
+ slug {
10
+ fr
11
+ en
12
+ }
13
+ applicationStart
14
+ applicationStop
15
+ fellowshipType
16
+ disciplines {
17
+ createdAt
18
+ description
19
+ icon
20
+ name
21
+ updatedAt
22
+ }
23
+ image {
24
+ alt
25
+ backgroundColor
26
+ caption
27
+ copyright
28
+ license
29
+ licenseUrl
30
+ url
31
+ }
32
+ member {
33
+ name
34
+ url
35
+ image {
36
+ url
37
+ licenseUrl
38
+ license
39
+ copyright
40
+ caption
41
+ backgroundColor
42
+ alt
43
+ }
44
+ }
45
+ summary
46
+ name
47
+ url
48
+ publicationDate
49
+ status
50
+ }
51
+ total
52
+ }
53
+ }
@@ -0,0 +1,39 @@
1
+ query listNews(
2
+ $appId: ID = "iea"
3
+ $lang: String = "en"
4
+ $options: ListInput = {}
5
+ ) {
6
+ listNews(options: $options, appId: $appId, lang: $lang) {
7
+ total
8
+ items {
9
+ slug {
10
+ fr
11
+ en
12
+ }
13
+ id
14
+ category
15
+ color
16
+ date
17
+ description
18
+ featured
19
+ image {
20
+ alt
21
+ backgroundColor
22
+ caption
23
+ copyright
24
+ license
25
+ licenseUrl
26
+ url
27
+ }
28
+ tags {
29
+ createdAt
30
+ description
31
+ icon
32
+ name
33
+ updatedAt
34
+ }
35
+ name
36
+ url
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,49 @@
1
+ query listPeople(
2
+ $appId: ID = "iea"
3
+ $lang: String = "en"
4
+ $options: ListInput = {}
5
+ ) {
6
+ listPeople(options: $options, appId: $appId, lang: $lang) {
7
+ items {
8
+ id
9
+ slug
10
+ biography
11
+ firstname
12
+ groups {
13
+ board
14
+ fellows
15
+ sab
16
+ sponsor
17
+ team
18
+ vintage {
19
+ name
20
+ theme
21
+ url
22
+ year
23
+ }
24
+ }
25
+ image {
26
+ url
27
+ license
28
+ copyright
29
+ caption
30
+ backgroundColor
31
+ alt
32
+ }
33
+ lastname
34
+ socials {
35
+ idRef
36
+ instagram
37
+ linkedin
38
+ mendeley
39
+ orcid
40
+ researchgate
41
+ scholar
42
+ twitter
43
+ website
44
+ wikipedia
45
+ }
46
+ }
47
+ total
48
+ }
49
+ }
@@ -0,0 +1,37 @@
1
+ query listProjects(
2
+ $appId: ID = "iea"
3
+ $lang: String = "en"
4
+ $options: ListInput = {}
5
+ ) {
6
+ listProjects(options: $options, appId: $appId, lang: $lang) {
7
+ total
8
+ items {
9
+ date
10
+ featured
11
+ id
12
+ image {
13
+ alt
14
+ backgroundColor
15
+ caption
16
+ license
17
+ copyright
18
+ licenseUrl
19
+ url
20
+ }
21
+ name
22
+ summary
23
+ url
24
+ tags {
25
+ createdAt
26
+ description
27
+ icon
28
+ name
29
+ updatedAt
30
+ }
31
+ slug {
32
+ fr
33
+ en
34
+ }
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,37 @@
1
+ query listPublications(
2
+ $appId: ID = "iea"
3
+ $lang: String = "en"
4
+ $options: ListInput = {}
5
+ ) {
6
+ listPublications(options: $options, appId: $appId, lang: $lang) {
7
+ items {
8
+ date
9
+ id
10
+ image {
11
+ alt
12
+ backgroundColor
13
+ caption
14
+ copyright
15
+ license
16
+ url
17
+ licenseUrl
18
+ }
19
+ summary
20
+ description
21
+ name
22
+ url
23
+ tags {
24
+ createdAt
25
+ description
26
+ name
27
+ icon
28
+ updatedAt
29
+ }
30
+ slug {
31
+ fr
32
+ en
33
+ }
34
+ }
35
+ total
36
+ }
37
+ }