@saooti/octopus-sdk 30.0.11 → 30.0.15

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/README.md CHANGED
@@ -508,4 +508,8 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
508
508
  * 30.0.8 Améliorations diverses
509
509
  * 30.0.9 Améliorations diverses
510
510
  * 30.0.10 PB clearInterval
511
- * 30.0.11 Version pour release
511
+ * 30.0.11 Version pour release
512
+ * 30.0.12 Export ClasicLoading
513
+ * 30.0.13 Améliorations css
514
+ * 30.0.14 Améliorations css
515
+ * 30.0.15 Améliorations css
package/index.ts CHANGED
@@ -53,6 +53,7 @@ import CommentInput from "./src/components/display/comments/CommentInput.vue";
53
53
  import ClassicSearch from "./src/components/form/ClassicSearch.vue";
54
54
  import ClassicCheckbox from "./src/components/form/ClassicCheckbox.vue";
55
55
  import ClassicRadio from "./src/components/form/ClassicRadio.vue";
56
+ import ClassicLoading from "./src/components/form/ClassicLoading.vue";
56
57
 
57
58
  //mixins
58
59
  import {selenium} from "./src/components/mixins/functions";
@@ -107,7 +108,8 @@ const components = {
107
108
  tagOfMixins,
108
109
  ClassicSearch,
109
110
  ClassicCheckbox,
110
- ClassicRadio
111
+ ClassicRadio,
112
+ ClassicLoading
111
113
  }
112
114
 
113
115
  export default components;
@@ -157,5 +159,6 @@ export {
157
159
  tagOfMixins,
158
160
  ClassicSearch,
159
161
  ClassicCheckbox,
160
- ClassicRadio
162
+ ClassicRadio,
163
+ ClassicLoading
161
164
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "30.0.11",
3
+ "version": "30.0.15",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -14,10 +14,10 @@
14
14
  },
15
15
  "main": "./dist/octopus.common.js",
16
16
  "dependencies": {
17
- "@popperjs/core": "^2.10.2",
17
+ "@popperjs/core": "^2.11.0",
18
18
  "@saooti/octopus-api": "^0.30.2",
19
- "@vue/cli": "^5.0.0-rc.0",
20
- "@vue/compat": "^3.2.21",
19
+ "@vue/cli": "^5.0.0-rc.1",
20
+ "@vue/compat": "^3.2.26",
21
21
  "axios": "^0.24.0",
22
22
  "bootstrap": "^5.1.3",
23
23
  "core-js": "^3.19.01",
@@ -42,22 +42,22 @@
42
42
  "webpack": "^5.62.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@types/bootstrap": "^5.1.6",
45
+ "@types/bootstrap": "^5.1.8",
46
46
  "@types/hls.js": "^1.0.0",
47
- "@types/jquery": "^3.5.8",
47
+ "@types/jquery": "^3.5.11",
48
48
  "@types/vue-datetime": "^1.0.1",
49
- "@typescript-eslint/eslint-plugin": "^5.3.0",
50
- "@typescript-eslint/parser": "^5.3.0",
51
- "@vue/cli-plugin-babel": "^5.0.0-rc.0",
52
- "@vue/cli-plugin-eslint": "^5.0.0-rc.0",
53
- "@vue/cli-plugin-typescript": "^5.0.0-rc.0",
54
- "@vue/cli-service": "^5.0.0-rc.0",
55
- "@vue/compiler-sfc": "^3.2.21",
49
+ "@typescript-eslint/eslint-plugin": "^5.8.1",
50
+ "@typescript-eslint/parser": "^5.8.1",
51
+ "@vue/cli-plugin-babel": "^5.0.0-rc.1",
52
+ "@vue/cli-plugin-eslint": "^5.0.0-rc.1",
53
+ "@vue/cli-plugin-typescript": "^5.0.0-rc.1",
54
+ "@vue/cli-service": "^5.0.0-rc.1",
55
+ "@vue/compiler-sfc": "^3.2.26",
56
56
  "@vue/eslint-config-typescript": "^8.0.0",
57
57
  "babel-eslint": "^10.1.0",
58
58
  "eslint": "^8.2.0",
59
59
  "eslint-plugin-vue": "^7.20.0",
60
- "typescript": "^4.4.4"
60
+ "typescript": "^4.5.4"
61
61
  },
62
62
  "eslintConfig": {
63
63
  "parser": "vue-eslint-parser",
@@ -171,6 +171,7 @@
171
171
  font-size: 1rem;
172
172
  display: inline-flex;
173
173
  align-items: center;
174
+ justify-content: center;
174
175
  }
175
176
  &.btn-arrow {
176
177
  margin: 0.2rem;
@@ -237,9 +238,6 @@
237
238
  }
238
239
  .dropdown-menu {
239
240
  padding: 0.5rem;
240
- @media (max-width: 450px) {
241
- min-width: 15rem;
242
- }
243
241
  }
