diff --git a/.gitmodules b/.gitmodules index 990288b..fd180c7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,12 +1,3 @@ -[submodule "systems/search_ui"] - path = systems/search_ui - url = https://git2.tavasi.ir/front/search_ui.git -[submodule "systems/research_ui"] - path = systems/research_ui - url = https://git2.tavasi.ir/front/research_ui.git -[submodule "systems/hadith_ui"] - path = systems/hadith_ui - url = https://git2.tavasi.ir/front/hadith_ui.git -[submodule "systems/chat_ui"] - path = systems/chat_ui - url = https://git2.tavasi.ir/front/chat_ui.git +[submodule "systems/haditha_ui"] + path = systems/haditha_ui + url = https://git2.tavasi.ir/front/haditha_ui.git diff --git a/assets/common/scss/_sahel_light.scss b/assets/common/scss/_sahel_light.scss new file mode 100644 index 0000000..4f9df75 --- /dev/null +++ b/assets/common/scss/_sahel_light.scss @@ -0,0 +1,10 @@ +@font-face { + font-family: sahel; + src: url("../fonts/sahel/Farsi-Digits/Sahel-FD.eot"); + src: url("../fonts/sahel/Farsi-Digits/Sahel-FD.eot?#iefix") + format("embedded-opentype"), + url("../fonts/sahel/Farsi-Digits/Sahel-FD.woff2") format("woff2"), + url("../fonts/sahel/Farsi-Digits/Sahel-FD.woff") format("woff"), + url("../fonts/sahel/Farsi-Digits/Sahel-FD.ttf") format("truetype"); + font-weight: normal; +} diff --git a/components/forms/PropertyBuilder.vue b/components/forms/PropertyBuilder.vue index 813db4d..ddc7c2e 100644 --- a/components/forms/PropertyBuilder.vue +++ b/components/forms/PropertyBuilder.vue @@ -100,8 +100,7 @@ import repoApi from "@apis/repoApi"; import { mapState } from "pinia"; import HttpService from "@services/httpService"; -import { useEntityStore } from "~/systems/search_ui/stores/entityStore"; -import { useCommonStore } from "~/systems/search_ui/stores/useCommonStore"; +import { useCommonStore } from "@stores/useCommonStore"; /** * @vue-data {Object} [listUpdatedText = {}] - متن‌های به‌روزشده در لیست. * @vue-data {undefined} [httpService = undefined] - سرویس HTTP برای درخواست‌ها. @@ -153,18 +152,18 @@ export default { fetchingData: false, httpService: undefined, entity_source: undefined, - entity_id : undefined, + entity_id: undefined, render: 1, selectedCard: null, listUpdatedText: {}, }; }, computed: { - ...mapGetters(useEntityStore, [ - // "selectedItemEntityGetter", + ...mapGetters(useCommonStore, [ + "userPermisionGetter", + "currentUser", "activeTabGetter", ]), - ...mapGetters(useCommonStore,["userPermisionGetter", "currentUser"]), }, methods: { // ...mapMutations("entity", ["SET_ITEM_ENTITY"]), @@ -313,17 +312,14 @@ export default { } }, - async getEntityInfo() { if (this.fetchingData) return; let key = this.$route.params.key; let entityId = this.$route.params.id ?? this.entity_id; - if(key == "qasection" || key == "rgsection") - key = "qaqanon" + if (key == "qasection" || key == "rgsection") key = "qaqanon"; - - // console.log("qaqanon", entityId) + // console.log("qaqanon", entityId) //if (!(key == "qasection" || key == "rgsection") || !entityId) { if (!entityId) { return; @@ -410,7 +406,6 @@ export default { } }, - /** * هندلر برای رویداد فشردن کلید. * @param {Event} event - رویداد فشردن کلید. diff --git a/components/global/BreadCrumb.vue b/components/global/BreadCrumb.vue index dffe0e9..b65104e 100644 --- a/components/global/BreadCrumb.vue +++ b/components/global/BreadCrumb.vue @@ -54,7 +54,7 @@