odant-work 1.0.91 → 1.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/#system/certs/russian_trusted_root_ca.pem +32 -32
- package/#system/mail.json.example +9 -9
- package/#system/package-manifest.json +635 -685
- package/#system/settings.json.example +3 -3
- package/{models/$ai → $server}/$folder/$class/$ai/class.js +11 -11
- package/{models/$ai/$folder/$class/$ai/handlers/pages/form/system/$handler/tabs/ai/$handler/ai.js → $server/$folder/$class/$ai/handlers/pages/form/system/ai/$handler/class.js} +384 -430
- package/$server/$folder/$class/$data/handlers/pages/form/objects/$handler/class.js +2158 -0
- package/$server/$folder/$class/$data/handlers/pages/form/objects/object/$handler/class.js +1377 -0
- package/$server/$folder/$class/$domain/class.js +4 -4
- package/$server/$folder/$class/$domain/handlers/methods/restore/$handler/class.js +5 -5
- package/$server/$folder/$class/$domain/readme.md +1 -1
- package/$server/$folder/$class/$handler/$trigger/class.js +3 -3
- package/$server/$folder/$class/$handler/class.js +9 -9
- package/$server/$folder/$class/$handler/handlers/pages/editor/$handler/class.js +5 -5
- package/$server/$folder/$class/$handler/readme.md +23 -23
- package/$server/$folder/$class/$module/$mcp/class.js +342 -0
- package/$server/$folder/$class/$module/$mcp/handlers/pages/form/system/mcp/$handler/class.js +158 -0
- package/{models/$ai/$folder/$class → $server/$folder/$class/$module}/$provider/class.js +1 -1
- package/{models/$ai/$folder/$class/$provider/handlers/pages/form/system/$handler/tabs/ai/$handler/ai.js → $server/$folder/$class/$module/$provider/handlers/pages/form/system/ai/$handler/class.js} +156 -166
- package/$server/$folder/$class/$module/$provider/readme.md +16 -0
- package/$server/$folder/$class/$module/class.js +7 -399
- package/$server/$folder/$class/$module/handlers/pages/form/system/{$handler/tabs/modules → modules}/$handler/class.js +1 -0
- package/$server/$folder/$class/$structure/$project/$folder/$class/$structure/$project/class.js +4 -0
- package/$server/$folder/$class/$structure/{$organization → $project}/$folder/$class/$structure/class.js +1 -1
- package/$server/$folder/$class/$structure/$project/class.js +11 -8
- package/$server/$folder/$class/$structure/{$organization/handlers/pages/site/$handler/site.js → $project/handlers/pages/site/$handler/class.js} +352 -365
- package/$server/$folder/$class/$structure/$project/readme.md +3 -11
- package/$server/$folder/$class/$structure/$server/handlers/methods/distro/$handler/class.js +1 -1
- package/$server/$folder/$class/$structure/$server/handlers/pages/form/system/{$handler/tabs/license/$handler/license.js → license/$handler/class.js} +104 -103
- package/$server/$folder/$class/$structure/$server/handlers/pages/site/$handler/{site.js → class.js} +45 -30
- package/$server/$folder/$class/$structure/$user/class.js +2 -2
- package/$server/$folder/$class/$structure/$user/handlers/pages/form/system/agent/$handler/class.js +3 -0
- package/$server/$folder/$class/$structure/$user/handlers/pages/form/system/messengers/$handler/class.js +3 -0
- package/$server/$folder/$class/$structure/$user/handlers/pages/form/system/modules/$handler/class.js +3 -0
- package/$server/$folder/$class/$structure/$user/handlers/pages/form/system/{$handler/tabs/profile/$handler/profile.js → profile/$handler/class.js} +6 -2
- package/$server/$folder/$class/$structure/$user/handlers/pages/form/system/skills/$handler/class.js +3 -0
- package/$server/$folder/$class/$structure/ai/system.md +1 -1
- package/$server/$folder/$class/$structure/class.js +39 -1
- package/$server/$folder/$class/$structure/handlers/methods/archive/$handler/class.js +3 -3
- package/$server/$folder/$class/$structure/handlers/pages/data/$handler/class.js +308 -5
- package/$server/$folder/$class/$structure/handlers/pages/explorer/$handler/class.js +14 -3
- package/$server/$folder/$class/$structure/handlers/pages/form/calendar/$handler/class.js +1281 -7
- package/$server/$folder/$class/$structure/handlers/pages/form/calendar/$handler/readme.md +40 -40
- package/$server/$folder/$class/$structure/handlers/pages/form/chat/$handler/class.js +2216 -6
- package/$server/$folder/$class/$structure/handlers/pages/form/email/$handler/class.js +1304 -6
- package/$server/$folder/$class/$structure/handlers/pages/form/search/$handler/class.js +305 -5
- package/$server/$folder/$class/$structure/handlers/pages/form/system/{$handler/tabs/agent/$handler/agent.js → agent/$handler/class.js} +329 -320
- package/$server/$folder/$class/$structure/handlers/pages/form/system/{$handler/tabs/database/$handler/database.js → database/$handler/class.js} +510 -577
- package/$server/$folder/$class/$structure/handlers/pages/form/system/{$handler/tabs/messengers/$handler/messengers.js → messengers/$handler/class.js} +143 -144
- package/$server/$folder/$class/$structure/handlers/pages/form/system/modules/$handler/class.js +270 -0
- package/$server/$folder/$class/$structure/handlers/pages/form/system/skills/$handler/class.js +256 -0
- package/$server/$folder/$class/$structure/handlers/pages/form/system/staff/$handler/class.js +2114 -0
- package/$server/$folder/$class/$structure/handlers/pages/site/$handler/class.js +229 -4
- package/$server/$folder/$class/$structure/handlers/pages/site/$handler/readme.md +1 -1
- package/$server/$folder/$class/$structure/readme.md +4 -4
- package/$server/$folder/$class/ai/agents/builder.md +2 -2
- package/$server/$folder/$class/ai/agents/org-architect.md +5 -5
- package/$server/$folder/$class/ai/agents/readme.md +2 -2
- package/$server/$folder/$class/ai/agents/schema-validator.md +2 -2
- package/$server/$folder/$class/ai/config.js +19 -19
- package/$server/$folder/$class/ai/prompt/$method/class.js +41 -41
- package/$server/$folder/$class/ai/readme.md +1 -1
- package/$server/$folder/$class/ai/skills/accounting-design.md +1 -1
- package/$server/$folder/$class/ai/skills/approval-flow.md +14 -14
- package/$server/$folder/$class/ai/skills/backup-check.md +13 -13
- package/$server/$folder/$class/ai/skills/computer.md +27 -27
- package/$server/$folder/$class/ai/skills/data-modeling.md +1 -1
- package/$server/$folder/$class/ai/skills/delegate-task.md +15 -15
- package/$server/$folder/$class/ai/skills/external-signup.md +14 -14
- package/$server/$folder/$class/ai/skills/import-table.md +1 -1
- package/$server/$folder/$class/ai/skills/onboarding.md +15 -15
- package/$server/$folder/$class/ai/skills/orchestration.md +41 -41
- package/$server/$folder/$class/ai/skills/org-structure.md +1 -1
- package/$server/$folder/$class/ai/skills/work-scenarios.md +9 -9
- package/$server/$folder/$class/ai/system.md +36 -36
- package/$server/$folder/$class/class.js +0 -3
- package/$server/$folder/$class/handlers/pages/form/folder/$handler/class.js +3 -0
- package/$server/$folder/$class/handlers/pages/form/system/$handler/class.js +2 -4
- package/$server/$folder/$class/handlers/pages/form/system/{$handler/tabs/files → files}/$handler/class.js +2 -0
- package/$server/$folder/$class/handlers/pages/form/system/{$handler/tabs/requisites/$handler/requisites.js → requisites/$handler/class.js} +43 -36
- package/$server/$folder/$class/handlers/pages/storage/$handler/class.js +25 -6
- package/$server/$folder/$file/$audio/handlers/preview/$handler/class.js +3 -3
- package/$server/$folder/$file/$audio/handlers/preview/$handler/preview.js +88 -88
- package/$server/$folder/$file/$call/class.js +10 -10
- package/$server/$folder/$file/$call/handlers/preview/$handler/class.js +4 -4
- package/$server/$folder/$file/$call/triggers/on_save/$trigger/class.js +48 -48
- package/$server/$folder/$file/$data/class.js +16 -16
- package/$server/$folder/$file/$data/handlers/pages/form/editor/$handler/class.js +31 -4
- package/$server/$folder/$file/$devs/$js/class.js +2 -2
- package/$server/$folder/$file/$devs/$json/class.js +2 -2
- package/$server/$folder/$file/$devs/$ts/class.js +2 -2
- package/$server/$folder/$file/$devs/handlers/pages/form/file/$handler/class.js +30 -2
- package/$server/$folder/$file/$eml/class.js +17 -17
- package/$server/$folder/$file/$ics/class.js +44 -44
- package/$server/$folder/$file/$ics/handlers/pages/form/file/$handler/class.js +10 -2
- package/$server/$folder/$file/$ics/handlers/preview/$handler/class.js +3 -3
- package/$server/$folder/$file/$ics/handlers/preview/$handler/preview.js +67 -67
- package/$server/$folder/$file/$ics/readme.md +21 -21
- package/$server/$folder/$file/$image/$svg/class.js +11 -11
- package/$server/$folder/$file/$image/handlers/preview/$handler/class.js +3 -3
- package/$server/$folder/$file/$image/handlers/preview/$handler/preview.js +33 -33
- package/$server/$folder/$file/$ipynb/handlers/pages/form/file/$handler/class.js +82 -2
- package/$server/$folder/$file/$logs/class.js +39 -39
- package/$server/$folder/$file/$logs/handlers/methods/txt-test/$handler/class.js +4 -4
- package/$server/$folder/$file/$md/handlers/pages/form/file/$handler/class.js +60 -2
- package/$server/$folder/$file/$office/$outlook/$ics/class.js +227 -227
- package/$server/$folder/$file/$office/$word/$rtf/template.rtf +159 -159
- package/$server/$folder/$file/$office/handlers/pages/form/file/$handler/class.js +1699 -2
- package/$server/$folder/$file/$task/class.js +2 -2
- package/$server/$folder/$file/$task/handlers/pages/form/file/$handler/class.js +827 -2
- package/$server/$folder/$file/$task/handlers/pages/form/file/$handler/readme.md +2 -2
- package/$server/$folder/$file/$task/handlers/pages/form/file/$handler/ui/feed.js +17 -0
- package/$server/$folder/$file/$task/handlers/pages/form/file/$handler/ui/panel.js +7 -1
- package/$server/$folder/$file/$task/handlers/pages/form/file/$handler/ui/util.js +1 -0
- package/$server/$folder/$file/$task/handlers/pages/form/file/$handler/ui/voice-policy.js +6 -2
- package/$server/$folder/$file/$task/handlers/preview/$handler/class.js +3 -3
- package/$server/$folder/$file/$task/readme.md +32 -32
- package/$server/$folder/$file/$txt/handlers/preview/$handler/class.js +3 -3
- package/$server/$folder/$file/$txt/handlers/preview/$handler/preview.js +41 -41
- package/$server/$folder/$file/$video/handlers/preview/$handler/class.js +4 -4
- package/$server/$folder/$file/$video/handlers/preview/$handler/preview.js +13 -13
- package/$server/$folder/$file/class.js +2 -2
- package/$server/$folder/$file/handlers/methods/download/$handler/class.js +2 -2
- package/$server/$folder/$file/handlers/methods/download/$handler/download.js +4 -4
- package/$server/$folder/$file/handlers/pages/form/$handler/class.js +2 -2
- package/$server/$folder/$file/handlers/pages/form/file/$handler/class.js +32 -2
- package/$server/$folder/$file/handlers/pages/form/folder/$handler/class.js +3 -0
- package/$server/$folder/$file/readme.md +31 -31
- package/$server/$folder/class.js +11 -11
- package/$server/$folder/handlers/methods/create/$handler/class.js +35 -38
- package/$server/$folder/handlers/pages/form/$handler/class.js +2469 -5
- package/$server/$folder/handlers/pages/form/folder/$handler/class.js +22 -0
- package/$server/$folder/handlers/readme.md +1 -1
- package/$server/$folder/lib/chat-item/chat-item.js +4 -4
- package/$server/$folder/lib/class-picker/class-picker.js +8 -5
- package/$server/$folder/lib/consultant/consultant.js +5 -5
- package/$server/$folder/lib/email/settings.js +82 -82
- package/$server/$folder/lib/file-viewer/file-viewer.js +8 -8
- package/$server/$folder/lib/icon/icon.js +1 -1
- package/$server/$folder/lib/icon/user/user.js +6 -6
- package/$server/$folder/lib/item-data-grid/item-data-grid.js +48 -48
- package/$server/$folder/lib/item-data-grid/readme.md +1 -1
- package/$server/$folder/lib/item-form/item-form.js +84 -84
- package/$server/$folder/lib/item-form/readme.md +1 -1
- package/$server/$folder/lib/local-models-transfer/local-models-transfer.js +11 -11
- package/$server/$folder/lib/menu/menu.js +3 -2
- package/$server/$folder/lib/menu/readme.md +29 -29
- package/$server/$folder/lib/messenger-settings/messenger-settings.js +2 -2
- package/$server/$folder/lib/node/node.js +62 -25
- package/$server/$folder/lib/node/readme.md +29 -29
- package/$server/$folder/lib/pack/pack.js +4 -4
- package/$server/$folder/lib/prompt-bar/prompt-bar.js +2 -2
- package/$server/$folder/lib/site-loc/readme.md +16 -16
- package/$server/$folder/lib/site-loc/site-loc.js +3 -3
- package/$server/$folder/lib/tree/tree.js +62 -29
- package/.github/workflows/ci.yml +39 -39
- package/AGENTS.md +6 -6
- package/MODULES/$domain/$folder/$class/$module/class.js +5 -6
- package/MODULES/$domain/class.js +8 -31
- package/MODULES/$domain/handlers/pages/form/system/mcp/$handler/class.js +389 -0
- package/MODULES/$domain/readme.md +2 -2
- package/MODULES/MCP/.gitkeep +0 -0
- package/MODULES/{DaData → /320/224/320/260/320/275/320/275/321/213/320/265/DaData}/$module/class.js +2 -2
- package/MODULES/{Geo → /320/224/320/260/320/275/320/275/321/213/320/265/Geo}/$module/readme.md +1 -1
- package/MODULES/{Geo → /320/224/320/260/320/275/320/275/321/213/320/265/Geo}//320/223/320/265/320/276/321/202/320/276/321/207/320/272/320/270/$catalog/class.js +1 -1
- package/MODULES/{Geo → /320/224/320/260/320/275/320/275/321/213/320/265/Geo}//320/232/320/260/321/200/321/202/320/260/$catalog/class.js +2 -2
- package/MODULES/{Geo//320/232/320/260/321/200/321/202/320/260/$catalog/handlers/pages/form/map/$handler/map.js → /320/224/320/260/320/275/320/275/321/213/320/265/Geo//320/232/320/260/321/200/321/202/320/260/$catalog/handlers/pages/form/map/$handler/class.js} +295 -266
- package/MODULES/{KLADR/$module/handlers/pages/form/kladr/$handler/kladr.js → /320/224/320/260/320/275/320/275/321/213/320/265/KLADR/$module/handlers/pages/form/kladr/$handler/class.js} +32 -25
- package/MODULES/{KLADR → /320/224/320/260/320/275/320/275/321/213/320/265/KLADR}//320/235/320/260/321/201/320/265/320/273/321/221/320/275/320/275/321/213/320/265 /320/277/321/203/320/275/320/272/321/202/321/213/$catalog/class.js" +1 -1
- package/MODULES/{KLADR → /320/224/320/260/320/275/320/275/321/213/320/265/KLADR}//320/243/320/273/320/270/321/206/321/213/$catalog/class.js +1 -1
- package/MODULES/{1C → /320/232/320/276/320/275/320/275/320/265/320/272/321/202/320/276/321/200/321/213/1C}/$module/class.js +1 -1
- package/MODULES/{Bitrix24 → /320/232/320/276/320/275/320/275/320/265/320/272/321/202/320/276/321/200/321/213/Bitrix24}/$module/class.js +1 -1
- package/MODULES/{YandexDisk → /320/232/320/276/320/275/320/275/320/265/320/272/321/202/320/276/321/200/321/213/YandexDisk}/$module/class.js +1 -1
- package/MODULES/{Marketplaces/Ozon/$module → /320/234/320/260/321/200/320/272/320/265/321/202/320/277/320/273/320/265/320/271/321/201/321/213/Ozon/$mcp}/class.js +1 -1
- package/MODULES/{Marketplaces/Wildberries/$module → /320/234/320/260/321/200/320/272/320/265/321/202/320/277/320/273/320/265/320/271/321/201/321/213/Wildberries/$mcp}/class.js +1 -1
- package/MODULES/{Marketplaces/YandexMarket/$module → /320/234/320/260/321/200/320/272/320/265/321/202/320/277/320/273/320/265/320/271/321/201/321/213/YandexMarket/$mcp}/class.js +1 -1
- package/{models → MODULES//320/234/320/276/320/264/320/265/320/273/320/270}/GigaChat/$provider/readme.md +24 -24
- package/{models → MODULES//320/234/320/276/320/264/320/265/320/273/320/270}/Local/$provider/$folder/$class/$ai/class.js +1 -1
- package/{models → MODULES//320/234/320/276/320/264/320/265/320/273/320/270}/Local/$provider/class.js +1 -1
- package/MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Local/$provider/handlers/pages/form/system/ai/$handler/class.js +3 -0
- package/MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Local/$provider/handlers/pages/form/system/models/$handler/class.js +1242 -0
- package/MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Local/$provider/handlers/pages/form/system/training/$handler/class.js +244 -0
- package/MODULES/{Process/$module/readme.md → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Process/$module/readme.md" } +1 -1
- package/MODULES/{Process → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Process}//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/class.js" +3 -3
- package/MODULES/{Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/gantt/$handler/gantt.js" → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/gantt/$handler/class.js" } +106 -93
- package/MODULES/{Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/scheduler/$handler/scheduler.js" → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/scheduler/$handler/class.js" } +79 -71
- package/MODULES/{Process//320/241/321/205/320/265/320/274/321/213 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/320/276/320/262/$catalog/handlers/pages/form/bpmn/$handler/bpmn.js" → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Process//320/241/321/205/320/265/320/274/321/213 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/320/276/320/262/$catalog/handlers/pages/form/bpmn/$handler/class.js" } +297 -185
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/$virtual/handlers/pages/form/objects/$handler/class.js" +3 -0
- package/MODULES/{Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/$virtual/handlers/pages/form/virtual/$handler/virtual.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/$virtual/handlers/pages/form/virtual/$handler/class.js" } +413 -390
- package/MODULES/{Register/CATALOGS/$catalog/readme.md → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS/$catalog/readme.md" } +1 -1
- package/MODULES/{Register/CATALOGS//320/224/320/276/320/263/320/276/320/262/320/276/321/200/321/213/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/224/320/276/320/263/320/276/320/262/320/276/321/200/321/213/$catalog/class.js" } +1 -1
- package/MODULES/{Register/CATALOGS//320/232/320/273/320/270/320/265/320/275/321/202/321/213/$virtual/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/232/320/273/320/270/320/265/320/275/321/202/321/213/$virtual/class.js" } +2 -2
- package/MODULES/{Register/CATALOGS//320/235/320/276/320/274/320/265/320/275/320/272/320/273/320/260/321/202/321/203/321/200/320/260/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/235/320/276/320/274/320/265/320/275/320/272/320/273/320/260/321/202/321/203/321/200/320/260/$catalog/class.js" } +1 -1
- package/MODULES/{Register/CATALOGS//320/237/320/260/321/200/321/202/320/270/320/270/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/237/320/260/321/200/321/202/320/270/320/270/$catalog/class.js" } +2 -2
- package/MODULES/{Register/CATALOGS//320/237/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/320/270/$virtual/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/237/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/320/270/$virtual/class.js" } +1 -1
- package/MODULES/{Register/CATALOGS//320/241/320/272/320/273/320/260/320/264/321/213/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/241/320/272/320/273/320/260/320/264/321/213/$catalog/class.js" } +2 -2
- package/MODULES/{Register/CATALOGS//320/241/320/276/321/202/321/200/321/203/320/264/320/275/320/270/320/272/320/270/$virtual/$folder/$class/$data/$catalog/$virtual/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/241/320/276/321/202/321/200/321/203/320/264/320/275/320/270/320/272/320/270/$virtual/$folder/$class/$data/$catalog/$virtual/class.js" } +2 -2
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/CATALOGS//320/241/320/276/321/202/321/200/321/203/320/264/320/275/320/270/320/272/320/270//320/222 /320/276/321/202/320/277/321/203/321/201/320/272/320/265/$virtual/class.js" +1 -1
- package/MODULES/{Register/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213/$catalog/$folder/$class/$data/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213/$catalog/$folder/$class/$data/$catalog/class.js" } +2 -2
- package/MODULES/{Register/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213//320/230/320/237/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213//320/230/320/237/$catalog/class.js" } +2 -2
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213//320/244/320/270/320/267. /320/273/320/270/321/206/320/260/$catalog/class.js" +2 -2
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213//320/256/321/200. /320/273/320/270/321/206/320/260/$catalog/class.js" +2 -2
- package/MODULES/{Register/CATALOGS//320/242/321/200/320/260/320/275/321/201/320/277/320/276/321/200/321/202/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS//320/242/321/200/320/260/320/275/321/201/320/277/320/276/321/200/321/202/$catalog/class.js" } +2 -2
- package/MODULES/{Register/OPERATIONS/$operation/readme.md → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS/$operation/readme.md" } +1 -1
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/224/320/276/321/201/321/202/320/260/320/262/320/272/320/260/$operation/class.js" +22 -0
- package/MODULES/{Register/OPERATIONS//320/227/320/260/321/200/320/277/320/273/320/260/321/202/320/260/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/227/320/260/321/200/320/277/320/273/320/260/321/202/320/260/$operation/class.js" } +7 -7
- package/MODULES/{Register/OPERATIONS//320/230/320/275/320/262/320/265/320/275/321/202/320/260/321/200/320/270/320/267/320/260/321/206/320/270/321/217/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/230/320/275/320/262/320/265/320/275/321/202/320/260/321/200/320/270/320/267/320/260/321/206/320/270/321/217/$operation/class.js" } +9 -9
- package/MODULES/{Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213/$operation/$folder/$class/$data/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213/$operation/$folder/$class/$data/$operation/class.js" } +1 -1
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213//320/222/320/265/321/200/320/275/321/203/321/202/321/214 /320/270/320/267 /320/276/321/202/320/277/321/203/321/201/320/272/320/260/$operation/class.js" +14 -0
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213//320/236/321/202/320/277/321/200/320/260/320/262/320/270/321/202/321/214 /320/262 /320/276/321/202/320/277/321/203/321/201/320/272/$operation/class.js" +15 -0
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/232/320/260/320/264/321/200/321/213//320/237/321/200/320/270/321/221/320/274 /320/275/320/260 /321/200/320/260/320/261/320/276/321/202/321/203/$operation/class.js" +3 -3
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213//320/243/320/262/320/276/320/273/321/214/320/275/320/265/320/275/320/270/320/265/$operation/class.js" +14 -0
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260//320/220/320/262/320/260/320/275/321/201/320/276/320/262/321/213/320/271 /320/276/321/202/321/207/321/221/321/202/$operation/class.js" +17 -0
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260//320/237/320/232/320/236/$operation/class.js" +18 -0
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260//320/240/320/232/320/236/$operation/class.js" +17 -0
- package/MODULES/{Register/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270/$operation/$folder/$class/$data/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270/$operation/$folder/$class/$data/$operation/class.js" } +1 -1
- package/MODULES/{Register/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270//320/227/320/262/320/276/320/275/320/276/320/272/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270//320/227/320/262/320/276/320/275/320/276/320/272/$operation/class.js" } +2 -2
- package/MODULES/{Register/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270//320/237/320/270/321/201/321/214/320/274/320/276/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270//320/237/320/270/321/201/321/214/320/274/320/276/$operation/class.js" } +2 -2
- package/MODULES/{Register/OPERATIONS//320/232/320/276/320/274/320/277/320/273/320/265/320/272/321/202/320/260/321/206/320/270/321/217/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/232/320/276/320/274/320/277/320/273/320/265/320/272/321/202/320/260/321/206/320/270/321/217/$operation/class.js" } +14 -14
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/236/321/201/320/275/320/276/320/262/320/275/321/213/320/265 /321/201/321/200/320/265/320/264/321/201/321/202/320/262/320/260//320/235/320/260/321/207/320/270/321/201/320/273/320/265/320/275/320/270/320/265 /320/260/320/274/320/276/321/200/321/202/320/270/320/267/320/260/321/206/320/270/320/270/$operation/class.js" +3 -3
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/236/321/201/320/275/320/276/320/262/320/275/321/213/320/265 /321/201/321/200/320/265/320/264/321/201/321/202/320/262/320/260//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/320/265 /320/236/320/241/$operation/class.js" +30 -0
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/236/321/201/320/275/320/276/320/262/320/275/321/213/320/265 /321/201/321/200/320/265/320/264/321/201/321/202/320/262/320/260//320/237/321/200/320/270/320/275/321/217/321/202/320/270/320/265 /320/272 /321/203/321/207/321/221/321/202/321/203 /320/236/320/241/$operation/class.js" +3 -3
- package/MODULES/{Register/OPERATIONS//320/237/320/265/321/200/320/265/320/274/320/265/321/211/320/265/320/275/320/270/320/265/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/237/320/265/321/200/320/265/320/274/320/265/321/211/320/265/320/275/320/270/320/265/$operation/class.js" } +7 -7
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260/$operation/$folder/$class/$data/$operation/class.js" +1 -1
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260//320/227/320/260/321/200/320/277/320/273/320/260/321/202/320/260/$operation/class.js" +8 -0
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260//320/235/320/224/320/241/$operation/class.js" +1 -1
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260//320/235/320/224/320/244/320/233/$operation/class.js" +1 -1
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260//320/237/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/321/203/$operation/class.js" +11 -0
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260//320/241/321/202/321/200/320/260/321/205/320/276/320/262/321/213/320/265 /320/262/320/267/320/275/320/276/321/201/321/213/$operation/class.js" +1 -1
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/320/265 /321/202/320/276/320/262/320/260/321/200/320/260/$operation/class.js" +9 -9
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/321/217 /320/275/320/260 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/321/213/320/271 /321/201/321/207/321/221/321/202/$operation/$folder/$class/$data/$operation/class.js" +1 -1
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/321/217 /320/275/320/260 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/321/213/320/271 /321/201/321/207/321/221/321/202//320/222/320/276/320/267/320/262/321/200/320/260/321/202 /320/276/321/202 /320/277/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/320/260/$operation/class.js" +11 -0
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/321/217 /320/275/320/260 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/321/213/320/271 /321/201/321/207/321/221/321/202//320/236/321/202 /320/277/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/217/$operation/class.js" +11 -0
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/321/200/320/276/320/270/320/267/320/262/320/276/320/264/321/201/321/202/320/262/320/276//320/222/321/213/320/277/321/203/321/201/320/272 /320/263/320/276/321/202/320/276/320/262/320/276/320/271 /320/277/321/200/320/276/320/264/321/203/320/272/321/206/320/270/320/270/$operation/class.js" +4 -4
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/321/200/320/276/320/270/320/267/320/262/320/276/320/264/321/201/321/202/320/262/320/276//320/237/320/265/321/200/320/265/320/264/320/260/321/207/320/260 /320/274/320/260/321/202/320/265/321/200/320/270/320/260/320/273/320/276/320/262 /320/262 /320/277/321/200/320/276/320/270/320/267/320/262/320/276/320/264/321/201/321/202/320/262/320/276/$operation/class.js" +4 -4
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/321/200/320/276/320/270/320/267/320/262/320/276/320/264/321/201/321/202/320/262/320/276//320/241/320/277/320/270/321/201/320/260/320/275/320/270/320/265 /320/276/320/261/321/211/320/265/321/205/320/276/320/267/321/217/320/271/321/201/321/202/320/262/320/265/320/275/320/275/321/213/321/205 /320/267/320/260/321/202/321/200/320/260/321/202/$operation/class.js" +6 -6
- package/MODULES/{Register/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217/$operation/$folder/$class/$data/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217/$operation/$folder/$class/$data/$operation/class.js" } +5 -5
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217//320/222/320/276/320/267/320/262/321/200/320/260/321/202 /320/276/321/202 /320/277/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/217/$operation/class.js" +32 -0
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217//320/237/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/216/$operation/class.js" +32 -0
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217//320/237/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/216/$operation/print//320/241/321/207/321/221/321/202 /320/275/320/260 /320/276/320/277/320/273/320/260/321/202/321/203.html" +40 -40
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217//320/237/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/216/$operation/print//320/242/320/276/320/262/320/260/321/200/320/275/320/260/321/217 /320/275/320/260/320/272/320/273/320/260/320/264/320/275/320/260/321/217.html" +56 -56
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/241/320/277/320/270/321/201/320/260/320/275/320/270/320/265 /320/242/320/234/320/246/$operation/class.js" +6 -6
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/243/321/201/321/202/320/260/320/275/320/276/320/262/320/272/320/260 /320/275/320/276/321/200/320/274/320/260/321/202/320/270/320/262/320/260/$operation/class.js" +4 -4
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/244/320/270/320/275/320/260/320/275/321/201/320/276/320/262/321/213/320/271 /321/200/320/265/320/267/321/203/320/273/321/214/321/202/320/260/321/202//320/227/320/260/320/272/321/200/321/213/321/202/320/270/320/265 /320/274/320/265/321/201/321/217/321/206/320/260/$operation/class.js" +2 -2
- package/MODULES/{Register/REGISTER/$register/$folder/$class/$data/$register/$account/handlers/pages/form/analysis/$handler/analysis.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/$folder/$class/$data/$register/$account/handlers/pages/form/analysis/$handler/class.js" } +9 -4
- package/MODULES/{Register/REGISTER/$register/$folder/$class/$data/$register/$account/handlers/pages/form/postings/$handler/postings.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/$folder/$class/$data/$register/$account/handlers/pages/form/postings/$handler/class.js" } +845 -753
- package/MODULES/{Register/REGISTER/$register/$folder/$class/$data/$register/$account/handlers/pages/form/turnovers/$handler/turnovers.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/$folder/$class/$data/$register/$account/handlers/pages/form/turnovers/$handler/class.js" } +9 -4
- package/MODULES/{Register/REGISTER/$register/$folder/$class/$data/$register/$account/readme.md → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/$folder/$class/$data/$register/$account/readme.md" } +1 -1
- package/MODULES/{Register/REGISTER/$register/ai/skills/register-accounts.md → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/ai/skills/register-accounts.md" } +1 -1
- package/MODULES/{Register/REGISTER/$register/handlers/pages/form/journal/$handler/journal.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/handlers/pages/form/journal/$handler/class.js" } +382 -329
- package/MODULES//320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/handlers/pages/form/sheet/$handler/class.js" +807 -0
- package/MODULES/{Register/REGISTER/$register/readme.md → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/readme.md" } +1 -1
- package/MODULES/{Register/REGISTER/01/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/01/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/02/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/02/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/04/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/04/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/08/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/08/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/10/$account/$folder/$class/$data/$register/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/10/$account/$folder/$class/$data/$register/$account/class.js" } +2 -2
- package/MODULES/{Register/REGISTER/10/01/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/10/01/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/10/05/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/10/05/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/41/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/41/$account/class.js" } +3 -3
- package/MODULES/{Register/REGISTER/43/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/43/$account/class.js" } +2 -2
- package/MODULES/{Register/REGISTER/44/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/44/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/60/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/60/$account/class.js" } +2 -2
- package/MODULES/{Register/REGISTER/62/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/62/$account/class.js" } +2 -2
- package/MODULES/{Register/REGISTER/68/01/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/68/01/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/68/02/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/68/02/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/70/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/70/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/71/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/71/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/73/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/73/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/76/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/76/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/90/01/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/90/01/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/90/02/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/90/02/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/90/03/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/90/03/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/91/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/91/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER/94/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/94/$account/class.js" } +2 -2
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/REGISTER//320/232/320/260/320/264/321/200/320/276/320/262/321/213/320/271 /321/200/320/265/320/267/320/265/321/200/320/262/$account/class.js" +1 -1
- package/MODULES/{Register/REGISTER//320/232/320/260/320/264/321/200/321/213/$account/$folder/$class/$data/$register/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER//320/232/320/260/320/264/321/200/321/213/$account/$folder/$class/$data/$register/$account/class.js" } +1 -1
- package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/REGISTER//320/232/320/260/320/264/321/200/321/213//320/222 /320/276/321/202/320/277/321/203/321/201/320/272/320/265/$account/class.js" +1 -1
- package/MODULES/{Register/REGISTER//320/232/320/260/320/264/321/200/321/213//320/240/320/260/320/261/320/276/321/202/320/260/321/216/321/202/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER//320/232/320/260/320/264/321/200/321/213//320/240/320/260/320/261/320/276/321/202/320/260/321/216/321/202/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270/$account/class.js" } +1 -1
- package/MODULES/{Register/REGISTER//320/235/320/276/321/200/320/274/320/260/321/202/320/270/320/262/321/213/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER//320/235/320/276/321/200/320/274/320/260/321/202/320/270/320/262/321/213/$account/class.js" } +2 -2
- package/MODULES/{Register/REGISTER//320/242/320/265/321/205/320/275/320/270/321/207/320/265/321/201/320/272/320/270/320/271/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER//320/242/320/265/321/205/320/275/320/270/321/207/320/265/321/201/320/272/320/270/320/271/$account/class.js" } +1 -1
- package/MODULES/{Register/STRUCTS/$struct/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/STRUCTS/$struct/class.js" } +4 -4
- package/MODULES/{Register/STRUCTS//320/237/320/260/321/201/320/277/320/276/321/200/321/202/$struct/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/STRUCTS//320/237/320/260/321/201/320/277/320/276/321/200/321/202/$struct/class.js" } +2 -2
- package/NODES/$node/$folder/$class/$node/class.js +35 -35
- package/NODES/$node/class.js +5 -5
- package/NODES/$node/handlers/pages/form/network/$handler/class.js +121 -4
- package/PROJECTS/$domain/$folder/$class/$structure/$project/class.js +1 -2
- package/PROJECTS/$domain/readme.md +1 -1
- package/oda/benchmarks/dbmon/lib/ENV.js +213 -213
- package/oda/benchmarks/dbmon/lib/ga.js +11 -11
- package/oda/benchmarks/dbmon/lib/memory-stats.js +105 -105
- package/oda/benchmarks/dbmon/lib/monitor.js +69 -69
- package/oda/benchmarks/sierpinski/sierpinski.js +149 -149
- package/oda/components/editors/code-editor/code-editor.js +387 -387
- package/oda/components/editors/code-editor/src/ace.js +16 -16
- package/oda/components/editors/code-editor/src/beautify-css.js +1625 -1625
- package/oda/components/editors/code-editor/src/beautify-html.js +3122 -3122
- package/oda/components/editors/code-editor/src/beautify.js +4005 -4005
- package/oda/components/editors/code-editor/src/ext-beautify.js +7 -7
- package/oda/components/editors/code-editor/src/ext-code_lens.js +7 -7
- package/oda/components/editors/code-editor/src/ext-elastic_tabstops_lite.js +7 -7
- package/oda/components/editors/code-editor/src/ext-emmet.js +7 -7
- package/oda/components/editors/code-editor/src/ext-error_marker.js +7 -7
- package/oda/components/editors/code-editor/src/ext-hardwrap.js +7 -7
- package/oda/components/editors/code-editor/src/ext-keybinding_menu.js +7 -7
- package/oda/components/editors/code-editor/src/ext-language_tools.js +7 -7
- package/oda/components/editors/code-editor/src/ext-linking.js +7 -7
- package/oda/components/editors/code-editor/src/ext-modelist.js +7 -7
- package/oda/components/editors/code-editor/src/ext-options.js +7 -7
- package/oda/components/editors/code-editor/src/ext-prompt.js +7 -7
- package/oda/components/editors/code-editor/src/ext-rtl.js +7 -7
- package/oda/components/editors/code-editor/src/ext-searchbox.js +7 -7
- package/oda/components/editors/code-editor/src/ext-settings_menu.js +7 -7
- package/oda/components/editors/code-editor/src/ext-spellcheck.js +7 -7
- package/oda/components/editors/code-editor/src/ext-split.js +7 -7
- package/oda/components/editors/code-editor/src/ext-static_highlight.js +7 -7
- package/oda/components/editors/code-editor/src/ext-statusbar.js +7 -7
- package/oda/components/editors/code-editor/src/ext-textarea.js +7 -7
- package/oda/components/editors/code-editor/src/ext-themelist.js +7 -7
- package/oda/components/editors/code-editor/src/ext-whitespace.js +7 -7
- package/oda/components/editors/code-editor/src/keybinding-emacs.js +7 -7
- package/oda/components/editors/code-editor/src/keybinding-sublime.js +7 -7
- package/oda/components/editors/code-editor/src/keybinding-vim.js +7 -7
- package/oda/components/editors/code-editor/src/keybinding-vscode.js +7 -7
- package/oda/components/editors/code-editor/src/mode-css.js +7 -7
- package/oda/components/editors/code-editor/src/mode-html.js +7 -7
- package/oda/components/editors/code-editor/src/mode-javascript.js +7 -7
- package/oda/components/editors/code-editor/src/mode-json.js +7 -7
- package/oda/components/editors/code-editor/src/mode-markdown.js +7 -7
- package/oda/components/editors/code-editor/src/mode-svg.js +7 -7
- package/oda/components/editors/code-editor/src/mode-text.js +7 -7
- package/oda/components/editors/code-editor/src/mode-xml.js +7 -7
- package/oda/components/editors/code-editor/src/mode-xquery.js +7 -7
- package/oda/components/editors/code-editor/src/snippets/css.js +7 -7
- package/oda/components/editors/code-editor/src/snippets/html.js +7 -7
- package/oda/components/editors/code-editor/src/snippets/javascript.js +7 -7
- package/oda/components/editors/code-editor/src/snippets/json.js +7 -7
- package/oda/components/editors/code-editor/src/snippets/markdown.js +7 -7
- package/oda/components/editors/code-editor/src/snippets/svg.js +7 -7
- package/oda/components/editors/code-editor/src/snippets/text.js +7 -7
- package/oda/components/editors/code-editor/src/snippets/xml.js +7 -7
- package/oda/components/editors/code-editor/src/snippets/xquery.js +7 -7
- package/oda/components/editors/code-editor/src/theme-solarized_dark.js +7 -7
- package/oda/components/editors/code-editor/src/theme-solarized_light.js +7 -7
- package/oda/components/editors/markdown/markdown-editor/lib/font-awesome.min.css +3 -3
- package/oda/components/editors/markdown/markdown-editor/lib/readme.md +332 -332
- package/oda/components/editors/markdown/markdown-editor/markdown-editor.js +78 -78
- package/oda/components/editors/markdown/markdown-viewer/test.md +239 -239
- package/oda/components/editors/markdown/markdown.js +76 -76
- package/oda/components/inputs/block/readme.md +39 -39
- package/oda/components/inputs/checkbox/checkbox.js +92 -92
- package/oda/components/inputs/color/color.js +83 -83
- package/oda/components/inputs/date/date.js +40 -40
- package/oda/components/inputs/input/input.js +219 -219
- package/oda/components/inputs/link/link.js +1 -1
- package/oda/components/inputs/link/readme.md +42 -42
- package/oda/components/inputs/markdown-input/markdown-input.js +77 -77
- package/oda/components/inputs/numeric/numeric.js +141 -141
- package/oda/components/inputs/table-input/readme.md +39 -39
- package/oda/components/inputs/text/text.js +88 -88
- package/oda/components/inputs/toggle/toggle.js +101 -101
- package/oda/components/layouts/hexagon-layout/hexagon-layout.js +218 -218
- package/oda/components/menus/menu/index_old.html +140 -140
- package/oda/components/structure/controls-map.js +56 -56
- package/oda/components/structure/controls.js +29 -29
- package/oda/components/structure/readme.md +31 -31
- package/oda/components/structure/structure.js +64 -64
- package/oda/components/table/index.html +210 -210
- package/oda/components/table/lib/coerce.js +68 -68
- package/oda/components/table/lib/column.js +568 -568
- package/oda/components/table/readme.md +120 -120
- package/oda/components/table/router.js +86 -86
- package/oda/components/table/settings.js +89 -89
- package/oda/index.html +159 -159
- package/oda/tools/icons/icons-set/icons-set.js +60 -60
- package/oda/tools/icons/lib/svg/_makeSVG.html +41 -41
- package/oda/tools/icons/lib/svg/aws.svg +2679 -2679
- package/oda/tools/icons/lib/svg/info.json +46 -46
- package/oda/tools/jupyter/demo.ipynb +160 -160
- package/oda/tools/jupyter/lib/print_elements.js +73 -73
- package/oda/tools/jupyter/test-2.ipynb +305 -305
- package/oda/tools/jupyter/test.ipynb +603 -603
- package/oda/tools/styles/adoptedStyleSheets.js +333 -333
- package/oda/tools/tester/device-preview/devices.json +9 -9
- package/package.json +1 -1
- package/rules/rules.md +445 -445
- package/scripts/SYNC-README.md +107 -107
- package/scripts/agent-eval.mjs +223 -223
- package/scripts/check-architecture.mjs +25 -16
- package/scripts/check-ignored-code.mjs +4 -4
- package/scripts/demo-seed.mjs +7 -7
- package/scripts/dump-svn-chat.mjs +9 -9
- package/scripts/extract-chat-day.mjs +21 -21
- package/scripts/import-bis.mjs +133 -133
- package/scripts/import-delovaya.mjs +94 -94
- package/scripts/migrate-tree.mjs +454 -0
- package/scripts/rag-bench.mjs +166 -166
- package/scripts/restore-chat.mjs +166 -166
- package/scripts/sync-svn-git.bat +129 -129
- package/scripts/test-merge.mjs +75 -75
- package/scripts/work-desktop-bridge.mjs +101 -101
- package/sources/client/class.js +3 -0
- package/sources/client/field.js +168 -168
- package/sources/client/handler.js +68 -32
- package/sources/client/index.js +32 -32
- package/sources/client/readme.md +16 -16
- package/sources/client.js +12 -0
- package/sources/core.js +91 -91
- package/sources/data/api.js +5 -5
- package/sources/data/choices.js +125 -125
- package/sources/data/classes.js +3 -3
- package/sources/data/db.js +5 -6
- package/sources/data/print.js +2 -2
- package/sources/data/schema.js +5 -5
- package/sources/data/sql-inspector.js +8 -8
- package/sources/host/auto-updater.js +6 -10
- package/sources/host/babel-merge.js +398 -353
- package/sources/host/config.js +48 -48
- package/sources/host/index-db.js +94 -94
- package/sources/host/net-guard.js +228 -228
- package/sources/host/package-install.js +63 -63
- package/sources/host/push.js +86 -86
- package/sources/host/readme.md +41 -41
- package/sources/host/secret-box.js +93 -93
- package/sources/host/server-id.js +26 -26
- package/sources/host/stun.js +33 -33
- package/sources/host/tls-ca.js +60 -60
- package/sources/host/vapid.js +14 -14
- package/sources/host/watch.js +1 -1
- package/sources/index.html +1 -1
- package/sources/modules/a2a/server.js +608 -608
- package/sources/modules/agent/connections.js +442 -442
- package/sources/modules/agent/diff.js +69 -69
- package/sources/modules/agent/eval.js +222 -222
- package/sources/modules/agent/extensions.js +57 -30
- package/sources/modules/agent/hooks.js +131 -131
- package/sources/modules/agent/index.js +14 -11
- package/sources/modules/agent/log.js +43 -43
- package/sources/modules/agent/loop.js +65 -0
- package/sources/modules/agent/mcp-pool.js +253 -253
- package/sources/modules/agent/node-rules.js +100 -51
- package/sources/modules/agent/permissions.js +1 -1
- package/sources/modules/agent/plugins.js +4 -3
- package/sources/modules/agent/recovery.js +89 -89
- package/sources/modules/agent/scope.js +387 -0
- package/sources/modules/agent/session.js +350 -15
- package/sources/modules/agent/taint.js +100 -100
- package/sources/modules/agent/tools/branch.js +311 -311
- package/sources/modules/agent/tools/browser.js +254 -254
- package/sources/modules/agent/tools/computer.js +120 -120
- package/sources/modules/agent/tools/connect.js +316 -316
- package/sources/modules/agent/tools/dev/lsp.js +334 -334
- package/sources/modules/agent/tools/dev/patch.js +564 -564
- package/sources/modules/agent/tools/memory.js +153 -153
- package/sources/modules/agent/tools/meta.js +61 -1
- package/sources/modules/agent/tools/os-files.js +358 -358
- package/sources/modules/agent/tools/plugins.js +80 -80
- package/sources/modules/agent/tools/sandbox.js +268 -268
- package/sources/modules/agent/tools/services.js +8 -2
- package/sources/modules/agent/tools/work/access.js +5 -5
- package/sources/modules/agent/tools/work/classes.js +24 -8
- package/sources/modules/agent/tools/work/common.js +6 -6
- package/sources/modules/agent/tools/work/data.js +2 -2
- package/sources/modules/agent/triggers.js +2 -2
- package/sources/modules/agent/twin-bus.js +5 -5
- package/sources/modules/agent/types.d.ts +183 -183
- package/sources/modules/agent/undo.js +254 -254
- package/sources/modules/agent/util.js +179 -179
- package/sources/modules/agent/voice.js +9 -9
- package/sources/modules/contacts/contacts.js +200 -200
- package/sources/modules/contacts/index.html +546 -546
- package/sources/modules/kladr/index.js +4 -5
- package/sources/modules/lan/discovery.js +192 -192
- package/sources/modules/lan/store.js +62 -62
- package/sources/modules/license/index.js +5 -5
- package/sources/modules/mcp/readme.md +70 -70
- package/sources/modules/mcp/server.js +525 -525
- package/sources/modules/mcp/tokens.js +140 -140
- package/sources/modules/nodes/identity.js +123 -123
- package/sources/modules/nodes/outbound.js +105 -105
- package/sources/modules/nodes/signing.js +71 -71
- package/sources/modules/notify/index.js +12 -12
- package/sources/modules/rag/embed-worker.js +36 -36
- package/sources/modules/rag/embedder.js +3 -3
- package/sources/modules/rag/indexer.js +1 -1
- package/sources/modules/rag/readme.md +70 -70
- package/sources/modules/rag/scope.js +3 -3
- package/sources/modules/rag/search.js +1 -1
- package/sources/modules/readme.md +21 -21
- package/sources/modules/sandbox/config.js +74 -74
- package/sources/modules/sandbox/driver.js +100 -100
- package/sources/modules/sandbox/images/work-computer/Dockerfile +34 -34
- package/sources/modules/sandbox/images/work-computer/entrypoint.sh +24 -24
- package/sources/modules/sandbox/manager.js +1089 -1089
- package/sources/modules/sandbox/readme.md +63 -63
- package/sources/modules/sandbox/vnc-proxy.js +296 -296
- package/sources/modules/trainer/dataset.js +8 -8
- package/sources/modules/trainer/halogen.js +37 -37
- package/sources/modules/trainer/huggingface.js +13 -13
- package/sources/modules/trainer/index.js +44 -39
- package/sources/modules/trainer/local-engine.js +9 -9
- package/sources/modules/trainer/paths.js +9 -2
- package/sources/modules/trainer/providers.js +126 -78
- package/sources/modules/trainer/runner.js +10 -10
- package/sources/modules/trainer/transfer.js +8 -8
- package/sources/server/access/audit.js +138 -138
- package/sources/server/access/gateway.js +1 -1
- package/sources/server/access/links.js +4 -4
- package/sources/server/access/refs.js +106 -106
- package/sources/server/access/workplaces.js +7 -7
- package/sources/server/assert-class-id.js +23 -23
- package/sources/server/chat-threads.js +22 -8
- package/sources/server/class/archive.js +7 -7
- package/sources/server/class/base-template.js +34 -29
- package/sources/server/class/distro.js +41 -33
- package/sources/server/class/module-status.js +380 -0
- package/sources/server/class/scaffold.js +2 -2
- package/sources/server/class/search.js +1 -1
- package/sources/server/class/security.js +24 -14
- package/sources/server/class.js +140 -124
- package/sources/server/external-source.js +90 -90
- package/sources/server/file.js +1 -1
- package/sources/server/folder.js +150 -44
- package/sources/server/handler.js +25 -12
- package/sources/server/index.js +12 -12
- package/sources/server/logs.js +5 -6
- package/sources/server/memory-mark.js +34 -34
- package/sources/server/node.js +1 -1
- package/sources/server/readme.md +110 -110
- package/sources/server/safe-node-name.js +67 -67
- package/sources/server/server.js +8 -6
- package/sources/server/upload-mark.js +24 -24
- package/sources/server/user.js +85 -18
- package/sources/server/zip-guard.js +81 -81
- package/whitepaper.md +568 -568
- package/$server/$folder/$class/$module/handlers/pages/form/system/$handler/tabs/mcp/$handler/class.js +0 -9
- package/$server/$folder/$class/$module/handlers/pages/form/system/$handler/tabs/mcp/$handler/mcp.js +0 -813
- package/$server/$folder/$class/$module/handlers/pages/form/system/$handler/tabs/modules/$handler/modules.js +0 -1
- package/$server/$folder/$class/$structure/$organization/$folder/$class/$data/$catalog/class.js +0 -4
- package/$server/$folder/$class/$structure/$organization/$folder/$class/$data/$operation/class.js +0 -4
- package/$server/$folder/$class/$structure/$organization/$folder/$class/$data/$register/class.js +0 -4
- package/$server/$folder/$class/$structure/$organization/$folder/$class/$data/$struct/class.js +0 -4
- package/$server/$folder/$class/$structure/$organization/$folder/$class/$domain/class.js +0 -4
- package/$server/$folder/$class/$structure/$organization/$folder/$class/$module/class.js +0 -4
- package/$server/$folder/$class/$structure/$organization/$folder/$class/$structure/$organization/class.js +0 -4
- package/$server/$folder/$class/$structure/$organization/class.js +0 -19
- package/$server/$folder/$class/$structure/$organization/icon.png +0 -0
- package/$server/$folder/$class/$structure/$server/handlers/pages/form/system/$handler/tabs/license/$handler/class.js +0 -6
- package/$server/$folder/$class/$structure/$user/handlers/pages/form/system/$handler/tabs/agent/$handler/class.js +0 -3
- package/$server/$folder/$class/$structure/$user/handlers/pages/form/system/$handler/tabs/messengers/$handler/class.js +0 -3
- package/$server/$folder/$class/$structure/$user/handlers/pages/form/system/$handler/tabs/modules/$handler/class.js +0 -3
- package/$server/$folder/$class/$structure/$user/handlers/pages/form/system/$handler/tabs/profile/$handler/class.js +0 -5
- package/$server/$folder/$class/$structure/handlers/pages/data/$handler/data.js +0 -313
- package/$server/$folder/$class/$structure/handlers/pages/explorer/$handler/explorer.js +0 -16
- package/$server/$folder/$class/$structure/handlers/pages/form/calendar/$handler/calendar.js +0 -1226
- package/$server/$folder/$class/$structure/handlers/pages/form/chat/$handler/chat.js +0 -2095
- package/$server/$folder/$class/$structure/handlers/pages/form/email/$handler/email.js +0 -1188
- package/$server/$folder/$class/$structure/handlers/pages/form/search/$handler/search.js +0 -289
- package/$server/$folder/$class/$structure/handlers/pages/form/system/$handler/tabs/agent/$handler/class.js +0 -6
- package/$server/$folder/$class/$structure/handlers/pages/form/system/$handler/tabs/database/$handler/class.js +0 -9
- package/$server/$folder/$class/$structure/handlers/pages/form/system/$handler/tabs/messengers/$handler/class.js +0 -6
- package/$server/$folder/$class/$structure/handlers/pages/form/system/$handler/tabs/modules/$handler/class.js +0 -5
- package/$server/$folder/$class/$structure/handlers/pages/form/system/$handler/tabs/modules/$handler/modules.js +0 -281
- package/$server/$folder/$class/$structure/handlers/pages/form/system/$handler/tabs/staff/$handler/class.js +0 -5
- package/$server/$folder/$class/$structure/handlers/pages/form/system/$handler/tabs/staff/$handler/staff.js +0 -2126
- package/$server/$folder/$class/$structure/handlers/pages/site/$handler/site.js +0 -240
- package/$server/$folder/$class/handlers/pages/form/object/$handler/class.js +0 -32
- package/$server/$folder/$class/handlers/pages/form/object/$handler/object.js +0 -1371
- package/$server/$folder/$class/handlers/pages/form/objects/$handler/class.js +0 -32
- package/$server/$folder/$class/handlers/pages/form/objects/$handler/objects.js +0 -2130
- package/$server/$folder/$class/handlers/pages/form/system/$handler/system.js +0 -309
- package/$server/$folder/$class/handlers/pages/form/system/$handler/tabs/files/$handler/files.js +0 -17
- package/$server/$folder/$class/handlers/pages/form/system/$handler/tabs/requisites/$handler/class.js +0 -16
- package/$server/$folder/$class/handlers/pages/storage/$handler/storage.js +0 -21
- package/$server/$folder/$file/$data/handlers/pages/form/editor/$handler/editor.js +0 -27
- package/$server/$folder/$file/$devs/handlers/pages/form/file/$handler/file.js +0 -31
- package/$server/$folder/$file/$ics/handlers/pages/form/file/$handler/file.js +0 -10
- package/$server/$folder/$file/$ipynb/handlers/pages/form/file/$handler/file.js +0 -72
- package/$server/$folder/$file/$md/handlers/pages/form/file/$handler/file.js +0 -63
- package/$server/$folder/$file/$office/handlers/pages/form/file/$handler/file.js +0 -1845
- package/$server/$folder/$file/$task/handlers/pages/form/file/$handler/file.js +0 -760
- package/$server/$folder/$file/handlers/pages/form/file/$handler/file.js +0 -29
- package/$server/$folder/handlers/pages/form/$handler/form.js +0 -2122
- package/MODULES/$domain/handlers/pages/form/system/$handler/tabs/mcp/$handler/class.js +0 -6
- package/MODULES/$domain/handlers/pages/form/system/$handler/tabs/mcp/$handler/mcp.js +0 -1
- package/MODULES/Geo//320/232/320/260/321/200/321/202/320/260/$catalog/handlers/pages/form/map/$handler/class.js +0 -24
- package/MODULES/KLADR/$module/handlers/pages/form/kladr/$handler/class.js +0 -7
- package/MODULES/Marketplaces/$domain/class.js +0 -9
- package/MODULES/Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/gantt/$handler/class.js" +0 -6
- package/MODULES/Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/scheduler/$handler/class.js" +0 -6
- package/MODULES/Process//320/241/321/205/320/265/320/274/321/213 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/320/276/320/262/$catalog/handlers/pages/form/bpmn/$handler/class.js" +0 -18
- package/MODULES/Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/$virtual/handlers/pages/form/virtual/$handler/class.js +0 -5
- package/MODULES/Register/OPERATIONS//320/224/320/276/321/201/321/202/320/260/320/262/320/272/320/260/$operation/class.js +0 -22
- package/MODULES/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213//320/222/320/265/321/200/320/275/321/203/321/202/321/214 /320/270/320/267 /320/276/321/202/320/277/321/203/321/201/320/272/320/260/$operation/class.js" +0 -14
- package/MODULES/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213//320/236/321/202/320/277/321/200/320/260/320/262/320/270/321/202/321/214 /320/262 /320/276/321/202/320/277/321/203/321/201/320/272/$operation/class.js" +0 -15
- package/MODULES/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213//320/243/320/262/320/276/320/273/321/214/320/275/320/265/320/275/320/270/320/265/$operation/class.js +0 -14
- package/MODULES/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260//320/220/320/262/320/260/320/275/321/201/320/276/320/262/321/213/320/271 /320/276/321/202/321/207/321/221/321/202/$operation/class.js" +0 -17
- package/MODULES/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260//320/237/320/232/320/236/$operation/class.js +0 -18
- package/MODULES/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260//320/240/320/232/320/236/$operation/class.js +0 -17
- package/MODULES/Register/OPERATIONS//320/236/321/201/320/275/320/276/320/262/320/275/321/213/320/265 /321/201/321/200/320/265/320/264/321/201/321/202/320/262/320/260//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/320/265 /320/236/320/241/$operation/class.js" +0 -30
- package/MODULES/Register/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260//320/227/320/260/321/200/320/277/320/273/320/260/321/202/320/260/$operation/class.js" +0 -8
- package/MODULES/Register/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260//320/237/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/321/203/$operation/class.js" +0 -11
- package/MODULES/Register/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/321/217 /320/275/320/260 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/321/213/320/271 /321/201/321/207/321/221/321/202//320/222/320/276/320/267/320/262/321/200/320/260/321/202 /320/276/321/202 /320/277/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/320/260/$operation/class.js" +0 -11
- package/MODULES/Register/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/321/217 /320/275/320/260 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/321/213/320/271 /321/201/321/207/321/221/321/202//320/236/321/202 /320/277/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/217/$operation/class.js" +0 -11
- package/MODULES/Register/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217//320/222/320/276/320/267/320/262/321/200/320/260/321/202 /320/276/321/202 /320/277/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/217/$operation/class.js" +0 -32
- package/MODULES/Register/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217//320/237/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/216/$operation/class.js +0 -32
- package/MODULES/Register/REGISTER/$register/$folder/$class/$data/$register/$account/handlers/pages/form/analysis/$handler/class.js +0 -8
- package/MODULES/Register/REGISTER/$register/$folder/$class/$data/$register/$account/handlers/pages/form/postings/$handler/class.js +0 -8
- package/MODULES/Register/REGISTER/$register/$folder/$class/$data/$register/$account/handlers/pages/form/turnovers/$handler/class.js +0 -8
- package/MODULES/Register/REGISTER/$register/handlers/pages/form/journal/$handler/class.js +0 -5
- package/MODULES/Register/REGISTER/$register/handlers/pages/form/sheet/$handler/class.js +0 -5
- package/MODULES/Register/REGISTER/$register/handlers/pages/form/sheet/$handler/sheet.js +0 -808
- package/NODES/$node/handlers/pages/form/network/$handler/network.js +0 -110
- package/ORGANIZATIONS/$domain/$folder/$class/$structure/$organization/class.js +0 -5
- package/ORGANIZATIONS/$domain/class.js +0 -5
- package/ORGANIZATIONS/$domain/readme.md +0 -10
- package/models/$ai/$folder/$class/$ai/handlers/pages/form/system/$handler/tabs/ai/$handler/class.js +0 -6
- package/models/$ai/$folder/$class/$provider/handlers/pages/form/system/$handler/tabs/ai/$handler/class.js +0 -6
- package/models/$ai/$folder/$class/$provider/readme.md +0 -16
- package/models/$ai/class.js +0 -169
- package/models/$ai/handlers/pages/form/system/$handler/tabs/ai/$handler/ai.js +0 -167
- package/models/$ai/handlers/pages/form/system/$handler/tabs/ai/$handler/class.js +0 -6
- package/models/$ai/readme.md +0 -62
- package/models/Local/$provider/handlers/methods/transfer/$handler/class.js +0 -41
- package/models/Local/$provider/handlers/pages/form/system/$handler/tabs/ai/$handler/ai.js +0 -1453
- package/models/Local/$provider/handlers/pages/form/system/$handler/tabs/ai/$handler/class.js +0 -6
- /package/{models/$ai → $server}/$folder/$class/$ai/methods/chat/$method/class.js +0 -0
- /package/$server/$folder/$class/$structure/{$organization/handlers/pages/form/system/$handler/tabs → $project/handlers/pages/form/system}/requisites/$handler/class.js +0 -0
- /package/$server/$folder/$class/$structure/$server/handlers/pages/form/system/{$handler/tabs/database → database}/$handler/class.js +0 -0
- /package/MODULES/{CBR/$module/class.js → /320/224/320/260/320/275/320/275/321/213/320/265/CBR/$module/class.js"} +0 -0
- /package/MODULES/{Geo/$module/class.js → /320/224/320/260/320/275/320/275/321/213/320/265/Geo/$module/class.js"} +0 -0
- /package/MODULES/{Geo → /320/224/320/260/320/275/320/275/321/213/320/265/Geo}//320/232/320/276/320/276/321/200/320/264/320/270/320/275/320/260/321/202/321/213/$struct/class.js" +0 -0
- /package/MODULES/{Geo → /320/224/320/260/320/275/320/275/321/213/320/265/Geo}//320/250/320/265/320/271/320/277/$struct/class.js" +0 -0
- /package/MODULES/{KLADR/$module/$folder/$class/$data/$catalog/class.js → /320/224/320/260/320/275/320/275/321/213/320/265/KLADR/$module/$folder/$class/$data/$catalog/class.js"} +0 -0
- /package/MODULES/{KLADR/$module/class.js → /320/224/320/260/320/275/320/275/321/213/320/265/KLADR/$module/class.js"} +0 -0
- /package/MODULES/{KLADR/$module/readme.md → /320/224/320/260/320/275/320/275/321/213/320/265/KLADR/$module/readme.md"} +0 -0
- /package/MODULES/{KLADR → /320/224/320/260/320/275/320/275/321/213/320/265/KLADR}//320/237/320/276/320/264/321/200/320/260/320/267/320/264/320/265/320/273/320/265/320/275/320/270/321/217 /320/234/320/222/320/224/$catalog/class.js" +0 -0
- /package/MODULES/{KLADR → /320/224/320/260/320/275/320/275/321/213/320/265/KLADR}//320/240/320/265/320/263/320/270/320/276/320/275/321/213/$catalog/class.js" +0 -0
- /package/MODULES/{RuCalendar/$module/class.js → /320/224/320/260/320/275/320/275/321/213/320/265/RuCalendar/$module/class.js"} +0 -0
- /package/MODULES/{Weather/$module/class.js → /320/224/320/260/320/275/320/275/321/213/320/265/Weather/$module/class.js"} +0 -0
- /package/MODULES/{2GIS/$module/class.js → /320/232/320/276/320/275/320/275/320/265/320/272/321/202/320/276/321/200/321/213/2GIS/$mcp/class.js"} +0 -0
- /package/MODULES/{2GIS/$module/readme.md → /320/232/320/276/320/275/320/275/320/265/320/272/321/202/320/276/321/200/321/213/2GIS/$mcp/readme.md"} +0 -0
- /package/MODULES/{Telegram/$module/class.js → /320/232/320/276/320/275/320/275/320/265/320/272/321/202/320/276/321/200/321/213/Telegram/$module/class.js"} +0 -0
- /package/{models/GigaChat/$provider/$folder/$class/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/GigaChat/$provider/$folder/$class/$ai/class.js"} +0 -0
- /package/{models/GigaChat/$provider/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/GigaChat/$provider/class.js"} +0 -0
- /package/{models/GigaChat/GigaChat 2 Lite/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/GigaChat/GigaChat 2 Lite/$ai/class.js"} +0 -0
- /package/{models/GigaChat/GigaChat 2 Max/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/GigaChat/GigaChat 2 Max/$ai/class.js"} +0 -0
- /package/{models/GigaChat/GigaChat 2 Pro/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/GigaChat/GigaChat 2 Pro/$ai/class.js"} +0 -0
- /package/{models/GigaChat/GigaChat Embeddings/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/GigaChat/GigaChat Embeddings/$ai/class.js"} +0 -0
- /package/{models/MTS-AI/$provider/$folder/$class/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/MTS-AI/$provider/$folder/$class/$ai/class.js"} +0 -0
- /package/{models/MTS-AI/$provider/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/MTS-AI/$provider/class.js"} +0 -0
- /package/{models/MTS-AI/Cotype Lite/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/MTS-AI/Cotype Lite/$ai/class.js"} +0 -0
- /package/{models/MTS-AI/Cotype Pro 2/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/MTS-AI/Cotype Pro 2/$ai/class.js"} +0 -0
- /package/{models/MTS-AI/Cotype Vision/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/MTS-AI/Cotype Vision/$ai/class.js"} +0 -0
- /package/{models/T-Bank/$provider/$folder/$class/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/T-Bank/$provider/$folder/$class/$ai/class.js"} +0 -0
- /package/{models/T-Bank/$provider/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/T-Bank/$provider/class.js"} +0 -0
- /package/{models/T-Bank/T-Lite 2.0/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/T-Bank/T-Lite 2.0/$ai/class.js"} +0 -0
- /package/{models/T-Bank/T-Pro 2.0/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/T-Bank/T-Pro 2.0/$ai/class.js"} +0 -0
- /package/{models/T-Bank/T-VoiceKit ASR/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/T-Bank/T-VoiceKit ASR/$ai/class.js"} +0 -0
- /package/{models/T-Bank/T-VoiceKit TTS/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/T-Bank/T-VoiceKit TTS/$ai/class.js"} +0 -0
- /package/{models/Yandex/$provider/$folder/$class/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Yandex/$provider/$folder/$class/$ai/class.js"} +0 -0
- /package/{models/Yandex/$provider/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Yandex/$provider/class.js"} +0 -0
- /package/{models/Yandex/Alice AI (YandexGPT 5 Pro)/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Yandex/Alice AI (YandexGPT 5 Pro)/$ai/class.js"} +0 -0
- /package/{models/Yandex/Yandex Embeddings/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Yandex/Yandex Embeddings/$ai/class.js"} +0 -0
- /package/{models/Yandex/Yandex SpeechKit ASR/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Yandex/Yandex SpeechKit ASR/$ai/class.js"} +0 -0
- /package/{models/Yandex/Yandex SpeechKit TTS/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Yandex/Yandex SpeechKit TTS/$ai/class.js"} +0 -0
- /package/{models/Yandex/YandexART/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Yandex/YandexART/$ai/class.js"} +0 -0
- /package/{models/Yandex/YandexGPT 5 Lite/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Yandex/YandexGPT 5 Lite/$ai/class.js"} +0 -0
- /package/{models/Yandex/YandexGPT Reasoning/$ai/class.js → MODULES//320/234/320/276/320/264/320/265/320/273/320/270/Yandex/YandexGPT Reasoning/$ai/class.js"} +0 -0
- /package/MODULES/{DuckDuckGo/$module/class.js → /320/237/320/276/320/270/321/201/320/272/DuckDuckGo/$module/class.js"} +0 -0
- /package/MODULES/{SearXNG/$module/class.js → /320/237/320/276/320/270/321/201/320/272/SearXNG/$module/class.js"} +0 -0
- /package/MODULES/{Yandex/$module/class.js → /320/237/320/276/320/270/321/201/320/272/Yandex/$module/class.js"} +0 -0
- /package/MODULES/{Process/$module/$folder/$class/$data/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Process/$module/$folder/$class/$data/$catalog/class.js"} +0 -0
- /package/MODULES/{Process/$module/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Process/$module/class.js"} +0 -0
- /package/MODULES/{Process → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Process}//320/241/321/205/320/265/320/274/321/213 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/320/276/320/262/$catalog/class.js" +0 -0
- /package/MODULES/{Register/$module/$folder/$class/$data/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/$module/$folder/$class/$data/$catalog/class.js"} +0 -0
- /package/MODULES/{Register/$module/$folder/$class/$data/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/$module/$folder/$class/$data/$operation/class.js"} +0 -0
- /package/MODULES/{Register/$module/$folder/$class/$data/$register/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/$module/$folder/$class/$data/$register/class.js"} +0 -0
- /package/MODULES/{Register/$module/$folder/$class/$data/$struct/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/$module/$folder/$class/$data/$struct/class.js"} +0 -0
- /package/MODULES/{Register/$module/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/$module/class.js"} +0 -0
- /package/MODULES/{Register/$module/readme.md → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/$module/readme.md"} +0 -0
- /package/MODULES/{Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/$virtual/$folder/$class/$data/$catalog/$virtual/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/$virtual/$folder/$class/$data/$catalog/$virtual/class.js"} +0 -0
- /package/MODULES/{Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/$virtual/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/$virtual/class.js"} +0 -0
- /package/MODULES/{Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS/$catalog/$folder/$class/$data/$catalog/class.js"} +0 -0
- /package/MODULES/{Register/CATALOGS/$catalog/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/CATALOGS/$catalog/class.js"} +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/CATALOGS//320/222/320/270/320/264/321/213 /320/275/320/276/321/200/320/274/320/260/321/202/320/270/320/262/320/276/320/262/$catalog/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/CATALOGS//320/224/320/276/320/273/320/266/320/275/320/276/321/201/321/202/320/270/$catalog/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/CATALOGS//320/241/320/276/321/202/321/200/321/203/320/264/320/275/320/270/320/272/320/270/$virtual/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213/$catalog/class.js" +0 -0
- /package/MODULES/{Register/OPERATIONS/$operation/$folder/$class/$data/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS/$operation/$folder/$class/$data/$operation/class.js"} +0 -0
- /package/MODULES/{Register/OPERATIONS/$operation/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/OPERATIONS/$operation/class.js"} +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/232/320/260/320/264/321/200/321/213/$operation/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/232/320/260/321/201/321/201/320/260/$operation/$folder/$class/$data/$operation/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/232/320/260/321/201/321/201/320/260/$operation/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270/$operation/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/236/321/201/320/275/320/276/320/262/320/275/321/213/320/265 /321/201/321/200/320/265/320/264/321/201/321/202/320/262/320/260/$operation/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260/$operation/$folder/$class/$data/$operation/print//320/237/320/273/320/260/321/202/321/221/320/266/320/275/320/276/320/265 /320/277/320/276/321/200/321/203/321/207/320/265/320/275/320/270/320/265.html" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260/$operation/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/321/217 /320/275/320/260 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/321/213/320/271 /321/201/321/207/321/221/321/202/$operation/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/237/321/200/320/276/320/270/320/267/320/262/320/276/320/264/321/201/321/202/320/262/320/276/$operation/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217/$operation/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/OPERATIONS//320/244/320/270/320/275/320/260/320/275/321/201/320/276/320/262/321/213/320/271 /321/200/320/265/320/267/321/203/320/273/321/214/321/202/320/260/321/202/$operation/class.js" +0 -0
- /package/MODULES/{Register/REGISTER/$register/$folder/$class/$data/$register/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/$folder/$class/$data/$register/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/$register/$folder/$class/$data/$register/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/$folder/$class/$data/$register/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/$register/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/$register/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/10/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/10/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/19/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/19/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/20/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/20/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/26/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/26/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/50/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/50/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/51/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/51/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/55/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/55/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/58/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/58/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/66/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/66/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/67/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/67/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/68/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/68/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/68/04/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/68/04/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/69/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/69/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/75/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/75/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/80/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/80/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/84/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/84/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/90/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/90/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/90/09/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/90/09/$account/class.js"} +0 -0
- /package/MODULES/{Register/REGISTER/99/$account/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/REGISTER/99/$account/class.js"} +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/REGISTER//320/232/320/260/320/264/321/200/321/213/$account/class.js" +0 -0
- /package/MODULES/{Register/STRUCTS/$struct/$folder/$class/$data/$struct/class.js → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register/STRUCTS/$struct/$folder/$class/$data/$struct/class.js"} +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/STRUCTS//320/220/320/264/321/200/320/265/321/201/$struct/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/STRUCTS//320/221/320/260/320/275/320/272/320/276/320/262/321/201/320/272/320/270/320/271 /321/201/321/207/321/221/321/202/$struct/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/STRUCTS//320/225/320/264/320/270/320/275/320/270/321/206/320/260 /320/270/320/267/320/274/320/265/321/200/320/265/320/275/320/270/321/217/$struct/class.js" +0 -0
- /package/MODULES/{Register → /320/243/321/207/321/221/321/202 /320/270 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/321/213/Register}/STRUCTS//320/244/320/230/320/236/$struct/class.js" +0 -0
- /package/{users → USERS}/$users/class.js +0 -0
|
@@ -1,1188 +0,0 @@
|
|
|
1
|
-
const EMPTY_DRAFT = () => ({ uid: '', origTime: 0, from: '', to: '', cc: '', subject: '', body: '', inReplyTo: '', attachments: [] });
|
|
2
|
-
|
|
3
|
-
function parseJson(value) {
|
|
4
|
-
if (value && typeof value === 'object') return value;
|
|
5
|
-
if (typeof value !== 'string' || !value) return null;
|
|
6
|
-
try {
|
|
7
|
-
const parsed = JSON.parse(value);
|
|
8
|
-
return parsed && typeof parsed === 'object' ? parsed : null;
|
|
9
|
-
}
|
|
10
|
-
catch {
|
|
11
|
-
return null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function formatMailShortDate(value) {
|
|
16
|
-
if (!value) return '';
|
|
17
|
-
const d = new Date(value);
|
|
18
|
-
if (isNaN(d.getTime())) return String(value);
|
|
19
|
-
const now = new Date();
|
|
20
|
-
const sameDay = d.getFullYear() === now.getFullYear() && d.getMonth() === now.getMonth() && d.getDate() === now.getDate();
|
|
21
|
-
if (sameDay)
|
|
22
|
-
return d.toLocaleTimeString('ru-RU', { hour: '2-digit', minute: '2-digit' });
|
|
23
|
-
return d.toLocaleDateString('ru-RU', { day: '2-digit', month: '2-digit' });
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function formatMailFullDate(value) {
|
|
27
|
-
if (!value) return '';
|
|
28
|
-
const d = new Date(value);
|
|
29
|
-
if (isNaN(d.getTime())) return String(value);
|
|
30
|
-
return d.toLocaleString('ru-RU', {
|
|
31
|
-
day: '2-digit', month: 'short', year: 'numeric',
|
|
32
|
-
hour: '2-digit', minute: '2-digit',
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function htmlToText(html) {
|
|
37
|
-
try {
|
|
38
|
-
return new DOMParser().parseFromString(html, 'text/html').body?.textContent || '';
|
|
39
|
-
}
|
|
40
|
-
catch {
|
|
41
|
-
return '';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function quoteBody(msg) {
|
|
46
|
-
const text = msg.body || htmlToText(msg.html || '');
|
|
47
|
-
const quoted = String(text).split(/\r?\n/).map(line => '> ' + line).join('\n');
|
|
48
|
-
return `\n\n${formatMailFullDate(msg.date)}, ${msg.from || ''} пишет:\n${quoted}`;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function htmlDocument(html) {
|
|
52
|
-
return '<!doctype html><html><head><meta charset="utf-8"><base target="_blank">'
|
|
53
|
-
+ '<style>body{margin:0;padding:8px;font-family:sans-serif;font-size:13.5px;line-height:1.45;word-wrap:break-word;}img{max-width:100%;height:auto;}</style>'
|
|
54
|
-
+ '</head><body>' + String(html || '') + '</body></html>';
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function mailboxesToAccounts(mailboxes = {}) {
|
|
58
|
-
return Object.entries(mailboxes).map(([address, box]) => ({
|
|
59
|
-
address,
|
|
60
|
-
smtp: { host: '', port: 465, secure: true, ...box.smtp },
|
|
61
|
-
imap: { host: '', port: 993, secure: true, ...box.imap },
|
|
62
|
-
auth: { user: address, pass: '', ...box.auth },
|
|
63
|
-
}));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function accountsToMailboxes(accounts = [], previousMailboxes = {}) {
|
|
67
|
-
const mailboxes = Object.create(null);
|
|
68
|
-
for (const acc of accounts) {
|
|
69
|
-
const address = String(acc.auth?.user || '').trim();
|
|
70
|
-
if (!address) continue;
|
|
71
|
-
const prev = previousMailboxes?.[address] || {};
|
|
72
|
-
mailboxes[address] = {
|
|
73
|
-
...prev,
|
|
74
|
-
smtp: { host: acc.smtp?.host || '', port: Number(acc.smtp?.port) || 465, secure: acc.smtp?.secure !== false },
|
|
75
|
-
imap: { host: acc.imap?.host || '', port: Number(acc.imap?.port) || 993, secure: acc.imap?.secure !== false },
|
|
76
|
-
auth: { user: address, pass: acc.auth?.pass || '' },
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
return mailboxes;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
async function openEmailSettingsDialog($context) {
|
|
83
|
-
if (openEmailSettingsDialog.opening || !$context) return null;
|
|
84
|
-
openEmailSettingsDialog.opening = true;
|
|
85
|
-
let el, settings;
|
|
86
|
-
try {
|
|
87
|
-
settings = await $context.fetch('read_secret', { filename: 'email.json' });
|
|
88
|
-
el = ODA.createElement('oda-email-settings', {
|
|
89
|
-
accounts: mailboxesToAccounts(settings?.mailboxes),
|
|
90
|
-
});
|
|
91
|
-
if (!el.accounts.length) el.addAccount();
|
|
92
|
-
else el.index = 0;
|
|
93
|
-
}
|
|
94
|
-
catch (e) {
|
|
95
|
-
ODA.showMessage?.(e.message || String(e));
|
|
96
|
-
return null;
|
|
97
|
-
}
|
|
98
|
-
finally {
|
|
99
|
-
openEmailSettingsDialog.opening = false;
|
|
100
|
-
}
|
|
101
|
-
try {
|
|
102
|
-
await WORK.showDialog(el, {
|
|
103
|
-
TITLE: { label: 'Почтовые ящики', icon: 'enterprise:email' },
|
|
104
|
-
OK: { label: 'Сохранить', icon: 'icons:save' },
|
|
105
|
-
CANCEL: { label: 'Отмена', icon: 'icons:close' },
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
catch {
|
|
109
|
-
return null;
|
|
110
|
-
}
|
|
111
|
-
try {
|
|
112
|
-
el.validate();
|
|
113
|
-
const mailboxes = accountsToMailboxes(el.accounts, settings?.mailboxes);
|
|
114
|
-
await $context.fetch('save_secret', { filename: 'email.json' }, JSON.stringify({ mailboxes }));
|
|
115
|
-
return mailboxes;
|
|
116
|
-
}
|
|
117
|
-
catch (e) {
|
|
118
|
-
ODA.showMessage?.(e.message || String(e));
|
|
119
|
-
return null;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
ODA({
|
|
124
|
-
is: 'oda-email-settings',
|
|
125
|
-
imports: 'oda//button, oda//checkbox, oda//icon',
|
|
126
|
-
template: /* html */ `
|
|
127
|
-
<style>
|
|
128
|
-
:host {
|
|
129
|
-
@apply --horizontal;
|
|
130
|
-
@apply --flex;
|
|
131
|
-
width: min(680px, calc(100vw - 24px));
|
|
132
|
-
max-width: 100%;
|
|
133
|
-
min-height: min(320px, 50dvh);
|
|
134
|
-
box-sizing: border-box;
|
|
135
|
-
overflow: hidden;
|
|
136
|
-
}
|
|
137
|
-
.accounts {
|
|
138
|
-
width: 220px;
|
|
139
|
-
min-width: 170px;
|
|
140
|
-
flex-shrink: 0;
|
|
141
|
-
@apply --light;
|
|
142
|
-
border-right: 1px solid var(--subtle-border);
|
|
143
|
-
overflow-y: auto;
|
|
144
|
-
}
|
|
145
|
-
@media (max-width: 640px) {
|
|
146
|
-
:host {
|
|
147
|
-
flex-direction: column;
|
|
148
|
-
}
|
|
149
|
-
.accounts {
|
|
150
|
-
width: 100%;
|
|
151
|
-
min-width: 0;
|
|
152
|
-
border-right: none;
|
|
153
|
-
border-bottom: 1px solid var(--subtle-border);
|
|
154
|
-
max-height: 32dvh;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
.accounts-toolbar {
|
|
158
|
-
padding: 6px var(--space-m);
|
|
159
|
-
gap: var(--space-s);
|
|
160
|
-
@apply --header;
|
|
161
|
-
align-items: center;
|
|
162
|
-
}
|
|
163
|
-
.account-item {
|
|
164
|
-
padding: 10px var(--space-m) 10px 12px;
|
|
165
|
-
cursor: pointer;
|
|
166
|
-
border-bottom: 1px solid var(--subtle-border);
|
|
167
|
-
}
|
|
168
|
-
.account-item:not([info-invert]):hover { @apply --hover; }
|
|
169
|
-
.account-title {
|
|
170
|
-
font-weight: 500;
|
|
171
|
-
overflow: hidden;
|
|
172
|
-
text-overflow: ellipsis;
|
|
173
|
-
white-space: nowrap;
|
|
174
|
-
}
|
|
175
|
-
.account-sub { font-size: x-small; @apply --muted; }
|
|
176
|
-
[info-invert] .account-sub { color: inherit; fill: inherit; opacity: .75; }
|
|
177
|
-
.editor {
|
|
178
|
-
padding: 12px var(--space-l);
|
|
179
|
-
gap: var(--space-m);
|
|
180
|
-
overflow: auto;
|
|
181
|
-
}
|
|
182
|
-
fieldset {
|
|
183
|
-
border: 1px solid var(--subtle-border);
|
|
184
|
-
border-radius: var(--radius-s);
|
|
185
|
-
padding: var(--space-s) var(--space-m);
|
|
186
|
-
margin: 0;
|
|
187
|
-
}
|
|
188
|
-
legend { font-size: x-small; padding: 0 var(--space-s); }
|
|
189
|
-
input {
|
|
190
|
-
border: none;
|
|
191
|
-
outline: none;
|
|
192
|
-
background: transparent;
|
|
193
|
-
color: inherit;
|
|
194
|
-
width: 100%;
|
|
195
|
-
padding: var(--space-s) 0;
|
|
196
|
-
box-sizing: border-box;
|
|
197
|
-
font: inherit;
|
|
198
|
-
}
|
|
199
|
-
.row { gap: 12px; align-items: center; }
|
|
200
|
-
.port { max-width: 72px; }
|
|
201
|
-
.empty { padding: var(--space-l); @apply --muted; }
|
|
202
|
-
</style>
|
|
203
|
-
<div class="accounts" vertical>
|
|
204
|
-
<div class="accounts-toolbar" horizontal>
|
|
205
|
-
<span flex>Ящики</span>
|
|
206
|
-
<oda-button icon="icons:add" @tap="addAccount" title="Добавить ящик"></oda-button>
|
|
207
|
-
<oda-button icon="icons:delete" :disabled="!current" @tap="removeAccount" title="Удалить ящик"></oda-button>
|
|
208
|
-
</div>
|
|
209
|
-
<div class="account-item" ~for="accounts"
|
|
210
|
-
:info-invert="index === $for.index"
|
|
211
|
-
@tap="index = $for.index">
|
|
212
|
-
<div class="account-title">{{$for.item.auth.user || 'Новый ящик'}}</div>
|
|
213
|
-
<div class="account-sub">{{$for.item.smtp.host || 'SMTP не задан'}}</div>
|
|
214
|
-
</div>
|
|
215
|
-
<div ~if="!accounts.length" class="empty">Нажмите «+» чтобы добавить ящик</div>
|
|
216
|
-
</div>
|
|
217
|
-
<div class="editor" vertical flex ~if="current">
|
|
218
|
-
<fieldset>
|
|
219
|
-
<legend>Учётная запись</legend>
|
|
220
|
-
<input placeholder="user@example.com" ::value="current.auth.user">
|
|
221
|
-
<input type="password" placeholder="Пароль или пароль приложения" ::value="current.auth.pass">
|
|
222
|
-
</fieldset>
|
|
223
|
-
<fieldset>
|
|
224
|
-
<legend>Исходящая почта (SMTP)</legend>
|
|
225
|
-
<div class="row" horizontal>
|
|
226
|
-
<input flex placeholder="smtp.yandex.ru" ::value="current.smtp.host">
|
|
227
|
-
<input class="port" type="number" placeholder="465" ::value="current.smtp.port">
|
|
228
|
-
<oda-checkbox ::value="current.smtp.secure"></oda-checkbox><span>TLS</span>
|
|
229
|
-
</div>
|
|
230
|
-
</fieldset>
|
|
231
|
-
<fieldset>
|
|
232
|
-
<legend>Входящая почта (IMAP)</legend>
|
|
233
|
-
<div class="row" horizontal>
|
|
234
|
-
<input flex placeholder="imap.yandex.ru" ::value="current.imap.host">
|
|
235
|
-
<input class="port" type="number" placeholder="993" ::value="current.imap.port">
|
|
236
|
-
<oda-checkbox ::value="current.imap.secure"></oda-checkbox><span>TLS</span>
|
|
237
|
-
</div>
|
|
238
|
-
</fieldset>
|
|
239
|
-
</div>
|
|
240
|
-
<div ~if="!current" class="empty" flex>Выберите или добавьте ящик</div>
|
|
241
|
-
`,
|
|
242
|
-
accounts: [],
|
|
243
|
-
index: -1,
|
|
244
|
-
get current() { return this.accounts[this.index] ?? null; },
|
|
245
|
-
addAccount() {
|
|
246
|
-
this.accounts = [...this.accounts, {
|
|
247
|
-
address: '',
|
|
248
|
-
smtp: { host: '', port: 465, secure: true },
|
|
249
|
-
imap: { host: '', port: 993, secure: true },
|
|
250
|
-
auth: { user: '', pass: '' },
|
|
251
|
-
}];
|
|
252
|
-
this.index = this.accounts.length - 1;
|
|
253
|
-
},
|
|
254
|
-
removeAccount() {
|
|
255
|
-
if (this.index < 0) return;
|
|
256
|
-
const next = [...this.accounts];
|
|
257
|
-
next.splice(this.index, 1);
|
|
258
|
-
this.accounts = next;
|
|
259
|
-
this.index = next.length ? Math.min(this.index, next.length - 1) : -1;
|
|
260
|
-
},
|
|
261
|
-
validate() {
|
|
262
|
-
const seen = new Set();
|
|
263
|
-
for (const acc of this.accounts) {
|
|
264
|
-
const addr = String(acc.auth?.user || '').trim();
|
|
265
|
-
if (!addr) throw new Error('Укажите адрес (логин) для каждого ящика');
|
|
266
|
-
if (seen.has(addr)) throw new Error('Повторяющийся ящик: ' + addr);
|
|
267
|
-
seen.add(addr);
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
});
|
|
271
|
-
|
|
272
|
-
export default {
|
|
273
|
-
icon: 'enterprise:email',
|
|
274
|
-
imports: 'oda//button, oda//icon',
|
|
275
|
-
template: /* html */`
|
|
276
|
-
<style>
|
|
277
|
-
:host {
|
|
278
|
-
@apply --horizontal;
|
|
279
|
-
@apply --flex;
|
|
280
|
-
overflow: hidden;
|
|
281
|
-
background: var(--content-background, #ffffff);
|
|
282
|
-
color: var(--content-color, #1e293b);
|
|
283
|
-
font-size: 13px;
|
|
284
|
-
}
|
|
285
|
-
.mail-sidebar {
|
|
286
|
-
@apply --vertical;
|
|
287
|
-
width: 212px;
|
|
288
|
-
flex-shrink: 0;
|
|
289
|
-
padding: 12px 10px;
|
|
290
|
-
gap: 6px;
|
|
291
|
-
border-right: 1px solid var(--subtle-border, #e2e8f0);
|
|
292
|
-
background: var(--subtle-background, #f8fafc);
|
|
293
|
-
overflow-y: auto;
|
|
294
|
-
}
|
|
295
|
-
.compose-btn {
|
|
296
|
-
@apply --horizontal;
|
|
297
|
-
align-items: center;
|
|
298
|
-
justify-content: center;
|
|
299
|
-
gap: 7px;
|
|
300
|
-
padding: 9px 14px;
|
|
301
|
-
border-radius: 9px;
|
|
302
|
-
border: none;
|
|
303
|
-
background: var(--accent-color, #2563eb);
|
|
304
|
-
color: var(--accent-back, #ffffff);
|
|
305
|
-
font: inherit;
|
|
306
|
-
font-size: 13.5px;
|
|
307
|
-
font-weight: 600;
|
|
308
|
-
cursor: pointer;
|
|
309
|
-
margin-bottom: 6px;
|
|
310
|
-
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.22);
|
|
311
|
-
}
|
|
312
|
-
.compose-btn:hover { filter: brightness(1.06); }
|
|
313
|
-
.nav-btn {
|
|
314
|
-
@apply --horizontal;
|
|
315
|
-
align-items: center;
|
|
316
|
-
gap: 9px;
|
|
317
|
-
width: 100%;
|
|
318
|
-
padding: 8px 11px;
|
|
319
|
-
border-radius: 8px;
|
|
320
|
-
border: 1px solid transparent;
|
|
321
|
-
background: transparent;
|
|
322
|
-
color: inherit;
|
|
323
|
-
font: inherit;
|
|
324
|
-
font-size: 13.5px;
|
|
325
|
-
font-weight: 500;
|
|
326
|
-
text-align: left;
|
|
327
|
-
cursor: pointer;
|
|
328
|
-
user-select: none;
|
|
329
|
-
}
|
|
330
|
-
.nav-btn:hover {
|
|
331
|
-
background: color-mix(in srgb, var(--accent-color, #2563eb) 6%, transparent);
|
|
332
|
-
}
|
|
333
|
-
.nav-btn.active {
|
|
334
|
-
background: color-mix(in srgb, var(--accent-color, #2563eb) 10%, var(--content-background, #ffffff));
|
|
335
|
-
border-color: color-mix(in srgb, var(--accent-color, #2563eb) 50%, transparent);
|
|
336
|
-
color: var(--accent-color, #2563eb);
|
|
337
|
-
font-weight: 600;
|
|
338
|
-
}
|
|
339
|
-
.nav-badge {
|
|
340
|
-
margin-left: auto;
|
|
341
|
-
padding: 1px 7px;
|
|
342
|
-
border-radius: 999px;
|
|
343
|
-
font-size: 11px;
|
|
344
|
-
font-weight: 700;
|
|
345
|
-
background: var(--accent-color, #2563eb);
|
|
346
|
-
color: #ffffff;
|
|
347
|
-
}
|
|
348
|
-
.nav-count {
|
|
349
|
-
margin-left: auto;
|
|
350
|
-
font-size: 11.5px;
|
|
351
|
-
color: var(--muted-color, #64748b);
|
|
352
|
-
}
|
|
353
|
-
.side-sep {
|
|
354
|
-
height: 1px;
|
|
355
|
-
margin: 4px 6px;
|
|
356
|
-
background: var(--subtle-border, #e2e8f0);
|
|
357
|
-
}
|
|
358
|
-
.side-label {
|
|
359
|
-
padding: 2px 10px;
|
|
360
|
-
font-size: 11px;
|
|
361
|
-
font-weight: 700;
|
|
362
|
-
text-transform: uppercase;
|
|
363
|
-
letter-spacing: 0.04em;
|
|
364
|
-
color: var(--muted-color, #64748b);
|
|
365
|
-
}
|
|
366
|
-
.acc-pill {
|
|
367
|
-
font-size: 12.5px;
|
|
368
|
-
padding: 6px 10px;
|
|
369
|
-
overflow: hidden;
|
|
370
|
-
text-overflow: ellipsis;
|
|
371
|
-
white-space: nowrap;
|
|
372
|
-
}
|
|
373
|
-
.mail-list-pane {
|
|
374
|
-
@apply --vertical;
|
|
375
|
-
width: 335px;
|
|
376
|
-
min-width: 260px;
|
|
377
|
-
flex-shrink: 0;
|
|
378
|
-
border-right: 1px solid var(--subtle-border, #e2e8f0);
|
|
379
|
-
background: var(--content-background, #ffffff);
|
|
380
|
-
overflow: hidden;
|
|
381
|
-
}
|
|
382
|
-
.list-toolbar {
|
|
383
|
-
@apply --horizontal;
|
|
384
|
-
align-items: center;
|
|
385
|
-
gap: 6px;
|
|
386
|
-
padding: 10px 10px 8px;
|
|
387
|
-
border-bottom: 1px solid var(--subtle-border, #e2e8f0);
|
|
388
|
-
background: var(--content-background, #ffffff);
|
|
389
|
-
}
|
|
390
|
-
.search-input {
|
|
391
|
-
@apply --flex;
|
|
392
|
-
min-width: 0;
|
|
393
|
-
padding: 6px 10px;
|
|
394
|
-
border-radius: 7px;
|
|
395
|
-
border: 1px solid var(--subtle-border, #cbd5e1);
|
|
396
|
-
background: var(--subtle-background, #f8fafc);
|
|
397
|
-
color: inherit;
|
|
398
|
-
font: inherit;
|
|
399
|
-
font-size: 12.5px;
|
|
400
|
-
outline: none;
|
|
401
|
-
}
|
|
402
|
-
.search-input:focus {
|
|
403
|
-
border-color: var(--accent-color, #2563eb);
|
|
404
|
-
background: var(--content-background, #ffffff);
|
|
405
|
-
}
|
|
406
|
-
.icon-btn {
|
|
407
|
-
@apply --horizontal;
|
|
408
|
-
align-items: center;
|
|
409
|
-
justify-content: center;
|
|
410
|
-
padding: 6px 8px;
|
|
411
|
-
border-radius: 7px;
|
|
412
|
-
border: 1px solid var(--subtle-border, #cbd5e1);
|
|
413
|
-
background: var(--content-background, #ffffff);
|
|
414
|
-
color: inherit;
|
|
415
|
-
cursor: pointer;
|
|
416
|
-
font-size: 12px;
|
|
417
|
-
}
|
|
418
|
-
.icon-btn:hover { background: var(--accent-soft); }
|
|
419
|
-
.icon-btn.active {
|
|
420
|
-
border-color: var(--accent-color, #2563eb);
|
|
421
|
-
color: var(--accent-color, #2563eb);
|
|
422
|
-
background: color-mix(in srgb, var(--accent-color, #2563eb) 10%, var(--content-background, #ffffff));
|
|
423
|
-
font-weight: 600;
|
|
424
|
-
}
|
|
425
|
-
.msg-scroll {
|
|
426
|
-
@apply --vertical;
|
|
427
|
-
@apply --flex;
|
|
428
|
-
overflow-y: auto;
|
|
429
|
-
}
|
|
430
|
-
.msg-row {
|
|
431
|
-
display: flex;
|
|
432
|
-
flex-direction: column;
|
|
433
|
-
gap: 3px;
|
|
434
|
-
padding: 10px 12px;
|
|
435
|
-
border-bottom: 1px solid var(--subtle-border, #f1f5f9);
|
|
436
|
-
cursor: pointer;
|
|
437
|
-
position: relative;
|
|
438
|
-
transition: background 0.1s ease;
|
|
439
|
-
}
|
|
440
|
-
.msg-row:hover {
|
|
441
|
-
background: var(--subtle-background, #f8fafc);
|
|
442
|
-
}
|
|
443
|
-
.msg-row.selected {
|
|
444
|
-
background: color-mix(in srgb, var(--accent-color, #2563eb) 10%, var(--content-background, #ffffff));
|
|
445
|
-
border-left: 3px solid var(--accent-color, #2563eb);
|
|
446
|
-
padding-left: 9px;
|
|
447
|
-
}
|
|
448
|
-
.msg-row.unread .msg-peer,
|
|
449
|
-
.msg-row.unread .msg-subj {
|
|
450
|
-
font-weight: 700;
|
|
451
|
-
}
|
|
452
|
-
.msg-top {
|
|
453
|
-
display: flex;
|
|
454
|
-
align-items: center;
|
|
455
|
-
gap: 6px;
|
|
456
|
-
min-width: 0;
|
|
457
|
-
}
|
|
458
|
-
.unread-dot {
|
|
459
|
-
width: 7px;
|
|
460
|
-
height: 7px;
|
|
461
|
-
border-radius: 50%;
|
|
462
|
-
background: var(--accent-color, #2563eb);
|
|
463
|
-
flex-shrink: 0;
|
|
464
|
-
}
|
|
465
|
-
.msg-peer {
|
|
466
|
-
flex: 1;
|
|
467
|
-
min-width: 0;
|
|
468
|
-
overflow: hidden;
|
|
469
|
-
text-overflow: ellipsis;
|
|
470
|
-
white-space: nowrap;
|
|
471
|
-
font-size: 13px;
|
|
472
|
-
font-weight: 500;
|
|
473
|
-
}
|
|
474
|
-
.msg-time {
|
|
475
|
-
font-size: 11px;
|
|
476
|
-
color: var(--muted-color, #64748b);
|
|
477
|
-
white-space: nowrap;
|
|
478
|
-
}
|
|
479
|
-
.msg-subj {
|
|
480
|
-
font-size: 12.5px;
|
|
481
|
-
overflow: hidden;
|
|
482
|
-
text-overflow: ellipsis;
|
|
483
|
-
white-space: nowrap;
|
|
484
|
-
display: flex;
|
|
485
|
-
align-items: center;
|
|
486
|
-
gap: 5px;
|
|
487
|
-
}
|
|
488
|
-
.msg-snip {
|
|
489
|
-
font-size: 11.5px;
|
|
490
|
-
color: var(--muted-color, #64748b);
|
|
491
|
-
overflow: hidden;
|
|
492
|
-
text-overflow: ellipsis;
|
|
493
|
-
white-space: nowrap;
|
|
494
|
-
}
|
|
495
|
-
.status-tag {
|
|
496
|
-
font-size: 10.5px;
|
|
497
|
-
padding: 1px 6px;
|
|
498
|
-
border-radius: 999px;
|
|
499
|
-
background: var(--subtle-background, #f1f5f9);
|
|
500
|
-
color: var(--muted-color, #64748b);
|
|
501
|
-
}
|
|
502
|
-
.status-tag.err { background: #fef2f2; color: #dc2626; }
|
|
503
|
-
.status-tag.draft { background: #fffbeb; color: #b45309; }
|
|
504
|
-
.mail-view-pane {
|
|
505
|
-
@apply --vertical;
|
|
506
|
-
@apply --flex;
|
|
507
|
-
min-width: 0;
|
|
508
|
-
overflow: hidden;
|
|
509
|
-
background: var(--content-background, #ffffff);
|
|
510
|
-
}
|
|
511
|
-
.empty-pane {
|
|
512
|
-
@apply --vertical;
|
|
513
|
-
@apply --flex;
|
|
514
|
-
align-items: center;
|
|
515
|
-
justify-content: center;
|
|
516
|
-
gap: 10px;
|
|
517
|
-
color: var(--muted-color, #64748b);
|
|
518
|
-
padding: 24px;
|
|
519
|
-
text-align: center;
|
|
520
|
-
}
|
|
521
|
-
.view-actions {
|
|
522
|
-
@apply --horizontal;
|
|
523
|
-
align-items: center;
|
|
524
|
-
gap: 6px;
|
|
525
|
-
padding: 10px 16px;
|
|
526
|
-
border-bottom: 1px solid var(--subtle-border, #e2e8f0);
|
|
527
|
-
background: var(--subtle-background, #f8fafc);
|
|
528
|
-
flex-wrap: wrap;
|
|
529
|
-
}
|
|
530
|
-
.view-head {
|
|
531
|
-
@apply --vertical;
|
|
532
|
-
gap: 4px;
|
|
533
|
-
padding: 14px 18px 10px;
|
|
534
|
-
border-bottom: 1px solid var(--subtle-border, #e2e8f0);
|
|
535
|
-
}
|
|
536
|
-
.view-subject {
|
|
537
|
-
font-size: 17px;
|
|
538
|
-
font-weight: 700;
|
|
539
|
-
}
|
|
540
|
-
.view-meta {
|
|
541
|
-
font-size: 12.5px;
|
|
542
|
-
color: var(--muted-color, #475569);
|
|
543
|
-
}
|
|
544
|
-
.att-bar {
|
|
545
|
-
display: flex;
|
|
546
|
-
flex-wrap: wrap;
|
|
547
|
-
gap: 6px;
|
|
548
|
-
padding: 8px 18px;
|
|
549
|
-
border-bottom: 1px solid var(--subtle-border, #e2e8f0);
|
|
550
|
-
background: var(--subtle-background, #f8fafc);
|
|
551
|
-
}
|
|
552
|
-
.att-chip {
|
|
553
|
-
@apply --horizontal;
|
|
554
|
-
align-items: center;
|
|
555
|
-
gap: 5px;
|
|
556
|
-
padding: 4px 10px;
|
|
557
|
-
border-radius: 6px;
|
|
558
|
-
border: 1px solid var(--subtle-border, #cbd5e1);
|
|
559
|
-
background: var(--content-background, #ffffff);
|
|
560
|
-
font-size: 12px;
|
|
561
|
-
cursor: pointer;
|
|
562
|
-
}
|
|
563
|
-
.view-body {
|
|
564
|
-
@apply --flex;
|
|
565
|
-
overflow: auto;
|
|
566
|
-
padding: 16px 18px;
|
|
567
|
-
white-space: pre-wrap;
|
|
568
|
-
line-height: 1.5;
|
|
569
|
-
user-select: text;
|
|
570
|
-
}
|
|
571
|
-
.view-iframe {
|
|
572
|
-
@apply --flex;
|
|
573
|
-
width: 100%;
|
|
574
|
-
border: none;
|
|
575
|
-
background: #ffffff;
|
|
576
|
-
}
|
|
577
|
-
.compose-wrap {
|
|
578
|
-
@apply --vertical;
|
|
579
|
-
@apply --flex;
|
|
580
|
-
padding: 14px 18px;
|
|
581
|
-
gap: 10px;
|
|
582
|
-
overflow-y: auto;
|
|
583
|
-
}
|
|
584
|
-
.compose-field {
|
|
585
|
-
display: flex;
|
|
586
|
-
align-items: center;
|
|
587
|
-
gap: 8px;
|
|
588
|
-
border-bottom: 1px solid var(--subtle-border, #e2e8f0);
|
|
589
|
-
padding: 4px 0;
|
|
590
|
-
}
|
|
591
|
-
.compose-field label {
|
|
592
|
-
width: 68px;
|
|
593
|
-
font-size: 12.5px;
|
|
594
|
-
color: var(--muted-color, #64748b);
|
|
595
|
-
flex-shrink: 0;
|
|
596
|
-
}
|
|
597
|
-
.compose-field input,
|
|
598
|
-
.compose-field select {
|
|
599
|
-
flex: 1;
|
|
600
|
-
border: none;
|
|
601
|
-
outline: none;
|
|
602
|
-
background: transparent;
|
|
603
|
-
color: inherit;
|
|
604
|
-
font: inherit;
|
|
605
|
-
padding: 4px 0;
|
|
606
|
-
}
|
|
607
|
-
.compose-body {
|
|
608
|
-
@apply --flex;
|
|
609
|
-
min-height: 180px;
|
|
610
|
-
border: 1px solid var(--subtle-border, #e2e8f0);
|
|
611
|
-
border-radius: 8px;
|
|
612
|
-
padding: 10px 12px;
|
|
613
|
-
outline: none;
|
|
614
|
-
background: var(--content-background, #ffffff);
|
|
615
|
-
color: inherit;
|
|
616
|
-
font: inherit;
|
|
617
|
-
line-height: 1.5;
|
|
618
|
-
resize: none;
|
|
619
|
-
}
|
|
620
|
-
.compose-footer {
|
|
621
|
-
@apply --horizontal;
|
|
622
|
-
align-items: center;
|
|
623
|
-
flex-wrap: wrap;
|
|
624
|
-
gap: 8px;
|
|
625
|
-
padding-top: 4px;
|
|
626
|
-
}
|
|
627
|
-
.mail-back-btn {
|
|
628
|
-
display: none;
|
|
629
|
-
}
|
|
630
|
-
@media (max-width: 960px) {
|
|
631
|
-
.mail-sidebar {
|
|
632
|
-
width: 176px;
|
|
633
|
-
}
|
|
634
|
-
.mail-list-pane {
|
|
635
|
-
width: 270px;
|
|
636
|
-
min-width: 210px;
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
@media (max-width: 768px) {
|
|
640
|
-
:host {
|
|
641
|
-
flex-direction: column;
|
|
642
|
-
}
|
|
643
|
-
.mail-sidebar {
|
|
644
|
-
width: 100%;
|
|
645
|
-
flex-direction: row;
|
|
646
|
-
align-items: center;
|
|
647
|
-
overflow-x: auto;
|
|
648
|
-
overflow-y: hidden;
|
|
649
|
-
border-right: none;
|
|
650
|
-
border-bottom: 1px solid var(--subtle-border, #e2e8f0);
|
|
651
|
-
padding: 6px 8px;
|
|
652
|
-
gap: 6px;
|
|
653
|
-
box-sizing: border-box;
|
|
654
|
-
}
|
|
655
|
-
.compose-btn {
|
|
656
|
-
margin-bottom: 0;
|
|
657
|
-
padding: 7px 11px;
|
|
658
|
-
white-space: nowrap;
|
|
659
|
-
flex-shrink: 0;
|
|
660
|
-
}
|
|
661
|
-
.nav-btn {
|
|
662
|
-
width: auto;
|
|
663
|
-
white-space: nowrap;
|
|
664
|
-
flex-shrink: 0;
|
|
665
|
-
padding: 6px 10px;
|
|
666
|
-
}
|
|
667
|
-
.side-sep, .side-label, .mail-side-spacer {
|
|
668
|
-
display: none;
|
|
669
|
-
}
|
|
670
|
-
.mail-list-pane {
|
|
671
|
-
width: 100%;
|
|
672
|
-
min-width: 0;
|
|
673
|
-
flex: 1 1 auto;
|
|
674
|
-
border-right: none;
|
|
675
|
-
}
|
|
676
|
-
.mail-list-pane.mobile-hidden {
|
|
677
|
-
display: none;
|
|
678
|
-
}
|
|
679
|
-
.mail-view-pane {
|
|
680
|
-
width: 100%;
|
|
681
|
-
flex: 1 1 auto;
|
|
682
|
-
min-height: 0;
|
|
683
|
-
}
|
|
684
|
-
.mail-view-pane.mobile-hidden {
|
|
685
|
-
display: none;
|
|
686
|
-
}
|
|
687
|
-
.mail-back-btn {
|
|
688
|
-
display: inline-flex;
|
|
689
|
-
}
|
|
690
|
-
.view-head, .view-body, .compose-wrap {
|
|
691
|
-
padding-left: 12px;
|
|
692
|
-
padding-right: 12px;
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
</style>
|
|
696
|
-
|
|
697
|
-
<aside class="mail-sidebar">
|
|
698
|
-
<button type="button" class="compose-btn" @tap="createEmail()">
|
|
699
|
-
<oda-icon icon="icons:add" icon-size="16"></oda-icon>
|
|
700
|
-
<span>Написать</span>
|
|
701
|
-
</button>
|
|
702
|
-
|
|
703
|
-
<button type="button" class="nav-btn" ~for="folders"
|
|
704
|
-
~class="{ active: activeBox === $for.item.id }"
|
|
705
|
-
@tap="selectBox($for.item.id)">
|
|
706
|
-
<oda-icon :icon="$for.item.icon" icon-size="16"></oda-icon>
|
|
707
|
-
<span>{{$for.item.label}}</span>
|
|
708
|
-
<span ~if="badgeOf($for.item.id) > 0" class="nav-badge">{{badgeOf($for.item.id)}}</span>
|
|
709
|
-
<span ~if="badgeOf($for.item.id) === 0 && countOf($for.item.id) > 0" class="nav-count">{{countOf($for.item.id)}}</span>
|
|
710
|
-
</button>
|
|
711
|
-
|
|
712
|
-
<div class="side-sep" ~if="accounts.length"></div>
|
|
713
|
-
<div class="side-label" ~if="accounts.length">Ящики</div>
|
|
714
|
-
<button type="button" class="nav-btn acc-pill" ~if="accounts.length > 1"
|
|
715
|
-
~class="{ active: !selectedAccount }"
|
|
716
|
-
@tap="selectAccount('')">Все ящики</button>
|
|
717
|
-
<button type="button" class="nav-btn acc-pill" ~for="accounts"
|
|
718
|
-
~class="{ active: selectedAccount === $for.item.address }"
|
|
719
|
-
@tap="selectAccount($for.item.address)"
|
|
720
|
-
:title="$for.item.address">
|
|
721
|
-
<span>{{$for.item.address}}</span>
|
|
722
|
-
</button>
|
|
723
|
-
|
|
724
|
-
<div class="mail-side-spacer" style="flex: 1;"></div>
|
|
725
|
-
<div class="side-sep" ~if="canConfigure"></div>
|
|
726
|
-
<label ~if="canConfigure && accounts.length" style="display:flex;align-items:center;gap:6px;padding:4px 8px;font-size:12px;cursor:pointer;white-space:nowrap;flex-shrink:0;">
|
|
727
|
-
<input type="checkbox" :checked="autoRefresh" @change="toggleAutoRefresh($event.target.checked)">
|
|
728
|
-
<span>Автопроверка почты</span>
|
|
729
|
-
</label>
|
|
730
|
-
<button type="button" class="nav-btn" ~if="canConfigure" @tap="openSettings()">
|
|
731
|
-
<oda-icon icon="icons:settings" icon-size="16"></oda-icon>
|
|
732
|
-
<span>Настройка ящиков</span>
|
|
733
|
-
</button>
|
|
734
|
-
</aside>
|
|
735
|
-
|
|
736
|
-
<section class="mail-list-pane" ~class="{ 'mobile-hidden': mode !== 'idle' }">
|
|
737
|
-
<div class="list-toolbar">
|
|
738
|
-
<input class="search-input" type="search" placeholder="Поиск писем…" :value="searchQuery" @input="onSearchInput($event)">
|
|
739
|
-
<button type="button" class="icon-btn" ~class="{ active: unreadOnly }" @tap="toggleUnreadOnly()" title="Только непрочитанные">●</button>
|
|
740
|
-
<button type="button" class="icon-btn" @tap="fetchRefresh()" :disabled="refreshing" title="Проверить почту с сервера">
|
|
741
|
-
<oda-icon :icon="refreshing ? 'spinners:8-dots-rotate' : 'icons:refresh'" icon-size="15"></oda-icon>
|
|
742
|
-
</button>
|
|
743
|
-
</div>
|
|
744
|
-
|
|
745
|
-
<div class="msg-scroll">
|
|
746
|
-
<div ~if="loading && !messages.length" class="empty-pane">Загрузка писем…</div>
|
|
747
|
-
<div ~if="!loading && !messages.length" class="empty-pane">
|
|
748
|
-
<span>В папке «{{activeBoxLabel}}» писем нет</span>
|
|
749
|
-
</div>
|
|
750
|
-
<div ~for="messages" class="msg-row"
|
|
751
|
-
~class="{ selected: selected?.path === $for.item.path, unread: !$for.item.read }"
|
|
752
|
-
@tap="selectMessage($for.item)">
|
|
753
|
-
<div class="msg-top">
|
|
754
|
-
<span ~if="!$for.item.read" class="unread-dot"></span>
|
|
755
|
-
<span class="msg-peer">{{peerLabel($for.item)}}</span>
|
|
756
|
-
<span class="msg-time">{{shortDate($for.item.date || $for.item.sortTime)}}</span>
|
|
757
|
-
</div>
|
|
758
|
-
<div class="msg-subj">
|
|
759
|
-
<span style="flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">{{$for.item.subject || '(без темы)'}}</span>
|
|
760
|
-
<oda-icon ~if="$for.item.attachmentsCount > 0" icon="editor:attach-file" icon-size="13"></oda-icon>
|
|
761
|
-
<span ~if="$for.item.status === 'failed'" class="status-tag err">ошибка</span>
|
|
762
|
-
<span ~if="$for.item.status === 'draft'" class="status-tag draft">черновик</span>
|
|
763
|
-
</div>
|
|
764
|
-
<div ~if="$for.item.snippet" class="msg-snip">{{$for.item.snippet}}</div>
|
|
765
|
-
</div>
|
|
766
|
-
</div>
|
|
767
|
-
</section>
|
|
768
|
-
|
|
769
|
-
<main class="mail-view-pane" ~class="{ 'mobile-hidden': mode === 'idle' }">
|
|
770
|
-
<div ~if="mode === 'idle'" class="empty-pane">
|
|
771
|
-
<oda-icon icon="enterprise:email" icon-size="40" style="opacity:0.35;"></oda-icon>
|
|
772
|
-
<div style="font-size:14px;font-weight:600;">Выберите письмо для просмотра</div>
|
|
773
|
-
<div ~if="!accounts.length && canConfigure" style="font-size:12.5px;">
|
|
774
|
-
Почтовый ящик для этого узла ещё не настроен.
|
|
775
|
-
<div style="margin-top:8px;">
|
|
776
|
-
<button type="button" class="compose-btn" @tap="openSettings()">Подключить ящик</button>
|
|
777
|
-
</div>
|
|
778
|
-
</div>
|
|
779
|
-
</div>
|
|
780
|
-
|
|
781
|
-
<div ~if="mode === 'view' && selected" style="display:flex;flex-direction:column;flex:1;min-height:0;">
|
|
782
|
-
<div class="view-actions">
|
|
783
|
-
<oda-button class="mail-back-btn" icon="icons:arrow-back" @tap="mode = 'idle'">Письма</oda-button>
|
|
784
|
-
<oda-button ~if="selected.box === 'drafts'" icon="editor:mode-edit" info-invert @tap="editDraft(selected)">Продолжить черновик</oda-button>
|
|
785
|
-
<oda-button ~if="selected.box !== 'drafts'" icon="icons:reply" @tap="reply(false)">Ответить</oda-button>
|
|
786
|
-
<oda-button ~if="selected.box !== 'drafts' && (selected.cc || (selected.to || '').includes(','))" icon="icons:reply-all" @tap="reply(true)">Ответить всем</oda-button>
|
|
787
|
-
<oda-button icon="icons:forward" @tap="forward()">Переслать</oda-button>
|
|
788
|
-
<oda-button ~if="selected.box === 'inbox'" :icon="selected.read ? 'icons:markunread' : 'icons:drafts'" @tap="toggleRead(selected)">
|
|
789
|
-
{{selected.read ? 'Непрочитано' : 'Прочитано'}}
|
|
790
|
-
</oda-button>
|
|
791
|
-
<div style="flex:1;"></div>
|
|
792
|
-
<oda-button ~if="selected.box !== 'trash'" icon="icons:delete" @tap="moveToTrash(selected)">В корзину</oda-button>
|
|
793
|
-
<oda-button ~if="selected.box === 'trash'" icon="icons:restore" @tap="restoreFromTrash(selected)">Восстановить</oda-button>
|
|
794
|
-
<oda-button ~if="selected.box === 'trash'" icon="icons:delete-forever" error @tap="deleteForever(selected)">Удалить навсегда</oda-button>
|
|
795
|
-
</div>
|
|
796
|
-
|
|
797
|
-
<div class="view-head">
|
|
798
|
-
<div class="view-subject">{{selected.subject || '(без темы)'}}</div>
|
|
799
|
-
<div class="view-meta"><b>От:</b> {{selected.from || '—'}} · <b>Дата:</b> {{fullDate(selected.date)}}</div>
|
|
800
|
-
<div class="view-meta"><b>Кому:</b> {{selected.to || '—'}} <span ~if="selected.cc">· <b>Копия:</b> {{selected.cc}}</span></div>
|
|
801
|
-
<div ~if="selected.error" style="font-size:12.5px;color:#dc2626;font-weight:600;">Ошибка доставки: {{selected.error}}</div>
|
|
802
|
-
</div>
|
|
803
|
-
|
|
804
|
-
<div ~if="selected.attachments?.length" class="att-bar">
|
|
805
|
-
<div ~for="selected.attachments" class="att-chip" @tap="openAttachment($for.item)">
|
|
806
|
-
<oda-icon icon="editor:attach-file" icon-size="14"></oda-icon>
|
|
807
|
-
<span>{{$for.item.name || 'Вложение'}}</span>
|
|
808
|
-
</div>
|
|
809
|
-
</div>
|
|
810
|
-
|
|
811
|
-
<iframe ~if="selected.html" class="view-iframe" sandbox="allow-popups allow-popups-to-escape-sandbox" :srcdoc="htmlDoc"></iframe>
|
|
812
|
-
<div ~if="!selected.html" class="view-body">{{selected.body || ''}}</div>
|
|
813
|
-
</div>
|
|
814
|
-
|
|
815
|
-
<div ~if="mode === 'compose'" class="compose-wrap">
|
|
816
|
-
<div style="display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;">
|
|
817
|
-
<oda-button class="mail-back-btn" icon="icons:arrow-back" @tap="mode = 'idle'">Письма</oda-button>
|
|
818
|
-
<span style="font-size:15px;font-weight:700;">{{draft.uid ? 'Редактирование черновика' : 'Новое письмо'}}</span>
|
|
819
|
-
</div>
|
|
820
|
-
|
|
821
|
-
<div class="compose-field">
|
|
822
|
-
<label>От:</label>
|
|
823
|
-
<select @change="draft.from = $event.target.value">
|
|
824
|
-
<option ~for="accounts" :value="$for.item.address" :selected="$for.item.address === draft.from">{{$for.item.address}}</option>
|
|
825
|
-
</select>
|
|
826
|
-
</div>
|
|
827
|
-
<div class="compose-field">
|
|
828
|
-
<label>Кому:</label>
|
|
829
|
-
<input placeholder="recipient@example.com" :value="draft.to" @input="draft.to = $event.target.value">
|
|
830
|
-
</div>
|
|
831
|
-
<div class="compose-field">
|
|
832
|
-
<label>Копия:</label>
|
|
833
|
-
<input placeholder="cc@example.com (необязательно)" :value="draft.cc" @input="draft.cc = $event.target.value">
|
|
834
|
-
</div>
|
|
835
|
-
<div class="compose-field">
|
|
836
|
-
<label>Тема:</label>
|
|
837
|
-
<input placeholder="Тема письма" :value="draft.subject" @input="draft.subject = $event.target.value">
|
|
838
|
-
</div>
|
|
839
|
-
|
|
840
|
-
<div class="att-bar" style="padding:6px 0;border:none;background:transparent;" ~if="draft.attachments?.length">
|
|
841
|
-
<div ~for="draft.attachments" class="att-chip">
|
|
842
|
-
<oda-icon icon="editor:attach-file" icon-size="14"></oda-icon>
|
|
843
|
-
<span>{{$for.item.name}}</span>
|
|
844
|
-
<oda-icon icon="icons:close" icon-size="13" style="cursor:pointer;" @tap.stop="removeDraftAttachment($for.index)"></oda-icon>
|
|
845
|
-
</div>
|
|
846
|
-
</div>
|
|
847
|
-
|
|
848
|
-
<textarea class="compose-body" placeholder="Текст письма…" :value="draft.body" @input="draft.body = $event.target.value"></textarea>
|
|
849
|
-
|
|
850
|
-
<div class="compose-footer">
|
|
851
|
-
<oda-button icon="icons:send" info-invert @tap="sendDraft()">Отправить</oda-button>
|
|
852
|
-
<oda-button icon="icons:save" @tap="saveDraft()">Сохранить черновик</oda-button>
|
|
853
|
-
<label class="icon-btn" style="cursor:pointer;">
|
|
854
|
-
<oda-icon icon="editor:attach-file" icon-size="15"></oda-icon>
|
|
855
|
-
<span>Прикрепить</span>
|
|
856
|
-
<input type="file" multiple hidden @change="onAttachFiles($event)">
|
|
857
|
-
</label>
|
|
858
|
-
<div style="flex:1;"></div>
|
|
859
|
-
<oda-button icon="icons:close" @tap="mode = selected ? 'view' : 'idle'">Отмена</oda-button>
|
|
860
|
-
</div>
|
|
861
|
-
</div>
|
|
862
|
-
</main>
|
|
863
|
-
`,
|
|
864
|
-
$item: {
|
|
865
|
-
$def: null,
|
|
866
|
-
set(n, o) {
|
|
867
|
-
if (o && this._onChanged)
|
|
868
|
-
o.unlisten?.('changed', this._onChanged);
|
|
869
|
-
if (n) {
|
|
870
|
-
this._onChanged ??= () => this.debounce('mail-reload', () => this.reload(), 200);
|
|
871
|
-
n.listen?.('changed', this._onChanged);
|
|
872
|
-
this.initLoad();
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
},
|
|
876
|
-
folders: [
|
|
877
|
-
{ id: 'inbox', label: 'Входящие', icon: 'icons:inbox' },
|
|
878
|
-
{ id: 'drafts', label: 'Черновики', icon: 'editor:insert-drive-file' },
|
|
879
|
-
{ id: 'outbox', label: 'Исходящие', icon: 'iconoir:send-mail' },
|
|
880
|
-
{ id: 'trash', label: 'Корзина', icon: 'icons:delete' },
|
|
881
|
-
],
|
|
882
|
-
activeBox: 'inbox',
|
|
883
|
-
selectedAccount: '',
|
|
884
|
-
searchQuery: '',
|
|
885
|
-
unreadOnly: false,
|
|
886
|
-
loading: false,
|
|
887
|
-
refreshing: false,
|
|
888
|
-
accounts: [],
|
|
889
|
-
canConfigure: false,
|
|
890
|
-
autoRefresh: true,
|
|
891
|
-
messages: [],
|
|
892
|
-
countsByBox: { inbox: 0, drafts: 0, outbox: 0, trash: 0 },
|
|
893
|
-
unreadByBox: { inbox: 0, drafts: 0, outbox: 0, trash: 0 },
|
|
894
|
-
selected: null,
|
|
895
|
-
mode: 'idle',
|
|
896
|
-
draft: EMPTY_DRAFT(),
|
|
897
|
-
get activeBoxLabel() {
|
|
898
|
-
return this.folders.find(f => f.id === this.activeBox)?.label || 'Входящие';
|
|
899
|
-
},
|
|
900
|
-
get htmlDoc() {
|
|
901
|
-
return htmlDocument(this.selected?.html);
|
|
902
|
-
},
|
|
903
|
-
attached() {
|
|
904
|
-
if (this.$item && this._loadedFor !== this.$item)
|
|
905
|
-
this.initLoad();
|
|
906
|
-
},
|
|
907
|
-
detached() {
|
|
908
|
-
this.$item?.unlisten?.('changed', this._onChanged);
|
|
909
|
-
},
|
|
910
|
-
async initLoad() {
|
|
911
|
-
const cur = this.$item;
|
|
912
|
-
if (!cur) return;
|
|
913
|
-
this._loadedFor = cur;
|
|
914
|
-
this.selected = null;
|
|
915
|
-
this.mode = 'idle';
|
|
916
|
-
await this.loadAccounts();
|
|
917
|
-
await this.reload();
|
|
918
|
-
},
|
|
919
|
-
async loadAccounts() {
|
|
920
|
-
if (!this.$item?.fetch) return;
|
|
921
|
-
try {
|
|
922
|
-
const res = await this.$item.fetch('mail_accounts');
|
|
923
|
-
this.accounts = Array.isArray(res?.accounts) ? res.accounts : [];
|
|
924
|
-
this.canConfigure = Boolean(res?.canConfigure);
|
|
925
|
-
this.autoRefresh = res?.autoRefresh !== false;
|
|
926
|
-
}
|
|
927
|
-
catch {
|
|
928
|
-
this.accounts = [];
|
|
929
|
-
this.canConfigure = false;
|
|
930
|
-
}
|
|
931
|
-
},
|
|
932
|
-
async reload() {
|
|
933
|
-
if (!this.$item?.fetch) return;
|
|
934
|
-
this.loading = true;
|
|
935
|
-
try {
|
|
936
|
-
const res = await this.$item.fetch('mail_list', {}, JSON.stringify({
|
|
937
|
-
box: this.activeBox,
|
|
938
|
-
address: this.selectedAccount,
|
|
939
|
-
q: this.searchQuery,
|
|
940
|
-
unreadOnly: this.unreadOnly,
|
|
941
|
-
limit: 200,
|
|
942
|
-
}));
|
|
943
|
-
this.messages = Array.isArray(res?.messages) ? res.messages : [];
|
|
944
|
-
if (res?.countsByBox) this.countsByBox = res.countsByBox;
|
|
945
|
-
if (res?.unreadByBox) this.unreadByBox = res.unreadByBox;
|
|
946
|
-
}
|
|
947
|
-
catch (e) {
|
|
948
|
-
this.messages = [];
|
|
949
|
-
}
|
|
950
|
-
finally {
|
|
951
|
-
this.loading = false;
|
|
952
|
-
}
|
|
953
|
-
},
|
|
954
|
-
badgeOf(boxId) {
|
|
955
|
-
return boxId === 'inbox' ? (Number(this.unreadByBox?.[boxId]) || 0) : 0;
|
|
956
|
-
},
|
|
957
|
-
countOf(boxId) {
|
|
958
|
-
return boxId === 'drafts' ? (Number(this.countsByBox?.[boxId]) || 0) : 0;
|
|
959
|
-
},
|
|
960
|
-
peerLabel(msg) {
|
|
961
|
-
if (this.activeBox === 'outbox' || this.activeBox === 'drafts')
|
|
962
|
-
return msg.to || '(без получателя)';
|
|
963
|
-
return msg.from || '(неизвестный отправитель)';
|
|
964
|
-
},
|
|
965
|
-
shortDate(v) { return formatMailShortDate(v); },
|
|
966
|
-
fullDate(v) { return formatMailFullDate(v); },
|
|
967
|
-
selectBox(boxId) {
|
|
968
|
-
this.activeBox = boxId;
|
|
969
|
-
this.selected = null;
|
|
970
|
-
if (this.mode === 'view') this.mode = 'idle';
|
|
971
|
-
this.reload();
|
|
972
|
-
},
|
|
973
|
-
selectAccount(addr) {
|
|
974
|
-
this.selectedAccount = addr || '';
|
|
975
|
-
this.reload();
|
|
976
|
-
},
|
|
977
|
-
onSearchInput(e) {
|
|
978
|
-
this.searchQuery = e.target.value || '';
|
|
979
|
-
this.debounce('mail-search', () => this.reload(), 200);
|
|
980
|
-
},
|
|
981
|
-
toggleUnreadOnly() {
|
|
982
|
-
this.unreadOnly = !this.unreadOnly;
|
|
983
|
-
this.reload();
|
|
984
|
-
},
|
|
985
|
-
async fetchRefresh() {
|
|
986
|
-
if (!this.$item?.fetch || this.refreshing) return;
|
|
987
|
-
this.refreshing = true;
|
|
988
|
-
try {
|
|
989
|
-
await this.$item.fetch('mail_refresh');
|
|
990
|
-
}
|
|
991
|
-
catch (e) {
|
|
992
|
-
ODA.showMessage?.(e?.message || String(e));
|
|
993
|
-
}
|
|
994
|
-
finally {
|
|
995
|
-
this.refreshing = false;
|
|
996
|
-
}
|
|
997
|
-
await this.loadAccounts();
|
|
998
|
-
await this.reload();
|
|
999
|
-
},
|
|
1000
|
-
async selectMessage(msg) {
|
|
1001
|
-
if (!msg?.path || !this.$item?.fetch) return;
|
|
1002
|
-
this.selected = msg;
|
|
1003
|
-
this.mode = 'view';
|
|
1004
|
-
try {
|
|
1005
|
-
const full = await this.$item.fetch('mail_read', {}, JSON.stringify({ path: msg.path, uid: msg.uid, markRead: true }));
|
|
1006
|
-
this.selected = full;
|
|
1007
|
-
if (!msg.read && full.read) {
|
|
1008
|
-
msg.read = true;
|
|
1009
|
-
this.messages = [...this.messages];
|
|
1010
|
-
if (this.unreadByBox.inbox > 0) {
|
|
1011
|
-
this.unreadByBox = { ...this.unreadByBox, inbox: this.unreadByBox.inbox - 1 };
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
catch (e) {
|
|
1016
|
-
ODA.showMessage?.(e?.message || String(e));
|
|
1017
|
-
}
|
|
1018
|
-
},
|
|
1019
|
-
async toggleRead(msg) {
|
|
1020
|
-
if (!msg?.path || !this.$item?.fetch) return;
|
|
1021
|
-
try {
|
|
1022
|
-
await this.$item.fetch('mail_state', {}, JSON.stringify({ path: msg.path, uid: msg.uid, read: !msg.read }));
|
|
1023
|
-
await this.reload();
|
|
1024
|
-
if (this.selected?.path === msg.path)
|
|
1025
|
-
this.selected = { ...this.selected, read: !msg.read };
|
|
1026
|
-
}
|
|
1027
|
-
catch (e) { ODA.showMessage?.(e?.message || String(e)); }
|
|
1028
|
-
},
|
|
1029
|
-
async moveToTrash(msg) {
|
|
1030
|
-
if (!msg?.path || !this.$item?.fetch) return;
|
|
1031
|
-
try {
|
|
1032
|
-
await this.$item.fetch('mail_state', {}, JSON.stringify({ path: msg.path, uid: msg.uid, box: 'trash' }));
|
|
1033
|
-
this.selected = null;
|
|
1034
|
-
this.mode = 'idle';
|
|
1035
|
-
await this.reload();
|
|
1036
|
-
}
|
|
1037
|
-
catch (e) { ODA.showMessage?.(e?.message || String(e)); }
|
|
1038
|
-
},
|
|
1039
|
-
async restoreFromTrash(msg) {
|
|
1040
|
-
if (!msg?.path || !this.$item?.fetch) return;
|
|
1041
|
-
try {
|
|
1042
|
-
await this.$item.fetch('mail_state', {}, JSON.stringify({ path: msg.path, uid: msg.uid, restore: true }));
|
|
1043
|
-
this.selected = null;
|
|
1044
|
-
this.mode = 'idle';
|
|
1045
|
-
await this.reload();
|
|
1046
|
-
}
|
|
1047
|
-
catch (e) { ODA.showMessage?.(e?.message || String(e)); }
|
|
1048
|
-
},
|
|
1049
|
-
async deleteForever(msg) {
|
|
1050
|
-
if (!msg?.path || !this.$item?.fetch) return;
|
|
1051
|
-
try {
|
|
1052
|
-
await this.$item.fetch('mail_state', {}, JSON.stringify({ path: msg.path, uid: msg.uid, deletePermanent: true }));
|
|
1053
|
-
this.selected = null;
|
|
1054
|
-
this.mode = 'idle';
|
|
1055
|
-
await this.reload();
|
|
1056
|
-
}
|
|
1057
|
-
catch (e) { ODA.showMessage?.(e?.message || String(e)); }
|
|
1058
|
-
},
|
|
1059
|
-
async createEmail(init = {}) {
|
|
1060
|
-
if (!this.accounts.length)
|
|
1061
|
-
await this.loadAccounts();
|
|
1062
|
-
if (!this.accounts.length) {
|
|
1063
|
-
ODA.showMessage?.('Сначала настройте почтовый ящик');
|
|
1064
|
-
return;
|
|
1065
|
-
}
|
|
1066
|
-
this.draft = {
|
|
1067
|
-
...EMPTY_DRAFT(),
|
|
1068
|
-
from: this.selectedAccount || this.accounts[0]?.address || '',
|
|
1069
|
-
...init,
|
|
1070
|
-
};
|
|
1071
|
-
this.mode = 'compose';
|
|
1072
|
-
},
|
|
1073
|
-
editDraft(msg) {
|
|
1074
|
-
this.createEmail({
|
|
1075
|
-
uid: msg.uid || '',
|
|
1076
|
-
origTime: msg.origTime || 0,
|
|
1077
|
-
from: msg.address || msg.from || this.accounts[0]?.address || '',
|
|
1078
|
-
to: msg.to || '',
|
|
1079
|
-
cc: msg.cc || '',
|
|
1080
|
-
subject: msg.subject === '(без темы)' ? '' : (msg.subject || ''),
|
|
1081
|
-
body: msg.body || '',
|
|
1082
|
-
attachments: Array.isArray(msg.attachments) ? [...msg.attachments] : [],
|
|
1083
|
-
});
|
|
1084
|
-
},
|
|
1085
|
-
reply(replyAll = false) {
|
|
1086
|
-
const src = this.selected;
|
|
1087
|
-
if (!src) return;
|
|
1088
|
-
const subject = /^re:/i.test(src.subject || '') ? src.subject : 'Re: ' + (src.subject || '');
|
|
1089
|
-
const to = src.box === 'outbox' ? src.to : src.from;
|
|
1090
|
-
const from = this.accounts.some(a => a.address === src.address) ? src.address : undefined;
|
|
1091
|
-
this.createEmail({
|
|
1092
|
-
to,
|
|
1093
|
-
cc: replyAll ? (src.cc || '') : '',
|
|
1094
|
-
subject,
|
|
1095
|
-
body: quoteBody(src),
|
|
1096
|
-
inReplyTo: src.messageId || '',
|
|
1097
|
-
...(from ? { from } : {}),
|
|
1098
|
-
});
|
|
1099
|
-
},
|
|
1100
|
-
forward() {
|
|
1101
|
-
const src = this.selected;
|
|
1102
|
-
if (!src) return;
|
|
1103
|
-
const subject = /^fwd?:/i.test(src.subject || '') ? src.subject : 'Fwd: ' + (src.subject || '');
|
|
1104
|
-
const from = this.accounts.some(a => a.address === src.address) ? src.address : undefined;
|
|
1105
|
-
this.createEmail({
|
|
1106
|
-
to: '',
|
|
1107
|
-
subject,
|
|
1108
|
-
body: `\n\n---------- Пересылаемое сообщение ----------\nОт: ${src.from}\nКому: ${src.to}\nТема: ${src.subject}\n\n${src.body || htmlToText(src.html || '')}`,
|
|
1109
|
-
attachments: Array.isArray(src.attachments) ? src.attachments.filter(a => a.path) : [],
|
|
1110
|
-
...(from ? { from } : {}),
|
|
1111
|
-
});
|
|
1112
|
-
},
|
|
1113
|
-
async onAttachFiles(e) {
|
|
1114
|
-
const files = [...(e.target?.files || [])];
|
|
1115
|
-
e.target.value = '';
|
|
1116
|
-
if (!files.length || !this.$item?.save_files) return;
|
|
1117
|
-
try {
|
|
1118
|
-
const fd = new FormData();
|
|
1119
|
-
for (const f of files)
|
|
1120
|
-
fd.append('file', f, f.name);
|
|
1121
|
-
const saved = await this.$item.save_files(fd, { ignore_save_logs: true });
|
|
1122
|
-
const arr = Array.isArray(saved) ? saved : (saved ? [saved] : []);
|
|
1123
|
-
const nextAtts = [...(this.draft.attachments || [])];
|
|
1124
|
-
for (let i = 0; i < arr.length; i++) {
|
|
1125
|
-
const s = arr[i];
|
|
1126
|
-
const p = s?.path || s?.logFullPath || '';
|
|
1127
|
-
if (p)
|
|
1128
|
-
nextAtts.push({ name: files[i]?.name || p.split('/').pop(), path: p });
|
|
1129
|
-
}
|
|
1130
|
-
this.draft = { ...this.draft, attachments: nextAtts };
|
|
1131
|
-
}
|
|
1132
|
-
catch (err) {
|
|
1133
|
-
ODA.showMessage?.(err?.message || String(err));
|
|
1134
|
-
}
|
|
1135
|
-
},
|
|
1136
|
-
removeDraftAttachment(idx) {
|
|
1137
|
-
const next = [...(this.draft.attachments || [])];
|
|
1138
|
-
next.splice(idx, 1);
|
|
1139
|
-
this.draft = { ...this.draft, attachments: next };
|
|
1140
|
-
},
|
|
1141
|
-
async saveDraft() {
|
|
1142
|
-
if (!this.$item?.fetch) return;
|
|
1143
|
-
try {
|
|
1144
|
-
const res = await this.$item.fetch('mail_draft_save', {}, JSON.stringify(this.draft));
|
|
1145
|
-
this.draft = { ...this.draft, uid: res?.uid || this.draft.uid };
|
|
1146
|
-
ODA.showMessage?.('Черновик сохранён');
|
|
1147
|
-
await this.reload();
|
|
1148
|
-
}
|
|
1149
|
-
catch (e) { ODA.showMessage?.(e?.message || String(e)); }
|
|
1150
|
-
},
|
|
1151
|
-
async sendDraft() {
|
|
1152
|
-
if (!this.$item?.fetch) return;
|
|
1153
|
-
try {
|
|
1154
|
-
await this.$item.fetch('mail_send', {}, JSON.stringify({
|
|
1155
|
-
...this.draft,
|
|
1156
|
-
draftUid: this.draft.uid || undefined,
|
|
1157
|
-
}));
|
|
1158
|
-
this.draft = EMPTY_DRAFT();
|
|
1159
|
-
this.mode = 'idle';
|
|
1160
|
-
this.activeBox = 'outbox';
|
|
1161
|
-
await this.reload();
|
|
1162
|
-
}
|
|
1163
|
-
catch (e) { ODA.showMessage?.(e?.message || String(e)); }
|
|
1164
|
-
},
|
|
1165
|
-
async openAttachment(att) {
|
|
1166
|
-
if (!att?.path) {
|
|
1167
|
-
ODA.showMessage?.(`Вложение «${att?.name || 'файл'}»`);
|
|
1168
|
-
return;
|
|
1169
|
-
}
|
|
1170
|
-
const item = await globalThis.WORK?.get_item?.(att.path).catch(() => null);
|
|
1171
|
-
if (item && typeof window?.execute === 'function')
|
|
1172
|
-
window.execute(item);
|
|
1173
|
-
},
|
|
1174
|
-
async openSettings() {
|
|
1175
|
-
const res = await openEmailSettingsDialog(this.$item);
|
|
1176
|
-
if (res) {
|
|
1177
|
-
await this.loadAccounts();
|
|
1178
|
-
await this.reload();
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
async toggleAutoRefresh(val) {
|
|
1182
|
-
this.autoRefresh = Boolean(val);
|
|
1183
|
-
try {
|
|
1184
|
-
await this.$item?.save?.({ mailAutoRefresh: this.autoRefresh });
|
|
1185
|
-
}
|
|
1186
|
-
catch { /* ignore */ }
|
|
1187
|
-
},
|
|
1188
|
-
};
|