File tree Expand file tree Collapse file tree 7 files changed +20
-20
lines changed
Expand file tree Collapse file tree 7 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 2626<script setup>
2727 const emit = defineEmits ([
2828 " update_values" ,
29- " increment_current_step " ,
30- " decrement_current_step " ,
29+ " increment_step " ,
30+ " decrement_step " ,
3131 ])
3232
3333 const props = defineProps ({
5050 [key_to_update]: crs,
5151 }
5252 emit (" update_values" , keys_values_object)
53- emit (" increment_current_step " )
53+ emit (" increment_step " )
5454 })
5555
5656 function get_selected_crs (crs_code ) {
Original file line number Diff line number Diff line change 4141<script setup>
4242 const emit = defineEmits ([
4343 " update_values" ,
44- " increment_current_step " ,
45- " decrement_current_step " ,
44+ " increment_step " ,
45+ " decrement_step " ,
4646 ])
4747
4848 const props = defineProps ({
7878 output_extension,
7979 }
8080 emit (" update_values" , keys_values_object)
81- emit (" increment_current_step " )
81+ emit (" increment_step " )
8282 }
8383 }
8484
Original file line number Diff line number Diff line change 1010<script setup>
1111 const emit = defineEmits ([
1212 " update_values" ,
13- " increment_current_step " ,
14- " decrement_current_step " ,
13+ " increment_step " ,
14+ " decrement_step " ,
1515 ])
1616
1717 const props = defineProps ({
3131 function files_uploaded_event (value ) {
3232 if (value .length ) {
3333 emit (" update_values" , { files: value })
34- emit (" increment_current_step " )
34+ emit (" increment_step " )
3535 }
3636 }
3737
Original file line number Diff line number Diff line change 3131</template >
3232
3333<script setup>
34- const emit = defineEmits ([" files_uploaded" , " decrement_current_step " ])
34+ const emit = defineEmits ([" files_uploaded" , " decrement_step " ])
3535
3636 const props = defineProps ({
3737 multiple: { type: Boolean , required: true },
Original file line number Diff line number Diff line change 4545<script setup>
4646 const emit = defineEmits ([
4747 " update_values" ,
48- " increment_current_step " ,
49- " decrement_current_step " ,
48+ " increment_step " ,
49+ " decrement_step " ,
5050 ])
5151
5252 const props = defineProps ({
9999 .map ((filename ) => " ." + filename .split (" ." ).pop ())
100100 .join (" ," )
101101 if (! has_missing_files .value ) {
102- console .log (" MISSING FILESSELECTOR increment_current_step " )
103- emit (" increment_current_step " )
102+ console .log (" MISSING FILESSELECTOR increment_step " )
103+ emit (" increment_step " )
104104 }
105105 },
106106 },
Original file line number Diff line number Diff line change 3333<script setup>
3434 import geode_objects from " @/assets/geode_objects"
3535
36- const emit = defineEmits ([" update_values" , " increment_current_step " ])
36+ const emit = defineEmits ([" update_values" , " increment_step " ])
3737
3838 const props = defineProps ({
3939 files: { type: Array , required: true },
6565 function set_geode_object (geode_object ) {
6666 if (geode_object != " " ) {
6767 emit (" update_values" , { input_geode_object: geode_object })
68- emit (" increment_current_step " )
68+ emit (" increment_step " )
6969 }
7070 }
7171
Original file line number Diff line number Diff line change 4242 :is =" steps[step_index].component.component_name"
4343 v-bind =" steps[step_index].component.component_options"
4444 @update_values =" update_values_event"
45- @increment_current_step = " increment_current_step ()"
46- @decrement_current_step = " decrement_current_step ()"
45+ @increment_step = " increment_step ()"
46+ @decrement_step = " decrement_step ()"
4747 />
4848 </v-col >
4949 </Transition >
7070 }
7171 }
7272
73- function increment_current_step () {
73+ function increment_step () {
7474 stepper_tree .current_step_index ++
7575 }
7676
77- function decrement_current_step () {
77+ function decrement_step () {
7878 stepper_tree .current_step_index --
7979 }
8080 </script >
You can’t perform that action at this time.
0 commit comments