feat: patient view, media player, and rich editor enhancements

This commit is contained in:
SajjadMahmoody
2026-04-23 21:24:36 +03:30
parent 95592aa510
commit 063b20d26f
101 changed files with 9648 additions and 117 deletions
+25
View File
@@ -0,0 +1,25 @@
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Handle X-XSRF-Token Header
RewriteCond %{HTTP:x-xsrf-token} .
RewriteRule .* - [E=HTTP_X_XSRF_TOKEN:%{HTTP:X-XSRF-Token}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
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
@@ -0,0 +1 @@
window.toggleRichEditorFullscreen=e=>{e.classList.toggle("fullscreen"),e.querySelector(".fullscreen-toggle").classList.toggle("fi-active");let s=function(c){c.key==="Escape"&&(e.classList.remove("fullscreen"),e.querySelector(".fullscreen-toggle").classList.remove("fi-active"),document.removeEventListener("keydown",s))};e.classList.contains("fullscreen")?(document.addEventListener("keydown",s),e.setAttribute("tabindex","-1"),e.focus()):e.removeAttribute("tabindex")};
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
+131
View File
@@ -0,0 +1,131 @@
{
"node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-400-normal.woff": {
"file": "assets/vazirmatn-arabic-400-normal-C4W5XURk.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-400-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-400-normal.woff2": {
"file": "assets/vazirmatn-arabic-400-normal-DMZFCm7K.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-400-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-500-normal.woff": {
"file": "assets/vazirmatn-arabic-500-normal-Dqq3-xo3.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-500-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-500-normal.woff2": {
"file": "assets/vazirmatn-arabic-500-normal-C_lbnnKa.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-500-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-600-normal.woff": {
"file": "assets/vazirmatn-arabic-600-normal-CWYTfCgi.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-600-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-600-normal.woff2": {
"file": "assets/vazirmatn-arabic-600-normal-CPKvAnd1.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-600-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-700-normal.woff": {
"file": "assets/vazirmatn-arabic-700-normal-B5nPuCFv.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-700-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-700-normal.woff2": {
"file": "assets/vazirmatn-arabic-700-normal-Dge_DOjm.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-arabic-700-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-400-normal.woff": {
"file": "assets/vazirmatn-latin-400-normal-GKyMcI03.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-400-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-400-normal.woff2": {
"file": "assets/vazirmatn-latin-400-normal-BT_DHTc7.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-400-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-500-normal.woff": {
"file": "assets/vazirmatn-latin-500-normal-Bg_BALlD.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-500-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-500-normal.woff2": {
"file": "assets/vazirmatn-latin-500-normal-6zZzgpg4.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-500-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-600-normal.woff": {
"file": "assets/vazirmatn-latin-600-normal-BxJiDPKT.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-600-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-600-normal.woff2": {
"file": "assets/vazirmatn-latin-600-normal-D-zF-Oec.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-600-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-700-normal.woff": {
"file": "assets/vazirmatn-latin-700-normal-DrB0PBU6.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-700-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-700-normal.woff2": {
"file": "assets/vazirmatn-latin-700-normal-9BlbvDRV.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-700-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-400-normal.woff": {
"file": "assets/vazirmatn-latin-ext-400-normal-DPxMaNjI.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-400-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-400-normal.woff2": {
"file": "assets/vazirmatn-latin-ext-400-normal-BdGhO0lm.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-400-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-500-normal.woff": {
"file": "assets/vazirmatn-latin-ext-500-normal-4XgegWYb.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-500-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-500-normal.woff2": {
"file": "assets/vazirmatn-latin-ext-500-normal-CgxvvVrG.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-500-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-600-normal.woff": {
"file": "assets/vazirmatn-latin-ext-600-normal-Di8rk35l.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-600-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-600-normal.woff2": {
"file": "assets/vazirmatn-latin-ext-600-normal-CyxCUfFz.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-600-normal.woff2"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-700-normal.woff": {
"file": "assets/vazirmatn-latin-ext-700-normal-DMYLqBto.woff",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-700-normal.woff"
},
"node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-700-normal.woff2": {
"file": "assets/vazirmatn-latin-ext-700-normal-BfoXmNMx.woff2",
"src": "node_modules/@fontsource/vazirmatn/files/vazirmatn-latin-ext-700-normal.woff2"
},
"resources/css/app.css": {
"file": "assets/app-_TFpbERp.css",
"src": "resources/css/app.css",
"isEntry": true,
"name": "app",
"names": [
"app.css"
]
},
"resources/css/filament/admin/theme.css": {
"file": "assets/theme-CFJJ2M3j.css",
"src": "resources/css/filament/admin/theme.css",
"isEntry": true,
"name": "theme",
"names": [
"theme.css"
]
},
"resources/css/vazirmatn.css": {
"file": "assets/vazirmatn-CE-JssqN.css",
"src": "resources/css/vazirmatn.css",
"isEntry": true,
"name": "vazirmatn",
"names": [
"vazirmatn.css"
]
},
"resources/js/app.js": {
"file": "assets/app-BuG9aa18.js",
"name": "app",
"src": "resources/js/app.js",
"isEntry": true
}
}
File diff suppressed because one or more lines are too long
View File
+6
View File
@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
<rect width="64" height="64" rx="14" fill="#2563eb"/>
<!-- Medical cross -->
<rect x="26" y="14" width="12" height="36" rx="3" fill="white"/>
<rect x="14" y="26" width="36" height="12" rx="3" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 306 B

@@ -0,0 +1 @@
@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-cyrillic-ext-wght-normal-IYF56FF6.woff2") format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-cyrillic-wght-normal-JEOLYBOO.woff2") format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-greek-ext-wght-normal-EOVOK2B5.woff2") format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-greek-wght-normal-IRE366VL.woff2") format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-vietnamese-wght-normal-CE5GGD3W.woff2") format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-latin-ext-wght-normal-HA22NDSG.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url("./inter-latin-wght-normal-NRMW37G5.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

+17
View File
@@ -0,0 +1,17 @@
<?php
use Illuminate\Foundation\Application;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
require __DIR__.'/../vendor/autoload.php';
/** @var Application $app */
$app = require_once __DIR__.'/../bootstrap/app.php';
$app->handleRequest(Request::capture());
+2
View File
@@ -0,0 +1,2 @@
User-agent: *
Disallow:
+2
View File
@@ -0,0 +1,2 @@
*
!.gitignore