From 50873adeb719aa18457fc31a2f29fe9907ac23b5 Mon Sep 17 00:00:00 2001 From: "francesco.guerrieri" Date: Mon, 20 Apr 2020 18:37:50 +0200 Subject: [PATCH 1/2] add tab stampo in modal quote-velocita --- .../svg/disegno-quote-velocita-stampo.svg | 397 ++++++++++++++++++ .../components/SVG_Components/stampo.ts | 14 + .../components/SVG_Components/stampo.vue | 67 +++ .../components/salita-stampo.ts | 20 + .../components/salita-stampo.vue | 63 +++ .../components/show-quote-velocita-info.ts | 2 + .../components/show-quote-velocita-info.vue | 1 + 7 files changed, 564 insertions(+) create mode 100644 Thermo.Active/wwwroot/assets/icons/svg/disegno-quote-velocita-stampo.svg create mode 100644 Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/SVG_Components/stampo.ts create mode 100644 Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/SVG_Components/stampo.vue create mode 100644 Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/salita-stampo.ts create mode 100644 Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/salita-stampo.vue diff --git a/Thermo.Active/wwwroot/assets/icons/svg/disegno-quote-velocita-stampo.svg b/Thermo.Active/wwwroot/assets/icons/svg/disegno-quote-velocita-stampo.svg new file mode 100644 index 00000000..60b38a87 --- /dev/null +++ b/Thermo.Active/wwwroot/assets/icons/svg/disegno-quote-velocita-stampo.svg @@ -0,0 +1,397 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1059 mm + + 0 mm + + diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/SVG_Components/stampo.ts b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/SVG_Components/stampo.ts new file mode 100644 index 00000000..b2739e23 --- /dev/null +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/SVG_Components/stampo.ts @@ -0,0 +1,14 @@ +import Vue from 'vue'; +import Component from 'vue-class-component'; +import {Prop} from 'vue-property-decorator'; + +@Component({}) +export default class QuoteVelocita extends Vue{ + @Prop({default:0}) + x:number; + @Prop({default:0}) + y:number; + @Prop({default:0}) + spes:number; + +} \ No newline at end of file diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/SVG_Components/stampo.vue b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/SVG_Components/stampo.vue new file mode 100644 index 00000000..c79cdca7 --- /dev/null +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/SVG_Components/stampo.vue @@ -0,0 +1,67 @@ + + + \ No newline at end of file diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/salita-stampo.ts b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/salita-stampo.ts new file mode 100644 index 00000000..7837688e --- /dev/null +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/salita-stampo.ts @@ -0,0 +1,20 @@ +import Vue from "vue"; +import Component from "vue-class-component"; +import { Prop } from 'vue-property-decorator'; +import Slider from "@/app_modules_thermo/components/slider.vue" +// import QuoteVelocitaSVG from "./SVG_Components/quote-velocita.vue"; + +@Component({name:"salitastampo", components:{slider:Slider}}) +export default class DiscesaCornice extends Vue { + + @Prop({default:0}) + ritardo:number; + @Prop({default:0}) + corsa:number; + @Prop({default:0}) + velSalita:number; + @Prop({default:0}) + ralSalita:number; + @Prop({default:0}) + velSalitaLenta:number; +} \ No newline at end of file diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/salita-stampo.vue b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/salita-stampo.vue new file mode 100644 index 00000000..9c427109 --- /dev/null +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/salita-stampo.vue @@ -0,0 +1,63 @@ + + + \ No newline at end of file diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/show-quote-velocita-info.ts b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/show-quote-velocita-info.ts index 291d0a3f..8a5cf7cf 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/show-quote-velocita-info.ts +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/show-quote-velocita-info.ts @@ -3,12 +3,14 @@ import { Modal, ModalHelper } from "@/components/modals"; import { Factory, messageService, awaiter } from "@/_base"; import Component from "vue-class-component"; import DiscesaCornice from "./discesa-cornice.vue"; +import SalitaStampo from "./salita-stampo.vue"; import StepFooter from "@/app_modules_thermo/setup/components/step-footer.vue" @Component({ components: { modal: Modal, discesacornice: DiscesaCornice, + salitaStampo: SalitaStampo, stepfooter: StepFooter } }) diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/show-quote-velocita-info.vue b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/show-quote-velocita-info.vue index 44206b9c..709801d3 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/show-quote-velocita-info.vue +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/quote-velocita/components/show-quote-velocita-info.vue @@ -12,6 +12,7 @@ +