build(control-center): bundle production dist artifacts for direct zero-downtime server deployment

This commit is contained in:
ochenstarik 2026-09-11 08:49:45 +07:00
parent 5489fc3b43
commit 877fb74b55
74 changed files with 192 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
import{f as e,i as t,r as n,s as r}from"./useToast-CS8pZhce.js";import{Z as i,t as a}from"./index-CyHCRa3Z.js";import{t as o}from"./types-CTcNpN0z.js";e();var s=r(),c=()=>{let{customCapabilities:e,toggleCapability:r}=i();return(0,s.jsxs)(`div`,{className:`space-y-4 animate-fade-in`,children:[(0,s.jsxs)(`div`,{className:`flex flex-col sm:flex-row sm:items-center justify-between gap-3 bg-krona-surface p-3.5 rounded-xl border border-krona-border shadow-krona-soft`,children:[(0,s.jsxs)(`div`,{children:[(0,s.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,s.jsx)(`h2`,{className:`text-sm font-bold text-krona-primary`,children:`Каталог приложений & Модульная экосистема Кроны`}),(0,s.jsx)(a,{level:`demo`,size:`sm`})]}),(0,s.jsx)(`p`,{className:`text-xs text-krona-secondary mt-0.5`,children:`Подключайте и отключайте функциональные блоки для адаптации платформы под новые ниши`})]}),(0,s.jsxs)(n,{variant:`gold`,size:`md`,children:[`Всего модулей: `,o.length]})]}),(0,s.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3.5`,children:o.map(i=>{let a=e[i.id];return(0,s.jsxs)(`div`,{className:`p-4 rounded-xl border border-krona-border bg-krona-surface shadow-krona-soft flex flex-col justify-between space-y-3`,children:[(0,s.jsxs)(`div`,{children:[(0,s.jsxs)(`div`,{className:`flex items-center justify-between mb-1.5`,children:[(0,s.jsx)(`span`,{className:`text-[10px] uppercase font-bold text-krona-secondary`,children:i.category}),(0,s.jsx)(n,{variant:a?`green`:`neutral`,size:`sm`,children:a?`Активен`:`Отключен`})]}),(0,s.jsx)(`h4`,{className:`text-xs font-bold text-krona-primary`,children:i.name}),(0,s.jsx)(`p`,{className:`text-[11px] text-krona-secondary mt-1 leading-relaxed`,children:i.description})]}),(0,s.jsx)(`div`,{className:`pt-2 border-t border-krona-border/50 flex justify-end`,children:(0,s.jsx)(t,{variant:a?`secondary`:`primary`,size:`sm`,className:`w-full text-xs`,onClick:()=>r(i.id),children:a?`Отключить модуль`:`Включить в контур`})})]},i.id)})})]})};export{c as AppsCatalogModule};

53
dist/assets/AreaChart-pR0H-che.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/CmsModule-CFpuA55b.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

12
dist/assets/CrmModule-D0MX46qK.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/EntityCatalog-CDeC-VEQ.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/FieldBuilder-Bb70wc90.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/FinanceModule-ZDICv-g5.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/FormBuilder-CvE6nXw9.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/SalesModule-B4sN0Ogq.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/TasksModule-CElCsgzb.js vendored Normal file

File diff suppressed because one or more lines are too long

2
dist/assets/ViewBuilder-g2KlOj5c.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/arrow-down-CWbiHuZO.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/arrow-up-B4Ca-HNG.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/arrow-up-down--M136cK3.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`arrow-up-down`,size:24,node:[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/building-BdUpGLM5.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`building`,size:24,node:[[`path`,{d:`M12 10h.01`,key:`1nrarc`}],[`path`,{d:`M12 14h.01`,key:`1etili`}],[`path`,{d:`M12 6h.01`,key:`1vi96p`}],[`path`,{d:`M16 10h.01`,key:`1m94wz`}],[`path`,{d:`M16 14h.01`,key:`1gbofw`}],[`path`,{d:`M16 6h.01`,key:`1x0f13`}],[`path`,{d:`M8 10h.01`,key:`19clt8`}],[`path`,{d:`M8 14h.01`,key:`6423bh`}],[`path`,{d:`M8 6h.01`,key:`1dz90k`}],[`path`,{d:`M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3`,key:`cabbwy`}],[`rect`,{x:`4`,y:`2`,width:`16`,height:`20`,rx:`2`,key:`1uxh74`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/clock-BelL0bvZ.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/credit-card-6Y5eHPCw.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`credit-card`,size:24,node:[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`,key:`ynyp8z`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`,key:`1b3vmo`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/currency-DdDs82F5.js vendored Normal file
View file

@ -0,0 +1 @@
var e={RUB:{code:`RUB`,symbol:`₽`,decimals:2,name:`Российский рубль`},USD:{code:`USD`,symbol:`$`,decimals:2,name:`Доллар США`},EUR:{code:`EUR`,symbol:`€`,decimals:2,name:`Евро`},KZT:{code:`KZT`,symbol:`₸`,decimals:2,name:`Казахстанский тенге`},BYN:{code:`BYN`,symbol:`Br`,decimals:2,name:`Белорусский рубль`},CNY:{code:`CNY`,symbol:`¥`,decimals:2,name:`Китайский юань`}};function t(t,n=`RUB`){return t/10**(e[n.toUpperCase()]||{decimals:2}).decimals}function n(t,n=`RUB`){let r=10**(e[n.toUpperCase()]||{decimals:2}).decimals;return Math.round(t*r)}function r(n,r=`RUB`,i){let a=r.toUpperCase(),o=e[a]||{decimals:2,symbol:a},s=i?.locale||`ru-RU`,c=t(n,a);return new Intl.NumberFormat(s,{style:i?.showSymbol===!1?`decimal`:`currency`,currency:a,minimumFractionDigits:i?.trimZeroDecimals&&c%1==0?0:o.decimals,maximumFractionDigits:o.decimals}).format(c)}function i(e,t=`RUB`){if(!e)return 0;let r=e.replace(/\s+/g,``).replace(`,`,`.`).replace(/[^0-9.-]/g,``),i=parseFloat(r);return isNaN(i)?0:n(i,t)}var a=r,o=i;export{o as n,a as t};

1
dist/assets/demo-D1nHL60J.js vendored Normal file
View file

@ -0,0 +1 @@
import{f as e,h as t}from"./useToast-CS8pZhce.js";var n=t(e(),1),r=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},i=(e=>e?r(e):r),a=e=>e;function o(e,t=a){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r}var s=e=>{let t=i(e),n=e=>o(t,e);return Object.assign(n,t),n},c=(e=>e?s(e):s),l=`2026-09-10T10:00:00.000Z`,u=c(e=>({currentProfileId:typeof window<`u`&&localStorage.getItem(`krona_profile_id`)||`multi-business`,currentRoleId:typeof window<`u`&&localStorage.getItem(`krona_role_id`)||`owner`,simulateLatency:!1,latencyMs:300,simulateErrors:!1,errorType:`none`,demoDate:l,stateOverride:`normal`,showMaturityBadges:!0,selectedScenario:`retail-flow`,setCurrentProfileId:t=>{typeof window<`u`&&localStorage.setItem(`krona_profile_id`,t),e({currentProfileId:t})},setCurrentRoleId:t=>{typeof window<`u`&&localStorage.setItem(`krona_role_id`,t),e({currentRoleId:t})},setSimulateLatency:t=>e({simulateLatency:t}),setLatencyMs:t=>e({latencyMs:t}),setSimulateErrors:t=>e({simulateErrors:t}),setErrorType:t=>e({errorType:t,simulateErrors:t!==`none`}),setDemoDate:t=>e({demoDate:t}),advanceDemoHours:t=>e(e=>{let n=new Date(e.demoDate).getTime();return{demoDate:new Date(n+t*3600*1e3).toISOString()}}),setStateOverride:t=>e({stateOverride:t}),setShowMaturityBadges:t=>e({showMaturityBadges:t}),setSelectedScenario:t=>e({selectedScenario:t}),resetDemoControls:()=>e({currentProfileId:`multi-business`,currentRoleId:`owner`,simulateLatency:!1,latencyMs:300,simulateErrors:!1,errorType:`none`,demoDate:l,stateOverride:`normal`,showMaturityBadges:!0,selectedScenario:`retail-flow`})}));export{c as n,u as t};

1
dist/assets/dollar-sign-Bf6JneNn.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`dollar-sign`,size:24,node:[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`,key:`7eqyqh`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`,key:`1b0p4s`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/download-ByGeM7La.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`download`,size:24,node:[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/external-link-NR-y-GuE.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`external-link`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/eye-CkF1gwUX.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`eye`,size:24,node:[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};t.node;var n=e(t);export{n as t};

File diff suppressed because one or more lines are too long

1
dist/assets/file-text-DR21jZDS.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`file-text`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/formatters-WvGQLZg0.js vendored Normal file
View file

@ -0,0 +1 @@
function e(e){return new Intl.NumberFormat(`ru-RU`,{style:`currency`,currency:`RUB`,maximumFractionDigits:0}).format(e)}function t(e){return new Intl.NumberFormat(`ru-RU`).format(e)}export{t as n,e as t};

1
dist/assets/image-B_RO1I7c.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]};t.node;var n=e(t);export{n as t};

13
dist/assets/index-CyHCRa3Z.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index-hy5aymTR.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/indexedDb-DZ-aRPMs.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/link-DOg0dLYA.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`link`,size:24,node:[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/list-XDoRqfJ2.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`list`,size:24,node:[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/lock-BiWUbvPE.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/mail-DOD5KO1v.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/mockData-DAqQG5te.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/move-up-qiRY8MuU.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`move-down`,size:24,node:[[`path`,{d:`M8 18L12 22L16 18`,key:`cskvfv`}],[`path`,{d:`M12 2V22`,key:`r89rzk`}]]};t.node;var n=e(t),r={name:`move-up`,size:24,node:[[`path`,{d:`M8 6L12 2L16 6`,key:`1yvkyx`}],[`path`,{d:`M12 2V22`,key:`r89rzk`}]]};r.node;var i=e(r);export{n,i as t};

1
dist/assets/package-Dg7SbpiM.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`package`,size:24,node:[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]};t.node;var n=e(t);export{n as t};

View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`panels-top-left`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M9 21V9`,key:`1oto5p`}]],aliases:[`layout`]};t.node;var n=e(t);export{n as t};

