@saooti/octopus-sdk 33.2.21 → 33.2.23
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/package.json
CHANGED
|
@@ -32,7 +32,7 @@ export default defineComponent({
|
|
|
32
32
|
disable: {type: Boolean, default: false},
|
|
33
33
|
onlyClick: {type: Boolean, default: false},
|
|
34
34
|
isFixed: {type: Boolean, default: false},
|
|
35
|
-
|
|
35
|
+
relativeClass: {type: String, default: undefined},
|
|
36
36
|
leftPos: {type: Boolean, default: false},
|
|
37
37
|
},
|
|
38
38
|
data () {
|
|
@@ -99,8 +99,8 @@ export default defineComponent({
|
|
|
99
99
|
let parentRight = 0;
|
|
100
100
|
let parentTop = 0;
|
|
101
101
|
let parentScrollTop = 0;
|
|
102
|
-
if(this.
|
|
103
|
-
const modalBody = document.getElementsByClassName(
|
|
102
|
+
if(this.relativeClass){
|
|
103
|
+
const modalBody = document.getElementsByClassName(this.relativeClass)[0];
|
|
104
104
|
const modalBodyRect = modalBody.getBoundingClientRect();
|
|
105
105
|
parentLeft = modalBodyRect.left;
|
|
106
106
|
parentRight = modalBodyRect.right;
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
v-model:organisationId="organisationId"
|
|
7
7
|
v-model:search-pattern="searchPattern"
|
|
8
8
|
type="emission"
|
|
9
|
-
@updateOrganisationId="updateOrganisationId"
|
|
10
|
-
@updateSearchPattern="updateSearchPattern"
|
|
11
9
|
/>
|
|
12
10
|
<AdvancedSearch
|
|
13
11
|
:is-education="isEducation"
|
|
@@ -124,6 +122,9 @@ export default defineComponent({
|
|
|
124
122
|
if(this.$store.state.filter.rubriqueFilter.length){
|
|
125
123
|
this.updateRubriquageFilter(this.$store.state.filter.rubriqueFilter);
|
|
126
124
|
}
|
|
125
|
+
this.$nextTick(() => {
|
|
126
|
+
this.isInit = true;
|
|
127
|
+
});
|
|
127
128
|
},
|
|
128
129
|
updateRubriquageFilter(value: Array<RubriquageFilter>){
|
|
129
130
|
const length = value.length;
|
|
@@ -147,7 +147,9 @@ export default defineComponent({
|
|
|
147
147
|
if(this.$store.state.filter.rubriqueFilter.length){
|
|
148
148
|
this.updateRubriquageFilter(this.$store.state.filter.rubriqueFilter);
|
|
149
149
|
}
|
|
150
|
-
this
|
|
150
|
+
this.$nextTick(() => {
|
|
151
|
+
this.isInit = true;
|
|
152
|
+
});
|
|
151
153
|
},
|
|
152
154
|
updateRubriquageFilter(value: Array<RubriquageFilter>){
|
|
153
155
|
const length = value.length;
|