Orzu Ionut
3 years ago
20 changed files with 1225 additions and 136 deletions
-
7app/Http/Controllers/RegexController.php
-
14app/Http/Controllers/SearcherController.php
-
4app/SearchDisplace/Regex/RegexFactory.php
-
14app/SearchDisplace/SearchAndDisplace.php
-
13app/SearchDisplace/Searchers/SearcherCreator.php
-
4app/SearchDisplace/Searchers/SearcherFactory.php
-
31app/SearchDisplace/Searchers/SearchersStorage.php
-
5public/css/app.css
-
967public/js/app.js
-
12resources/js/components/Home/Home.ts
-
3resources/js/components/Home/Home.vue
-
91resources/js/components/ProcessFile/ProcessFile.ts
-
74resources/js/components/ProcessFile/ProcessFile.vue
-
18resources/js/components/Regex/Create.vue
-
41resources/js/components/Searchers/Create.vue
-
56resources/js/components/Searchers/DefineSearcher.vue
-
2resources/js/services/ApiService.ts
-
1resources/sass/components/_index.sass
-
3resources/sass/components/searchers/_create.sass
-
1resources/sass/components/searchers/_index.sass
967
public/js/app.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,56 @@ |
|||
<template> |
|||
<Dialog header="Define searcher" |
|||
:visible.sync="showDialog" |
|||
:maximizable="true" |
|||
:modal="true" |
|||
:block-scroll="true" |
|||
:style="{width: '95vw', height: '95vh',}" |
|||
:contentStyle="{overflow: 'visible'}" |
|||
:baseZIndex="2014" |
|||
id="define-searcher" |
|||
ref="define-searcher"> |
|||
|
|||
<create-searcher :is-defining="true" |
|||
:defined-searcher="text" |
|||
@defined="onDefined"> |
|||
</create-searcher> |
|||
</Dialog> |
|||
</template> |
|||
|
|||
<script lang="ts"> |
|||
import {Component, Prop, Vue, Watch} from "vue-property-decorator"; |
|||
import CreateSearcher from './Create'; |
|||
|
|||
@Component({ |
|||
components: { |
|||
CreateSearcher, |
|||
}, |
|||
}) |
|||
export default class DefineSearcher extends Vue { |
|||
private showDialog: boolean = false; |
|||
|
|||
@Prop({default: ''}) |
|||
public readonly text!: string; |
|||
|
|||
private onDefined(searcher: Object) { |
|||
this.$emit('done', searcher); |
|||
} |
|||
|
|||
@Watch('showDialog') |
|||
showDialogChanged() { |
|||
if ( ! this.showDialog) { |
|||
this.$emit('close'); |
|||
} |
|||
} |
|||
|
|||
mounted() { |
|||
this.showDialog = true; |
|||
} |
|||
}; |
|||
</script> |
|||
|
|||
<style lang="sass"> |
|||
#define-searcher |
|||
.p-dialog-content |
|||
min-height: 90% |
|||
</style> |
@ -1 +1,2 @@ |
|||
@import "regex/index" |
|||
@import "searchers/index" |
@ -0,0 +1,3 @@ |
|||
#searchers-create.is-defining |
|||
max-height: 100% |
|||
overflow-y: auto |
@ -0,0 +1 @@ |
|||
@import "create" |
Write
Preview
Loading…
Cancel
Save
Reference in new issue