From ba95723b611bc6b19230b80f807a71ceeca00a37 Mon Sep 17 00:00:00 2001 From: BOHA Date: Tue, 28 Apr 2026 22:35:43 +0200 Subject: [PATCH] v1.5.6: boneyard-js skeleton migration, TanStack Query refactor, rate-limit config - Replace hand-coded skeleton CSS/JSX with boneyard-js auto-generated bones - Remove skeleton.css and @keyframes shimmer from base.css - Add wrappers with fixtures to all 25+ page components - Generate 20 bone captures via boneyard CLI (CDP auth-gated capture) - Refactor data fetching from useEffect+useState to TanStack Query - Extract query hooks into src/admin/lib/queries/ and apiAdapter - Add usePaginatedQuery hook replacing useApiCall/useListData - Fix parseFloat || 0 anti-pattern in OfferDetail and OffersTemplates inputs - Fix customer_id mandatory validation on offer creation - Fix leave-requests comma-separated status filter (Prisma enum in: []) - Add cross-entity cache invalidation for orders/offers/invoices/projects - Make rate limits configurable via env vars (RATE_LIMIT_MAX, RATE_LIMIT_REFRESH, etc.) - Add boneyard.config.json with routes and breakpoints Co-Authored-By: Claude Opus 4.7 --- boneyard.config.json | 37 + package-lock.json | 220 +- package.json | 7 +- src/admin/AdminApp.tsx | 135 +- src/admin/base.css | 9 - .../bones/attendance-balances.bones.json | 1142 +++++++++ src/admin/bones/attendance-create.bones.json | 263 ++ .../bones/attendance-history-fund.bones.json | 1094 +++++++++ .../bones/attendance-history-table.bones.json | 1094 +++++++++ src/admin/bones/audit-log-rows.bones.json | 1149 +++++++++ src/admin/bones/dash-sessions.bones.json | 506 ++++ src/admin/bones/invoice-detail.bones.json | 707 ++++++ src/admin/bones/leave-approval.bones.json | 599 +++++ src/admin/bones/leave-requests.bones.json | 704 ++++++ src/admin/bones/offer-detail.bones.json | 620 +++++ src/admin/bones/offers-customers.bones.json | 641 +++++ src/admin/bones/offers-templates.bones.json | 452 ++++ src/admin/bones/offers.bones.json | 872 +++++++ src/admin/bones/orders.bones.json | 998 ++++++++ src/admin/bones/project-detail.bones.json | 371 +++ src/admin/bones/projects.bones.json | 746 ++++++ src/admin/bones/registry.ts | 50 + src/admin/bones/trips-admin.bones.json | 725 ++++++ src/admin/bones/trips-history.bones.json | 725 ++++++ src/admin/bones/users.bones.json | 767 ++++++ src/admin/bones/vehicles.bones.json | 746 ++++++ src/admin/components/ProjectFileManager.tsx | 120 +- .../components/dashboard/DashSessions.tsx | 213 +- src/admin/fixtures/AttendanceAdminFixture.tsx | 69 + .../fixtures/AttendanceBalancesFixture.tsx | 104 + .../fixtures/AttendanceCreateFixture.tsx | 43 + src/admin/fixtures/AttendanceFixture.tsx | 79 + .../fixtures/AttendanceHistoryFixture.tsx | 102 + .../fixtures/AttendanceLocationFixture.tsx | 49 + src/admin/fixtures/AuditLogFixture.tsx | 52 + src/admin/fixtures/CompanySettingsFixture.tsx | 69 + src/admin/fixtures/DashSessionsFixture.tsx | 63 + src/admin/fixtures/DashboardFixture.tsx | 94 + src/admin/fixtures/InvoiceDetailFixture.tsx | 86 + src/admin/fixtures/InvoicesFixture.tsx | 83 + src/admin/fixtures/LeaveApprovalFixture.tsx | 51 + src/admin/fixtures/LeaveRequestsFixture.tsx | 53 + src/admin/fixtures/OfferDetailFixture.tsx | 60 + src/admin/fixtures/OffersCustomersFixture.tsx | 49 + src/admin/fixtures/OffersFixture.tsx | 54 + src/admin/fixtures/OffersTemplatesFixture.tsx | 36 + src/admin/fixtures/OrderDetailFixture.tsx | 89 + src/admin/fixtures/OrdersFixture.tsx | 55 + src/admin/fixtures/ProjectDetailFixture.tsx | 70 + .../fixtures/ProjectFileManagerFixture.tsx | 53 + src/admin/fixtures/ProjectsFixture.tsx | 51 + .../fixtures/ReceivedInvoicesFixture.tsx | 80 + src/admin/fixtures/SettingsFixture.tsx | 70 + src/admin/fixtures/TripsAdminFixture.tsx | 44 + src/admin/fixtures/TripsFixture.tsx | 132 + src/admin/fixtures/TripsHistoryFixture.tsx | 40 + src/admin/fixtures/UsersFixture.tsx | 66 + src/admin/fixtures/VehiclesFixture.tsx | 48 + src/admin/hooks/usePaginatedQuery.ts | 44 + src/admin/lib/apiAdapter.ts | 83 + src/admin/lib/queries/attendance.ts | 99 + src/admin/lib/queries/auditLog.ts | 28 + src/admin/lib/queries/common.ts | 18 + src/admin/lib/queries/dashboard.ts | 42 + src/admin/lib/queries/invoices.ts | 126 + src/admin/lib/queries/leave.ts | 29 + src/admin/lib/queries/offers.ts | 58 + src/admin/lib/queries/orders.ts | 31 + src/admin/lib/queries/projects.ts | 78 + src/admin/lib/queries/settings.ts | 29 + src/admin/lib/queries/trips.ts | 82 + src/admin/lib/queries/users.ts | 18 + src/admin/lib/queries/vehicles.ts | 8 + src/admin/lib/queryClient.ts | 13 + src/admin/pages/Attendance.tsx | 206 +- src/admin/pages/AttendanceAdmin.tsx | 87 +- src/admin/pages/AttendanceBalances.tsx | 402 ++- src/admin/pages/AttendanceCreate.tsx | 466 ++-- src/admin/pages/AttendanceHistory.tsx | 453 ++-- src/admin/pages/AttendanceLocation.tsx | 299 +-- src/admin/pages/AuditLog.tsx | 376 ++- src/admin/pages/CompanySettings.tsx | 222 +- src/admin/pages/Dashboard.tsx | 130 +- src/admin/pages/InvoiceDetail.tsx | 2137 ++++++++-------- src/admin/pages/Invoices.tsx | 270 +-- src/admin/pages/LeaveApproval.tsx | 811 +++---- src/admin/pages/LeaveRequests.tsx | 325 ++- src/admin/pages/OfferDetail.tsx | 2159 ++++++++--------- src/admin/pages/Offers.tsx | 1298 +++++----- src/admin/pages/OffersCustomers.tsx | 1144 +++++---- src/admin/pages/OffersTemplates.tsx | 1156 +++++---- src/admin/pages/OrderDetail.tsx | 1052 ++++---- src/admin/pages/Orders.tsx | 563 ++--- src/admin/pages/ProjectDetail.tsx | 1004 ++++---- src/admin/pages/Projects.tsx | 562 ++--- src/admin/pages/ReceivedInvoices.tsx | 232 +- src/admin/pages/Settings.tsx | 566 ++--- src/admin/pages/Trips.tsx | 120 +- src/admin/pages/TripsAdmin.tsx | 311 ++- src/admin/pages/TripsHistory.tsx | 237 +- src/admin/pages/Users.tsx | 649 +++-- src/admin/pages/Vehicles.tsx | 708 +++--- src/admin/skeleton.css | 72 - src/config/env.ts | 17 + src/routes/admin/auth.ts | 6 +- src/routes/admin/leave-requests.ts | 5 +- src/routes/admin/totp.ts | 2 +- src/server.ts | 4 +- vite.config.ts | 26 +- 109 files changed, 26410 insertions(+), 10159 deletions(-) create mode 100644 boneyard.config.json create mode 100644 src/admin/bones/attendance-balances.bones.json create mode 100644 src/admin/bones/attendance-create.bones.json create mode 100644 src/admin/bones/attendance-history-fund.bones.json create mode 100644 src/admin/bones/attendance-history-table.bones.json create mode 100644 src/admin/bones/audit-log-rows.bones.json create mode 100644 src/admin/bones/dash-sessions.bones.json create mode 100644 src/admin/bones/invoice-detail.bones.json create mode 100644 src/admin/bones/leave-approval.bones.json create mode 100644 src/admin/bones/leave-requests.bones.json create mode 100644 src/admin/bones/offer-detail.bones.json create mode 100644 src/admin/bones/offers-customers.bones.json create mode 100644 src/admin/bones/offers-templates.bones.json create mode 100644 src/admin/bones/offers.bones.json create mode 100644 src/admin/bones/orders.bones.json create mode 100644 src/admin/bones/project-detail.bones.json create mode 100644 src/admin/bones/projects.bones.json create mode 100644 src/admin/bones/registry.ts create mode 100644 src/admin/bones/trips-admin.bones.json create mode 100644 src/admin/bones/trips-history.bones.json create mode 100644 src/admin/bones/users.bones.json create mode 100644 src/admin/bones/vehicles.bones.json create mode 100644 src/admin/fixtures/AttendanceAdminFixture.tsx create mode 100644 src/admin/fixtures/AttendanceBalancesFixture.tsx create mode 100644 src/admin/fixtures/AttendanceCreateFixture.tsx create mode 100644 src/admin/fixtures/AttendanceFixture.tsx create mode 100644 src/admin/fixtures/AttendanceHistoryFixture.tsx create mode 100644 src/admin/fixtures/AttendanceLocationFixture.tsx create mode 100644 src/admin/fixtures/AuditLogFixture.tsx create mode 100644 src/admin/fixtures/CompanySettingsFixture.tsx create mode 100644 src/admin/fixtures/DashSessionsFixture.tsx create mode 100644 src/admin/fixtures/DashboardFixture.tsx create mode 100644 src/admin/fixtures/InvoiceDetailFixture.tsx create mode 100644 src/admin/fixtures/InvoicesFixture.tsx create mode 100644 src/admin/fixtures/LeaveApprovalFixture.tsx create mode 100644 src/admin/fixtures/LeaveRequestsFixture.tsx create mode 100644 src/admin/fixtures/OfferDetailFixture.tsx create mode 100644 src/admin/fixtures/OffersCustomersFixture.tsx create mode 100644 src/admin/fixtures/OffersFixture.tsx create mode 100644 src/admin/fixtures/OffersTemplatesFixture.tsx create mode 100644 src/admin/fixtures/OrderDetailFixture.tsx create mode 100644 src/admin/fixtures/OrdersFixture.tsx create mode 100644 src/admin/fixtures/ProjectDetailFixture.tsx create mode 100644 src/admin/fixtures/ProjectFileManagerFixture.tsx create mode 100644 src/admin/fixtures/ProjectsFixture.tsx create mode 100644 src/admin/fixtures/ReceivedInvoicesFixture.tsx create mode 100644 src/admin/fixtures/SettingsFixture.tsx create mode 100644 src/admin/fixtures/TripsAdminFixture.tsx create mode 100644 src/admin/fixtures/TripsFixture.tsx create mode 100644 src/admin/fixtures/TripsHistoryFixture.tsx create mode 100644 src/admin/fixtures/UsersFixture.tsx create mode 100644 src/admin/fixtures/VehiclesFixture.tsx create mode 100644 src/admin/hooks/usePaginatedQuery.ts create mode 100644 src/admin/lib/apiAdapter.ts create mode 100644 src/admin/lib/queries/attendance.ts create mode 100644 src/admin/lib/queries/auditLog.ts create mode 100644 src/admin/lib/queries/common.ts create mode 100644 src/admin/lib/queries/dashboard.ts create mode 100644 src/admin/lib/queries/invoices.ts create mode 100644 src/admin/lib/queries/leave.ts create mode 100644 src/admin/lib/queries/offers.ts create mode 100644 src/admin/lib/queries/orders.ts create mode 100644 src/admin/lib/queries/projects.ts create mode 100644 src/admin/lib/queries/settings.ts create mode 100644 src/admin/lib/queries/trips.ts create mode 100644 src/admin/lib/queries/users.ts create mode 100644 src/admin/lib/queries/vehicles.ts create mode 100644 src/admin/lib/queryClient.ts delete mode 100644 src/admin/skeleton.css diff --git a/boneyard.config.json b/boneyard.config.json new file mode 100644 index 0000000..2bfaae7 --- /dev/null +++ b/boneyard.config.json @@ -0,0 +1,37 @@ +{ + "breakpoints": [375, 768, 1280], + "out": "./src/admin/bones", + "color": "#e0e0e0", + "animate": "shimmer", + "shimmerColor": "#f0f0f0", + "speed": "1.2s", + "shimmerAngle": 110, + "wait": 3000, + "routes": [ + "/", + "/users", + "/attendance", + "/attendance/history", + "/attendance/admin", + "/attendance/balances", + "/attendance/requests", + "/attendance/approval", + "/attendance/create", + "/trips", + "/trips/history", + "/trips/admin", + "/vehicles", + "/offers", + "/offers/new", + "/offers/customers", + "/offers/templates", + "/orders", + "/orders/1", + "/projects", + "/projects/80", + "/invoices", + "/invoices/new", + "/settings", + "/audit-log" + ] +} diff --git a/package-lock.json b/package-lock.json index 20d0490..064ce37 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "app-ts", - "version": "1.5.3", + "version": "1.5.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "app-ts", - "version": "1.5.3", + "version": "1.5.5", "license": "ISC", "dependencies": { "@dnd-kit/core": "^6.3.1", @@ -19,8 +19,10 @@ "@fastify/rate-limit": "^10.3.0", "@fastify/static": "^9.0.0", "@prisma/client": "^6.19.2", + "@tanstack/react-query": "^5.100.5", "@types/jsdom": "^28.0.1", "bcryptjs": "^3.0.3", + "boneyard-js": "^1.8.1", "date-fns": "^4.1.0", "dompurify": "^3.3.3", "dotenv": "^17.3.1", @@ -148,6 +150,13 @@ "specificity": "bin/cli.js" } }, + "node_modules/@chenglou/pretext": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/@chenglou/pretext/-/pretext-0.0.5.tgz", + "integrity": "sha512-A8GZN10REdFGsyuiUgLV8jjPDDFMg5GmgxGWV0I3igxBOnzj+jgz2VMmVD7g+SFyoctfeqHFxbNatKSzVRWtRg==", + "license": "MIT", + "optional": true + }, "node_modules/@csstools/color-helpers": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.0.2.tgz", @@ -353,7 +362,6 @@ "version": "1.9.0", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.9.0.tgz", "integrity": "sha512-0DQ98G9ZQZOxfUcQn1waV2yS8aWdZ6kJMbYCJB3oUBecjWYO1fqJ+a1DRfPF3O5JEkwqwP1A9QEN/9mYm2Yd0w==", - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -365,7 +373,6 @@ "version": "1.9.0", "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.0.tgz", "integrity": "sha512-QN75eB0IH2ywSpRpNddCRfQIhmJYBCJ1x5Lb3IscKAL8bMnVAKnRg8dCoXbHzVLLH7P38N2Z3mtulB7W0J0FKw==", - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -376,7 +383,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.0.tgz", "integrity": "sha512-N10dEJNSsUx41Z6pZsXU8FjPjpBEplgH24sfkmITrBED1/U2Esum9F3lfLrMjKHHjmi557zQn7kR9R+XWXu5Rg==", - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -390,7 +396,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -407,7 +412,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -424,7 +428,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -441,7 +444,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -458,7 +460,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -475,7 +476,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -492,7 +492,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -509,7 +508,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -526,7 +524,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -543,7 +540,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -560,7 +556,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -577,7 +572,6 @@ "cpu": [ "loong64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -594,7 +588,6 @@ "cpu": [ "mips64el" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -611,7 +604,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -628,7 +620,6 @@ "cpu": [ "riscv64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -645,7 +636,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -662,7 +652,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -679,7 +668,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -696,7 +684,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -713,7 +700,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -730,7 +716,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -747,7 +732,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -764,7 +748,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -781,7 +764,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -798,7 +780,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -815,7 +796,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1195,7 +1175,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.1.tgz", "integrity": "sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A==", - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -1224,7 +1203,7 @@ "version": "0.115.0", "resolved": "https://registry.npmjs.org/@oxc-project/runtime/-/runtime-0.115.0.tgz", "integrity": "sha512-Rg8Wlt5dCbXhQnsXPrkOjL1DTSvXLgb2R/KYfnf1/K+R0k6UMLEmbQXPM+kwrWqSmWA2t0B1EtHy2/3zikQpvQ==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": "^20.19.0 || >=22.12.0" @@ -1234,7 +1213,7 @@ "version": "0.115.0", "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.115.0.tgz", "integrity": "sha512-4n91DKnebUS4yjUHl2g3/b2T+IUdCfmoZGhmwsovZCDaJSs+QkVAM+0AqqTxHSsHfeiMuueT75cZaZcT/m0pSw==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/Boshen" @@ -1385,7 +1364,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1402,7 +1380,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1419,7 +1396,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1436,7 +1412,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1453,7 +1428,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1470,7 +1444,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1487,7 +1460,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1504,7 +1476,6 @@ "cpu": [ "ppc64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1521,7 +1492,6 @@ "cpu": [ "s390x" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1538,7 +1508,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1555,7 +1524,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1572,7 +1540,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1589,7 +1556,6 @@ "cpu": [ "wasm32" ], - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -1606,7 +1572,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1623,7 +1588,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1646,6 +1610,32 @@ "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", "license": "MIT" }, + "node_modules/@tanstack/query-core": { + "version": "5.100.5", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.100.5.tgz", + "integrity": "sha512-t20KrhKkf0HXzqQkPbJ5erhFesup68BAbwFgYmTrS7bxMF7O5MdmL8jUkik4thsG7Hg00fblz30h6yF1d5TxGg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@tanstack/react-query": { + "version": "5.100.5", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.100.5.tgz", + "integrity": "sha512-aNwj1mi2v2bQ9IxkyR1grLOUkv3BYWoykHy9KDyLNbjC3tsahbOHJibK+Wjtr1wRhG59/AvJhiJG5OlthaCgJA==", + "license": "MIT", + "dependencies": { + "@tanstack/query-core": "5.100.5" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "react": "^18 || ^19" + } + }, "node_modules/@tokenizer/token": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", @@ -1662,7 +1652,6 @@ "version": "0.10.1", "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==", - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -2332,6 +2321,53 @@ "require-from-string": "^2.0.2" } }, + "node_modules/boneyard-js": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/boneyard-js/-/boneyard-js-1.8.1.tgz", + "integrity": "sha512-tnffA34xFgGSKpQ6QXebalkz2g/rMRAUIh3S0OBoPTK+OgYR3QEQvD3fHGKNQDbCTjn3W7dgNfiBhZGpnqlcNg==", + "license": "MIT", + "dependencies": { + "playwright": "^1.58.2" + }, + "bin": { + "boneyard-js": "bin/cli.js" + }, + "optionalDependencies": { + "@chenglou/pretext": "^0.0.5" + }, + "peerDependencies": { + "@angular/core": ">=14", + "preact": ">=10", + "react": ">=18", + "react-native": ">=0.71", + "svelte": ">=5.29", + "vite": ">=5", + "vue": ">=3" + }, + "peerDependenciesMeta": { + "@angular/core": { + "optional": true + }, + "preact": { + "optional": true + }, + "react": { + "optional": true + }, + "react-native": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vite": { + "optional": true + }, + "vue": { + "optional": true + } + } + }, "node_modules/brace-expansion": { "version": "5.0.5", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", @@ -2889,7 +2925,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", - "dev": true, + "devOptional": true, "license": "Apache-2.0", "engines": { "node": ">=8" @@ -3087,7 +3123,7 @@ "version": "0.27.4", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.4.tgz", "integrity": "sha512-Rq4vbHnYkK5fws5NF7MYTU68FPRE1ajX7heQ/8QXXWqNgqqJ/GkmmyxIzUnf2Sr/bakf8l54716CcMGHYhMrrQ==", - "dev": true, + "devOptional": true, "hasInstallScript": true, "license": "MIT", "bin": { @@ -3444,7 +3480,7 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=12.0.0" @@ -3568,7 +3604,6 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -3656,7 +3691,7 @@ "version": "4.13.6", "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.13.6.tgz", "integrity": "sha512-shZT/QMiSHc/YBLxxOkMtgSid5HFoauqCE3/exfsEcwg1WkeqjG+V40yBbBrsD+jW2HDXcs28xOfcbm2jI8Ddw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "resolve-pkg-maps": "^1.0.0" @@ -4135,7 +4170,7 @@ "version": "1.32.0", "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", - "dev": true, + "devOptional": true, "license": "MPL-2.0", "dependencies": { "detect-libc": "^2.0.3" @@ -4168,7 +4203,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4189,7 +4223,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4210,7 +4243,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4231,7 +4263,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4252,7 +4283,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4273,7 +4303,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4294,7 +4323,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4315,7 +4343,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4336,7 +4363,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4357,7 +4383,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4378,7 +4403,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MPL-2.0", "optional": true, "os": [ @@ -4618,7 +4642,7 @@ "version": "3.3.11", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", - "dev": true, + "devOptional": true, "funding": [ { "type": "github", @@ -4931,7 +4955,7 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=12" @@ -4988,6 +5012,50 @@ "pathe": "^2.0.3" } }, + "node_modules/playwright": { + "version": "1.59.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.59.1.tgz", + "integrity": "sha512-C8oWjPR3F81yljW9o5OxcWzfh6avkVwDD2VYdwIGqTkl+OGFISgypqzfu7dOe4QNLL2aqcWBmI3PMtLIK233lw==", + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.59.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "node_modules/playwright-core": { + "version": "1.59.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.59.1.tgz", + "integrity": "sha512-HBV/RJg81z5BiiZ9yPzIiClYV/QMsDCKUyogwH9p3MCP6IYjUFu/MActgYAvK0oWyV9NlwM3GLBjADyWgydVyg==", + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/playwright/node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/pngjs": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", @@ -5001,7 +5069,7 @@ "version": "8.5.8", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz", "integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==", - "dev": true, + "devOptional": true, "funding": [ { "type": "opencollective", @@ -5521,7 +5589,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", - "dev": true, + "devOptional": true, "license": "MIT", "funding": { "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" @@ -5556,7 +5624,7 @@ "version": "1.0.0-rc.9", "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.9.tgz", "integrity": "sha512-9EbgWge7ZH+yqb4d2EnELAntgPTWbfL8ajiTW+SyhJEC4qhBbkCKbqFV4Ge4zmu5ziQuVbWxb/XwLZ+RIO7E8Q==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@oxc-project/types": "=0.115.0", @@ -5590,7 +5658,7 @@ "version": "1.0.0-rc.9", "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.9.tgz", "integrity": "sha512-w6oiRWgEBl04QkFZgmW+jnU1EC9b57Oihi2ot3HNWIQRqgHp5PnYDia5iZ5FF7rpa4EQdiqMDXjlqKGXBhsoXw==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/rxjs": { @@ -6159,7 +6227,7 @@ "version": "0.2.15", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "fdir": "^6.5.0", @@ -6279,7 +6347,7 @@ "version": "4.21.0", "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.21.0.tgz", "integrity": "sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "esbuild": "~0.27.0", @@ -6334,7 +6402,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.0.tgz", "integrity": "sha512-fPGaRNj9Zytaf8LEiBhY7Z6ijnFKdzU/+mL8EFBaKr7Vw1/FWcTBAMW0wLPJAGMPX38ZPVCVgLceWiEqeoqL2Q==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "@oxc-project/runtime": "0.115.0", diff --git a/package.json b/package.json index 279b594..2457a15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "app-ts", - "version": "1.5.5", + "version": "1.5.6", "description": "", "main": "dist/server.js", "scripts": { @@ -17,7 +17,8 @@ "db:push": "prisma db push", "db:studio": "prisma studio", "test": "vitest run", - "test:watch": "vitest" + "test:watch": "vitest", + "bones": "boneyard-js build http://localhost:3000" }, "keywords": [], "author": "", @@ -34,8 +35,10 @@ "@fastify/rate-limit": "^10.3.0", "@fastify/static": "^9.0.0", "@prisma/client": "^6.19.2", + "@tanstack/react-query": "^5.100.5", "@types/jsdom": "^28.0.1", "bcryptjs": "^3.0.3", + "boneyard-js": "^1.8.1", "date-fns": "^4.1.0", "dompurify": "^3.3.3", "dotenv": "^17.3.1", diff --git a/src/admin/AdminApp.tsx b/src/admin/AdminApp.tsx index 4574840..200a7f6 100644 --- a/src/admin/AdminApp.tsx +++ b/src/admin/AdminApp.tsx @@ -1,7 +1,9 @@ import { lazy, Suspense } from "react"; import { Routes, Route } from "react-router-dom"; +import { QueryClientProvider } from "@tanstack/react-query"; import { AuthProvider } from "./context/AuthContext"; import { AlertProvider } from "./context/AlertContext"; +import { queryClient } from "./lib/queryClient"; import ErrorBoundary from "./components/ErrorBoundary"; import AdminLayout from "./components/AdminLayout"; import AlertContainer from "./components/AlertContainer"; @@ -14,8 +16,8 @@ import "./buttons.css"; import "./layout.css"; import "./components.css"; import "./tables.css"; -import "./skeleton.css"; import "./datepicker.css"; +import "./bones/registry"; import "./filemanager.css"; import "./pagination.css"; import "./responsive.css"; @@ -57,63 +59,80 @@ export default function AdminApp() { return ( - - - -
-
- } - > - - } /> - }> - } /> - } /> - } /> - } - /> - } /> - } - /> - } /> - } /> - } - /> - } - /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - - } /> - -
-
+ + + + +
+
+ } + > + + } /> + }> + } /> + } /> + } /> + } + /> + } + /> + } + /> + } + /> + } + /> + } + /> + } + /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } + /> + } + /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + + } /> + +
+
+
); diff --git a/src/admin/base.css b/src/admin/base.css index f9724d5..01580b9 100644 --- a/src/admin/base.css +++ b/src/admin/base.css @@ -330,15 +330,6 @@ img { } } -@keyframes shimmer { - 0% { - background-position: -200% 0; - } - 100% { - background-position: 200% 0; - } -} - /* ── Additional Utilities ─────────────────────────────────────────── */ /* Font sizes */ diff --git a/src/admin/bones/attendance-balances.bones.json b/src/admin/bones/attendance-balances.bones.json new file mode 100644 index 0000000..0e6383d --- /dev/null +++ b/src/admin/bones/attendance-balances.bones.json @@ -0,0 +1,1142 @@ +{ + "breakpoints": { + "375": { + "name": "attendance-balances", + "viewportWidth": 317, + "width": 317, + "height": 737, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 34, + 100, + 44, + 8 + ], + [ + 0, + 94, + 100, + 315, + 10, + true + ], + [ + 4.1009, + 107, + 32.497, + 31, + 0 + ], + [ + 36.598, + 107, + 24.7881, + 31, + 0 + ], + [ + 61.386, + 107, + 29.4065, + 31, + 0 + ], + [ + 90.7926, + 107, + 23.3488, + 31, + 0 + ], + [ + 114.1414, + 107, + 25.5668, + 31, + 0 + ], + [ + 139.7082, + 107, + 22.1215, + 31, + 0 + ], + [ + 4.1009, + 137, + 32.497, + 61, + 0 + ], + [ + 36.598, + 137, + 24.7881, + 61, + 0 + ], + [ + 61.386, + 137, + 29.4065, + 61, + 0 + ], + [ + 90.7926, + 137, + 23.3488, + 61, + 0 + ], + [ + 114.1414, + 137, + 25.5668, + 61, + 0 + ], + [ + 139.7082, + 137, + 22.1215, + 61, + 0 + ], + [ + 4.1009, + 198, + 32.497, + 61, + 0 + ], + [ + 36.598, + 198, + 24.7881, + 61, + 0 + ], + [ + 61.386, + 198, + 29.4065, + 61, + 0 + ], + [ + 90.7926, + 198, + 23.3488, + 61, + 0 + ], + [ + 114.1414, + 198, + 25.5668, + 61, + 0 + ], + [ + 139.7082, + 198, + 22.1215, + 61, + 0 + ], + [ + 4.1009, + 259, + 32.497, + 61, + 0 + ], + [ + 36.598, + 259, + 24.7881, + 61, + 0 + ], + [ + 61.386, + 259, + 29.4065, + 61, + 0 + ], + [ + 90.7926, + 259, + 23.3488, + 61, + 0 + ], + [ + 114.1414, + 259, + 25.5668, + 61, + 0 + ], + [ + 139.7082, + 259, + 22.1215, + 61, + 0 + ], + [ + 4.1009, + 320, + 32.497, + 61, + 0 + ], + [ + 36.598, + 320, + 24.7881, + 61, + 0 + ], + [ + 61.386, + 320, + 29.4065, + 61, + 0 + ], + [ + 90.7926, + 320, + 23.3488, + 61, + 0 + ], + [ + 114.1414, + 320, + 25.5668, + 61, + 0 + ], + [ + 139.7082, + 320, + 22.1215, + 61, + 0 + ], + [ + 0, + 433, + 100, + 24, + 8 + ], + [ + 0, + 461, + 100, + 81, + 10, + true + ], + [ + 4.1009, + 474, + 91.7981, + 19, + 8 + ], + [ + 4.1009, + 501, + 17.779, + 19, + 8 + ], + [ + 91.3496, + 501, + 4.5495, + 19, + 8 + ], + [ + 4.1009, + 526, + 91.7981, + 3, + 2, + true + ], + [ + 4.1009, + 526, + 68.8486, + 3, + 2 + ], + [ + 0, + 558, + 100, + 81, + 10, + true + ], + [ + 4.1009, + 571, + 91.7981, + 19, + 8 + ], + [ + 4.1009, + 599, + 17.779, + 19, + 8 + ], + [ + 91.3496, + 599, + 4.5495, + 19, + 8 + ], + [ + 4.1009, + 624, + 91.7981, + 3, + 2, + true + ], + [ + 4.1009, + 624, + 68.8486, + 3, + 2 + ], + [ + 0, + 656, + 100, + 81, + 10, + true + ], + [ + 4.1009, + 669, + 91.7981, + 19, + 8 + ], + [ + 4.1009, + 696, + 17.779, + 19, + 8 + ], + [ + 91.3496, + 696, + 4.5495, + 19, + 8 + ], + [ + 4.1009, + 721, + 91.7981, + 3, + 2, + true + ], + [ + 4.1009, + 721, + 68.8486, + 3, + 2 + ] + ] + }, + "768": { + "name": "attendance-balances", + "viewportWidth": 690, + "width": 690, + "height": 629, + "bones": [ + [ + 0, + 7, + 20.6726, + 26, + 8 + ], + [ + 85.5072, + 0, + 14.4928, + 44, + 8 + ], + [ + 0, + 60, + 100, + 314, + 10, + true + ], + [ + 2.7536, + 79, + 19.563, + 33, + 0 + ], + [ + 22.3166, + 79, + 15.0226, + 33, + 0 + ], + [ + 37.3392, + 79, + 17.7446, + 33, + 0 + ], + [ + 55.0838, + 79, + 14.178, + 33, + 0 + ], + [ + 69.2618, + 79, + 15.4846, + 33, + 0 + ], + [ + 84.7464, + 79, + 12.5, + 33, + 0 + ], + [ + 2.7536, + 112, + 19.563, + 61, + 0 + ], + [ + 22.3166, + 112, + 15.0226, + 61, + 0 + ], + [ + 37.3392, + 112, + 17.7446, + 61, + 0 + ], + [ + 55.0838, + 112, + 14.178, + 61, + 0 + ], + [ + 69.2618, + 112, + 15.4846, + 61, + 0 + ], + [ + 84.7464, + 112, + 12.5, + 61, + 0 + ], + [ + 2.7536, + 173, + 19.563, + 61, + 0 + ], + [ + 22.3166, + 173, + 15.0226, + 61, + 0 + ], + [ + 37.3392, + 173, + 17.7446, + 61, + 0 + ], + [ + 55.0838, + 173, + 14.178, + 61, + 0 + ], + [ + 69.2618, + 173, + 15.4846, + 61, + 0 + ], + [ + 84.7464, + 173, + 12.5, + 61, + 0 + ], + [ + 2.7536, + 234, + 19.563, + 61, + 0 + ], + [ + 22.3166, + 234, + 15.0226, + 61, + 0 + ], + [ + 37.3392, + 234, + 17.7446, + 61, + 0 + ], + [ + 55.0838, + 234, + 14.178, + 61, + 0 + ], + [ + 69.2618, + 234, + 15.4846, + 61, + 0 + ], + [ + 84.7464, + 234, + 12.5, + 61, + 0 + ], + [ + 2.7536, + 295, + 19.563, + 61, + 0 + ], + [ + 22.3166, + 295, + 15.0226, + 61, + 0 + ], + [ + 37.3392, + 295, + 17.7446, + 61, + 0 + ], + [ + 55.0838, + 295, + 14.178, + 61, + 0 + ], + [ + 69.2618, + 295, + 15.4846, + 61, + 0 + ], + [ + 84.7464, + 295, + 12.5, + 61, + 0 + ], + [ + 0, + 398, + 100, + 24, + 8 + ], + [ + 0, + 426, + 48.8406, + 93, + 10, + true + ], + [ + 2.7536, + 445, + 43.3333, + 19, + 8 + ], + [ + 2.7536, + 472, + 8.168, + 19, + 8 + ], + [ + 43.9968, + 472, + 2.0901, + 19, + 8 + ], + [ + 2.7536, + 497, + 43.3333, + 3, + 2, + true + ], + [ + 2.7536, + 497, + 32.5, + 3, + 2 + ], + [ + 51.1594, + 426, + 48.8406, + 93, + 10, + true + ], + [ + 53.913, + 445, + 43.3333, + 19, + 8 + ], + [ + 53.913, + 472, + 8.168, + 19, + 8 + ], + [ + 95.1563, + 472, + 2.0901, + 19, + 8 + ], + [ + 53.913, + 497, + 43.3333, + 3, + 2, + true + ], + [ + 53.913, + 497, + 32.5, + 3, + 2 + ], + [ + 0, + 535, + 48.8406, + 93, + 10, + true + ], + [ + 2.7536, + 554, + 43.3333, + 19, + 8 + ], + [ + 2.7536, + 582, + 8.168, + 19, + 8 + ], + [ + 43.9968, + 582, + 2.0901, + 19, + 8 + ], + [ + 2.7536, + 607, + 43.3333, + 3, + 2, + true + ], + [ + 2.7536, + 607, + 32.5, + 3, + 2 + ] + ] + }, + "1280": { + "name": "attendance-balances", + "viewportWidth": 950, + "width": 950, + "height": 493, + "bones": [ + [ + 0, + 3, + 15.0148, + 26, + 8 + ], + [ + 89.4737, + 0, + 10.5263, + 36, + 8 + ], + [ + 0, + 52, + 100, + 296, + 10, + true + ], + [ + 2, + 71, + 20.0378, + 38, + 0 + ], + [ + 22.0378, + 71, + 15.7747, + 38, + 0 + ], + [ + 37.8125, + 71, + 18.3273, + 38, + 0 + ], + [ + 56.1398, + 71, + 14.9786, + 38, + 0 + ], + [ + 71.1184, + 71, + 16.2056, + 38, + 0 + ], + [ + 87.324, + 71, + 10.676, + 38, + 0 + ], + [ + 2, + 109, + 20.0378, + 55, + 0 + ], + [ + 22.0378, + 109, + 15.7747, + 55, + 0 + ], + [ + 37.8125, + 109, + 18.3273, + 55, + 0 + ], + [ + 56.1398, + 109, + 14.9786, + 55, + 0 + ], + [ + 71.1184, + 109, + 16.2056, + 55, + 0 + ], + [ + 87.324, + 109, + 10.676, + 55, + 0 + ], + [ + 2, + 164, + 20.0378, + 55, + 0 + ], + [ + 22.0378, + 164, + 15.7747, + 55, + 0 + ], + [ + 37.8125, + 164, + 18.3273, + 55, + 0 + ], + [ + 56.1398, + 164, + 14.9786, + 55, + 0 + ], + [ + 71.1184, + 164, + 16.2056, + 55, + 0 + ], + [ + 87.324, + 164, + 10.676, + 55, + 0 + ], + [ + 2, + 219, + 20.0378, + 55, + 0 + ], + [ + 22.0378, + 219, + 15.7747, + 55, + 0 + ], + [ + 37.8125, + 219, + 18.3273, + 55, + 0 + ], + [ + 56.1398, + 219, + 14.9786, + 55, + 0 + ], + [ + 71.1184, + 219, + 16.2056, + 55, + 0 + ], + [ + 87.324, + 219, + 10.676, + 55, + 0 + ], + [ + 2, + 274, + 20.0378, + 55, + 0 + ], + [ + 22.0378, + 274, + 15.7747, + 55, + 0 + ], + [ + 37.8125, + 274, + 18.3273, + 55, + 0 + ], + [ + 56.1398, + 274, + 14.9786, + 55, + 0 + ], + [ + 71.1184, + 274, + 16.2056, + 55, + 0 + ], + [ + 87.324, + 274, + 10.676, + 55, + 0 + ], + [ + 0, + 372, + 100, + 24, + 8 + ], + [ + 0, + 400, + 32.2105, + 93, + 10, + true + ], + [ + 2, + 419, + 28.2105, + 19, + 8 + ], + [ + 2, + 446, + 5.9326, + 19, + 8 + ], + [ + 28.6924, + 446, + 1.5181, + 19, + 8 + ], + [ + 2, + 471, + 28.2105, + 3, + 2, + true + ], + [ + 2, + 471, + 21.1579, + 3, + 2 + ], + [ + 33.8947, + 400, + 32.2105, + 93, + 10, + true + ], + [ + 35.8947, + 419, + 28.2105, + 19, + 8 + ], + [ + 35.8947, + 446, + 5.9326, + 19, + 8 + ], + [ + 62.5872, + 446, + 1.5181, + 19, + 8 + ], + [ + 35.8947, + 471, + 28.2105, + 3, + 2, + true + ], + [ + 35.8947, + 471, + 21.1579, + 3, + 2 + ], + [ + 67.7895, + 400, + 32.2105, + 93, + 10, + true + ], + [ + 69.7895, + 419, + 28.2105, + 19, + 8 + ], + [ + 69.7895, + 446, + 5.9326, + 19, + 8 + ], + [ + 96.4819, + 446, + 1.5181, + 19, + 8 + ], + [ + 69.7895, + 471, + 28.2105, + 3, + 2, + true + ], + [ + 69.7895, + 471, + 21.1579, + 3, + 2 + ] + ] + } + }, + "_hash": "295fff98e071dacc7c49baa0f58e0e7c" +} \ No newline at end of file diff --git a/src/admin/bones/attendance-create.bones.json b/src/admin/bones/attendance-create.bones.json new file mode 100644 index 0000000..997f1ef --- /dev/null +++ b/src/admin/bones/attendance-create.bones.json @@ -0,0 +1,263 @@ +{ + "breakpoints": { + "375": { + "name": "attendance-create", + "viewportWidth": 351, + "width": 351, + "height": 403, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 42, + 100, + 361, + 10, + true + ], + [ + 3.7037, + 55, + 92.5926, + 21, + 8 + ], + [ + 3.7037, + 83, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 127, + 92.5926, + 21, + 8 + ], + [ + 3.7037, + 156, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 200, + 92.5926, + 21, + 8 + ], + [ + 3.7037, + 229, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 273, + 92.5926, + 21, + 8 + ], + [ + 3.7037, + 302, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 346, + 19.2352, + 44, + 8 + ] + ] + }, + "768": { + "name": "attendance-create", + "viewportWidth": 736, + "width": 736, + "height": 420, + "bones": [ + [ + 0, + 0, + 23.3738, + 26, + 8 + ], + [ + 0, + 46, + 81.5217, + 373, + 10, + true + ], + [ + 2.5815, + 65, + 76.3587, + 21, + 8 + ], + [ + 2.5815, + 94, + 76.3587, + 44, + 8 + ], + [ + 2.5815, + 138, + 76.3587, + 21, + 8 + ], + [ + 2.5815, + 167, + 76.3587, + 44, + 8 + ], + [ + 2.5815, + 211, + 76.3587, + 21, + 8 + ], + [ + 2.5815, + 240, + 76.3587, + 44, + 8 + ], + [ + 2.5815, + 284, + 76.3587, + 21, + 8 + ], + [ + 2.5815, + 313, + 76.3587, + 44, + 8 + ], + [ + 2.5815, + 357, + 9.1733, + 44, + 8 + ] + ] + }, + "1280": { + "name": "attendance-create", + "viewportWidth": 996, + "width": 996, + "height": 369, + "bones": [ + [ + 0, + 0, + 17.2722, + 26, + 8 + ], + [ + 0, + 46, + 60.241, + 323, + 10, + true + ], + [ + 1.9076, + 65, + 56.4257, + 19, + 8 + ], + [ + 1.9076, + 93, + 56.4257, + 36, + 8 + ], + [ + 1.9076, + 129, + 56.4257, + 19, + 8 + ], + [ + 1.9076, + 156, + 56.4257, + 36, + 8 + ], + [ + 1.9076, + 192, + 56.4257, + 19, + 8 + ], + [ + 1.9076, + 219, + 56.4257, + 36, + 8 + ], + [ + 1.9076, + 255, + 56.4257, + 19, + 8 + ], + [ + 1.9076, + 282, + 56.4257, + 36, + 8 + ], + [ + 1.9076, + 318, + 6.3771, + 32, + 8 + ] + ] + } + }, + "_hash": "7c4e446bf97f164a0fba87e2dd7df7d1" +} \ No newline at end of file diff --git a/src/admin/bones/attendance-history-fund.bones.json b/src/admin/bones/attendance-history-fund.bones.json new file mode 100644 index 0000000..5c7df69 --- /dev/null +++ b/src/admin/bones/attendance-history-fund.bones.json @@ -0,0 +1,1094 @@ +{ + "breakpoints": { + "375": { + "name": "attendance-history-fund", + "viewportWidth": 317, + "width": 317, + "height": 604, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 53, + 100, + 44, + 8 + ], + [ + 0, + 113, + 100, + 107, + 10, + true + ], + [ + 4.1009, + 126, + 91.7981, + 21, + 8 + ], + [ + 4.1009, + 163, + 91.7981, + 44, + 8 + ], + [ + 0, + 236, + 100, + 66, + 10, + true + ], + [ + 4.1009, + 249, + 12.6183, + 40, + 8, + true + ], + [ + 6.6246, + 257, + 7.571, + 24, + "50%" + ], + [ + 21.7666, + 250, + 42.4389, + 26, + 8 + ], + [ + 71.5053, + 254, + 24.3937, + 21, + 8 + ], + [ + 21.7666, + 281, + 74.1325, + 6, + 3, + true + ], + [ + 21.7666, + 281, + 55.5994, + 6, + 3 + ], + [ + 0, + 318, + 100, + 286, + 10, + true + ], + [ + 4.1009, + 331, + 29.7664, + 31, + 0 + ], + [ + 33.8673, + 331, + 25.6309, + 31, + 0 + ], + [ + 59.4982, + 331, + 22.6144, + 31, + 0 + ], + [ + 82.1126, + 331, + 36.9282, + 31, + 0 + ], + [ + 119.0408, + 331, + 22.6094, + 31, + 0 + ], + [ + 141.6502, + 331, + 20.1794, + 31, + 0 + ], + [ + 4.1009, + 361, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 361, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 361, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 361, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 361, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 361, + 20.1794, + 43, + 0 + ], + [ + 4.1009, + 404, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 404, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 404, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 404, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 404, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 404, + 20.1794, + 43, + 0 + ], + [ + 4.1009, + 447, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 447, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 447, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 447, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 447, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 447, + 20.1794, + 43, + 0 + ], + [ + 4.1009, + 490, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 490, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 490, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 490, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 490, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 490, + 20.1794, + 43, + 0 + ], + [ + 4.1009, + 533, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 533, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 533, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 533, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 533, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 533, + 20.1794, + 43, + 0 + ] + ] + }, + "768": { + "name": "attendance-history-fund", + "viewportWidth": 690, + "width": 690, + "height": 544, + "bones": [ + [ + 0, + 0, + 25.5503, + 26, + 8 + ], + [ + 0, + 30, + 25.5503, + 21, + 8 + ], + [ + 91.5738, + 4, + 8.4262, + 44, + 8 + ], + [ + 0, + 67, + 100, + 82, + 10, + true + ], + [ + 2.7536, + 86, + 46.087, + 44, + 8 + ], + [ + 51.1594, + 86, + 46.087, + 44, + 8 + ], + [ + 0, + 165, + 100, + 78, + 10, + true + ], + [ + 2.7536, + 184, + 5.7971, + 40, + 8, + true + ], + [ + 3.913, + 192, + 3.4783, + 24, + "50%" + ], + [ + 10.8696, + 185, + 19.4973, + 26, + 8 + ], + [ + 86.0394, + 189, + 11.207, + 21, + 8 + ], + [ + 10.8696, + 217, + 86.3768, + 6, + 3, + true + ], + [ + 10.8696, + 217, + 64.7826, + 6, + 3 + ], + [ + 0, + 259, + 100, + 285, + 10, + true + ], + [ + 2.7536, + 278, + 17.851, + 33, + 0 + ], + [ + 20.6046, + 278, + 14.4814, + 33, + 0 + ], + [ + 35.0861, + 278, + 13.8632, + 33, + 0 + ], + [ + 48.9493, + 278, + 22.0245, + 33, + 0 + ], + [ + 70.9737, + 278, + 13.8587, + 33, + 0 + ], + [ + 84.8324, + 278, + 12.4139, + 33, + 0 + ], + [ + 2.7536, + 311, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 311, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 311, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 311, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 311, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 311, + 12.4139, + 43, + 0 + ], + [ + 2.7536, + 354, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 354, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 354, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 354, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 354, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 354, + 12.4139, + 43, + 0 + ], + [ + 2.7536, + 397, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 397, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 397, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 397, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 397, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 397, + 12.4139, + 43, + 0 + ], + [ + 2.7536, + 440, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 440, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 440, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 440, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 440, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 440, + 12.4139, + 43, + 0 + ], + [ + 2.7536, + 483, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 483, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 483, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 483, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 483, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 483, + 12.4139, + 43, + 0 + ] + ] + }, + "1280": { + "name": "attendance-history-fund", + "viewportWidth": 950, + "width": 950, + "height": 558, + "bones": [ + [ + 0, + 0, + 18.5576, + 26, + 8 + ], + [ + 0, + 30, + 18.5576, + 21, + 8 + ], + [ + 94.301, + 9, + 5.699, + 34, + 8 + ], + [ + 0, + 67, + 100, + 74, + 10, + true + ], + [ + 2, + 86, + 47.1579, + 36, + 8 + ], + [ + 50.8421, + 86, + 47.1579, + 36, + 8 + ], + [ + 0, + 157, + 100, + 78, + 10, + true + ], + [ + 2, + 176, + 4.2105, + 40, + 8, + true + ], + [ + 2.8421, + 184, + 2.5263, + 24, + "50%" + ], + [ + 7.8947, + 177, + 14.1612, + 26, + 8 + ], + [ + 89.8602, + 181, + 8.1398, + 21, + 8 + ], + [ + 7.8947, + 209, + 90.1053, + 6, + 3, + true + ], + [ + 7.8947, + 209, + 67.5789, + 6, + 3 + ], + [ + 0, + 251, + 100, + 307, + 10, + true + ], + [ + 2, + 270, + 18.0773, + 38, + 0 + ], + [ + 20.0773, + 270, + 13.6809, + 38, + 0 + ], + [ + 33.7582, + 270, + 14.5641, + 38, + 0 + ], + [ + 48.3224, + 270, + 21.9046, + 38, + 0 + ], + [ + 70.227, + 270, + 14.5592, + 38, + 0 + ], + [ + 84.7862, + 270, + 13.2138, + 38, + 0 + ], + [ + 2, + 308, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 308, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 308, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 308, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 308, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 308, + 13.2138, + 46, + 0 + ], + [ + 2, + 355, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 355, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 355, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 355, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 355, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 355, + 13.2138, + 46, + 0 + ], + [ + 2, + 401, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 401, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 401, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 401, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 401, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 401, + 13.2138, + 46, + 0 + ], + [ + 2, + 447, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 447, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 447, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 447, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 447, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 447, + 13.2138, + 46, + 0 + ], + [ + 2, + 493, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 493, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 493, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 493, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 493, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 493, + 13.2138, + 46, + 0 + ] + ] + } + }, + "_hash": "cb161cc0bbab928bc0cf827fcfa95f71" +} \ No newline at end of file diff --git a/src/admin/bones/attendance-history-table.bones.json b/src/admin/bones/attendance-history-table.bones.json new file mode 100644 index 0000000..2cf7c08 --- /dev/null +++ b/src/admin/bones/attendance-history-table.bones.json @@ -0,0 +1,1094 @@ +{ + "breakpoints": { + "375": { + "name": "attendance-history-table", + "viewportWidth": 317, + "width": 317, + "height": 604, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 53, + 100, + 44, + 8 + ], + [ + 0, + 113, + 100, + 107, + 10, + true + ], + [ + 4.1009, + 126, + 91.7981, + 21, + 8 + ], + [ + 4.1009, + 163, + 91.7981, + 44, + 8 + ], + [ + 0, + 236, + 100, + 66, + 10, + true + ], + [ + 4.1009, + 249, + 12.6183, + 40, + 8, + true + ], + [ + 6.6246, + 257, + 7.571, + 24, + "50%" + ], + [ + 21.7666, + 250, + 42.4389, + 26, + 8 + ], + [ + 71.5053, + 254, + 24.3937, + 21, + 8 + ], + [ + 21.7666, + 281, + 74.1325, + 6, + 3, + true + ], + [ + 21.7666, + 281, + 55.5994, + 6, + 3 + ], + [ + 0, + 318, + 100, + 286, + 10, + true + ], + [ + 4.1009, + 331, + 29.7664, + 31, + 0 + ], + [ + 33.8673, + 331, + 25.6309, + 31, + 0 + ], + [ + 59.4982, + 331, + 22.6144, + 31, + 0 + ], + [ + 82.1126, + 331, + 36.9282, + 31, + 0 + ], + [ + 119.0408, + 331, + 22.6094, + 31, + 0 + ], + [ + 141.6502, + 331, + 20.1794, + 31, + 0 + ], + [ + 4.1009, + 361, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 361, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 361, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 361, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 361, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 361, + 20.1794, + 43, + 0 + ], + [ + 4.1009, + 404, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 404, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 404, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 404, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 404, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 404, + 20.1794, + 43, + 0 + ], + [ + 4.1009, + 447, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 447, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 447, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 447, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 447, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 447, + 20.1794, + 43, + 0 + ], + [ + 4.1009, + 490, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 490, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 490, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 490, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 490, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 490, + 20.1794, + 43, + 0 + ], + [ + 4.1009, + 533, + 29.7664, + 43, + 0 + ], + [ + 33.8673, + 533, + 25.6309, + 43, + 0 + ], + [ + 59.4982, + 533, + 22.6144, + 43, + 0 + ], + [ + 82.1126, + 533, + 36.9282, + 43, + 0 + ], + [ + 119.0408, + 533, + 22.6094, + 43, + 0 + ], + [ + 141.6502, + 533, + 20.1794, + 43, + 0 + ] + ] + }, + "768": { + "name": "attendance-history-table", + "viewportWidth": 690, + "width": 690, + "height": 544, + "bones": [ + [ + 0, + 0, + 25.5503, + 26, + 8 + ], + [ + 0, + 30, + 25.5503, + 21, + 8 + ], + [ + 91.5738, + 4, + 8.4262, + 44, + 8 + ], + [ + 0, + 67, + 100, + 82, + 10, + true + ], + [ + 2.7536, + 86, + 46.087, + 44, + 8 + ], + [ + 51.1594, + 86, + 46.087, + 44, + 8 + ], + [ + 0, + 165, + 100, + 78, + 10, + true + ], + [ + 2.7536, + 184, + 5.7971, + 40, + 8, + true + ], + [ + 3.913, + 192, + 3.4783, + 24, + "50%" + ], + [ + 10.8696, + 185, + 19.4973, + 26, + 8 + ], + [ + 86.0394, + 189, + 11.207, + 21, + 8 + ], + [ + 10.8696, + 217, + 86.3768, + 6, + 3, + true + ], + [ + 10.8696, + 217, + 64.7826, + 6, + 3 + ], + [ + 0, + 259, + 100, + 285, + 10, + true + ], + [ + 2.7536, + 278, + 17.851, + 33, + 0 + ], + [ + 20.6046, + 278, + 14.4814, + 33, + 0 + ], + [ + 35.0861, + 278, + 13.8632, + 33, + 0 + ], + [ + 48.9493, + 278, + 22.0245, + 33, + 0 + ], + [ + 70.9737, + 278, + 13.8587, + 33, + 0 + ], + [ + 84.8324, + 278, + 12.4139, + 33, + 0 + ], + [ + 2.7536, + 311, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 311, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 311, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 311, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 311, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 311, + 12.4139, + 43, + 0 + ], + [ + 2.7536, + 354, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 354, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 354, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 354, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 354, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 354, + 12.4139, + 43, + 0 + ], + [ + 2.7536, + 397, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 397, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 397, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 397, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 397, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 397, + 12.4139, + 43, + 0 + ], + [ + 2.7536, + 440, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 440, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 440, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 440, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 440, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 440, + 12.4139, + 43, + 0 + ], + [ + 2.7536, + 483, + 17.851, + 43, + 0 + ], + [ + 20.6046, + 483, + 14.4814, + 43, + 0 + ], + [ + 35.0861, + 483, + 13.8632, + 43, + 0 + ], + [ + 48.9493, + 483, + 22.0245, + 43, + 0 + ], + [ + 70.9737, + 483, + 13.8587, + 43, + 0 + ], + [ + 84.8324, + 483, + 12.4139, + 43, + 0 + ] + ] + }, + "1280": { + "name": "attendance-history-table", + "viewportWidth": 950, + "width": 950, + "height": 558, + "bones": [ + [ + 0, + 0, + 18.5576, + 26, + 8 + ], + [ + 0, + 30, + 18.5576, + 21, + 8 + ], + [ + 94.301, + 9, + 5.699, + 34, + 8 + ], + [ + 0, + 67, + 100, + 74, + 10, + true + ], + [ + 2, + 86, + 47.1579, + 36, + 8 + ], + [ + 50.8421, + 86, + 47.1579, + 36, + 8 + ], + [ + 0, + 157, + 100, + 78, + 10, + true + ], + [ + 2, + 176, + 4.2105, + 40, + 8, + true + ], + [ + 2.8421, + 184, + 2.5263, + 24, + "50%" + ], + [ + 7.8947, + 177, + 14.1612, + 26, + 8 + ], + [ + 89.8602, + 181, + 8.1398, + 21, + 8 + ], + [ + 7.8947, + 209, + 90.1053, + 6, + 3, + true + ], + [ + 7.8947, + 209, + 67.5789, + 6, + 3 + ], + [ + 0, + 251, + 100, + 307, + 10, + true + ], + [ + 2, + 270, + 18.0773, + 38, + 0 + ], + [ + 20.0773, + 270, + 13.6809, + 38, + 0 + ], + [ + 33.7582, + 270, + 14.5641, + 38, + 0 + ], + [ + 48.3224, + 270, + 21.9046, + 38, + 0 + ], + [ + 70.227, + 270, + 14.5592, + 38, + 0 + ], + [ + 84.7862, + 270, + 13.2138, + 38, + 0 + ], + [ + 2, + 308, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 308, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 308, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 308, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 308, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 308, + 13.2138, + 46, + 0 + ], + [ + 2, + 355, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 355, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 355, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 355, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 355, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 355, + 13.2138, + 46, + 0 + ], + [ + 2, + 401, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 401, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 401, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 401, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 401, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 401, + 13.2138, + 46, + 0 + ], + [ + 2, + 447, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 447, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 447, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 447, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 447, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 447, + 13.2138, + 46, + 0 + ], + [ + 2, + 493, + 18.0773, + 46, + 0 + ], + [ + 20.0773, + 493, + 13.6809, + 46, + 0 + ], + [ + 33.7582, + 493, + 14.5641, + 46, + 0 + ], + [ + 48.3224, + 493, + 21.9046, + 46, + 0 + ], + [ + 70.227, + 493, + 14.5592, + 46, + 0 + ], + [ + 84.7862, + 493, + 13.2138, + 46, + 0 + ] + ] + } + }, + "_hash": "cb161cc0bbab928bc0cf827fcfa95f71" +} \ No newline at end of file diff --git a/src/admin/bones/audit-log-rows.bones.json b/src/admin/bones/audit-log-rows.bones.json new file mode 100644 index 0000000..973edd9 --- /dev/null +++ b/src/admin/bones/audit-log-rows.bones.json @@ -0,0 +1,1149 @@ +{ + "breakpoints": { + "375": { + "name": "audit-log-rows", + "viewportWidth": 542, + "width": 542, + "height": 372, + "bones": [ + [ + 2.952, + 16, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 16, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 16, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 16, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 16, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 50, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 50, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 50, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 50, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 50, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 84, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 84, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 84, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 84, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 84, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 118, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 118, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 118, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 118, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 118, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 152, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 152, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 152, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 152, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 152, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 186, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 186, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 186, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 186, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 186, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 220, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 220, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 220, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 220, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 220, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 254, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 254, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 254, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 254, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 254, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 288, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 288, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 288, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 288, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 288, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 322, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 322, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 322, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 322, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 322, + 16.6052, + 14, + 4 + ] + ] + }, + "768": { + "name": "audit-log-rows", + "viewportWidth": 542, + "width": 542, + "height": 372, + "bones": [ + [ + 2.952, + 16, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 16, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 16, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 16, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 16, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 50, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 50, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 50, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 50, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 50, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 84, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 84, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 84, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 84, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 84, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 118, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 118, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 118, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 118, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 118, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 152, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 152, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 152, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 152, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 152, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 186, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 186, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 186, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 186, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 186, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 220, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 220, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 220, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 220, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 220, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 254, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 254, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 254, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 254, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 254, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 288, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 288, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 288, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 288, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 288, + 16.6052, + 14, + 4 + ], + [ + 2.952, + 322, + 20.2952, + 14, + 4 + ], + [ + 26.1993, + 322, + 14.7601, + 14, + 4 + ], + [ + 43.9114, + 322, + 12.9151, + 22, + 10 + ], + [ + 59.7786, + 322, + 14.7601, + 14, + 4 + ], + [ + 80.4428, + 322, + 16.6052, + 14, + 4 + ] + ] + }, + "1280": { + "name": "audit-log-rows", + "viewportWidth": 577, + "width": 577, + "height": 372, + "bones": [ + [ + 2.7734, + 16, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 16, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 16, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 16, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 16, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 16, + 15.6005, + 14, + 4 + ], + [ + 2.7734, + 50, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 50, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 50, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 50, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 50, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 50, + 15.6005, + 14, + 4 + ], + [ + 2.7734, + 84, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 84, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 84, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 84, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 84, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 84, + 15.6005, + 14, + 4 + ], + [ + 2.7734, + 118, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 118, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 118, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 118, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 118, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 118, + 15.6005, + 14, + 4 + ], + [ + 2.7734, + 152, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 152, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 152, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 152, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 152, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 152, + 15.6005, + 14, + 4 + ], + [ + 2.7734, + 186, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 186, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 186, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 186, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 186, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 186, + 15.6005, + 14, + 4 + ], + [ + 2.7734, + 220, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 220, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 220, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 220, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 220, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 220, + 15.6005, + 14, + 4 + ], + [ + 2.7734, + 254, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 254, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 254, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 254, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 254, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 254, + 15.6005, + 14, + 4 + ], + [ + 2.7734, + 288, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 288, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 288, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 288, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 288, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 288, + 15.6005, + 14, + 4 + ], + [ + 2.7734, + 322, + 19.0672, + 14, + 4 + ], + [ + 24.6141, + 322, + 13.8671, + 14, + 4 + ], + [ + 41.2545, + 322, + 12.1337, + 22, + 10 + ], + [ + 56.1616, + 322, + 13.8671, + 14, + 4 + ], + [ + 72.8021, + 322, + 6.0506, + 14, + 4 + ], + [ + 81.6261, + 322, + 15.6005, + 14, + 4 + ] + ] + } + }, + "_hash": "5f0e5fe03809e03e1516a68427509688" +} \ No newline at end of file diff --git a/src/admin/bones/dash-sessions.bones.json b/src/admin/bones/dash-sessions.bones.json new file mode 100644 index 0000000..207e254 --- /dev/null +++ b/src/admin/bones/dash-sessions.bones.json @@ -0,0 +1,506 @@ +{ + "breakpoints": { + "375": { + "name": "dash-sessions", + "viewportWidth": 341, + "width": 341, + "height": 304, + "bones": [ + [ + 0, + 0, + 100, + 304, + 10, + true + ], + [ + 3.8123, + 17, + 34.9386, + 17, + 8 + ], + [ + 59.3383, + 13, + 36.8493, + 37, + 8 + ], + [ + 0.2933, + 63, + 99.4135, + 83, + 8, + true + ], + [ + 4.9853, + 86, + 10.5572, + 36, + 8, + true + ], + [ + 7.6246, + 95, + 5.2786, + 18, + "50%" + ], + [ + 63.0407, + 79, + 19.5152, + 27, + 9999 + ], + [ + 19.0616, + 110, + 21.6734, + 19, + 8 + ], + [ + 43.081, + 110, + 1.0585, + 19, + 8 + ], + [ + 46.4855, + 110, + 26.8649, + 19, + 8 + ], + [ + 4.9853, + 167, + 10.5572, + 36, + 8, + true + ], + [ + 7.6246, + 176, + 5.2786, + 18, + "50%" + ], + [ + 19.0616, + 162, + 75.9531, + 22, + 8 + ], + [ + 19.0616, + 189, + 21.6734, + 19, + 8 + ], + [ + 43.081, + 189, + 1.0585, + 19, + 8 + ], + [ + 46.4855, + 189, + 26.8649, + 19, + 8 + ], + [ + 4.9853, + 246, + 10.5572, + 36, + 8, + true + ], + [ + 7.6246, + 255, + 5.2786, + 18, + "50%" + ], + [ + 19.0616, + 241, + 75.9531, + 22, + 8 + ], + [ + 19.0616, + 267, + 21.6734, + 19, + 8 + ], + [ + 43.081, + 267, + 1.0585, + 19, + 8 + ], + [ + 46.4855, + 267, + 26.8649, + 19, + 8 + ] + ] + }, + "768": { + "name": "dash-sessions", + "viewportWidth": 726, + "width": 726, + "height": 319, + "bones": [ + [ + 0, + 0, + 100, + 319, + 10, + true + ], + [ + 2.6171, + 19, + 16.4106, + 17, + 8 + ], + [ + 80.0749, + 15, + 17.308, + 37, + 8 + ], + [ + 0.1377, + 67, + 99.7245, + 85, + 8, + true + ], + [ + 3.4435, + 89, + 5.5096, + 40, + 8, + true + ], + [ + 4.9587, + 100, + 2.4793, + 18, + "50%" + ], + [ + 34.5278, + 83, + 9.1662, + 27, + 9999 + ], + [ + 11.157, + 114, + 11.0279, + 21, + 8 + ], + [ + 23.2868, + 114, + 0.5381, + 21, + 8 + ], + [ + 24.9268, + 114, + 13.6686, + 21, + 8 + ], + [ + 3.4435, + 173, + 5.5096, + 40, + 8, + true + ], + [ + 4.9587, + 184, + 2.4793, + 18, + "50%" + ], + [ + 11.157, + 168, + 85.3994, + 26, + 8 + ], + [ + 11.157, + 198, + 11.0279, + 21, + 8 + ], + [ + 23.2868, + 198, + 0.5381, + 21, + 8 + ], + [ + 24.9268, + 198, + 13.6686, + 21, + 8 + ], + [ + 3.4435, + 257, + 5.5096, + 40, + 8, + true + ], + [ + 4.9587, + 268, + 2.4793, + 18, + "50%" + ], + [ + 11.157, + 251, + 85.3994, + 26, + 8 + ], + [ + 11.157, + 281, + 11.0279, + 21, + 8 + ], + [ + 23.2868, + 281, + 0.5381, + 21, + 8 + ], + [ + 24.9268, + 281, + 13.6686, + 21, + 8 + ] + ] + }, + "1280": { + "name": "dash-sessions", + "viewportWidth": 484, + "width": 484, + "height": 309, + "bones": [ + [ + 0, + 0, + 100, + 309, + 10, + true + ], + [ + 3.9256, + 15, + 24.6158, + 17, + 8 + ], + [ + 72.1785, + 15, + 23.8959, + 29, + 8 + ], + [ + 0.2066, + 59, + 99.5868, + 83, + 8, + true + ], + [ + 5.1653, + 80, + 8.2645, + 40, + 8, + true + ], + [ + 7.438, + 91, + 3.719, + 18, + "50%" + ], + [ + 51.7917, + 76, + 12.9358, + 24, + 9999 + ], + [ + 16.7355, + 105, + 16.5418, + 21, + 8 + ], + [ + 34.9303, + 105, + 0.8071, + 21, + 8 + ], + [ + 37.3902, + 105, + 20.503, + 21, + 8 + ], + [ + 5.1653, + 164, + 8.2645, + 40, + 8, + true + ], + [ + 7.438, + 175, + 3.719, + 18, + "50%" + ], + [ + 16.7355, + 158, + 78.0992, + 26, + 8 + ], + [ + 16.7355, + 188, + 16.5418, + 21, + 8 + ], + [ + 34.9303, + 188, + 0.8071, + 21, + 8 + ], + [ + 37.3902, + 188, + 20.503, + 21, + 8 + ], + [ + 5.1653, + 247, + 8.2645, + 40, + 8, + true + ], + [ + 7.438, + 258, + 3.719, + 18, + "50%" + ], + [ + 16.7355, + 242, + 78.0992, + 26, + 8 + ], + [ + 16.7355, + 271, + 16.5418, + 21, + 8 + ], + [ + 34.9303, + 271, + 0.8071, + 21, + 8 + ], + [ + 37.3902, + 271, + 20.503, + 21, + 8 + ] + ] + } + }, + "_hash": "e057ca7b36a30c5971a4225ec3ad4680" +} \ No newline at end of file diff --git a/src/admin/bones/invoice-detail.bones.json b/src/admin/bones/invoice-detail.bones.json new file mode 100644 index 0000000..07f6132 --- /dev/null +++ b/src/admin/bones/invoice-detail.bones.json @@ -0,0 +1,707 @@ +{ + "breakpoints": { + "375": { + "name": "invoice-detail", + "viewportWidth": 351, + "width": 351, + "height": 466, + "bones": [ + [ + 3.4188, + 12, + 5.698, + 20, + "50%" + ], + [ + 14.8148, + 9, + 30.0881, + 22, + 8 + ], + [ + 0, + 52, + 30.6713, + 44, + 8 + ], + [ + 34.0901, + 52, + 31.2455, + 44, + 8 + ], + [ + 68.7545, + 52, + 31.2455, + 44, + 8 + ], + [ + 0, + 112, + 100, + 152, + 10, + true + ], + [ + 3.7037, + 125, + 44.0171, + 21, + 8 + ], + [ + 3.7037, + 154, + 44.0171, + 26, + 8 + ], + [ + 52.2792, + 125, + 44.0171, + 21, + 8 + ], + [ + 52.2792, + 154, + 44.0171, + 27, + 9999 + ], + [ + 3.7037, + 197, + 44.0171, + 21, + 8 + ], + [ + 3.7037, + 226, + 44.0171, + 26, + 8 + ], + [ + 52.2792, + 197, + 44.0171, + 21, + 8 + ], + [ + 52.2792, + 226, + 44.0171, + 26, + 8 + ], + [ + 0, + 280, + 100, + 186, + 10, + true + ], + [ + 3.7037, + 293, + 92.5926, + 17, + 8 + ], + [ + 3.7037, + 322, + 33.3066, + 31, + 0 + ], + [ + 37.0103, + 322, + 35.1718, + 31, + 0 + ], + [ + 72.1822, + 322, + 36.9836, + 31, + 0 + ], + [ + 109.1658, + 322, + 36.9881, + 31, + 0 + ], + [ + 3.7037, + 353, + 33.3066, + 34, + 0 + ], + [ + 37.0103, + 353, + 35.1718, + 34, + 0 + ], + [ + 72.1822, + 353, + 36.9836, + 34, + 0 + ], + [ + 109.1658, + 353, + 36.9881, + 34, + 0 + ], + [ + 3.7037, + 387, + 33.3066, + 34, + 0 + ], + [ + 37.0103, + 387, + 35.1718, + 34, + 0 + ], + [ + 72.1822, + 387, + 36.9836, + 34, + 0 + ], + [ + 109.1658, + 387, + 36.9881, + 34, + 0 + ], + [ + 3.7037, + 420, + 33.3066, + 33, + 0 + ], + [ + 37.0103, + 420, + 35.1718, + 33, + 0 + ], + [ + 72.1822, + 420, + 36.9836, + 33, + 0 + ], + [ + 109.1658, + 420, + 36.9881, + 33, + 0 + ] + ] + }, + "768": { + "name": "invoice-detail", + "viewportWidth": 736, + "width": 736, + "height": 444, + "bones": [ + [ + 1.6304, + 12, + 2.7174, + 20, + "50%" + ], + [ + 7.0652, + 7, + 17.5378, + 26, + 8 + ], + [ + 62.9692, + 0, + 9.1733, + 44, + 8 + ], + [ + 73.7729, + 0, + 13.6379, + 44, + 8 + ], + [ + 89.0413, + 0, + 10.9587, + 44, + 8 + ], + [ + 0, + 60, + 100, + 164, + 10, + true + ], + [ + 2.5815, + 79, + 46.3315, + 21, + 8 + ], + [ + 2.5815, + 108, + 46.3315, + 26, + 8 + ], + [ + 51.087, + 79, + 46.3315, + 21, + 8 + ], + [ + 51.087, + 108, + 46.3315, + 27, + 9999 + ], + [ + 2.5815, + 151, + 46.3315, + 21, + 8 + ], + [ + 2.5815, + 180, + 46.3315, + 26, + 8 + ], + [ + 51.087, + 151, + 46.3315, + 21, + 8 + ], + [ + 51.087, + 180, + 46.3315, + 26, + 8 + ], + [ + 0, + 240, + 100, + 204, + 10, + true + ], + [ + 2.5815, + 259, + 94.837, + 17, + 8 + ], + [ + 2.5815, + 288, + 22.3803, + 33, + 0 + ], + [ + 24.9618, + 288, + 23.5882, + 33, + 0 + ], + [ + 48.55, + 288, + 24.431, + 33, + 0 + ], + [ + 72.9811, + 288, + 24.4374, + 33, + 0 + ], + [ + 2.5815, + 321, + 22.3803, + 35, + 0 + ], + [ + 24.9618, + 321, + 23.5882, + 35, + 0 + ], + [ + 48.55, + 321, + 24.431, + 35, + 0 + ], + [ + 72.9811, + 321, + 24.4374, + 35, + 0 + ], + [ + 2.5815, + 356, + 22.3803, + 35, + 0 + ], + [ + 24.9618, + 356, + 23.5882, + 35, + 0 + ], + [ + 48.55, + 356, + 24.431, + 35, + 0 + ], + [ + 72.9811, + 356, + 24.4374, + 35, + 0 + ], + [ + 2.5815, + 391, + 22.3803, + 35, + 0 + ], + [ + 24.9618, + 391, + 23.5882, + 35, + 0 + ], + [ + 48.55, + 391, + 24.431, + 35, + 0 + ], + [ + 72.9811, + 391, + 24.4374, + 35, + 0 + ] + ] + }, + "1280": { + "name": "invoice-detail", + "viewportWidth": 996, + "width": 996, + "height": 457, + "bones": [ + [ + 0.6024, + 7, + 2.008, + 20, + "50%" + ], + [ + 4.0161, + 2, + 12.9597, + 26, + 8 + ], + [ + 73.8407, + 0, + 6.3771, + 34, + 8 + ], + [ + 81.4226, + 0, + 9.6762, + 34, + 8 + ], + [ + 92.3036, + 0, + 7.6964, + 34, + 8 + ], + [ + 0, + 50, + 100, + 160, + 10, + true + ], + [ + 1.9076, + 69, + 47.2892, + 19, + 8 + ], + [ + 1.9076, + 96, + 47.2892, + 26, + 8 + ], + [ + 50.8032, + 69, + 47.2892, + 19, + 8 + ], + [ + 50.8032, + 96, + 47.2892, + 24, + 9999 + ], + [ + 1.9076, + 138, + 47.2892, + 19, + 8 + ], + [ + 1.9076, + 165, + 47.2892, + 26, + 8 + ], + [ + 50.8032, + 138, + 47.2892, + 19, + 8 + ], + [ + 50.8032, + 165, + 47.2892, + 26, + 8 + ], + [ + 0, + 226, + 100, + 232, + 10, + true + ], + [ + 1.9076, + 245, + 96.1847, + 17, + 8 + ], + [ + 1.9076, + 273, + 22.9606, + 38, + 0 + ], + [ + 24.8682, + 273, + 24.065, + 38, + 0 + ], + [ + 48.9332, + 273, + 24.578, + 38, + 0 + ], + [ + 73.5112, + 273, + 24.5811, + 38, + 0 + ], + [ + 1.9076, + 311, + 22.9606, + 43, + 0 + ], + [ + 24.8682, + 311, + 24.065, + 43, + 0 + ], + [ + 48.9332, + 311, + 24.578, + 43, + 0 + ], + [ + 73.5112, + 311, + 24.5811, + 43, + 0 + ], + [ + 1.9076, + 354, + 22.9606, + 43, + 0 + ], + [ + 24.8682, + 354, + 24.065, + 43, + 0 + ], + [ + 48.9332, + 354, + 24.578, + 43, + 0 + ], + [ + 73.5112, + 354, + 24.5811, + 43, + 0 + ], + [ + 1.9076, + 396, + 22.9606, + 42, + 0 + ], + [ + 24.8682, + 396, + 24.065, + 42, + 0 + ], + [ + 48.9332, + 396, + 24.578, + 42, + 0 + ], + [ + 73.5112, + 396, + 24.5811, + 42, + 0 + ] + ] + } + }, + "_hash": "934452d45a0bef9320dc379fb3f43bb5" +} \ No newline at end of file diff --git a/src/admin/bones/leave-approval.bones.json b/src/admin/bones/leave-approval.bones.json new file mode 100644 index 0000000..99850e5 --- /dev/null +++ b/src/admin/bones/leave-approval.bones.json @@ -0,0 +1,599 @@ +{ + "breakpoints": { + "375": { + "name": "leave-approval", + "viewportWidth": 351, + "width": 351, + "height": 294, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 61, + 100, + 233, + 10, + true + ], + [ + 3.7037, + 74, + 19.2753, + 31, + 0 + ], + [ + 22.979, + 74, + 18.7812, + 31, + 0 + ], + [ + 41.7601, + 74, + 23.0502, + 31, + 0 + ], + [ + 64.8104, + 74, + 23.0502, + 31, + 0 + ], + [ + 87.8606, + 74, + 9.4373, + 31, + 0 + ], + [ + 97.2979, + 74, + 54.4471, + 31, + 0 + ], + [ + 3.7037, + 105, + 19.2753, + 54, + 0 + ], + [ + 22.979, + 105, + 18.7812, + 54, + 0 + ], + [ + 41.7601, + 105, + 23.0502, + 54, + 0 + ], + [ + 64.8104, + 105, + 23.0502, + 54, + 0 + ], + [ + 87.8606, + 105, + 9.4373, + 54, + 0 + ], + [ + 97.2979, + 105, + 54.4471, + 54, + 0 + ], + [ + 3.7037, + 159, + 19.2753, + 54, + 0 + ], + [ + 22.979, + 159, + 18.7812, + 54, + 0 + ], + [ + 41.7601, + 159, + 23.0502, + 54, + 0 + ], + [ + 64.8104, + 159, + 23.0502, + 54, + 0 + ], + [ + 87.8606, + 159, + 9.4373, + 54, + 0 + ], + [ + 97.2979, + 159, + 54.4471, + 54, + 0 + ], + [ + 3.7037, + 213, + 19.2753, + 54, + 0 + ], + [ + 22.979, + 213, + 18.7812, + 54, + 0 + ], + [ + 41.7601, + 213, + 23.0502, + 54, + 0 + ], + [ + 64.8104, + 213, + 23.0502, + 54, + 0 + ], + [ + 87.8606, + 213, + 9.4373, + 54, + 0 + ], + [ + 97.2979, + 213, + 54.4471, + 54, + 0 + ] + ] + }, + "768": { + "name": "leave-approval", + "viewportWidth": 736, + "width": 736, + "height": 299, + "bones": [ + [ + 0, + 0, + 29.4264, + 26, + 8 + ], + [ + 0, + 30, + 29.4264, + 21, + 8 + ], + [ + 0, + 67, + 100, + 232, + 10, + true + ], + [ + 2.5815, + 86, + 12.6911, + 33, + 0 + ], + [ + 15.2726, + 86, + 12.3769, + 33, + 0 + ], + [ + 27.6495, + 86, + 15.0921, + 33, + 0 + ], + [ + 42.7416, + 86, + 15.0921, + 33, + 0 + ], + [ + 57.8337, + 86, + 6.4856, + 33, + 0 + ], + [ + 64.3194, + 86, + 33.0991, + 33, + 0 + ], + [ + 2.5815, + 119, + 12.6911, + 54, + 0 + ], + [ + 15.2726, + 119, + 12.3769, + 54, + 0 + ], + [ + 27.6495, + 119, + 15.0921, + 54, + 0 + ], + [ + 42.7416, + 119, + 15.0921, + 54, + 0 + ], + [ + 57.8337, + 119, + 6.4856, + 54, + 0 + ], + [ + 64.3194, + 119, + 33.0991, + 54, + 0 + ], + [ + 2.5815, + 173, + 12.6911, + 54, + 0 + ], + [ + 15.2726, + 173, + 12.3769, + 54, + 0 + ], + [ + 27.6495, + 173, + 15.0921, + 54, + 0 + ], + [ + 42.7416, + 173, + 15.0921, + 54, + 0 + ], + [ + 57.8337, + 173, + 6.4856, + 54, + 0 + ], + [ + 64.3194, + 173, + 33.0991, + 54, + 0 + ], + [ + 2.5815, + 227, + 12.6911, + 54, + 0 + ], + [ + 15.2726, + 227, + 12.3769, + 54, + 0 + ], + [ + 27.6495, + 227, + 15.0921, + 54, + 0 + ], + [ + 42.7416, + 227, + 15.0921, + 54, + 0 + ], + [ + 57.8337, + 227, + 6.4856, + 54, + 0 + ], + [ + 64.3194, + 227, + 33.0991, + 54, + 0 + ] + ] + }, + "1280": { + "name": "leave-approval", + "viewportWidth": 996, + "width": 996, + "height": 299, + "bones": [ + [ + 0, + 0, + 21.7448, + 26, + 8 + ], + [ + 0, + 30, + 21.7448, + 21, + 8 + ], + [ + 0, + 67, + 100, + 232, + 10, + true + ], + [ + 1.9076, + 86, + 13.8664, + 38, + 0 + ], + [ + 15.774, + 86, + 13.5589, + 38, + 0 + ], + [ + 29.333, + 86, + 16.196, + 38, + 0 + ], + [ + 45.529, + 86, + 16.196, + 38, + 0 + ], + [ + 61.725, + 86, + 7.8878, + 38, + 0 + ], + [ + 69.6128, + 86, + 28.4795, + 38, + 0 + ], + [ + 1.9076, + 124, + 13.8664, + 52, + 0 + ], + [ + 15.774, + 124, + 13.5589, + 52, + 0 + ], + [ + 29.333, + 124, + 16.196, + 52, + 0 + ], + [ + 45.529, + 124, + 16.196, + 52, + 0 + ], + [ + 61.725, + 124, + 7.8878, + 52, + 0 + ], + [ + 69.6128, + 124, + 28.4795, + 52, + 0 + ], + [ + 1.9076, + 176, + 13.8664, + 52, + 0 + ], + [ + 15.774, + 176, + 13.5589, + 52, + 0 + ], + [ + 29.333, + 176, + 16.196, + 52, + 0 + ], + [ + 45.529, + 176, + 16.196, + 52, + 0 + ], + [ + 61.725, + 176, + 7.8878, + 52, + 0 + ], + [ + 69.6128, + 176, + 28.4795, + 52, + 0 + ], + [ + 1.9076, + 228, + 13.8664, + 52, + 0 + ], + [ + 15.774, + 228, + 13.5589, + 52, + 0 + ], + [ + 29.333, + 228, + 16.196, + 52, + 0 + ], + [ + 45.529, + 228, + 16.196, + 52, + 0 + ], + [ + 61.725, + 228, + 7.8878, + 52, + 0 + ], + [ + 69.6128, + 228, + 28.4795, + 52, + 0 + ] + ] + } + }, + "_hash": "4b74917f659334073252a738cfa9c4ac" +} \ No newline at end of file diff --git a/src/admin/bones/leave-requests.bones.json b/src/admin/bones/leave-requests.bones.json new file mode 100644 index 0000000..ad61956 --- /dev/null +++ b/src/admin/bones/leave-requests.bones.json @@ -0,0 +1,704 @@ +{ + "breakpoints": { + "375": { + "name": "leave-requests", + "viewportWidth": 351, + "width": 351, + "height": 367, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 53, + 100, + 44, + 8 + ], + [ + 0, + 113, + 100, + 254, + 10, + true + ], + [ + 3.7037, + 126, + 21.1806, + 31, + 0 + ], + [ + 24.8843, + 126, + 20.6375, + 31, + 0 + ], + [ + 45.5217, + 126, + 25.3294, + 31, + 0 + ], + [ + 70.8511, + 126, + 25.3294, + 31, + 0 + ], + [ + 96.1806, + 126, + 10.3677, + 31, + 0 + ], + [ + 106.5483, + 126, + 20.7977, + 31, + 0 + ], + [ + 127.346, + 126, + 18.8079, + 31, + 0 + ], + [ + 3.7037, + 157, + 21.1806, + 61, + 0 + ], + [ + 24.8843, + 157, + 20.6375, + 61, + 0 + ], + [ + 45.5217, + 157, + 25.3294, + 61, + 0 + ], + [ + 70.8511, + 157, + 25.3294, + 61, + 0 + ], + [ + 96.1806, + 157, + 10.3677, + 61, + 0 + ], + [ + 106.5483, + 157, + 20.7977, + 61, + 0 + ], + [ + 127.346, + 157, + 18.8079, + 61, + 0 + ], + [ + 3.7037, + 218, + 21.1806, + 61, + 0 + ], + [ + 24.8843, + 218, + 20.6375, + 61, + 0 + ], + [ + 45.5217, + 218, + 25.3294, + 61, + 0 + ], + [ + 70.8511, + 218, + 25.3294, + 61, + 0 + ], + [ + 96.1806, + 218, + 10.3677, + 61, + 0 + ], + [ + 106.5483, + 218, + 20.7977, + 61, + 0 + ], + [ + 127.346, + 218, + 18.8079, + 61, + 0 + ], + [ + 3.7037, + 279, + 21.1806, + 61, + 0 + ], + [ + 24.8843, + 279, + 20.6375, + 61, + 0 + ], + [ + 45.5217, + 279, + 25.3294, + 61, + 0 + ], + [ + 70.8511, + 279, + 25.3294, + 61, + 0 + ], + [ + 96.1806, + 279, + 10.3677, + 61, + 0 + ], + [ + 106.5483, + 279, + 20.7977, + 61, + 0 + ], + [ + 127.346, + 279, + 18.8079, + 61, + 0 + ] + ] + }, + "768": { + "name": "leave-requests", + "viewportWidth": 736, + "width": 736, + "height": 320, + "bones": [ + [ + 0, + 0, + 27.1888, + 26, + 8 + ], + [ + 0, + 30, + 27.1888, + 21, + 8 + ], + [ + 83.6914, + 4, + 16.3086, + 44, + 8 + ], + [ + 0, + 67, + 100, + 253, + 10, + true + ], + [ + 2.5815, + 86, + 14.313, + 33, + 0 + ], + [ + 16.8945, + 86, + 13.9585, + 33, + 0 + ], + [ + 30.853, + 86, + 17.0219, + 33, + 0 + ], + [ + 47.8749, + 86, + 17.0219, + 33, + 0 + ], + [ + 64.8968, + 86, + 7.3157, + 33, + 0 + ], + [ + 72.2126, + 86, + 13.2006, + 33, + 0 + ], + [ + 85.4131, + 86, + 12.0053, + 33, + 0 + ], + [ + 2.5815, + 119, + 14.313, + 61, + 0 + ], + [ + 16.8945, + 119, + 13.9585, + 61, + 0 + ], + [ + 30.853, + 119, + 17.0219, + 61, + 0 + ], + [ + 47.8749, + 119, + 17.0219, + 61, + 0 + ], + [ + 64.8968, + 119, + 7.3157, + 61, + 0 + ], + [ + 72.2126, + 119, + 13.2006, + 61, + 0 + ], + [ + 85.4131, + 119, + 12.0053, + 61, + 0 + ], + [ + 2.5815, + 180, + 14.313, + 61, + 0 + ], + [ + 16.8945, + 180, + 13.9585, + 61, + 0 + ], + [ + 30.853, + 180, + 17.0219, + 61, + 0 + ], + [ + 47.8749, + 180, + 17.0219, + 61, + 0 + ], + [ + 64.8968, + 180, + 7.3157, + 61, + 0 + ], + [ + 72.2126, + 180, + 13.2006, + 61, + 0 + ], + [ + 85.4131, + 180, + 12.0053, + 61, + 0 + ], + [ + 2.5815, + 241, + 14.313, + 61, + 0 + ], + [ + 16.8945, + 241, + 13.9585, + 61, + 0 + ], + [ + 30.853, + 241, + 17.0219, + 61, + 0 + ], + [ + 47.8749, + 241, + 17.0219, + 61, + 0 + ], + [ + 64.8968, + 241, + 7.3157, + 61, + 0 + ], + [ + 72.2126, + 241, + 13.2006, + 61, + 0 + ], + [ + 85.4131, + 241, + 12.0053, + 61, + 0 + ] + ] + }, + "1280": { + "name": "leave-requests", + "viewportWidth": 996, + "width": 996, + "height": 308, + "bones": [ + [ + 0, + 0, + 20.0913, + 26, + 8 + ], + [ + 0, + 30, + 20.0913, + 21, + 8 + ], + [ + 88.3503, + 10, + 11.6497, + 32, + 8 + ], + [ + 0, + 67, + 100, + 241, + 10, + true + ], + [ + 1.9076, + 86, + 14.9787, + 38, + 0 + ], + [ + 16.8863, + 86, + 14.6461, + 38, + 0 + ], + [ + 31.5324, + 86, + 17.495, + 38, + 0 + ], + [ + 49.0274, + 86, + 17.495, + 38, + 0 + ], + [ + 66.5223, + 86, + 8.52, + 38, + 0 + ], + [ + 75.0424, + 86, + 12.74, + 38, + 0 + ], + [ + 87.7824, + 86, + 10.31, + 38, + 0 + ], + [ + 1.9076, + 124, + 14.9787, + 55, + 0 + ], + [ + 16.8863, + 124, + 14.6461, + 55, + 0 + ], + [ + 31.5324, + 124, + 17.495, + 55, + 0 + ], + [ + 49.0274, + 124, + 17.495, + 55, + 0 + ], + [ + 66.5223, + 124, + 8.52, + 55, + 0 + ], + [ + 75.0424, + 124, + 12.74, + 55, + 0 + ], + [ + 87.7824, + 124, + 10.31, + 55, + 0 + ], + [ + 1.9076, + 179, + 14.9787, + 55, + 0 + ], + [ + 16.8863, + 179, + 14.6461, + 55, + 0 + ], + [ + 31.5324, + 179, + 17.495, + 55, + 0 + ], + [ + 49.0274, + 179, + 17.495, + 55, + 0 + ], + [ + 66.5223, + 179, + 8.52, + 55, + 0 + ], + [ + 75.0424, + 179, + 12.74, + 55, + 0 + ], + [ + 87.7824, + 179, + 10.31, + 55, + 0 + ], + [ + 1.9076, + 234, + 14.9787, + 55, + 0 + ], + [ + 16.8863, + 234, + 14.6461, + 55, + 0 + ], + [ + 31.5324, + 234, + 17.495, + 55, + 0 + ], + [ + 49.0274, + 234, + 17.495, + 55, + 0 + ], + [ + 66.5223, + 234, + 8.52, + 55, + 0 + ], + [ + 75.0424, + 234, + 12.74, + 55, + 0 + ], + [ + 87.7824, + 234, + 10.31, + 55, + 0 + ] + ] + } + }, + "_hash": "125231cbf4c6abc4e73bb48732dc9353" +} \ No newline at end of file diff --git a/src/admin/bones/offer-detail.bones.json b/src/admin/bones/offer-detail.bones.json new file mode 100644 index 0000000..b4c5332 --- /dev/null +++ b/src/admin/bones/offer-detail.bones.json @@ -0,0 +1,620 @@ +{ + "breakpoints": { + "375": { + "name": "offer-detail", + "viewportWidth": 351, + "width": 351, + "height": 483, + "bones": [ + [ + 0, + 0, + 12.5356, + 44, + 8 + ], + [ + 0, + 52, + 100, + 22, + 8 + ], + [ + 0, + 86, + 100, + 44, + 8 + ], + [ + 0, + 146, + 100, + 338, + 10, + true + ], + [ + 3.7037, + 159, + 44.0171, + 21, + 8 + ], + [ + 3.7037, + 187, + 44.0171, + 46, + 8 + ], + [ + 52.2792, + 159, + 44.0171, + 21, + 8 + ], + [ + 52.2792, + 187, + 44.0171, + 46, + 8 + ], + [ + 3.7037, + 249, + 44.0171, + 21, + 8 + ], + [ + 3.7037, + 278, + 44.0171, + 46, + 8 + ], + [ + 52.2792, + 249, + 44.0171, + 21, + 8 + ], + [ + 52.2792, + 278, + 44.0171, + 46, + 8 + ], + [ + 3.7037, + 339, + 34.4062, + 31, + 0 + ], + [ + 38.1099, + 339, + 34.8157, + 31, + 0 + ], + [ + 72.9256, + 339, + 36.6097, + 31, + 0 + ], + [ + 109.5353, + 339, + 36.6186, + 31, + 0 + ], + [ + 3.7037, + 370, + 34.4062, + 34, + 0 + ], + [ + 38.1099, + 370, + 34.8157, + 34, + 0 + ], + [ + 72.9256, + 370, + 36.6097, + 34, + 0 + ], + [ + 109.5353, + 370, + 36.6186, + 34, + 0 + ], + [ + 3.7037, + 404, + 34.4062, + 34, + 0 + ], + [ + 38.1099, + 404, + 34.8157, + 34, + 0 + ], + [ + 72.9256, + 404, + 36.6097, + 34, + 0 + ], + [ + 109.5353, + 404, + 36.6186, + 34, + 0 + ], + [ + 3.7037, + 437, + 34.4062, + 33, + 0 + ], + [ + 38.1099, + 437, + 34.8157, + 33, + 0 + ], + [ + 72.9256, + 437, + 36.6097, + 33, + 0 + ], + [ + 109.5353, + 437, + 36.6186, + 33, + 0 + ] + ] + }, + "768": { + "name": "offer-detail", + "viewportWidth": 736, + "width": 736, + "height": 416, + "bones": [ + [ + 0, + 0, + 5.9783, + 44, + 8 + ], + [ + 38.4829, + 7, + 19.8412, + 26, + 8 + ], + [ + 90.8267, + 0, + 9.1733, + 44, + 8 + ], + [ + 0, + 60, + 100, + 356, + 10, + true + ], + [ + 2.5815, + 79, + 46.3315, + 21, + 8 + ], + [ + 2.5815, + 108, + 46.3315, + 46, + 8 + ], + [ + 51.087, + 79, + 46.3315, + 21, + 8 + ], + [ + 51.087, + 108, + 46.3315, + 46, + 8 + ], + [ + 2.5815, + 169, + 46.3315, + 21, + 8 + ], + [ + 2.5815, + 198, + 46.3315, + 46, + 8 + ], + [ + 51.087, + 169, + 46.3315, + 21, + 8 + ], + [ + 51.087, + 198, + 46.3315, + 46, + 8 + ], + [ + 2.5815, + 260, + 22.8558, + 33, + 0 + ], + [ + 25.4373, + 260, + 23.4333, + 33, + 0 + ], + [ + 48.8706, + 260, + 24.2718, + 33, + 0 + ], + [ + 73.1424, + 260, + 24.2761, + 33, + 0 + ], + [ + 2.5815, + 292, + 22.8558, + 35, + 0 + ], + [ + 25.4373, + 292, + 23.4333, + 35, + 0 + ], + [ + 48.8706, + 292, + 24.2718, + 35, + 0 + ], + [ + 73.1424, + 292, + 24.2761, + 35, + 0 + ], + [ + 2.5815, + 327, + 22.8558, + 35, + 0 + ], + [ + 25.4373, + 327, + 23.4333, + 35, + 0 + ], + [ + 48.8706, + 327, + 24.2718, + 35, + 0 + ], + [ + 73.1424, + 327, + 24.2761, + 35, + 0 + ], + [ + 2.5815, + 362, + 22.8558, + 35, + 0 + ], + [ + 25.4373, + 362, + 23.4333, + 35, + 0 + ], + [ + 48.8706, + 362, + 24.2718, + 35, + 0 + ], + [ + 73.1424, + 362, + 24.2761, + 35, + 0 + ] + ] + }, + "1280": { + "name": "offer-detail", + "viewportWidth": 996, + "width": 996, + "height": 419, + "bones": [ + [ + 0, + 0, + 3.2129, + 32, + 8 + ], + [ + 41.0878, + 1, + 14.6618, + 26, + 8 + ], + [ + 93.6229, + 0, + 6.3771, + 32, + 8 + ], + [ + 0, + 48, + 100, + 371, + 10, + true + ], + [ + 1.9076, + 67, + 47.2892, + 19, + 8 + ], + [ + 1.9076, + 94, + 47.2892, + 41, + 8 + ], + [ + 50.8032, + 67, + 47.2892, + 19, + 8 + ], + [ + 50.8032, + 94, + 47.2892, + 41, + 8 + ], + [ + 1.9076, + 151, + 47.2892, + 19, + 8 + ], + [ + 1.9076, + 178, + 47.2892, + 41, + 8 + ], + [ + 50.8032, + 151, + 47.2892, + 19, + 8 + ], + [ + 50.8032, + 178, + 47.2892, + 41, + 8 + ], + [ + 1.9076, + 235, + 23.2194, + 38, + 0 + ], + [ + 25.1271, + 235, + 23.9787, + 38, + 0 + ], + [ + 49.1058, + 235, + 24.4917, + 38, + 0 + ], + [ + 73.5975, + 235, + 24.4949, + 38, + 0 + ], + [ + 1.9076, + 273, + 23.2194, + 43, + 0 + ], + [ + 25.1271, + 273, + 23.9787, + 43, + 0 + ], + [ + 49.1058, + 273, + 24.4917, + 43, + 0 + ], + [ + 73.5975, + 273, + 24.4949, + 43, + 0 + ], + [ + 1.9076, + 316, + 23.2194, + 43, + 0 + ], + [ + 25.1271, + 316, + 23.9787, + 43, + 0 + ], + [ + 49.1058, + 316, + 24.4917, + 43, + 0 + ], + [ + 73.5975, + 316, + 24.4949, + 43, + 0 + ], + [ + 1.9076, + 358, + 23.2194, + 42, + 0 + ], + [ + 25.1271, + 358, + 23.9787, + 42, + 0 + ], + [ + 49.1058, + 358, + 24.4917, + 42, + 0 + ], + [ + 73.5975, + 358, + 24.4949, + 42, + 0 + ] + ] + } + }, + "_hash": "67676fde7dd5c432922d819fc9bf48db" +} \ No newline at end of file diff --git a/src/admin/bones/offers-customers.bones.json b/src/admin/bones/offers-customers.bones.json new file mode 100644 index 0000000..0a093bd --- /dev/null +++ b/src/admin/bones/offers-customers.bones.json @@ -0,0 +1,641 @@ +{ + "breakpoints": { + "375": { + "name": "offers-customers", + "viewportWidth": 351, + "width": 351, + "height": 549, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 53, + 100, + 44, + 8 + ], + [ + 0, + 113, + 100, + 436, + 10, + true + ], + [ + 3.7037, + 126, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 186, + 34.562, + 31, + 0 + ], + [ + 38.2657, + 186, + 23.7936, + 31, + 0 + ], + [ + 62.0593, + 186, + 32.4653, + 31, + 0 + ], + [ + 94.5246, + 186, + 51.6293, + 31, + 0 + ], + [ + 3.7037, + 217, + 34.562, + 61, + 0 + ], + [ + 38.2657, + 217, + 23.7936, + 61, + 0 + ], + [ + 62.0593, + 217, + 32.4653, + 61, + 0 + ], + [ + 94.5246, + 217, + 51.6293, + 61, + 0 + ], + [ + 3.7037, + 278, + 34.562, + 61, + 0 + ], + [ + 38.2657, + 278, + 23.7936, + 61, + 0 + ], + [ + 62.0593, + 278, + 32.4653, + 61, + 0 + ], + [ + 94.5246, + 278, + 51.6293, + 61, + 0 + ], + [ + 3.7037, + 339, + 34.562, + 61, + 0 + ], + [ + 38.2657, + 339, + 23.7936, + 61, + 0 + ], + [ + 62.0593, + 339, + 32.4653, + 61, + 0 + ], + [ + 94.5246, + 339, + 51.6293, + 61, + 0 + ], + [ + 3.7037, + 400, + 34.562, + 61, + 0 + ], + [ + 38.2657, + 400, + 23.7936, + 61, + 0 + ], + [ + 62.0593, + 400, + 32.4653, + 61, + 0 + ], + [ + 94.5246, + 400, + 51.6293, + 61, + 0 + ], + [ + 3.7037, + 461, + 34.562, + 61, + 0 + ], + [ + 38.2657, + 461, + 23.7936, + 61, + 0 + ], + [ + 62.0593, + 461, + 32.4653, + 61, + 0 + ], + [ + 94.5246, + 461, + 51.6293, + 61, + 0 + ] + ] + }, + "768": { + "name": "offers-customers", + "viewportWidth": 736, + "width": 736, + "height": 502, + "bones": [ + [ + 0, + 0, + 12.9458, + 26, + 8 + ], + [ + 0, + 30, + 12.9458, + 21, + 8 + ], + [ + 80.6322, + 4, + 19.3678, + 44, + 8 + ], + [ + 0, + 67, + 100, + 435, + 10, + true + ], + [ + 2.5815, + 86, + 94.837, + 44, + 8 + ], + [ + 2.5815, + 146, + 23.2868, + 33, + 0 + ], + [ + 25.8683, + 146, + 16.453, + 33, + 0 + ], + [ + 42.3212, + 146, + 21.9175, + 33, + 0 + ], + [ + 64.2387, + 146, + 33.1798, + 33, + 0 + ], + [ + 2.5815, + 179, + 23.2868, + 61, + 0 + ], + [ + 25.8683, + 179, + 16.453, + 61, + 0 + ], + [ + 42.3212, + 179, + 21.9175, + 61, + 0 + ], + [ + 64.2387, + 179, + 33.1798, + 61, + 0 + ], + [ + 2.5815, + 240, + 23.2868, + 61, + 0 + ], + [ + 25.8683, + 240, + 16.453, + 61, + 0 + ], + [ + 42.3212, + 240, + 21.9175, + 61, + 0 + ], + [ + 64.2387, + 240, + 33.1798, + 61, + 0 + ], + [ + 2.5815, + 301, + 23.2868, + 61, + 0 + ], + [ + 25.8683, + 301, + 16.453, + 61, + 0 + ], + [ + 42.3212, + 301, + 21.9175, + 61, + 0 + ], + [ + 64.2387, + 301, + 33.1798, + 61, + 0 + ], + [ + 2.5815, + 362, + 23.2868, + 61, + 0 + ], + [ + 25.8683, + 362, + 16.453, + 61, + 0 + ], + [ + 42.3212, + 362, + 21.9175, + 61, + 0 + ], + [ + 64.2387, + 362, + 33.1798, + 61, + 0 + ], + [ + 2.5815, + 423, + 23.2868, + 61, + 0 + ], + [ + 25.8683, + 423, + 16.453, + 61, + 0 + ], + [ + 42.3212, + 423, + 21.9175, + 61, + 0 + ], + [ + 64.2387, + 423, + 33.1798, + 61, + 0 + ] + ] + }, + "1280": { + "name": "offers-customers", + "viewportWidth": 996, + "width": 996, + "height": 470, + "bones": [ + [ + 0, + 0, + 9.5664, + 26, + 8 + ], + [ + 0, + 30, + 9.5664, + 21, + 8 + ], + [ + 86.0897, + 10, + 13.9103, + 32, + 8 + ], + [ + 0, + 67, + 100, + 403, + 10, + true + ], + [ + 1.9076, + 86, + 96.1847, + 36, + 8 + ], + [ + 1.9076, + 138, + 25.673, + 38, + 0 + ], + [ + 27.5806, + 138, + 19.0904, + 38, + 0 + ], + [ + 46.6711, + 138, + 24.3254, + 38, + 0 + ], + [ + 70.9965, + 138, + 27.0959, + 38, + 0 + ], + [ + 1.9076, + 176, + 25.673, + 55, + 0 + ], + [ + 27.5806, + 176, + 19.0904, + 55, + 0 + ], + [ + 46.6711, + 176, + 24.3254, + 55, + 0 + ], + [ + 70.9965, + 176, + 27.0959, + 55, + 0 + ], + [ + 1.9076, + 231, + 25.673, + 55, + 0 + ], + [ + 27.5806, + 231, + 19.0904, + 55, + 0 + ], + [ + 46.6711, + 231, + 24.3254, + 55, + 0 + ], + [ + 70.9965, + 231, + 27.0959, + 55, + 0 + ], + [ + 1.9076, + 286, + 25.673, + 55, + 0 + ], + [ + 27.5806, + 286, + 19.0904, + 55, + 0 + ], + [ + 46.6711, + 286, + 24.3254, + 55, + 0 + ], + [ + 70.9965, + 286, + 27.0959, + 55, + 0 + ], + [ + 1.9076, + 341, + 25.673, + 55, + 0 + ], + [ + 27.5806, + 341, + 19.0904, + 55, + 0 + ], + [ + 46.6711, + 341, + 24.3254, + 55, + 0 + ], + [ + 70.9965, + 341, + 27.0959, + 55, + 0 + ], + [ + 1.9076, + 396, + 25.673, + 55, + 0 + ], + [ + 27.5806, + 396, + 19.0904, + 55, + 0 + ], + [ + 46.6711, + 396, + 24.3254, + 55, + 0 + ], + [ + 70.9965, + 396, + 27.0959, + 55, + 0 + ] + ] + } + }, + "_hash": "63b2dec2b6ceb84d931a000ab8b669dd" +} \ No newline at end of file diff --git a/src/admin/bones/offers-templates.bones.json b/src/admin/bones/offers-templates.bones.json new file mode 100644 index 0000000..2c84afa --- /dev/null +++ b/src/admin/bones/offers-templates.bones.json @@ -0,0 +1,452 @@ +{ + "breakpoints": { + "375": { + "name": "offers-templates", + "viewportWidth": 351, + "width": 351, + "height": 436, + "bones": [ + [ + 0, + 0, + 100, + 436, + 10, + true + ], + [ + 3.7037, + 13, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 73, + 39.659, + 31, + 0 + ], + [ + 43.3627, + 73, + 39.6857, + 31, + 0 + ], + [ + 83.0484, + 73, + 63.1054, + 31, + 0 + ], + [ + 3.7037, + 104, + 39.659, + 61, + 0 + ], + [ + 43.3627, + 104, + 39.6857, + 61, + 0 + ], + [ + 83.0484, + 104, + 63.1054, + 61, + 0 + ], + [ + 3.7037, + 165, + 39.659, + 61, + 0 + ], + [ + 43.3627, + 165, + 39.6857, + 61, + 0 + ], + [ + 83.0484, + 165, + 63.1054, + 61, + 0 + ], + [ + 3.7037, + 226, + 39.659, + 61, + 0 + ], + [ + 43.3627, + 226, + 39.6857, + 61, + 0 + ], + [ + 83.0484, + 226, + 63.1054, + 61, + 0 + ], + [ + 3.7037, + 287, + 39.659, + 61, + 0 + ], + [ + 43.3627, + 287, + 39.6857, + 61, + 0 + ], + [ + 83.0484, + 287, + 63.1054, + 61, + 0 + ], + [ + 3.7037, + 348, + 39.659, + 61, + 0 + ], + [ + 43.3627, + 348, + 39.6857, + 61, + 0 + ], + [ + 83.0484, + 348, + 63.1054, + 61, + 0 + ] + ] + }, + "768": { + "name": "offers-templates", + "viewportWidth": 736, + "width": 736, + "height": 435, + "bones": [ + [ + 0, + 0, + 100, + 435, + 10, + true + ], + [ + 2.5815, + 19, + 94.837, + 44, + 8 + ], + [ + 2.5815, + 79, + 26.9744, + 33, + 0 + ], + [ + 29.5559, + 79, + 26.9977, + 33, + 0 + ], + [ + 56.5536, + 79, + 40.8649, + 33, + 0 + ], + [ + 2.5815, + 112, + 26.9744, + 61, + 0 + ], + [ + 29.5559, + 112, + 26.9977, + 61, + 0 + ], + [ + 56.5536, + 112, + 40.8649, + 61, + 0 + ], + [ + 2.5815, + 173, + 26.9744, + 61, + 0 + ], + [ + 29.5559, + 173, + 26.9977, + 61, + 0 + ], + [ + 56.5536, + 173, + 40.8649, + 61, + 0 + ], + [ + 2.5815, + 234, + 26.9744, + 61, + 0 + ], + [ + 29.5559, + 234, + 26.9977, + 61, + 0 + ], + [ + 56.5536, + 234, + 40.8649, + 61, + 0 + ], + [ + 2.5815, + 295, + 26.9744, + 61, + 0 + ], + [ + 29.5559, + 295, + 26.9977, + 61, + 0 + ], + [ + 56.5536, + 295, + 40.8649, + 61, + 0 + ], + [ + 2.5815, + 356, + 26.9744, + 61, + 0 + ], + [ + 29.5559, + 356, + 26.9977, + 61, + 0 + ], + [ + 56.5536, + 356, + 40.8649, + 61, + 0 + ] + ] + }, + "1280": { + "name": "offers-templates", + "viewportWidth": 996, + "width": 996, + "height": 403, + "bones": [ + [ + 0, + 0, + 100, + 403, + 10, + true + ], + [ + 1.9076, + 19, + 96.1847, + 36, + 8 + ], + [ + 1.9076, + 71, + 30.8719, + 38, + 0 + ], + [ + 32.7796, + 71, + 30.897, + 38, + 0 + ], + [ + 63.6766, + 71, + 34.4158, + 38, + 0 + ], + [ + 1.9076, + 109, + 30.8719, + 55, + 0 + ], + [ + 32.7796, + 109, + 30.897, + 55, + 0 + ], + [ + 63.6766, + 109, + 34.4158, + 55, + 0 + ], + [ + 1.9076, + 164, + 30.8719, + 55, + 0 + ], + [ + 32.7796, + 164, + 30.897, + 55, + 0 + ], + [ + 63.6766, + 164, + 34.4158, + 55, + 0 + ], + [ + 1.9076, + 219, + 30.8719, + 55, + 0 + ], + [ + 32.7796, + 219, + 30.897, + 55, + 0 + ], + [ + 63.6766, + 219, + 34.4158, + 55, + 0 + ], + [ + 1.9076, + 274, + 30.8719, + 55, + 0 + ], + [ + 32.7796, + 274, + 30.897, + 55, + 0 + ], + [ + 63.6766, + 274, + 34.4158, + 55, + 0 + ], + [ + 1.9076, + 329, + 30.8719, + 55, + 0 + ], + [ + 32.7796, + 329, + 30.897, + 55, + 0 + ], + [ + 63.6766, + 329, + 34.4158, + 55, + 0 + ] + ] + } + }, + "_hash": "5e5881859bd932a42345c69a6a30ca65" +} \ No newline at end of file diff --git a/src/admin/bones/offers.bones.json b/src/admin/bones/offers.bones.json new file mode 100644 index 0000000..7c0d7e7 --- /dev/null +++ b/src/admin/bones/offers.bones.json @@ -0,0 +1,872 @@ +{ + "breakpoints": { + "375": { + "name": "offers", + "viewportWidth": 351, + "width": 351, + "height": 497, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 61, + 100, + 436, + 10, + true + ], + [ + 3.7037, + 74, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 134, + 26.7495, + 31, + 0 + ], + [ + 30.4532, + 134, + 20.6019, + 31, + 0 + ], + [ + 51.055, + 134, + 21.4165, + 31, + 0 + ], + [ + 72.4715, + 134, + 23.0502, + 31, + 0 + ], + [ + 95.5217, + 134, + 23.0502, + 31, + 0 + ], + [ + 118.5719, + 134, + 30.7692, + 31, + 0 + ], + [ + 3.7037, + 165, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 165, + 20.6019, + 61, + 0 + ], + [ + 51.055, + 165, + 21.4165, + 61, + 0 + ], + [ + 72.4715, + 165, + 23.0502, + 61, + 0 + ], + [ + 95.5217, + 165, + 23.0502, + 61, + 0 + ], + [ + 118.5719, + 165, + 30.7692, + 61, + 0 + ], + [ + 3.7037, + 226, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 226, + 20.6019, + 61, + 0 + ], + [ + 51.055, + 226, + 21.4165, + 61, + 0 + ], + [ + 72.4715, + 226, + 23.0502, + 61, + 0 + ], + [ + 95.5217, + 226, + 23.0502, + 61, + 0 + ], + [ + 118.5719, + 226, + 30.7692, + 61, + 0 + ], + [ + 3.7037, + 287, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 287, + 20.6019, + 61, + 0 + ], + [ + 51.055, + 287, + 21.4165, + 61, + 0 + ], + [ + 72.4715, + 287, + 23.0502, + 61, + 0 + ], + [ + 95.5217, + 287, + 23.0502, + 61, + 0 + ], + [ + 118.5719, + 287, + 30.7692, + 61, + 0 + ], + [ + 3.7037, + 348, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 348, + 20.6019, + 61, + 0 + ], + [ + 51.055, + 348, + 21.4165, + 61, + 0 + ], + [ + 72.4715, + 348, + 23.0502, + 61, + 0 + ], + [ + 95.5217, + 348, + 23.0502, + 61, + 0 + ], + [ + 118.5719, + 348, + 30.7692, + 61, + 0 + ], + [ + 3.7037, + 409, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 409, + 20.6019, + 61, + 0 + ], + [ + 51.055, + 409, + 21.4165, + 61, + 0 + ], + [ + 72.4715, + 409, + 23.0502, + 61, + 0 + ], + [ + 95.5217, + 409, + 23.0502, + 61, + 0 + ], + [ + 118.5719, + 409, + 30.7692, + 61, + 0 + ] + ] + }, + "768": { + "name": "offers", + "viewportWidth": 736, + "width": 736, + "height": 502, + "bones": [ + [ + 0, + 0, + 11.3451, + 26, + 8 + ], + [ + 0, + 30, + 11.3451, + 21, + 8 + ], + [ + 0, + 67, + 100, + 435, + 10, + true + ], + [ + 2.5815, + 86, + 94.837, + 44, + 8 + ], + [ + 2.5815, + 146, + 17.6779, + 33, + 0 + ], + [ + 20.2594, + 146, + 13.7101, + 33, + 0 + ], + [ + 33.9695, + 146, + 13.3301, + 33, + 0 + ], + [ + 47.2996, + 146, + 15.2917, + 33, + 0 + ], + [ + 62.5913, + 146, + 15.2917, + 33, + 0 + ], + [ + 77.883, + 146, + 19.5355, + 33, + 0 + ], + [ + 2.5815, + 179, + 17.6779, + 61, + 0 + ], + [ + 20.2594, + 179, + 13.7101, + 61, + 0 + ], + [ + 33.9695, + 179, + 13.3301, + 61, + 0 + ], + [ + 47.2996, + 179, + 15.2917, + 61, + 0 + ], + [ + 62.5913, + 179, + 15.2917, + 61, + 0 + ], + [ + 77.883, + 179, + 19.5355, + 61, + 0 + ], + [ + 2.5815, + 240, + 17.6779, + 61, + 0 + ], + [ + 20.2594, + 240, + 13.7101, + 61, + 0 + ], + [ + 33.9695, + 240, + 13.3301, + 61, + 0 + ], + [ + 47.2996, + 240, + 15.2917, + 61, + 0 + ], + [ + 62.5913, + 240, + 15.2917, + 61, + 0 + ], + [ + 77.883, + 240, + 19.5355, + 61, + 0 + ], + [ + 2.5815, + 301, + 17.6779, + 61, + 0 + ], + [ + 20.2594, + 301, + 13.7101, + 61, + 0 + ], + [ + 33.9695, + 301, + 13.3301, + 61, + 0 + ], + [ + 47.2996, + 301, + 15.2917, + 61, + 0 + ], + [ + 62.5913, + 301, + 15.2917, + 61, + 0 + ], + [ + 77.883, + 301, + 19.5355, + 61, + 0 + ], + [ + 2.5815, + 362, + 17.6779, + 61, + 0 + ], + [ + 20.2594, + 362, + 13.7101, + 61, + 0 + ], + [ + 33.9695, + 362, + 13.3301, + 61, + 0 + ], + [ + 47.2996, + 362, + 15.2917, + 61, + 0 + ], + [ + 62.5913, + 362, + 15.2917, + 61, + 0 + ], + [ + 77.883, + 362, + 19.5355, + 61, + 0 + ], + [ + 2.5815, + 423, + 17.6779, + 61, + 0 + ], + [ + 20.2594, + 423, + 13.7101, + 61, + 0 + ], + [ + 33.9695, + 423, + 13.3301, + 61, + 0 + ], + [ + 47.2996, + 423, + 15.2917, + 61, + 0 + ], + [ + 62.5913, + 423, + 15.2917, + 61, + 0 + ], + [ + 77.883, + 423, + 19.5355, + 61, + 0 + ] + ] + }, + "1280": { + "name": "offers", + "viewportWidth": 996, + "width": 996, + "height": 470, + "bones": [ + [ + 0, + 0, + 8.3835, + 26, + 8 + ], + [ + 0, + 30, + 8.3835, + 21, + 8 + ], + [ + 0, + 67, + 100, + 403, + 10, + true + ], + [ + 1.9076, + 86, + 96.1847, + 36, + 8 + ], + [ + 1.9076, + 138, + 18.8912, + 38, + 0 + ], + [ + 20.7988, + 138, + 15.0085, + 38, + 0 + ], + [ + 35.8073, + 138, + 13.333, + 38, + 0 + ], + [ + 49.1403, + 138, + 16.5553, + 38, + 0 + ], + [ + 65.6956, + 138, + 16.5553, + 38, + 0 + ], + [ + 82.2509, + 138, + 15.8415, + 38, + 0 + ], + [ + 1.9076, + 176, + 18.8912, + 55, + 0 + ], + [ + 20.7988, + 176, + 15.0085, + 55, + 0 + ], + [ + 35.8073, + 176, + 13.333, + 55, + 0 + ], + [ + 49.1403, + 176, + 16.5553, + 55, + 0 + ], + [ + 65.6956, + 176, + 16.5553, + 55, + 0 + ], + [ + 82.2509, + 176, + 15.8415, + 55, + 0 + ], + [ + 1.9076, + 231, + 18.8912, + 55, + 0 + ], + [ + 20.7988, + 231, + 15.0085, + 55, + 0 + ], + [ + 35.8073, + 231, + 13.333, + 55, + 0 + ], + [ + 49.1403, + 231, + 16.5553, + 55, + 0 + ], + [ + 65.6956, + 231, + 16.5553, + 55, + 0 + ], + [ + 82.2509, + 231, + 15.8415, + 55, + 0 + ], + [ + 1.9076, + 286, + 18.8912, + 55, + 0 + ], + [ + 20.7988, + 286, + 15.0085, + 55, + 0 + ], + [ + 35.8073, + 286, + 13.333, + 55, + 0 + ], + [ + 49.1403, + 286, + 16.5553, + 55, + 0 + ], + [ + 65.6956, + 286, + 16.5553, + 55, + 0 + ], + [ + 82.2509, + 286, + 15.8415, + 55, + 0 + ], + [ + 1.9076, + 341, + 18.8912, + 55, + 0 + ], + [ + 20.7988, + 341, + 15.0085, + 55, + 0 + ], + [ + 35.8073, + 341, + 13.333, + 55, + 0 + ], + [ + 49.1403, + 341, + 16.5553, + 55, + 0 + ], + [ + 65.6956, + 341, + 16.5553, + 55, + 0 + ], + [ + 82.2509, + 341, + 15.8415, + 55, + 0 + ], + [ + 1.9076, + 396, + 18.8912, + 55, + 0 + ], + [ + 20.7988, + 396, + 15.0085, + 55, + 0 + ], + [ + 35.8073, + 396, + 13.333, + 55, + 0 + ], + [ + 49.1403, + 396, + 16.5553, + 55, + 0 + ], + [ + 65.6956, + 396, + 16.5553, + 55, + 0 + ], + [ + 82.2509, + 396, + 15.8415, + 55, + 0 + ] + ] + } + }, + "_hash": "62d793eb0343d832087d687b76639e09" +} \ No newline at end of file diff --git a/src/admin/bones/orders.bones.json b/src/admin/bones/orders.bones.json new file mode 100644 index 0000000..e67aa60 --- /dev/null +++ b/src/admin/bones/orders.bones.json @@ -0,0 +1,998 @@ +{ + "breakpoints": { + "375": { + "name": "orders", + "viewportWidth": 351, + "width": 351, + "height": 497, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 61, + 100, + 436, + 10, + true + ], + [ + 3.7037, + 74, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 134, + 26.7495, + 31, + 0 + ], + [ + 30.4532, + 134, + 29.1043, + 31, + 0 + ], + [ + 59.5575, + 134, + 20.6019, + 31, + 0 + ], + [ + 80.1594, + 134, + 26.6515, + 31, + 0 + ], + [ + 106.8109, + 134, + 23.0502, + 31, + 0 + ], + [ + 129.8611, + 134, + 21.2028, + 31, + 0 + ], + [ + 151.0639, + 134, + 17.094, + 31, + 0 + ], + [ + 3.7037, + 165, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 165, + 29.1043, + 61, + 0 + ], + [ + 59.5575, + 165, + 20.6019, + 61, + 0 + ], + [ + 80.1594, + 165, + 26.6515, + 61, + 0 + ], + [ + 106.8109, + 165, + 23.0502, + 61, + 0 + ], + [ + 129.8611, + 165, + 21.2028, + 61, + 0 + ], + [ + 151.0639, + 165, + 17.094, + 61, + 0 + ], + [ + 3.7037, + 226, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 226, + 29.1043, + 61, + 0 + ], + [ + 59.5575, + 226, + 20.6019, + 61, + 0 + ], + [ + 80.1594, + 226, + 26.6515, + 61, + 0 + ], + [ + 106.8109, + 226, + 23.0502, + 61, + 0 + ], + [ + 129.8611, + 226, + 21.2028, + 61, + 0 + ], + [ + 151.0639, + 226, + 17.094, + 61, + 0 + ], + [ + 3.7037, + 287, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 287, + 29.1043, + 61, + 0 + ], + [ + 59.5575, + 287, + 20.6019, + 61, + 0 + ], + [ + 80.1594, + 287, + 26.6515, + 61, + 0 + ], + [ + 106.8109, + 287, + 23.0502, + 61, + 0 + ], + [ + 129.8611, + 287, + 21.2028, + 61, + 0 + ], + [ + 151.0639, + 287, + 17.094, + 61, + 0 + ], + [ + 3.7037, + 348, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 348, + 29.1043, + 61, + 0 + ], + [ + 59.5575, + 348, + 20.6019, + 61, + 0 + ], + [ + 80.1594, + 348, + 26.6515, + 61, + 0 + ], + [ + 106.8109, + 348, + 23.0502, + 61, + 0 + ], + [ + 129.8611, + 348, + 21.2028, + 61, + 0 + ], + [ + 151.0639, + 348, + 17.094, + 61, + 0 + ], + [ + 3.7037, + 409, + 26.7495, + 61, + 0 + ], + [ + 30.4532, + 409, + 29.1043, + 61, + 0 + ], + [ + 59.5575, + 409, + 20.6019, + 61, + 0 + ], + [ + 80.1594, + 409, + 26.6515, + 61, + 0 + ], + [ + 106.8109, + 409, + 23.0502, + 61, + 0 + ], + [ + 129.8611, + 409, + 21.2028, + 61, + 0 + ], + [ + 151.0639, + 409, + 17.094, + 61, + 0 + ] + ] + }, + "768": { + "name": "orders", + "viewportWidth": 736, + "width": 736, + "height": 502, + "bones": [ + [ + 0, + 0, + 16.6461, + 26, + 8 + ], + [ + 0, + 30, + 16.6461, + 21, + 8 + ], + [ + 0, + 67, + 100, + 435, + 10, + true + ], + [ + 2.5815, + 86, + 94.837, + 44, + 8 + ], + [ + 2.5815, + 146, + 15.642, + 33, + 0 + ], + [ + 18.2235, + 146, + 16.9837, + 33, + 0 + ], + [ + 35.2072, + 146, + 12.1306, + 33, + 0 + ], + [ + 47.3378, + 146, + 14.5338, + 33, + 0 + ], + [ + 61.8716, + 146, + 13.5296, + 33, + 0 + ], + [ + 75.4012, + 146, + 12.4745, + 33, + 0 + ], + [ + 87.8758, + 146, + 9.5427, + 33, + 0 + ], + [ + 2.5815, + 179, + 15.642, + 61, + 0 + ], + [ + 18.2235, + 179, + 16.9837, + 61, + 0 + ], + [ + 35.2072, + 179, + 12.1306, + 61, + 0 + ], + [ + 47.3378, + 179, + 14.5338, + 61, + 0 + ], + [ + 61.8716, + 179, + 13.5296, + 61, + 0 + ], + [ + 75.4012, + 179, + 12.4745, + 61, + 0 + ], + [ + 87.8758, + 179, + 9.5427, + 61, + 0 + ], + [ + 2.5815, + 240, + 15.642, + 61, + 0 + ], + [ + 18.2235, + 240, + 16.9837, + 61, + 0 + ], + [ + 35.2072, + 240, + 12.1306, + 61, + 0 + ], + [ + 47.3378, + 240, + 14.5338, + 61, + 0 + ], + [ + 61.8716, + 240, + 13.5296, + 61, + 0 + ], + [ + 75.4012, + 240, + 12.4745, + 61, + 0 + ], + [ + 87.8758, + 240, + 9.5427, + 61, + 0 + ], + [ + 2.5815, + 301, + 15.642, + 61, + 0 + ], + [ + 18.2235, + 301, + 16.9837, + 61, + 0 + ], + [ + 35.2072, + 301, + 12.1306, + 61, + 0 + ], + [ + 47.3378, + 301, + 14.5338, + 61, + 0 + ], + [ + 61.8716, + 301, + 13.5296, + 61, + 0 + ], + [ + 75.4012, + 301, + 12.4745, + 61, + 0 + ], + [ + 87.8758, + 301, + 9.5427, + 61, + 0 + ], + [ + 2.5815, + 362, + 15.642, + 61, + 0 + ], + [ + 18.2235, + 362, + 16.9837, + 61, + 0 + ], + [ + 35.2072, + 362, + 12.1306, + 61, + 0 + ], + [ + 47.3378, + 362, + 14.5338, + 61, + 0 + ], + [ + 61.8716, + 362, + 13.5296, + 61, + 0 + ], + [ + 75.4012, + 362, + 12.4745, + 61, + 0 + ], + [ + 87.8758, + 362, + 9.5427, + 61, + 0 + ], + [ + 2.5815, + 423, + 15.642, + 61, + 0 + ], + [ + 18.2235, + 423, + 16.9837, + 61, + 0 + ], + [ + 35.2072, + 423, + 12.1306, + 61, + 0 + ], + [ + 47.3378, + 423, + 14.5338, + 61, + 0 + ], + [ + 61.8716, + 423, + 13.5296, + 61, + 0 + ], + [ + 75.4012, + 423, + 12.4745, + 61, + 0 + ], + [ + 87.8758, + 423, + 9.5427, + 61, + 0 + ] + ] + }, + "1280": { + "name": "orders", + "viewportWidth": 996, + "width": 996, + "height": 470, + "bones": [ + [ + 0, + 0, + 12.3008, + 26, + 8 + ], + [ + 0, + 30, + 12.3008, + 21, + 8 + ], + [ + 0, + 67, + 100, + 403, + 10, + true + ], + [ + 1.9076, + 86, + 96.1847, + 36, + 8 + ], + [ + 1.9076, + 138, + 16.2243, + 38, + 0 + ], + [ + 18.1319, + 138, + 17.5044, + 38, + 0 + ], + [ + 35.6363, + 138, + 12.8891, + 38, + 0 + ], + [ + 48.5254, + 138, + 13.7535, + 38, + 0 + ], + [ + 62.2788, + 138, + 14.2178, + 38, + 0 + ], + [ + 76.4966, + 138, + 13.2138, + 38, + 0 + ], + [ + 89.7104, + 138, + 8.382, + 38, + 0 + ], + [ + 1.9076, + 176, + 16.2243, + 55, + 0 + ], + [ + 18.1319, + 176, + 17.5044, + 55, + 0 + ], + [ + 35.6363, + 176, + 12.8891, + 55, + 0 + ], + [ + 48.5254, + 176, + 13.7535, + 55, + 0 + ], + [ + 62.2788, + 176, + 14.2178, + 55, + 0 + ], + [ + 76.4966, + 176, + 13.2138, + 55, + 0 + ], + [ + 89.7104, + 176, + 8.382, + 55, + 0 + ], + [ + 1.9076, + 231, + 16.2243, + 55, + 0 + ], + [ + 18.1319, + 231, + 17.5044, + 55, + 0 + ], + [ + 35.6363, + 231, + 12.8891, + 55, + 0 + ], + [ + 48.5254, + 231, + 13.7535, + 55, + 0 + ], + [ + 62.2788, + 231, + 14.2178, + 55, + 0 + ], + [ + 76.4966, + 231, + 13.2138, + 55, + 0 + ], + [ + 89.7104, + 231, + 8.382, + 55, + 0 + ], + [ + 1.9076, + 286, + 16.2243, + 55, + 0 + ], + [ + 18.1319, + 286, + 17.5044, + 55, + 0 + ], + [ + 35.6363, + 286, + 12.8891, + 55, + 0 + ], + [ + 48.5254, + 286, + 13.7535, + 55, + 0 + ], + [ + 62.2788, + 286, + 14.2178, + 55, + 0 + ], + [ + 76.4966, + 286, + 13.2138, + 55, + 0 + ], + [ + 89.7104, + 286, + 8.382, + 55, + 0 + ], + [ + 1.9076, + 341, + 16.2243, + 55, + 0 + ], + [ + 18.1319, + 341, + 17.5044, + 55, + 0 + ], + [ + 35.6363, + 341, + 12.8891, + 55, + 0 + ], + [ + 48.5254, + 341, + 13.7535, + 55, + 0 + ], + [ + 62.2788, + 341, + 14.2178, + 55, + 0 + ], + [ + 76.4966, + 341, + 13.2138, + 55, + 0 + ], + [ + 89.7104, + 341, + 8.382, + 55, + 0 + ], + [ + 1.9076, + 396, + 16.2243, + 55, + 0 + ], + [ + 18.1319, + 396, + 17.5044, + 55, + 0 + ], + [ + 35.6363, + 396, + 12.8891, + 55, + 0 + ], + [ + 48.5254, + 396, + 13.7535, + 55, + 0 + ], + [ + 62.2788, + 396, + 14.2178, + 55, + 0 + ], + [ + 76.4966, + 396, + 13.2138, + 55, + 0 + ], + [ + 89.7104, + 396, + 8.382, + 55, + 0 + ] + ] + } + }, + "_hash": "677a0002aa805c9f7790bc68c6374bb5" +} \ No newline at end of file diff --git a/src/admin/bones/project-detail.bones.json b/src/admin/bones/project-detail.bones.json new file mode 100644 index 0000000..05fd247 --- /dev/null +++ b/src/admin/bones/project-detail.bones.json @@ -0,0 +1,371 @@ +{ + "breakpoints": { + "375": { + "name": "project-detail", + "viewportWidth": 351, + "width": 351, + "height": 481, + "bones": [ + [ + 3.4188, + 12, + 5.698, + 20, + "50%" + ], + [ + 14.8148, + 9, + 50.2315, + 22, + 8 + ], + [ + 0, + 52, + 48.0057, + 44, + 8 + ], + [ + 51.4245, + 52, + 48.5755, + 44, + 8 + ], + [ + 0, + 112, + 100, + 188, + 10, + true + ], + [ + 3.7037, + 125, + 48.1481, + 21, + 8 + ], + [ + 3.7037, + 154, + 48.1481, + 44, + 8 + ], + [ + 56.4103, + 125, + 48.1481, + 21, + 8 + ], + [ + 56.4103, + 154, + 48.1481, + 44, + 8 + ], + [ + 3.7037, + 214, + 48.1481, + 21, + 8 + ], + [ + 3.7037, + 243, + 48.1481, + 44, + 8 + ], + [ + 56.4103, + 214, + 48.1481, + 21, + 8 + ], + [ + 56.4103, + 243, + 48.1481, + 44, + 8 + ], + [ + 0, + 316, + 100, + 165, + 10, + true + ], + [ + 3.7037, + 329, + 92.5926, + 17, + 8 + ], + [ + 3.7037, + 357, + 92.5926, + 104, + 8 + ] + ] + }, + "768": { + "name": "project-detail", + "viewportWidth": 736, + "width": 736, + "height": 453, + "bones": [ + [ + 1.6304, + 12, + 2.7174, + 20, + "50%" + ], + [ + 7.0652, + 7, + 29.2799, + 26, + 8 + ], + [ + 78.2375, + 0, + 9.1733, + 44, + 8 + ], + [ + 89.0413, + 0, + 10.9587, + 44, + 8 + ], + [ + 0, + 60, + 100, + 200, + 10, + true + ], + [ + 2.5815, + 79, + 46.3315, + 21, + 8 + ], + [ + 2.5815, + 108, + 46.3315, + 44, + 8 + ], + [ + 51.087, + 79, + 46.3315, + 21, + 8 + ], + [ + 51.087, + 108, + 46.3315, + 44, + 8 + ], + [ + 2.5815, + 168, + 46.3315, + 21, + 8 + ], + [ + 2.5815, + 197, + 46.3315, + 44, + 8 + ], + [ + 51.087, + 168, + 46.3315, + 21, + 8 + ], + [ + 51.087, + 197, + 46.3315, + 44, + 8 + ], + [ + 0, + 276, + 100, + 177, + 10, + true + ], + [ + 2.5815, + 295, + 94.837, + 17, + 8 + ], + [ + 2.5815, + 323, + 94.837, + 104, + 8 + ] + ] + }, + "1280": { + "name": "project-detail", + "viewportWidth": 996, + "width": 996, + "height": 404, + "bones": [ + [ + 0.6024, + 7, + 2.008, + 20, + "50%" + ], + [ + 4.0161, + 2, + 21.6365, + 26, + 8 + ], + [ + 84.7217, + 0, + 6.3771, + 34, + 8 + ], + [ + 92.3036, + 0, + 7.6964, + 34, + 8 + ], + [ + 0, + 50, + 100, + 180, + 10, + true + ], + [ + 1.9076, + 69, + 47.2892, + 19, + 8 + ], + [ + 1.9076, + 96, + 47.2892, + 36, + 8 + ], + [ + 50.8032, + 69, + 47.2892, + 19, + 8 + ], + [ + 50.8032, + 96, + 47.2892, + 36, + 8 + ], + [ + 1.9076, + 148, + 47.2892, + 19, + 8 + ], + [ + 1.9076, + 175, + 47.2892, + 36, + 8 + ], + [ + 50.8032, + 148, + 47.2892, + 19, + 8 + ], + [ + 50.8032, + 175, + 47.2892, + 36, + 8 + ], + [ + 0, + 246, + 100, + 157, + 10, + true + ], + [ + 1.9076, + 265, + 96.1847, + 17, + 8 + ], + [ + 1.9076, + 294, + 96.1847, + 84, + 8 + ] + ] + } + }, + "_hash": "ab5e1f108d42c55b0e6382fcaffff793" +} \ No newline at end of file diff --git a/src/admin/bones/projects.bones.json b/src/admin/bones/projects.bones.json new file mode 100644 index 0000000..0377c4c --- /dev/null +++ b/src/admin/bones/projects.bones.json @@ -0,0 +1,746 @@ +{ + "breakpoints": { + "375": { + "name": "projects", + "viewportWidth": 351, + "width": 351, + "height": 497, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 61, + 100, + 436, + 10, + true + ], + [ + 3.7037, + 74, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 134, + 34.6065, + 31, + 0 + ], + [ + 38.3102, + 134, + 31.3568, + 31, + 0 + ], + [ + 69.667, + 134, + 26.6515, + 31, + 0 + ], + [ + 96.3186, + 134, + 27.7066, + 31, + 0 + ], + [ + 124.0251, + 134, + 22.1287, + 31, + 0 + ], + [ + 3.7037, + 165, + 34.6065, + 61, + 0 + ], + [ + 38.3102, + 165, + 31.3568, + 61, + 0 + ], + [ + 69.667, + 165, + 26.6515, + 61, + 0 + ], + [ + 96.3186, + 165, + 27.7066, + 61, + 0 + ], + [ + 124.0251, + 165, + 22.1287, + 61, + 0 + ], + [ + 3.7037, + 226, + 34.6065, + 61, + 0 + ], + [ + 38.3102, + 226, + 31.3568, + 61, + 0 + ], + [ + 69.667, + 226, + 26.6515, + 61, + 0 + ], + [ + 96.3186, + 226, + 27.7066, + 61, + 0 + ], + [ + 124.0251, + 226, + 22.1287, + 61, + 0 + ], + [ + 3.7037, + 287, + 34.6065, + 61, + 0 + ], + [ + 38.3102, + 287, + 31.3568, + 61, + 0 + ], + [ + 69.667, + 287, + 26.6515, + 61, + 0 + ], + [ + 96.3186, + 287, + 27.7066, + 61, + 0 + ], + [ + 124.0251, + 287, + 22.1287, + 61, + 0 + ], + [ + 3.7037, + 348, + 34.6065, + 61, + 0 + ], + [ + 38.3102, + 348, + 31.3568, + 61, + 0 + ], + [ + 69.667, + 348, + 26.6515, + 61, + 0 + ], + [ + 96.3186, + 348, + 27.7066, + 61, + 0 + ], + [ + 124.0251, + 348, + 22.1287, + 61, + 0 + ], + [ + 3.7037, + 409, + 34.6065, + 61, + 0 + ], + [ + 38.3102, + 409, + 31.3568, + 61, + 0 + ], + [ + 69.667, + 409, + 26.6515, + 61, + 0 + ], + [ + 96.3186, + 409, + 27.7066, + 61, + 0 + ], + [ + 124.0251, + 409, + 22.1287, + 61, + 0 + ] + ] + }, + "768": { + "name": "projects", + "viewportWidth": 736, + "width": 736, + "height": 502, + "bones": [ + [ + 0, + 0, + 10.9099, + 26, + 8 + ], + [ + 0, + 30, + 10.9099, + 21, + 8 + ], + [ + 0, + 67, + 100, + 435, + 10, + true + ], + [ + 2.5815, + 86, + 94.837, + 44, + 8 + ], + [ + 2.5815, + 146, + 23.429, + 33, + 0 + ], + [ + 26.0105, + 146, + 21.2806, + 33, + 0 + ], + [ + 47.2911, + 146, + 18.1704, + 33, + 0 + ], + [ + 65.4615, + 146, + 17.6694, + 33, + 0 + ], + [ + 83.1309, + 146, + 14.2875, + 33, + 0 + ], + [ + 2.5815, + 179, + 23.429, + 61, + 0 + ], + [ + 26.0105, + 179, + 21.2806, + 61, + 0 + ], + [ + 47.2911, + 179, + 18.1704, + 61, + 0 + ], + [ + 65.4615, + 179, + 17.6694, + 61, + 0 + ], + [ + 83.1309, + 179, + 14.2875, + 61, + 0 + ], + [ + 2.5815, + 240, + 23.429, + 61, + 0 + ], + [ + 26.0105, + 240, + 21.2806, + 61, + 0 + ], + [ + 47.2911, + 240, + 18.1704, + 61, + 0 + ], + [ + 65.4615, + 240, + 17.6694, + 61, + 0 + ], + [ + 83.1309, + 240, + 14.2875, + 61, + 0 + ], + [ + 2.5815, + 301, + 23.429, + 61, + 0 + ], + [ + 26.0105, + 301, + 21.2806, + 61, + 0 + ], + [ + 47.2911, + 301, + 18.1704, + 61, + 0 + ], + [ + 65.4615, + 301, + 17.6694, + 61, + 0 + ], + [ + 83.1309, + 301, + 14.2875, + 61, + 0 + ], + [ + 2.5815, + 362, + 23.429, + 61, + 0 + ], + [ + 26.0105, + 362, + 21.2806, + 61, + 0 + ], + [ + 47.2911, + 362, + 18.1704, + 61, + 0 + ], + [ + 65.4615, + 362, + 17.6694, + 61, + 0 + ], + [ + 83.1309, + 362, + 14.2875, + 61, + 0 + ], + [ + 2.5815, + 423, + 23.429, + 61, + 0 + ], + [ + 26.0105, + 423, + 21.2806, + 61, + 0 + ], + [ + 47.2911, + 423, + 18.1704, + 61, + 0 + ], + [ + 65.4615, + 423, + 17.6694, + 61, + 0 + ], + [ + 83.1309, + 423, + 14.2875, + 61, + 0 + ] + ] + }, + "1280": { + "name": "projects", + "viewportWidth": 996, + "width": 996, + "height": 470, + "bones": [ + [ + 0, + 0, + 8.0619, + 26, + 8 + ], + [ + 0, + 30, + 8.0619, + 21, + 8 + ], + [ + 0, + 67, + 100, + 403, + 10, + true + ], + [ + 1.9076, + 86, + 96.1847, + 36, + 8 + ], + [ + 1.9076, + 138, + 24.4588, + 38, + 0 + ], + [ + 26.3664, + 138, + 22.4068, + 38, + 0 + ], + [ + 48.7732, + 138, + 19.4308, + 38, + 0 + ], + [ + 68.2041, + 138, + 17.2612, + 38, + 0 + ], + [ + 85.4653, + 138, + 12.6271, + 38, + 0 + ], + [ + 1.9076, + 176, + 24.4588, + 55, + 0 + ], + [ + 26.3664, + 176, + 22.4068, + 55, + 0 + ], + [ + 48.7732, + 176, + 19.4308, + 55, + 0 + ], + [ + 68.2041, + 176, + 17.2612, + 55, + 0 + ], + [ + 85.4653, + 176, + 12.6271, + 55, + 0 + ], + [ + 1.9076, + 231, + 24.4588, + 55, + 0 + ], + [ + 26.3664, + 231, + 22.4068, + 55, + 0 + ], + [ + 48.7732, + 231, + 19.4308, + 55, + 0 + ], + [ + 68.2041, + 231, + 17.2612, + 55, + 0 + ], + [ + 85.4653, + 231, + 12.6271, + 55, + 0 + ], + [ + 1.9076, + 286, + 24.4588, + 55, + 0 + ], + [ + 26.3664, + 286, + 22.4068, + 55, + 0 + ], + [ + 48.7732, + 286, + 19.4308, + 55, + 0 + ], + [ + 68.2041, + 286, + 17.2612, + 55, + 0 + ], + [ + 85.4653, + 286, + 12.6271, + 55, + 0 + ], + [ + 1.9076, + 341, + 24.4588, + 55, + 0 + ], + [ + 26.3664, + 341, + 22.4068, + 55, + 0 + ], + [ + 48.7732, + 341, + 19.4308, + 55, + 0 + ], + [ + 68.2041, + 341, + 17.2612, + 55, + 0 + ], + [ + 85.4653, + 341, + 12.6271, + 55, + 0 + ], + [ + 1.9076, + 396, + 24.4588, + 55, + 0 + ], + [ + 26.3664, + 396, + 22.4068, + 55, + 0 + ], + [ + 48.7732, + 396, + 19.4308, + 55, + 0 + ], + [ + 68.2041, + 396, + 17.2612, + 55, + 0 + ], + [ + 85.4653, + 396, + 12.6271, + 55, + 0 + ] + ] + } + }, + "_hash": "17f8285c3ca514ddef6d48c1183ed642" +} \ No newline at end of file diff --git a/src/admin/bones/registry.ts b/src/admin/bones/registry.ts new file mode 100644 index 0000000..e33aa01 --- /dev/null +++ b/src/admin/bones/registry.ts @@ -0,0 +1,50 @@ +"use client" +// Auto-generated by `npx boneyard-js build` — do not edit +import { registerBones } from 'boneyard-js' +import { configureBoneyard } from 'boneyard-js/react' + +import _dash_sessions from './dash-sessions.bones.json' +import _attendance_history_fund from './attendance-history-fund.bones.json' +import _attendance_history_table from './attendance-history-table.bones.json' +import _leave_requests from './leave-requests.bones.json' +import _leave_approval from './leave-approval.bones.json' +import _attendance_balances from './attendance-balances.bones.json' +import _trips_history from './trips-history.bones.json' +import _trips_admin from './trips-admin.bones.json' +import _vehicles from './vehicles.bones.json' +import _offers from './offers.bones.json' +import _orders from './orders.bones.json' +import _projects from './projects.bones.json' +import _offers_customers from './offers-customers.bones.json' +import _users from './users.bones.json' +import _audit_log_rows from './audit-log-rows.bones.json' +import _offer_detail from './offer-detail.bones.json' +import _invoice_detail from './invoice-detail.bones.json' +import _project_detail from './project-detail.bones.json' +import _attendance_create from './attendance-create.bones.json' +import _offers_templates from './offers-templates.bones.json' + +configureBoneyard({"color":"#e0e0e0","animate":"shimmer","shimmerColor":"#f0f0f0","speed":"1.2s","shimmerAngle":110}) + +registerBones({ + "dash-sessions": _dash_sessions, + "attendance-history-fund": _attendance_history_fund, + "attendance-history-table": _attendance_history_table, + "leave-requests": _leave_requests, + "leave-approval": _leave_approval, + "attendance-balances": _attendance_balances, + "trips-history": _trips_history, + "trips-admin": _trips_admin, + "vehicles": _vehicles, + "offers": _offers, + "orders": _orders, + "projects": _projects, + "offers-customers": _offers_customers, + "users": _users, + "audit-log-rows": _audit_log_rows, + "offer-detail": _offer_detail, + "invoice-detail": _invoice_detail, + "project-detail": _project_detail, + "attendance-create": _attendance_create, + "offers-templates": _offers_templates, +}) diff --git a/src/admin/bones/trips-admin.bones.json b/src/admin/bones/trips-admin.bones.json new file mode 100644 index 0000000..c5ddb33 --- /dev/null +++ b/src/admin/bones/trips-admin.bones.json @@ -0,0 +1,725 @@ +{ + "breakpoints": { + "375": { + "name": "trips-admin", + "viewportWidth": 317, + "width": 317, + "height": 437, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 61, + 100, + 376, + 10, + true + ], + [ + 4.1009, + 74, + 37.8795, + 31, + 0 + ], + [ + 41.9805, + 74, + 43.4592, + 31, + 0 + ], + [ + 85.4397, + 74, + 31.6739, + 31, + 0 + ], + [ + 117.1136, + 74, + 16.6108, + 31, + 0 + ], + [ + 133.7244, + 74, + 28.1053, + 31, + 0 + ], + [ + 4.1009, + 105, + 37.8795, + 61, + 0 + ], + [ + 41.9805, + 105, + 43.4592, + 61, + 0 + ], + [ + 85.4397, + 105, + 31.6739, + 61, + 0 + ], + [ + 117.1136, + 105, + 16.6108, + 61, + 0 + ], + [ + 133.7244, + 105, + 28.1053, + 61, + 0 + ], + [ + 4.1009, + 166, + 37.8795, + 61, + 0 + ], + [ + 41.9805, + 166, + 43.4592, + 61, + 0 + ], + [ + 85.4397, + 166, + 31.6739, + 61, + 0 + ], + [ + 117.1136, + 166, + 16.6108, + 61, + 0 + ], + [ + 133.7244, + 166, + 28.1053, + 61, + 0 + ], + [ + 4.1009, + 227, + 37.8795, + 61, + 0 + ], + [ + 41.9805, + 227, + 43.4592, + 61, + 0 + ], + [ + 85.4397, + 227, + 31.6739, + 61, + 0 + ], + [ + 117.1136, + 227, + 16.6108, + 61, + 0 + ], + [ + 133.7244, + 227, + 28.1053, + 61, + 0 + ], + [ + 4.1009, + 288, + 37.8795, + 61, + 0 + ], + [ + 41.9805, + 288, + 43.4592, + 61, + 0 + ], + [ + 85.4397, + 288, + 31.6739, + 61, + 0 + ], + [ + 117.1136, + 288, + 16.6108, + 61, + 0 + ], + [ + 133.7244, + 288, + 28.1053, + 61, + 0 + ], + [ + 4.1009, + 349, + 37.8795, + 61, + 0 + ], + [ + 41.9805, + 349, + 43.4592, + 61, + 0 + ], + [ + 85.4397, + 349, + 31.6739, + 61, + 0 + ], + [ + 117.1136, + 349, + 16.6108, + 61, + 0 + ], + [ + 133.7244, + 349, + 28.1053, + 61, + 0 + ] + ] + }, + "768": { + "name": "trips-admin", + "viewportWidth": 690, + "width": 690, + "height": 442, + "bones": [ + [ + 0, + 0, + 16.3202, + 26, + 8 + ], + [ + 0, + 30, + 16.3202, + 21, + 8 + ], + [ + 0, + 67, + 100, + 375, + 10, + true + ], + [ + 2.7536, + 86, + 22.8057, + 33, + 0 + ], + [ + 25.5593, + 86, + 26.0711, + 33, + 0 + ], + [ + 51.6304, + 86, + 19.1757, + 33, + 0 + ], + [ + 70.8062, + 86, + 10.3601, + 33, + 0 + ], + [ + 81.1662, + 86, + 16.0802, + 33, + 0 + ], + [ + 2.7536, + 119, + 22.8057, + 61, + 0 + ], + [ + 25.5593, + 119, + 26.0711, + 61, + 0 + ], + [ + 51.6304, + 119, + 19.1757, + 61, + 0 + ], + [ + 70.8062, + 119, + 10.3601, + 61, + 0 + ], + [ + 81.1662, + 119, + 16.0802, + 61, + 0 + ], + [ + 2.7536, + 180, + 22.8057, + 61, + 0 + ], + [ + 25.5593, + 180, + 26.0711, + 61, + 0 + ], + [ + 51.6304, + 180, + 19.1757, + 61, + 0 + ], + [ + 70.8062, + 180, + 10.3601, + 61, + 0 + ], + [ + 81.1662, + 180, + 16.0802, + 61, + 0 + ], + [ + 2.7536, + 241, + 22.8057, + 61, + 0 + ], + [ + 25.5593, + 241, + 26.0711, + 61, + 0 + ], + [ + 51.6304, + 241, + 19.1757, + 61, + 0 + ], + [ + 70.8062, + 241, + 10.3601, + 61, + 0 + ], + [ + 81.1662, + 241, + 16.0802, + 61, + 0 + ], + [ + 2.7536, + 302, + 22.8057, + 61, + 0 + ], + [ + 25.5593, + 302, + 26.0711, + 61, + 0 + ], + [ + 51.6304, + 302, + 19.1757, + 61, + 0 + ], + [ + 70.8062, + 302, + 10.3601, + 61, + 0 + ], + [ + 81.1662, + 302, + 16.0802, + 61, + 0 + ], + [ + 2.7536, + 363, + 22.8057, + 61, + 0 + ], + [ + 25.5593, + 363, + 26.0711, + 61, + 0 + ], + [ + 51.6304, + 363, + 19.1757, + 61, + 0 + ], + [ + 70.8062, + 363, + 10.3601, + 61, + 0 + ], + [ + 81.1662, + 363, + 16.0802, + 61, + 0 + ] + ] + }, + "1280": { + "name": "trips-admin", + "viewportWidth": 950, + "width": 950, + "height": 418, + "bones": [ + [ + 0, + 0, + 11.8536, + 26, + 8 + ], + [ + 0, + 30, + 11.8536, + 21, + 8 + ], + [ + 0, + 67, + 100, + 351, + 10, + true + ], + [ + 2, + 86, + 23.523, + 38, + 0 + ], + [ + 25.523, + 86, + 26.574, + 38, + 0 + ], + [ + 52.097, + 86, + 20.1382, + 38, + 0 + ], + [ + 72.2352, + 86, + 11.9046, + 38, + 0 + ], + [ + 84.1398, + 86, + 13.8602, + 38, + 0 + ], + [ + 2, + 124, + 23.523, + 55, + 0 + ], + [ + 25.523, + 124, + 26.574, + 55, + 0 + ], + [ + 52.097, + 124, + 20.1382, + 55, + 0 + ], + [ + 72.2352, + 124, + 11.9046, + 55, + 0 + ], + [ + 84.1398, + 124, + 13.8602, + 55, + 0 + ], + [ + 2, + 179, + 23.523, + 55, + 0 + ], + [ + 25.523, + 179, + 26.574, + 55, + 0 + ], + [ + 52.097, + 179, + 20.1382, + 55, + 0 + ], + [ + 72.2352, + 179, + 11.9046, + 55, + 0 + ], + [ + 84.1398, + 179, + 13.8602, + 55, + 0 + ], + [ + 2, + 234, + 23.523, + 55, + 0 + ], + [ + 25.523, + 234, + 26.574, + 55, + 0 + ], + [ + 52.097, + 234, + 20.1382, + 55, + 0 + ], + [ + 72.2352, + 234, + 11.9046, + 55, + 0 + ], + [ + 84.1398, + 234, + 13.8602, + 55, + 0 + ], + [ + 2, + 289, + 23.523, + 55, + 0 + ], + [ + 25.523, + 289, + 26.574, + 55, + 0 + ], + [ + 52.097, + 289, + 20.1382, + 55, + 0 + ], + [ + 72.2352, + 289, + 11.9046, + 55, + 0 + ], + [ + 84.1398, + 289, + 13.8602, + 55, + 0 + ], + [ + 2, + 344, + 23.523, + 55, + 0 + ], + [ + 25.523, + 344, + 26.574, + 55, + 0 + ], + [ + 52.097, + 344, + 20.1382, + 55, + 0 + ], + [ + 72.2352, + 344, + 11.9046, + 55, + 0 + ], + [ + 84.1398, + 344, + 13.8602, + 55, + 0 + ] + ] + } + }, + "_hash": "39a325f430c84bb51960a684759a8f0c" +} \ No newline at end of file diff --git a/src/admin/bones/trips-history.bones.json b/src/admin/bones/trips-history.bones.json new file mode 100644 index 0000000..0253656 --- /dev/null +++ b/src/admin/bones/trips-history.bones.json @@ -0,0 +1,725 @@ +{ + "breakpoints": { + "375": { + "name": "trips-history", + "viewportWidth": 317, + "width": 317, + "height": 300, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 61, + 100, + 239, + 10, + true + ], + [ + 4.1009, + 74, + 35.2326, + 31, + 0 + ], + [ + 39.3336, + 74, + 40.4278, + 31, + 0 + ], + [ + 79.7614, + 74, + 29.4657, + 31, + 0 + ], + [ + 109.2271, + 74, + 37.1402, + 31, + 0 + ], + [ + 146.3673, + 74, + 15.4623, + 31, + 0 + ], + [ + 4.1009, + 105, + 35.2326, + 34, + 0 + ], + [ + 39.3336, + 105, + 40.4278, + 34, + 0 + ], + [ + 79.7614, + 105, + 29.4657, + 34, + 0 + ], + [ + 109.2271, + 105, + 37.1402, + 34, + 0 + ], + [ + 146.3673, + 105, + 15.4623, + 34, + 0 + ], + [ + 4.1009, + 138, + 35.2326, + 34, + 0 + ], + [ + 39.3336, + 138, + 40.4278, + 34, + 0 + ], + [ + 79.7614, + 138, + 29.4657, + 34, + 0 + ], + [ + 109.2271, + 138, + 37.1402, + 34, + 0 + ], + [ + 146.3673, + 138, + 15.4623, + 34, + 0 + ], + [ + 4.1009, + 172, + 35.2326, + 34, + 0 + ], + [ + 39.3336, + 172, + 40.4278, + 34, + 0 + ], + [ + 79.7614, + 172, + 29.4657, + 34, + 0 + ], + [ + 109.2271, + 172, + 37.1402, + 34, + 0 + ], + [ + 146.3673, + 172, + 15.4623, + 34, + 0 + ], + [ + 4.1009, + 205, + 35.2326, + 34, + 0 + ], + [ + 39.3336, + 205, + 40.4278, + 34, + 0 + ], + [ + 79.7614, + 205, + 29.4657, + 34, + 0 + ], + [ + 109.2271, + 205, + 37.1402, + 34, + 0 + ], + [ + 146.3673, + 205, + 15.4623, + 34, + 0 + ], + [ + 4.1009, + 239, + 35.2326, + 33, + 0 + ], + [ + 39.3336, + 239, + 40.4278, + 33, + 0 + ], + [ + 79.7614, + 239, + 29.4657, + 33, + 0 + ], + [ + 109.2271, + 239, + 37.1402, + 33, + 0 + ], + [ + 146.3673, + 239, + 15.4623, + 33, + 0 + ] + ] + }, + "768": { + "name": "trips-history", + "viewportWidth": 690, + "width": 690, + "height": 312, + "bones": [ + [ + 0, + 0, + 16.6033, + 26, + 8 + ], + [ + 0, + 30, + 16.6033, + 21, + 8 + ], + [ + 0, + 67, + 100, + 245, + 10, + true + ], + [ + 2.7536, + 86, + 21.0417, + 33, + 0 + ], + [ + 23.7953, + 86, + 24.0534, + 33, + 0 + ], + [ + 47.8487, + 86, + 17.6925, + 33, + 0 + ], + [ + 65.5412, + 86, + 22.1445, + 33, + 0 + ], + [ + 87.6857, + 86, + 9.5607, + 33, + 0 + ], + [ + 2.7536, + 119, + 21.0417, + 35, + 0 + ], + [ + 23.7953, + 119, + 24.0534, + 35, + 0 + ], + [ + 47.8487, + 119, + 17.6925, + 35, + 0 + ], + [ + 65.5412, + 119, + 22.1445, + 35, + 0 + ], + [ + 87.6857, + 119, + 9.5607, + 35, + 0 + ], + [ + 2.7536, + 154, + 21.0417, + 35, + 0 + ], + [ + 23.7953, + 154, + 24.0534, + 35, + 0 + ], + [ + 47.8487, + 154, + 17.6925, + 35, + 0 + ], + [ + 65.5412, + 154, + 22.1445, + 35, + 0 + ], + [ + 87.6857, + 154, + 9.5607, + 35, + 0 + ], + [ + 2.7536, + 189, + 21.0417, + 35, + 0 + ], + [ + 23.7953, + 189, + 24.0534, + 35, + 0 + ], + [ + 47.8487, + 189, + 17.6925, + 35, + 0 + ], + [ + 65.5412, + 189, + 22.1445, + 35, + 0 + ], + [ + 87.6857, + 189, + 9.5607, + 35, + 0 + ], + [ + 2.7536, + 224, + 21.0417, + 35, + 0 + ], + [ + 23.7953, + 224, + 24.0534, + 35, + 0 + ], + [ + 47.8487, + 224, + 17.6925, + 35, + 0 + ], + [ + 65.5412, + 224, + 22.1445, + 35, + 0 + ], + [ + 87.6857, + 224, + 9.5607, + 35, + 0 + ], + [ + 2.7536, + 259, + 21.0417, + 35, + 0 + ], + [ + 23.7953, + 259, + 24.0534, + 35, + 0 + ], + [ + 47.8487, + 259, + 17.6925, + 35, + 0 + ], + [ + 65.5412, + 259, + 22.1445, + 35, + 0 + ], + [ + 87.6857, + 259, + 9.5607, + 35, + 0 + ] + ] + }, + "1280": { + "name": "trips-history", + "viewportWidth": 958, + "width": 958, + "height": 355, + "bones": [ + [ + 0, + 0, + 11.9585, + 26, + 8 + ], + [ + 0, + 30, + 11.9585, + 21, + 8 + ], + [ + 0, + 67, + 100, + 288, + 10, + true + ], + [ + 1.9833, + 86, + 21.1541, + 38, + 0 + ], + [ + 23.1374, + 86, + 23.8974, + 38, + 0 + ], + [ + 47.0348, + 86, + 18.1106, + 38, + 0 + ], + [ + 65.1455, + 86, + 22.1604, + 38, + 0 + ], + [ + 87.3059, + 86, + 10.7108, + 38, + 0 + ], + [ + 1.9833, + 124, + 21.1541, + 43, + 0 + ], + [ + 23.1374, + 124, + 23.8974, + 43, + 0 + ], + [ + 47.0348, + 124, + 18.1106, + 43, + 0 + ], + [ + 65.1455, + 124, + 22.1604, + 43, + 0 + ], + [ + 87.3059, + 124, + 10.7108, + 43, + 0 + ], + [ + 1.9833, + 167, + 21.1541, + 43, + 0 + ], + [ + 23.1374, + 167, + 23.8974, + 43, + 0 + ], + [ + 47.0348, + 167, + 18.1106, + 43, + 0 + ], + [ + 65.1455, + 167, + 22.1604, + 43, + 0 + ], + [ + 87.3059, + 167, + 10.7108, + 43, + 0 + ], + [ + 1.9833, + 209, + 21.1541, + 43, + 0 + ], + [ + 23.1374, + 209, + 23.8974, + 43, + 0 + ], + [ + 47.0348, + 209, + 18.1106, + 43, + 0 + ], + [ + 65.1455, + 209, + 22.1604, + 43, + 0 + ], + [ + 87.3059, + 209, + 10.7108, + 43, + 0 + ], + [ + 1.9833, + 252, + 21.1541, + 43, + 0 + ], + [ + 23.1374, + 252, + 23.8974, + 43, + 0 + ], + [ + 47.0348, + 252, + 18.1106, + 43, + 0 + ], + [ + 65.1455, + 252, + 22.1604, + 43, + 0 + ], + [ + 87.3059, + 252, + 10.7108, + 43, + 0 + ], + [ + 1.9833, + 294, + 21.1541, + 42, + 0 + ], + [ + 23.1374, + 294, + 23.8974, + 42, + 0 + ], + [ + 47.0348, + 294, + 18.1106, + 42, + 0 + ], + [ + 65.1455, + 294, + 22.1604, + 42, + 0 + ], + [ + 87.3059, + 294, + 10.7108, + 42, + 0 + ] + ] + } + }, + "_hash": "6b54a0afbb4863895e318916b1fdca67" +} \ No newline at end of file diff --git a/src/admin/bones/users.bones.json b/src/admin/bones/users.bones.json new file mode 100644 index 0000000..ca4a59e --- /dev/null +++ b/src/admin/bones/users.bones.json @@ -0,0 +1,767 @@ +{ + "breakpoints": { + "375": { + "name": "users", + "viewportWidth": 351, + "width": 351, + "height": 549, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 26, + 100, + 19, + 8 + ], + [ + 0, + 53, + 100, + 44, + 8 + ], + [ + 0, + 113, + 100, + 436, + 10, + true + ], + [ + 3.7037, + 126, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 186, + 37.362, + 31, + 0 + ], + [ + 41.0657, + 186, + 26.429, + 31, + 0 + ], + [ + 67.4947, + 186, + 36.1779, + 31, + 0 + ], + [ + 103.6725, + 186, + 23.62, + 31, + 0 + ], + [ + 127.2926, + 186, + 18.8613, + 31, + 0 + ], + [ + 3.7037, + 217, + 37.362, + 61, + 0 + ], + [ + 41.0657, + 217, + 26.429, + 61, + 0 + ], + [ + 67.4947, + 217, + 36.1779, + 61, + 0 + ], + [ + 103.6725, + 217, + 23.62, + 61, + 0 + ], + [ + 127.2926, + 217, + 18.8613, + 61, + 0 + ], + [ + 3.7037, + 278, + 37.362, + 61, + 0 + ], + [ + 41.0657, + 278, + 26.429, + 61, + 0 + ], + [ + 67.4947, + 278, + 36.1779, + 61, + 0 + ], + [ + 103.6725, + 278, + 23.62, + 61, + 0 + ], + [ + 127.2926, + 278, + 18.8613, + 61, + 0 + ], + [ + 3.7037, + 339, + 37.362, + 61, + 0 + ], + [ + 41.0657, + 339, + 26.429, + 61, + 0 + ], + [ + 67.4947, + 339, + 36.1779, + 61, + 0 + ], + [ + 103.6725, + 339, + 23.62, + 61, + 0 + ], + [ + 127.2926, + 339, + 18.8613, + 61, + 0 + ], + [ + 3.7037, + 400, + 37.362, + 61, + 0 + ], + [ + 41.0657, + 400, + 26.429, + 61, + 0 + ], + [ + 67.4947, + 400, + 36.1779, + 61, + 0 + ], + [ + 103.6725, + 400, + 23.62, + 61, + 0 + ], + [ + 127.2926, + 400, + 18.8613, + 61, + 0 + ], + [ + 3.7037, + 461, + 37.362, + 61, + 0 + ], + [ + 41.0657, + 461, + 26.429, + 61, + 0 + ], + [ + 67.4947, + 461, + 36.1779, + 61, + 0 + ], + [ + 103.6725, + 461, + 23.62, + 61, + 0 + ], + [ + 127.2926, + 461, + 18.8613, + 61, + 0 + ] + ] + }, + "768": { + "name": "users", + "viewportWidth": 736, + "width": 736, + "height": 502, + "bones": [ + [ + 0, + 0, + 12.6741, + 26, + 8 + ], + [ + 0, + 30, + 12.6741, + 21, + 8 + ], + [ + 81.2479, + 4, + 18.7521, + 44, + 8 + ], + [ + 0, + 67, + 100, + 435, + 10, + true + ], + [ + 2.5815, + 86, + 94.837, + 44, + 8 + ], + [ + 2.5815, + 146, + 24.3079, + 33, + 0 + ], + [ + 26.8894, + 146, + 18.6481, + 33, + 0 + ], + [ + 45.5375, + 146, + 23.5628, + 33, + 0 + ], + [ + 69.1003, + 146, + 15.6568, + 33, + 0 + ], + [ + 84.7571, + 146, + 12.6613, + 33, + 0 + ], + [ + 2.5815, + 179, + 24.3079, + 61, + 0 + ], + [ + 26.8894, + 179, + 18.6481, + 61, + 0 + ], + [ + 45.5375, + 179, + 23.5628, + 61, + 0 + ], + [ + 69.1003, + 179, + 15.6568, + 61, + 0 + ], + [ + 84.7571, + 179, + 12.6613, + 61, + 0 + ], + [ + 2.5815, + 240, + 24.3079, + 61, + 0 + ], + [ + 26.8894, + 240, + 18.6481, + 61, + 0 + ], + [ + 45.5375, + 240, + 23.5628, + 61, + 0 + ], + [ + 69.1003, + 240, + 15.6568, + 61, + 0 + ], + [ + 84.7571, + 240, + 12.6613, + 61, + 0 + ], + [ + 2.5815, + 301, + 24.3079, + 61, + 0 + ], + [ + 26.8894, + 301, + 18.6481, + 61, + 0 + ], + [ + 45.5375, + 301, + 23.5628, + 61, + 0 + ], + [ + 69.1003, + 301, + 15.6568, + 61, + 0 + ], + [ + 84.7571, + 301, + 12.6613, + 61, + 0 + ], + [ + 2.5815, + 362, + 24.3079, + 61, + 0 + ], + [ + 26.8894, + 362, + 18.6481, + 61, + 0 + ], + [ + 45.5375, + 362, + 23.5628, + 61, + 0 + ], + [ + 69.1003, + 362, + 15.6568, + 61, + 0 + ], + [ + 84.7571, + 362, + 12.6613, + 61, + 0 + ], + [ + 2.5815, + 423, + 24.3079, + 61, + 0 + ], + [ + 26.8894, + 423, + 18.6481, + 61, + 0 + ], + [ + 45.5375, + 423, + 23.5628, + 61, + 0 + ], + [ + 69.1003, + 423, + 15.6568, + 61, + 0 + ], + [ + 84.7571, + 423, + 12.6613, + 61, + 0 + ] + ] + }, + "1280": { + "name": "users", + "viewportWidth": 996, + "width": 996, + "height": 505, + "bones": [ + [ + 0, + 0, + 9.3656, + 26, + 8 + ], + [ + 0, + 30, + 9.3656, + 21, + 8 + ], + [ + 86.5446, + 10, + 13.4554, + 32, + 8 + ], + [ + 0, + 67, + 100, + 438, + 10, + true + ], + [ + 1.9076, + 86, + 96.1847, + 36, + 8 + ], + [ + 1.9076, + 138, + 25.3655, + 38, + 0 + ], + [ + 27.2732, + 138, + 20.4302, + 38, + 0 + ], + [ + 47.7033, + 138, + 22.8571, + 38, + 0 + ], + [ + 70.5604, + 138, + 15.9011, + 38, + 0 + ], + [ + 86.4615, + 138, + 11.6309, + 38, + 0 + ], + [ + 1.9076, + 176, + 25.3655, + 62, + 0 + ], + [ + 27.2732, + 176, + 20.4302, + 62, + 0 + ], + [ + 47.7033, + 176, + 22.8571, + 62, + 0 + ], + [ + 70.5604, + 176, + 15.9011, + 62, + 0 + ], + [ + 86.4615, + 176, + 11.6309, + 62, + 0 + ], + [ + 1.9076, + 238, + 25.3655, + 62, + 0 + ], + [ + 27.2732, + 238, + 20.4302, + 62, + 0 + ], + [ + 47.7033, + 238, + 22.8571, + 62, + 0 + ], + [ + 70.5604, + 238, + 15.9011, + 62, + 0 + ], + [ + 86.4615, + 238, + 11.6309, + 62, + 0 + ], + [ + 1.9076, + 300, + 25.3655, + 62, + 0 + ], + [ + 27.2732, + 300, + 20.4302, + 62, + 0 + ], + [ + 47.7033, + 300, + 22.8571, + 62, + 0 + ], + [ + 70.5604, + 300, + 15.9011, + 62, + 0 + ], + [ + 86.4615, + 300, + 11.6309, + 62, + 0 + ], + [ + 1.9076, + 362, + 25.3655, + 62, + 0 + ], + [ + 27.2732, + 362, + 20.4302, + 62, + 0 + ], + [ + 47.7033, + 362, + 22.8571, + 62, + 0 + ], + [ + 70.5604, + 362, + 15.9011, + 62, + 0 + ], + [ + 86.4615, + 362, + 11.6309, + 62, + 0 + ], + [ + 1.9076, + 424, + 25.3655, + 62, + 0 + ], + [ + 27.2732, + 424, + 20.4302, + 62, + 0 + ], + [ + 47.7033, + 424, + 22.8571, + 62, + 0 + ], + [ + 70.5604, + 424, + 15.9011, + 62, + 0 + ], + [ + 86.4615, + 424, + 11.6309, + 62, + 0 + ] + ] + } + }, + "_hash": "53e8df6c8f8bf975b3b88bfca3bbd804" +} \ No newline at end of file diff --git a/src/admin/bones/vehicles.bones.json b/src/admin/bones/vehicles.bones.json new file mode 100644 index 0000000..3c9bbae --- /dev/null +++ b/src/admin/bones/vehicles.bones.json @@ -0,0 +1,746 @@ +{ + "breakpoints": { + "375": { + "name": "vehicles", + "viewportWidth": 351, + "width": 351, + "height": 530, + "bones": [ + [ + 0, + 0, + 100, + 22, + 8 + ], + [ + 0, + 34, + 100, + 44, + 8 + ], + [ + 0, + 94, + 100, + 436, + 10, + true + ], + [ + 3.7037, + 107, + 92.5926, + 44, + 8 + ], + [ + 3.7037, + 167, + 23.9583, + 31, + 0 + ], + [ + 27.662, + 167, + 24.4168, + 31, + 0 + ], + [ + 52.0789, + 167, + 29.042, + 31, + 0 + ], + [ + 81.1209, + 167, + 18.8435, + 31, + 0 + ], + [ + 99.9644, + 167, + 46.1895, + 31, + 0 + ], + [ + 3.7037, + 197, + 23.9583, + 61, + 0 + ], + [ + 27.662, + 197, + 24.4168, + 61, + 0 + ], + [ + 52.0789, + 197, + 29.042, + 61, + 0 + ], + [ + 81.1209, + 197, + 18.8435, + 61, + 0 + ], + [ + 99.9644, + 197, + 46.1895, + 61, + 0 + ], + [ + 3.7037, + 258, + 23.9583, + 61, + 0 + ], + [ + 27.662, + 258, + 24.4168, + 61, + 0 + ], + [ + 52.0789, + 258, + 29.042, + 61, + 0 + ], + [ + 81.1209, + 258, + 18.8435, + 61, + 0 + ], + [ + 99.9644, + 258, + 46.1895, + 61, + 0 + ], + [ + 3.7037, + 319, + 23.9583, + 61, + 0 + ], + [ + 27.662, + 319, + 24.4168, + 61, + 0 + ], + [ + 52.0789, + 319, + 29.042, + 61, + 0 + ], + [ + 81.1209, + 319, + 18.8435, + 61, + 0 + ], + [ + 99.9644, + 319, + 46.1895, + 61, + 0 + ], + [ + 3.7037, + 380, + 23.9583, + 61, + 0 + ], + [ + 27.662, + 380, + 24.4168, + 61, + 0 + ], + [ + 52.0789, + 380, + 29.042, + 61, + 0 + ], + [ + 81.1209, + 380, + 18.8435, + 61, + 0 + ], + [ + 99.9644, + 380, + 46.1895, + 61, + 0 + ], + [ + 3.7037, + 441, + 23.9583, + 61, + 0 + ], + [ + 27.662, + 441, + 24.4168, + 61, + 0 + ], + [ + 52.0789, + 441, + 29.042, + 61, + 0 + ], + [ + 81.1209, + 441, + 18.8435, + 61, + 0 + ], + [ + 99.9644, + 441, + 46.1895, + 61, + 0 + ] + ] + }, + "768": { + "name": "vehicles", + "viewportWidth": 736, + "width": 736, + "height": 495, + "bones": [ + [ + 0, + 7, + 10.1478, + 26, + 8 + ], + [ + 82.6427, + 0, + 17.3573, + 44, + 8 + ], + [ + 0, + 60, + 100, + 435, + 10, + true + ], + [ + 2.5815, + 79, + 94.837, + 44, + 8 + ], + [ + 2.5815, + 139, + 16.4126, + 33, + 0 + ], + [ + 18.9941, + 139, + 16.5039, + 33, + 0 + ], + [ + 35.498, + 139, + 19.5058, + 33, + 0 + ], + [ + 55.0038, + 139, + 12.8843, + 33, + 0 + ], + [ + 67.8881, + 139, + 29.5304, + 33, + 0 + ], + [ + 2.5815, + 172, + 16.4126, + 61, + 0 + ], + [ + 18.9941, + 172, + 16.5039, + 61, + 0 + ], + [ + 35.498, + 172, + 19.5058, + 61, + 0 + ], + [ + 55.0038, + 172, + 12.8843, + 61, + 0 + ], + [ + 67.8881, + 172, + 29.5304, + 61, + 0 + ], + [ + 2.5815, + 233, + 16.4126, + 61, + 0 + ], + [ + 18.9941, + 233, + 16.5039, + 61, + 0 + ], + [ + 35.498, + 233, + 19.5058, + 61, + 0 + ], + [ + 55.0038, + 233, + 12.8843, + 61, + 0 + ], + [ + 67.8881, + 233, + 29.5304, + 61, + 0 + ], + [ + 2.5815, + 294, + 16.4126, + 61, + 0 + ], + [ + 18.9941, + 294, + 16.5039, + 61, + 0 + ], + [ + 35.498, + 294, + 19.5058, + 61, + 0 + ], + [ + 55.0038, + 294, + 12.8843, + 61, + 0 + ], + [ + 67.8881, + 294, + 29.5304, + 61, + 0 + ], + [ + 2.5815, + 355, + 16.4126, + 61, + 0 + ], + [ + 18.9941, + 355, + 16.5039, + 61, + 0 + ], + [ + 35.498, + 355, + 19.5058, + 61, + 0 + ], + [ + 55.0038, + 355, + 12.8843, + 61, + 0 + ], + [ + 67.8881, + 355, + 29.5304, + 61, + 0 + ], + [ + 2.5815, + 416, + 16.4126, + 61, + 0 + ], + [ + 18.9941, + 416, + 16.5039, + 61, + 0 + ], + [ + 35.498, + 416, + 19.5058, + 61, + 0 + ], + [ + 55.0038, + 416, + 12.8843, + 61, + 0 + ], + [ + 67.8881, + 416, + 29.5304, + 61, + 0 + ] + ] + }, + "1280": { + "name": "vehicles", + "viewportWidth": 996, + "width": 996, + "height": 451, + "bones": [ + [ + 0, + 1, + 7.4987, + 26, + 8 + ], + [ + 87.5753, + 0, + 12.4247, + 32, + 8 + ], + [ + 0, + 48, + 100, + 403, + 10, + true + ], + [ + 1.9076, + 67, + 96.1847, + 36, + 8 + ], + [ + 1.9076, + 119, + 18.3531, + 38, + 0 + ], + [ + 20.2607, + 119, + 18.2762, + 38, + 0 + ], + [ + 38.537, + 119, + 21.1785, + 38, + 0 + ], + [ + 59.7154, + 119, + 14.7841, + 38, + 0 + ], + [ + 74.4996, + 119, + 23.5928, + 38, + 0 + ], + [ + 1.9076, + 157, + 18.3531, + 55, + 0 + ], + [ + 20.2607, + 157, + 18.2762, + 55, + 0 + ], + [ + 38.537, + 157, + 21.1785, + 55, + 0 + ], + [ + 59.7154, + 157, + 14.7841, + 55, + 0 + ], + [ + 74.4996, + 157, + 23.5928, + 55, + 0 + ], + [ + 1.9076, + 212, + 18.3531, + 55, + 0 + ], + [ + 20.2607, + 212, + 18.2762, + 55, + 0 + ], + [ + 38.537, + 212, + 21.1785, + 55, + 0 + ], + [ + 59.7154, + 212, + 14.7841, + 55, + 0 + ], + [ + 74.4996, + 212, + 23.5928, + 55, + 0 + ], + [ + 1.9076, + 267, + 18.3531, + 55, + 0 + ], + [ + 20.2607, + 267, + 18.2762, + 55, + 0 + ], + [ + 38.537, + 267, + 21.1785, + 55, + 0 + ], + [ + 59.7154, + 267, + 14.7841, + 55, + 0 + ], + [ + 74.4996, + 267, + 23.5928, + 55, + 0 + ], + [ + 1.9076, + 322, + 18.3531, + 55, + 0 + ], + [ + 20.2607, + 322, + 18.2762, + 55, + 0 + ], + [ + 38.537, + 322, + 21.1785, + 55, + 0 + ], + [ + 59.7154, + 322, + 14.7841, + 55, + 0 + ], + [ + 74.4996, + 322, + 23.5928, + 55, + 0 + ], + [ + 1.9076, + 377, + 18.3531, + 55, + 0 + ], + [ + 20.2607, + 377, + 18.2762, + 55, + 0 + ], + [ + 38.537, + 377, + 21.1785, + 55, + 0 + ], + [ + 59.7154, + 377, + 14.7841, + 55, + 0 + ], + [ + 74.4996, + 377, + 23.5928, + 55, + 0 + ] + ] + } + }, + "_hash": "567bad6080dc9ba9767c6e40a88559b9" +} \ No newline at end of file diff --git a/src/admin/components/ProjectFileManager.tsx b/src/admin/components/ProjectFileManager.tsx index 9b537c9..14bc173 100644 --- a/src/admin/components/ProjectFileManager.tsx +++ b/src/admin/components/ProjectFileManager.tsx @@ -1,7 +1,11 @@ -import { useState, useEffect, useRef, useCallback } from "react"; +import { useState, useRef } from "react"; +import { useQuery, useQueryClient } from "@tanstack/react-query"; +import { projectFilesOptions } from "../lib/queries/projects"; import { useAlert } from "../context/AlertContext"; import ConfirmModal from "./ConfirmModal"; import apiFetch from "../utils/api"; +import { Skeleton } from "boneyard-js/react"; +import ProjectFileManagerFixture from "../fixtures/ProjectFileManagerFixture"; const API_BASE = "/api/admin"; @@ -196,14 +200,11 @@ export default function ProjectFileManager({ hasNasFolder, }: ProjectFileManagerProps) { const alert = useAlert(); + const queryClient = useQueryClient(); const fileInputRef = useRef(null); const isCancelling = useRef(false); - const [items, setItems] = useState([]); - const [loading, setLoading] = useState(true); const [currentPath, setCurrentPath] = useState(""); - const [breadcrumb, setBreadcrumb] = useState([""]); - const [fullPath, setFullPath] = useState(""); const [dragOver, setDragOver] = useState(false); const [uploading, setUploading] = useState(false); @@ -217,59 +218,25 @@ export default function ProjectFileManager({ const [deleteTarget, setDeleteTarget] = useState(null); const [deleting, setDeleting] = useState(false); - const [errorMessage, setErrorMessage] = useState(null); const canManage = hasPermission("projects.files"); - const fetchFiles = useCallback( - async (path = "", options: { ignore?: boolean } = {}) => { - setLoading(true); - setErrorMessage(null); - try { - const params = new URLSearchParams({ project_id: String(projectId) }); - if (path) { - params.set("path", path); - } - const res = await apiFetch(`${API_BASE}/project-files?${params}`); - if (options.ignore) return; - if (res.status === 401) return; - const data = await res.json(); - if (data.success) { - setItems(data.data.items || []); - setBreadcrumb(data.data.breadcrumb || [""]); - setCurrentPath(data.data.path || ""); - setFullPath(data.data.full_path || ""); - } else if (res.status === 404) { - setItems([]); - setBreadcrumb([""]); - } else { - setErrorMessage(data.error || "Nepodařilo se načíst soubory"); - } - } catch { - if (!options.ignore) { - setErrorMessage("Chyba připojení"); - } - } finally { - if (!options.ignore) { - setLoading(false); - } - } - }, - [projectId], - ); - - useEffect(() => { - const opts = { ignore: false }; - fetchFiles("", opts); - return () => { - opts.ignore = true; - }; - }, [fetchFiles]); + const { + data: filesData, + isPending: filesLoading, + error: filesError, + } = useQuery(projectFilesOptions(projectId, currentPath)); + const items = filesData?.items ?? []; + const breadcrumb = filesData?.breadcrumb ?? [""]; + const fullPath = filesData?.full_path ?? ""; + const errorMessage = filesError + ? filesError.message || "Nepodařilo se načíst soubory" + : null; const navigateTo = (path: string) => { setNewFolderMode(false); setRenamingItem(null); - fetchFiles(path); + setCurrentPath(path); }; const handleBreadcrumbClick = (index: number) => { @@ -332,7 +299,9 @@ export default function ProjectFileManager({ ? "Soubor byl nahrán" : `Nahráno ${successCount} souborů`; alert.success(msg); - fetchFiles(currentPath); + queryClient.invalidateQueries({ + queryKey: ["projects", String(projectId), "files"], + }); } if (errorMsg) { alert.error(errorMsg); @@ -383,7 +352,9 @@ export default function ProjectFileManager({ alert.success("Složka byla vytvořena"); setNewFolderMode(false); setNewFolderName(""); - fetchFiles(currentPath); + queryClient.invalidateQueries({ + queryKey: ["projects", String(projectId), "files"], + }); } else { alert.error(data.error || "Nepodařilo se vytvořit složku"); } @@ -444,7 +415,9 @@ export default function ProjectFileManager({ ? "Složka byla smazána" : "Soubor byl smazán", ); - fetchFiles(currentPath); + queryClient.invalidateQueries({ + queryKey: ["projects", String(projectId), "files"], + }); } else { alert.error(data.error || "Nepodařilo se smazat"); } @@ -479,7 +452,9 @@ export default function ProjectFileManager({ const data = await res.json(); if (data.success) { alert.success("Přejmenováno"); - fetchFiles(currentPath); + queryClient.invalidateQueries({ + queryKey: ["projects", String(projectId), "files"], + }); } else { alert.error(data.error || "Nepodařilo se přejmenovat"); } @@ -495,32 +470,15 @@ export default function ProjectFileManager({ setRenameValue(item.name); }; - if (loading && items.length === 0 && !errorMessage) { + if (filesLoading && items.length === 0 && !errorMessage) { return ( -
-
-

