{
  "page_ir": {
    "page_id": "admin_buses",
    "page_goal": "Admin page to manage all buses in the system - view, create, edit, and delete buses with search, filter, and pagination capabilities",
    "style": {
      "tone": "professional",
      "theme": "light",
      "density": "comfortable",
      "color_intent": "neutral with blue accents"
    },
    "accessibility": {
      "required_labels": [
        "bus_number_input",
        "bus_type_select",
        "total_seats_input",
        "amenities_select",
        "is_active_switch",
        "search_input"
      ],
      "skip_navigation": true,
      "focus_management": true,
      "announce_changes": []
    },
    "responsive": {
      "breakpoints": {
        "sm": 576,
        "md": 768,
        "lg": 992,
        "xl": 1200
      },
      "collapse_rules": [
        "sidebar collapses to hamburger on sm/md"
      ],
      "hidden_on_small": [
        "sidebar"
      ],
      "stack_on_small": []
    },
    "constraints": [
      "Admin role required",
      "Must be authenticated"
    ],
    "seo_title": null,
    "seo_description": null
  },
  "data_ir": {
    "types": {},
    "state": {
      "buses": {
        "type": "array",
        "initial": [],
        "required": true,
        "constraints": {},
        "item_type": null
      },
      "loading": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "modalVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "editingBusId": {
        "type": "string",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "deleteConfirmVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "deletingBusId": {
        "type": "string",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "searchText": {
        "type": "string",
        "initial": "",
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "filterBusType": {
        "type": "string",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "filterStatus": {
        "type": "boolean",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "pagination": {
        "type": "object",
        "initial": {
          "current": 1,
          "pageSize": 20,
          "total": 0
        },
        "required": false,
        "constraints": {},
        "item_type": null
      }
    },
    "derived": {
      "isEditing": {
        "type": "boolean",
        "expr": "state.editingBusId !== null",
        "deps": []
      },
      "modalTitle": {
        "type": "string",
        "expr": "state.editingBusId ? 'Edit Bus' : 'Add Bus'",
        "deps": []
      }
    }
  },
  "data_fetch_ir": {
    "endpoints": {
      "78781e332d3c4e4b837beb36ebb8fb14": {
        "endpoint_id": "78781e332d3c4e4b837beb36ebb8fb14",
        "module": "Bus Management",
        "endpoint": "/buses/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": "$state.pagination.pageSize",
          "offset": "($state.pagination.current - 1) * $state.pagination.pageSize",
          "bus_type": "$state.filterBusType",
          "is_active": "$state.filterStatus"
        },
        "body": null,
        "fields": [
          "id",
          "bus_number",
          "bus_type",
          "total_seats",
          "seat_layout_config",
          "amenities",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "response_target": "buses",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "796ac8a292d94622b0717bacb88565ae": {
        "endpoint_id": "796ac8a292d94622b0717bacb88565ae",
        "module": "Bus Management",
        "endpoint": "/buses/",
        "method": "POST",
        "path_params": {},
        "query_params": {},
        "body": null,
        "fields": [
          "id",
          "bus_number",
          "bus_type",
          "total_seats",
          "seat_layout_config",
          "amenities",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "response_target": "buses",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "d156ea4e314f4791b394798ab4425ca5": {
        "endpoint_id": "d156ea4e314f4791b394798ab4425ca5",
        "module": "Bus Management",
        "endpoint": "/buses/{id}",
        "method": "PUT",
        "path_params": {
          "id": "$state.editingBusId"
        },
        "query_params": {},
        "body": null,
        "fields": [
          "id",
          "bus_number",
          "bus_type",
          "total_seats",
          "seat_layout_config",
          "amenities",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "response_target": "buses",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "251ed7eca4074c65b34a482eb332af00": {
        "endpoint_id": "251ed7eca4074c65b34a482eb332af00",
        "module": "Bus Management",
        "endpoint": "/buses/{id}",
        "method": "DELETE",
        "path_params": {
          "id": "$state.deletingBusId"
        },
        "query_params": {},
        "body": null,
        "fields": [],
        "response_target": "deleteBus_data",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      }
    }
  },
  "data_model_ir": {
    "entities": {
      "bus": {
        "name": "Bus",
        "backend_module": "Bus Management",
        "fields": [
          "id",
          "bus_number",
          "bus_type",
          "total_seats",
          "seat_layout_config",
          "amenities",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "id",
          "bus_number",
          "bus_type",
          "total_seats",
          "amenities",
          "is_active",
          "created_at"
        ],
        "search_fields": [
          "bus_number"
        ],
        "filters": [
          "bus_type",
          "is_active"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      }
    },
    "relationships": []
  },
  "behaviour_ir": {
    "events": {
      "onSearchChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.searchText",
            "expr": "event.target.value"
          }
        ],
        "description": ""
      },
      "onBusTypeFilterChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.filterBusType",
            "expr": "value"
          },
          {
            "target": "state.pagination.current",
            "expr": "1"
          }
        ],
        "description": ""
      },
      "onStatusFilterChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.filterStatus",
            "expr": "value"
          },
          {
            "target": "state.pagination.current",
            "expr": "1"
          }
        ],
        "description": ""
      },
      "onPaginationChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.pagination.current",
            "expr": "page"
          },
          {
            "target": "state.pagination.pageSize",
            "expr": "pageSize"
          }
        ],
        "description": ""
      }
    },
    "actions": {
      "018591754f454c809ae1ce7c050bdac3": {
        "action_id": "018591754f454c809ae1ce7c050bdac3",
        "trigger": "button_click",
        "target_component_id": "add_bus_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.modalVisible",
            "expr": "true"
          },
          {
            "target": "state.editingBusId",
            "expr": "null"
          }
        ],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "c1444746bcea4b40bc1bece1d4948db1": {
        "action_id": "c1444746bcea4b40bc1bece1d4948db1",
        "trigger": "button_click",
        "target_component_id": "edit_button",
        "operation": "custom",
        "description": "",
        "payload": {
          "busId": "$row.id"
        },
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.modalVisible",
            "expr": "true"
          },
          {
            "target": "state.editingBusId",
            "expr": "$row.id"
          }
        ],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "3ddfe8ad35e040589461c0bb0adffc53": {
        "action_id": "3ddfe8ad35e040589461c0bb0adffc53",
        "trigger": "button_click",
        "target_component_id": "modal_cancel_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.modalVisible",
            "expr": "false"
          },
          {
            "target": "state.editingBusId",
            "expr": "null"
          }
        ],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "933b6839abfa4131924c141832870498": {
        "action_id": "933b6839abfa4131924c141832870498",
        "trigger": "form_submit",
        "target_component_id": "bus_form",
        "operation": "create",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [
          {
            "rule_id": "val_0",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"bus_number\", \"message\": \"Bus number is required\", \"rule_id\": \"val_bus_number\", \"type\": \"required\"}",
            "message": "{\"field\": \"bus_number\", \"message\": \"Bus number is required\", \"rule_id\": \"val_bus_number\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_1",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"bus_type\", \"message\": \"Bus type is required\", \"rule_id\": \"val_bus_type\", \"type\": \"required\"}",
            "message": "{\"field\": \"bus_type\", \"message\": \"Bus type is required\", \"rule_id\": \"val_bus_type\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_2",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"total_seats\", \"message\": \"Total seats is required\", \"rule_id\": \"val_total_seats\", \"type\": \"required\"}",
            "message": "{\"field\": \"total_seats\", \"message\": \"Total seats is required\", \"rule_id\": \"val_total_seats\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_3",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"total_seats\", \"message\": \"Total seats must be at least 1\", \"rule_id\": \"val_total_seats_min\", \"type\": \"min\", \"value\": 1}",
            "message": "{\"field\": \"total_seats\", \"message\": \"Total seats must be at least 1\", \"rule_id\": \"val_total_seats_min\", \"type\": \"min\", \"value\": 1}"
          },
          {
            "rule_id": "val_4",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"seat_layout_config\", \"message\": \"Seat layout configuration is required\", \"rule_id\": \"val_seat_layout\", \"type\": \"required\"}",
            "message": "{\"field\": \"seat_layout_config\", \"message\": \"Seat layout configuration is required\", \"rule_id\": \"val_seat_layout\", \"type\": \"required\"}"
          }
        ],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.modalVisible",
            "expr": "false"
          },
          {
            "target": "state.editingBusId",
            "expr": "null"
          }
        ],
        "api_endpoint": "796ac8a292d94622b0717bacb88565ae",
        "api_body": "{ bus_number: formValues.bus_number, bus_type: formValues.bus_type, total_seats: formValues.total_seats, seat_layout_config: formValues.seat_layout_config, amenities: formValues.amenities, is_active: formValues.is_active }",
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Bus saved successfully!",
              "type": "success"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "fetchBuses"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "40448eca2280408b9766bed803492497": {
        "action_id": "40448eca2280408b9766bed803492497",
        "trigger": "form_submit",
        "target_component_id": "bus_form",
        "operation": "update",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [
          {
            "rule_id": "val_0",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"bus_number\", \"message\": \"Bus number is required\", \"rule_id\": \"val_bus_number_edit\", \"type\": \"required\"}",
            "message": "{\"field\": \"bus_number\", \"message\": \"Bus number is required\", \"rule_id\": \"val_bus_number_edit\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_1",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"bus_type\", \"message\": \"Bus type is required\", \"rule_id\": \"val_bus_type_edit\", \"type\": \"required\"}",
            "message": "{\"field\": \"bus_type\", \"message\": \"Bus type is required\", \"rule_id\": \"val_bus_type_edit\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_2",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"total_seats\", \"message\": \"Total seats is required\", \"rule_id\": \"val_total_seats_edit\", \"type\": \"required\"}",
            "message": "{\"field\": \"total_seats\", \"message\": \"Total seats is required\", \"rule_id\": \"val_total_seats_edit\", \"type\": \"required\"}"
          }
        ],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.modalVisible",
            "expr": "false"
          },
          {
            "target": "state.editingBusId",
            "expr": "null"
          }
        ],
        "api_endpoint": "d156ea4e314f4791b394798ab4425ca5",
        "api_body": "{ bus_number: formValues.bus_number, bus_type: formValues.bus_type, total_seats: formValues.total_seats, seat_layout_config: formValues.seat_layout_config, amenities: formValues.amenities, is_active: formValues.is_active }",
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Bus updated successfully!",
              "type": "success"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "fetchBuses"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "f3939b5bed9c42e38c269521e55bb044": {
        "action_id": "f3939b5bed9c42e38c269521e55bb044",
        "trigger": "button_click",
        "target_component_id": "delete_button",
        "operation": "custom",
        "description": "",
        "payload": {
          "busId": "$row.id"
        },
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.deleteConfirmVisible",
            "expr": "true"
          },
          {
            "target": "state.deletingBusId",
            "expr": "$row.id"
          }
        ],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "b7faa4b5f37740f6a0a3439befa17102": {
        "action_id": "b7faa4b5f37740f6a0a3439befa17102",
        "trigger": "button_click",
        "target_component_id": "confirm_delete_button",
        "operation": "delete",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": true,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.deleteConfirmVisible",
            "expr": "false"
          },
          {
            "target": "state.deletingBusId",
            "expr": "null"
          }
        ],
        "api_endpoint": "251ed7eca4074c65b34a482eb332af00",
        "api_body": null,
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Bus deleted successfully!",
              "type": "success"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "fetchBuses"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "925cc04691d44dacbeeecbeb88475df5": {
        "action_id": "925cc04691d44dacbeeecbeb88475df5",
        "trigger": "button_click",
        "target_component_id": "cancel_delete_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.deleteConfirmVisible",
            "expr": "false"
          },
          {
            "target": "state.deletingBusId",
            "expr": "null"
          }
        ],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "3286c9f9e84e4e81bbbef68c8b95bc4b": {
        "action_id": "3286c9f9e84e4e81bbbef68c8b95bc4b",
        "trigger": "button_click",
        "target_component_id": "nav_dashboard",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "a010db90cf144da7aca6219f83a7b216": {
        "action_id": "a010db90cf144da7aca6219f83a7b216",
        "trigger": "button_click",
        "target_component_id": "nav_routes",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/routes"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "a42b9e9bc9374c7ebc8d60ef6659437e": {
        "action_id": "a42b9e9bc9374c7ebc8d60ef6659437e",
        "trigger": "button_click",
        "target_component_id": "nav_schedules",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/schedules"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "18e3c74fc1804880a4141a6d8a299816": {
        "action_id": "18e3c74fc1804880a4141a6d8a299816",
        "trigger": "button_click",
        "target_component_id": "nav_bookings",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/bookings"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "8e50b44961bd422eb6c3b8ad0ef3876b": {
        "action_id": "8e50b44961bd422eb6c3b8ad0ef3876b",
        "trigger": "button_click",
        "target_component_id": "nav_reservations",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/reservations"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "3c5c8baa3aa84577b5fa31c779258238": {
        "action_id": "3c5c8baa3aa84577b5fa31c779258238",
        "trigger": "button_click",
        "target_component_id": "nav_activity_logs",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/activity-logs"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "c1dc6cffaabf40fd9bce81bbb6a798d7": {
        "action_id": "c1dc6cffaabf40fd9bce81bbb6a798d7",
        "trigger": "button_click",
        "target_component_id": "nav_users",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/users"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      }
    },
    "feedback": {
      "933b6839abfa4131924c141832870498": {
        "action_id": "933b6839abfa4131924c141832870498",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Bus created successfully!",
        "error_message": "Failed to create bus. Please try again.",
        "ui_updates": []
      },
      "40448eca2280408b9766bed803492497": {
        "action_id": "40448eca2280408b9766bed803492497",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Bus updated successfully!",
        "error_message": "Failed to update bus. Please try again.",
        "ui_updates": []
      },
      "b7faa4b5f37740f6a0a3439befa17102": {
        "action_id": "b7faa4b5f37740f6a0a3439befa17102",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Bus deleted successfully!",
        "error_message": "Failed to delete bus. It may have existing schedules.",
        "ui_updates": []
      }
    }
  },
  "component_ir": {
    "library": "antd",
    "theme": {
      "primaryColor": "#1677ff",
      "secondaryColor": "#000000",
      "successColor": null,
      "warningColor": null,
      "errorColor": null,
      "fontFamily": "sans-serif",
      "fontSize": null,
      "borderRadius": 6
    },
    "components": {
      "main_container": {
        "type": "Layout",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "minHeight": "100vh",
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "sidebar": {
        "type": "Layout.Sider",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "width": 240,
          "theme": "light",
          "collapsible": true
        },
        "dynamic_props": {},
        "styles": {
          "borderRight": "1px solid #f0f0f0"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "sidebar_menu": {
        "type": "Menu",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "mode": "inline",
          "selectedKeys": [
            "buses"
          ],
          "items": [
            {
              "key": "dashboard",
              "icon": "DashboardOutlined",
              "label": "Dashboard"
            },
            {
              "key": "routes",
              "icon": "NodeIndexOutlined",
              "label": "Routes"
            },
            {
              "key": "buses",
              "icon": "CarOutlined",
              "label": "Buses"
            },
            {
              "key": "schedules",
              "icon": "ScheduleOutlined",
              "label": "Schedules"
            },
            {
              "key": "bookings",
              "icon": "BookOutlined",
              "label": "Bookings"
            },
            {
              "key": "reservations",
              "icon": "ClockCircleOutlined",
              "label": "Reservations"
            },
            {
              "key": "activity_logs",
              "icon": "FileTextOutlined",
              "label": "Activity Logs"
            },
            {
              "key": "users",
              "icon": "UserOutlined",
              "label": "Users"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_dashboard": {
        "type": "Menu.Item",
        "label": "Dashboard",
        "description": null,
        "bind": null,
        "onClick": "navigateToDashboard",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "key": "dashboard",
          "icon": "DashboardOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_routes": {
        "type": "Menu.Item",
        "label": "Routes",
        "description": null,
        "bind": null,
        "onClick": "navigateToRoutes",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "key": "routes",
          "icon": "NodeIndexOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_schedules": {
        "type": "Menu.Item",
        "label": "Schedules",
        "description": null,
        "bind": null,
        "onClick": "navigateToSchedules",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "key": "schedules",
          "icon": "ScheduleOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_bookings": {
        "type": "Menu.Item",
        "label": "Bookings",
        "description": null,
        "bind": null,
        "onClick": "navigateToBookings",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "key": "bookings",
          "icon": "BookOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_reservations": {
        "type": "Menu.Item",
        "label": "Reservations",
        "description": null,
        "bind": null,
        "onClick": "navigateToReservations",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "key": "reservations",
          "icon": "ClockCircleOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_activity_logs": {
        "type": "Menu.Item",
        "label": "Activity Logs",
        "description": null,
        "bind": null,
        "onClick": "navigateToActivityLogs",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "key": "activity_logs",
          "icon": "FileTextOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_users": {
        "type": "Menu.Item",
        "label": "Users",
        "description": null,
        "bind": null,
        "onClick": "navigateToUsers",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "key": "users",
          "icon": "UserOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "content_area": {
        "type": "Layout.Content",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "padding": "24px",
          "background": "#f5f5f5",
          "flex": 1
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "page_header": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "space-between",
          "alignItems": "center",
          "marginBottom": "24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "page_title": {
        "type": "Typography.Title",
        "label": "Bus Management",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "level": 3
        },
        "dynamic_props": {},
        "styles": {
          "margin": 0
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "add_bus_button": {
        "type": "Button",
        "label": "Add Bus",
        "description": null,
        "bind": null,
        "onClick": "openAddModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "icon": "PlusOutlined",
          "size": "middle"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "filters_row": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "gap": "16px",
          "marginBottom": "16px",
          "flexWrap": "wrap"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "search_input": {
        "type": "Input.Search",
        "label": "Search by bus number",
        "description": null,
        "bind": "state.searchText",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Search by bus number...",
          "allowClear": true,
          "style": {
            "width": 280
          }
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "bus_type_filter": {
        "type": "Select",
        "label": "Filter by bus type",
        "description": null,
        "bind": "state.filterBusType",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "All Bus Types",
          "allowClear": true,
          "style": {
            "width": 180
          },
          "options": [
            {
              "label": "Standard",
              "value": "STANDARD"
            },
            {
              "label": "Deluxe",
              "value": "DELUXE"
            },
            {
              "label": "Sleeper",
              "value": "SLEEPER"
            },
            {
              "label": "Semi Sleeper",
              "value": "SEMI_SLEEPER"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "status_filter": {
        "type": "Select",
        "label": "Filter by status",
        "description": null,
        "bind": "state.filterStatus",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "All Statuses",
          "allowClear": true,
          "style": {
            "width": 160
          },
          "options": [
            {
              "label": "Active",
              "value": true
            },
            {
              "label": "Inactive",
              "value": false
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "buses_table": {
        "type": "Table",
        "label": null,
        "description": null,
        "bind": "state.buses",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "rowKey": "id",
          "loading": "$state.loading",
          "pagination": {
            "current": "$state.pagination.current",
            "pageSize": "$state.pagination.pageSize",
            "total": "$state.pagination.total",
            "showSizeChanger": true,
            "showTotal": true
          },
          "columns": [
            {
              "title": "Bus ID",
              "dataIndex": "id",
              "key": "id",
              "width": 100,
              "ellipsis": true
            },
            {
              "title": "Bus Number",
              "dataIndex": "bus_number",
              "key": "bus_number",
              "width": 140
            },
            {
              "title": "Bus Type",
              "dataIndex": "bus_type",
              "key": "bus_type",
              "width": 130,
              "render": "tag"
            },
            {
              "title": "Total Seats",
              "dataIndex": "total_seats",
              "key": "total_seats",
              "width": 110,
              "align": "center"
            },
            {
              "title": "Amenities",
              "dataIndex": "amenities",
              "key": "amenities",
              "width": 200,
              "render": "amenity_chips"
            },
            {
              "title": "Status",
              "dataIndex": "is_active",
              "key": "is_active",
              "width": 100,
              "render": "status_badge"
            },
            {
              "title": "Created At",
              "dataIndex": "created_at",
              "key": "created_at",
              "width": 160,
              "render": "date"
            },
            {
              "title": "Actions",
              "key": "actions",
              "width": 120,
              "fixed": "right",
              "render": "action_buttons"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {
          "background": "#fff",
          "borderRadius": "6px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_button": {
        "type": "Button",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": "openEditModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "icon": "EditOutlined",
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "delete_button": {
        "type": "Button",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": "openDeleteConfirm",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "danger": true,
          "icon": "DeleteOutlined",
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "bus_modal": {
        "type": "Modal",
        "label": null,
        "description": null,
        "bind": "state.modalVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "$derived.modalTitle",
          "open": "$state.modalVisible",
          "width": 640,
          "destroyOnClose": true,
          "footer": null
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "bus_form": {
        "type": "Form",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "layout": "vertical",
          "requiredMark": true
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "form_bus_number": {
        "type": "Form.Item",
        "label": "Bus Number",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "bus_number",
          "rules": [
            {
              "required": true,
              "message": "Please enter bus number"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "bus_number_input": {
        "type": "Input",
        "label": "Bus Number",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "e.g., KA-01-AB-1234"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "form_bus_type": {
        "type": "Form.Item",
        "label": "Bus Type",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "bus_type",
          "rules": [
            {
              "required": true,
              "message": "Please select bus type"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "bus_type_select": {
        "type": "Select",
        "label": "Bus Type",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Select bus type",
          "options": [
            {
              "label": "Standard",
              "value": "STANDARD"
            },
            {
              "label": "Deluxe",
              "value": "DELUXE"
            },
            {
              "label": "Sleeper",
              "value": "SLEEPER"
            },
            {
              "label": "Semi Sleeper",
              "value": "SEMI_SLEEPER"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "form_total_seats": {
        "type": "Form.Item",
        "label": "Total Seats",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "total_seats",
          "rules": [
            {
              "required": true,
              "message": "Please enter total seats"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "total_seats_input": {
        "type": "InputNumber",
        "label": "Total Seats",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "e.g., 40",
          "min": 1,
          "max": 100,
          "style": {
            "width": "100%"
          }
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "form_seat_layout": {
        "type": "Form.Item",
        "label": "Seat Layout Configuration",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "seat_layout_config",
          "rules": [
            {
              "required": true,
              "message": "Please provide seat layout config"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "seat_layout_input": {
        "type": "Input.TextArea",
        "label": "Seat Layout Config (JSON)",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "{\"rows\": 10, \"columns\": 4, \"layout\": \"2x2\"}",
          "rows": 4
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "form_amenities": {
        "type": "Form.Item",
        "label": "Amenities",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "amenities"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "amenities_select": {
        "type": "Select",
        "label": "Amenities",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "mode": "multiple",
          "placeholder": "Select amenities",
          "options": [
            {
              "label": "AC",
              "value": "ac"
            },
            {
              "label": "WiFi",
              "value": "wifi"
            },
            {
              "label": "Charging Ports",
              "value": "charging_ports"
            },
            {
              "label": "Blankets",
              "value": "blankets"
            },
            {
              "label": "Water Bottle",
              "value": "water_bottle"
            },
            {
              "label": "Entertainment",
              "value": "entertainment"
            },
            {
              "label": "Reading Light",
              "value": "reading_light"
            },
            {
              "label": "Reclining Seats",
              "value": "reclining_seats"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "form_is_active": {
        "type": "Form.Item",
        "label": "Active Status",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "is_active",
          "valuePropName": "checked",
          "initialValue": true
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "is_active_switch": {
        "type": "Switch",
        "label": "Active",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "checkedChildren": "Active",
          "unCheckedChildren": "Inactive"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "form_buttons_row": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "flex-end",
          "gap": "12px",
          "marginTop": "24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "modal_cancel_button": {
        "type": "Button",
        "label": "Cancel",
        "description": null,
        "bind": null,
        "onClick": "closeModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "modal_save_button": {
        "type": "Button",
        "label": "Save",
        "description": null,
        "bind": null,
        "onClick": "submitBusForm",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "htmlType": "submit"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "delete_confirm_modal": {
        "type": "Modal",
        "label": null,
        "description": null,
        "bind": "state.deleteConfirmVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Confirm Delete",
          "open": "$state.deleteConfirmVisible",
          "width": 420
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "delete_warning_text": {
        "type": "Typography.Text",
        "label": "Are you sure you want to delete this bus? If this bus has existing schedules, the deletion may fail. This action cannot be undone.",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "warning"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "delete_buttons_row": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "flex-end",
          "gap": "12px",
          "marginTop": "16px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "cancel_delete_button": {
        "type": "Button",
        "label": "Cancel",
        "description": null,
        "bind": null,
        "onClick": "cancelDelete",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "confirm_delete_button": {
        "type": "Button",
        "label": "Delete",
        "description": null,
        "bind": null,
        "onClick": "confirmDelete",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "danger": true
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      }
    }
  },
  "layout_ir": {
    "root": "main_container",
    "children": {
      "main_container": [
        "sidebar",
        "content_area"
      ],
      "sidebar": [
        "sidebar_menu"
      ],
      "sidebar_menu": [
        "nav_dashboard",
        "nav_routes",
        "nav_schedules",
        "nav_bookings",
        "nav_reservations",
        "nav_activity_logs",
        "nav_users"
      ],
      "content_area": [
        "page_header",
        "filters_row",
        "buses_table",
        "bus_modal",
        "delete_confirm_modal"
      ],
      "page_header": [
        "page_title",
        "add_bus_button"
      ],
      "filters_row": [
        "search_input",
        "bus_type_filter",
        "status_filter"
      ],
      "bus_modal": [
        "bus_form"
      ],
      "bus_form": [
        "form_bus_number",
        "form_bus_type",
        "form_total_seats",
        "form_seat_layout",
        "form_amenities",
        "form_is_active",
        "form_buttons_row"
      ],
      "form_bus_number": [
        "bus_number_input"
      ],
      "form_bus_type": [
        "bus_type_select"
      ],
      "form_total_seats": [
        "total_seats_input"
      ],
      "form_seat_layout": [
        "seat_layout_input"
      ],
      "form_amenities": [
        "amenities_select"
      ],
      "form_is_active": [
        "is_active_switch"
      ],
      "form_buttons_row": [
        "modal_cancel_button",
        "modal_save_button"
      ],
      "delete_confirm_modal": [
        "delete_warning_text",
        "delete_buttons_row"
      ],
      "delete_buttons_row": [
        "cancel_delete_button",
        "confirm_delete_button"
      ]
    },
    "layout": {
      "main_container": {
        "type": "horizontal",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "sidebar": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "sidebar_menu": {
        "type": "vertical",
        "gap": 4,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "content_area": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "page_header": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "filters_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "bus_form": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "form_buttons_row": {
        "type": "horizontal",
        "gap": 12,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "delete_confirm_modal": {
        "type": "vertical",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "delete_buttons_row": {
        "type": "horizontal",
        "gap": 12,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      }
    },
    "layout_zones": [
      {
        "zone_id": "sidebar_zone",
        "component": "sidebar",
        "anchor": "top-left",
        "size_hint": "240px",
        "z_layer": "base",
        "notes": "Fixed left sidebar for admin navigation"
      },
      {
        "zone_id": "content_zone",
        "component": "content_area",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "base",
        "notes": "Main content area with table and controls"
      },
      {
        "zone_id": "bus_modal_zone",
        "component": "bus_modal",
        "anchor": "center",
        "size_hint": "640px",
        "z_layer": "overlay",
        "notes": "Modal overlay for add/edit bus form"
      },
      {
        "zone_id": "delete_modal_zone",
        "component": "delete_confirm_modal",
        "anchor": "center",
        "size_hint": "420px",
        "z_layer": "overlay",
        "notes": "Confirmation modal for bus deletion"
      }
    ],
    "responsive_overrides": []
  },
  "navigation_ir": {
    "tabs": [],
    "modals": {},
    "drawers": {},
    "routes": [],
    "breadcrumb": null,
    "default_tab": null
  },
  "realtime_ir": {
    "timers": {},
    "polling": {}
  },
  "metadata": {
    "ir_version": "3.5",
    "generated_at": "",
    "source_prompt": null,
    "schema_session_id": null,
    "warnings": []
  },
  "page_data_contract": null,
  "schema_ir": null
}
