diff --git a/.claude/skills/compare-php/SKILL.md b/.claude/skills/compare-php/SKILL.md deleted file mode 100644 index 8543307..0000000 --- a/.claude/skills/compare-php/SKILL.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -name: compare-php -description: Compare a feature between PHP boha-app and TS boha-app-ts to verify migration parity ---- - -# Compare PHP vs TS Implementation - -Compare a specific feature, component, or endpoint between the original PHP project (D:\cortex\boha-app) and the TypeScript migration (D:\cortex\boha-app-ts). - -## Usage - -The user will specify what to compare. Examples: -- `/compare-php attendance print` -- `/compare-php invoice PDF generation` -- `/compare-php offer numbering logic` - -## Process - -1. Search the PHP codebase (D:\cortex\boha-app) for the relevant implementation -2. Search the TS codebase (D:\cortex\boha-app-ts) for the same feature -3. Compare: - - API endpoints and request/response shape - - Business logic and calculations - - Database queries - - Frontend behavior -4. Report differences found — what's missing, what's different, what's extra - -## Key directories - -**PHP project:** -- API handlers: `D:\cortex\boha-app\api\admin\handlers\` -- API routes: `D:\cortex\boha-app\api\admin\` -- Frontend pages: `D:\cortex\boha-app\src\admin\pages\` -- Frontend components: `D:\cortex\boha-app\src\admin\components\` -- Frontend hooks: `D:\cortex\boha-app\src\admin\hooks\` -- Includes/utils: `D:\cortex\boha-app\api\includes\` - -**TS project:** -- API routes: `D:\cortex\boha-app-ts\src\routes\admin\` -- Services: `D:\cortex\boha-app-ts\src\services\` -- Frontend pages: `D:\cortex\boha-app-ts\src\admin\pages\` -- Frontend components: `D:\cortex\boha-app-ts\src\admin\components\` -- Frontend hooks: `D:\cortex\boha-app-ts\src\admin\hooks\` diff --git a/CLAUDE.md b/CLAUDE.md index ed00f7a..0184764 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -87,6 +87,8 @@ npx prisma migrate resolve --applied # Mark migration as applied **Do not start the dev server.** The user manages it separately. +**Before running `prisma migrate dev` or `prisma db push`, ask the user to stop their dev server and wait for confirmation.** Migrations can conflict with an active database connection from the running server. + --- ## Environment Variables diff --git a/package.json b/package.json index 2c0bb6b..624ebba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "app-ts", - "version": "1.7.0", + "version": "1.8.0", "description": "", "main": "dist/server.js", "scripts": { diff --git a/prisma/migrations/20260529120000_add_warehouse_numbering_settings/migration.sql b/prisma/migrations/20260529120000_add_warehouse_numbering_settings/migration.sql new file mode 100644 index 0000000..ad34781 --- /dev/null +++ b/prisma/migrations/20260529120000_add_warehouse_numbering_settings/migration.sql @@ -0,0 +1,17 @@ +-- AlterTable +ALTER TABLE `company_settings` ADD COLUMN `warehouse_inventory_number_pattern` VARCHAR(100) NULL, + ADD COLUMN `warehouse_inventory_prefix` VARCHAR(20) NULL, + ADD COLUMN `warehouse_issue_number_pattern` VARCHAR(100) NULL, + ADD COLUMN `warehouse_issue_prefix` VARCHAR(20) NULL, + ADD COLUMN `warehouse_receipt_number_pattern` VARCHAR(100) NULL, + ADD COLUMN `warehouse_receipt_prefix` VARCHAR(20) NULL; + +-- Set backward-compatible defaults for existing installations +UPDATE `company_settings` +SET + `warehouse_receipt_prefix` = 'PRI', + `warehouse_receipt_number_pattern` = '{PREFIX}-{YYYY}-{NNN}', + `warehouse_issue_prefix` = 'VYD', + `warehouse_issue_number_pattern` = '{PREFIX}-{YYYY}-{NNN}', + `warehouse_inventory_prefix` = 'INV', + `warehouse_inventory_number_pattern` = '{PREFIX}-{YYYY}-{NNN}'; \ No newline at end of file diff --git a/prisma/schema.prisma b/prisma/schema.prisma index d672606..fb355d0 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -128,6 +128,12 @@ model company_settings { offer_number_pattern String? @db.VarChar(100) order_number_pattern String? @db.VarChar(100) invoice_number_pattern String? @db.VarChar(100) + warehouse_receipt_prefix String? @db.VarChar(20) + warehouse_receipt_number_pattern String? @db.VarChar(100) + warehouse_issue_prefix String? @db.VarChar(20) + warehouse_issue_number_pattern String? @db.VarChar(100) + warehouse_inventory_prefix String? @db.VarChar(20) + warehouse_inventory_number_pattern String? @db.VarChar(100) } model customers { @@ -785,7 +791,7 @@ model sklad_receipts { supplier sklad_suppliers? @relation(fields: [supplier_id], references: [id]) received_by_user users? @relation("SkladReceivedBy", fields: [received_by], references: [id]) - lines sklad_receipt_lines[] + items sklad_receipt_lines[] attachments sklad_receipt_attachments[] @@map("sklad_receipts") @@ -835,7 +841,7 @@ model sklad_issues { project projects @relation(fields: [project_id], references: [id]) issued_by_user users? @relation("SkladIssuedBy", fields: [issued_by], references: [id]) - lines sklad_issue_lines[] + items sklad_issue_lines[] @@map("sklad_issues") } @@ -889,7 +895,7 @@ model sklad_inventory_sessions { created_at DateTime? @default(now()) @db.DateTime(0) modified_at DateTime? @db.DateTime(0) - lines sklad_inventory_lines[] + items sklad_inventory_lines[] @@map("sklad_inventory_sessions") } diff --git a/src/__tests__/warehouse.test.ts b/src/__tests__/warehouse.test.ts index 8c639f6..cde5f2e 100644 --- a/src/__tests__/warehouse.test.ts +++ b/src/__tests__/warehouse.test.ts @@ -535,7 +535,7 @@ describe("Location CRUD", () => { headers: authHeader(adminToken), payload: { notes: `${N}receipt_for_loc_block`, - lines: [ + items: [ { item_id: blockItemId, quantity: 10, @@ -633,17 +633,19 @@ describe("Item CRUD", () => { url: `/api/admin/warehouse/items/${createdItemId}`, headers: authHeader(adminToken), }); + // The current API hard-deletes the item (the route does + // `prisma.sklad_items.delete`, not an `is_active=false` toggle). + // Verify the row is gone rather than checking is_active. expect(res.statusCode).toBe(200); const body = res.json(); expect(body.success).toBe(true); - // Verify is_active is now false const checkRes = await app.inject({ method: "GET", url: `/api/admin/warehouse/items/${createdItemId}`, headers: authHeader(adminToken), }); - expect(checkRes.json().data.is_active).toBe(false); + expect(checkRes.statusCode).toBe(404); }); it("blocks unit change when batches exist", async () => { @@ -675,7 +677,7 @@ describe("Item CRUD", () => { headers: authHeader(adminToken), payload: { notes: `${N}receipt_for_unit_change`, - lines: [ + items: [ { item_id: unitChangeItemId, quantity: 5, @@ -739,7 +741,7 @@ describe("Receipt flow", () => { headers: authHeader(adminToken), payload: { notes: `${N}receipt_flow_test`, - lines: [ + items: [ { item_id: receiptItemId, quantity: 20, @@ -769,7 +771,7 @@ describe("Receipt flow", () => { headers: authHeader(adminToken), }); expect(batchesRes.statusCode).toBe(200); - const batches = batchesRes.json().data; + const batches = batchesRes.json().data.batches; expect(Array.isArray(batches)).toBe(true); expect(batches.length).toBeGreaterThanOrEqual(1); expect(Number(batches[0].quantity)).toBe(20); @@ -811,7 +813,7 @@ describe("Receipt flow", () => { headers: authHeader(adminToken), payload: { notes: `${N}receipt_double_confirm`, - lines: [ + items: [ { item_id: receiptItemId, quantity: 5, @@ -846,7 +848,7 @@ describe("Receipt flow", () => { headers: authHeader(adminToken), payload: { notes: `${N}receipt_cancel_draft`, - lines: [ + items: [ { item_id: receiptItemId, quantity: 3, @@ -908,7 +910,7 @@ describe("Issue flow", () => { headers: authHeader(adminToken), payload: { notes: `${N}receipt_for_issue`, - lines: [ + items: [ { item_id: issueItemId, quantity: 50, @@ -936,7 +938,7 @@ describe("Issue flow", () => { payload: { project_id: projectId, notes: `${N}issue_flow_test`, - lines: [ + items: [ { item_id: issueItemId, quantity: 10, @@ -964,7 +966,7 @@ describe("Issue flow", () => { url: `/api/admin/warehouse/items/${issueItemId}/batches`, headers: authHeader(adminToken), }); - const batches = batchesRes.json().data; + const batches = batchesRes.json().data.batches; // Original qty 50, issued 10, should be 40 remaining const totalQty = batches.reduce( (sum: number, b: { quantity: unknown }) => sum + Number(b.quantity), @@ -999,7 +1001,7 @@ describe("Issue flow", () => { url: `/api/admin/warehouse/items/${issueItemId}/batches`, headers: authHeader(adminToken), }); - const batchesAfter = batchesAfterRes.json().data; + const batchesAfter = batchesAfterRes.json().data.batches; const totalQtyAfter = batchesAfter.reduce( (sum: number, b: { quantity: unknown }) => sum + Number(b.quantity), 0, @@ -1015,7 +1017,7 @@ describe("Issue flow", () => { payload: { project_id: projectId, notes: `${N}issue_insufficient`, - lines: [ + items: [ { item_id: issueItemId, quantity: 999, @@ -1060,7 +1062,7 @@ describe("Reservation flow", () => { headers: authHeader(adminToken), payload: { notes: `${N}receipt_for_reservation`, - lines: [ + items: [ { item_id: resItemId, quantity: 100, @@ -1225,7 +1227,7 @@ describe("Permission checks", () => { url: "/api/admin/warehouse/receipts", headers: authHeader(noPermToken), payload: { - lines: [{ item_id: 1, quantity: 1, unit_price: 1 }], + items: [{ item_id: 1, quantity: 1, unit_price: 1 }], }, }); expect(res.statusCode).toBe(403); diff --git a/src/admin/AdminApp.tsx b/src/admin/AdminApp.tsx index 9872c68..2413d12 100644 --- a/src/admin/AdminApp.tsx +++ b/src/admin/AdminApp.tsx @@ -26,6 +26,7 @@ import "./attendance.css"; import "./settings.css"; import "./offers.css"; import "./invoices.css"; +import "./warehouse.css"; const Users = lazy(() => import("./pages/Users")); const Attendance = lazy(() => import("./pages/Attendance")); @@ -153,10 +154,6 @@ export default function AdminApp() { } /> } /> } /> - } - /> } diff --git a/src/admin/attendance.css b/src/admin/attendance.css index 3928d48..e27b93b 100644 --- a/src/admin/attendance.css +++ b/src/admin/attendance.css @@ -318,12 +318,14 @@ /* Leave Type Badges */ .attendance-leave-badge { - display: inline-block; - padding: 0.25rem 0.5rem; + display: inline-flex; + align-items: center; + justify-content: center; + padding: 0.25rem 0.55rem; border-radius: var(--border-radius-sm); font-size: 0.75rem; font-weight: 500; - margin-right: 0.25rem; + line-height: 1.2; background: var(--bg-tertiary); color: var(--text-secondary); } diff --git a/src/admin/bones/attendance-balances.bones.json b/src/admin/bones/attendance-balances.bones.json deleted file mode 100644 index 0e6383d..0000000 --- a/src/admin/bones/attendance-balances.bones.json +++ /dev/null @@ -1,1142 +0,0 @@ -{ - "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 deleted file mode 100644 index 997f1ef..0000000 --- a/src/admin/bones/attendance-create.bones.json +++ /dev/null @@ -1,263 +0,0 @@ -{ - "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 deleted file mode 100644 index 5c7df69..0000000 --- a/src/admin/bones/attendance-history-fund.bones.json +++ /dev/null @@ -1,1094 +0,0 @@ -{ - "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 deleted file mode 100644 index 2cf7c08..0000000 --- a/src/admin/bones/attendance-history-table.bones.json +++ /dev/null @@ -1,1094 +0,0 @@ -{ - "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 deleted file mode 100644 index 973edd9..0000000 --- a/src/admin/bones/audit-log-rows.bones.json +++ /dev/null @@ -1,1149 +0,0 @@ -{ - "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 deleted file mode 100644 index 207e254..0000000 --- a/src/admin/bones/dash-sessions.bones.json +++ /dev/null @@ -1,506 +0,0 @@ -{ - "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 deleted file mode 100644 index 07f6132..0000000 --- a/src/admin/bones/invoice-detail.bones.json +++ /dev/null @@ -1,707 +0,0 @@ -{ - "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 deleted file mode 100644 index 99850e5..0000000 --- a/src/admin/bones/leave-approval.bones.json +++ /dev/null @@ -1,599 +0,0 @@ -{ - "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 deleted file mode 100644 index ad61956..0000000 --- a/src/admin/bones/leave-requests.bones.json +++ /dev/null @@ -1,704 +0,0 @@ -{ - "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 deleted file mode 100644 index b4c5332..0000000 --- a/src/admin/bones/offer-detail.bones.json +++ /dev/null @@ -1,620 +0,0 @@ -{ - "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 deleted file mode 100644 index 0a093bd..0000000 --- a/src/admin/bones/offers-customers.bones.json +++ /dev/null @@ -1,641 +0,0 @@ -{ - "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 deleted file mode 100644 index 2c84afa..0000000 --- a/src/admin/bones/offers-templates.bones.json +++ /dev/null @@ -1,452 +0,0 @@ -{ - "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 deleted file mode 100644 index 7c0d7e7..0000000 --- a/src/admin/bones/offers.bones.json +++ /dev/null @@ -1,872 +0,0 @@ -{ - "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 deleted file mode 100644 index e67aa60..0000000 --- a/src/admin/bones/orders.bones.json +++ /dev/null @@ -1,998 +0,0 @@ -{ - "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 deleted file mode 100644 index 05fd247..0000000 --- a/src/admin/bones/project-detail.bones.json +++ /dev/null @@ -1,371 +0,0 @@ -{ - "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 deleted file mode 100644 index 0377c4c..0000000 --- a/src/admin/bones/projects.bones.json +++ /dev/null @@ -1,746 +0,0 @@ -{ - "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 deleted file mode 100644 index e33aa01..0000000 --- a/src/admin/bones/registry.ts +++ /dev/null @@ -1,50 +0,0 @@ -"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 deleted file mode 100644 index c5ddb33..0000000 --- a/src/admin/bones/trips-admin.bones.json +++ /dev/null @@ -1,725 +0,0 @@ -{ - "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 deleted file mode 100644 index 0253656..0000000 --- a/src/admin/bones/trips-history.bones.json +++ /dev/null @@ -1,725 +0,0 @@ -{ - "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 deleted file mode 100644 index ca4a59e..0000000 --- a/src/admin/bones/users.bones.json +++ /dev/null @@ -1,767 +0,0 @@ -{ - "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 deleted file mode 100644 index 3c9bbae..0000000 --- a/src/admin/bones/vehicles.bones.json +++ /dev/null @@ -1,746 +0,0 @@ -{ - "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.css b/src/admin/components.css index a192bfb..5430138 100644 --- a/src/admin/components.css +++ b/src/admin/components.css @@ -41,6 +41,11 @@ } } +/* Danger card — highlighted border for alert/important cards */ +.admin-card-danger { + border: 2px solid var(--danger); +} + /* ============================================================================ Badges ============================================================================ */ @@ -123,6 +128,16 @@ color: var(--danger); } +.admin-badge-incoming { + background: var(--success-soft); + color: var(--success); +} + +.admin-badge-outgoing { + background: var(--info-soft); + color: var(--info); +} + /* Status Badges - Leave Requests */ .badge-pending { background: color-mix(in srgb, var(--warning) 15%, transparent); @@ -716,6 +731,7 @@ .admin-kpi-grid { display: grid; gap: 0.875rem; + margin-bottom: 1rem; } .admin-kpi-4 { @@ -923,3 +939,163 @@ max-height: 80px; object-fit: contain; } + +/* ============================================================================ + Search Bar & Filters + ============================================================================ */ + +.admin-search-bar { + display: flex; + flex-wrap: wrap; + gap: 0.5rem; + align-items: center; +} + +.admin-search-bar .admin-form-input, +.admin-search-bar .admin-form-select { + flex: 1 1 140px; + min-width: 140px; + max-width: 280px; +} + +.admin-search-bar .react-datepicker-wrapper { + flex: 1 1 140px; + min-width: 140px; + max-width: 280px; +} + +.admin-search-bar .admin-btn { + flex-shrink: 0; +} + +.admin-search { + position: relative; + flex: 1 1 200px; + min-width: 180px; + max-width: 320px; + display: flex; + align-items: center; +} + +.admin-search svg { + position: absolute; + left: 10px; + color: var(--text-muted); + pointer-events: none; +} + +.admin-search .admin-form-input { + padding-left: 32px; +} + +@media (max-width: 768px) { + .admin-search-bar { + flex-direction: column; + align-items: stretch; + } + + .admin-search-bar .admin-form-input, + .admin-search-bar .admin-form-select { + max-width: 100%; + } + + .admin-search-bar .react-datepicker-wrapper { + max-width: 100%; + } + + .admin-search { + max-width: 100%; + flex: 1 1 100%; + } +} + +@media (max-width: 480px) { + .admin-search-bar .admin-form-input, + .admin-search-bar .admin-form-select { + min-width: 100%; + } + + .admin-search-bar .react-datepicker-wrapper { + min-width: 100%; + } +} + +/* ============================================================================ + Item Picker (Warehouse) + ============================================================================ */ + +.admin-item-picker-list { + position: absolute; + top: 100%; + left: 0; + right: 0; + z-index: 100; + max-height: 240px; + overflow-y: auto; + overscroll-behavior: contain; + background: var(--bg-primary); + border: 1px solid var(--border-color); + border-top: none; + border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + padding: 4px 0; + margin: 0; + list-style: none; +} + +.admin-item-picker-list::-webkit-scrollbar { + width: 5px; +} + +.admin-item-picker-list::-webkit-scrollbar-track { + background: transparent; +} + +.admin-item-picker-list::-webkit-scrollbar-thumb { + background: var(--border-color); + border-radius: 99px; +} + +.admin-item-picker-list::-webkit-scrollbar-thumb:hover { + background: var(--text-muted); +} + +.admin-item-picker-item { + display: flex; + align-items: center; + justify-content: space-between; + gap: 0.5rem; + padding: 8px 12px; + cursor: pointer; + transition: background var(--transition); + border-radius: 4px; + margin: 0 4px; +} + +.admin-item-picker-item:hover, +.admin-item-picker-item.active { + background: var(--bg-secondary); +} + +.admin-item-picker-name { + font-size: 13px; + font-weight: 500; + color: var(--text-primary); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + min-width: 0; + flex: 1; +} + +.admin-item-picker-number { + font-size: 11.5px; + color: var(--text-tertiary); + white-space: nowrap; +} + +.admin-item-picker-qty { + font-size: 11.5px; + color: var(--text-secondary); + white-space: nowrap; +} diff --git a/src/admin/components/AdminDatePicker.tsx b/src/admin/components/AdminDatePicker.tsx index 0a8ef5f..27d93fd 100644 --- a/src/admin/components/AdminDatePicker.tsx +++ b/src/admin/components/AdminDatePicker.tsx @@ -1,4 +1,4 @@ -import { forwardRef, useMemo } from "react"; +import { forwardRef } from "react"; import DatePicker, { registerLocale } from "react-datepicker"; import { cs } from "date-fns/locale"; import { parse, format } from "date-fns"; @@ -124,7 +124,7 @@ export default function AdminDatePicker({ disabled, placeholder, }: AdminDatePickerProps) { - const useNative = useMemo(() => isTouchDevice(), []); + const useNative = isTouchDevice(); if (useNative) { return ( @@ -178,15 +178,12 @@ export default function AdminDatePicker({ return undefined; }; - const customInput = useMemo( - () => ( - - ), - [required, placeholder, disabled], + const customInput = ( + ); const commonProps = { @@ -194,6 +191,7 @@ export default function AdminDatePicker({ onChange: handleChange, locale: "cs", customInput, + placeholderText: placeholder, minDate: parseMinMax(minDate), maxDate: parseMinMax(maxDate), popperPlacement: "bottom-start" as const, diff --git a/src/admin/components/AttendanceShiftTable.tsx b/src/admin/components/AttendanceShiftTable.tsx index 433bc80..5100cc7 100644 --- a/src/admin/components/AttendanceShiftTable.tsx +++ b/src/admin/components/AttendanceShiftTable.tsx @@ -1,4 +1,4 @@ -import { Link } from "react-router-dom"; +import { Link } from "react-router-dom"; import { formatDate, formatDatetime, @@ -8,34 +8,13 @@ import { getLeaveTypeName, getLeaveTypeBadgeClass, } from "../utils/attendanceHelpers"; +import type { AttendanceRecord as HookAttendanceRecord } from "../hooks/useAttendanceAdmin"; -interface ProjectLog { - id?: number; - project_id?: number; - project_name?: string; - started_at?: string; - ended_at?: string | null; - hours?: string | number | null; - minutes?: string | number | null; -} - -interface AttendanceRecord { - id: number; - shift_date: string; - user_name: string; - leave_type?: string; - leave_hours?: number; - arrival_time?: string | null; - departure_time?: string | null; - break_start?: string | null; - break_end?: string | null; +interface AttendanceRecord extends HookAttendanceRecord { arrival_lat?: number | string | null; arrival_lng?: number | string | null; departure_lat?: number | string | null; departure_lng?: number | string | null; - project_name?: string; - project_logs?: ProjectLog[]; - notes?: string | null; } interface AttendanceShiftTableProps { @@ -51,7 +30,7 @@ function formatBreak(record: AttendanceRecord): string { if (record.break_start) { return `${formatTime(record.break_start)} - ?`; } - return "\u2014"; + return "—"; } function renderProjectCell(record: AttendanceRecord): React.ReactNode { @@ -97,7 +76,7 @@ function renderProjectCell(record: AttendanceRecord): React.ReactNode { > {log.project_name || `#${log.project_id}`}{" "} {durationValid - ? `(${h}:${String(m).padStart(2, "0")}h${isActive ? " \u25B8" : ""})` + ? `(${h}:${String(m).padStart(2, "0")}h${isActive ? " ▸" : ""})` : "—"} ); @@ -115,7 +94,7 @@ function renderProjectCell(record: AttendanceRecord): React.ReactNode { ); } - return "\u2014"; + return "—"; } export default function AttendanceShiftTable({ @@ -156,7 +135,10 @@ export default function AttendanceShiftTable({ const workMinutes = isLeave ? (record.leave_hours != null ? Number(record.leave_hours) : 8) * 60 - : calculateWorkMinutes(record); + : calculateWorkMinutes({ + ...record, + notes: record.notes ?? undefined, + }); const hasLocation = (record.arrival_lat && record.arrival_lng) || (record.departure_lat && record.departure_lng); @@ -173,18 +155,16 @@ export default function AttendanceShiftTable({ - {isLeave ? "\u2014" : formatDatetime(record.arrival_time)} + {isLeave ? "—" : formatDatetime(record.arrival_time)} - {isLeave ? "\u2014" : formatBreak(record)} + {isLeave ? "—" : formatBreak(record)} - {isLeave ? "\u2014" : formatDatetime(record.departure_time)} + {isLeave ? "—" : formatDatetime(record.departure_time)} - {workMinutes > 0 - ? `${formatMinutes(workMinutes)} h` - : "\u2014"} + {workMinutes > 0 ? `${formatMinutes(workMinutes)} h` : "—"} {renderProjectCell(record)} @@ -195,10 +175,10 @@ export default function AttendanceShiftTable({ title="Zobrazit polohu" aria-label="Zobrazit polohu" > - + ) : ( - "\u2014" + "—" )} { + if (!isOpen) return; + + function handleKeyDown(e: KeyboardEvent) { + if (e.key === "Escape" && !loading) { + onClose(); + } + } + + window.addEventListener("keydown", handleKeyDown); + return () => window.removeEventListener("keydown", handleKeyDown); + }, [isOpen, loading, onClose]); + return ( {isOpen && ( diff --git a/src/admin/components/FormModal.tsx b/src/admin/components/FormModal.tsx new file mode 100644 index 0000000..7b9fe0d --- /dev/null +++ b/src/admin/components/FormModal.tsx @@ -0,0 +1,118 @@ +import { useEffect, type ReactNode, type FormEvent } from "react"; +import { motion, AnimatePresence } from "framer-motion"; +import useModalLock from "../hooks/useModalLock"; + +export interface FormModalProps { + isOpen: boolean; + onClose: () => void; + onSubmit?: () => void; // called when user clicks primary button (only if provided) + title: string; + children: ReactNode; // modal body (form fields) + submitLabel?: string; // primary button text + cancelLabel?: string; // cancel button text + loading?: boolean; + hideFooter?: boolean; // for "view-only" modals + size?: "sm" | "md" | "lg"; // optional + closeOnBackdrop?: boolean; // default true + closeOnEsc?: boolean; // default true +} + +export default function FormModal({ + isOpen, + onClose, + onSubmit, + title, + children, + submitLabel = "Uložit", + cancelLabel = "Zrušit", + loading = false, + hideFooter = false, + size = "md", + closeOnBackdrop = true, + closeOnEsc = true, +}: FormModalProps) { + useModalLock(isOpen); + + useEffect(() => { + if (!isOpen || !closeOnEsc) return; + + function handleKeyDown(e: KeyboardEvent) { + if (e.key === "Escape" && !loading) { + onClose(); + } + } + + window.addEventListener("keydown", handleKeyDown); + return () => window.removeEventListener("keydown", handleKeyDown); + }, [isOpen, closeOnEsc, loading, onClose]); + + const handleBackdropClick = () => { + if (closeOnBackdrop && !loading) onClose(); + }; + + const handlePrimaryClick = (e: FormEvent) => { + e.preventDefault(); + if (onSubmit) onSubmit(); + }; + + const titleId = "form-modal-title"; + const modalClassName = + size === "lg" ? "admin-modal admin-modal-lg" : "admin-modal"; + + return ( + + {isOpen && ( + +
+ +
+