244
242
  .dropdown-item {
245
243
  cursor: pointer;
@@ -257,6 +255,9 @@
257
255
  .accordion-button {
258
256
  padding: 0.5rem;
259
257
  }
258
+ .accordion-item:not(:first-of-type) {
259
+ border-top: 0.1rem solid rgba(0, 0, 0, 0.125);
260
+ }
260
261
  .breadcrumb{
261
262
  padding: 1rem;
262
263
  align-items: center;
@@ -12,7 +12,15 @@
12
12
  border: 0.1rem solid #dee2e6;
13
13
  border-radius: 0.3rem;
14
14
  }
15
-
15
+ .form-check-label {
16
+ cursor: pointer;
17
+ &::before {
18
+ top: 0;
19
+ }
20
+ &::after {
21
+ top: 0;
22
+ }
23
+ }
16
24
  .form-input {
17
25
  -webkit-appearance: none;
18
26
  -moz-appearance: none;
@@ -1,6 +1,7 @@
1
1
 
2
2
  html{
3
3
  font-size: 20px;
4
+ height: 100%;
4
5
  }
5
6
  body{
6
7
  color: #353535;
@@ -8,6 +9,8 @@ body{
8
9
  font-size: 0.8rem;
9
10
  overflow-x: hidden;
10
11
  background: #fff;
12
+ min-height: 100%;
13
+ overscroll-behavior-y: contain;
11
14
  }
12
15
  .octopus-app{
13
16
  h1,h2,h3,h4,h5,h6{
@@ -95,6 +98,7 @@ body{
95
98
  margin: 0.5rem 0.5rem 0 0.5rem;
96
99
  border-radius: 1rem;
97
100
  flex-grow: 1;
101
+ overflow: auto;
98
102
  @media (max-width: 500px){
99
103
  margin: 0.3rem;
100
104
  padding: 0.8rem;
@@ -213,6 +217,9 @@ body{
213
217
  .c-hand{
214
218
  cursor: pointer;
215
219
  }
220
+ .c-hand-auto {
221
+ cursor: auto;
222
+ }
216
223
 
217
224
  .html-wysiwyg-content{
218
225
  h3,h4{
@@ -234,7 +241,6 @@ body{
234
241
  @media (max-width: 960px) {
235
242
  .d-flex:not(.flex-column){
236
243
  flex-wrap: wrap;
237
- flex-grow: 1;
238
244
  }
239
245
  }
240
246
  }
@@ -166,7 +166,6 @@
166
166
  line-height: 28px;
167
167
  border: none;
168
168
  border-radius: 5px;
169
- background: #fff;
170
169
  padding: 0 0 0 5px;
171
170
  width: 100%;
172
171
  transition: border 0.1s ease;
@@ -25,7 +25,6 @@
25
25
  }}</b>
26
26
  <Popover
27
27
  :target="'popover-comment' + comment.comId"
28
- custom-class="wizard-help"
29
28
  >
30
29
  {{ $t('Comment waiting') }}
31
30
  </Popover>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  v-if="(!value || init) && organisation"
4
- class="default-multiselect-width"
4
+ class="default-multiselect-width organisation-chooser-light"
5
5
  :style="{ width: width }"
6
6
  >
7
7
  <select
@@ -27,7 +27,6 @@
27
27
 
28
28
  <script lang="ts">
29
29
  import octopusApi from '@saooti/octopus-api';
30
-
31
30
  import { Organisation } from '@/store/class/general/organisation';
32
31
  import { defineComponent } from 'vue'
33
32
  export default defineComponent({
@@ -83,8 +82,8 @@ export default defineComponent({
83
82
  })
84
83
  </script>
85
84
 
86
- <style lang="scss" scoped>
87
- select {
85
+ <style lang="scss">
86
+ .organisation-chooser-light select {
88
87
  -webkit-appearance: none;
89
88
  -moz-appearance: none;
90
89
  appearance: none;
@@ -10,7 +10,7 @@
10
10
  </div>
11
11
  <div
12
12
  v-else-if="errorText"
13
- class="text-center"
13
+ class="text-center text-danger"
14
14
  >
15
15
  <h3>{{ errorText }}</h3>
16
16
  </div>
@@ -14,6 +14,7 @@
14
14
  :rss-emission="rssEmission"
15
15
  :ftp-emission="ftpEmission"
16
16
  :is-ready="isReady"
17
+ @isUpdated="getEmissionDetails"
17
18
  />
18
19
  <div class="module-box">
19
20
  <h2 v-if="!isOuestFrance">
@@ -215,8 +216,6 @@ export default defineComponent({
215
216
  },
216
217
  watch: {
217
218
  emissionId(): void {
218
- this.loaded = false;
219
- this.error = false;
220
219
  this.getEmissionDetails();
221
220
  },
222
221
  },
@@ -226,6 +225,8 @@ export default defineComponent({
226
225
  },
227
226
  methods: {
228
227
  async getEmissionDetails(): Promise<void> {
228
+ this.loaded = false;
229
+ this.error = false;
229
230
  try {
230
231
  const data: Emission = await octopusApi.fetchEmission(this.emissionId);
231
232
  this.emission = data;