Soubory

-
- {[0, 1, 2, 3].map((i) => ( -
-
-
-
- ))} -
-
-
+ } + > +
+ ); } @@ -710,7 +668,7 @@ export default function ProjectFileManager({
)} - {items.length === 0 && !loading ? ( + {items.length === 0 && !filesLoading ? (
([]); - const [sessionsLoading, setSessionsLoading] = useState(true); + const { data: sessions = [], isPending: sessionsLoading } = + useQuery(sessionsOptions()); const [deleteModal, setDeleteModal] = useState({ isOpen: false, session: null, @@ -89,26 +80,6 @@ export default function DashSessions() { useModalLock(deleteAllModal); - const fetchSessions = useCallback(async () => { - try { - const response = await apiFetch(`${API_BASE}/sessions`); - const data = await response.json(); - if (data.success) { - setSessions( - Array.isArray(data.data) ? data.data : data.data?.sessions || [], - ); - } - } catch { - // session fetch failed silently - } finally { - setSessionsLoading(false); - } - }, []); - - useEffect(() => { - fetchSessions(); - }, [fetchSessions]); - const handleDeleteSession = async () => { if (!deleteModal.session) { return; @@ -122,7 +93,7 @@ export default function DashSessions() { const data = await response.json(); if (data.success) { setDeleteModal({ isOpen: false, session: null }); - setSessions((prev) => prev.filter((s) => s.id !== sessionId)); + queryClient.invalidateQueries({ queryKey: ["sessions"] }); alert.success("Relace byla ukončena"); } else { alert.error(data.error || "Nepodařilo se ukončit relaci"); @@ -143,7 +114,7 @@ export default function DashSessions() { const data = await response.json(); if (data.success) { setDeleteAllModal(false); - setSessions((prev) => prev.filter((s) => s.is_current)); + queryClient.invalidateQueries({ queryKey: ["sessions"] }); alert.success(data.message || "Ostatní relace byly ukončeny"); } else { alert.error(data.error || "Nepodařilo se ukončit relace"); @@ -183,98 +154,84 @@ export default function DashSessions() { )}
- {sessionsLoading && ( -
- {[0, 1, 2].map((i) => ( -
-
-
-
-
-
-
- ))} -
- )} - {!sessionsLoading && sessions.length === 0 && ( -
- Žádné aktivní relace -
- )} - {!sessionsLoading && sessions.length > 0 && ( -
- {sessions.map((session) => ( + } + > + <> + {sessions.length === 0 && (
-
- {getDeviceIcon(session.device_info?.icon)} -
-
-
- {session.device_info?.browser} na{" "} - {session.device_info?.os} - {session.is_current && ( - - Aktuální - - )} -
-
- {session.ip_address} - | - {formatSessionDate(session.created_at)} -
-
-
- {!session.is_current && ( - - )} -
+ Žádné aktivní relace
- ))} -
- )} + )} + {sessions.length > 0 && ( +
+ {sessions.map((session) => ( +
+
+ {getDeviceIcon(session.device_info?.icon)} +
+
+
+ {session.device_info?.browser} na{" "} + {session.device_info?.os} + {session.is_current && ( + + Aktuální + + )} +
+
+ {session.ip_address} + | + {formatSessionDate(session.created_at)} +
+
+
+ {!session.is_current && ( + + )} +
+
+ ))} +
+ )} + +
diff --git a/src/admin/fixtures/AttendanceAdminFixture.tsx b/src/admin/fixtures/AttendanceAdminFixture.tsx new file mode 100644 index 0000000..978ef6c --- /dev/null +++ b/src/admin/fixtures/AttendanceAdminFixture.tsx @@ -0,0 +1,69 @@ +export default function AttendanceAdminFixture() { + return ( +
+
+
+

Správa docházky

+
+
+ + +
+
+
+
+
+ + +
+
+
+
+ {Array.from({ length: 3 }, (_, i) => ( +
+
+
+ Jan Novák + + ✗ + +
+
8:00
+
odpracováno
+
+
+ ))} +
+
+
+
+ + + + + + + + + + + {Array.from({ length: 4 }, (_, i) => ( + + + + + + + ))} + +
DatumPříchodOdchodHodiny
1. 4. 202508:0016:008:00
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/AttendanceBalancesFixture.tsx b/src/admin/fixtures/AttendanceBalancesFixture.tsx new file mode 100644 index 0000000..357b512 --- /dev/null +++ b/src/admin/fixtures/AttendanceBalancesFixture.tsx @@ -0,0 +1,104 @@ +export default function AttendanceBalancesFixture() { + return ( +
+
+
+

Správa bilancí

+
+
+ +
+
+
+
+
+ + + + + + + + + + + + + {Array.from({ length: 4 }, (_, i) => ( + + + + + + + + + ))} + +
ZaměstnanecNárok (h)Čerpáno (h)Zbývá (h)Nemoc (h)Akce
Jan Novák16040.0120.08.0 +
+ +
+
+
+
+
+
+

+ Měsíční přehled fondu 2025 +

+
+ {Array.from({ length: 3 }, (_, i) => ( +
+
+

+ Duben +

+
+
+ Jan Novák + 8h +
+
+
+
+
+
+
+ ))} +
+
+
+ ); +} diff --git a/src/admin/fixtures/AttendanceCreateFixture.tsx b/src/admin/fixtures/AttendanceCreateFixture.tsx new file mode 100644 index 0000000..195613e --- /dev/null +++ b/src/admin/fixtures/AttendanceCreateFixture.tsx @@ -0,0 +1,43 @@ +export default function AttendanceCreateFixture() { + return ( +
+
+

Zapsat docházku

+
+
+
+ + + + + + + + + + + + + +
+
+
+ ); +} + +function FormField({ + label, + children, +}: { + label: string; + children: React.ReactNode; +}) { + return ( +
+ + {children} +
+ ); +} diff --git a/src/admin/fixtures/AttendanceFixture.tsx b/src/admin/fixtures/AttendanceFixture.tsx new file mode 100644 index 0000000..e0c11e2 --- /dev/null +++ b/src/admin/fixtures/AttendanceFixture.tsx @@ -0,0 +1,79 @@ +export default function AttendanceFixture() { + return ( +
+
+
+

Docházka

+

pondělí 28. dubna 2025

+
+
+
+
+
+
+
+ + Nepracuji +
+
08:30
+
+
+ + +
+
+
+
+
+

Dovolená 2025

+
+ 12 + dnů +
+
+ Celkem: 160h + Čerpáno: 64h +
+
+
+
+
+
+
+ + + +
+
+ Nemoc 2025 + 16h čerpáno +
+
+ +
+
+
+ ); +} diff --git a/src/admin/fixtures/AttendanceHistoryFixture.tsx b/src/admin/fixtures/AttendanceHistoryFixture.tsx new file mode 100644 index 0000000..ce85cc2 --- /dev/null +++ b/src/admin/fixtures/AttendanceHistoryFixture.tsx @@ -0,0 +1,102 @@ +export default function AttendanceHistoryFixture() { + return ( +
+
+
+

Historie docházky

+

duben 2025

+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+
+
+ + + + + + +
+
+
+ Fond: 120h / 160h + + 20 prac. dnů + +
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + {Array.from({ length: 5 }, (_, i) => ( + + + + + + + + + ))} + +
DatumTypPříchodPauzaOdchodHodiny
1. 4. 2025 + + Práce + + 08:0012:00 – 12:3016:308:00
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/AttendanceLocationFixture.tsx b/src/admin/fixtures/AttendanceLocationFixture.tsx new file mode 100644 index 0000000..cad51b4 --- /dev/null +++ b/src/admin/fixtures/AttendanceLocationFixture.tsx @@ -0,0 +1,49 @@ +export default function AttendanceLocationFixture() { + return ( +
+
+
+ + + + +

Lokace

+
+
+
+
+
+
+
+
+

Poloha

+

50.0755° N, 14.4378° E

+

Praha, Česká republika

+
+
+
+
+

Čas záznamu

+

1. 1. 2024 08:00

+

Přesnost: 10 m

+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/AuditLogFixture.tsx b/src/admin/fixtures/AuditLogFixture.tsx new file mode 100644 index 0000000..cc29e55 --- /dev/null +++ b/src/admin/fixtures/AuditLogFixture.tsx @@ -0,0 +1,52 @@ +export default function AuditLogFixture() { + return ( +
+
+
+

Audit log

+

Záznam změn v systému

+
+
+
+
+
+ + +
+
+ + + + + + + + + + + + {Array.from({ length: 5 }, (_, i) => ( + + + + + + + + ))} + +
ČasUživatelAkceEntitaDetail
1. 1. 2024 10:00admin + + Vytvoření + + FakturaNová faktura FV-2024-001
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/CompanySettingsFixture.tsx b/src/admin/fixtures/CompanySettingsFixture.tsx new file mode 100644 index 0000000..dcb014b --- /dev/null +++ b/src/admin/fixtures/CompanySettingsFixture.tsx @@ -0,0 +1,69 @@ +export default function CompanySettingsFixture() { + return ( +
+
+
+

Nastavení firmy

+

Firemní údaje a bankovní účty

+
+ +
+
+
+
+

Firemní údaje

+
+
+
+ + +
+ + + + +
+
+
+
+
+
+

Bankovní účty

+
+
+
+ + + + + + + + + + + + + + + + + +
NázevBankaČíslo účtuMěna
Hlavní účetČSOB123456/0300CZK
+
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/DashSessionsFixture.tsx b/src/admin/fixtures/DashSessionsFixture.tsx new file mode 100644 index 0000000..1f28568 --- /dev/null +++ b/src/admin/fixtures/DashSessionsFixture.tsx @@ -0,0 +1,63 @@ +export default function DashSessionsFixture() { + return ( +
+
+

Přihlášená zařízení

+ +
+
+
+ {Array.from({ length: 3 }, (_, i) => ( +
+
+ + + + + +
+
+
+ Chrome na Windows + {i === 0 && ( + + Aktuální + + )} +
+
+ 192.168.1.100 + | + před 2 hodinami +
+
+
+ ))} +
+
+
+ ); +} diff --git a/src/admin/fixtures/DashboardFixture.tsx b/src/admin/fixtures/DashboardFixture.tsx new file mode 100644 index 0000000..eddd2af --- /dev/null +++ b/src/admin/fixtures/DashboardFixture.tsx @@ -0,0 +1,94 @@ +export default function DashboardFixture() { + return ( +
+
+
+

Dashboard

+

Přehled

+
+
+
+ {["Nabídky", "Objednávky", "Faktury", "Projekty"].map((label, i) => ( +
+
+ {label} +
+
12
+
tento měsíc
+
+ ))} +
+
+ {["Nová nabídka", "Nová faktura", "Zapsat docházku"].map((label, i) => ( + + ))} +
+
+
+
+

Docházka dnes

+
+
+
+
+
+
+

Aktivita

+
+
+
+
+

Profil

+
+
+
+
+
+
+
+

Relace

+
+
+
+
+

Poslední aktivity

+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/InvoiceDetailFixture.tsx b/src/admin/fixtures/InvoiceDetailFixture.tsx new file mode 100644 index 0000000..a7def61 --- /dev/null +++ b/src/admin/fixtures/InvoiceDetailFixture.tsx @@ -0,0 +1,86 @@ +export default function InvoiceDetailFixture() { + return ( +
+
+
+ + + + + +
+

FV-2024-001

+
+
+
+ + + +
+
+
+
+
+
+ +
Firma s.r.o.
+
+
+ + + Vystavena + +
+
+ +
1. 1. 2024
+
+
+ +
15. 1. 2024
+
+
+
+
+
+
+

Položky

+ + + + + + + + + + + {Array.from({ length: 3 }, (_, i) => ( + + + + + + + ))} + +
PoložkaMnožstvíCenaCelkem
Služba {i + 1}110 000 Kč10 000 Kč
+
+
+
+ ); +} diff --git a/src/admin/fixtures/InvoicesFixture.tsx b/src/admin/fixtures/InvoicesFixture.tsx new file mode 100644 index 0000000..ddf4ad4 --- /dev/null +++ b/src/admin/fixtures/InvoicesFixture.tsx @@ -0,0 +1,83 @@ +export default function InvoicesFixture() { + return ( +
+
+
+

Faktury

+

15 faktur

+
+
+
+ {["Vystaveno", "Zaplaceno", "Po splatnosti", "Celkem"].map( + (label, i) => ( +
+
+ {label} +
+
+ {i * 5 + 3} +
+
+ ), + )} +
+
+
+
+ +
+
+ + + + + + + + + + + + + {Array.from({ length: 5 }, (_, i) => ( + + + + + + + + + ))} + +
ČísloZákazníkStavDatumČástkaAkce
FV-2024-00{i + 1}Firma s.r.o. + + Vystaveno + + 1. 1. 202450 000 Kč +
+ +
+
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/LeaveApprovalFixture.tsx b/src/admin/fixtures/LeaveApprovalFixture.tsx new file mode 100644 index 0000000..3acc40b --- /dev/null +++ b/src/admin/fixtures/LeaveApprovalFixture.tsx @@ -0,0 +1,51 @@ +export default function LeaveApprovalFixture() { + return ( +
+
+
+

Schvalování dovolené

+

2 čekající

+
+
+
+
+
+ + + + + + + + + + + + + {Array.from({ length: 3 }, (_, i) => ( + + + + + + + + + ))} + +
UživatelTypOdDoDníAkce
Jan NovákDovolená1. 7. 20245. 7. 20245 +
+ + +
+
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/LeaveRequestsFixture.tsx b/src/admin/fixtures/LeaveRequestsFixture.tsx new file mode 100644 index 0000000..fe329d2 --- /dev/null +++ b/src/admin/fixtures/LeaveRequestsFixture.tsx @@ -0,0 +1,53 @@ +export default function LeaveRequestsFixture() { + return ( +
+
+
+

Žádosti o dovolenou

+

3 žádosti

+
+ +
+
+
+
+ + + + + + + + + + + + + + {Array.from({ length: 3 }, (_, i) => ( + + + + + + + + + + ))} + +
UživatelTypOdDoDníStavAkce
Jan NovákDovolená1. 7. 20245. 7. 20245 + + Čeká + + +
+ +
+
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/OfferDetailFixture.tsx b/src/admin/fixtures/OfferDetailFixture.tsx new file mode 100644 index 0000000..70900a5 --- /dev/null +++ b/src/admin/fixtures/OfferDetailFixture.tsx @@ -0,0 +1,60 @@ +export default function OfferDetailFixture() { + return ( +
+
+ +

NAB-2024-001

+ +
+
+
+
+
+ +
NAB-2024-001
+
+
+ +
Firma s.r.o.
+
+
+ +
1. 1. 2024
+
+
+ +
31. 1. 2024
+
+
+ + + + + + + + + + + {Array.from({ length: 3 }, (_, i) => ( + + + + + + + ))} + +
PoložkaMnožstvíCenaCelkem
Položka {i + 1}110 000 Kč10 000 Kč
+
+
+
+ ); +} diff --git a/src/admin/fixtures/OffersCustomersFixture.tsx b/src/admin/fixtures/OffersCustomersFixture.tsx new file mode 100644 index 0000000..8127a1b --- /dev/null +++ b/src/admin/fixtures/OffersCustomersFixture.tsx @@ -0,0 +1,49 @@ +export default function OffersCustomersFixture() { + return ( +
+
+
+

Zákazníci

+

8 zákazníků

+
+ +
+
+
+
+ +
+
+ + + + + + + + + + + {Array.from({ length: 5 }, (_, i) => ( + + + + + + + ))} + +
NázevMěstoIČOAkce
Firma s.r.o.Praha12345678 +
+ + +
+
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/OffersFixture.tsx b/src/admin/fixtures/OffersFixture.tsx new file mode 100644 index 0000000..e5c371d --- /dev/null +++ b/src/admin/fixtures/OffersFixture.tsx @@ -0,0 +1,54 @@ +export default function OffersFixture() { + return ( +
+
+
+

Nabídky

+

12 nabídek

+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + {Array.from({ length: 5 }, (_, i) => ( + + + + + + + + + ))} + +
ČísloZákazníkStavDatumCelkemAkce
NAB-2024-00{i + 1}Firma s.r.o. + + Aktivní + + 1. 1. 2024100 000 Kč +
+ + +
+
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/OffersTemplatesFixture.tsx b/src/admin/fixtures/OffersTemplatesFixture.tsx new file mode 100644 index 0000000..279d4a3 --- /dev/null +++ b/src/admin/fixtures/OffersTemplatesFixture.tsx @@ -0,0 +1,36 @@ +export default function OffersTemplatesFixture() { + return ( +
+
+
+ +
+
+ + + + + + + + + + {Array.from({ length: 5 }, (_, i) => ( + + + + + + ))} + +
NázevCenaAkce
Šablona {i + 1}1 000 Kč +
+ + +
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/OrderDetailFixture.tsx b/src/admin/fixtures/OrderDetailFixture.tsx new file mode 100644 index 0000000..3108b31 --- /dev/null +++ b/src/admin/fixtures/OrderDetailFixture.tsx @@ -0,0 +1,89 @@ +export default function OrderDetailFixture() { + return ( +
+
+
+ + + + + +
+

OBJ-2024-001

+
+
+
+ + +
+
+
+
+
+
+ +
Firma s.r.o.
+
+
+ + + V realizaci + +
+
+ +
1. 1. 2024
+
+
+ +
50 000 Kč
+
+
+
+
+
+
+

Položky

+ + + + + + + + + + + {Array.from({ length: 3 }, (_, i) => ( + + + + + + + ))} + +
PoložkaMnožstvíCenaCelkem
Položka {i + 1}110 000 Kč10 000 Kč
+
+
+
+ ); +} diff --git a/src/admin/fixtures/OrdersFixture.tsx b/src/admin/fixtures/OrdersFixture.tsx new file mode 100644 index 0000000..c25183c --- /dev/null +++ b/src/admin/fixtures/OrdersFixture.tsx @@ -0,0 +1,55 @@ +export default function OrdersFixture() { + return ( +
+
+
+

Objednávky

+

8 objednávek

+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + {Array.from({ length: 5 }, (_, i) => ( + + + + + + + + + + ))} + +
ČísloNabídkaZákazníkStavDatumCelkemAkce
OBJ-2024-00{i + 1}NAB-2024-00{i + 1}Firma s.r.o. + + V realizaci + + 1. 1. 202450 000 Kč +
+ +
+
+
+
+
+
+ ); +} diff --git a/src/admin/fixtures/ProjectDetailFixture.tsx b/src/admin/fixtures/ProjectDetailFixture.tsx new file mode 100644 index 0000000..6bc95d3 --- /dev/null +++ b/src/admin/fixtures/ProjectDetailFixture.tsx @@ -0,0 +1,70 @@ +export default function ProjectDetailFixture() { + return ( +
+
+
+ + + + + +
+

PRJ-001 Projekt Alpha

+
+
+
+ + +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+
+

Poznámky

+