Renames 'front' folder to 'views'

This commit is contained in:
Mateus Machado Luna 2020-01-14 10:43:26 -03:00
parent c23834582d
commit 09e77b4cf2
248 changed files with 78 additions and 78 deletions

2
.gitignore vendored
View File

@ -16,7 +16,7 @@ last-js-build.md5
last-sass-build.md5
last-composer-build.md5
last-package-build.md5
src/front/admin/scss/.sass-cache
src/views/admin/scss/.sass-cache
src/assets/css/tainacan-admin.css
src/assets/css/tainacan-admin.css.map
src/assets/report.html

View File

@ -13,12 +13,12 @@ current_OS=`uname`
# For macOS (Darwin)
if [ $current_OS == "Darwin" ]; then
find src ./webpack.config.js -type f \( -name "*.js" -or -name "*.vue" -or -name "webpack.config.js" \) -exec md5 {} \; | sort -k 2 | md5 > last-js-build.md5
find ./src/scss/ ./src/front/admin/scss/ ./src/front/gutenberg-blocks/ ./src/front/gutenberg-blocks/tainacan-collections/collections-list ./src/front/gutenberg-blocks/tainacan-facets/facets-list ./src/front/gutenberg-blocks/tainacan-items/dynamic-items-list ./src/front/gutenberg-blocks/tainacan-items/items-list ./src/front/gutenberg-blocks/tainacan-terms/terms-list -type f \( -name "*.scss" \) -exec md5 {} \; | sort -k 2 | md5 > last-sass-build.md5
find ./src/scss/ ./src/views/admin/scss/ ./src/views/gutenberg-blocks/ ./src/views/gutenberg-blocks/tainacan-collections/collections-list ./src/views/gutenberg-blocks/tainacan-facets/facets-list ./src/views/gutenberg-blocks/tainacan-items/dynamic-items-list ./src/views/gutenberg-blocks/tainacan-items/items-list ./src/views/gutenberg-blocks/tainacan-terms/terms-list -type f \( -name "*.scss" \) -exec md5 {} \; | sort -k 2 | md5 > last-sass-build.md5
find ./composer.json -type f \( -name "composer.json" \) -exec md5 {} \; | sort -k 2 | md5 > last-composer-build.md5
find ./package.json -type f \( -name "package.json" -or -name "package-lock.json" \) -exec md5 {} \; | sort -k 2 | md5 > last-package-build.md5
else
find src ./webpack.config.js -type f \( -name "*.js" -or -name "*.vue" -or -name "webpack.config.js" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-js-build.md5
find ./src/scss/ ./src/front/admin/scss/ ./src/front/gutenberg-blocks ./src/front/gutenberg-blocks/tainacan-collections/collections-list ./src/front/gutenberg-blocks/tainacan-facets/facets-list ./src/front/gutenberg-blocks/tainacan-items/dynamic-items-list ./src/front/gutenberg-blocks/tainacan-items/items-list ./src/front/gutenberg-blocks/tainacan-terms/terms-list -type f \( -name "*.scss" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-sass-build.md5
find ./src/scss/ ./src/views/admin/scss/ ./src/views/gutenberg-blocks ./src/views/gutenberg-blocks/tainacan-collections/collections-list ./src/views/gutenberg-blocks/tainacan-facets/facets-list ./src/views/gutenberg-blocks/tainacan-items/dynamic-items-list ./src/views/gutenberg-blocks/tainacan-items/items-list ./src/views/gutenberg-blocks/tainacan-terms/terms-list -type f \( -name "*.scss" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-sass-build.md5
find ./composer.json -type f \( -name "composer.json" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-composer-build.md5
find ./package.json -type f \( -name "package.json" -or -name "package-lock.json" \) -exec md5sum {} \; | sort -k 2 | md5sum > last-package-build.md5
fi

View File

@ -11,29 +11,29 @@ echo "Compilando Sass..."
sass -E 'UTF-8' --cache-location .tmp/sass-cache-1 src/scss/tainacan-embeds.scss:src/assets/css/tainacan-embeds.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-2 src/front/admin/scss/tainacan-admin.scss:src/assets/css/tainacan-admin.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-2 src/views/admin/scss/tainacan-admin.scss:src/assets/css/tainacan-admin.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-3 src/front/roles/tainacan-roles.scss:src/assets/css/tainacan-roles.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-3 src/views/roles/tainacan-roles.scss:src/assets/css/tainacan-roles.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-4 src/front/gutenberg-blocks/tainacan-collections/collections-list/collections-list.scss:src/assets/css/tainacan-gutenberg-block-collections-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-4 src/views/gutenberg-blocks/tainacan-collections/collections-list/collections-list.scss:src/assets/css/tainacan-gutenberg-block-collections-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-5 src/front/gutenberg-blocks/tainacan-collections/carousel-collections-list/carousel-collections-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-collections-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-5 src/views/gutenberg-blocks/tainacan-collections/carousel-collections-list/carousel-collections-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-collections-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-6 src/front/gutenberg-blocks/tainacan-items/items-list/items-list.scss:src/assets/css/tainacan-gutenberg-block-items-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-6 src/views/gutenberg-blocks/tainacan-items/items-list/items-list.scss:src/assets/css/tainacan-gutenberg-block-items-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-7 src/front/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list.scss:src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-7 src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list.scss:src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-8 src/front/gutenberg-blocks/tainacan-items/search-bar/search-bar.scss:src/assets/css/tainacan-gutenberg-block-search-bar.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-8 src/views/gutenberg-blocks/tainacan-items/search-bar/search-bar.scss:src/assets/css/tainacan-gutenberg-block-search-bar.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-9 src/front/gutenberg-blocks/tainacan-items/carousel-items-list/carousel-items-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-items-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-9 src/views/gutenberg-blocks/tainacan-items/carousel-items-list/carousel-items-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-items-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-10 src/front/gutenberg-blocks/tainacan-items/carousel-items-list/carousel-items-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-items-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-10 src/views/gutenberg-blocks/tainacan-items/carousel-items-list/carousel-items-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-items-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-11 src/front/gutenberg-blocks/tainacan-terms/terms-list/terms-list.scss:src/assets/css/tainacan-gutenberg-block-terms-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-11 src/views/gutenberg-blocks/tainacan-terms/terms-list/terms-list.scss:src/assets/css/tainacan-gutenberg-block-terms-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-12 src/front/gutenberg-blocks/tainacan-facets/facets-list/facets-list.scss:src/assets/css/tainacan-gutenberg-block-facets-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-12 src/views/gutenberg-blocks/tainacan-facets/facets-list/facets-list.scss:src/assets/css/tainacan-gutenberg-block-facets-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-13 src/front/gutenberg-blocks/tainacan-terms/carousel-terms-list/carousel-terms-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-terms-list.css
sass -E 'UTF-8' --cache-location .tmp/sass-cache-13 src/views/gutenberg-blocks/tainacan-terms/carousel-terms-list/carousel-terms-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-terms-list.css
echo "Compilação do Sass Concluído!"
exit 0

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -40,7 +40,7 @@
</template>
<script>
import { tainacan as axios, isCancel } from '../../../front/admin/js/axios'
import { tainacan as axios, isCancel } from '../../../views/admin/js/axios'
import { filterTypeMixin, dynamicFilterTypeMixin } from '../filter-types-mixin';
export default {

View File

@ -39,9 +39,9 @@
</template>
<script>
import { isCancel } from '../../../front/admin/js/axios';
import { isCancel } from '../../../views/admin/js/axios';
import { filterTypeMixin, dynamicFilterTypeMixin } from '../filter-types-mixin';
import CheckboxRadioModal from '../../../front/admin/components/modals/checkbox-radio-modal.vue';
import CheckboxRadioModal from '../../../views/admin/components/modals/checkbox-radio-modal.vue';
export default {
mixins: [filterTypeMixin, dynamicFilterTypeMixin],

View File

@ -47,7 +47,7 @@
</template>
<script>
import { wpAjax, dateInter } from "../../../front/admin/js/mixins";
import { wpAjax, dateInter } from "../../../views/admin/js/mixins";
import { filterTypeMixin } from '../filter-types-mixin';
import moment from 'moment';

View File

@ -111,7 +111,7 @@
</template>
<script>
import { wpAjax, dateInter } from "../../../front/admin/js/mixins";
import { wpAjax, dateInter } from "../../../views/admin/js/mixins";
import { filterTypeMixin } from '../filter-types-mixin';
import moment from 'moment';

View File

@ -1,5 +1,5 @@
import qs from 'qs';
import axios from '../../front/admin/js/axios';
import axios from '../../views/admin/js/axios';
import { mapGetters } from 'vuex';
export const filterTypeMixin = {

View File

@ -70,7 +70,7 @@
</template>
<script>
import { wpAjax } from '../../../front/admin/js/mixins';
import { wpAjax } from '../../../views/admin/js/mixins';
import { filterTypeMixin } from '../filter-types-mixin';
export default {

View File

@ -25,7 +25,7 @@
</template>
<script>
import { isCancel } from '../../../front/admin/js/axios';
import { isCancel } from '../../../views/admin/js/axios';
import { filterTypeMixin, dynamicFilterTypeMixin } from '../filter-types-mixin';
export default {

View File

@ -44,7 +44,7 @@
</template>
<script>
import { tainacan as axios, isCancel } from '../../../front/admin/js/axios';
import { tainacan as axios, isCancel } from '../../../views/admin/js/axios';
import { filterTypeMixin, dynamicFilterTypeMixin } from '../filter-types-mixin';
import qs from 'qs';

View File

@ -90,7 +90,7 @@
</script>
<style lang="scss">
@import "../../../src/front/admin/scss/_variables.scss";
@import "../../../src/views/admin/scss/_variables.scss";
.filter-item-forms {

View File

@ -47,9 +47,9 @@
<script>
import qs from 'qs';
import { tainacan as axios, CancelToken, isCancel } from '../../../front/admin/js/axios';
import { tainacan as axios, CancelToken, isCancel } from '../../../views/admin/js/axios';
import { mapGetters } from 'vuex';
import CheckboxRadioModal from '../../../front/admin/components/modals/checkbox-radio-modal.vue';
import CheckboxRadioModal from '../../../views/admin/components/modals/checkbox-radio-modal.vue';
import { filterTypeMixin, dynamicFilterTypeMixin } from '../filter-types-mixin';
export default {

View File

@ -38,7 +38,7 @@
<script>
import qs from 'qs';
import { tainacan as axios } from '../../../front/admin/js/axios';
import { tainacan as axios } from '../../../views/admin/js/axios';
import { filterTypeMixin, dynamicFilterTypeMixin } from '../filter-types-mixin';
export default {

View File

@ -34,7 +34,7 @@
</template>
<script>
import { dateInter } from "../../../front/admin/js/mixins";
import { dateInter } from "../../../views/admin/js/mixins";
import moment from 'moment';
export default {

View File

@ -80,7 +80,7 @@
</template>
<script>
import { tainacan as axios } from '../../../front/admin/js/axios';
import { tainacan as axios } from '../../../views/admin/js/axios';
export default {
props: {

View File

@ -43,7 +43,7 @@
</template>
<script>
import { tainacan as axios } from '../../../front/admin/js/axios';
import { tainacan as axios } from '../../../views/admin/js/axios';
import qs from 'qs';
export default {

View File

@ -102,7 +102,7 @@
</template>
<script>
import { eventBusItemMetadata } from '../../front/admin/js/event-bus-item-metadata'
import { eventBusItemMetadata } from '../../views/admin/js/event-bus-item-metadata'
export default {
name: 'TainacanFormItem',
@ -209,7 +209,7 @@
<style lang="scss" scoped>
@import '../../front/admin/scss/_variables.scss';
@import '../../views/admin/scss/_variables.scss';
.multiple-inputs {
display: flex;

View File

@ -93,7 +93,7 @@
</div>
</template>
<script>
import { tainacan as axios } from '../../../front/admin/js/axios'
import { tainacan as axios } from '../../../views/admin/js/axios'
import { mapActions } from 'vuex';
export default {

View File

@ -84,7 +84,7 @@
</template>
<script>
import { tainacan as axios } from '../../../front/admin/js/axios';
import { tainacan as axios } from '../../../views/admin/js/axios';
export default {
props: {

View File

@ -64,9 +64,9 @@
</template>
<script>
import { tainacan as axios } from '../../../front/admin/js/axios';
import { tainacan as axios } from '../../../views/admin/js/axios';
import qs from 'qs';
import CheckboxRadioModal from '../../../front/admin/components/modals/checkbox-radio-modal.vue'
import CheckboxRadioModal from '../../../views/admin/components/modals/checkbox-radio-modal.vue'
export default {
created() {

View File

@ -73,9 +73,9 @@
</template>
<script>
import { tainacan as axios } from '../../../front/admin/js/axios';
import { tainacan as axios } from '../../../views/admin/js/axios';
import qs from 'qs';
import CheckboxRadioModal from '../../../front/admin/components/modals/checkbox-radio-modal.vue'
import CheckboxRadioModal from '../../../views/admin/components/modals/checkbox-radio-modal.vue'
export default {
created() {

View File

@ -166,18 +166,18 @@ $Tainacan_Mappers = \Tainacan\Mappers_Handler::get_instance();
$Tainacan_Embed = \Tainacan\Embed::get_instance();
require_once(__DIR__ . '/../front/class-tainacan-admin.php');
require_once(__DIR__ . '/../views/class-tainacan-admin.php');
$Tainacan_Admin = \Tainacan\Admin::get_instance();
require_once(__DIR__ . '/../front/class-tainacan-admin-hooks.php');
require_once(__DIR__ . '/../front/admin-hooks-functions.php');
require_once(__DIR__ . '/../views/class-tainacan-admin-hooks.php');
require_once(__DIR__ . '/../views/admin-hooks-functions.php');
$Tainacan_Admin_Hooks = \Tainacan\Admin_Hooks::get_instance();
require_once(__DIR__ . '/../theme-helper/class-tainacan-theme-helper.php');
require_once(__DIR__ . '/../theme-helper/template-tags.php');
$Tainacan_Theme_Helper = \Tainacan\Theme_Helper::get_instance();
require_once(__DIR__ . '/../front/gutenberg-blocks/class-tainacan-gutenberg-block.php');
require_once(__DIR__ . '/../views/gutenberg-blocks/class-tainacan-gutenberg-block.php');
$Tainacan_Search_Engine = new \Tainacan\Search_Engine();
$Tainacan_Elastic_press = \Tainacan\Elastic_Press::get_instance();

View File

@ -164,7 +164,7 @@ export default {
display: grid;
}
@import "../../src/front/admin/scss/_view-mode-cards.scss";
@import "../../src/views/admin/scss/_view-mode-cards.scss";
.tainacan-cards-container .tainacan-card .metadata-title {
padding: 0.6rem 0.75rem;

View File

@ -184,7 +184,7 @@ export default {
$gray3: #dcdcdc;
$gray4: #555758;
@import "../../src/front/admin/scss/_view-mode-masonry.scss";
@import "../../src/views/admin/scss/_view-mode-masonry.scss";
.tainacan-masonry-container .tainacan-masonry-item .metadata-title {
margin: 0px 6px;

View File

@ -206,7 +206,7 @@ export default {
$gray4: #555758;
$gray5: #454647;
@import "../../src/front/admin/scss/_view-mode-records.scss";
@import "../../src/views/admin/scss/_view-mode-records.scss";
.tainacan-records-container .tainacan-record .metadata-title {
padding: 0.6rem 0.75rem;

View File

@ -303,10 +303,10 @@
<script>
import { mapActions, mapGetters } from 'vuex';
import axios from '../front/admin/js/axios';
import axios from '../views/admin/js/axios';
import 'swiper/dist/css/swiper.css';
import { swiper, swiperSlide } from 'vue-awesome-swiper';
import CircularCounter from '../front/admin/components/other/circular-counter.vue';
import CircularCounter from '../views/admin/components/other/circular-counter.vue';
export default {
name: 'ViewModeSlideshow',
@ -663,7 +663,7 @@ export default {
$page-small-side-padding: 25px;
$page-side-padding: 4.166666667%;
@import "../../src/front/admin/scss/_view-mode-slideshow.scss";
@import "../../src/views/admin/scss/_view-mode-slideshow.scss";
.is-fullscreen .table-wrapper {
overflow: hidden !important;

Some files were not shown because too many files have changed in this diff Show More