{"_id":"@besnovatyj/filemanager-core","_rev":"5-a3b786cb6cf0c4c8f868523593c0a174","name":"@besnovatyj/filemanager-core","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@besnovatyj/filemanager-core","version":"1.0.0","keywords":[],"author":{"name":"Besnovatyj"},"license":"MIT","_id":"@besnovatyj/filemanager-core@1.0.0","maintainers":[{"name":"besnovatyj","email":"metr31@yandex.ru"}],"dist":{"shasum":"dec5b9575ba5735c1acdd82c8e614ef8703a7bce","tarball":"https://registry.npmjs.org/@besnovatyj/filemanager-core/-/filemanager-core-1.0.0.tgz","fileCount":458,"integrity":"sha512-TVg48Ljl7AQw3M7PGNKX/p4La6j9xqOSaoTQGZDfPAC0K2WxLyA41S+yqEmf9uFdJaV5Iqd2FksVt9+llcvUKQ==","signatures":[{"sig":"MEUCIFM1KT7eh1BycOBWm7LbpuIJsaHBfGLaj3Zp+qBay+XPAiEAzc2yMcDYMiXsC8LYEPpEjcWKT27k6bfjH6DgmPUyjE0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2485330},"main":"dist/standalone.js","type":"module","types":"dist/standalone.d.ts","module":"dist/standalone.js","engines":{"npm":">= 10.0.0","node":">= 23.3.0"},"exports":{".":{"types":"./dist/standalone.d.ts","import":"./dist/standalone.js"}},"gitHead":"4a476882896d37dc6cb443d32fea27dde702d854","scripts":{"+":"npm install --save-exact --save-dev esbuild","build":"node esbuild.js","types":"tsc -p tsconfig.json --emitDeclarationOnly --declaration --noEmit false --outDir dist","svgo-dir":"npx svgo --folder=./src/assets/file-icons --output=./dist/assets/file-icons","svgo-file":"npx svgo ./src/icon-large.svg -o ./dist/icon-small.svg","npm-remove":"npm remove cssnano","npm-install":"npm install","prepublishOnly":"npm run build && npm run types"},"_npmUser":{"name":"besnovatyj","email":"metr31@yandex.ru"},"_npmVersion":"11.16.0","description":"Framework-agnostic файловый менеджер (ядро). Используется самостоятельно или как зависимость CKEditor-адаптера.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.99.0","svgo":"^4.0.0","tslib":"^2.8.1","eslint":"^10.2.0","esbuild":"^0.28.0","globals":"^17.5.0","postcss":"^8.5.9","@eslint/js":"^10.0.1","typescript":"^5.9.3","autoprefixer":"^10.5.0","postcss-import":"^16.1.1","typescript-eslint":"^8.58.2","esbuild-plugin-svg":"^0.1.0","esbuild-sass-plugin":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/filemanager-core_1.0.0_1780917284708_0.6410557603034424","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@besnovatyj/filemanager-core","version":"1.0.1","keywords":[],"author":{"name":"Besnovatyj"},"license":"MIT","_id":"@besnovatyj/filemanager-core@1.0.1","maintainers":[{"name":"besnovatyj","email":"metr31@yandex.ru"}],"dist":{"shasum":"4a23db876a7752d6d90b498e1bce561ceeb0153b","tarball":"https://registry.npmjs.org/@besnovatyj/filemanager-core/-/filemanager-core-1.0.1.tgz","fileCount":458,"integrity":"sha512-ykNhuXj6njA9Nwd6VOZxRqDIE3aUSlnC/2LQcmPXTlBmJvEx5Rm1U8W15atiBRHOD2upGPyILEanyscan8e8aQ==","signatures":[{"sig":"MEYCIQCceP3ytO+uI5bW4+CIEoihy+p74pnXPVUGGQM/eubi/wIhAI5pEgGZ6Ol4WDhy4bUHUVjaeRqb5n1Ct/EDJMZCRscy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2494566},"main":"dist/standalone.js","type":"module","types":"dist/standalone.d.ts","module":"dist/standalone.js","engines":{"npm":">= 10.0.0","node":">= 23.3.0"},"exports":{".":{"types":"./dist/standalone.d.ts","import":"./dist/standalone.js"}},"gitHead":"98d06cff42167da1b61f74858c6edd7466fe4331","scripts":{"+":"npm install --save-exact --save-dev esbuild","build":"node esbuild.js","types":"tsc -p tsconfig.json --emitDeclarationOnly --declaration --noEmit false --outDir dist","svgo-dir":"npx svgo --folder=./src/assets/file-icons --output=./dist/assets/file-icons","svgo-file":"npx svgo ./src/icon-large.svg -o ./dist/icon-small.svg","npm-remove":"npm remove cssnano","npm-install":"npm install","prepublishOnly":"npm run build && npm run types"},"_npmUser":{"name":"besnovatyj","email":"metr31@yandex.ru"},"_npmVersion":"11.16.0","description":"Framework-agnostic файловый менеджер (ядро). Используется самостоятельно или как зависимость CKEditor-адаптера.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.99.0","svgo":"^4.0.0","tslib":"^2.8.1","eslint":"^10.2.0","esbuild":"^0.28.0","globals":"^17.5.0","postcss":"^8.5.9","@eslint/js":"^10.0.1","typescript":"^5.9.3","autoprefixer":"^10.5.0","postcss-import":"^16.1.1","typescript-eslint":"^8.58.2","esbuild-plugin-svg":"^0.1.0","esbuild-sass-plugin":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/filemanager-core_1.0.1_1781039690722_0.5429702307428712","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@besnovatyj/filemanager-core","version":"1.0.2","keywords":[],"author":{"name":"Besnovatyj"},"license":"MIT","_id":"@besnovatyj/filemanager-core@1.0.2","maintainers":[{"name":"besnovatyj","email":"metr31@yandex.ru"}],"dist":{"shasum":"ba5f6061e3edecfacc6316b22732df97a45dead6","tarball":"https://registry.npmjs.org/@besnovatyj/filemanager-core/-/filemanager-core-1.0.2.tgz","fileCount":458,"integrity":"sha512-cdj6IKB9FfBFhh0Q1wTRacbx+2h2dkoIJr9RZtiRPSk4LXNC58PF/UUSw3Ub5d7mvCr67hTEcFmItMDBVD7ckw==","signatures":[{"sig":"MEUCIF2o5k7QkG1S7pQAdcrfQ7ANQOIE94VQ/Oi6kX+pFmpQAiEA0+TgcXh+TVfHWCgeligrpg2VhF3s2ZdwCnKIffneiLU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2506603},"main":"dist/standalone.js","type":"module","types":"dist/standalone.d.ts","module":"dist/standalone.js","engines":{"npm":">= 10.0.0","node":">= 23.3.0"},"exports":{".":{"types":"./dist/standalone.d.ts","import":"./dist/standalone.js"}},"gitHead":"7a968fab5f38ea64d841af83f513e64fa3bf6bbf","scripts":{"+":"npm install --save-exact --save-dev esbuild","build":"node esbuild.js","types":"tsc -p tsconfig.json --emitDeclarationOnly --declaration --noEmit false --outDir dist","svgo-dir":"npx svgo --folder=./src/assets/file-icons --output=./dist/assets/file-icons","svgo-file":"npx svgo ./src/icon-large.svg -o ./dist/icon-small.svg","npm-remove":"npm remove cssnano","npm-install":"npm install","prepublishOnly":"npm run build && npm run types"},"_npmUser":{"name":"besnovatyj","email":"metr31@yandex.ru"},"_npmVersion":"11.16.0","description":"Framework-agnostic файловый менеджер (ядро). Используется самостоятельно или как зависимость CKEditor-адаптера.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.99.0","svgo":"^4.0.0","tslib":"^2.8.1","eslint":"^10.2.0","esbuild":"^0.28.0","globals":"^17.5.0","postcss":"^8.5.9","@eslint/js":"^10.0.1","typescript":"^5.9.3","autoprefixer":"^10.5.0","postcss-import":"^16.1.1","typescript-eslint":"^8.58.2","esbuild-plugin-svg":"^0.1.0","esbuild-sass-plugin":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/filemanager-core_1.0.2_1781045222312_0.7983425296923754","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@besnovatyj/filemanager-core","version":"1.0.3","keywords":[],"author":{"name":"Besnovatyj"},"license":"MIT","_id":"@besnovatyj/filemanager-core@1.0.3","maintainers":[{"name":"besnovatyj","email":"metr31@yandex.ru"}],"dist":{"shasum":"f3f5da7ab1a09b4ff50174772cefd643f211cd39","tarball":"https://registry.npmjs.org/@besnovatyj/filemanager-core/-/filemanager-core-1.0.3.tgz","fileCount":458,"integrity":"sha512-2BTHxVf7fAM6iCRN+sormQeoNXyEfAgNYolHzGJR2qpRwpKZfpXKLU1mW4wh6dYrKu0PO9UX+h89kN/A+/uVkg==","signatures":[{"sig":"MEUCIQCxmICp9nlYYnXmL8aHjZDUIZeiJjqb042vWnxBSc+q8gIgWnt2AU5UlFOLdO4+xPTw3+rAaUbKEVkiHas8eCXGxak=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2507552},"main":"dist/standalone.js","type":"module","types":"dist/standalone.d.ts","module":"dist/standalone.js","engines":{"npm":">= 10.0.0","node":">= 23.3.0"},"exports":{".":{"types":"./dist/standalone.d.ts","import":"./dist/standalone.js"}},"gitHead":"8f8a005527220cf316e57315e959a5d6f4a7437f","scripts":{"+":"npm install --save-exact --save-dev esbuild","build":"node esbuild.js","types":"tsc -p tsconfig.json --emitDeclarationOnly --declaration --noEmit false --outDir dist && tsc-alias -p tsconfig.json","svgo-dir":"npx svgo --folder=./src/assets/file-icons --output=./dist/assets/file-icons","svgo-file":"npx svgo ./src/icon-large.svg -o ./dist/icon-small.svg","npm-remove":"npm remove cssnano","npm-install":"npm install","prepublishOnly":"npm run build && npm run types"},"_npmUser":{"name":"besnovatyj","email":"metr31@yandex.ru"},"_npmVersion":"11.16.0","description":"Framework-agnostic файловый менеджер (ядро). Используется самостоятельно или как зависимость CKEditor-адаптера.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.99.0","svgo":"^4.0.0","tslib":"^2.8.1","eslint":"^10.2.0","esbuild":"^0.28.0","globals":"^17.5.0","postcss":"^8.5.9","tsc-alias":"^1.8.16","@eslint/js":"^10.0.1","typescript":"^5.9.3","autoprefixer":"^10.5.0","postcss-import":"^16.1.1","typescript-eslint":"^8.58.2","esbuild-plugin-svg":"^0.1.0","esbuild-sass-plugin":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/filemanager-core_1.0.3_1781046087833_0.27975435394939985","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@besnovatyj/filemanager-core","version":"1.0.4","description":"Framework-agnostic файловый менеджер (ядро). Используется самостоятельно или как зависимость CKEditor-адаптера.","main":"dist/standalone.js","module":"dist/standalone.js","types":"dist/standalone.d.ts","repository":{"type":"git","url":"git+https://github.com/besnovatyj/filemanager-core.git"},"bugs":{"url":"https://github.com/besnovatyj/filemanager-core/issues"},"homepage":"https://github.com/besnovatyj/filemanager-core#readme","exports":{".":{"types":"./dist/standalone.d.ts","import":"./dist/standalone.js"}},"keywords":[],"author":{"name":"Besnovatyj"},"license":"MIT","type":"module","publishConfig":{"access":"public"},"scripts":{"npm-install":"npm install","+":"npm install --save-exact --save-dev esbuild","npm-remove":"npm remove cssnano","build":"node esbuild.js","types":"tsc -p tsconfig.json --emitDeclarationOnly --declaration --noEmit false --outDir dist && tsc-alias -p tsconfig.json","svgo-file":"npx svgo ./src/icon-large.svg -o ./dist/icon-small.svg","svgo-dir":"npx svgo --folder=./src/assets/file-icons --output=./dist/assets/file-icons","prepublishOnly":"npm run build && npm run types"},"devDependencies":{"@eslint/js":"^10.0.1","autoprefixer":"^10.5.0","esbuild":"^0.28.0","esbuild-plugin-svg":"^0.1.0","esbuild-sass-plugin":"^3.7.0","eslint":"^10.2.0","globals":"^17.5.0","postcss":"^8.5.9","postcss-import":"^16.1.1","sass":"^1.99.0","svgo":"^4.0.0","tsc-alias":"^1.8.16","tslib":"^2.8.1","typescript":"^5.9.3","typescript-eslint":"^8.58.2"},"engines":{"node":">= 23.3.0","npm":">= 10.0.0"},"gitHead":"5330386e2ebfb39a758d777719c9a81bd34a1117","_id":"@besnovatyj/filemanager-core@1.0.4","_nodeVersion":"24.16.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-bu5+ezihmVxTvmMAjARzQtkD+D48Y/vQy1S6P/gGxNjP/QjT55WCSJcMNhSpcJxbPhO3QoZ3grW612OttAQOTQ==","shasum":"bfb44aba1aed6408915fdcaccde5438f8be2829e","tarball":"https://registry.npmjs.org/@besnovatyj/filemanager-core/-/filemanager-core-1.0.4.tgz","fileCount":273,"unpackedSize":1221948,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDDDGAznidx0w4d3QDr7MOj1qDKn275WwN5GvqGfhUCHAiEAjE2isvDK5lHvvGusF0otRYXGLhjjHjsOcssASkngM/Q="}]},"_npmUser":{"name":"besnovatyj","email":"metr31@yandex.ru"},"directories":{},"maintainers":[{"name":"besnovatyj","email":"metr31@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/filemanager-core_1.0.4_1783527389054_0.5304917702694547"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-08T11:14:44.584Z","modified":"2026-07-08T16:16:29.335Z","1.0.0":"2026-06-08T11:14:44.912Z","1.0.1":"2026-06-09T21:14:50.893Z","1.0.2":"2026-06-09T22:47:02.515Z","1.0.3":"2026-06-09T23:01:28.086Z","1.0.4":"2026-07-08T16:16:29.226Z"},"author":{"name":"Besnovatyj"},"license":"MIT","keywords":[],"description":"Framework-agnostic файловый менеджер (ядро). Используется самостоятельно или как зависимость CKEditor-адаптера.","maintainers":[{"name":"besnovatyj","email":"metr31@yandex.ru"}],"readme":"# @besnovatyj/filemanager-core\n\nFramework-agnostic ядро файлового менеджера. **Не зависит от CKEditor** — монтируется на любой\nстранице. CKEditor-адаптер (`@besnovatyj/ckeditor5-filemanager`) использует этот пакет как зависимость.\n\n## Сборка\n\n```bash\nnpm install\nnpm run build        # → dist/standalone.js (+ .css вшит в JS)\nnpm run types        # → dist/standalone.d.ts (типы для адаптера)\n```\n\n`dist/` коммитится в git (его потребляют адаптер и composer-пакеты без пересборки).\n\n## Standalone-использование\n\n```ts\nimport {createApp} from '@besnovatyj/filemanager-core';\n\nconst runtime = createApp({\n  fmConnector: '/api/filemanager',   // URL бэкенда\n  fmBaseUrl: '/api/filemanager/',\n  fmDefaultPath: '/',\n  fmHeaders: { 'X-CSRF-Token': '...' },\n  onSelect: (files) => { /* что делать с выбранными файлами */ },\n  onClose: () => {},\n});\n\nawait runtime.open();   // показать окно\n// runtime.destroy();   // погасить\n```\n\n## Публичный API (`src/standalone.ts`)\n\n- `createApp(config: AppConfig): AppRuntime` — собрать и получить рантайм.\n- `AppRuntime` — `open()`, `destroy()`, шина событий.\n- `AppConfig` — конфиг (коннектор, заголовки, колбэки `onSelect`/`onClose`).\n- `FileEntity` — доменная сущность файла.\n- `IFileManagerBackend` + `HttpFileManagerBackend` + `HttpClient` — контракт бэкенда и HTTP-реализация.\n\nВнутри — FSD-структура (`app`, `entities`, `features`, `shared`, `widgets`, `pages`). Внутренние\nимпорты через алиас `@/*` → `src/*`.\n","readmeFilename":"readme.md","homepage":"https://github.com/besnovatyj/filemanager-core#readme","repository":{"type":"git","url":"git+https://github.com/besnovatyj/filemanager-core.git"},"bugs":{"url":"https://github.com/besnovatyj/filemanager-core/issues"}}