commit 39528cfc046579aa69ad4b7668b0165552d844ba Author: mustafa-rezae Date: Sat Apr 26 14:37:06 2025 +0330 first commit diff --git a/apis/hadithaApi.js b/apis/hadithaApi.js new file mode 100644 index 0000000..486f782 --- /dev/null +++ b/apis/hadithaApi.js @@ -0,0 +1,28 @@ +export default { + search: { + list: "repo/monir/search/@index_key/@search_type/@type_key/@listkey/@field_collapsed/@offset/@limit/@q=none", + show: "repo/public/get/byid/@index_key/@id/tbookmark", + synonym: "synonym/get/words", + prevNextHadith: "monir/next/@index_key/@vol_id/@parag_order/@step", + getDataTree: "@appname/book/tree/@offset/@limit/@vol_id/@q" + }, + favorite: { + add: "favorite/add/{{data_type}}/{{ref_key}}", + delete: "favorite/delete/{{data_type}}/{{id}}", //id = portal_meet_22569 + deleteByRefid: "favorite/delete/{{data_type}}/{{index_key}}/{{ref_id}}", //id = portal_meet_22569 + // getListSearch: "favorite/list/{{data_type}}/{{offset}}/{{limit}}", //offset=0 , limit=10 + // counts: "favorite/counts/@data_type", // get + + setFavoritesCat: "favorite/tags/@data_type/set/doc/@id", + getCategories: "favorite/tags/@data_type/get", + setCategories: "favorite/tags/@data_type/set", + getCounts: "favorite/tags/@data_type/counts", + + getList: "favorite/list/@data_type/@time_key/@source/@offset/@limit/@q", + }, + library: { + list: "monir/book/volume/@field_collapsed/@offset/@limit/@q", + show: "@appname/book/page/@page_start/@page_end/@vol_id", + prevNextHadith: "monir/nextpage/@index_key/@vol_id/@page_num/@step", + }, +}; diff --git a/assets/haditha/font-icons/about-us.svg b/assets/haditha/font-icons/about-us.svg new file mode 100644 index 0000000..a03d37c --- /dev/null +++ b/assets/haditha/font-icons/about-us.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/haditha/font-icons/add.svg b/assets/haditha/font-icons/add.svg new file mode 100644 index 0000000..9cf257f --- /dev/null +++ b/assets/haditha/font-icons/add.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/haditha/font-icons/bookmark.svg b/assets/haditha/font-icons/bookmark.svg new file mode 100644 index 0000000..13ccb31 --- /dev/null +++ b/assets/haditha/font-icons/bookmark.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/haditha/font-icons/chat-bot.svg b/assets/haditha/font-icons/chat-bot.svg new file mode 100644 index 0000000..ac3cee5 --- /dev/null +++ b/assets/haditha/font-icons/chat-bot.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/haditha/font-icons/chevron-down.svg b/assets/haditha/font-icons/chevron-down.svg new file mode 100644 index 0000000..921e36c --- /dev/null +++ b/assets/haditha/font-icons/chevron-down.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/haditha/font-icons/chevron-left.svg b/assets/haditha/font-icons/chevron-left.svg new file mode 100644 index 0000000..8dd94ae --- /dev/null +++ b/assets/haditha/font-icons/chevron-left.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/haditha/font-icons/chevron-right.svg b/assets/haditha/font-icons/chevron-right.svg new file mode 100644 index 0000000..32e9309 --- /dev/null +++ b/assets/haditha/font-icons/chevron-right.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/haditha/font-icons/close-bg-circle.svg b/assets/haditha/font-icons/close-bg-circle.svg new file mode 100644 index 0000000..4cb2aa3 --- /dev/null +++ b/assets/haditha/font-icons/close-bg-circle.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/haditha/font-icons/close-circle.svg b/assets/haditha/font-icons/close-circle.svg new file mode 100644 index 0000000..a92e4d6 --- /dev/null +++ b/assets/haditha/font-icons/close-circle.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/haditha/font-icons/close.svg b/assets/haditha/font-icons/close.svg new file mode 100644 index 0000000..91312ec --- /dev/null +++ b/assets/haditha/font-icons/close.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/haditha/font-icons/color-swatch.svg b/assets/haditha/font-icons/color-swatch.svg new file mode 100644 index 0000000..a1f001d --- /dev/null +++ b/assets/haditha/font-icons/color-swatch.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/assets/haditha/font-icons/contact-us.svg b/assets/haditha/font-icons/contact-us.svg new file mode 100644 index 0000000..5525fb0 --- /dev/null +++ b/assets/haditha/font-icons/contact-us.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/haditha/font-icons/copyright.svg b/assets/haditha/font-icons/copyright.svg new file mode 100644 index 0000000..4e3fc53 --- /dev/null +++ b/assets/haditha/font-icons/copyright.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/haditha/font-icons/dropdown-chevron-down.svg b/assets/haditha/font-icons/dropdown-chevron-down.svg new file mode 100644 index 0000000..59de275 --- /dev/null +++ b/assets/haditha/font-icons/dropdown-chevron-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/haditha/font-icons/edit-bg-circle.svg b/assets/haditha/font-icons/edit-bg-circle.svg new file mode 100644 index 0000000..c25c914 --- /dev/null +++ b/assets/haditha/font-icons/edit-bg-circle.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/assets/haditha/font-icons/explore.svg b/assets/haditha/font-icons/explore.svg new file mode 100644 index 0000000..d6bef0e --- /dev/null +++ b/assets/haditha/font-icons/explore.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/haditha/font-icons/hashtag.svg b/assets/haditha/font-icons/hashtag.svg new file mode 100644 index 0000000..a6c3090 --- /dev/null +++ b/assets/haditha/font-icons/hashtag.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/assets/haditha/font-icons/home.svg b/assets/haditha/font-icons/home.svg new file mode 100644 index 0000000..5c2af8a --- /dev/null +++ b/assets/haditha/font-icons/home.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/haditha/font-icons/library.svg b/assets/haditha/font-icons/library.svg new file mode 100644 index 0000000..3e6a002 --- /dev/null +++ b/assets/haditha/font-icons/library.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/assets/haditha/font-icons/logout.svg b/assets/haditha/font-icons/logout.svg new file mode 100644 index 0000000..1175206 --- /dev/null +++ b/assets/haditha/font-icons/logout.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/assets/haditha/font-icons/menu.svg b/assets/haditha/font-icons/menu.svg new file mode 100644 index 0000000..8ff9421 --- /dev/null +++ b/assets/haditha/font-icons/menu.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/haditha/font-icons/minus.svg b/assets/haditha/font-icons/minus.svg new file mode 100644 index 0000000..55daed4 --- /dev/null +++ b/assets/haditha/font-icons/minus.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/haditha/font-icons/more-2.svg b/assets/haditha/font-icons/more-2.svg new file mode 100644 index 0000000..341f614 --- /dev/null +++ b/assets/haditha/font-icons/more-2.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/haditha/font-icons/no-result.svg b/assets/haditha/font-icons/no-result.svg new file mode 100644 index 0000000..7028df3 --- /dev/null +++ b/assets/haditha/font-icons/no-result.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/haditha/font-icons/note.svg b/assets/haditha/font-icons/note.svg new file mode 100644 index 0000000..93003ae --- /dev/null +++ b/assets/haditha/font-icons/note.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/assets/haditha/font-icons/pencil.svg b/assets/haditha/font-icons/pencil.svg new file mode 100644 index 0000000..b101acc --- /dev/null +++ b/assets/haditha/font-icons/pencil.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/haditha/font-icons/robot-indicator.svg b/assets/haditha/font-icons/robot-indicator.svg new file mode 100644 index 0000000..14531fe --- /dev/null +++ b/assets/haditha/font-icons/robot-indicator.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/haditha/font-icons/search-2.svg b/assets/haditha/font-icons/search-2.svg new file mode 100644 index 0000000..c6aee08 --- /dev/null +++ b/assets/haditha/font-icons/search-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/haditha/font-icons/search-3.svg b/assets/haditha/font-icons/search-3.svg new file mode 100644 index 0000000..d5991e0 --- /dev/null +++ b/assets/haditha/font-icons/search-3.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/haditha/font-icons/search.svg b/assets/haditha/font-icons/search.svg new file mode 100644 index 0000000..9945454 --- /dev/null +++ b/assets/haditha/font-icons/search.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/haditha/font-icons/tag-active.svg b/assets/haditha/font-icons/tag-active.svg new file mode 100644 index 0000000..a7ebc6c --- /dev/null +++ b/assets/haditha/font-icons/tag-active.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/haditha/font-icons/tag.svg b/assets/haditha/font-icons/tag.svg new file mode 100644 index 0000000..edd4aa8 --- /dev/null +++ b/assets/haditha/font-icons/tag.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/haditha/images/background-1.webp b/assets/haditha/images/background-1.webp new file mode 100644 index 0000000..9cd5100 Binary files /dev/null and b/assets/haditha/images/background-1.webp differ diff --git a/assets/haditha/images/background.webp b/assets/haditha/images/background.webp new file mode 100644 index 0000000..f08545d Binary files /dev/null and b/assets/haditha/images/background.webp differ diff --git a/assets/haditha/images/card-one-bgi.png b/assets/haditha/images/card-one-bgi.png new file mode 100644 index 0000000..14c6f03 Binary files /dev/null and b/assets/haditha/images/card-one-bgi.png differ diff --git a/assets/haditha/images/card-one-bgi.webp b/assets/haditha/images/card-one-bgi.webp new file mode 100644 index 0000000..bb918b3 Binary files /dev/null and b/assets/haditha/images/card-one-bgi.webp differ diff --git a/assets/haditha/images/card-one.png b/assets/haditha/images/card-one.png new file mode 100644 index 0000000..24ca36b Binary files /dev/null and b/assets/haditha/images/card-one.png differ diff --git a/assets/haditha/images/card-one.webp b/assets/haditha/images/card-one.webp new file mode 100644 index 0000000..6706581 Binary files /dev/null and b/assets/haditha/images/card-one.webp differ diff --git a/assets/haditha/images/card-three-bgi.png b/assets/haditha/images/card-three-bgi.png new file mode 100644 index 0000000..b683da4 Binary files /dev/null and b/assets/haditha/images/card-three-bgi.png differ diff --git a/assets/haditha/images/card-three-bgi.webp b/assets/haditha/images/card-three-bgi.webp new file mode 100644 index 0000000..aba5d6b Binary files /dev/null and b/assets/haditha/images/card-three-bgi.webp differ diff --git a/assets/haditha/images/card-three.png b/assets/haditha/images/card-three.png new file mode 100644 index 0000000..3973bc5 Binary files /dev/null and b/assets/haditha/images/card-three.png differ diff --git a/assets/haditha/images/card-three.webp b/assets/haditha/images/card-three.webp new file mode 100644 index 0000000..7d5e991 Binary files /dev/null and b/assets/haditha/images/card-three.webp differ diff --git a/assets/haditha/images/card-two-bgi.png b/assets/haditha/images/card-two-bgi.png new file mode 100644 index 0000000..4fb6fee Binary files /dev/null and b/assets/haditha/images/card-two-bgi.png differ diff --git a/assets/haditha/images/card-two-bgi.webp b/assets/haditha/images/card-two-bgi.webp new file mode 100644 index 0000000..4b64a18 Binary files /dev/null and b/assets/haditha/images/card-two-bgi.webp differ diff --git a/assets/haditha/images/card-two.png b/assets/haditha/images/card-two.png new file mode 100644 index 0000000..be71956 Binary files /dev/null and b/assets/haditha/images/card-two.png differ diff --git a/assets/haditha/images/card-two.webp b/assets/haditha/images/card-two.webp new file mode 100644 index 0000000..523072d Binary files /dev/null and b/assets/haditha/images/card-two.webp differ diff --git a/assets/haditha/images/chevron-down.svg b/assets/haditha/images/chevron-down.svg new file mode 100644 index 0000000..69abfa2 --- /dev/null +++ b/assets/haditha/images/chevron-down.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/haditha/images/fav-icons/android-icon-144x144.png b/assets/haditha/images/fav-icons/android-icon-144x144.png new file mode 100644 index 0000000..4fcc24c Binary files /dev/null and b/assets/haditha/images/fav-icons/android-icon-144x144.png differ diff --git a/assets/haditha/images/fav-icons/android-icon-192x192.png b/assets/haditha/images/fav-icons/android-icon-192x192.png new file mode 100644 index 0000000..c8683e2 Binary files /dev/null and b/assets/haditha/images/fav-icons/android-icon-192x192.png differ diff --git a/assets/haditha/images/fav-icons/android-icon-36x36.png b/assets/haditha/images/fav-icons/android-icon-36x36.png new file mode 100644 index 0000000..d56a1e5 Binary files /dev/null and b/assets/haditha/images/fav-icons/android-icon-36x36.png differ diff --git a/assets/haditha/images/fav-icons/android-icon-48x48.png b/assets/haditha/images/fav-icons/android-icon-48x48.png new file mode 100644 index 0000000..5e46d15 Binary files /dev/null and b/assets/haditha/images/fav-icons/android-icon-48x48.png differ diff --git a/assets/haditha/images/fav-icons/android-icon-72x72.png b/assets/haditha/images/fav-icons/android-icon-72x72.png new file mode 100644 index 0000000..fd6dd34 Binary files /dev/null and b/assets/haditha/images/fav-icons/android-icon-72x72.png differ diff --git a/assets/haditha/images/fav-icons/android-icon-96x96.png b/assets/haditha/images/fav-icons/android-icon-96x96.png new file mode 100644 index 0000000..7020428 Binary files /dev/null and b/assets/haditha/images/fav-icons/android-icon-96x96.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-114x114.png b/assets/haditha/images/fav-icons/apple-icon-114x114.png new file mode 100644 index 0000000..7dd32f8 Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-114x114.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-120x120.png b/assets/haditha/images/fav-icons/apple-icon-120x120.png new file mode 100644 index 0000000..d9bc867 Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-120x120.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-144x144.png b/assets/haditha/images/fav-icons/apple-icon-144x144.png new file mode 100644 index 0000000..4fcc24c Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-144x144.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-152x152.png b/assets/haditha/images/fav-icons/apple-icon-152x152.png new file mode 100644 index 0000000..0879fba Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-152x152.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-180x180.png b/assets/haditha/images/fav-icons/apple-icon-180x180.png new file mode 100644 index 0000000..4d7527b Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-180x180.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-57x57.png b/assets/haditha/images/fav-icons/apple-icon-57x57.png new file mode 100644 index 0000000..e498f7b Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-57x57.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-60x60.png b/assets/haditha/images/fav-icons/apple-icon-60x60.png new file mode 100644 index 0000000..8270b64 Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-60x60.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-72x72.png b/assets/haditha/images/fav-icons/apple-icon-72x72.png new file mode 100644 index 0000000..fd6dd34 Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-72x72.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-76x76.png b/assets/haditha/images/fav-icons/apple-icon-76x76.png new file mode 100644 index 0000000..e52a334 Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-76x76.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon-precomposed.png b/assets/haditha/images/fav-icons/apple-icon-precomposed.png new file mode 100644 index 0000000..2b455ee Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon-precomposed.png differ diff --git a/assets/haditha/images/fav-icons/apple-icon.png b/assets/haditha/images/fav-icons/apple-icon.png new file mode 100644 index 0000000..2b455ee Binary files /dev/null and b/assets/haditha/images/fav-icons/apple-icon.png differ diff --git a/assets/haditha/images/fav-icons/browserconfig.xml b/assets/haditha/images/fav-icons/browserconfig.xml new file mode 100644 index 0000000..c554148 --- /dev/null +++ b/assets/haditha/images/fav-icons/browserconfig.xml @@ -0,0 +1,2 @@ + +#ffffff \ No newline at end of file diff --git a/assets/haditha/images/fav-icons/favicon-16x16.png b/assets/haditha/images/fav-icons/favicon-16x16.png new file mode 100644 index 0000000..ecd0126 Binary files /dev/null and b/assets/haditha/images/fav-icons/favicon-16x16.png differ diff --git a/assets/haditha/images/fav-icons/favicon-32x32.png b/assets/haditha/images/fav-icons/favicon-32x32.png new file mode 100644 index 0000000..9f8ea97 Binary files /dev/null and b/assets/haditha/images/fav-icons/favicon-32x32.png differ diff --git a/assets/haditha/images/fav-icons/favicon-96x96.png b/assets/haditha/images/fav-icons/favicon-96x96.png new file mode 100644 index 0000000..7020428 Binary files /dev/null and b/assets/haditha/images/fav-icons/favicon-96x96.png differ diff --git a/assets/haditha/images/fav-icons/favicon.ico b/assets/haditha/images/fav-icons/favicon.ico new file mode 100644 index 0000000..b85be8f Binary files /dev/null and b/assets/haditha/images/fav-icons/favicon.ico differ diff --git a/assets/haditha/images/fav-icons/manifest.json b/assets/haditha/images/fav-icons/manifest.json new file mode 100644 index 0000000..013d4a6 --- /dev/null +++ b/assets/haditha/images/fav-icons/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "App", + "icons": [ + { + "src": "\/android-icon-36x36.png", + "sizes": "36x36", + "type": "image\/png", + "density": "0.75" + }, + { + "src": "\/android-icon-48x48.png", + "sizes": "48x48", + "type": "image\/png", + "density": "1.0" + }, + { + "src": "\/android-icon-72x72.png", + "sizes": "72x72", + "type": "image\/png", + "density": "1.5" + }, + { + "src": "\/android-icon-96x96.png", + "sizes": "96x96", + "type": "image\/png", + "density": "2.0" + }, + { + "src": "\/android-icon-144x144.png", + "sizes": "144x144", + "type": "image\/png", + "density": "3.0" + }, + { + "src": "\/android-icon-192x192.png", + "sizes": "192x192", + "type": "image\/png", + "density": "4.0" + } + ] +} \ No newline at end of file diff --git a/assets/haditha/images/fav-icons/ms-icon-144x144.png b/assets/haditha/images/fav-icons/ms-icon-144x144.png new file mode 100644 index 0000000..4fcc24c Binary files /dev/null and b/assets/haditha/images/fav-icons/ms-icon-144x144.png differ diff --git a/assets/haditha/images/fav-icons/ms-icon-150x150.png b/assets/haditha/images/fav-icons/ms-icon-150x150.png new file mode 100644 index 0000000..a014050 Binary files /dev/null and b/assets/haditha/images/fav-icons/ms-icon-150x150.png differ diff --git a/assets/haditha/images/fav-icons/ms-icon-310x310.png b/assets/haditha/images/fav-icons/ms-icon-310x310.png new file mode 100644 index 0000000..b86fa21 Binary files /dev/null and b/assets/haditha/images/fav-icons/ms-icon-310x310.png differ diff --git a/assets/haditha/images/fav-icons/ms-icon-70x70.png b/assets/haditha/images/fav-icons/ms-icon-70x70.png new file mode 100644 index 0000000..da737c9 Binary files /dev/null and b/assets/haditha/images/fav-icons/ms-icon-70x70.png differ diff --git a/assets/haditha/images/haditha-title.png b/assets/haditha/images/haditha-title.png new file mode 100644 index 0000000..5c04610 Binary files /dev/null and b/assets/haditha/images/haditha-title.png differ diff --git a/assets/haditha/images/haditha-title.svg b/assets/haditha/images/haditha-title.svg new file mode 100644 index 0000000..8e0942e --- /dev/null +++ b/assets/haditha/images/haditha-title.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/haditha/images/location.png b/assets/haditha/images/location.png new file mode 100644 index 0000000..776158a Binary files /dev/null and b/assets/haditha/images/location.png differ diff --git a/assets/haditha/images/location.webp b/assets/haditha/images/location.webp new file mode 100644 index 0000000..3fa6374 Binary files /dev/null and b/assets/haditha/images/location.webp differ diff --git a/assets/haditha/images/logo.png b/assets/haditha/images/logo.png new file mode 100644 index 0000000..773be8b Binary files /dev/null and b/assets/haditha/images/logo.png differ diff --git a/assets/haditha/images/logo.webp b/assets/haditha/images/logo.webp new file mode 100644 index 0000000..62c2a06 Binary files /dev/null and b/assets/haditha/images/logo.webp differ diff --git a/assets/haditha/images/mobile/backgorund.png b/assets/haditha/images/mobile/backgorund.png new file mode 100644 index 0000000..75d33d7 Binary files /dev/null and b/assets/haditha/images/mobile/backgorund.png differ diff --git a/assets/haditha/images/mobile/section-three-bgi_md.png b/assets/haditha/images/mobile/section-three-bgi_md.png new file mode 100644 index 0000000..7f296b6 Binary files /dev/null and b/assets/haditha/images/mobile/section-three-bgi_md.png differ diff --git a/assets/haditha/images/mobile/section-three-bgi_sm.png b/assets/haditha/images/mobile/section-three-bgi_sm.png new file mode 100644 index 0000000..3b62cd3 Binary files /dev/null and b/assets/haditha/images/mobile/section-three-bgi_sm.png differ diff --git a/assets/haditha/images/modal-bottom-left-bgi.png b/assets/haditha/images/modal-bottom-left-bgi.png new file mode 100644 index 0000000..c380685 Binary files /dev/null and b/assets/haditha/images/modal-bottom-left-bgi.png differ diff --git a/assets/haditha/images/modal-bottom-left-bgi.webp b/assets/haditha/images/modal-bottom-left-bgi.webp new file mode 100644 index 0000000..525fa39 Binary files /dev/null and b/assets/haditha/images/modal-bottom-left-bgi.webp differ diff --git a/assets/haditha/images/modal-bttom-right-bgi.png b/assets/haditha/images/modal-bttom-right-bgi.png new file mode 100644 index 0000000..42ee1ed Binary files /dev/null and b/assets/haditha/images/modal-bttom-right-bgi.png differ diff --git a/assets/haditha/images/modal-bttom-right-bgi.webp b/assets/haditha/images/modal-bttom-right-bgi.webp new file mode 100644 index 0000000..81ded2e Binary files /dev/null and b/assets/haditha/images/modal-bttom-right-bgi.webp differ diff --git a/assets/haditha/images/modal-top-bgi.png b/assets/haditha/images/modal-top-bgi.png new file mode 100644 index 0000000..0f45805 Binary files /dev/null and b/assets/haditha/images/modal-top-bgi.png differ diff --git a/assets/haditha/images/modal-top-bgi.webp b/assets/haditha/images/modal-top-bgi.webp new file mode 100644 index 0000000..f0470f3 Binary files /dev/null and b/assets/haditha/images/modal-top-bgi.webp differ diff --git a/assets/haditha/images/no-data.png b/assets/haditha/images/no-data.png new file mode 100644 index 0000000..c7e372b Binary files /dev/null and b/assets/haditha/images/no-data.png differ diff --git a/assets/haditha/images/robot-indicator.svg b/assets/haditha/images/robot-indicator.svg new file mode 100644 index 0000000..1215d98 --- /dev/null +++ b/assets/haditha/images/robot-indicator.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/haditha/images/sample-bgi.svg b/assets/haditha/images/sample-bgi.svg new file mode 100644 index 0000000..76e193d --- /dev/null +++ b/assets/haditha/images/sample-bgi.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/haditha/images/save.png b/assets/haditha/images/save.png new file mode 100644 index 0000000..76dfd68 Binary files /dev/null and b/assets/haditha/images/save.png differ diff --git a/assets/haditha/images/section-four_card-five.png b/assets/haditha/images/section-four_card-five.png new file mode 100644 index 0000000..aa9b704 Binary files /dev/null and b/assets/haditha/images/section-four_card-five.png differ diff --git a/assets/haditha/images/section-four_card-four.png b/assets/haditha/images/section-four_card-four.png new file mode 100644 index 0000000..825e21e Binary files /dev/null and b/assets/haditha/images/section-four_card-four.png differ diff --git a/assets/haditha/images/section-four_card-one.png b/assets/haditha/images/section-four_card-one.png new file mode 100644 index 0000000..5989bf0 Binary files /dev/null and b/assets/haditha/images/section-four_card-one.png differ diff --git a/assets/haditha/images/section-four_card-three.png b/assets/haditha/images/section-four_card-three.png new file mode 100644 index 0000000..7ca408f Binary files /dev/null and b/assets/haditha/images/section-four_card-three.png differ diff --git a/assets/haditha/images/section-four_card-two.png b/assets/haditha/images/section-four_card-two.png new file mode 100644 index 0000000..cf84d6b Binary files /dev/null and b/assets/haditha/images/section-four_card-two.png differ diff --git a/assets/haditha/images/section-three-bgi.webp b/assets/haditha/images/section-three-bgi.webp new file mode 100644 index 0000000..a7ea6cd Binary files /dev/null and b/assets/haditha/images/section-three-bgi.webp differ diff --git a/assets/haditha/images/section-three-logo.png b/assets/haditha/images/section-three-logo.png new file mode 100644 index 0000000..3e99c40 Binary files /dev/null and b/assets/haditha/images/section-three-logo.png differ diff --git a/assets/haditha/images/section-three-logo.svg b/assets/haditha/images/section-three-logo.svg new file mode 100644 index 0000000..dc63f31 --- /dev/null +++ b/assets/haditha/images/section-three-logo.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/haditha/images/sub-header-bgi.png b/assets/haditha/images/sub-header-bgi.png new file mode 100644 index 0000000..2c03807 Binary files /dev/null and b/assets/haditha/images/sub-header-bgi.png differ diff --git a/assets/haditha/images/sub-header-bgi.webp b/assets/haditha/images/sub-header-bgi.webp new file mode 100644 index 0000000..10f2b4f Binary files /dev/null and b/assets/haditha/images/sub-header-bgi.webp differ diff --git a/assets/haditha/scss/haditha.css b/assets/haditha/scss/haditha.css new file mode 100644 index 0000000..99270c9 --- /dev/null +++ b/assets/haditha/scss/haditha.css @@ -0,0 +1,77 @@ +:root { + --ui-primary: #00a762; + --ui-color-four: #4be8ae; + --ui-container-wide: 1200px; + --ui-color-one: #444; + --ui-color-three: #626b84; + --ui-color-two: #1b2132; + + --ui-container: 720px; /* library show page*/ + --ui-container-two: 1232px; /* library show page*/ +} + +@import "tailwindcss"; +@import "@nuxt/ui"; + +/* custom imports */ +@import "../../../../../assets/common/scss/_IRANSansX.scss"; +@import "../../../../../assets/common/scss/_takrim.scss"; + +@theme { + --font-sans: "IRANSansX", "Public Sans", sans-serif; + --breakpoint-sm: 360px; + --breakpoint-md: 720px; + --breakpoint-lg: 992px; + --breakpoint-xl: 1280px; + --breakpoint-2xl: 1536px; + --breakpoint-3xl: 1900px; +} + +@layer { +} +/* @variant { + +} */ +/* @source */ + +/* @import "../../../../../assets/common/scss/customizations/_variables.scss"; */ +/* @import "../../../../../assets/common/scss/customizations/_list-variables.scss"; */ +/* @import "../../../../../assets/common/scss/customizations/_monir-variables.scss"; */ +/* @import "../../../../../assets/common/scss/components/components.scss"; */ +/* @import "../../../../../assets/common/scss/plugins/plugins.scss"; */ +/* @import "../../../../../assets/common/scss/mixin.scss"; */ +/* @import "../../../../../assets/common/scss/placeholder.scss"; */ +/* @import "../../../../../assets/common/scss/layouts/layouts.scss"; */ +/* @import "../../../../../assets/common/scss/common.scss"; */ +/* @import "../../../../../assets/common/scss/responsive/responsive.scss"; */ + +html { + height: 100%; + direction: rtl; + text-align: right; + font-family: IRANSansX; + scroll-behavior: smooth; + + body { + height: 100%; + direction: rtl; + text-align: right; + font-family: IRANSansX; + scroll-behavior: smooth; + } +} +.haditha-system { + height: 100%; + display: flex; + flex-direction: column; + + .isolate { + flex-grow: 1; + } +} +.firefox-scrollbar { + scrollbar-width: thin; + scrollbar-color: #ccc #eee; +} + +@import "./responsive/responsive.css"; diff --git a/assets/haditha/scss/responsive/responsive.css b/assets/haditha/scss/responsive/responsive.css new file mode 100644 index 0000000..e69de29 diff --git a/components/haditha/AutoComplation.vue b/components/haditha/AutoComplation.vue new file mode 100644 index 0000000..d8da47a --- /dev/null +++ b/components/haditha/AutoComplation.vue @@ -0,0 +1,978 @@ + + + + + + + diff --git a/components/haditha/CardList.vue b/components/haditha/CardList.vue new file mode 100644 index 0000000..b156171 --- /dev/null +++ b/components/haditha/CardList.vue @@ -0,0 +1,130 @@ + + + + + diff --git a/components/haditha/Dropdown.vue b/components/haditha/Dropdown.vue new file mode 100644 index 0000000..4aa537e --- /dev/null +++ b/components/haditha/Dropdown.vue @@ -0,0 +1,87 @@ + + + diff --git a/components/haditha/NavigationMenu.vue b/components/haditha/NavigationMenu.vue new file mode 100644 index 0000000..e144e05 --- /dev/null +++ b/components/haditha/NavigationMenu.vue @@ -0,0 +1,411 @@ + + + + + diff --git a/components/haditha/hero-page/SectionFive.vue b/components/haditha/hero-page/SectionFive.vue new file mode 100644 index 0000000..f50fadc --- /dev/null +++ b/components/haditha/hero-page/SectionFive.vue @@ -0,0 +1,225 @@ + + + + + diff --git a/components/haditha/hero-page/SectionFour.vue b/components/haditha/hero-page/SectionFour.vue new file mode 100644 index 0000000..ba6d4f0 --- /dev/null +++ b/components/haditha/hero-page/SectionFour.vue @@ -0,0 +1,141 @@ + + + diff --git a/components/haditha/hero-page/SectionOne.vue b/components/haditha/hero-page/SectionOne.vue new file mode 100644 index 0000000..74c3ce7 --- /dev/null +++ b/components/haditha/hero-page/SectionOne.vue @@ -0,0 +1,149 @@ + + + + diff --git a/components/haditha/hero-page/SectionThree.vue b/components/haditha/hero-page/SectionThree.vue new file mode 100644 index 0000000..ae90075 --- /dev/null +++ b/components/haditha/hero-page/SectionThree.vue @@ -0,0 +1,207 @@ + + + diff --git a/components/haditha/hero-page/SectionTwo.vue b/components/haditha/hero-page/SectionTwo.vue new file mode 100644 index 0000000..a6a62b8 --- /dev/null +++ b/components/haditha/hero-page/SectionTwo.vue @@ -0,0 +1,179 @@ + + + diff --git a/components/haditha/library-show/AccordionMenu..vue b/components/haditha/library-show/AccordionMenu..vue new file mode 100644 index 0000000..87e6834 --- /dev/null +++ b/components/haditha/library-show/AccordionMenu..vue @@ -0,0 +1,181 @@ + + + + + diff --git a/components/haditha/library-show/UTree.vue b/components/haditha/library-show/UTree.vue new file mode 100644 index 0000000..b051478 --- /dev/null +++ b/components/haditha/library-show/UTree.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/components/haditha/login/EnterMobile.vue b/components/haditha/login/EnterMobile.vue new file mode 100644 index 0000000..b92a3fd --- /dev/null +++ b/components/haditha/login/EnterMobile.vue @@ -0,0 +1,241 @@ + + + + + + + diff --git a/components/haditha/login/EnterVerifyCode.vue b/components/haditha/login/EnterVerifyCode.vue new file mode 100644 index 0000000..6ac9850 --- /dev/null +++ b/components/haditha/login/EnterVerifyCode.vue @@ -0,0 +1,246 @@ + + + + + + + diff --git a/components/haditha/search-page/SearchList.vue b/components/haditha/search-page/SearchList.vue new file mode 100644 index 0000000..7866e1c --- /dev/null +++ b/components/haditha/search-page/SearchList.vue @@ -0,0 +1,228 @@ + + + + + diff --git a/components/haditha/search-page/SearchShow.vue b/components/haditha/search-page/SearchShow.vue new file mode 100644 index 0000000..11486cc --- /dev/null +++ b/components/haditha/search-page/SearchShow.vue @@ -0,0 +1,487 @@ + + + + + + diff --git a/json/haditha/headLinks.json b/json/haditha/headLinks.json new file mode 100644 index 0000000..c6b6c49 --- /dev/null +++ b/json/haditha/headLinks.json @@ -0,0 +1,77 @@ +[ + { + "rel": "icon", + "type": "image/x-icon", + "href": "/img/haditha/fav-icons/favicon.ico" + }, + { "rel": "manifest", "href": "/img/haditha/fav-icons/manifest.json" }, + { + "rel": "icon", + "type": "image/png", + "sizes": "16x16", + "href": "/img/haditha/fav-icons/favicon-16x16.png" + }, + { + "rel": "icon", + "type": "image/png", + "sizes": "32x32", + "href": "/img/haditha/fav-icons/favicon-32x32.png" + }, + { + "rel": "icon", + "type": "image/png", + "sizes": "96x96", + "href": "/img/haditha/fav-icons/favicon-96x96.png" + }, + { + "rel": "icon", + "sizes": "192x192", + "type": "image/png", + "href": "/img/haditha/fav-icons/android-icon-192x192.png" + }, + { + "rel": "apple-touch-icon", + "sizes": "57x57", + "href": "/img/haditha/fav-icons/apple-icon-57x57.png" + }, + { + "rel": "apple-touch-icon", + "sizes": "60x60", + "href": "/img/haditha/fav-icons/android-icon-60x60.png" + }, + { + "rel": "apple-touch-icon", + "sizes": "72x72", + "href": "/img/haditha/fav-icons/android-icon-72x72.png" + }, + { + "rel": "apple-touch-icon", + "sizes": "76x76", + "href": "/img/haditha/fav-icons/android-icon-76x76.png" + }, + { + "rel": "apple-touch-icon", + "sizes": "114x114", + "href": "/img/haditha/fav-icons/android-icon-114x114.png" + }, + { + "rel": "apple-touch-icon", + "sizes": "120x120", + "href": "/img/haditha/fav-icons/android-icon-120x120.png" + }, + { + "rel": "apple-touch-icon", + "sizes": "144x144", + "href": "/img/haditha/fav-icons/android-icon-144x144.png" + }, + { + "rel": "apple-touch-icon", + "sizes": "152x152", + "href": "/img/haditha/fav-icons/android-icon-152x152.png" + }, + { + "rel": "apple-touch-icon", + "sizes": "180x180", + "href": "/img/haditha/fav-icons/android-icon-180x180.png" + } +] diff --git a/json/haditha/headMetas.json b/json/haditha/headMetas.json new file mode 100644 index 0000000..1ef3067 --- /dev/null +++ b/json/haditha/headMetas.json @@ -0,0 +1,8 @@ +[ + { "name": "msapplication-TileColor", "content": "#ffffff" }, + { + "name": "msapplication-TileImage", + "content": "/img/haditha/fav-icons/ms-icon-144x144.png" + }, + { "name": "theme-color", "content": "#ffffff" } +] diff --git a/json/haditha/menu.json b/json/haditha/menu.json new file mode 100644 index 0000000..42fb7b1 --- /dev/null +++ b/json/haditha/menu.json @@ -0,0 +1,36 @@ +{ + "reports": [ + { + "icon": "Home-21", + "color": 1, + "link": "defaultRoute", + "actionMode": 1, + "title": "خانه", + "translateKey": "Home" + }, + { + "icon": "Component-198--1", + "color": 3, + "link": "search", + "actionMode": 3, + "title": "جستجو", + "translateKey": "Search" + }, + { + "icon": "Component-68--1", + "color": 3, + "link": "searchNavigation", + "actionMode": 3, + "title": "فهرست", + "translateKey": "List" + }, + { + "icon": "reports", + "color": 3, + "link": "searchChart", + "actionMode": 3, + "title": "نمودار", + "translateKey": "Chart" + } + ] +} diff --git a/json/haditha/sidbarMenuMin.json b/json/haditha/sidbarMenuMin.json new file mode 100644 index 0000000..56b4cd8 --- /dev/null +++ b/json/haditha/sidbarMenuMin.json @@ -0,0 +1,12 @@ +{ + "reports": [ + { + "icon": "Home-21", + "color": 1, + "link": "defaultRoute", + "actionMode": 1, + "title": "‌خانه", + "translateKey": "Dashboard" + } + ] +} diff --git a/json/haditha/sidebar.json b/json/haditha/sidebar.json new file mode 100644 index 0000000..66393d1 --- /dev/null +++ b/json/haditha/sidebar.json @@ -0,0 +1,16 @@ +[ + { + "color": 1, + "icon": "reports", + "link": "managementReports", + "title": "آمار", + "translateKey": "Statistics" + },{ + "color": 2, + "icon": "settings", + "link": "managementSetting", + "title": "تنظیمات", + "translateKey": "Settings" + } + +] \ No newline at end of file diff --git a/layouts/HadithaLayout.vue b/layouts/HadithaLayout.vue new file mode 100644 index 0000000..706c95e --- /dev/null +++ b/layouts/HadithaLayout.vue @@ -0,0 +1,26 @@ + + + + + diff --git a/layouts/readme.md b/layouts/readme.md new file mode 100644 index 0000000..e11d43e --- /dev/null +++ b/layouts/readme.md @@ -0,0 +1,5 @@ +Layouts are wrappers around pages that contain a common User Interface for several pages, such as +a header and footer display. Layouts are Vue files using components to display the page +content. The layouts/default.vue file will be used by default. Custom layouts can be set as part of +your page metadata. +If you only have a single layout in your application, we recommend using app.vue with instead. \ No newline at end of file diff --git a/pages/haditha/chat-bot.vue b/pages/haditha/chat-bot.vue new file mode 100644 index 0000000..a0c8a7a --- /dev/null +++ b/pages/haditha/chat-bot.vue @@ -0,0 +1,546 @@ + + + + + + + diff --git a/pages/haditha/favorites/[id]/[slug]/index.vue b/pages/haditha/favorites/[id]/[slug]/index.vue new file mode 100644 index 0000000..23d0bb1 --- /dev/null +++ b/pages/haditha/favorites/[id]/[slug]/index.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/pages/haditha/favorites/index.vue b/pages/haditha/favorites/index.vue new file mode 100644 index 0000000..627f984 --- /dev/null +++ b/pages/haditha/favorites/index.vue @@ -0,0 +1,284 @@ + + + + + diff --git a/pages/haditha/index.vue b/pages/haditha/index.vue new file mode 100644 index 0000000..92fc374 --- /dev/null +++ b/pages/haditha/index.vue @@ -0,0 +1,131 @@ + + + diff --git a/pages/haditha/library/[id]/[slug]/index.vue b/pages/haditha/library/[id]/[slug]/index.vue new file mode 100644 index 0000000..46c2a29 --- /dev/null +++ b/pages/haditha/library/[id]/[slug]/index.vue @@ -0,0 +1,623 @@ + + + + + + + diff --git a/pages/haditha/library/index.vue b/pages/haditha/library/index.vue new file mode 100644 index 0000000..8d9bb3f --- /dev/null +++ b/pages/haditha/library/index.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/pages/haditha/login.vue b/pages/haditha/login.vue new file mode 100644 index 0000000..47e7abe --- /dev/null +++ b/pages/haditha/login.vue @@ -0,0 +1,262 @@ + + + + + + + diff --git a/pages/haditha/public-pages/about-us.vue b/pages/haditha/public-pages/about-us.vue new file mode 100644 index 0000000..b64f240 --- /dev/null +++ b/pages/haditha/public-pages/about-us.vue @@ -0,0 +1,122 @@ + + + + + diff --git a/pages/haditha/public-pages/contactus.vue b/pages/haditha/public-pages/contactus.vue new file mode 100644 index 0000000..7d6cd9f --- /dev/null +++ b/pages/haditha/public-pages/contactus.vue @@ -0,0 +1,199 @@ + + + + + diff --git a/pages/haditha/public-pages/index.vue b/pages/haditha/public-pages/index.vue new file mode 100644 index 0000000..379a63f --- /dev/null +++ b/pages/haditha/public-pages/index.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/pages/haditha/public-pages/rules.vue b/pages/haditha/public-pages/rules.vue new file mode 100644 index 0000000..83aba9a --- /dev/null +++ b/pages/haditha/public-pages/rules.vue @@ -0,0 +1,134 @@ + + + + + diff --git a/pages/haditha/search/[id]/[slug]/index.vue b/pages/haditha/search/[id]/[slug]/index.vue new file mode 100644 index 0000000..34d1aa8 --- /dev/null +++ b/pages/haditha/search/[id]/[slug]/index.vue @@ -0,0 +1,776 @@ + + + + + + diff --git a/pages/haditha/search/index.vue b/pages/haditha/search/index.vue new file mode 100644 index 0000000..1e30028 --- /dev/null +++ b/pages/haditha/search/index.vue @@ -0,0 +1,1168 @@ + + + + + + + diff --git a/stores/hadithaStore.ts b/stores/hadithaStore.ts new file mode 100644 index 0000000..0fe7188 --- /dev/null +++ b/stores/hadithaStore.ts @@ -0,0 +1,18 @@ +export const useHadithaStore = defineStore("hadithaStore", { + persist: { + storage: piniaPluginPersistedstate.localStorage(), + }, + state: () => ({ + searchPhrase: "" as string, + }), + getters: { + searchPhraseGetter(state) { + return state.searchPhrase; + }, + }, + actions: { + searchPhraseSetter(newVal = "") { + this.searchPhrase = newVal; + }, + }, +}); diff --git a/types/hadithType.ts b/types/hadithType.ts new file mode 100644 index 0000000..43fcc77 --- /dev/null +++ b/types/hadithType.ts @@ -0,0 +1,373 @@ +export interface HadithResponseModel { + status: number; + message: string; + postion: number; + meta: any; + took: number; + timed_out: boolean; + _shards: Shards; + hits: Hits; + aggregations: Aggregations; + params: Params; +} +export interface HadithResponseShowModel { + status: number + message: string + postion: number + meta: any + _index: string + _id: string + _version: number + _seq_no: number + _primary_term: number + found: boolean + _source: Source +} + +export interface Shards { + total: number; + successful: number; + skipped: number; + failed: number; +} + +export interface Hits { + total: Total; + max_score: number; + hits: Hit[]; +} + +export interface Total { + value: number; + relation: string; +} + +export interface Hit { + _index: string; + _id: string; + _score: number; + _source: Source; + highlight?: Highlight; +} + +export interface Source { + id: string; + address: Address; + content: string; + meta: Meta; + parag_order: number; + style_tag: string; + heading_level: number; + sub_ayehs: any[]; + sub_hadithes: any[]; + type_key: string; + type_title: string; + lang: string; + tocs: string[]; + xml: string; + ai_embeddings?: number[]; + ai_classes?: AiClass[]; +} + +export interface Address { + book_title: string; + page_end: number; + page_num: number; + vol_id: string; + vol_num: string; + vol_title: string; +} + +export interface Meta { + hadith_description: string; + hadith_sanad: string; + hadith_references: any[]; +} + +export interface AiClass { + score: number; + label: string; +} + +export interface Highlight { + "content.fa": string[]; + xml: string[]; + "ai_classes.label"?: string[]; + "content.ph": string[]; + content: string[]; + type_key: string[]; +} + +export interface Aggregations { + book_title: BookTitle; + ai_classes: AiClasses; + ai_keywords: AiKeywords; + vol_title: VolTitle; + type_title: TypeTitle; + lang: Lang; +} + +export interface BookTitle { + doc_count_error_upper_bound: number; + sum_other_doc_count: number; + buckets: Bucket[]; +} + +export interface Bucket { + key: string; + doc_count: number; +} + +export interface AiClasses { + doc_count_error_upper_bound: number; + sum_other_doc_count: number; + buckets: Bucket2[]; +} + +export interface Bucket2 { + key: string; + doc_count: number; +} + +export interface AiKeywords { + doc_count_error_upper_bound: number; + sum_other_doc_count: number; + buckets: Bucket3[]; +} + +export interface Bucket3 { + key: string; + doc_count: number; +} + +export interface VolTitle { + doc_count_error_upper_bound: number; + sum_other_doc_count: number; + buckets: Bucket4[]; +} + +export interface Bucket4 { + key: string; + doc_count: number; +} + +export interface TypeTitle { + doc_count_error_upper_bound: number; + sum_other_doc_count: number; + buckets: Bucket5[]; +} + +export interface Bucket5 { + key: string; + doc_count: number; +} + +export interface Lang { + doc_count_error_upper_bound: number; + sum_other_doc_count: number; + buckets: Bucket6[]; +} + +export interface Bucket6 { + key: string; + doc_count: number; +} + +export interface Params { + index: string; + body: Body; +} + +export interface Body { + query: Query; + from: string; + size: string; + aggs: Aggs; + highlight: Highlight2; +} + +export interface Query { + bool: Bool; +} + +export interface Bool { + must: Must[]; +} + +export interface Must { + bool: Bool2; +} + +export interface Bool2 { + should?: Should[]; + filter?: Filter; +} + +export interface Should { + match_phrase?: MatchPhrase; + match?: Match; + bool?: Bool3; +} + +export interface MatchPhrase { + "content.ph": ContentPh; +} + +export interface ContentPh { + query: string; + boost: number; +} + +export interface Match { + "content.fa"?: ContentFa; + content?: Content; + "content.ar"?: ContentAr; +} + +export interface ContentFa { + query: string; + boost: number; +} + +export interface Content { + query: string; + boost: number; +} + +export interface ContentAr { + query: string; + boost: number; +} + +export interface Bool3 { + must: Must2[]; +} + +export interface Must2 { + match: Match2; +} + +export interface Match2 { + book_title: BookTitle2; +} + +export interface BookTitle2 { + query: string; + boost: number; +} + +export interface Filter { + bool: Bool4; +} + +export interface Bool4 { + must: Must3[]; +} + +export interface Must3 { + term: Term; +} + +export interface Term { + type_key: string; +} + +export interface Aggs { + book_title: BookTitle3; + ai_classes: AiClasses2; + ai_keywords: AiKeywords2; + vol_title: VolTitle2; + type_title: TypeTitle2; + lang: Lang2; +} + +export interface BookTitle3 { + terms: Terms; +} + +export interface Terms { + field: string; + size: number; +} + +export interface AiClasses2 { + terms: Terms2; +} + +export interface Terms2 { + field: string; + size: number; +} + +export interface AiKeywords2 { + terms: Terms3; +} + +export interface Terms3 { + field: string; + size: number; +} + +export interface VolTitle2 { + terms: Terms4; +} + +export interface Terms4 { + field: string; + size: number; +} + +export interface TypeTitle2 { + terms: Terms5; +} + +export interface Terms5 { + field: string; + size: number; +} + +export interface Lang2 { + terms: Terms6; +} + +export interface Terms6 { + field: string; + size: number; +} + +export interface Highlight2 { + pre_tags: string[]; + post_tags: string[]; + fields: Fields; + require_field_match: boolean; + fragment_size: number; + number_of_fragments: number; + boundary_scanner: string; +} + +export interface Fields { + "*": GeneratedType; +} + +export interface GeneratedType {} + + +export interface Root { + _index: string + _id: string + _score: any + _source: Source + sort: number[] +} + +export type Synonym = { + title: string; + enable: boolean; + enableForm: boolean; + subTitles: [ + { + title: string; + active: boolean; + } + ]; +}; \ No newline at end of file