@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,120 @@
1
+ query getEvent($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
2
+ getEvent(itemId: $itemId, appId: $appId, lang: $lang) {
3
+ appId
4
+ availableSlots
5
+ bookingState
6
+ category
7
+ createdBy
8
+ dateText
9
+ description
10
+ details
11
+ id
12
+ image {
13
+ alt
14
+ caption
15
+ backgroundColor
16
+ copyright
17
+ license
18
+ licenseUrl
19
+ url
20
+ }
21
+ name
22
+ place {
23
+ address
24
+ id
25
+ name
26
+ url
27
+ }
28
+ start
29
+ slug {
30
+ fr
31
+ en
32
+ }
33
+ slots {
34
+ email
35
+ firstname
36
+ institution
37
+ lang
38
+ lastname
39
+ }
40
+ state
41
+ stop
42
+ subtitle
43
+ summary
44
+ program
45
+ totalSlots
46
+ eventType
47
+ outside
48
+ url
49
+ related {
50
+ events {
51
+ description
52
+ slug
53
+ image {
54
+ alt
55
+ backgroundColor
56
+ caption
57
+ copyright
58
+ license
59
+ licenseUrl
60
+ url
61
+ }
62
+ name
63
+ url
64
+ }
65
+ news {
66
+ description
67
+ id
68
+ slug
69
+ image {
70
+ alt
71
+ backgroundColor
72
+ caption
73
+ copyright
74
+ license
75
+ licenseUrl
76
+ url
77
+ }
78
+ name
79
+ url
80
+ }
81
+ people {
82
+ firstname
83
+ id
84
+ slug
85
+ image {
86
+ alt
87
+ backgroundColor
88
+ caption
89
+ license
90
+ copyright
91
+ licenseUrl
92
+ url
93
+ }
94
+ lastname
95
+ }
96
+ projects {
97
+ description
98
+ id
99
+ slug
100
+ image {
101
+ alt
102
+ backgroundColor
103
+ caption
104
+ copyright
105
+ license
106
+ licenseUrl
107
+ url
108
+ }
109
+ name
110
+ url
111
+ }
112
+ publications {
113
+ id
114
+ slug
115
+ name
116
+ url
117
+ }
118
+ }
119
+ }
120
+ }
@@ -0,0 +1,164 @@
1
+ query getFellowship(
2
+ $appId: ID = "iea"
3
+ $itemId: ID = ""
4
+ $lang: String = "en"
5
+ ) {
6
+ getFellowship(appId: $appId, itemId: $itemId, lang: $lang) {
7
+ id
8
+ action
9
+ applicationStart
10
+ fellowshipStart
11
+ contact
12
+ url
13
+ slug {
14
+ fr
15
+ en
16
+ }
17
+ applicationStop
18
+ fellowshipStop
19
+ publicationDate
20
+ summary
21
+ description
22
+ fellows {
23
+ id
24
+ firstname
25
+ lastname
26
+ image {
27
+ alt
28
+ caption
29
+ backgroundColor
30
+ copyright
31
+ license
32
+ licenseUrl
33
+ url
34
+ }
35
+ }
36
+ fellowshipType
37
+ files {
38
+ createdAt
39
+ file
40
+ fileType
41
+ hash
42
+ id
43
+ image {
44
+ alt
45
+ caption
46
+ backgroundColor
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
+ alt
61
+ backgroundColor
62
+ caption
63
+ license
64
+ copyright
65
+ licenseUrl
66
+ url
67
+ }
68
+ image {
69
+ url
70
+ licenseUrl
71
+ license
72
+ copyright
73
+ caption
74
+ backgroundColor
75
+ alt
76
+ }
77
+ member {
78
+ name
79
+ ror
80
+ url
81
+ image {
82
+ alt
83
+ backgroundColor
84
+ caption
85
+ copyright
86
+ license
87
+ licenseUrl
88
+ url
89
+ }
90
+ location {
91
+ alt
92
+ city
93
+ country
94
+ details
95
+ geocode {
96
+ lat
97
+ lng
98
+ }
99
+ name
100
+ street
101
+ zip
102
+ }
103
+ }
104
+ name
105
+ video {
106
+ alt
107
+ backgroundColor
108
+ caption
109
+ copyright
110
+ license
111
+ licenseUrl
112
+ url
113
+ }
114
+ disciplines {
115
+ description
116
+ createdAt
117
+ icon
118
+ name
119
+ updatedAt
120
+ }
121
+ appId
122
+ affiliations {
123
+ image {
124
+ alt
125
+ backgroundColor
126
+ caption
127
+ copyright
128
+ license
129
+ licenseUrl
130
+ url
131
+ }
132
+ location {
133
+ alt
134
+ city
135
+ country
136
+ details
137
+ geocode {
138
+ lat
139
+ lng
140
+ }
141
+ name
142
+ street
143
+ zip
144
+ }
145
+ name
146
+ ror
147
+ url
148
+ }
149
+ fellowshipDetails {
150
+ applicationMaterials
151
+ funding
152
+ fundingPeriod
153
+ housing
154
+ location
155
+ meals
156
+ profile
157
+ researchSupport
158
+ selectionProcess
159
+ tasks
160
+ type
161
+ }
162
+ status
163
+ }
164
+ }
@@ -0,0 +1,129 @@
1
+ query getNews($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
2
+ getNews(appId: $appId, itemId: $itemId, lang: $lang) {
3
+ category
4
+ color
5
+ date
6
+ description
7
+ featured
8
+ slug {
9
+ fr
10
+ en
11
+ }
12
+ files {
13
+ createdAt
14
+ file
15
+ fileType
16
+ hash
17
+ id
18
+ image {
19
+ alt
20
+ caption
21
+ backgroundColor
22
+ copyright
23
+ license
24
+ licenseUrl
25
+ url
26
+ }
27
+ name
28
+ path
29
+ size
30
+ thumb
31
+ updatedAt
32
+ url
33
+ }
34
+ gallery {
35
+ alt
36
+ backgroundColor
37
+ caption
38
+ copyright
39
+ license
40
+ licenseUrl
41
+ url
42
+ }
43
+ image {
44
+ alt
45
+ backgroundColor
46
+ caption
47
+ copyright
48
+ license
49
+ licenseUrl
50
+ url
51
+ }
52
+ tags {
53
+ createdAt
54
+ description
55
+ icon
56
+ name
57
+ updatedAt
58
+ }
59
+ name
60
+ url
61
+ appId
62
+ id
63
+ related {
64
+ events {
65
+ description
66
+ image {
67
+ alt
68
+ backgroundColor
69
+ caption
70
+ copyright
71
+ license
72
+ licenseUrl
73
+ url
74
+ }
75
+ name
76
+ url
77
+ }
78
+ news {
79
+ description
80
+ id
81
+ image {
82
+ alt
83
+ backgroundColor
84
+ caption
85
+ copyright
86
+ license
87
+ licenseUrl
88
+ url
89
+ }
90
+ name
91
+ url
92
+ }
93
+ people {
94
+ firstname
95
+ id
96
+ image {
97
+ alt
98
+ backgroundColor
99
+ caption
100
+ copyright
101
+ license
102
+ licenseUrl
103
+ url
104
+ }
105
+ lastname
106
+ }
107
+ projects {
108
+ description
109
+ id
110
+ name
111
+ image {
112
+ alt
113
+ backgroundColor
114
+ caption
115
+ copyright
116
+ license
117
+ licenseUrl
118
+ url
119
+ }
120
+ url
121
+ }
122
+ publications {
123
+ id
124
+ name
125
+ url
126
+ }
127
+ }
128
+ }
129
+ }
@@ -0,0 +1,174 @@
1
+ query getPeople($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
2
+ getPeople(appId: $appId, itemId: $itemId, lang: $lang) {
3
+ affiliations {
4
+ affiliation {
5
+ image {
6
+ alt
7
+ backgroundColor
8
+ caption
9
+ copyright
10
+ license
11
+ licenseUrl
12
+ url
13
+ }
14
+ location {
15
+ alt
16
+ city
17
+ country
18
+ details
19
+ geocode {
20
+ lat
21
+ lng
22
+ }
23
+ name
24
+ street
25
+ zip
26
+ }
27
+ name
28
+ ror
29
+ url
30
+ }
31
+ positions {
32
+ department
33
+ role
34
+ start
35
+ stop
36
+ }
37
+ }
38
+ biography
39
+ firstname
40
+ groups {
41
+ board
42
+ fellows
43
+ sab
44
+ sponsor
45
+ team
46
+ vintage {
47
+ name
48
+ theme
49
+ url
50
+ year
51
+ }
52
+ }
53
+ image {
54
+ url
55
+ license
56
+ copyright
57
+ caption
58
+ backgroundColor
59
+ alt
60
+ licenseUrl
61
+ }
62
+ lastname
63
+ socials {
64
+ idRef
65
+ instagram
66
+ linkedin
67
+ mendeley
68
+ orcid
69
+ researchgate
70
+ scholar
71
+ twitter
72
+ website
73
+ wikipedia
74
+ }
75
+ video {
76
+ url
77
+ alt
78
+ caption
79
+ copyright
80
+ license
81
+ licenseUrl
82
+ backgroundColor
83
+ }
84
+ slug
85
+ appId
86
+ consent {
87
+ data
88
+ diffusion
89
+ email
90
+ fellowshipnewsletter
91
+ newsletter
92
+ publication
93
+ record
94
+ }
95
+ disciplines {
96
+ createdAt
97
+ description
98
+ icon
99
+ name
100
+ updatedAt
101
+ }
102
+ id
103
+ related {
104
+ events {
105
+ description
106
+ image {
107
+ alt
108
+ backgroundColor
109
+ caption
110
+ copyright
111
+ license
112
+ licenseUrl
113
+ url
114
+ }
115
+ name
116
+ url
117
+ slug
118
+ }
119
+ news {
120
+ description
121
+ slug
122
+ id
123
+ image {
124
+ alt
125
+ backgroundColor
126
+ caption
127
+ copyright
128
+ license
129
+ licenseUrl
130
+ url
131
+ }
132
+ name
133
+ url
134
+ }
135
+ people {
136
+ firstname
137
+ slug
138
+ id
139
+ image {
140
+ alt
141
+ backgroundColor
142
+ caption
143
+ copyright
144
+ license
145
+ licenseUrl
146
+ url
147
+ }
148
+ lastname
149
+ }
150
+ projects {
151
+ description
152
+ slug
153
+ id
154
+ image {
155
+ alt
156
+ backgroundColor
157
+ caption
158
+ copyright
159
+ license
160
+ licenseUrl
161
+ url
162
+ }
163
+ name
164
+ url
165
+ }
166
+ publications {
167
+ id
168
+ slug
169
+ name
170
+ url
171
+ }
172
+ }
173
+ }
174
+ }