+ {title} +

+
+ +
{children}
+ + {!hideFooter && ( +
+ + {onSubmit && ( + + )} +
+ )} +
+ + )} + + ); +} diff --git a/src/admin/components/ProjectFileManager.tsx b/src/admin/components/ProjectFileManager.tsx index 14bc173..31125c6 100644 --- a/src/admin/components/ProjectFileManager.tsx +++ b/src/admin/components/ProjectFileManager.tsx @@ -4,8 +4,6 @@ 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"; @@ -472,13 +470,9 @@ export default function ProjectFileManager({ if (filesLoading && items.length === 0 && !errorMessage) { return ( - } - > -
- +
+
+
); } diff --git a/src/admin/components/ShiftFormModal.tsx b/src/admin/components/ShiftFormModal.tsx index fed35b1..390b544 100644 --- a/src/admin/components/ShiftFormModal.tsx +++ b/src/admin/components/ShiftFormModal.tsx @@ -85,7 +85,15 @@ export interface ShiftFormModalProps { function ProjectTimeStatus({ form, projectLogs }: ProjectTimeStatusProps) { const totalWork = calcFormWorkMinutes(form); - const totalProject = calcProjectMinutesTotal(projectLogs); + const totalProject = calcProjectMinutesTotal( + projectLogs.map((l) => ({ + ...l, + project_id: + l.project_id !== "" && l.project_id != null + ? Number(l.project_id) + : undefined, + })), + ); const remaining = totalWork - totalProject; const hasLogs = projectLogs.some((l) => l.project_id); @@ -329,7 +337,6 @@ export default function ShiftFormModal({ -
diff --git a/src/admin/components/Sidebar.tsx b/src/admin/components/Sidebar.tsx index 5891380..285e4f2 100644 --- a/src/admin/components/Sidebar.tsx +++ b/src/admin/components/Sidebar.tsx @@ -330,11 +330,16 @@ const menuSections: MenuSection[] = [ ), }, + ], + }, + { + label: "Sklad", + items: [ { path: "/warehouse", - label: "Sklad", + label: "Přehled", permission: "warehouse.view", - matchPrefix: "/warehouse", + end: true, icon: ( ), }, + { + path: "/warehouse/items", + label: "Položky", + permission: "warehouse.view", + matchPrefix: "/warehouse/items", + icon: ( + + + + + + ), + }, + { + path: "/warehouse/receipts", + label: "Příjmy", + permission: "warehouse.operate", + matchPrefix: "/warehouse/receipts", + icon: ( + + + + + + ), + }, + { + path: "/warehouse/issues", + label: "Výdeje", + permission: "warehouse.operate", + matchPrefix: "/warehouse/issues", + icon: ( + + + + + + ), + }, + { + path: "/warehouse/reservations", + label: "Rezervace", + permission: "warehouse.operate", + matchPrefix: "/warehouse/reservations", + icon: ( + + + + + + + ), + }, + { + path: "/warehouse/inventory", + label: "Inventura", + permission: "warehouse.inventory", + matchPrefix: "/warehouse/inventory", + icon: ( + + + + + ), + }, + { + path: "/warehouse/reports", + label: "Reporty", + permission: "warehouse.view", + end: true, + icon: ( + + + + + + ), + }, + { + path: "/warehouse/categories", + label: "Kategorie", + permission: "warehouse.manage", + matchPrefix: "/warehouse/categories", + icon: ( + + + + + + + + + + + + ), + }, + { + path: "/warehouse/locations", + label: "Lokace", + permission: "warehouse.manage", + matchPrefix: "/warehouse/locations", + icon: ( + + + + + + + ), + }, + { + path: "/warehouse/suppliers", + label: "Dodavatelé", + permission: "warehouse.manage", + matchPrefix: "/warehouse/suppliers", + icon: ( + + + + + + + ), + }, ], }, { diff --git a/src/admin/components/dashboard/DashSessions.tsx b/src/admin/components/dashboard/DashSessions.tsx index bff5eac..4a8dbc3 100644 --- a/src/admin/components/dashboard/DashSessions.tsx +++ b/src/admin/components/dashboard/DashSessions.tsx @@ -7,8 +7,6 @@ import useModalLock from "../../hooks/useModalLock"; import apiFetch from "../../utils/api"; import { formatSessionDate } from "../../utils/dashboardHelpers"; import { sessionsOptions, type Session } from "../../lib/queries/dashboard"; -import { Skeleton } from "boneyard-js/react"; -import DashSessionsFixture from "../../fixtures/DashSessionsFixture"; const API_BASE = "/api/admin"; @@ -154,11 +152,11 @@ export default function DashSessions() { )}
- } - > + {sessionsLoading ? ( +
+
+
+ ) : ( <> {sessions.length === 0 && (
)} - + )}
diff --git a/src/admin/components/warehouse/BatchPicker.tsx b/src/admin/components/warehouse/BatchPicker.tsx index d3a7c1e..5365486 100644 --- a/src/admin/components/warehouse/BatchPicker.tsx +++ b/src/admin/components/warehouse/BatchPicker.tsx @@ -9,6 +9,13 @@ interface Batch { is_consumed: boolean; } +interface BatchesResponse { + batches: Batch[]; + total_stock: number; + reserved_quantity: number; + available_quantity: number; +} + interface BatchPickerProps { itemId: number | null; value: number | null; @@ -20,29 +27,48 @@ export default function BatchPicker({ value, onChange, }: BatchPickerProps) { - const { data: batches } = useQuery({ + const { data: response } = useQuery({ queryKey: ["warehouse", "batches", itemId], queryFn: () => - jsonQuery(`/api/admin/warehouse/items/${itemId}/batches`), + jsonQuery( + `/api/admin/warehouse/items/${itemId}/batches`, + ), enabled: !!itemId, }); + + const batches = response?.batches ?? []; + return ( - +
+ {response && response.reserved_quantity > 0 && ( +
+ Dostupné: {response.available_quantity} ks (z toho rezervováno:{" "} + {response.reserved_quantity} ks) +
+ )} + +
); } diff --git a/src/admin/components/warehouse/ItemPicker.tsx b/src/admin/components/warehouse/ItemPicker.tsx index ab7d014..c544758 100644 --- a/src/admin/components/warehouse/ItemPicker.tsx +++ b/src/admin/components/warehouse/ItemPicker.tsx @@ -1,59 +1,228 @@ -import { useState } from "react"; +import { useState, useRef, useEffect, useCallback, useId } from "react"; +import { createPortal } from "react-dom"; import { useQuery } from "@tanstack/react-query"; import { warehouseItemListOptions } from "../../lib/queries/warehouse"; interface ItemPickerProps { value: number | null; onChange: (itemId: number) => void; + itemName?: string; } -export default function ItemPicker({ value, onChange }: ItemPickerProps) { - const [search, setSearch] = useState(""); +export default function ItemPicker({ + value, + onChange, + itemName, +}: ItemPickerProps) { + const [search, setSearch] = useState(itemName ?? ""); const [open, setOpen] = useState(false); const { data } = useQuery(warehouseItemListOptions({ search, perPage: 20 })); const items = data?.data ?? []; + const containerRef = useRef(null); + const activeIndexRef = useRef(-1); + const listboxId = useId(); + const [activeIndex, setActiveIndex] = useState(-1); + + const [dropdownStyle, setDropdownStyle] = useState<{ + position: "fixed"; + top: number; + left: number; + width: number; + zIndex: number; + } | null>(null); + + const updatePosition = useCallback(() => { + if (!containerRef.current) return; + const rect = containerRef.current.getBoundingClientRect(); + setDropdownStyle({ + position: "fixed", + top: rect.bottom + 2, + left: rect.left, + width: rect.width, + zIndex: 100, + }); + }, []); + + // Reset active index when items change + useEffect(() => { + if (activeIndex >= items.length) { + activeIndexRef.current = -1; + setActiveIndex(-1); + } + }, [items, activeIndex]); + + useEffect(() => { + if (open) { + updatePosition(); + const onScroll = () => updatePosition(); + const onClose = () => setOpen(false); + window.addEventListener("scroll", onScroll, true); + window.addEventListener("resize", onClose); + return () => { + window.removeEventListener("scroll", onScroll, true); + window.removeEventListener("resize", onClose); + }; + } else { + setDropdownStyle(null); + activeIndexRef.current = -1; + setActiveIndex(-1); + } + }, [open, updatePosition]); + + // Close on click-outside via mousedown on document + useEffect(() => { + if (!open) return; + const onDocMouseDown = (e: MouseEvent) => { + const target = e.target; + if (containerRef.current && target instanceof Node) { + if (!containerRef.current.contains(target)) { + // Don't close if click landed on an option in the portal + const listEl = document.getElementById(listboxId); + if (listEl && listEl.contains(target)) return; + setOpen(false); + } + } + }; + document.addEventListener("mousedown", onDocMouseDown); + return () => document.removeEventListener("mousedown", onDocMouseDown); + }, [open, listboxId]); + + const handleSelect = (itemId: number, name: string) => { + onChange(itemId); + setOpen(false); + setSearch(name); + }; + + const setActive = (index: number) => { + activeIndexRef.current = index; + setActiveIndex(index); + }; + + const handleKeyDown = (e: React.KeyboardEvent) => { + if (e.key === "ArrowDown") { + e.preventDefault(); + if (!open) { + setOpen(true); + if (items.length > 0) setActive(0); + return; + } + const next = + activeIndexRef.current < items.length - 1 + ? activeIndexRef.current + 1 + : 0; + setActive(next); + } else if (e.key === "ArrowUp") { + e.preventDefault(); + if (!open) { + setOpen(true); + if (items.length > 0) setActive(items.length - 1); + return; + } + const prev = + activeIndexRef.current > 0 + ? activeIndexRef.current - 1 + : items.length - 1; + setActive(prev); + } else if (e.key === "Enter") { + if ( + open && + activeIndexRef.current >= 0 && + activeIndexRef.current < items.length + ) { + e.preventDefault(); + const item = items[activeIndexRef.current]; + handleSelect(item.id, item.name); + } + } else if (e.key === "Escape") { + if (open) { + e.preventDefault(); + setOpen(false); + } + } else if (e.key === "Home") { + if (open && items.length > 0) { + e.preventDefault(); + setActive(0); + } + } else if (e.key === "End") { + if (open && items.length > 0) { + e.preventDefault(); + setActive(items.length - 1); + } + } else if (e.key === "Tab") { + setOpen(false); + } + }; + + const activeId = + activeIndex >= 0 ? `${listboxId}-option-${activeIndex}` : undefined; + return ( -
+
{ setSearch(e.target.value); setOpen(true); }} - onFocus={() => setOpen(true)} - onBlur={() => setTimeout(() => setOpen(false), 200)} + onFocus={() => { + setOpen(true); + updatePosition(); + }} + onKeyDown={handleKeyDown} /> - {open && items.length > 0 && ( -
    - {items.map((item) => ( -
  • { - onChange(item.id); - setOpen(false); - setSearch(item.name); - }} - > - {item.name} - {item.item_number && ( - - {item.item_number} - - )} - {item.available_quantity !== undefined && ( - - {item.available_quantity} {item.unit} - - )} -
  • - ))} -
- )} + {open && + items.length > 0 && + dropdownStyle && + createPortal( +
    + {items.map((item, index) => ( +
  • { + e.preventDefault(); + handleSelect(item.id, item.name); + }} + > + {item.name} + {item.item_number && ( + + {item.item_number} + + )} + {item.available_quantity !== undefined && ( + + {item.available_quantity} {item.unit} + + )} +
  • + ))} +
, + document.body, + )}
); } diff --git a/src/admin/components/warehouse/ReservationPicker.tsx b/src/admin/components/warehouse/ReservationPicker.tsx new file mode 100644 index 0000000..f6c4114 --- /dev/null +++ b/src/admin/components/warehouse/ReservationPicker.tsx @@ -0,0 +1,54 @@ +import { useQuery } from "@tanstack/react-query"; +import { warehouseReservationListOptions } from "../../lib/queries/warehouse"; + +interface ReservationPickerProps { + itemId: number | null; + projectId: number | null; + value: number | null; + onChange: (reservationId: number | null, remainingQty: number) => void; +} + +export default function ReservationPicker({ + itemId, + projectId, + value, + onChange, +}: ReservationPickerProps) { + const { data: result } = useQuery( + warehouseReservationListOptions({ + item_id: itemId ?? undefined, + project_id: projectId ?? undefined, + status: "ACTIVE", + perPage: 100, + }), + ); + + const reservations = result?.data ?? []; + + return ( + + ); +} diff --git a/src/admin/components/warehouse/WarehouseMovementTable.tsx b/src/admin/components/warehouse/WarehouseMovementTable.tsx index 8573374..69dc984 100644 --- a/src/admin/components/warehouse/WarehouseMovementTable.tsx +++ b/src/admin/components/warehouse/WarehouseMovementTable.tsx @@ -1,9 +1,9 @@ -import type { WarehouseLocation } from "../../lib/queries/warehouse"; +import { ReactNode, useId, useRef } from "react"; import ItemPicker from "./ItemPicker"; import LocationSelect from "./LocationSelect"; import BatchPicker from "./BatchPicker"; -export interface MovementLine { +export interface MovementItem { key: string; item_id: number | null; item_name?: string; @@ -15,132 +15,233 @@ export interface MovementLine { notes: string | null; } -interface WarehouseMovementTableProps { - lines: MovementLine[]; - onChange: (lines: MovementLine[]) => void; - mode: "receipt" | "issue"; - locations: WarehouseLocation[]; +export type MovementRowRenderer = ( + item: T, + index: number, + updateItem: (field: string, value: unknown) => void, + removeItem: () => void, +) => ReactNode; + +interface WarehouseMovementTableProps { + items: T[]; + onChange: (items: T[]) => void; + mode: "receipt" | "issue" | "inventory"; + defaultItem?: () => Omit; + renderRow?: MovementRowRenderer; + renderHeader?: () => ReactNode; } -let lineCounter = 0; +function parseDecimal(raw: string): number { + // Strip leading minus if you want negative support; here we want only positive + const cleaned = raw.replace(/[eE+\-]/g, ""); + const n = Number(cleaned); + return Number.isFinite(n) ? n : 0; +} -export default function WarehouseMovementTable({ - lines, +const builtInDefaultMovementItem = (): Omit => ({ + item_id: null, + quantity: 0, + unit_price: 0, + location_id: null, + batch_id: null, + reservation_id: null, + notes: null, +}); + +export default function WarehouseMovementTable({ + items, onChange, mode, -}: WarehouseMovementTableProps) { - const addLine = () => { - onChange([ - ...lines, - { - key: `line-${++lineCounter}`, - item_id: null, - quantity: 0, - unit_price: 0, - location_id: null, - batch_id: null, - reservation_id: null, - notes: null, - }, - ]); + defaultItem, + renderRow, + renderHeader, +}: WarehouseMovementTableProps) { + const baseId = useId(); + const counterRef = useRef(0); + const nextKey = () => `${baseId}-item-${counterRef.current++}`; + + const addItem = () => { + const factory = + defaultItem ?? + (builtInDefaultMovementItem as unknown as () => Omit); + onChange([...items, { ...(factory() as object), key: nextKey() } as T]); }; - const removeLine = (index: number) => { - onChange(lines.filter((_, i) => i !== index)); + const removeItem = (index: number) => { + onChange(items.filter((_, i) => i !== index)); }; - const updateLine = (index: number, field: string, value: unknown) => { - const updated = [...lines]; + const updateItem = (index: number, field: string, value: unknown) => { + const updated = [...items]; updated[index] = { ...updated[index], [field]: value }; onChange(updated); }; + // If a custom row renderer is supplied, the caller is fully in charge of + // the row layout (and typically the column headers too — see inventory mode). + if (renderRow) { + return ( +
+
+ + {renderHeader && ( + + {renderHeader()} + + )} + + {items.map((item, index) => ( + + {renderRow( + item, + index, + (field, value) => updateItem(index, field, value), + () => removeItem(index), + )} + + ))} + +
+
+ +
+ ); + } + + // Default rendering: only valid for "receipt" | "issue" — narrow at runtime. + const movementItems = items as unknown as MovementItem[]; + return ( -
- - - - - {mode === "issue" && } - - - - - - - - - {lines.map((line, index) => ( - - +
+
+
PoložkaŠaržeMnožstvíCena/ksLokacePoznámka
- updateLine(index, "item_id", id)} - /> -
+ + + {mode === "issue" && ( - + )} + + + + + + + + + {movementItems.map((item, index) => ( + + - )} - - - - - - - ))} - -
Položka - { - updateLine(index, "batch_id", batchId); - updateLine(index, "unit_price", unitPrice); - }} + ŠaržeMnožstvíCena/ksLokacePoznámkaAkce
+ updateItem(index, "item_id", id)} /> - - updateLine(index, "quantity", Number(e.target.value)) - } - min="0" - step="0.001" - /> - - - updateLine(index, "unit_price", Number(e.target.value)) - } - min="0" - step="0.01" - disabled={mode === "issue"} - /> - - updateLine(index, "location_id", id)} - /> - - updateLine(index, "notes", e.target.value)} - /> - - -
- +
+ + + ))} + + +
+
diff --git a/src/admin/fixtures/AttendanceAdminFixture.tsx b/src/admin/fixtures/AttendanceAdminFixture.tsx deleted file mode 100644 index 978ef6c..0000000 --- a/src/admin/fixtures/AttendanceAdminFixture.tsx +++ /dev/null @@ -1,69 +0,0 @@ -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 deleted file mode 100644 index 357b512..0000000 --- a/src/admin/fixtures/AttendanceBalancesFixture.tsx +++ /dev/null @@ -1,104 +0,0 @@ -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 deleted file mode 100644 index 195613e..0000000 --- a/src/admin/fixtures/AttendanceCreateFixture.tsx +++ /dev/null @@ -1,43 +0,0 @@ -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 deleted file mode 100644 index e0c11e2..0000000 --- a/src/admin/fixtures/AttendanceFixture.tsx +++ /dev/null @@ -1,79 +0,0 @@ -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 deleted file mode 100644 index ce85cc2..0000000 --- a/src/admin/fixtures/AttendanceHistoryFixture.tsx +++ /dev/null @@ -1,102 +0,0 @@ -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 deleted file mode 100644 index cad51b4..0000000 --- a/src/admin/fixtures/AttendanceLocationFixture.tsx +++ /dev/null @@ -1,49 +0,0 @@ -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 deleted file mode 100644 index cc29e55..0000000 --- a/src/admin/fixtures/AuditLogFixture.tsx +++ /dev/null @@ -1,52 +0,0 @@ -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 deleted file mode 100644 index dcb014b..0000000 --- a/src/admin/fixtures/CompanySettingsFixture.tsx +++ /dev/null @@ -1,69 +0,0 @@ -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 deleted file mode 100644 index 1f28568..0000000 --- a/src/admin/fixtures/DashSessionsFixture.tsx +++ /dev/null @@ -1,63 +0,0 @@ -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 deleted file mode 100644 index eddd2af..0000000 --- a/src/admin/fixtures/DashboardFixture.tsx +++ /dev/null @@ -1,94 +0,0 @@ -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 deleted file mode 100644 index a7def61..0000000 --- a/src/admin/fixtures/InvoiceDetailFixture.tsx +++ /dev/null @@ -1,86 +0,0 @@ -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 deleted file mode 100644 index ddf4ad4..0000000 --- a/src/admin/fixtures/InvoicesFixture.tsx +++ /dev/null @@ -1,83 +0,0 @@ -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 deleted file mode 100644 index 3acc40b..0000000 --- a/src/admin/fixtures/LeaveApprovalFixture.tsx +++ /dev/null @@ -1,51 +0,0 @@ -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 deleted file mode 100644 index fe329d2..0000000 --- a/src/admin/fixtures/LeaveRequestsFixture.tsx +++ /dev/null @@ -1,53 +0,0 @@ -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 deleted file mode 100644 index 70900a5..0000000 --- a/src/admin/fixtures/OfferDetailFixture.tsx +++ /dev/null @@ -1,60 +0,0 @@ -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 deleted file mode 100644 index 8127a1b..0000000 --- a/src/admin/fixtures/OffersCustomersFixture.tsx +++ /dev/null @@ -1,49 +0,0 @@ -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 deleted file mode 100644 index e5c371d..0000000 --- a/src/admin/fixtures/OffersFixture.tsx +++ /dev/null @@ -1,54 +0,0 @@ -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 deleted file mode 100644 index 279d4a3..0000000 --- a/src/admin/fixtures/OffersTemplatesFixture.tsx +++ /dev/null @@ -1,36 +0,0 @@ -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 deleted file mode 100644 index 3108b31..0000000 --- a/src/admin/fixtures/OrderDetailFixture.tsx +++ /dev/null @@ -1,89 +0,0 @@ -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 deleted file mode 100644 index c25183c..0000000 --- a/src/admin/fixtures/OrdersFixture.tsx +++ /dev/null @@ -1,55 +0,0 @@ -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 deleted file mode 100644 index 6bc95d3..0000000 --- a/src/admin/fixtures/ProjectDetailFixture.tsx +++ /dev/null @@ -1,70 +0,0 @@ -export default function ProjectDetailFixture() { - return ( -
-
-
- - - - - -
-

PRJ-001 Projekt Alpha

-
-
-
- - -
-
-
-
-
-
- - -
-
- - -
-
- - -
-
- - -
-
-
-
-
-
-

Poznámky

-