1
dist/assets/pen-D8SS70u3.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`pen`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]],aliases:[`edit-2`]};t.node;var n=e(t);export{n as t};

1
dist/assets/phone-DpnQw4if.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`phone`,size:24,node:[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/play-eIPXoy-j.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`play`,size:24,node:[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/save-D8euL60I.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`save`,size:24,node:[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/settings-2-CSojebrG.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`settings-2`,size:24,node:[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/star-B6hvSjuv.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`star`,size:24,node:[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/table-_fqSCPRE.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`table`,size:24,node:[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M3 15h18`,key:`5xshup`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/terminal-CcncyL3J.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`terminal`,size:24,node:[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/truck-D5o8mTsH.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`truck`,size:24,node:[[`path`,{d:`M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2`,key:`wrbu53`}],[`path`,{d:`M15 18H9`,key:`1lyqi6`}],[`path`,{d:`M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14`,key:`lysw3i`}],[`circle`,{cx:`17`,cy:`18`,r:`2`,key:`332jqn`}],[`circle`,{cx:`7`,cy:`18`,r:`2`,key:`19iecd`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/types-CTcNpN0z.js vendored Normal file
View file

@ -0,0 +1 @@
var e=[{id:`crm`,name:`CRM & Клиенты`,description:`Управление клиентами, лидами, сделками и воронками`,category:`core`},{id:`sales`,name:`Продажи & Заказы`,description:`Обработка заказов, счетов и оплат`,category:`core`},{id:`communications`,name:`Омниканальные коммуникации`,description:`Единый inbox: Telegram, WhatsApp, MAX, VK, почта`,category:`core`},{id:`helpdesk`,name:`HelpDesk & Поддержка`,description:`Тикеты, SLA, база знаний и решение инцидентов`,category:`core`},{id:`tasks`,name:`Задачи & Проекты`,description:`Канбан, списки задач, спринты и контроль сроков`,category:`management`},{id:`cms`,name:`Сайты & Krona CMS`,description:`Конструктор страниц, блог, формы, SEO и витрины`,category:`growth`},{id:`marketing`,name:`Маркетинг & Рассылки`,description:`Контент-план, акции, рассылки, AI-маркетолог`,category:`growth`},{id:`analytics`,name:`Аналитика & BI`,description:`Сквозная аналитика, финансовые отчеты и дашборды`,category:`management`},{id:`finance`,name:`Финансы & ДДС`,description:`Доходы, расходы, кассовые смены, P&L и казначейство`,category:`management`},{id:`employees`,name:`Сотрудники & Смены`,description:`Графики, учет рабочего времени, роли и KPI`,category:`management`},{id:`inventory`,name:`Склад & Остатки`,description:`Остатки, партии, списания, перемещения, инвентаризация`,category:`operations`},{id:`purchasing`,name:`Закупки & Поставщики`,description:`Заказы поставщикам, приходные накладные, сверки`,category:`operations`},{id:`delivery`,name:`Доставка & Курьеры`,description:`Маршруты, статусы курьеров, расчет зон и стоимости`,category:`operations`},{id:`booking`,name:`Бронирование & Слоты`,description:`Запись клиентов, онлайн-слоты, бронь ресурсов`,category:`operations`},{id:`pos`,name:`Кассовый терминал (POS)`,description:`Быстрое оформление чеков, скидки, фискализация`,category:`operations`},{id:`kds`,name:`Кухонный экран (KDS)`,description:`Дисплей кухни/сборки с таймерами и статусами`,category:`operations`},{id:`dining`,name:`Зал & Столы`,description:`Схема залов, рассадка, открытые чеки и официанты`,category:`operations`},{id:`work_orders`,name:`Заказ-наряды`,description:`Ремонтные работы, материалы, посты и нормо-часы`,category:`operations`},{id:`production`,name:`Производство & Техкарты`,description:`Рецептуры, списание сырья, калькуляция себестоимости`,category:`operations`},{id:`automation`,name:`Автоматизация & Workflows`,description:`Триггеры, цепочки действий, сценарии без кода`,category:`growth`},{id:`ai`,name:`Krona AI Center`,description:`AI-команда: оркестратор, бизнес-аналитик, маркетолог`,category:`growth`}];export{e as t};

1
dist/assets/types-DMl_5q2N.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`binary`,size:24,node:[[`rect`,{x:`14`,y:`14`,width:`4`,height:`6`,rx:`2`,key:`p02svl`}],[`rect`,{x:`6`,y:`4`,width:`4`,height:`6`,rx:`2`,key:`xm4xkj`}],[`path`,{d:`M6 20h4`,key:`1i6q5t`}],[`path`,{d:`M14 10h4`,key:`ru81e7`}],[`path`,{d:`M6 14h2v6`,key:`16z9wg`}],[`path`,{d:`M14 4h2v6`,key:`1idq9u`}]]};t.node;var n=e(t),r={name:`code`,size:24,node:[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]};r.node;var i=e(r),a={name:`navigation`,size:24,node:[[`polygon`,{points:`3 11 22 2 13 21 11 13 3 11`,key:`1ltx0t`}]]};a.node;var o=e(a),s=`text.long_text.rich_text.integer.decimal.money.percentage.boolean.select.multi_select.radio.checkbox_group.status.rating.date.datetime.time.phone.email.url.address.location.file.image.color.user.employee.team.company.contact.product.entity_relation.formula.autonumber.json`.split(`.`);function c(e){let t=(e||``).trim().toLowerCase();switch(t){case`number`:case`int`:return`integer`;case`float`:case`double`:return`decimal`;case`currency`:return`money`;case`percent`:return`percentage`;case`single_select`:return`select`;case`multiselect`:case`multi-select`:case`tags`:return`multi_select`;case`entity_ref`:case`lookup`:case`relation`:case`reference`:return`entity_relation`;case`bool`:return`boolean`;case`link`:return`url`;default:return s.includes(t)?t:`text`}}export{n as i,o as n,i as r,c as t};

1
dist/assets/upload-CY2IsfiN.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/useInventory-Y83xzzVb.js vendored Normal file
View file

@ -0,0 +1 @@
import{f as e,h as t}from"./useToast-CS8pZhce.js";import{U as n,q as r}from"./index-CyHCRa3Z.js";var i=t(e(),1);function a(){let[e,t]=(0,i.useState)([]),[a,o]=(0,i.useState)([]),[s,c]=(0,i.useState)([]),[l,u]=(0,i.useState)([]),[d,f]=(0,i.useState)(!0),[p,m]=(0,i.useState)(null),h=(0,i.useCallback)(async()=>{try{f(!0),m(null);let[e,n,i,a]=await Promise.all([r.warehouses.list({pageSize:50}),r.stockItems.list({pageSize:200}),r.movements.list({pageSize:100}),r.receipts.list({pageSize:100})]);t(e.items),o(n.items),c(i.items),u(a.items)}catch(e){m(e instanceof Error?e:Error(String(e)))}finally{f(!1)}},[]);return(0,i.useEffect)(()=>{let e=!0;return Promise.resolve().then(()=>{e&&h()}),()=>{e=!1}},[h]),n(`records:changed`,e=>{(e.entityType===`warehouse`||e.entityType===`stock_item`||e.entityType===`stock_movement`||e.entityType===`goods_receipt`||e.entityType===`stock_reservation`)&&h()}),n(`storage:reset`,h),n(`snapshot:imported`,h),{warehouses:e,stockItems:a,movements:s,receipts:l,loading:d,error:p,refetch:h,adjustStock:(0,i.useCallback)(async(e,t,n,i)=>r.adjustStock(e,t,n,i),[]),reserveStock:(0,i.useCallback)(async(e,t,n,i)=>r.reserveStock(e,t,n,i),[]),cancelOrderReservations:(0,i.useCallback)(async e=>r.cancelOrderReservations(e),[]),receiveGoods:(0,i.useCallback)(async e=>r.receiveGoods(e),[]),createAndReceiveGoods:(0,i.useCallback)(async(e,t,n,i)=>r.createAndReceiveGoods(e,t,n,i),[])}}export{a as t};

1
dist/assets/useOrders-E7OnZAao.js vendored Normal file
View file

@ -0,0 +1 @@
import{f as e,h as t}from"./useToast-CS8pZhce.js";import{U as n,W as r}from"./index-CyHCRa3Z.js";var i=t(e(),1);function a(){let[e,t]=(0,i.useState)([]),[a,o]=(0,i.useState)([]),[s,c]=(0,i.useState)([]),[l,u]=(0,i.useState)([]),[d,f]=(0,i.useState)(!0),[p,m]=(0,i.useState)(null),h=(0,i.useCallback)(async()=>{try{f(!0),m(null);let[e,n,i,a]=await Promise.all([r.orders.list({pageSize:100}),r.products.list({pageSize:100}),r.payments.list({pageSize:100}),r.shipments.list({pageSize:100})]);t(e.items),o(n.items),c(i.items),u(a.items)}catch(e){m(e instanceof Error?e:Error(String(e)))}finally{f(!1)}},[]);return(0,i.useEffect)(()=>{let e=!0;return Promise.resolve().then(()=>{e&&h()}),()=>{e=!1}},[h]),n(`records:changed`,e=>{(e.entityType===`order`||e.entityType===`product`||e.entityType===`payment`||e.entityType===`shipment`)&&h()}),n(`storage:reset`,h),n(`snapshot:imported`,h),{orders:e,products:a,payments:s,shipments:l,loading:d,error:p,refetch:h,createOrder:(0,i.useCallback)(async e=>r.orders.create(e),[]),updateStatus:(0,i.useCallback)(async(e,t)=>r.updateOrderStatus(e,t),[]),confirmOrder:(0,i.useCallback)(async(e,t)=>r.confirmOrder(e,t),[]),cancelOrder:(0,i.useCallback)(async e=>r.cancelOrder(e),[]),createPayment:(0,i.useCallback)(async(e,t,n,i=!0)=>r.createPayment(e,t,n,i),[]),createShipment:(0,i.useCallback)(async(e,t,n)=>r.createShipment(e,t,n),[]),processReturn:(0,i.useCallback)(async(e,t,n,i=`wh_main`,a=!0)=>r.processReturn(e,t,n,i,a),[])}}export{a as t};

1
dist/assets/useToast-CS8pZhce.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/user-CuEEaB8a.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`user`,size:24,node:[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]};t.node;var n=e(t);export{n as t};

1
dist/assets/utensils-BhILG_B7.js vendored Normal file
View file

@ -0,0 +1 @@
import{l as e}from"./useToast-CS8pZhce.js";var t={name:`utensils`,size:24,node:[[`path`,{d:`M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2`,key:`cjf0a3`}],[`path`,{d:`M7 2v20`,key:`1473qp`}],[`path`,{d:`M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7`,key:`j28e5`}]],aliases:[`fork-knife`]};t.node;var n=e(t);export{n as t};

BIN
dist/branding/krona-logo.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
dist/branding/krona-symbol.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 KiB

1
dist/favicon.svg vendored Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.3 KiB

24
dist/icons.svg vendored Normal file
View file

@ -0,0 +1,24 @@
<svg xmlns="http://www.w3.org/2000/svg">
<symbol id="bluesky-icon" viewBox="0 0 16 17">
<g clip-path="url(#bluesky-clip)"><path fill="#08060d" d="M7.75 7.735c-.693-1.348-2.58-3.86-4.334-5.097-1.68-1.187-2.32-.981-2.74-.79C.188 2.065.1 2.812.1 3.251s.241 3.602.398 4.13c.52 1.744 2.367 2.333 4.07 2.145-2.495.37-4.71 1.278-1.805 4.512 3.196 3.309 4.38-.71 4.987-2.746.608 2.036 1.307 5.91 4.93 2.746 2.72-2.746.747-4.143-1.747-4.512 1.702.189 3.55-.4 4.07-2.145.156-.528.397-3.691.397-4.13s-.088-1.186-.575-1.406c-.42-.19-1.06-.395-2.741.79-1.755 1.24-3.64 3.752-4.334 5.099"/></g>
<defs><clipPath id="bluesky-clip"><path fill="#fff" d="M.1.85h15.3v15.3H.1z"/></clipPath></defs>
</symbol>
<symbol id="discord-icon" viewBox="0 0 20 19">
<path fill="#08060d" d="M16.224 3.768a14.5 14.5 0 0 0-3.67-1.153c-.158.286-.343.67-.47.976a13.5 13.5 0 0 0-4.067 0c-.128-.306-.317-.69-.476-.976A14.4 14.4 0 0 0 3.868 3.77C1.546 7.28.916 10.703 1.231 14.077a14.7 14.7 0 0 0 4.5 2.306q.545-.748.965-1.587a9.5 9.5 0 0 1-1.518-.74q.191-.14.372-.293c2.927 1.369 6.107 1.369 8.999 0q.183.152.372.294-.723.437-1.52.74.418.838.963 1.588a14.6 14.6 0 0 0 4.504-2.308c.37-3.911-.63-7.302-2.644-10.309m-9.13 8.234c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.894 0 1.614.82 1.599 1.82.001 1-.705 1.82-1.6 1.82m5.91 0c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.893 0 1.614.82 1.599 1.82 0 1-.706 1.82-1.6 1.82"/>
</symbol>
<symbol id="documentation-icon" viewBox="0 0 21 20">
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="m15.5 13.333 1.533 1.322c.645.555.967.833.967 1.178s-.322.623-.967 1.179L15.5 18.333m-3.333-5-1.534 1.322c-.644.555-.966.833-.966 1.178s.322.623.966 1.179l1.534 1.321"/>
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M17.167 10.836v-4.32c0-1.41 0-2.117-.224-2.68-.359-.906-1.118-1.621-2.08-1.96-.599-.21-1.349-.21-2.848-.21-2.623 0-3.935 0-4.983.369-1.684.591-3.013 1.842-3.641 3.428C3 6.449 3 7.684 3 10.154v2.122c0 2.558 0 3.838.706 4.726q.306.383.713.671c.76.536 1.79.64 3.581.66"/>
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M3 10a2.78 2.78 0 0 1 2.778-2.778c.555 0 1.209.097 1.748-.047.48-.129.854-.503.982-.982.145-.54.048-1.194.048-1.749a2.78 2.78 0 0 1 2.777-2.777"/>
</symbol>
<symbol id="github-icon" viewBox="0 0 19 19">
<path fill="#08060d" fill-rule="evenodd" d="M9.356 1.85C5.05 1.85 1.57 5.356 1.57 9.694a7.84 7.84 0 0 0 5.324 7.44c.387.079.528-.168.528-.376 0-.182-.013-.805-.013-1.454-2.165.467-2.616-.935-2.616-.935-.349-.91-.864-1.143-.864-1.143-.71-.48.051-.48.051-.48.787.051 1.2.805 1.2.805.695 1.194 1.817.857 2.268.649.064-.507.27-.857.49-1.052-1.728-.182-3.545-.857-3.545-3.87 0-.857.31-1.558.8-2.104-.078-.195-.349-1 .077-2.078 0 0 .657-.208 2.14.805a7.5 7.5 0 0 1 1.946-.26c.657 0 1.328.092 1.946.26 1.483-1.013 2.14-.805 2.14-.805.426 1.078.155 1.883.078 2.078.502.546.799 1.247.799 2.104 0 3.013-1.818 3.675-3.558 3.87.284.247.528.714.528 1.454 0 1.052-.012 1.896-.012 2.156 0 .208.142.455.528.377a7.84 7.84 0 0 0 5.324-7.441c.013-4.338-3.48-7.844-7.773-7.844" clip-rule="evenodd"/>
</symbol>
<symbol id="social-icon" viewBox="0 0 20 20">
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M12.5 6.667a4.167 4.167 0 1 0-8.334 0 4.167 4.167 0 0 0 8.334 0"/>
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M2.5 16.667a5.833 5.833 0 0 1 8.75-5.053m3.837.474.513 1.035c.07.144.257.282.414.309l.93.155c.596.1.736.536.307.965l-.723.73a.64.64 0 0 0-.152.531l.207.903c.164.715-.213.991-.84.618l-.872-.52a.63.63 0 0 0-.577 0l-.872.52c-.624.373-1.003.094-.84-.618l.207-.903a.64.64 0 0 0-.152-.532l-.723-.729c-.426-.43-.289-.864.306-.964l.93-.156a.64.64 0 0 0 .412-.31l.513-1.034c.28-.562.735-.562 1.012 0"/>
</symbol>
<symbol id="x-icon" viewBox="0 0 19 19">
<path fill="#08060d" fill-rule="evenodd" d="M1.893 1.98c.052.072 1.245 1.769 2.653 3.77l2.892 4.114c.183.261.333.48.333.486s-.068.089-.152.183l-.522.593-.765.867-3.597 4.087c-.375.426-.734.834-.798.905a1 1 0 0 0-.118.148c0 .01.236.017.664.017h.663l.729-.83c.4-.457.796-.906.879-.999a692 692 0 0 0 1.794-2.038c.034-.037.301-.34.594-.675l.551-.624.345-.392a7 7 0 0 1 .34-.374c.006 0 .93 1.306 2.052 2.903l2.084 2.965.045.063h2.275c1.87 0 2.273-.003 2.266-.021-.008-.02-1.098-1.572-3.894-5.547-2.013-2.862-2.28-3.246-2.273-3.266.008-.019.282-.332 2.085-2.38l2-2.274 1.567-1.782c.022-.028-.016-.03-.65-.03h-.674l-.3.342a871 871 0 0 1-1.782 2.025c-.067.075-.405.458-.75.852a100 100 0 0 1-.803.91c-.148.172-.299.344-.99 1.127-.304.343-.32.358-.345.327-.015-.019-.904-1.282-1.976-2.808L6.365 1.85H1.8zm1.782.91 8.078 11.294c.772 1.08 1.413 1.973 1.425 1.984.016.017.241.02 1.05.017l1.03-.004-2.694-3.766L7.796 5.75 5.722 2.852l-1.039-.004-1.039-.004z" clip-rule="evenodd"/>
</symbol>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

20
dist/index.html vendored Normal file
View file

@ -0,0 +1,20 @@
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/branding/krona-symbol.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Крона — Universal Business OS</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
<script type="module" crossorigin src="/assets/index-CyHCRa3Z.js"></script>
<link rel="modulepreload" crossorigin href="/assets/useToast-CS8pZhce.js">
<link rel="modulepreload" crossorigin href="/assets/demo-D1nHL60J.js">
<link rel="modulepreload" crossorigin href="/assets/indexedDb-DZ-aRPMs.js">
<link rel="stylesheet" crossorigin href="/assets/index-hy5aymTR.css">
</head>
<body class="bg-krona-app text-krona-primary antialiased selection:bg-krona-gold/20 selection:text-krona-gold-text">
<div id="root"></div>
</body>
</html>